| 12 |
ac_default_prefix=/usr/local |
ac_default_prefix=/usr/local |
| 13 |
# Any additions from configure.in: |
# Any additions from configure.in: |
| 14 |
ac_help="$ac_help |
ac_help="$ac_help |
| 15 |
|
--enable-shared[=PKGS] build shared libraries [default=yes]" |
| 16 |
|
ac_help="$ac_help |
| 17 |
|
--enable-static[=PKGS] build static libraries [default=yes]" |
| 18 |
|
ac_help="$ac_help |
| 19 |
|
--enable-fast-install[=PKGS] optimize for fast installation [default=yes]" |
| 20 |
|
ac_help="$ac_help |
| 21 |
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no]" |
| 22 |
|
ac_help="$ac_help |
| 23 |
|
--disable-libtool-lock avoid locking (might break parallel builds)" |
| 24 |
|
ac_help="$ac_help |
| 25 |
|
--enable-sharedlib build shared library using GNU libtool" |
| 26 |
|
ac_help="$ac_help |
| 27 |
|
--enable-libraries build and install libraries [default=yes]" |
| 28 |
|
ac_help="$ac_help |
| 29 |
|
--enable-server build and install server [default=yes]" |
| 30 |
|
ac_help="$ac_help |
| 31 |
|
--enable-Wnn build and install Wnn [default=true]" |
| 32 |
|
ac_help="$ac_help |
| 33 |
|
--enable-cWnn build and install cWnn [default=true]" |
| 34 |
|
ac_help="$ac_help |
| 35 |
|
--enable-kWnn build and install kWnn [default=true]" |
| 36 |
|
ac_help="$ac_help |
| 37 |
|
--with-libwnn use installed Wnn library [default=no]" |
| 38 |
|
ac_help="$ac_help |
| 39 |
|
--with-wnn-includes=DIR WNN include files are in DIR" |
| 40 |
|
ac_help="$ac_help |
| 41 |
|
--with-wnn-libraries=DIR Search for WNN libraries in DIR[default=/usr/local/lib]" |
| 42 |
|
ac_help="$ac_help |
| 43 |
|
--with-libcwnn use installed cWnn library [default=no]" |
| 44 |
|
ac_help="$ac_help |
| 45 |
|
--with-cwnn-includes=DIR CWNN include files are in DIR" |
| 46 |
|
ac_help="$ac_help |
| 47 |
|
--with-cwnn-libraries=DIR Search for CWNN libraries in DIR[default=/usr/local/lib]" |
| 48 |
|
ac_help="$ac_help |
| 49 |
|
--with-libkwnn use installed kWnn library [default=no]" |
| 50 |
|
ac_help="$ac_help |
| 51 |
|
--with-kwnn-includes=DIR KWNN include files are in DIR" |
| 52 |
|
ac_help="$ac_help |
| 53 |
|
--with-kwnn-libraries=DIR Search for KWNN libraries in DIR[default=/usr/local/lib]" |
| 54 |
|
ac_help="$ac_help |
| 55 |
--with-x use the X Window System" |
--with-x use the X Window System" |
| 56 |
|
|
| 57 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
| 574 |
|
|
| 575 |
|
|
| 576 |
|
|
| 577 |
|
ac_aux_dir= |
| 578 |
|
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
| 579 |
|
if test -f $ac_dir/install-sh; then |
| 580 |
|
ac_aux_dir=$ac_dir |
| 581 |
|
ac_install_sh="$ac_aux_dir/install-sh -c" |
| 582 |
|
break |
| 583 |
|
elif test -f $ac_dir/install.sh; then |
| 584 |
|
ac_aux_dir=$ac_dir |
| 585 |
|
ac_install_sh="$ac_aux_dir/install.sh -c" |
| 586 |
|
break |
| 587 |
|
fi |
| 588 |
|
done |
| 589 |
|
if test -z "$ac_aux_dir"; then |
| 590 |
|
{ echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } |
| 591 |
|
fi |
| 592 |
|
ac_config_guess=$ac_aux_dir/config.guess |
| 593 |
|
ac_config_sub=$ac_aux_dir/config.sub |
| 594 |
|
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
| 595 |
|
|
| 596 |
|
# Check whether --enable-shared or --disable-shared was given. |
| 597 |
|
if test "${enable_shared+set}" = set; then |
| 598 |
|
enableval="$enable_shared" |
| 599 |
|
p=${PACKAGE-default} |
| 600 |
|
case "$enableval" in |
| 601 |
|
yes) enable_shared=yes ;; |
| 602 |
|
no) enable_shared=no ;; |
| 603 |
|
*) |
| 604 |
|
enable_shared=no |
| 605 |
|
# Look at the argument we got. We use all the common list separators. |
| 606 |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," |
| 607 |
|
for pkg in $enableval; do |
| 608 |
|
if test "X$pkg" = "X$p"; then |
| 609 |
|
enable_shared=yes |
| 610 |
|
fi |
| 611 |
|
done |
| 612 |
|
IFS="$ac_save_ifs" |
| 613 |
|
;; |
| 614 |
|
esac |
| 615 |
|
else |
| 616 |
|
enable_shared=yes |
| 617 |
|
fi |
| 618 |
|
|
| 619 |
|
# Check whether --enable-static or --disable-static was given. |
| 620 |
|
if test "${enable_static+set}" = set; then |
| 621 |
|
enableval="$enable_static" |
| 622 |
|
p=${PACKAGE-default} |
| 623 |
|
case "$enableval" in |
| 624 |
|
yes) enable_static=yes ;; |
| 625 |
|
no) enable_static=no ;; |
| 626 |
|
*) |
| 627 |
|
enable_static=no |
| 628 |
|
# Look at the argument we got. We use all the common list separators. |
| 629 |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," |
| 630 |
|
for pkg in $enableval; do |
| 631 |
|
if test "X$pkg" = "X$p"; then |
| 632 |
|
enable_static=yes |
| 633 |
|
fi |
| 634 |
|
done |
| 635 |
|
IFS="$ac_save_ifs" |
| 636 |
|
;; |
| 637 |
|
esac |
| 638 |
|
else |
| 639 |
|
enable_static=yes |
| 640 |
|
fi |
| 641 |
|
|
| 642 |
|
# Check whether --enable-fast-install or --disable-fast-install was given. |
| 643 |
|
if test "${enable_fast_install+set}" = set; then |
| 644 |
|
enableval="$enable_fast_install" |
| 645 |
|
p=${PACKAGE-default} |
| 646 |
|
case "$enableval" in |
| 647 |
|
yes) enable_fast_install=yes ;; |
| 648 |
|
no) enable_fast_install=no ;; |
| 649 |
|
*) |
| 650 |
|
enable_fast_install=no |
| 651 |
|
# Look at the argument we got. We use all the common list separators. |
| 652 |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," |
| 653 |
|
for pkg in $enableval; do |
| 654 |
|
if test "X$pkg" = "X$p"; then |
| 655 |
|
enable_fast_install=yes |
| 656 |
|
fi |
| 657 |
|
done |
| 658 |
|
IFS="$ac_save_ifs" |
| 659 |
|
;; |
| 660 |
|
esac |
| 661 |
|
else |
| 662 |
|
enable_fast_install=yes |
| 663 |
|
fi |
| 664 |
|
|
| 665 |
|
|
| 666 |
|
# Make sure we can run config.sub. |
| 667 |
|
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : |
| 668 |
|
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
| 669 |
|
fi |
| 670 |
|
|
| 671 |
|
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
| 672 |
|
echo "configure:673: checking host system type" >&5 |
| 673 |
|
|
| 674 |
|
host_alias=$host |
| 675 |
|
case "$host_alias" in |
| 676 |
|
NONE) |
| 677 |
|
case $nonopt in |
| 678 |
|
NONE) |
| 679 |
|
if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : |
| 680 |
|
else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } |
| 681 |
|
fi ;; |
| 682 |
|
*) host_alias=$nonopt ;; |
| 683 |
|
esac ;; |
| 684 |
|
esac |
| 685 |
|
|
| 686 |
|
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` |
| 687 |
|
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
| 688 |
|
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
| 689 |
|
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| 690 |
|
echo "$ac_t""$host" 1>&6 |
| 691 |
|
|
| 692 |
|
echo $ac_n "checking build system type""... $ac_c" 1>&6 |
| 693 |
|
echo "configure:694: checking build system type" >&5 |
| 694 |
|
|
| 695 |
|
build_alias=$build |
| 696 |
|
case "$build_alias" in |
| 697 |
|
NONE) |
| 698 |
|
case $nonopt in |
| 699 |
|
NONE) build_alias=$host_alias ;; |
| 700 |
|
*) build_alias=$nonopt ;; |
| 701 |
|
esac ;; |
| 702 |
|
esac |
| 703 |
|
|
| 704 |
|
build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` |
| 705 |
|
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
| 706 |
|
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
| 707 |
|
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| 708 |
|
echo "$ac_t""$build" 1>&6 |
| 709 |
|
|
| 710 |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
| 711 |
|
set dummy ranlib; ac_word=$2 |
| 712 |
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 713 |
|
echo "configure:714: checking for $ac_word" >&5 |
| 714 |
|
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
| 715 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
| 716 |
|
else |
| 717 |
|
if test -n "$RANLIB"; then |
| 718 |
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 719 |
|
else |
| 720 |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 721 |
|
ac_dummy="$PATH" |
| 722 |
|
for ac_dir in $ac_dummy; do |
| 723 |
|
test -z "$ac_dir" && ac_dir=. |
| 724 |
|
if test -f $ac_dir/$ac_word; then |
| 725 |
|
ac_cv_prog_RANLIB="ranlib" |
| 726 |
|
break |
| 727 |
|
fi |
| 728 |
|
done |
| 729 |
|
IFS="$ac_save_ifs" |
| 730 |
|
test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" |
| 731 |
|
fi |
| 732 |
|
fi |
| 733 |
|
RANLIB="$ac_cv_prog_RANLIB" |
| 734 |
|
if test -n "$RANLIB"; then |
| 735 |
|
echo "$ac_t""$RANLIB" 1>&6 |
| 736 |
|
else |
| 737 |
|
echo "$ac_t""no" 1>&6 |
| 738 |
|
fi |
| 739 |
|
|
| 740 |
# Extract the first word of "gcc", so it can be a program name with args. |
# Extract the first word of "gcc", so it can be a program name with args. |
| 741 |
set dummy gcc; ac_word=$2 |
set dummy gcc; ac_word=$2 |
| 742 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 743 |
echo "configure:542: checking for $ac_word" >&5 |
echo "configure:744: checking for $ac_word" >&5 |
| 744 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 745 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 746 |
else |
else |
| 770 |
# Extract the first word of "cc", so it can be a program name with args. |
# Extract the first word of "cc", so it can be a program name with args. |
| 771 |
set dummy cc; ac_word=$2 |
set dummy cc; ac_word=$2 |
| 772 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 773 |
echo "configure:572: checking for $ac_word" >&5 |
echo "configure:774: checking for $ac_word" >&5 |
| 774 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 775 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 776 |
else |
else |
| 821 |
# Extract the first word of "cl", so it can be a program name with args. |
# Extract the first word of "cl", so it can be a program name with args. |
| 822 |
set dummy cl; ac_word=$2 |
set dummy cl; ac_word=$2 |
| 823 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 824 |
echo "configure:623: checking for $ac_word" >&5 |
echo "configure:825: checking for $ac_word" >&5 |
| 825 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 826 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 827 |
else |
else |
| 853 |
fi |
fi |
| 854 |
|
|
| 855 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 856 |
echo "configure:655: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
echo "configure:857: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 857 |
|
|
| 858 |
ac_ext=c |
ac_ext=c |
| 859 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| 864 |
|
|
| 865 |
cat > conftest.$ac_ext << EOF |
cat > conftest.$ac_ext << EOF |
| 866 |
|
|
| 867 |
#line 666 "configure" |
#line 868 "configure" |
| 868 |
#include "confdefs.h" |
#include "confdefs.h" |
| 869 |
|
|
| 870 |
main(){return(0);} |
main(){return(0);} |
| 871 |
EOF |
EOF |
| 872 |
if { (eval echo configure:671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 873 |
ac_cv_prog_cc_works=yes |
ac_cv_prog_cc_works=yes |
| 874 |
# If we can't run a trivial program, we are probably using a cross compiler. |
# If we can't run a trivial program, we are probably using a cross compiler. |
| 875 |
if (./conftest; exit) 2>/dev/null; then |
if (./conftest; exit) 2>/dev/null; then |
| 895 |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 896 |
fi |
fi |
| 897 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 898 |
echo "configure:697: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
echo "configure:899: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 899 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 900 |
cross_compiling=$ac_cv_prog_cc_cross |
cross_compiling=$ac_cv_prog_cc_cross |
| 901 |
|
|
| 902 |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 903 |
echo "configure:702: checking whether we are using GNU C" >&5 |
echo "configure:904: checking whether we are using GNU C" >&5 |
| 904 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
| 905 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 906 |
else |
else |
| 909 |
yes; |
yes; |
| 910 |
#endif |
#endif |
| 911 |
EOF |
EOF |
| 912 |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 913 |
ac_cv_prog_gcc=yes |
ac_cv_prog_gcc=yes |
| 914 |
else |
else |
| 915 |
ac_cv_prog_gcc=no |
ac_cv_prog_gcc=no |
| 928 |
ac_save_CFLAGS="$CFLAGS" |
ac_save_CFLAGS="$CFLAGS" |
| 929 |
CFLAGS= |
CFLAGS= |
| 930 |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 931 |
echo "configure:730: checking whether ${CC-cc} accepts -g" >&5 |
echo "configure:932: checking whether ${CC-cc} accepts -g" >&5 |
| 932 |
|
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
| 933 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
| 934 |
|
else |
| 935 |
|
echo 'void f(){}' > conftest.c |
| 936 |
|
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 937 |
|
ac_cv_prog_cc_g=yes |
| 938 |
|
else |
| 939 |
|
ac_cv_prog_cc_g=no |
| 940 |
|
fi |
| 941 |
|
rm -f conftest* |
| 942 |
|
|
| 943 |
|
fi |
| 944 |
|
|
| 945 |
|
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
| 946 |
|
if test "$ac_test_CFLAGS" = set; then |
| 947 |
|
CFLAGS="$ac_save_CFLAGS" |
| 948 |
|
elif test $ac_cv_prog_cc_g = yes; then |
| 949 |
|
if test "$GCC" = yes; then |
| 950 |
|
CFLAGS="-g -O2" |
| 951 |
|
else |
| 952 |
|
CFLAGS="-g" |
| 953 |
|
fi |
| 954 |
|
else |
| 955 |
|
if test "$GCC" = yes; then |
| 956 |
|
CFLAGS="-O2" |
| 957 |
|
else |
| 958 |
|
CFLAGS= |
| 959 |
|
fi |
| 960 |
|
fi |
| 961 |
|
|
| 962 |
|
# Check whether --with-gnu-ld or --without-gnu-ld was given. |
| 963 |
|
if test "${with_gnu_ld+set}" = set; then |
| 964 |
|
withval="$with_gnu_ld" |
| 965 |
|
test "$withval" = no || with_gnu_ld=yes |
| 966 |
|
else |
| 967 |
|
with_gnu_ld=no |
| 968 |
|
fi |
| 969 |
|
|
| 970 |
|
ac_prog=ld |
| 971 |
|
if test "$ac_cv_prog_gcc" = yes; then |
| 972 |
|
# Check if gcc -print-prog-name=ld gives a path. |
| 973 |
|
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
| 974 |
|
echo "configure:975: checking for ld used by GCC" >&5 |
| 975 |
|
ac_prog=`($CC -print-prog-name=ld) 2>&5` |
| 976 |
|
case "$ac_prog" in |
| 977 |
|
# Accept absolute paths. |
| 978 |
|
[\\/]* | [A-Za-z]:[\\/]*) |
| 979 |
|
re_direlt='/[^/][^/]*/\.\./' |
| 980 |
|
# Canonicalize the path of ld |
| 981 |
|
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` |
| 982 |
|
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
| 983 |
|
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` |
| 984 |
|
done |
| 985 |
|
test -z "$LD" && LD="$ac_prog" |
| 986 |
|
;; |
| 987 |
|
"") |
| 988 |
|
# If it fails, then pretend we aren't using GCC. |
| 989 |
|
ac_prog=ld |
| 990 |
|
;; |
| 991 |
|
*) |
| 992 |
|
# If it is relative, then search for the first ld in PATH. |
| 993 |
|
with_gnu_ld=unknown |
| 994 |
|
;; |
| 995 |
|
esac |
| 996 |
|
elif test "$with_gnu_ld" = yes; then |
| 997 |
|
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
| 998 |
|
echo "configure:999: checking for GNU ld" >&5 |
| 999 |
|
else |
| 1000 |
|
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 |
| 1001 |
|
echo "configure:1002: checking for non-GNU ld" >&5 |
| 1002 |
|
fi |
| 1003 |
|
if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then |
| 1004 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1005 |
|
else |
| 1006 |
|
if test -z "$LD"; then |
| 1007 |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
| 1008 |
|
for ac_dir in $PATH; do |
| 1009 |
|
test -z "$ac_dir" && ac_dir=. |
| 1010 |
|
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
| 1011 |
|
ac_cv_path_LD="$ac_dir/$ac_prog" |
| 1012 |
|
# Check to see if the program is GNU ld. I'd rather use --version, |
| 1013 |
|
# but apparently some GNU ld's only accept -v. |
| 1014 |
|
# Break only if it was the GNU/non-GNU ld that we prefer. |
| 1015 |
|
if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then |
| 1016 |
|
test "$with_gnu_ld" != no && break |
| 1017 |
|
else |
| 1018 |
|
test "$with_gnu_ld" != yes && break |
| 1019 |
|
fi |
| 1020 |
|
fi |
| 1021 |
|
done |
| 1022 |
|
IFS="$ac_save_ifs" |
| 1023 |
|
else |
| 1024 |
|
ac_cv_path_LD="$LD" # Let the user override the test with a path. |
| 1025 |
|
fi |
| 1026 |
|
fi |
| 1027 |
|
|
| 1028 |
|
LD="$ac_cv_path_LD" |
| 1029 |
|
if test -n "$LD"; then |
| 1030 |
|
echo "$ac_t""$LD" 1>&6 |
| 1031 |
|
else |
| 1032 |
|
echo "$ac_t""no" 1>&6 |
| 1033 |
|
fi |
| 1034 |
|
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } |
| 1035 |
|
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 |
| 1036 |
|
echo "configure:1037: checking if the linker ($LD) is GNU ld" >&5 |
| 1037 |
|
if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then |
| 1038 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1039 |
|
else |
| 1040 |
|
# I'd rather use --version here, but apparently some GNU ld's only accept -v. |
| 1041 |
|
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
| 1042 |
|
ac_cv_prog_gnu_ld=yes |
| 1043 |
|
else |
| 1044 |
|
ac_cv_prog_gnu_ld=no |
| 1045 |
|
fi |
| 1046 |
|
fi |
| 1047 |
|
|
| 1048 |
|
echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 |
| 1049 |
|
|
| 1050 |
|
|
| 1051 |
|
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 |
| 1052 |
|
echo "configure:1053: checking for BSD-compatible nm" >&5 |
| 1053 |
|
if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then |
| 1054 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1055 |
|
else |
| 1056 |
|
if test -n "$NM"; then |
| 1057 |
|
# Let the user override the test. |
| 1058 |
|
ac_cv_path_NM="$NM" |
| 1059 |
|
else |
| 1060 |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
| 1061 |
|
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do |
| 1062 |
|
test -z "$ac_dir" && ac_dir=. |
| 1063 |
|
if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then |
| 1064 |
|
# Check to see if the nm accepts a BSD-compat flag. |
| 1065 |
|
# Adding the `sed 1q' prevents false positives on HP-UX, which says: |
| 1066 |
|
# nm: unknown option "B" ignored |
| 1067 |
|
if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then |
| 1068 |
|
ac_cv_path_NM="$ac_dir/nm -B" |
| 1069 |
|
break |
| 1070 |
|
elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then |
| 1071 |
|
ac_cv_path_NM="$ac_dir/nm -p" |
| 1072 |
|
break |
| 1073 |
|
else |
| 1074 |
|
ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but |
| 1075 |
|
continue # so that we can try to find one that supports BSD flags |
| 1076 |
|
fi |
| 1077 |
|
fi |
| 1078 |
|
done |
| 1079 |
|
IFS="$ac_save_ifs" |
| 1080 |
|
test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm |
| 1081 |
|
fi |
| 1082 |
|
fi |
| 1083 |
|
|
| 1084 |
|
NM="$ac_cv_path_NM" |
| 1085 |
|
echo "$ac_t""$NM" 1>&6 |
| 1086 |
|
|
| 1087 |
|
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 1088 |
|
echo "configure:1089: checking whether ln -s works" >&5 |
| 1089 |
|
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
| 1090 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1091 |
|
else |
| 1092 |
|
rm -f conftestdata |
| 1093 |
|
if ln -s X conftestdata 2>/dev/null |
| 1094 |
|
then |
| 1095 |
|
rm -f conftestdata |
| 1096 |
|
ac_cv_prog_LN_S="ln -s" |
| 1097 |
|
else |
| 1098 |
|
ac_cv_prog_LN_S=ln |
| 1099 |
|
fi |
| 1100 |
|
fi |
| 1101 |
|
LN_S="$ac_cv_prog_LN_S" |
| 1102 |
|
if test "$ac_cv_prog_LN_S" = "ln -s"; then |
| 1103 |
|
echo "$ac_t""yes" 1>&6 |
| 1104 |
|
else |
| 1105 |
|
echo "$ac_t""no" 1>&6 |
| 1106 |
|
fi |
| 1107 |
|
|
| 1108 |
|
|
| 1109 |
|
case "$target" in |
| 1110 |
|
NONE) lt_target="$host" ;; |
| 1111 |
|
*) lt_target="$target" ;; |
| 1112 |
|
esac |
| 1113 |
|
|
| 1114 |
|
# Check for any special flags to pass to ltconfig. |
| 1115 |
|
libtool_flags="--cache-file=$cache_file" |
| 1116 |
|
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" |
| 1117 |
|
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" |
| 1118 |
|
test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" |
| 1119 |
|
test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc" |
| 1120 |
|
test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" |
| 1121 |
|
|
| 1122 |
|
|
| 1123 |
|
# Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
| 1124 |
|
if test "${enable_libtool_lock+set}" = set; then |
| 1125 |
|
enableval="$enable_libtool_lock" |
| 1126 |
|
: |
| 1127 |
|
fi |
| 1128 |
|
|
| 1129 |
|
test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" |
| 1130 |
|
test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" |
| 1131 |
|
|
| 1132 |
|
# Some flags need to be propagated to the compiler or linker for good |
| 1133 |
|
# libtool support. |
| 1134 |
|
case "$lt_target" in |
| 1135 |
|
*-*-irix6*) |
| 1136 |
|
# Find out which ABI we are using. |
| 1137 |
|
echo '#line 1138 "configure"' > conftest.$ac_ext |
| 1138 |
|
if { (eval echo configure:1139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1139 |
|
case "`/usr/bin/file conftest.o`" in |
| 1140 |
|
*32-bit*) |
| 1141 |
|
LD="${LD-ld} -32" |
| 1142 |
|
;; |
| 1143 |
|
*N32*) |
| 1144 |
|
LD="${LD-ld} -n32" |
| 1145 |
|
;; |
| 1146 |
|
*64-bit*) |
| 1147 |
|
LD="${LD-ld} -64" |
| 1148 |
|
;; |
| 1149 |
|
esac |
| 1150 |
|
fi |
| 1151 |
|
rm -rf conftest* |
| 1152 |
|
;; |
| 1153 |
|
|
| 1154 |
|
*-*-sco3.2v5*) |
| 1155 |
|
# On SCO OpenServer 5, we need -belf to get full-featured binaries. |
| 1156 |
|
SAVE_CFLAGS="$CFLAGS" |
| 1157 |
|
CFLAGS="$CFLAGS -belf" |
| 1158 |
|
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 |
| 1159 |
|
echo "configure:1160: checking whether the C compiler needs -belf" >&5 |
| 1160 |
|
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then |
| 1161 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1162 |
|
else |
| 1163 |
|
cat > conftest.$ac_ext <<EOF |
| 1164 |
|
#line 1165 "configure" |
| 1165 |
|
#include "confdefs.h" |
| 1166 |
|
|
| 1167 |
|
int main() { |
| 1168 |
|
|
| 1169 |
|
; return 0; } |
| 1170 |
|
EOF |
| 1171 |
|
if { (eval echo configure:1172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1172 |
|
rm -rf conftest* |
| 1173 |
|
lt_cv_cc_needs_belf=yes |
| 1174 |
|
else |
| 1175 |
|
echo "configure: failed program was:" >&5 |
| 1176 |
|
cat conftest.$ac_ext >&5 |
| 1177 |
|
rm -rf conftest* |
| 1178 |
|
lt_cv_cc_needs_belf=no |
| 1179 |
|
fi |
| 1180 |
|
rm -f conftest* |
| 1181 |
|
fi |
| 1182 |
|
|
| 1183 |
|
echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 |
| 1184 |
|
if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
| 1185 |
|
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
| 1186 |
|
CFLAGS="$SAVE_CFLAGS" |
| 1187 |
|
fi |
| 1188 |
|
;; |
| 1189 |
|
|
| 1190 |
|
|
| 1191 |
|
esac |
| 1192 |
|
|
| 1193 |
|
|
| 1194 |
|
# Save cache, so that ltconfig can load it |
| 1195 |
|
cat > confcache <<\EOF |
| 1196 |
|
# This file is a shell script that caches the results of configure |
| 1197 |
|
# tests run on this system so they can be shared between configure |
| 1198 |
|
# scripts and configure runs. It is not useful on other systems. |
| 1199 |
|
# If it contains results you don't want to keep, you may remove or edit it. |
| 1200 |
|
# |
| 1201 |
|
# By default, configure uses ./config.cache as the cache file, |
| 1202 |
|
# creating it if it does not exist already. You can give configure |
| 1203 |
|
# the --cache-file=FILE option to use a different cache file; that is |
| 1204 |
|
# what configure does when it calls configure scripts in |
| 1205 |
|
# subdirectories, so they share the cache. |
| 1206 |
|
# Giving --cache-file=/dev/null disables caching, for debugging configure. |
| 1207 |
|
# config.status only pays attention to the cache file if you give it the |
| 1208 |
|
# --recheck option to rerun configure. |
| 1209 |
|
# |
| 1210 |
|
EOF |
| 1211 |
|
# The following way of writing the cache mishandles newlines in values, |
| 1212 |
|
# but we know of no workaround that is simple, portable, and efficient. |
| 1213 |
|
# So, don't put newlines in cache variables' values. |
| 1214 |
|
# Ultrix sh set writes to stderr and can't be redirected directly, |
| 1215 |
|
# and sets the high bit in the cache file unless we assign to the vars. |
| 1216 |
|
(set) 2>&1 | |
| 1217 |
|
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
| 1218 |
|
*ac_space=\ *) |
| 1219 |
|
# `set' does not quote correctly, so add quotes (double-quote substitution |
| 1220 |
|
# turns \\\\ into \\, and sed turns \\ into \). |
| 1221 |
|
sed -n \ |
| 1222 |
|
-e "s/'/'\\\\''/g" \ |
| 1223 |
|
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
| 1224 |
|
;; |
| 1225 |
|
*) |
| 1226 |
|
# `set' quotes correctly as required by POSIX, so do not add quotes. |
| 1227 |
|
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
| 1228 |
|
;; |
| 1229 |
|
esac >> confcache |
| 1230 |
|
if cmp -s $cache_file confcache; then |
| 1231 |
|
: |
| 1232 |
|
else |
| 1233 |
|
if test -w $cache_file; then |
| 1234 |
|
echo "updating cache $cache_file" |
| 1235 |
|
cat confcache > $cache_file |
| 1236 |
|
else |
| 1237 |
|
echo "not updating unwritable cache $cache_file" |
| 1238 |
|
fi |
| 1239 |
|
fi |
| 1240 |
|
rm -f confcache |
| 1241 |
|
|
| 1242 |
|
|
| 1243 |
|
# Actually configure libtool. ac_aux_dir is where install-sh is found. |
| 1244 |
|
CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ |
| 1245 |
|
LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ |
| 1246 |
|
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \ |
| 1247 |
|
DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \ |
| 1248 |
|
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ |
| 1249 |
|
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \ |
| 1250 |
|
|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; } |
| 1251 |
|
|
| 1252 |
|
# Reload cache, that may have been modified by ltconfig |
| 1253 |
|
if test -r "$cache_file"; then |
| 1254 |
|
echo "loading cache $cache_file" |
| 1255 |
|
. $cache_file |
| 1256 |
|
else |
| 1257 |
|
echo "creating cache $cache_file" |
| 1258 |
|
> $cache_file |
| 1259 |
|
fi |
| 1260 |
|
|
| 1261 |
|
|
| 1262 |
|
# This can be used to rebuild libtool when needed |
| 1263 |
|
LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh" |
| 1264 |
|
|
| 1265 |
|
# Always use our own libtool. |
| 1266 |
|
LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
| 1267 |
|
|
| 1268 |
|
# Redirect the config.log output again, so that the ltconfig log is not |
| 1269 |
|
# clobbered by the next message. |
| 1270 |
|
exec 5>>./config.log |
| 1271 |
|
|
| 1272 |
|
|
| 1273 |
|
# Check whether --enable-sharedlib or --disable-sharedlib was given. |
| 1274 |
|
if test "${enable_sharedlib+set}" = set; then |
| 1275 |
|
enableval="$enable_sharedlib" |
| 1276 |
|
if test "$enableval" = yes |
| 1277 |
|
then |
| 1278 |
|
use_sharedlib=yes |
| 1279 |
|
else |
| 1280 |
|
use_sharedlib=no |
| 1281 |
|
fi |
| 1282 |
|
else |
| 1283 |
|
use_sharedlib=default |
| 1284 |
|
fi |
| 1285 |
|
|
| 1286 |
|
|
| 1287 |
|
|
| 1288 |
|
|
| 1289 |
|
# Check whether --enable-libraries or --disable-libraries was given. |
| 1290 |
|
if test "${enable_libraries+set}" = set; then |
| 1291 |
|
enableval="$enable_libraries" |
| 1292 |
|
case "${enableval}" in |
| 1293 |
|
yes) libraries=true ;; |
| 1294 |
|
no) libraries=false ;; |
| 1295 |
|
*) { echo "configure: error: bad value for --enable-libraries" 1>&2; exit 1; } ;; |
| 1296 |
|
esac |
| 1297 |
|
else |
| 1298 |
|
libraries=true |
| 1299 |
|
fi |
| 1300 |
|
|
| 1301 |
|
|
| 1302 |
|
# Check whether --enable-server or --disable-server was given. |
| 1303 |
|
if test "${enable_server+set}" = set; then |
| 1304 |
|
enableval="$enable_server" |
| 1305 |
|
case "${enableval}" in |
| 1306 |
|
yes) server=true ;; |
| 1307 |
|
no) server=false ;; |
| 1308 |
|
*) { echo "configure: error: bad value for --enable-server" 1>&2; exit 1; } ;; |
| 1309 |
|
esac |
| 1310 |
|
else |
| 1311 |
|
server=true |
| 1312 |
|
fi |
| 1313 |
|
|
| 1314 |
|
|
| 1315 |
|
|
| 1316 |
|
if test $libraries = true; then |
| 1317 |
|
SUBDIRS="\$(LIB_SUBDIRS)" |
| 1318 |
|
WNNMANDIR="\$(LIB_WNNMANDIR)" |
| 1319 |
|
fi |
| 1320 |
|
if test $server = true; then |
| 1321 |
|
SUBDIRS="$SUBDIRS \$(SERVER_SUBDIRS)" |
| 1322 |
|
WNNMANDIR="$WNNMANDIR \$(SERVER_WNNMANDIR)" |
| 1323 |
|
fi |
| 1324 |
|
|
| 1325 |
|
|
| 1326 |
|
|
| 1327 |
|
|
| 1328 |
|
|
| 1329 |
|
# Check whether --enable-Wnn or --disable-Wnn was given. |
| 1330 |
|
if test "${enable_Wnn+set}" = set; then |
| 1331 |
|
enableval="$enable_Wnn" |
| 1332 |
|
case "${enableval}" in |
| 1333 |
|
yes) Wnn="Wnn";; |
| 1334 |
|
no) Wnn="" ;; |
| 1335 |
|
*) { echo "configure: error: bad value for --enable-Wnn" 1>&2; exit 1; } ;; |
| 1336 |
|
esac |
| 1337 |
|
else |
| 1338 |
|
Wnn="Wnn" |
| 1339 |
|
fi |
| 1340 |
|
|
| 1341 |
|
|
| 1342 |
|
|
| 1343 |
|
if test "$server" = true -a "$Wnn" = Wnn; then |
| 1344 |
|
JSERVER_SUBDIRS1="\$(JSERVER_SUBDIRS1)" |
| 1345 |
|
JSERVER_SUBDIRS2="\$(JSERVER_SUBDIRS2)" |
| 1346 |
|
else |
| 1347 |
|
JSERVER_SUBDIRS1="" |
| 1348 |
|
JSERVER_SUBDIRS2="" |
| 1349 |
|
fi |
| 1350 |
|
|
| 1351 |
|
|
| 1352 |
|
|
| 1353 |
|
# Check whether --enable-cWnn or --disable-cWnn was given. |
| 1354 |
|
if test "${enable_cWnn+set}" = set; then |
| 1355 |
|
enableval="$enable_cWnn" |
| 1356 |
|
case "${enableval}" in |
| 1357 |
|
yes) cWnn="cWnn" ;; |
| 1358 |
|
no) cWnn="" ;; |
| 1359 |
|
*) { echo "configure: error: bad value for --enable-cWnn" 1>&2; exit 1; } ;; |
| 1360 |
|
esac |
| 1361 |
|
else |
| 1362 |
|
cWnn="cWnn" |
| 1363 |
|
fi |
| 1364 |
|
|
| 1365 |
|
|
| 1366 |
|
|
| 1367 |
|
# Check whether --enable-kWnn or --disable-kWnn was given. |
| 1368 |
|
if test "${enable_kWnn+set}" = set; then |
| 1369 |
|
enableval="$enable_kWnn" |
| 1370 |
|
case "${enableval}" in |
| 1371 |
|
yes) kWnn="kWnn" ;; |
| 1372 |
|
no) kWnn="" ;; |
| 1373 |
|
*) { echo "configure: error: bad value for --enable-kWnn" 1>&2; exit 1; } ;; |
| 1374 |
|
esac |
| 1375 |
|
else |
| 1376 |
|
kWnn="kWnn" |
| 1377 |
|
fi |
| 1378 |
|
|
| 1379 |
|
|
| 1380 |
|
|
| 1381 |
|
|
| 1382 |
|
|
| 1383 |
|
# Check whether --with-libwnn or --without-libwnn was given. |
| 1384 |
|
if test "${with_libwnn+set}" = set; then |
| 1385 |
|
withval="$with_libwnn" |
| 1386 |
|
with_libwnn="${withval}" |
| 1387 |
|
# Check whether --with-wnn-includes or --without-wnn-includes was given. |
| 1388 |
|
if test "${with_wnn_includes+set}" = set; then |
| 1389 |
|
withval="$with_wnn_includes" |
| 1390 |
|
wnnincludedir="-I${withval}" |
| 1391 |
|
else |
| 1392 |
|
wnnincludedir='' |
| 1393 |
|
fi |
| 1394 |
|
|
| 1395 |
|
# Check whether --with-wnn-libraries or --without-wnn-libraries was given. |
| 1396 |
|
if test "${with_wnn_libraries+set}" = set; then |
| 1397 |
|
withval="$with_wnn_libraries" |
| 1398 |
|
wnnlibdir="${withval}" |
| 1399 |
|
else |
| 1400 |
|
wnnlibdir='/usr/local/lib' |
| 1401 |
|
fi |
| 1402 |
|
|
| 1403 |
|
if test "X${with_libwnn}" = X-lwnn; then |
| 1404 |
|
WNNJLIB="-L${wnnlibdir} -lwnn" |
| 1405 |
|
elif test X"`echo ${with_libwnn} | grep '^/.*'`" != X ; then |
| 1406 |
|
WNNJLIB="${with_libwnn}" |
| 1407 |
|
else |
| 1408 |
|
WNNJLIB="${wnnlibdir}/libwnn.a" |
| 1409 |
|
fi |
| 1410 |
|
DEPWNNJLIB="" |
| 1411 |
|
HINSI_DATA="\$(JWNNWNNDIR)/hinsi.data" |
| 1412 |
|
|
| 1413 |
|
else |
| 1414 |
|
WNNJLIB="\$(WNNJLIBSRC)/libwnn.la" |
| 1415 |
|
DEPWNNJLIB="\$(WNNJLIB)" |
| 1416 |
|
HINSI_DATA="\$(WNNJDSRC)/hinsi.data" |
| 1417 |
|
|
| 1418 |
|
fi |
| 1419 |
|
|
| 1420 |
|
|
| 1421 |
|
|
| 1422 |
|
|
| 1423 |
|
|
| 1424 |
|
# Check whether --with-libcwnn or --without-libcwnn was given. |
| 1425 |
|
if test "${with_libcwnn+set}" = set; then |
| 1426 |
|
withval="$with_libcwnn" |
| 1427 |
|
|
| 1428 |
|
# Check whether --with-cwnn-includes or --without-cwnn-includes was given. |
| 1429 |
|
if test "${with_cwnn_includes+set}" = set; then |
| 1430 |
|
withval="$with_cwnn_includes" |
| 1431 |
|
cwnnincludedir="-I${withval}" |
| 1432 |
|
else |
| 1433 |
|
cwnnincludedir='' |
| 1434 |
|
fi |
| 1435 |
|
|
| 1436 |
|
# Check whether --with-cwnn-libraries or --without-cwnn-libraries was given. |
| 1437 |
|
if test "${with_cwnn_libraries+set}" = set; then |
| 1438 |
|
withval="$with_cwnn_libraries" |
| 1439 |
|
cwnnlibdir="${withval}" |
| 1440 |
|
else |
| 1441 |
|
cwnnlibdir='/usr/local/lib' |
| 1442 |
|
fi |
| 1443 |
|
|
| 1444 |
|
if test "X${with_libcwnn}" = X-lcwnn; then |
| 1445 |
|
CWNNJLIB="-L${cwnnlibdir} -lcwnn" |
| 1446 |
|
elif test X"`echo ${with_libcwnn} | grep '^/.*'`" != X ; then |
| 1447 |
|
CWNNJLIB="${with_libcwnn}" |
| 1448 |
|
else |
| 1449 |
|
CWNNJLIB="${cwnnlibdir}/libcwnn.a" |
| 1450 |
|
fi |
| 1451 |
|
DEPCWNNJLIB="" |
| 1452 |
|
CHINSI_DATA="\$(CWNNWNNDIR)/cixing.data" |
| 1453 |
|
THINSI_DATA="\$(TWNNTDSRC)/cixing.data" |
| 1454 |
|
|
| 1455 |
|
else |
| 1456 |
|
CWNNJLIB="\$(CWNNJLIBSRC)/libcwnn.la" |
| 1457 |
|
DEPCWNNJLIB="\$(CWNNJLIB)" |
| 1458 |
|
CHINSI_DATA="\$(CWNNCDSRC)/cixing.data" |
| 1459 |
|
THINSI_DATA="\$(TWNNTDSRC)/cixing.data" |
| 1460 |
|
|
| 1461 |
|
fi |
| 1462 |
|
|
| 1463 |
|
|
| 1464 |
|
|
| 1465 |
|
|
| 1466 |
|
|
| 1467 |
|
|
| 1468 |
|
# Check whether --with-libkwnn or --without-libkwnn was given. |
| 1469 |
|
if test "${with_libkwnn+set}" = set; then |
| 1470 |
|
withval="$with_libkwnn" |
| 1471 |
|
|
| 1472 |
|
# Check whether --with-kwnn-includes or --without-kwnn-includes was given. |
| 1473 |
|
if test "${with_kwnn_includes+set}" = set; then |
| 1474 |
|
withval="$with_kwnn_includes" |
| 1475 |
|
kwnnincludedir="-I${withval}" |
| 1476 |
|
else |
| 1477 |
|
kwnnincludedir='' |
| 1478 |
|
fi |
| 1479 |
|
|
| 1480 |
|
# Check whether --with-kwnn-libraries or --without-kwnn-libraries was given. |
| 1481 |
|
if test "${with_kwnn_libraries+set}" = set; then |
| 1482 |
|
withval="$with_kwnn_libraries" |
| 1483 |
|
kwnnlibdir="${withval}" |
| 1484 |
|
else |
| 1485 |
|
kwnnlibdir='/usr/local/lib' |
| 1486 |
|
fi |
| 1487 |
|
|
| 1488 |
|
if test "X${with_libkwnn}" = X-lkwnn; then |
| 1489 |
|
KWNNJLIB="-L${kwnnlibdir} -lkwnn" |
| 1490 |
|
elif test X"`echo ${with_libkwnn} | grep '^/.*'`" != X ; then |
| 1491 |
|
KWNNJLIB="${with_libkwnn}" |
| 1492 |
|
else |
| 1493 |
|
KWNNJLIB="${kwnnlibdir}/libkwnn.a" |
| 1494 |
|
fi |
| 1495 |
|
DEPKWNNJLIB="" |
| 1496 |
|
KHINSI_DATA="\$(KWNNWNNDIR)/hinsi.data" |
| 1497 |
|
|
| 1498 |
|
else |
| 1499 |
|
KWNNJLIB="\$(KWNNJLIBSRC)/libkwnn.la" |
| 1500 |
|
DEPKWNNJLIB="\$(KWNNJLIB)" |
| 1501 |
|
KHINSI_DATA="\$(KWNNKDSRC)/hinsi.data" |
| 1502 |
|
|
| 1503 |
|
fi |
| 1504 |
|
|
| 1505 |
|
|
| 1506 |
|
|
| 1507 |
|
|
| 1508 |
|
|
| 1509 |
|
# Extract the first word of "gcc", so it can be a program name with args. |
| 1510 |
|
set dummy gcc; ac_word=$2 |
| 1511 |
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1512 |
|
echo "configure:1513: checking for $ac_word" >&5 |
| 1513 |
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 1514 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1515 |
|
else |
| 1516 |
|
if test -n "$CC"; then |
| 1517 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1518 |
|
else |
| 1519 |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1520 |
|
ac_dummy="$PATH" |
| 1521 |
|
for ac_dir in $ac_dummy; do |
| 1522 |
|
test -z "$ac_dir" && ac_dir=. |
| 1523 |
|
if test -f $ac_dir/$ac_word; then |
| 1524 |
|
ac_cv_prog_CC="gcc" |
| 1525 |
|
break |
| 1526 |
|
fi |
| 1527 |
|
done |
| 1528 |
|
IFS="$ac_save_ifs" |
| 1529 |
|
fi |
| 1530 |
|
fi |
| 1531 |
|
CC="$ac_cv_prog_CC" |
| 1532 |
|
if test -n "$CC"; then |
| 1533 |
|
echo "$ac_t""$CC" 1>&6 |
| 1534 |
|
else |
| 1535 |
|
echo "$ac_t""no" 1>&6 |
| 1536 |
|
fi |
| 1537 |
|
|
| 1538 |
|
if test -z "$CC"; then |
| 1539 |
|
# Extract the first word of "cc", so it can be a program name with args. |
| 1540 |
|
set dummy cc; ac_word=$2 |
| 1541 |
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1542 |
|
echo "configure:1543: checking for $ac_word" >&5 |
| 1543 |
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 1544 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1545 |
|
else |
| 1546 |
|
if test -n "$CC"; then |
| 1547 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1548 |
|
else |
| 1549 |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1550 |
|
ac_prog_rejected=no |
| 1551 |
|
ac_dummy="$PATH" |
| 1552 |
|
for ac_dir in $ac_dummy; do |
| 1553 |
|
test -z "$ac_dir" && ac_dir=. |
| 1554 |
|
if test -f $ac_dir/$ac_word; then |
| 1555 |
|
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
| 1556 |
|
ac_prog_rejected=yes |
| 1557 |
|
continue |
| 1558 |
|
fi |
| 1559 |
|
ac_cv_prog_CC="cc" |
| 1560 |
|
break |
| 1561 |
|
fi |
| 1562 |
|
done |
| 1563 |
|
IFS="$ac_save_ifs" |
| 1564 |
|
if test $ac_prog_rejected = yes; then |
| 1565 |
|
# We found a bogon in the path, so make sure we never use it. |
| 1566 |
|
set dummy $ac_cv_prog_CC |
| 1567 |
|
shift |
| 1568 |
|
if test $# -gt 0; then |
| 1569 |
|
# We chose a different compiler from the bogus one. |
| 1570 |
|
# However, it has the same basename, so the bogon will be chosen |
| 1571 |
|
# first if we set CC to just the basename; use the full file name. |
| 1572 |
|
shift |
| 1573 |
|
set dummy "$ac_dir/$ac_word" "$@" |
| 1574 |
|
shift |
| 1575 |
|
ac_cv_prog_CC="$@" |
| 1576 |
|
fi |
| 1577 |
|
fi |
| 1578 |
|
fi |
| 1579 |
|
fi |
| 1580 |
|
CC="$ac_cv_prog_CC" |
| 1581 |
|
if test -n "$CC"; then |
| 1582 |
|
echo "$ac_t""$CC" 1>&6 |
| 1583 |
|
else |
| 1584 |
|
echo "$ac_t""no" 1>&6 |
| 1585 |
|
fi |
| 1586 |
|
|
| 1587 |
|
if test -z "$CC"; then |
| 1588 |
|
case "`uname -s`" in |
| 1589 |
|
*win32* | *WIN32*) |
| 1590 |
|
# Extract the first word of "cl", so it can be a program name with args. |
| 1591 |
|
set dummy cl; ac_word=$2 |
| 1592 |
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1593 |
|
echo "configure:1594: checking for $ac_word" >&5 |
| 1594 |
|
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 1595 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1596 |
|
else |
| 1597 |
|
if test -n "$CC"; then |
| 1598 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1599 |
|
else |
| 1600 |
|
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1601 |
|
ac_dummy="$PATH" |
| 1602 |
|
for ac_dir in $ac_dummy; do |
| 1603 |
|
test -z "$ac_dir" && ac_dir=. |
| 1604 |
|
if test -f $ac_dir/$ac_word; then |
| 1605 |
|
ac_cv_prog_CC="cl" |
| 1606 |
|
break |
| 1607 |
|
fi |
| 1608 |
|
done |
| 1609 |
|
IFS="$ac_save_ifs" |
| 1610 |
|
fi |
| 1611 |
|
fi |
| 1612 |
|
CC="$ac_cv_prog_CC" |
| 1613 |
|
if test -n "$CC"; then |
| 1614 |
|
echo "$ac_t""$CC" 1>&6 |
| 1615 |
|
else |
| 1616 |
|
echo "$ac_t""no" 1>&6 |
| 1617 |
|
fi |
| 1618 |
|
;; |
| 1619 |
|
esac |
| 1620 |
|
fi |
| 1621 |
|
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1622 |
|
fi |
| 1623 |
|
|
| 1624 |
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1625 |
|
echo "configure:1626: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1626 |
|
|
| 1627 |
|
ac_ext=c |
| 1628 |
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| 1629 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 1630 |
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
| 1631 |
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
| 1632 |
|
cross_compiling=$ac_cv_prog_cc_cross |
| 1633 |
|
|
| 1634 |
|
cat > conftest.$ac_ext << EOF |
| 1635 |
|
|
| 1636 |
|
#line 1637 "configure" |
| 1637 |
|
#include "confdefs.h" |
| 1638 |
|
|
| 1639 |
|
main(){return(0);} |
| 1640 |
|
EOF |
| 1641 |
|
if { (eval echo configure:1642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1642 |
|
ac_cv_prog_cc_works=yes |
| 1643 |
|
# If we can't run a trivial program, we are probably using a cross compiler. |
| 1644 |
|
if (./conftest; exit) 2>/dev/null; then |
| 1645 |
|
ac_cv_prog_cc_cross=no |
| 1646 |
|
else |
| 1647 |
|
ac_cv_prog_cc_cross=yes |
| 1648 |
|
fi |
| 1649 |
|
else |
| 1650 |
|
echo "configure: failed program was:" >&5 |
| 1651 |
|
cat conftest.$ac_ext >&5 |
| 1652 |
|
ac_cv_prog_cc_works=no |
| 1653 |
|
fi |
| 1654 |
|
rm -fr conftest* |
| 1655 |
|
ac_ext=c |
| 1656 |
|
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| 1657 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 1658 |
|
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
| 1659 |
|
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
| 1660 |
|
cross_compiling=$ac_cv_prog_cc_cross |
| 1661 |
|
|
| 1662 |
|
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1663 |
|
if test $ac_cv_prog_cc_works = no; then |
| 1664 |
|
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1665 |
|
fi |
| 1666 |
|
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1667 |
|
echo "configure:1668: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1668 |
|
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1669 |
|
cross_compiling=$ac_cv_prog_cc_cross |
| 1670 |
|
|
| 1671 |
|
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1672 |
|
echo "configure:1673: checking whether we are using GNU C" >&5 |
| 1673 |
|
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
| 1674 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1675 |
|
else |
| 1676 |
|
cat > conftest.c <<EOF |
| 1677 |
|
#ifdef __GNUC__ |
| 1678 |
|
yes; |
| 1679 |
|
#endif |
| 1680 |
|
EOF |
| 1681 |
|
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1682 |
|
ac_cv_prog_gcc=yes |
| 1683 |
|
else |
| 1684 |
|
ac_cv_prog_gcc=no |
| 1685 |
|
fi |
| 1686 |
|
fi |
| 1687 |
|
|
| 1688 |
|
echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
| 1689 |
|
|
| 1690 |
|
if test $ac_cv_prog_gcc = yes; then |
| 1691 |
|
GCC=yes |
| 1692 |
|
else |
| 1693 |
|
GCC= |
| 1694 |
|
fi |
| 1695 |
|
|
| 1696 |
|
ac_test_CFLAGS="${CFLAGS+set}" |
| 1697 |
|
ac_save_CFLAGS="$CFLAGS" |
| 1698 |
|
CFLAGS= |
| 1699 |
|
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1700 |
|
echo "configure:1701: checking whether ${CC-cc} accepts -g" >&5 |
| 1701 |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
| 1702 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1703 |
else |
else |
| 1729 |
fi |
fi |
| 1730 |
|
|
| 1731 |
echo $ac_n "checking for cpp""... $ac_c" 1>&6 |
echo $ac_n "checking for cpp""... $ac_c" 1>&6 |
| 1732 |
echo "configure:762: checking for cpp" >&5 |
echo "configure:1733: checking for cpp" >&5 |
| 1733 |
hosttype=`uname` |
hosttype=`uname` |
| 1734 |
CCOPTIONS="" |
CCOPTIONS="" |
| 1735 |
CDEBUGFLAGS=-O |
CDEBUGFLAGS=-O |
| 1737 |
"Linux") |
"Linux") |
| 1738 |
CCOPTIONS="-Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE" |
CCOPTIONS="-Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE" |
| 1739 |
CDEBUGFLAGS="-O2 -fno-strength-reduce" |
CDEBUGFLAGS="-O2 -fno-strength-reduce" |
| 1740 |
if test -x /lib/cpp; then |
CPP=`$CC -print-prog-name=cpp` |
|
CPP=/lib/cpp |
|
|
fi |
|
| 1741 |
;; |
;; |
| 1742 |
"FreeBSD"|"NetBSD"|"OpenBSD") |
"FreeBSD"|"NetBSD"|"OpenBSD") |
| 1743 |
CCOPTIONS="-DCSRG_BASED" |
CCOPTIONS="-DCSRG_BASED" |
| 1744 |
CDEBUGFLAGS="-O2 -fno-strength-reduce" |
CDEBUGFLAGS="-O2 -fno-strength-reduce" |
| 1745 |
if test -x /usr/libexec/cpp; then |
CPP=`$CC -print-prog-name=cpp` |
|
CPP=/usr/libexec/cpp |
|
|
fi |
|
| 1746 |
;; |
;; |
| 1747 |
"BSD/OS") |
"BSD/OS") |
| 1748 |
CCOPTIONS="-DCSRG_BASED" |
CCOPTIONS="-DCSRG_BASED" |
| 1775 |
fi |
fi |
| 1776 |
;; |
;; |
| 1777 |
*) |
*) |
| 1778 |
echo "configure: warning: "This system is not supported. But continuing..."" 1>&2 |
echo "configure: warning: "It is not reported if FreeWnn works on this system. But continuing..."" 1>&2 |
| 1779 |
;; |
;; |
| 1780 |
esac |
esac |
| 1781 |
;; |
;; |
| 1798 |
fi |
fi |
| 1799 |
;; |
;; |
| 1800 |
*) |
*) |
| 1801 |
echo "configure: warning: "This system is not supported. But continuing..."" 1>&2 |
echo "configure: warning: "It is not reported if FreeWnn works on this system. But continuing..."" 1>&2 |
| 1802 |
;; |
;; |
| 1803 |
esac |
esac |
| 1804 |
;; |
;; |
| 1807 |
"BePC") |
"BePC") |
| 1808 |
CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE" |
CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE" |
| 1809 |
CDEBUGFLAGS="-O2 -fno-strength-reduce" |
CDEBUGFLAGS="-O2 -fno-strength-reduce" |
| 1810 |
if test -x /boot/develop/tools/gnupro/lib/gcc-lib/i586-beos/2.9-beos-980929/cpp; then |
CPP=`$CC -print-prog-name=cpp` |
|
CPP=/boot/develop/tools/gnupro/lib/gcc-lib/i586-beos/2.9-beos-980929/cpp |
|
|
fi |
|
| 1811 |
;; |
;; |
| 1812 |
"BeBox"|"BeMac") |
"BeBox"|"BeMac") |
| 1813 |
CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE" |
CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE" |
| 1828 |
CPP=/usr/lib/cpp |
CPP=/usr/lib/cpp |
| 1829 |
;; |
;; |
| 1830 |
*) |
*) |
| 1831 |
echo "configure: warning: "This system is not supported. But continuing..."" 1>&2 |
echo "configure: warning: "It is not reported if FreeWnn works on this system. But continuing..."" 1>&2 |
| 1832 |
;; |
;; |
| 1833 |
esac |
esac |
| 1834 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1835 |
echo "configure:871: checking how to run the C preprocessor" >&5 |
echo "configure:1836: checking how to run the C preprocessor" >&5 |
| 1836 |
# On Suns, sometimes $CPP names a directory. |
# On Suns, sometimes $CPP names a directory. |
| 1837 |
if test -n "$CPP" && test -d "$CPP"; then |
if test -n "$CPP" && test -d "$CPP"; then |
| 1838 |
CPP= |
CPP= |
| 1847 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
# On the NeXT, cc -E runs the code through the compiler's parser, |
| 1848 |
# not just through cpp. |
# not just through cpp. |
| 1849 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 1850 |
#line 886 "configure" |
#line 1851 "configure" |
| 1851 |
#include "confdefs.h" |
#include "confdefs.h" |
| 1852 |
#include <assert.h> |
#include <assert.h> |
| 1853 |
Syntax Error |
Syntax Error |
| 1854 |
EOF |
EOF |
| 1855 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1856 |
{ (eval echo configure:892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1857 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1858 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
| 1859 |
: |
: |
| 1864 |
rm -rf conftest* |
rm -rf conftest* |
| 1865 |
CPP="${CC-cc} -E -traditional-cpp" |
CPP="${CC-cc} -E -traditional-cpp" |
| 1866 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 1867 |
#line 903 "configure" |
#line 1868 "configure" |
| 1868 |
#include "confdefs.h" |
#include "confdefs.h" |
| 1869 |
#include <assert.h> |
#include <assert.h> |
| 1870 |
Syntax Error |
Syntax Error |
| 1871 |
EOF |
EOF |
| 1872 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1873 |
{ (eval echo configure:909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1874 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1875 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
| 1876 |
: |
: |
| 1881 |
rm -rf conftest* |
rm -rf conftest* |
| 1882 |
CPP="${CC-cc} -nologo -E" |
CPP="${CC-cc} -nologo -E" |
| 1883 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 1884 |
#line 920 "configure" |
#line 1885 "configure" |
| 1885 |
#include "confdefs.h" |
#include "confdefs.h" |
| 1886 |
#include <assert.h> |
#include <assert.h> |
| 1887 |
Syntax Error |
Syntax Error |
| 1888 |
EOF |
EOF |
| 1889 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1890 |
{ (eval echo configure:926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:1891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1891 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1892 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
| 1893 |
: |
: |
| 1912 |
echo "$ac_t""$CPP" 1>&6 |
echo "$ac_t""$CPP" 1>&6 |
| 1913 |
|
|
| 1914 |
|
|
|
ac_aux_dir= |
|
|
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
|
|
if test -f $ac_dir/install-sh; then |
|
|
ac_aux_dir=$ac_dir |
|
|
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
|
break |
|
|
elif test -f $ac_dir/install.sh; then |
|
|
ac_aux_dir=$ac_dir |
|
|
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
|
break |
|
|
fi |
|
|
done |
|
|
if test -z "$ac_aux_dir"; then |
|
|
{ echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } |
|
|
fi |
|
|
ac_config_guess=$ac_aux_dir/config.guess |
|
|
ac_config_sub=$ac_aux_dir/config.sub |
|
|
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
|
|
|
|
| 1915 |
# Find a good install program. We prefer a C program (faster), |
# Find a good install program. We prefer a C program (faster), |
| 1916 |
# so one script is as good as another. But avoid the broken or |
# so one script is as good as another. But avoid the broken or |
| 1917 |
# incompatible versions: |
# incompatible versions: |
| 1924 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 1925 |
# ./install, which can be erroneously created by make from ./install.sh. |
# ./install, which can be erroneously created by make from ./install.sh. |
| 1926 |
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 1927 |
echo "configure:982: checking for a BSD compatible install" >&5 |
echo "configure:1928: checking for a BSD compatible install" >&5 |
| 1928 |
if test -z "$INSTALL"; then |
if test -z "$INSTALL"; then |
| 1929 |
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
| 1930 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1977 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 1978 |
|
|
| 1979 |
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 1980 |
echo "configure:1035: checking whether ln -s works" >&5 |
echo "configure:1981: checking whether ln -s works" >&5 |
| 1981 |
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
| 1982 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 1983 |
else |
else |
| 1998 |
fi |
fi |
| 1999 |
|
|
| 2000 |
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 2001 |
echo "configure:1056: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
echo "configure:2002: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 2002 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 2003 |
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
| 2004 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2027 |
# Extract the first word of "ranlib", so it can be a program name with args. |
# Extract the first word of "ranlib", so it can be a program name with args. |
| 2028 |
set dummy ranlib; ac_word=$2 |
set dummy ranlib; ac_word=$2 |
| 2029 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2030 |
echo "configure:1085: checking for $ac_word" >&5 |
echo "configure:2031: checking for $ac_word" >&5 |
| 2031 |
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
| 2032 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2033 |
else |
else |
| 2059 |
|
|
| 2060 |
|
|
| 2061 |
echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 2062 |
echo "configure:1117: checking for crypt in -lcrypt" >&5 |
echo "configure:2063: checking for crypt in -lcrypt" >&5 |
| 2063 |
ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 2064 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 2065 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2067 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
| 2068 |
LIBS="-lcrypt $LIBS" |
LIBS="-lcrypt $LIBS" |
| 2069 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2070 |
#line 1125 "configure" |
#line 2071 "configure" |
| 2071 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2072 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 2073 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
| 2078 |
crypt() |
crypt() |
| 2079 |
; return 0; } |
; return 0; } |
| 2080 |
EOF |
EOF |
| 2081 |
if { (eval echo configure:1136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2082 |
rm -rf conftest* |
rm -rf conftest* |
| 2083 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
| 2084 |
else |
else |
| 2106 |
fi |
fi |
| 2107 |
|
|
| 2108 |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
| 2109 |
echo "configure:1164: checking for connect in -lsocket" >&5 |
echo "configure:2110: checking for connect in -lsocket" >&5 |
| 2110 |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 2111 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 2112 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2114 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
| 2115 |
LIBS="-lsocket $LIBS" |
LIBS="-lsocket $LIBS" |
| 2116 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2117 |
#line 1172 "configure" |
#line 2118 "configure" |
| 2118 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2119 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 2120 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
| 2125 |
connect() |
connect() |
| 2126 |
; return 0; } |
; return 0; } |
| 2127 |
EOF |
EOF |
| 2128 |
if { (eval echo configure:1183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2129 |
rm -rf conftest* |
rm -rf conftest* |
| 2130 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
| 2131 |
else |
else |
| 2153 |
fi |
fi |
| 2154 |
|
|
| 2155 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 2156 |
echo "configure:1211: checking for gethostbyname in -lnsl" >&5 |
echo "configure:2157: checking for gethostbyname in -lnsl" >&5 |
| 2157 |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 2158 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 2159 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2161 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
| 2162 |
LIBS="-lnsl $LIBS" |
LIBS="-lnsl $LIBS" |
| 2163 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2164 |
#line 1219 "configure" |
#line 2165 "configure" |
| 2165 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2166 |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
| 2167 |
/* We use char because int might match the return type of a gcc2 |
/* We use char because int might match the return type of a gcc2 |
| 2172 |
gethostbyname() |
gethostbyname() |
| 2173 |
; return 0; } |
; return 0; } |
| 2174 |
EOF |
EOF |
| 2175 |
if { (eval echo configure:1230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2176 |
rm -rf conftest* |
rm -rf conftest* |
| 2177 |
eval "ac_cv_lib_$ac_lib_var=yes" |
eval "ac_cv_lib_$ac_lib_var=yes" |
| 2178 |
else |
else |
| 2205 |
# Uses ac_ vars as temps to allow command line to override cache and checks. |
# Uses ac_ vars as temps to allow command line to override cache and checks. |
| 2206 |
# --without-x overrides everything else, but does not touch the cache. |
# --without-x overrides everything else, but does not touch the cache. |
| 2207 |
echo $ac_n "checking for X""... $ac_c" 1>&6 |
echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 2208 |
echo "configure:1263: checking for X" >&5 |
echo "configure:2209: checking for X" >&5 |
| 2209 |
|
|
| 2210 |
# Check whether --with-x or --without-x was given. |
# Check whether --with-x or --without-x was given. |
| 2211 |
if test "${with_x+set}" = set; then |
if test "${with_x+set}" = set; then |
| 2267 |
|
|
| 2268 |
# First, try using that file with no special directory specified. |
# First, try using that file with no special directory specified. |
| 2269 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2270 |
#line 1325 "configure" |
#line 2271 "configure" |
| 2271 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2272 |
#include <$x_direct_test_include> |
#include <$x_direct_test_include> |
| 2273 |
EOF |
EOF |
| 2274 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2275 |
{ (eval echo configure:1330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2276 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2277 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
| 2278 |
rm -rf conftest* |
rm -rf conftest* |
| 2341 |
ac_save_LIBS="$LIBS" |
ac_save_LIBS="$LIBS" |
| 2342 |
LIBS="-l$x_direct_test_library $LIBS" |
LIBS="-l$x_direct_test_library $LIBS" |
| 2343 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2344 |
#line 1399 "configure" |
#line 2345 "configure" |
| 2345 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2346 |
|
|
| 2347 |
int main() { |
int main() { |
| 2348 |
${x_direct_test_function}() |
${x_direct_test_function}() |
| 2349 |
; return 0; } |
; return 0; } |
| 2350 |
EOF |
EOF |
| 2351 |
if { (eval echo configure:1406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:2352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2352 |
rm -rf conftest* |
rm -rf conftest* |
| 2353 |
LIBS="$ac_save_LIBS" |
LIBS="$ac_save_LIBS" |
| 2354 |
# We can link X programs with no special library path. |
# We can link X programs with no special library path. |
| 2435 |
fi |
fi |
| 2436 |
|
|
| 2437 |
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 2438 |
echo "configure:1493: checking for ANSI C header files" >&5 |
echo "configure:2439: checking for ANSI C header files" >&5 |
| 2439 |
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
| 2440 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2441 |
else |
else |
| 2442 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2443 |
#line 1498 "configure" |
#line 2444 "configure" |
| 2444 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2445 |
#include <stdlib.h> |
#include <stdlib.h> |
| 2446 |
#include <stdarg.h> |
#include <stdarg.h> |
| 2448 |
#include <float.h> |
#include <float.h> |
| 2449 |
EOF |
EOF |
| 2450 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2451 |
{ (eval echo configure:1506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2452 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2453 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
| 2454 |
rm -rf conftest* |
rm -rf conftest* |
| 2465 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
| 2466 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 2467 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2468 |
#line 1523 "configure" |
#line 2469 "configure" |
| 2469 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2470 |
#include <string.h> |
#include <string.h> |
| 2471 |
EOF |
EOF |
| 2483 |
if test $ac_cv_header_stdc = yes; then |
if test $ac_cv_header_stdc = yes; then |
| 2484 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 2485 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2486 |
#line 1541 "configure" |
#line 2487 "configure" |
| 2487 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2488 |
#include <stdlib.h> |
#include <stdlib.h> |
| 2489 |
EOF |
EOF |
| 2504 |
: |
: |
| 2505 |
else |
else |
| 2506 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2507 |
#line 1562 "configure" |
#line 2508 "configure" |
| 2508 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2509 |
#include <ctype.h> |
#include <ctype.h> |
| 2510 |
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 2515 |
exit (0); } |
exit (0); } |
| 2516 |
|
|
| 2517 |
EOF |
EOF |
| 2518 |
if { (eval echo configure:1573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 2519 |
then |
then |
| 2520 |
: |
: |
| 2521 |
else |
else |
| 2539 |
fi |
fi |
| 2540 |
|
|
| 2541 |
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 2542 |
echo "configure:1597: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
echo "configure:2543: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 2543 |
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then |
| 2544 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2545 |
else |
else |
| 2546 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2547 |
#line 1602 "configure" |
#line 2548 "configure" |
| 2548 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2549 |
#include <sys/types.h> |
#include <sys/types.h> |
| 2550 |
#include <sys/wait.h> |
#include <sys/wait.h> |
| 2560 |
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 2561 |
; return 0; } |
; return 0; } |
| 2562 |
EOF |
EOF |
| 2563 |
if { (eval echo configure:1618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2564 |
rm -rf conftest* |
rm -rf conftest* |
| 2565 |
ac_cv_header_sys_wait_h=yes |
ac_cv_header_sys_wait_h=yes |
| 2566 |
else |
else |
| 2580 |
|
|
| 2581 |
fi |
fi |
| 2582 |
|
|
| 2583 |
for ac_hdr in fcntl.h limits.h malloc.h sgtty.h strings.h sys/file.h sys/ioctl.h sys/time.h termio.h unistd.h sys/types.h |
for ac_hdr in fcntl.h limits.h malloc.h sgtty.h strings.h termio.h unistd.h |
| 2584 |
do |
do |
| 2585 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2586 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2587 |
echo "configure:1642: checking for $ac_hdr" >&5 |
echo "configure:2588: checking for $ac_hdr" >&5 |
| 2588 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 2589 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2590 |
else |
else |
| 2591 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2592 |
#line 1647 "configure" |
#line 2593 "configure" |
| 2593 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2594 |
#include <$ac_hdr> |
#include <$ac_hdr> |
| 2595 |
EOF |
EOF |
| 2596 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2597 |
{ (eval echo configure:1652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
{ (eval echo configure:2598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2598 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2599 |
|
if test -z "$ac_err"; then |
| 2600 |
|
rm -rf conftest* |
| 2601 |
|
eval "ac_cv_header_$ac_safe=yes" |
| 2602 |
|
else |
| 2603 |
|
echo "$ac_err" >&5 |
| 2604 |
|
echo "configure: failed program was:" >&5 |
| 2605 |
|
cat conftest.$ac_ext >&5 |
| 2606 |
|
rm -rf conftest* |
| 2607 |
|
eval "ac_cv_header_$ac_safe=no" |
| 2608 |
|
fi |
| 2609 |
|
rm -f conftest* |
| 2610 |
|
fi |
| 2611 |
|
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 2612 |
|
echo "$ac_t""yes" 1>&6 |
| 2613 |
|
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
| 2614 |
|
cat >> confdefs.h <<EOF |
| 2615 |
|
#define $ac_tr_hdr 1 |
| 2616 |
|
EOF |
| 2617 |
|
|
| 2618 |
|
else |
| 2619 |
|
echo "$ac_t""no" 1>&6 |
| 2620 |
|
fi |
| 2621 |
|
done |
| 2622 |
|
|
| 2623 |
|
for ac_hdr in sys/file.h sys/ioctl.h sys/time.h sys/types.h sys/param.h |
| 2624 |
|
do |
| 2625 |
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2626 |
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2627 |
|
echo "configure:2628: checking for $ac_hdr" >&5 |
| 2628 |
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 2629 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2630 |
|
else |
| 2631 |
|
cat > conftest.$ac_ext <<EOF |
| 2632 |
|
#line 2633 "configure" |
| 2633 |
|
#include "confdefs.h" |
| 2634 |
|
#include <$ac_hdr> |
| 2635 |
|
EOF |
| 2636 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2637 |
|
{ (eval echo configure:2638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2638 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2639 |
if test -z "$ac_err"; then |
if test -z "$ac_err"; then |
| 2640 |
rm -rf conftest* |
rm -rf conftest* |
| 2662 |
|
|
| 2663 |
|
|
| 2664 |
echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 2665 |
echo "configure:1680: checking for mode_t" >&5 |
echo "configure:2666: checking for mode_t" >&5 |
| 2666 |
if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then |
| 2667 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2668 |
else |
else |
| 2669 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2670 |
#line 1685 "configure" |
#line 2671 "configure" |
| 2671 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2672 |
#include <sys/types.h> |
#include <sys/types.h> |
| 2673 |
#if STDC_HEADERS |
#if STDC_HEADERS |
| 2695 |
fi |
fi |
| 2696 |
|
|
| 2697 |
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 2698 |
echo "configure:1713: checking whether time.h and sys/time.h may both be included" >&5 |
echo "configure:2699: checking whether time.h and sys/time.h may both be included" >&5 |
| 2699 |
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
| 2700 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2701 |
else |
else |
| 2702 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2703 |
#line 1718 "configure" |
#line 2704 "configure" |
| 2704 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2705 |
#include <sys/types.h> |
#include <sys/types.h> |
| 2706 |
#include <sys/time.h> |
#include <sys/time.h> |
| 2709 |
struct tm *tp; |
struct tm *tp; |
| 2710 |
; return 0; } |
; return 0; } |
| 2711 |
EOF |
EOF |
| 2712 |
if { (eval echo configure:1727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2713 |
rm -rf conftest* |
rm -rf conftest* |
| 2714 |
ac_cv_header_time=yes |
ac_cv_header_time=yes |
| 2715 |
else |
else |
| 2730 |
fi |
fi |
| 2731 |
|
|
| 2732 |
echo $ac_n "checking for time_t""... $ac_c" 1>&6 |
echo $ac_n "checking for time_t""... $ac_c" 1>&6 |
| 2733 |
echo "configure:1748: checking for time_t" >&5 |
echo "configure:2734: checking for time_t" >&5 |
| 2734 |
if eval "test \"`echo '$''{'ac_cv_type_time_t'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_type_time_t'+set}'`\" = set"; then |
| 2735 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2736 |
else |
else |
| 2737 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2738 |
#line 1753 "configure" |
#line 2739 "configure" |
| 2739 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2740 |
#include <sys/types.h> |
#include <sys/types.h> |
| 2741 |
#if STDC_HEADERS |
#if STDC_HEADERS |
| 2764 |
|
|
| 2765 |
|
|
| 2766 |
echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
| 2767 |
echo "configure:1782: checking for socklen_t" >&5 |
echo "configure:2768: checking for socklen_t" >&5 |
| 2768 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2769 |
#line 1784 "configure" |
#line 2770 "configure" |
| 2770 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2771 |
#include <sys/socket.h> |
#include <sys/socket.h> |
| 2772 |
EOF |
EOF |
| 2789 |
|
|
| 2790 |
|
|
| 2791 |
echo $ac_n "checking for RAND_MAX""... $ac_c" 1>&6 |
echo $ac_n "checking for RAND_MAX""... $ac_c" 1>&6 |
| 2792 |
echo "configure:1807: checking for RAND_MAX" >&5 |
echo "configure:2793: checking for RAND_MAX" >&5 |
| 2793 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2794 |
#line 1809 "configure" |
#line 2795 "configure" |
| 2795 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2796 |
#include <stdlib.h> |
#include <stdlib.h> |
| 2797 |
#ifdef RAND_MAX |
#ifdef RAND_MAX |
| 2812 |
|
|
| 2813 |
if test $ac_cv_prog_gcc = yes; then |
if test $ac_cv_prog_gcc = yes; then |
| 2814 |
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 |
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 |
| 2815 |
echo "configure:1830: checking whether ${CC-cc} needs -traditional" >&5 |
echo "configure:2816: checking whether ${CC-cc} needs -traditional" >&5 |
| 2816 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then |
| 2817 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2818 |
else |
else |
| 2819 |
ac_pattern="Autoconf.*'x'" |
ac_pattern="Autoconf.*'x'" |
| 2820 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2821 |
#line 1836 "configure" |
#line 2822 "configure" |
| 2822 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2823 |
#include <sgtty.h> |
#include <sgtty.h> |
| 2824 |
Autoconf TIOCGETP |
Autoconf TIOCGETP |
| 2836 |
|
|
| 2837 |
if test $ac_cv_prog_gcc_traditional = no; then |
if test $ac_cv_prog_gcc_traditional = no; then |
| 2838 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2839 |
#line 1854 "configure" |
#line 2840 "configure" |
| 2840 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2841 |
#include <termio.h> |
#include <termio.h> |
| 2842 |
Autoconf TCGETA |
Autoconf TCGETA |
| 2858 |
fi |
fi |
| 2859 |
|
|
| 2860 |
echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6 |
echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6 |
| 2861 |
echo "configure:1876: checking for 8-bit clean memcmp" >&5 |
echo "configure:2862: checking for 8-bit clean memcmp" >&5 |
| 2862 |
if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then |
| 2863 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2864 |
else |
else |
| 2866 |
ac_cv_func_memcmp_clean=no |
ac_cv_func_memcmp_clean=no |
| 2867 |
else |
else |
| 2868 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2869 |
#line 1884 "configure" |
#line 2870 "configure" |
| 2870 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2871 |
|
|
| 2872 |
main() |
main() |
| 2876 |
} |
} |
| 2877 |
|
|
| 2878 |
EOF |
EOF |
| 2879 |
if { (eval echo configure:1894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 2880 |
then |
then |
| 2881 |
ac_cv_func_memcmp_clean=yes |
ac_cv_func_memcmp_clean=yes |
| 2882 |
else |
else |
| 2894 |
test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}" |
test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}" |
| 2895 |
|
|
| 2896 |
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 2897 |
echo "configure:1912: checking return type of signal handlers" >&5 |
echo "configure:2898: checking return type of signal handlers" >&5 |
| 2898 |
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
| 2899 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2900 |
else |
else |
| 2901 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2902 |
#line 1917 "configure" |
#line 2903 "configure" |
| 2903 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2904 |
#include <sys/types.h> |
#include <sys/types.h> |
| 2905 |
#include <signal.h> |
#include <signal.h> |
| 2916 |
int i; |
int i; |
| 2917 |
; return 0; } |
; return 0; } |
| 2918 |
EOF |
EOF |
| 2919 |
if { (eval echo configure:1934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
if { (eval echo configure:2920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2920 |
rm -rf conftest* |
rm -rf conftest* |
| 2921 |
ac_cv_type_signal=void |
ac_cv_type_signal=void |
| 2922 |
else |
else |
| 2935 |
|
|
| 2936 |
|
|
| 2937 |
echo $ac_n "checking for wait3 that fills in rusage""... $ac_c" 1>&6 |
echo $ac_n "checking for wait3 that fills in rusage""... $ac_c" 1>&6 |
| 2938 |
echo "configure:1953: checking for wait3 that fills in rusage" >&5 |
echo "configure:2939: checking for wait3 that fills in rusage" >&5 |
| 2939 |
if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then |
| 2940 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 2941 |
else |
else |
| 2943 |
ac_cv_func_wait3_rusage=no |
ac_cv_func_wait3_rusage=no |
| 2944 |
else |
else |
| 2945 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 2946 |
#line 1961 "configure" |
#line 2947 "configure" |
| 2947 |
#include "confdefs.h" |
#include "confdefs.h" |
| 2948 |
#include <sys/types.h> |
#include <sys/types.h> |
| 2949 |
#include <sys/time.h> |
#include <sys/time.h> |
| 2974 |
} |
} |
| 2975 |
} |
} |
| 2976 |
EOF |
EOF |
| 2977 |
if { (eval echo configure:1992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:2978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 2978 |
then |
then |
| 2979 |
ac_cv_func_wait3_rusage=yes |
ac_cv_func_wait3_rusage=yes |
| 2980 |
else |
else |
| 2999 |
for ac_func in gethostname mkdir select socket strtol |
for ac_func in gethostname mkdir select socket strtol |
| 3000 |
do |
do |
| 3001 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 3002 |
echo "configure:2017: checking for $ac_func" >&5 |
echo "configure:3003: checking for $ac_func" >&5 |
| 3003 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 3004 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 3005 |
else |
else |
| 3006 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 3007 |
#line 2022 "configure" |
#line 3008 "configure" |
| 3008 |
#include "confdefs.h" |
#include "confdefs.h" |
| 3009 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
| 3010 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
| 3027 |
|
|
| 3028 |
; return 0; } |
; return 0; } |
| 3029 |
EOF |
EOF |
| 3030 |
if { (eval echo configure:2045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3031 |
rm -rf conftest* |
rm -rf conftest* |
| 3032 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
| 3033 |
else |
else |
| 3054 |
for ac_func in drand48 |
for ac_func in drand48 |
| 3055 |
do |
do |
| 3056 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 3057 |
echo "configure:2072: checking for $ac_func" >&5 |
echo "configure:3058: checking for $ac_func" >&5 |
| 3058 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 3059 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 3060 |
else |
else |
| 3061 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 3062 |
#line 2077 "configure" |
#line 3063 "configure" |
| 3063 |
#include "confdefs.h" |
#include "confdefs.h" |
| 3064 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
| 3065 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
| 3082 |
|
|
| 3083 |
; return 0; } |
; return 0; } |
| 3084 |
EOF |
EOF |
| 3085 |
if { (eval echo configure:2100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3086 |
rm -rf conftest* |
rm -rf conftest* |
| 3087 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
| 3088 |
else |
else |
| 3109 |
for ac_func in perror |
for ac_func in perror |
| 3110 |
do |
do |
| 3111 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 3112 |
echo "configure:2127: checking for $ac_func" >&5 |
echo "configure:3113: checking for $ac_func" >&5 |
| 3113 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 3114 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 3115 |
else |
else |
| 3116 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 3117 |
#line 2132 "configure" |
#line 3118 "configure" |
| 3118 |
#include "confdefs.h" |
#include "confdefs.h" |
| 3119 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
| 3120 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
| 3137 |
|
|
| 3138 |
; return 0; } |
; return 0; } |
| 3139 |
EOF |
EOF |
| 3140 |
if { (eval echo configure:2155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3141 |
rm -rf conftest* |
rm -rf conftest* |
| 3142 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
| 3143 |
else |
else |
| 3164 |
for ac_func in closesocket setsockopt send recv |
for ac_func in closesocket setsockopt send recv |
| 3165 |
do |
do |
| 3166 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 3167 |
echo "configure:2182: checking for $ac_func" >&5 |
echo "configure:3168: checking for $ac_func" >&5 |
| 3168 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 3169 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 3170 |
else |
else |
| 3171 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 3172 |
#line 2187 "configure" |
#line 3173 "configure" |
| 3173 |
#include "confdefs.h" |
#include "confdefs.h" |
| 3174 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
| 3175 |
which can conflict with char $ac_func(); below. */ |
which can conflict with char $ac_func(); below. */ |
| 3192 |
|
|
| 3193 |
; return 0; } |
; return 0; } |
| 3194 |
EOF |
EOF |
| 3195 |
if { (eval echo configure:2210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3196 |
rm -rf conftest* |
rm -rf conftest* |
| 3197 |
eval "ac_cv_func_$ac_func=yes" |
eval "ac_cv_func_$ac_func=yes" |
| 3198 |
else |
else |
| 3217 |
done |
done |
| 3218 |
|
|
| 3219 |
echo $ac_n "checking for setpgrp""... $ac_c" 1>&6 |
echo $ac_n "checking for setpgrp""... $ac_c" 1>&6 |
| 3220 |
echo "configure:2235: checking for setpgrp" >&5 |
echo "configure:3221: checking for setpgrp" >&5 |
| 3221 |
if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setpgrp'+set}'`\" = set"; then |
| 3222 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 3223 |
else |
else |
| 3224 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 3225 |
#line 2240 "configure" |
#line 3226 "configure" |
| 3226 |
#include "confdefs.h" |
#include "confdefs.h" |
| 3227 |
/* System header to define __stub macros and hopefully few prototypes, |
/* System header to define __stub macros and hopefully few prototypes, |
| 3228 |
which can conflict with char setpgrp(); below. */ |
which can conflict with char setpgrp(); below. */ |
| 3245 |
|
|
| 3246 |
; return 0; } |
; return 0; } |
| 3247 |
EOF |
EOF |
| 3248 |
if { (eval echo configure:2263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
if { (eval echo configure:3249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3249 |
rm -rf conftest* |
rm -rf conftest* |
| 3250 |
eval "ac_cv_func_setpgrp=yes" |
eval "ac_cv_func_setpgrp=yes" |
| 3251 |
else |
else |
| 3265 |
fi |
fi |
| 3266 |
|
|
| 3267 |
echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6 |
echo $ac_n "checking whether setpgrp takes no argument""... $ac_c" 1>&6 |
| 3268 |
echo "configure:2283: checking whether setpgrp takes no argument" >&5 |
echo "configure:3269: checking whether setpgrp takes no argument" >&5 |
| 3269 |
if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then |
if eval "test \"`echo '$''{'ac_cv_func_setpgrp_void'+set}'`\" = set"; then |
| 3270 |
echo $ac_n "(cached) $ac_c" 1>&6 |
echo $ac_n "(cached) $ac_c" 1>&6 |
| 3271 |
else |
else |
| 3273 |
{ echo "configure: error: cannot check setpgrp if cross compiling" 1>&2; exit 1; } |
{ echo "configure: error: cannot check setpgrp if cross compiling" 1>&2; exit 1; } |
| 3274 |
else |
else |
| 3275 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 3276 |
#line 2291 "configure" |
#line 3277 "configure" |
| 3277 |
#include "confdefs.h" |
#include "confdefs.h" |
| 3278 |
|
|
| 3279 |
#ifdef HAVE_UNISTD_H |
#ifdef HAVE_UNISTD_H |
| 3293 |
} |
} |
| 3294 |
|
|
| 3295 |
EOF |
EOF |
| 3296 |
if { (eval echo configure:2311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
if { (eval echo configure:3297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 3297 |
then |
then |
| 3298 |
ac_cv_func_setpgrp_void=no |
ac_cv_func_setpgrp_void=no |
| 3299 |
else |
else |
| 3452 |
s%@infodir@%$infodir%g |
s%@infodir@%$infodir%g |
| 3453 |
s%@mandir@%$mandir%g |
s%@mandir@%$mandir%g |
| 3454 |
s%@abs_top_srcdir@%$abs_top_srcdir%g |
s%@abs_top_srcdir@%$abs_top_srcdir%g |
| 3455 |
|
s%@host@%$host%g |
| 3456 |
|
s%@host_alias@%$host_alias%g |
| 3457 |
|
s%@host_cpu@%$host_cpu%g |
| 3458 |
|
s%@host_vendor@%$host_vendor%g |
| 3459 |
|
s%@host_os@%$host_os%g |
| 3460 |
|
s%@build@%$build%g |
| 3461 |
|
s%@build_alias@%$build_alias%g |
| 3462 |
|
s%@build_cpu@%$build_cpu%g |
| 3463 |
|
s%@build_vendor@%$build_vendor%g |
| 3464 |
|
s%@build_os@%$build_os%g |
| 3465 |
|
s%@RANLIB@%$RANLIB%g |
| 3466 |
s%@CC@%$CC%g |
s%@CC@%$CC%g |
| 3467 |
|
s%@LN_S@%$LN_S%g |
| 3468 |
|
s%@LIBTOOL@%$LIBTOOL%g |
| 3469 |
|
s%@SUBDIRS@%$SUBDIRS%g |
| 3470 |
|
s%@WNNMANDIR@%$WNNMANDIR%g |
| 3471 |
|
s%@Wnn@%$Wnn%g |
| 3472 |
|
s%@JSERVER_SUBDIRS1@%$JSERVER_SUBDIRS1%g |
| 3473 |
|
s%@JSERVER_SUBDIRS2@%$JSERVER_SUBDIRS2%g |
| 3474 |
|
s%@cWnn@%$cWnn%g |
| 3475 |
|
s%@kWnn@%$kWnn%g |
| 3476 |
|
s%@WNNJLIB@%$WNNJLIB%g |
| 3477 |
|
s%@DEPWNNJLIB@%$DEPWNNJLIB%g |
| 3478 |
|
s%@HINSI_DATA@%$HINSI_DATA%g |
| 3479 |
|
s%@CWNNJLIB@%$CWNNJLIB%g |
| 3480 |
|
s%@DEPCWNNJLIB@%$DEPCWNNJLIB%g |
| 3481 |
|
s%@CHINSI_DATA@%$CHINSI_DATA%g |
| 3482 |
|
s%@THINSI_DATA@%$THINSI_DATA%g |
| 3483 |
|
s%@KWNNJLIB@%$KWNNJLIB%g |
| 3484 |
|
s%@DEPKWNNJLIB@%$DEPKWNNJLIB%g |
| 3485 |
|
s%@KHINSI_DATA@%$KHINSI_DATA%g |
| 3486 |
s%@CPP@%$CPP%g |
s%@CPP@%$CPP%g |
| 3487 |
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
| 3488 |
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
| 3489 |
s%@INSTALL_DATA@%$INSTALL_DATA%g |
s%@INSTALL_DATA@%$INSTALL_DATA%g |
|
s%@LN_S@%$LN_S%g |
|
| 3490 |
s%@SET_MAKE@%$SET_MAKE%g |
s%@SET_MAKE@%$SET_MAKE%g |
|
s%@RANLIB@%$RANLIB%g |
|
| 3491 |
s%@CCOPTIONS@%$CCOPTIONS%g |
s%@CCOPTIONS@%$CCOPTIONS%g |
| 3492 |
s%@CDEBUGFLAGS@%$CDEBUGFLAGS%g |
s%@CDEBUGFLAGS@%$CDEBUGFLAGS%g |
| 3493 |
s%@LIBOBJS@%$LIBOBJS%g |
s%@LIBOBJS@%$LIBOBJS%g |