Mercurial > noffle
comparison configure @ 438:a6e3b57fb035 noffle
[svn] * Makefile.in,aclocal.m4,configure,docs/Makefile.in,packages/Makefile.in,
packages/redhat/Makefile.in,src/Makefile.in: Autoconf updates.
| author | bears |
|---|---|
| date | Wed, 25 Jun 2003 10:40:54 +0100 |
| parents | 94ac4c72baf7 |
| children | d33568bb18ab |
comparison
equal
deleted
inserted
replaced
| 437:5687083b6f9a | 438:a6e3b57fb035 |
|---|---|
| 538 | 538 |
| 539 | 539 |
| 540 | 540 |
| 541 | 541 |
| 542 PACKAGE=noffle | 542 PACKAGE=noffle |
| 543 VERSION=1.1.4 | 543 VERSION=1.1.5 |
| 544 | 544 |
| 545 | 545 |
| 546 | 546 |
| 547 | 547 |
| 548 ac_aux_dir= | 548 ac_aux_dir= |
| 562 fi | 562 fi |
| 563 ac_config_guess=$ac_aux_dir/config.guess | 563 ac_config_guess=$ac_aux_dir/config.guess |
| 564 ac_config_sub=$ac_aux_dir/config.sub | 564 ac_config_sub=$ac_aux_dir/config.sub |
| 565 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. | 565 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
| 566 | 566 |
| 567 am__api_version="1.4" | |
| 568 # Find a good install program. We prefer a C program (faster), | 567 # Find a good install program. We prefer a C program (faster), |
| 569 # so one script is as good as another. But avoid the broken or | 568 # so one script is as good as another. But avoid the broken or |
| 570 # incompatible versions: | 569 # incompatible versions: |
| 571 # SysV /etc/install, /usr/sbin/install | 570 # SysV /etc/install, /usr/sbin/install |
| 572 # SunOS /usr/etc/install | 571 # SunOS /usr/etc/install |
| 575 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 574 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 576 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 575 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 577 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 576 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 578 # ./install, which can be erroneously created by make from ./install.sh. | 577 # ./install, which can be erroneously created by make from ./install.sh. |
| 579 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 578 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 580 echo "configure:581: checking for a BSD compatible install" >&5 | 579 echo "configure:580: checking for a BSD compatible install" >&5 |
| 581 if test -z "$INSTALL"; then | 580 if test -z "$INSTALL"; then |
| 582 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 581 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
| 583 echo $ac_n "(cached) $ac_c" 1>&6 | 582 echo $ac_n "(cached) $ac_c" 1>&6 |
| 584 else | 583 else |
| 585 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 584 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
| 628 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | 627 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
| 629 | 628 |
| 630 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 629 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 631 | 630 |
| 632 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 | 631 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 |
| 633 echo "configure:634: checking whether build environment is sane" >&5 | 632 echo "configure:633: checking whether build environment is sane" >&5 |
| 634 # Just in case | 633 # Just in case |
| 635 sleep 1 | 634 sleep 1 |
| 636 echo timestamp > conftestfile | 635 echo timestamp > conftestfile |
| 637 # Do `set' in a subshell so we don't clobber the current shell's | 636 # Do `set' in a subshell so we don't clobber the current shell's |
| 638 # arguments. Must try -L first in case configure is actually a | 637 # arguments. Must try -L first in case configure is actually a |
| 685 | 684 |
| 686 # sed with no file args requires a program. | 685 # sed with no file args requires a program. |
| 687 test "$program_transform_name" = "" && program_transform_name="s,x,x," | 686 test "$program_transform_name" = "" && program_transform_name="s,x,x," |
| 688 | 687 |
| 689 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 688 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 690 echo "configure:691: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 689 echo "configure:690: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 691 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 690 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 692 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 691 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
| 693 echo $ac_n "(cached) $ac_c" 1>&6 | 692 echo $ac_n "(cached) $ac_c" 1>&6 |
| 694 else | 693 else |
| 695 cat > conftestmake <<\EOF | 694 cat > conftestmake <<\EOF |
| 730 EOF | 729 EOF |
| 731 | 730 |
| 732 | 731 |
| 733 | 732 |
| 734 missing_dir=`cd $ac_aux_dir && pwd` | 733 missing_dir=`cd $ac_aux_dir && pwd` |
| 735 echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6 | 734 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 |
| 736 echo "configure:737: checking for working aclocal-${am__api_version}" >&5 | 735 echo "configure:736: checking for working aclocal" >&5 |
| 737 # Run test in a subshell; some versions of sh will print an error if | 736 # Run test in a subshell; some versions of sh will print an error if |
| 738 # an executable is not found, even if stderr is redirected. | 737 # an executable is not found, even if stderr is redirected. |
| 739 # Redirect stdin to placate older versions of autoconf. Sigh. | 738 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 740 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then | 739 if (aclocal --version) < /dev/null > /dev/null 2>&1; then |
| 741 ACLOCAL=aclocal-${am__api_version} | 740 ACLOCAL=aclocal |
| 742 echo "$ac_t""found" 1>&6 | 741 echo "$ac_t""found" 1>&6 |
| 743 else | 742 else |
| 744 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" | 743 ACLOCAL="$missing_dir/missing aclocal" |
| 745 echo "$ac_t""missing" 1>&6 | 744 echo "$ac_t""missing" 1>&6 |
| 746 fi | 745 fi |
| 747 | 746 |
| 748 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | 747 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 |
| 749 echo "configure:750: checking for working autoconf" >&5 | 748 echo "configure:749: checking for working autoconf" >&5 |
| 750 # Run test in a subshell; some versions of sh will print an error if | 749 # Run test in a subshell; some versions of sh will print an error if |
| 751 # an executable is not found, even if stderr is redirected. | 750 # an executable is not found, even if stderr is redirected. |
| 752 # Redirect stdin to placate older versions of autoconf. Sigh. | 751 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 753 if (autoconf --version) < /dev/null > /dev/null 2>&1; then | 752 if (autoconf --version) < /dev/null > /dev/null 2>&1; then |
| 754 AUTOCONF=autoconf | 753 AUTOCONF=autoconf |
| 756 else | 755 else |
| 757 AUTOCONF="$missing_dir/missing autoconf" | 756 AUTOCONF="$missing_dir/missing autoconf" |
| 758 echo "$ac_t""missing" 1>&6 | 757 echo "$ac_t""missing" 1>&6 |
| 759 fi | 758 fi |
| 760 | 759 |
| 761 echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6 | 760 echo $ac_n "checking for working automake""... $ac_c" 1>&6 |
| 762 echo "configure:763: checking for working automake-${am__api_version}" >&5 | 761 echo "configure:762: checking for working automake" >&5 |
| 763 # Run test in a subshell; some versions of sh will print an error if | 762 # Run test in a subshell; some versions of sh will print an error if |
| 764 # an executable is not found, even if stderr is redirected. | 763 # an executable is not found, even if stderr is redirected. |
| 765 # Redirect stdin to placate older versions of autoconf. Sigh. | 764 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 766 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then | 765 if (automake --version) < /dev/null > /dev/null 2>&1; then |
| 767 AUTOMAKE=automake-${am__api_version} | 766 AUTOMAKE=automake |
| 768 echo "$ac_t""found" 1>&6 | 767 echo "$ac_t""found" 1>&6 |
| 769 else | 768 else |
| 770 AUTOMAKE="$missing_dir/missing automake-${am__api_version}" | 769 AUTOMAKE="$missing_dir/missing automake" |
| 771 echo "$ac_t""missing" 1>&6 | 770 echo "$ac_t""missing" 1>&6 |
| 772 fi | 771 fi |
| 773 | 772 |
| 774 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | 773 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 |
| 775 echo "configure:776: checking for working autoheader" >&5 | 774 echo "configure:775: checking for working autoheader" >&5 |
| 776 # Run test in a subshell; some versions of sh will print an error if | 775 # Run test in a subshell; some versions of sh will print an error if |
| 777 # an executable is not found, even if stderr is redirected. | 776 # an executable is not found, even if stderr is redirected. |
| 778 # Redirect stdin to placate older versions of autoconf. Sigh. | 777 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 779 if (autoheader --version) < /dev/null > /dev/null 2>&1; then | 778 if (autoheader --version) < /dev/null > /dev/null 2>&1; then |
| 780 AUTOHEADER=autoheader | 779 AUTOHEADER=autoheader |
| 783 AUTOHEADER="$missing_dir/missing autoheader" | 782 AUTOHEADER="$missing_dir/missing autoheader" |
| 784 echo "$ac_t""missing" 1>&6 | 783 echo "$ac_t""missing" 1>&6 |
| 785 fi | 784 fi |
| 786 | 785 |
| 787 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | 786 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 |
| 788 echo "configure:789: checking for working makeinfo" >&5 | 787 echo "configure:788: checking for working makeinfo" >&5 |
| 789 # Run test in a subshell; some versions of sh will print an error if | 788 # Run test in a subshell; some versions of sh will print an error if |
| 790 # an executable is not found, even if stderr is redirected. | 789 # an executable is not found, even if stderr is redirected. |
| 791 # Redirect stdin to placate older versions of autoconf. Sigh. | 790 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 792 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then | 791 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then |
| 793 MAKEINFO=makeinfo | 792 MAKEINFO=makeinfo |
| 816 | 815 |
| 817 | 816 |
| 818 # Extract the first word of "gcc", so it can be a program name with args. | 817 # Extract the first word of "gcc", so it can be a program name with args. |
| 819 set dummy gcc; ac_word=$2 | 818 set dummy gcc; ac_word=$2 |
| 820 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 819 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 821 echo "configure:822: checking for $ac_word" >&5 | 820 echo "configure:821: checking for $ac_word" >&5 |
| 822 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 821 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 823 echo $ac_n "(cached) $ac_c" 1>&6 | 822 echo $ac_n "(cached) $ac_c" 1>&6 |
| 824 else | 823 else |
| 825 if test -n "$CC"; then | 824 if test -n "$CC"; then |
| 826 ac_cv_prog_CC="$CC" # Let the user override the test. | 825 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 846 | 845 |
| 847 if test -z "$CC"; then | 846 if test -z "$CC"; then |
| 848 # Extract the first word of "cc", so it can be a program name with args. | 847 # Extract the first word of "cc", so it can be a program name with args. |
| 849 set dummy cc; ac_word=$2 | 848 set dummy cc; ac_word=$2 |
| 850 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 849 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 851 echo "configure:852: checking for $ac_word" >&5 | 850 echo "configure:851: checking for $ac_word" >&5 |
| 852 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 851 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 853 echo $ac_n "(cached) $ac_c" 1>&6 | 852 echo $ac_n "(cached) $ac_c" 1>&6 |
| 854 else | 853 else |
| 855 if test -n "$CC"; then | 854 if test -n "$CC"; then |
| 856 ac_cv_prog_CC="$CC" # Let the user override the test. | 855 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 897 case "`uname -s`" in | 896 case "`uname -s`" in |
| 898 *win32* | *WIN32*) | 897 *win32* | *WIN32*) |
| 899 # Extract the first word of "cl", so it can be a program name with args. | 898 # Extract the first word of "cl", so it can be a program name with args. |
| 900 set dummy cl; ac_word=$2 | 899 set dummy cl; ac_word=$2 |
| 901 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 900 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 902 echo "configure:903: checking for $ac_word" >&5 | 901 echo "configure:902: checking for $ac_word" >&5 |
| 903 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 902 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 904 echo $ac_n "(cached) $ac_c" 1>&6 | 903 echo $ac_n "(cached) $ac_c" 1>&6 |
| 905 else | 904 else |
| 906 if test -n "$CC"; then | 905 if test -n "$CC"; then |
| 907 ac_cv_prog_CC="$CC" # Let the user override the test. | 906 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 929 fi | 928 fi |
| 930 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 929 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 931 fi | 930 fi |
| 932 | 931 |
| 933 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 932 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 934 echo "configure:935: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 933 echo "configure:934: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 935 | 934 |
| 936 ac_ext=c | 935 ac_ext=c |
| 937 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 936 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| 938 ac_cpp='$CPP $CPPFLAGS' | 937 ac_cpp='$CPP $CPPFLAGS' |
| 939 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 938 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
| 940 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 939 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
| 941 cross_compiling=$ac_cv_prog_cc_cross | 940 cross_compiling=$ac_cv_prog_cc_cross |
| 942 | 941 |
| 943 cat > conftest.$ac_ext << EOF | 942 cat > conftest.$ac_ext << EOF |
| 944 | 943 |
| 945 #line 946 "configure" | 944 #line 945 "configure" |
| 946 #include "confdefs.h" | 945 #include "confdefs.h" |
| 947 | 946 |
| 948 main(){return(0);} | 947 main(){return(0);} |
| 949 EOF | 948 EOF |
| 950 if { (eval echo configure:951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 949 if { (eval echo configure:950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 951 ac_cv_prog_cc_works=yes | 950 ac_cv_prog_cc_works=yes |
| 952 # If we can't run a trivial program, we are probably using a cross compiler. | 951 # If we can't run a trivial program, we are probably using a cross compiler. |
| 953 if (./conftest; exit) 2>/dev/null; then | 952 if (./conftest; exit) 2>/dev/null; then |
| 954 ac_cv_prog_cc_cross=no | 953 ac_cv_prog_cc_cross=no |
| 955 else | 954 else |
| 971 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 970 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 972 if test $ac_cv_prog_cc_works = no; then | 971 if test $ac_cv_prog_cc_works = no; then |
| 973 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 972 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 974 fi | 973 fi |
| 975 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 974 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 976 echo "configure:977: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 975 echo "configure:976: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 977 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 976 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 978 cross_compiling=$ac_cv_prog_cc_cross | 977 cross_compiling=$ac_cv_prog_cc_cross |
| 979 | 978 |
| 980 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 979 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 981 echo "configure:982: checking whether we are using GNU C" >&5 | 980 echo "configure:981: checking whether we are using GNU C" >&5 |
| 982 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 981 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
| 983 echo $ac_n "(cached) $ac_c" 1>&6 | 982 echo $ac_n "(cached) $ac_c" 1>&6 |
| 984 else | 983 else |
| 985 cat > conftest.c <<EOF | 984 cat > conftest.c <<EOF |
| 986 #ifdef __GNUC__ | 985 #ifdef __GNUC__ |
| 987 yes; | 986 yes; |
| 988 #endif | 987 #endif |
| 989 EOF | 988 EOF |
| 990 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 989 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 991 ac_cv_prog_gcc=yes | 990 ac_cv_prog_gcc=yes |
| 992 else | 991 else |
| 993 ac_cv_prog_gcc=no | 992 ac_cv_prog_gcc=no |
| 994 fi | 993 fi |
| 995 fi | 994 fi |
| 1004 | 1003 |
| 1005 ac_test_CFLAGS="${CFLAGS+set}" | 1004 ac_test_CFLAGS="${CFLAGS+set}" |
| 1006 ac_save_CFLAGS="$CFLAGS" | 1005 ac_save_CFLAGS="$CFLAGS" |
| 1007 CFLAGS= | 1006 CFLAGS= |
| 1008 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1007 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1009 echo "configure:1010: checking whether ${CC-cc} accepts -g" >&5 | 1008 echo "configure:1009: checking whether ${CC-cc} accepts -g" >&5 |
| 1010 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 1009 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
| 1011 echo $ac_n "(cached) $ac_c" 1>&6 | 1010 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1012 else | 1011 else |
| 1013 echo 'void f(){}' > conftest.c | 1012 echo 'void f(){}' > conftest.c |
| 1014 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1013 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1036 CFLAGS= | 1035 CFLAGS= |
| 1037 fi | 1036 fi |
| 1038 fi | 1037 fi |
| 1039 | 1038 |
| 1040 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1039 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1041 echo "configure:1042: checking how to run the C preprocessor" >&5 | 1040 echo "configure:1041: checking how to run the C preprocessor" >&5 |
| 1042 # On Suns, sometimes $CPP names a directory. | 1041 # On Suns, sometimes $CPP names a directory. |
| 1043 if test -n "$CPP" && test -d "$CPP"; then | 1042 if test -n "$CPP" && test -d "$CPP"; then |
| 1044 CPP= | 1043 CPP= |
| 1045 fi | 1044 fi |
| 1046 if test -z "$CPP"; then | 1045 if test -z "$CPP"; then |
| 1051 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1050 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 1052 CPP="${CC-cc} -E" | 1051 CPP="${CC-cc} -E" |
| 1053 # On the NeXT, cc -E runs the code through the compiler's parser, | 1052 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 1054 # not just through cpp. | 1053 # not just through cpp. |
| 1055 cat > conftest.$ac_ext <<EOF | 1054 cat > conftest.$ac_ext <<EOF |
| 1056 #line 1057 "configure" | 1055 #line 1056 "configure" |
| 1057 #include "confdefs.h" | 1056 #include "confdefs.h" |
| 1058 #include <assert.h> | 1057 #include <assert.h> |
| 1059 Syntax Error | 1058 Syntax Error |
| 1060 EOF | 1059 EOF |
| 1061 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1062 { (eval echo configure:1063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1061 { (eval echo configure:1062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1063 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1064 if test -z "$ac_err"; then | 1063 if test -z "$ac_err"; then |
| 1065 : | 1064 : |
| 1066 else | 1065 else |
| 1067 echo "$ac_err" >&5 | 1066 echo "$ac_err" >&5 |
| 1068 echo "configure: failed program was:" >&5 | 1067 echo "configure: failed program was:" >&5 |
| 1069 cat conftest.$ac_ext >&5 | 1068 cat conftest.$ac_ext >&5 |
| 1070 rm -rf conftest* | 1069 rm -rf conftest* |
| 1071 CPP="${CC-cc} -E -traditional-cpp" | 1070 CPP="${CC-cc} -E -traditional-cpp" |
| 1072 cat > conftest.$ac_ext <<EOF | 1071 cat > conftest.$ac_ext <<EOF |
| 1073 #line 1074 "configure" | 1072 #line 1073 "configure" |
| 1074 #include "confdefs.h" | 1073 #include "confdefs.h" |
| 1075 #include <assert.h> | 1074 #include <assert.h> |
| 1076 Syntax Error | 1075 Syntax Error |
| 1077 EOF | 1076 EOF |
| 1078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1079 { (eval echo configure:1080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1078 { (eval echo configure:1079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1079 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1081 if test -z "$ac_err"; then | 1080 if test -z "$ac_err"; then |
| 1082 : | 1081 : |
| 1083 else | 1082 else |
| 1084 echo "$ac_err" >&5 | 1083 echo "$ac_err" >&5 |
| 1085 echo "configure: failed program was:" >&5 | 1084 echo "configure: failed program was:" >&5 |
| 1086 cat conftest.$ac_ext >&5 | 1085 cat conftest.$ac_ext >&5 |
| 1087 rm -rf conftest* | 1086 rm -rf conftest* |
| 1088 CPP="${CC-cc} -nologo -E" | 1087 CPP="${CC-cc} -nologo -E" |
| 1089 cat > conftest.$ac_ext <<EOF | 1088 cat > conftest.$ac_ext <<EOF |
| 1090 #line 1091 "configure" | 1089 #line 1090 "configure" |
| 1091 #include "confdefs.h" | 1090 #include "confdefs.h" |
| 1092 #include <assert.h> | 1091 #include <assert.h> |
| 1093 Syntax Error | 1092 Syntax Error |
| 1094 EOF | 1093 EOF |
| 1095 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1094 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1096 { (eval echo configure:1097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1095 { (eval echo configure:1096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1097 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1096 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1098 if test -z "$ac_err"; then | 1097 if test -z "$ac_err"; then |
| 1099 : | 1098 : |
| 1100 else | 1099 else |
| 1101 echo "$ac_err" >&5 | 1100 echo "$ac_err" >&5 |
| 1117 fi | 1116 fi |
| 1118 echo "$ac_t""$CPP" 1>&6 | 1117 echo "$ac_t""$CPP" 1>&6 |
| 1119 | 1118 |
| 1120 if test $ac_cv_prog_gcc = yes; then | 1119 if test $ac_cv_prog_gcc = yes; then |
| 1121 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 | 1120 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 |
| 1122 echo "configure:1123: checking whether ${CC-cc} needs -traditional" >&5 | 1121 echo "configure:1122: checking whether ${CC-cc} needs -traditional" >&5 |
| 1123 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then | 1122 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then |
| 1124 echo $ac_n "(cached) $ac_c" 1>&6 | 1123 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1125 else | 1124 else |
| 1126 ac_pattern="Autoconf.*'x'" | 1125 ac_pattern="Autoconf.*'x'" |
| 1127 cat > conftest.$ac_ext <<EOF | 1126 cat > conftest.$ac_ext <<EOF |
| 1128 #line 1129 "configure" | 1127 #line 1128 "configure" |
| 1129 #include "confdefs.h" | 1128 #include "confdefs.h" |
| 1130 #include <sgtty.h> | 1129 #include <sgtty.h> |
| 1131 Autoconf TIOCGETP | 1130 Autoconf TIOCGETP |
| 1132 EOF | 1131 EOF |
| 1133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1141 rm -f conftest* | 1140 rm -f conftest* |
| 1142 | 1141 |
| 1143 | 1142 |
| 1144 if test $ac_cv_prog_gcc_traditional = no; then | 1143 if test $ac_cv_prog_gcc_traditional = no; then |
| 1145 cat > conftest.$ac_ext <<EOF | 1144 cat > conftest.$ac_ext <<EOF |
| 1146 #line 1147 "configure" | 1145 #line 1146 "configure" |
| 1147 #include "confdefs.h" | 1146 #include "confdefs.h" |
| 1148 #include <termio.h> | 1147 #include <termio.h> |
| 1149 Autoconf TCGETA | 1148 Autoconf TCGETA |
| 1150 EOF | 1149 EOF |
| 1151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1174 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 1173 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 1175 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 1174 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 1176 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 1175 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 1177 # ./install, which can be erroneously created by make from ./install.sh. | 1176 # ./install, which can be erroneously created by make from ./install.sh. |
| 1178 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 1177 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 1179 echo "configure:1180: checking for a BSD compatible install" >&5 | 1178 echo "configure:1179: checking for a BSD compatible install" >&5 |
| 1180 if test -z "$INSTALL"; then | 1179 if test -z "$INSTALL"; then |
| 1181 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 1180 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
| 1182 echo $ac_n "(cached) $ac_c" 1>&6 | 1181 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1183 else | 1182 else |
| 1184 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 1183 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
| 1227 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | 1226 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
| 1228 | 1227 |
| 1229 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 1228 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 1230 | 1229 |
| 1231 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 1230 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 1232 echo "configure:1233: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 1231 echo "configure:1232: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 1233 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 1232 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 1234 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 1233 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
| 1235 echo $ac_n "(cached) $ac_c" 1>&6 | 1234 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1236 else | 1235 else |
| 1237 cat > conftestmake <<\EOF | 1236 cat > conftestmake <<\EOF |
| 1257 | 1256 |
| 1258 | 1257 |
| 1259 # Extract the first word of "sendmail", so it can be a program name with args. | 1258 # Extract the first word of "sendmail", so it can be a program name with args. |
| 1260 set dummy sendmail; ac_word=$2 | 1259 set dummy sendmail; ac_word=$2 |
| 1261 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1260 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1262 echo "configure:1263: checking for $ac_word" >&5 | 1261 echo "configure:1262: checking for $ac_word" >&5 |
| 1263 if eval "test \"`echo '$''{'ac_cv_path_SENDMAILPROG'+set}'`\" = set"; then | 1262 if eval "test \"`echo '$''{'ac_cv_path_SENDMAILPROG'+set}'`\" = set"; then |
| 1264 echo $ac_n "(cached) $ac_c" 1>&6 | 1263 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1265 else | 1264 else |
| 1266 case "$SENDMAILPROG" in | 1265 case "$SENDMAILPROG" in |
| 1267 /*) | 1266 /*) |
| 1296 { echo "configure: error: sendmail program not found in /usr/lib:/usr/sbin:$PATH ." 1>&2; exit 1; } | 1295 { echo "configure: error: sendmail program not found in /usr/lib:/usr/sbin:$PATH ." 1>&2; exit 1; } |
| 1297 fi | 1296 fi |
| 1298 | 1297 |
| 1299 | 1298 |
| 1300 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1299 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 1301 echo "configure:1302: checking for AIX" >&5 | 1300 echo "configure:1301: checking for AIX" >&5 |
| 1302 cat > conftest.$ac_ext <<EOF | 1301 cat > conftest.$ac_ext <<EOF |
| 1303 #line 1304 "configure" | 1302 #line 1303 "configure" |
| 1304 #include "confdefs.h" | 1303 #include "confdefs.h" |
| 1305 #ifdef _AIX | 1304 #ifdef _AIX |
| 1306 yes | 1305 yes |
| 1307 #endif | 1306 #endif |
| 1308 | 1307 |
| 1319 echo "$ac_t""no" 1>&6 | 1318 echo "$ac_t""no" 1>&6 |
| 1320 fi | 1319 fi |
| 1321 rm -f conftest* | 1320 rm -f conftest* |
| 1322 | 1321 |
| 1323 | 1322 |
| 1324 | 1323 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 |
| 1325 echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6 | 1324 echo "configure:1325: checking for POSIXized ISC" >&5 |
| 1326 echo "configure:1327: checking for strerror in -lcposix" >&5 | 1325 if test -d /etc/conf/kconfig.d && |
| 1327 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'` | 1326 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 |
| 1328 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1327 then |
| 1329 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 1330 else | |
| 1331 ac_save_LIBS="$LIBS" | |
| 1332 LIBS="-lcposix $LIBS" | |
| 1333 cat > conftest.$ac_ext <<EOF | |
| 1334 #line 1335 "configure" | |
| 1335 #include "confdefs.h" | |
| 1336 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 1337 /* We use char because int might match the return type of a gcc2 | |
| 1338 builtin and then its argument prototype would still apply. */ | |
| 1339 char strerror(); | |
| 1340 | |
| 1341 int main() { | |
| 1342 strerror() | |
| 1343 ; return 0; } | |
| 1344 EOF | |
| 1345 if { (eval echo configure:1346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
| 1346 rm -rf conftest* | |
| 1347 eval "ac_cv_lib_$ac_lib_var=yes" | |
| 1348 else | |
| 1349 echo "configure: failed program was:" >&5 | |
| 1350 cat conftest.$ac_ext >&5 | |
| 1351 rm -rf conftest* | |
| 1352 eval "ac_cv_lib_$ac_lib_var=no" | |
| 1353 fi | |
| 1354 rm -f conftest* | |
| 1355 LIBS="$ac_save_LIBS" | |
| 1356 | |
| 1357 fi | |
| 1358 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | |
| 1359 echo "$ac_t""yes" 1>&6 | 1328 echo "$ac_t""yes" 1>&6 |
| 1360 LIBS="$LIBS -lcposix" | 1329 ISC=yes # If later tests want to check for ISC. |
| 1330 cat >> confdefs.h <<\EOF | |
| 1331 #define _POSIX_SOURCE 1 | |
| 1332 EOF | |
| 1333 | |
| 1334 if test "$GCC" = yes; then | |
| 1335 CC="$CC -posix" | |
| 1336 else | |
| 1337 CC="$CC -Xp" | |
| 1338 fi | |
| 1361 else | 1339 else |
| 1362 echo "$ac_t""no" 1>&6 | 1340 echo "$ac_t""no" 1>&6 |
| 1363 fi | 1341 ISC= |
| 1364 | 1342 fi |
| 1365 | |
| 1366 | 1343 |
| 1367 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` | 1344 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` |
| 1368 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 | 1345 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 |
| 1369 echo "configure:1370: checking for minix/config.h" >&5 | 1346 echo "configure:1347: checking for minix/config.h" >&5 |
| 1370 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1347 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 1371 echo $ac_n "(cached) $ac_c" 1>&6 | 1348 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1372 else | 1349 else |
| 1373 cat > conftest.$ac_ext <<EOF | 1350 cat > conftest.$ac_ext <<EOF |
| 1374 #line 1375 "configure" | 1351 #line 1352 "configure" |
| 1375 #include "confdefs.h" | 1352 #include "confdefs.h" |
| 1376 #include <minix/config.h> | 1353 #include <minix/config.h> |
| 1377 EOF | 1354 EOF |
| 1378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1355 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1379 { (eval echo configure:1380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1356 { (eval echo configure:1357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1357 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1381 if test -z "$ac_err"; then | 1358 if test -z "$ac_err"; then |
| 1382 rm -rf conftest* | 1359 rm -rf conftest* |
| 1383 eval "ac_cv_header_$ac_safe=yes" | 1360 eval "ac_cv_header_$ac_safe=yes" |
| 1384 else | 1361 else |
| 1423 # candidate. So, let's use it below instead of gethostbyname, and see. | 1400 # candidate. So, let's use it below instead of gethostbyname, and see. |
| 1424 | 1401 |
| 1425 # [ This is ripped from GNU tar. ] | 1402 # [ This is ripped from GNU tar. ] |
| 1426 | 1403 |
| 1427 echo $ac_n "checking for gethostent""... $ac_c" 1>&6 | 1404 echo $ac_n "checking for gethostent""... $ac_c" 1>&6 |
| 1428 echo "configure:1429: checking for gethostent" >&5 | 1405 echo "configure:1406: checking for gethostent" >&5 |
| 1429 if eval "test \"`echo '$''{'ac_cv_func_gethostent'+set}'`\" = set"; then | 1406 if eval "test \"`echo '$''{'ac_cv_func_gethostent'+set}'`\" = set"; then |
| 1430 echo $ac_n "(cached) $ac_c" 1>&6 | 1407 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1431 else | 1408 else |
| 1432 cat > conftest.$ac_ext <<EOF | 1409 cat > conftest.$ac_ext <<EOF |
| 1433 #line 1434 "configure" | 1410 #line 1411 "configure" |
| 1434 #include "confdefs.h" | 1411 #include "confdefs.h" |
| 1435 /* System header to define __stub macros and hopefully few prototypes, | 1412 /* System header to define __stub macros and hopefully few prototypes, |
| 1436 which can conflict with char gethostent(); below. */ | 1413 which can conflict with char gethostent(); below. */ |
| 1437 #include <assert.h> | 1414 #include <assert.h> |
| 1438 /* Override any gcc2 internal prototype to avoid an error. */ | 1415 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1451 gethostent(); | 1428 gethostent(); |
| 1452 #endif | 1429 #endif |
| 1453 | 1430 |
| 1454 ; return 0; } | 1431 ; return 0; } |
| 1455 EOF | 1432 EOF |
| 1456 if { (eval echo configure:1457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1433 if { (eval echo configure:1434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1457 rm -rf conftest* | 1434 rm -rf conftest* |
| 1458 eval "ac_cv_func_gethostent=yes" | 1435 eval "ac_cv_func_gethostent=yes" |
| 1459 else | 1436 else |
| 1460 echo "configure: failed program was:" >&5 | 1437 echo "configure: failed program was:" >&5 |
| 1461 cat conftest.$ac_ext >&5 | 1438 cat conftest.$ac_ext >&5 |
| 1472 echo "$ac_t""no" 1>&6 | 1449 echo "$ac_t""no" 1>&6 |
| 1473 fi | 1450 fi |
| 1474 | 1451 |
| 1475 if test $ac_cv_func_gethostent = no; then | 1452 if test $ac_cv_func_gethostent = no; then |
| 1476 echo $ac_n "checking for gethostent in -lnsl""... $ac_c" 1>&6 | 1453 echo $ac_n "checking for gethostent in -lnsl""... $ac_c" 1>&6 |
| 1477 echo "configure:1478: checking for gethostent in -lnsl" >&5 | 1454 echo "configure:1455: checking for gethostent in -lnsl" >&5 |
| 1478 ac_lib_var=`echo nsl'_'gethostent | sed 'y%./+-%__p_%'` | 1455 ac_lib_var=`echo nsl'_'gethostent | sed 'y%./+-%__p_%'` |
| 1479 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1456 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 1480 echo $ac_n "(cached) $ac_c" 1>&6 | 1457 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1481 else | 1458 else |
| 1482 ac_save_LIBS="$LIBS" | 1459 ac_save_LIBS="$LIBS" |
| 1483 LIBS="-lnsl $LIBS" | 1460 LIBS="-lnsl $LIBS" |
| 1484 cat > conftest.$ac_ext <<EOF | 1461 cat > conftest.$ac_ext <<EOF |
| 1485 #line 1486 "configure" | 1462 #line 1463 "configure" |
| 1486 #include "confdefs.h" | 1463 #include "confdefs.h" |
| 1487 /* Override any gcc2 internal prototype to avoid an error. */ | 1464 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1488 /* We use char because int might match the return type of a gcc2 | 1465 /* We use char because int might match the return type of a gcc2 |
| 1489 builtin and then its argument prototype would still apply. */ | 1466 builtin and then its argument prototype would still apply. */ |
| 1490 char gethostent(); | 1467 char gethostent(); |
| 1491 | 1468 |
| 1492 int main() { | 1469 int main() { |
| 1493 gethostent() | 1470 gethostent() |
| 1494 ; return 0; } | 1471 ; return 0; } |
| 1495 EOF | 1472 EOF |
| 1496 if { (eval echo configure:1497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1473 if { (eval echo configure:1474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1497 rm -rf conftest* | 1474 rm -rf conftest* |
| 1498 eval "ac_cv_lib_$ac_lib_var=yes" | 1475 eval "ac_cv_lib_$ac_lib_var=yes" |
| 1499 else | 1476 else |
| 1500 echo "configure: failed program was:" >&5 | 1477 echo "configure: failed program was:" >&5 |
| 1501 cat conftest.$ac_ext >&5 | 1478 cat conftest.$ac_ext >&5 |
| 1520 echo "$ac_t""no" 1>&6 | 1497 echo "$ac_t""no" 1>&6 |
| 1521 fi | 1498 fi |
| 1522 | 1499 |
| 1523 fi | 1500 fi |
| 1524 echo $ac_n "checking for setsockopt""... $ac_c" 1>&6 | 1501 echo $ac_n "checking for setsockopt""... $ac_c" 1>&6 |
| 1525 echo "configure:1526: checking for setsockopt" >&5 | 1502 echo "configure:1503: checking for setsockopt" >&5 |
| 1526 if eval "test \"`echo '$''{'ac_cv_func_setsockopt'+set}'`\" = set"; then | 1503 if eval "test \"`echo '$''{'ac_cv_func_setsockopt'+set}'`\" = set"; then |
| 1527 echo $ac_n "(cached) $ac_c" 1>&6 | 1504 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1528 else | 1505 else |
| 1529 cat > conftest.$ac_ext <<EOF | 1506 cat > conftest.$ac_ext <<EOF |
| 1530 #line 1531 "configure" | 1507 #line 1508 "configure" |
| 1531 #include "confdefs.h" | 1508 #include "confdefs.h" |
| 1532 /* System header to define __stub macros and hopefully few prototypes, | 1509 /* System header to define __stub macros and hopefully few prototypes, |
| 1533 which can conflict with char setsockopt(); below. */ | 1510 which can conflict with char setsockopt(); below. */ |
| 1534 #include <assert.h> | 1511 #include <assert.h> |
| 1535 /* Override any gcc2 internal prototype to avoid an error. */ | 1512 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1548 setsockopt(); | 1525 setsockopt(); |
| 1549 #endif | 1526 #endif |
| 1550 | 1527 |
| 1551 ; return 0; } | 1528 ; return 0; } |
| 1552 EOF | 1529 EOF |
| 1553 if { (eval echo configure:1554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1530 if { (eval echo configure:1531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1554 rm -rf conftest* | 1531 rm -rf conftest* |
| 1555 eval "ac_cv_func_setsockopt=yes" | 1532 eval "ac_cv_func_setsockopt=yes" |
| 1556 else | 1533 else |
| 1557 echo "configure: failed program was:" >&5 | 1534 echo "configure: failed program was:" >&5 |
| 1558 cat conftest.$ac_ext >&5 | 1535 cat conftest.$ac_ext >&5 |
| 1569 echo "$ac_t""no" 1>&6 | 1546 echo "$ac_t""no" 1>&6 |
| 1570 fi | 1547 fi |
| 1571 | 1548 |
| 1572 if test $ac_cv_func_setsockopt = no; then | 1549 if test $ac_cv_func_setsockopt = no; then |
| 1573 echo $ac_n "checking for setsockopt in -lsocket""... $ac_c" 1>&6 | 1550 echo $ac_n "checking for setsockopt in -lsocket""... $ac_c" 1>&6 |
| 1574 echo "configure:1575: checking for setsockopt in -lsocket" >&5 | 1551 echo "configure:1552: checking for setsockopt in -lsocket" >&5 |
| 1575 ac_lib_var=`echo socket'_'setsockopt | sed 'y%./+-%__p_%'` | 1552 ac_lib_var=`echo socket'_'setsockopt | sed 'y%./+-%__p_%'` |
| 1576 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1553 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 1577 echo $ac_n "(cached) $ac_c" 1>&6 | 1554 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1578 else | 1555 else |
| 1579 ac_save_LIBS="$LIBS" | 1556 ac_save_LIBS="$LIBS" |
| 1580 LIBS="-lsocket $LIBS" | 1557 LIBS="-lsocket $LIBS" |
| 1581 cat > conftest.$ac_ext <<EOF | 1558 cat > conftest.$ac_ext <<EOF |
| 1582 #line 1583 "configure" | 1559 #line 1560 "configure" |
| 1583 #include "confdefs.h" | 1560 #include "confdefs.h" |
| 1584 /* Override any gcc2 internal prototype to avoid an error. */ | 1561 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1585 /* We use char because int might match the return type of a gcc2 | 1562 /* We use char because int might match the return type of a gcc2 |
| 1586 builtin and then its argument prototype would still apply. */ | 1563 builtin and then its argument prototype would still apply. */ |
| 1587 char setsockopt(); | 1564 char setsockopt(); |
| 1588 | 1565 |
| 1589 int main() { | 1566 int main() { |
| 1590 setsockopt() | 1567 setsockopt() |
| 1591 ; return 0; } | 1568 ; return 0; } |
| 1592 EOF | 1569 EOF |
| 1593 if { (eval echo configure:1594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1570 if { (eval echo configure:1571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1594 rm -rf conftest* | 1571 rm -rf conftest* |
| 1595 eval "ac_cv_lib_$ac_lib_var=yes" | 1572 eval "ac_cv_lib_$ac_lib_var=yes" |
| 1596 else | 1573 else |
| 1597 echo "configure: failed program was:" >&5 | 1574 echo "configure: failed program was:" >&5 |
| 1598 cat conftest.$ac_ext >&5 | 1575 cat conftest.$ac_ext >&5 |
| 1632 LIBS="$LIBS -L$withval" | 1609 LIBS="$LIBS -L$withval" |
| 1633 | 1610 |
| 1634 fi | 1611 fi |
| 1635 | 1612 |
| 1636 echo $ac_n "checking for gdbm_open in -lgdbm""... $ac_c" 1>&6 | 1613 echo $ac_n "checking for gdbm_open in -lgdbm""... $ac_c" 1>&6 |
| 1637 echo "configure:1638: checking for gdbm_open in -lgdbm" >&5 | 1614 echo "configure:1615: checking for gdbm_open in -lgdbm" >&5 |
| 1638 ac_lib_var=`echo gdbm'_'gdbm_open | sed 'y%./+-%__p_%'` | 1615 ac_lib_var=`echo gdbm'_'gdbm_open | sed 'y%./+-%__p_%'` |
| 1639 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1616 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 1640 echo $ac_n "(cached) $ac_c" 1>&6 | 1617 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1641 else | 1618 else |
| 1642 ac_save_LIBS="$LIBS" | 1619 ac_save_LIBS="$LIBS" |
| 1643 LIBS="-lgdbm $LIBS" | 1620 LIBS="-lgdbm $LIBS" |
| 1644 cat > conftest.$ac_ext <<EOF | 1621 cat > conftest.$ac_ext <<EOF |
| 1645 #line 1646 "configure" | 1622 #line 1623 "configure" |
| 1646 #include "confdefs.h" | 1623 #include "confdefs.h" |
| 1647 /* Override any gcc2 internal prototype to avoid an error. */ | 1624 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1648 /* We use char because int might match the return type of a gcc2 | 1625 /* We use char because int might match the return type of a gcc2 |
| 1649 builtin and then its argument prototype would still apply. */ | 1626 builtin and then its argument prototype would still apply. */ |
| 1650 char gdbm_open(); | 1627 char gdbm_open(); |
| 1651 | 1628 |
| 1652 int main() { | 1629 int main() { |
| 1653 gdbm_open() | 1630 gdbm_open() |
| 1654 ; return 0; } | 1631 ; return 0; } |
| 1655 EOF | 1632 EOF |
| 1656 if { (eval echo configure:1657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1633 if { (eval echo configure:1634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1657 rm -rf conftest* | 1634 rm -rf conftest* |
| 1658 eval "ac_cv_lib_$ac_lib_var=yes" | 1635 eval "ac_cv_lib_$ac_lib_var=yes" |
| 1659 else | 1636 else |
| 1660 echo "configure: failed program was:" >&5 | 1637 echo "configure: failed program was:" >&5 |
| 1661 cat conftest.$ac_ext >&5 | 1638 cat conftest.$ac_ext >&5 |
| 1668 fi | 1645 fi |
| 1669 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | 1646 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| 1670 echo "$ac_t""yes" 1>&6 | 1647 echo "$ac_t""yes" 1>&6 |
| 1671 ac_safe=`echo "gdbm.h" | sed 'y%./+-%__p_%'` | 1648 ac_safe=`echo "gdbm.h" | sed 'y%./+-%__p_%'` |
| 1672 echo $ac_n "checking for gdbm.h""... $ac_c" 1>&6 | 1649 echo $ac_n "checking for gdbm.h""... $ac_c" 1>&6 |
| 1673 echo "configure:1674: checking for gdbm.h" >&5 | 1650 echo "configure:1651: checking for gdbm.h" >&5 |
| 1674 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1651 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 1675 echo $ac_n "(cached) $ac_c" 1>&6 | 1652 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1676 else | 1653 else |
| 1677 cat > conftest.$ac_ext <<EOF | 1654 cat > conftest.$ac_ext <<EOF |
| 1678 #line 1679 "configure" | 1655 #line 1656 "configure" |
| 1679 #include "confdefs.h" | 1656 #include "confdefs.h" |
| 1680 #include <gdbm.h> | 1657 #include <gdbm.h> |
| 1681 EOF | 1658 EOF |
| 1682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1683 { (eval echo configure:1684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1660 { (eval echo configure:1661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1685 if test -z "$ac_err"; then | 1662 if test -z "$ac_err"; then |
| 1686 rm -rf conftest* | 1663 rm -rf conftest* |
| 1687 eval "ac_cv_header_$ac_safe=yes" | 1664 eval "ac_cv_header_$ac_safe=yes" |
| 1688 else | 1665 else |
| 1708 fi | 1685 fi |
| 1709 | 1686 |
| 1710 | 1687 |
| 1711 | 1688 |
| 1712 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 1689 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 1713 echo "configure:1714: checking for ANSI C header files" >&5 | 1690 echo "configure:1691: checking for ANSI C header files" >&5 |
| 1714 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 1691 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
| 1715 echo $ac_n "(cached) $ac_c" 1>&6 | 1692 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1716 else | 1693 else |
| 1717 cat > conftest.$ac_ext <<EOF | 1694 cat > conftest.$ac_ext <<EOF |
| 1718 #line 1719 "configure" | 1695 #line 1696 "configure" |
| 1719 #include "confdefs.h" | 1696 #include "confdefs.h" |
| 1720 #include <stdlib.h> | 1697 #include <stdlib.h> |
| 1721 #include <stdarg.h> | 1698 #include <stdarg.h> |
| 1722 #include <string.h> | 1699 #include <string.h> |
| 1723 #include <float.h> | 1700 #include <float.h> |
| 1724 EOF | 1701 EOF |
| 1725 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1702 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1726 { (eval echo configure:1727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1703 { (eval echo configure:1704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1727 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1704 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1728 if test -z "$ac_err"; then | 1705 if test -z "$ac_err"; then |
| 1729 rm -rf conftest* | 1706 rm -rf conftest* |
| 1730 ac_cv_header_stdc=yes | 1707 ac_cv_header_stdc=yes |
| 1731 else | 1708 else |
| 1738 rm -f conftest* | 1715 rm -f conftest* |
| 1739 | 1716 |
| 1740 if test $ac_cv_header_stdc = yes; then | 1717 if test $ac_cv_header_stdc = yes; then |
| 1741 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 1718 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 1742 cat > conftest.$ac_ext <<EOF | 1719 cat > conftest.$ac_ext <<EOF |
| 1743 #line 1744 "configure" | 1720 #line 1721 "configure" |
| 1744 #include "confdefs.h" | 1721 #include "confdefs.h" |
| 1745 #include <string.h> | 1722 #include <string.h> |
| 1746 EOF | 1723 EOF |
| 1747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1748 egrep "memchr" >/dev/null 2>&1; then | 1725 egrep "memchr" >/dev/null 2>&1; then |
| 1756 fi | 1733 fi |
| 1757 | 1734 |
| 1758 if test $ac_cv_header_stdc = yes; then | 1735 if test $ac_cv_header_stdc = yes; then |
| 1759 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 1736 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 1760 cat > conftest.$ac_ext <<EOF | 1737 cat > conftest.$ac_ext <<EOF |
| 1761 #line 1762 "configure" | 1738 #line 1739 "configure" |
| 1762 #include "confdefs.h" | 1739 #include "confdefs.h" |
| 1763 #include <stdlib.h> | 1740 #include <stdlib.h> |
| 1764 EOF | 1741 EOF |
| 1765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1766 egrep "free" >/dev/null 2>&1; then | 1743 egrep "free" >/dev/null 2>&1; then |
| 1777 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 1754 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 1778 if test "$cross_compiling" = yes; then | 1755 if test "$cross_compiling" = yes; then |
| 1779 : | 1756 : |
| 1780 else | 1757 else |
| 1781 cat > conftest.$ac_ext <<EOF | 1758 cat > conftest.$ac_ext <<EOF |
| 1782 #line 1783 "configure" | 1759 #line 1760 "configure" |
| 1783 #include "confdefs.h" | 1760 #include "confdefs.h" |
| 1784 #include <ctype.h> | 1761 #include <ctype.h> |
| 1785 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 1762 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 1786 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 1763 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 1787 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 1764 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 1788 int main () { int i; for (i = 0; i < 256; i++) | 1765 int main () { int i; for (i = 0; i < 256; i++) |
| 1789 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 1766 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 1790 exit (0); } | 1767 exit (0); } |
| 1791 | 1768 |
| 1792 EOF | 1769 EOF |
| 1793 if { (eval echo configure:1794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1770 if { (eval echo configure:1771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 1794 then | 1771 then |
| 1795 : | 1772 : |
| 1796 else | 1773 else |
| 1797 echo "configure: failed program was:" >&5 | 1774 echo "configure: failed program was:" >&5 |
| 1798 cat conftest.$ac_ext >&5 | 1775 cat conftest.$ac_ext >&5 |
| 1816 ac_header_dirent=no | 1793 ac_header_dirent=no |
| 1817 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h | 1794 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h |
| 1818 do | 1795 do |
| 1819 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1796 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 1820 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 | 1797 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 |
| 1821 echo "configure:1822: checking for $ac_hdr that defines DIR" >&5 | 1798 echo "configure:1799: checking for $ac_hdr that defines DIR" >&5 |
| 1822 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then | 1799 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then |
| 1823 echo $ac_n "(cached) $ac_c" 1>&6 | 1800 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1824 else | 1801 else |
| 1825 cat > conftest.$ac_ext <<EOF | 1802 cat > conftest.$ac_ext <<EOF |
| 1826 #line 1827 "configure" | 1803 #line 1804 "configure" |
| 1827 #include "confdefs.h" | 1804 #include "confdefs.h" |
| 1828 #include <sys/types.h> | 1805 #include <sys/types.h> |
| 1829 #include <$ac_hdr> | 1806 #include <$ac_hdr> |
| 1830 int main() { | 1807 int main() { |
| 1831 DIR *dirp = 0; | 1808 DIR *dirp = 0; |
| 1832 ; return 0; } | 1809 ; return 0; } |
| 1833 EOF | 1810 EOF |
| 1834 if { (eval echo configure:1835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1811 if { (eval echo configure:1812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1835 rm -rf conftest* | 1812 rm -rf conftest* |
| 1836 eval "ac_cv_header_dirent_$ac_safe=yes" | 1813 eval "ac_cv_header_dirent_$ac_safe=yes" |
| 1837 else | 1814 else |
| 1838 echo "configure: failed program was:" >&5 | 1815 echo "configure: failed program was:" >&5 |
| 1839 cat conftest.$ac_ext >&5 | 1816 cat conftest.$ac_ext >&5 |
| 1854 fi | 1831 fi |
| 1855 done | 1832 done |
| 1856 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | 1833 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
| 1857 if test $ac_header_dirent = dirent.h; then | 1834 if test $ac_header_dirent = dirent.h; then |
| 1858 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 | 1835 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 |
| 1859 echo "configure:1860: checking for opendir in -ldir" >&5 | 1836 echo "configure:1837: checking for opendir in -ldir" >&5 |
| 1860 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` | 1837 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` |
| 1861 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1838 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 1862 echo $ac_n "(cached) $ac_c" 1>&6 | 1839 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1863 else | 1840 else |
| 1864 ac_save_LIBS="$LIBS" | 1841 ac_save_LIBS="$LIBS" |
| 1865 LIBS="-ldir $LIBS" | 1842 LIBS="-ldir $LIBS" |
| 1866 cat > conftest.$ac_ext <<EOF | 1843 cat > conftest.$ac_ext <<EOF |
| 1867 #line 1868 "configure" | 1844 #line 1845 "configure" |
| 1868 #include "confdefs.h" | 1845 #include "confdefs.h" |
| 1869 /* Override any gcc2 internal prototype to avoid an error. */ | 1846 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1870 /* We use char because int might match the return type of a gcc2 | 1847 /* We use char because int might match the return type of a gcc2 |
| 1871 builtin and then its argument prototype would still apply. */ | 1848 builtin and then its argument prototype would still apply. */ |
| 1872 char opendir(); | 1849 char opendir(); |
| 1873 | 1850 |
| 1874 int main() { | 1851 int main() { |
| 1875 opendir() | 1852 opendir() |
| 1876 ; return 0; } | 1853 ; return 0; } |
| 1877 EOF | 1854 EOF |
| 1878 if { (eval echo configure:1879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1855 if { (eval echo configure:1856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1879 rm -rf conftest* | 1856 rm -rf conftest* |
| 1880 eval "ac_cv_lib_$ac_lib_var=yes" | 1857 eval "ac_cv_lib_$ac_lib_var=yes" |
| 1881 else | 1858 else |
| 1882 echo "configure: failed program was:" >&5 | 1859 echo "configure: failed program was:" >&5 |
| 1883 cat conftest.$ac_ext >&5 | 1860 cat conftest.$ac_ext >&5 |
| 1895 echo "$ac_t""no" 1>&6 | 1872 echo "$ac_t""no" 1>&6 |
| 1896 fi | 1873 fi |
| 1897 | 1874 |
| 1898 else | 1875 else |
| 1899 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 | 1876 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 |
| 1900 echo "configure:1901: checking for opendir in -lx" >&5 | 1877 echo "configure:1878: checking for opendir in -lx" >&5 |
| 1901 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` | 1878 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` |
| 1902 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1879 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 1903 echo $ac_n "(cached) $ac_c" 1>&6 | 1880 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1904 else | 1881 else |
| 1905 ac_save_LIBS="$LIBS" | 1882 ac_save_LIBS="$LIBS" |
| 1906 LIBS="-lx $LIBS" | 1883 LIBS="-lx $LIBS" |
| 1907 cat > conftest.$ac_ext <<EOF | 1884 cat > conftest.$ac_ext <<EOF |
| 1908 #line 1909 "configure" | 1885 #line 1886 "configure" |
| 1909 #include "confdefs.h" | 1886 #include "confdefs.h" |
| 1910 /* Override any gcc2 internal prototype to avoid an error. */ | 1887 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1911 /* We use char because int might match the return type of a gcc2 | 1888 /* We use char because int might match the return type of a gcc2 |
| 1912 builtin and then its argument prototype would still apply. */ | 1889 builtin and then its argument prototype would still apply. */ |
| 1913 char opendir(); | 1890 char opendir(); |
| 1914 | 1891 |
| 1915 int main() { | 1892 int main() { |
| 1916 opendir() | 1893 opendir() |
| 1917 ; return 0; } | 1894 ; return 0; } |
| 1918 EOF | 1895 EOF |
| 1919 if { (eval echo configure:1920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1896 if { (eval echo configure:1897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1920 rm -rf conftest* | 1897 rm -rf conftest* |
| 1921 eval "ac_cv_lib_$ac_lib_var=yes" | 1898 eval "ac_cv_lib_$ac_lib_var=yes" |
| 1922 else | 1899 else |
| 1923 echo "configure: failed program was:" >&5 | 1900 echo "configure: failed program was:" >&5 |
| 1924 cat conftest.$ac_ext >&5 | 1901 cat conftest.$ac_ext >&5 |
| 1940 | 1917 |
| 1941 for ac_hdr in syslog.h sys/resource.h sys/utsname.h | 1918 for ac_hdr in syslog.h sys/resource.h sys/utsname.h |
| 1942 do | 1919 do |
| 1943 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1920 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 1944 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 1921 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 1945 echo "configure:1946: checking for $ac_hdr" >&5 | 1922 echo "configure:1923: checking for $ac_hdr" >&5 |
| 1946 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1923 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 1947 echo $ac_n "(cached) $ac_c" 1>&6 | 1924 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1948 else | 1925 else |
| 1949 cat > conftest.$ac_ext <<EOF | 1926 cat > conftest.$ac_ext <<EOF |
| 1950 #line 1951 "configure" | 1927 #line 1928 "configure" |
| 1951 #include "confdefs.h" | 1928 #include "confdefs.h" |
| 1952 #include <$ac_hdr> | 1929 #include <$ac_hdr> |
| 1953 EOF | 1930 EOF |
| 1954 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1931 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1955 { (eval echo configure:1956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1932 { (eval echo configure:1933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1956 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1933 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1957 if test -z "$ac_err"; then | 1934 if test -z "$ac_err"; then |
| 1958 rm -rf conftest* | 1935 rm -rf conftest* |
| 1959 eval "ac_cv_header_$ac_safe=yes" | 1936 eval "ac_cv_header_$ac_safe=yes" |
| 1960 else | 1937 else |
| 1980 | 1957 |
| 1981 for ac_hdr in fnmatch.h errno.h getopt.h time.h sys/time.h signal.h | 1958 for ac_hdr in fnmatch.h errno.h getopt.h time.h sys/time.h signal.h |
| 1982 do | 1959 do |
| 1983 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1960 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 1984 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 1961 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 1985 echo "configure:1986: checking for $ac_hdr" >&5 | 1962 echo "configure:1963: checking for $ac_hdr" >&5 |
| 1986 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1963 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 1987 echo $ac_n "(cached) $ac_c" 1>&6 | 1964 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1988 else | 1965 else |
| 1989 cat > conftest.$ac_ext <<EOF | 1966 cat > conftest.$ac_ext <<EOF |
| 1990 #line 1991 "configure" | 1967 #line 1968 "configure" |
| 1991 #include "confdefs.h" | 1968 #include "confdefs.h" |
| 1992 #include <$ac_hdr> | 1969 #include <$ac_hdr> |
| 1993 EOF | 1970 EOF |
| 1994 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1971 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1995 { (eval echo configure:1996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1972 { (eval echo configure:1973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1996 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1973 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1997 if test -z "$ac_err"; then | 1974 if test -z "$ac_err"; then |
| 1998 rm -rf conftest* | 1975 rm -rf conftest* |
| 1999 eval "ac_cv_header_$ac_safe=yes" | 1976 eval "ac_cv_header_$ac_safe=yes" |
| 2000 else | 1977 else |
| 2020 | 1997 |
| 2021 for ac_hdr in netdb.h sys/socket.h fcntl.h limits.h unistd.h | 1998 for ac_hdr in netdb.h sys/socket.h fcntl.h limits.h unistd.h |
| 2022 do | 1999 do |
| 2023 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2000 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2024 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2001 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2025 echo "configure:2026: checking for $ac_hdr" >&5 | 2002 echo "configure:2003: checking for $ac_hdr" >&5 |
| 2026 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2003 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 2027 echo $ac_n "(cached) $ac_c" 1>&6 | 2004 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2028 else | 2005 else |
| 2029 cat > conftest.$ac_ext <<EOF | 2006 cat > conftest.$ac_ext <<EOF |
| 2030 #line 2031 "configure" | 2007 #line 2008 "configure" |
| 2031 #include "confdefs.h" | 2008 #include "confdefs.h" |
| 2032 #include <$ac_hdr> | 2009 #include <$ac_hdr> |
| 2033 EOF | 2010 EOF |
| 2034 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2011 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2035 { (eval echo configure:2036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2012 { (eval echo configure:2013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2036 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2013 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2037 if test -z "$ac_err"; then | 2014 if test -z "$ac_err"; then |
| 2038 rm -rf conftest* | 2015 rm -rf conftest* |
| 2039 eval "ac_cv_header_$ac_safe=yes" | 2016 eval "ac_cv_header_$ac_safe=yes" |
| 2040 else | 2017 else |
| 2060 | 2037 |
| 2061 for ac_hdr in sys/types.h regex.h pwd.h | 2038 for ac_hdr in sys/types.h regex.h pwd.h |
| 2062 do | 2039 do |
| 2063 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2040 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2064 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2041 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2065 echo "configure:2066: checking for $ac_hdr" >&5 | 2042 echo "configure:2043: checking for $ac_hdr" >&5 |
| 2066 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2043 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 2067 echo $ac_n "(cached) $ac_c" 1>&6 | 2044 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2068 else | 2045 else |
| 2069 cat > conftest.$ac_ext <<EOF | 2046 cat > conftest.$ac_ext <<EOF |
| 2070 #line 2071 "configure" | 2047 #line 2048 "configure" |
| 2071 #include "confdefs.h" | 2048 #include "confdefs.h" |
| 2072 #include <$ac_hdr> | 2049 #include <$ac_hdr> |
| 2073 EOF | 2050 EOF |
| 2074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2075 { (eval echo configure:2076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2052 { (eval echo configure:2053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2053 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2077 if test -z "$ac_err"; then | 2054 if test -z "$ac_err"; then |
| 2078 rm -rf conftest* | 2055 rm -rf conftest* |
| 2079 eval "ac_cv_header_$ac_safe=yes" | 2056 eval "ac_cv_header_$ac_safe=yes" |
| 2080 else | 2057 else |
| 2100 | 2077 |
| 2101 | 2078 |
| 2102 | 2079 |
| 2103 | 2080 |
| 2104 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 2081 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 2105 echo "configure:2106: checking for working const" >&5 | 2082 echo "configure:2083: checking for working const" >&5 |
| 2106 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 2083 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
| 2107 echo $ac_n "(cached) $ac_c" 1>&6 | 2084 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2108 else | 2085 else |
| 2109 cat > conftest.$ac_ext <<EOF | 2086 cat > conftest.$ac_ext <<EOF |
| 2110 #line 2111 "configure" | 2087 #line 2088 "configure" |
| 2111 #include "confdefs.h" | 2088 #include "confdefs.h" |
| 2112 | 2089 |
| 2113 int main() { | 2090 int main() { |
| 2114 | 2091 |
| 2115 /* Ultrix mips cc rejects this. */ | 2092 /* Ultrix mips cc rejects this. */ |
| 2154 const int foo = 10; | 2131 const int foo = 10; |
| 2155 } | 2132 } |
| 2156 | 2133 |
| 2157 ; return 0; } | 2134 ; return 0; } |
| 2158 EOF | 2135 EOF |
| 2159 if { (eval echo configure:2160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2136 if { (eval echo configure:2137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2160 rm -rf conftest* | 2137 rm -rf conftest* |
| 2161 ac_cv_c_const=yes | 2138 ac_cv_c_const=yes |
| 2162 else | 2139 else |
| 2163 echo "configure: failed program was:" >&5 | 2140 echo "configure: failed program was:" >&5 |
| 2164 cat conftest.$ac_ext >&5 | 2141 cat conftest.$ac_ext >&5 |
| 2175 EOF | 2152 EOF |
| 2176 | 2153 |
| 2177 fi | 2154 fi |
| 2178 | 2155 |
| 2179 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 2156 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 2180 echo "configure:2181: checking for size_t" >&5 | 2157 echo "configure:2158: checking for size_t" >&5 |
| 2181 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 2158 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
| 2182 echo $ac_n "(cached) $ac_c" 1>&6 | 2159 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2183 else | 2160 else |
| 2184 cat > conftest.$ac_ext <<EOF | 2161 cat > conftest.$ac_ext <<EOF |
| 2185 #line 2186 "configure" | 2162 #line 2163 "configure" |
| 2186 #include "confdefs.h" | 2163 #include "confdefs.h" |
| 2187 #include <sys/types.h> | 2164 #include <sys/types.h> |
| 2188 #if STDC_HEADERS | 2165 #if STDC_HEADERS |
| 2189 #include <stdlib.h> | 2166 #include <stdlib.h> |
| 2190 #include <stddef.h> | 2167 #include <stddef.h> |
| 2208 EOF | 2185 EOF |
| 2209 | 2186 |
| 2210 fi | 2187 fi |
| 2211 | 2188 |
| 2212 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2189 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 2213 echo "configure:2214: checking whether time.h and sys/time.h may both be included" >&5 | 2190 echo "configure:2191: checking whether time.h and sys/time.h may both be included" >&5 |
| 2214 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | 2191 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
| 2215 echo $ac_n "(cached) $ac_c" 1>&6 | 2192 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2216 else | 2193 else |
| 2217 cat > conftest.$ac_ext <<EOF | 2194 cat > conftest.$ac_ext <<EOF |
| 2218 #line 2219 "configure" | 2195 #line 2196 "configure" |
| 2219 #include "confdefs.h" | 2196 #include "confdefs.h" |
| 2220 #include <sys/types.h> | 2197 #include <sys/types.h> |
| 2221 #include <sys/time.h> | 2198 #include <sys/time.h> |
| 2222 #include <time.h> | 2199 #include <time.h> |
| 2223 int main() { | 2200 int main() { |
| 2224 struct tm *tp; | 2201 struct tm *tp; |
| 2225 ; return 0; } | 2202 ; return 0; } |
| 2226 EOF | 2203 EOF |
| 2227 if { (eval echo configure:2228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2204 if { (eval echo configure:2205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2228 rm -rf conftest* | 2205 rm -rf conftest* |
| 2229 ac_cv_header_time=yes | 2206 ac_cv_header_time=yes |
| 2230 else | 2207 else |
| 2231 echo "configure: failed program was:" >&5 | 2208 echo "configure: failed program was:" >&5 |
| 2232 cat conftest.$ac_ext >&5 | 2209 cat conftest.$ac_ext >&5 |
| 2243 EOF | 2220 EOF |
| 2244 | 2221 |
| 2245 fi | 2222 fi |
| 2246 | 2223 |
| 2247 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 2224 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 2248 echo "configure:2249: checking whether struct tm is in sys/time.h or time.h" >&5 | 2225 echo "configure:2226: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 2249 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then | 2226 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
| 2250 echo $ac_n "(cached) $ac_c" 1>&6 | 2227 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2251 else | 2228 else |
| 2252 cat > conftest.$ac_ext <<EOF | 2229 cat > conftest.$ac_ext <<EOF |
| 2253 #line 2254 "configure" | 2230 #line 2231 "configure" |
| 2254 #include "confdefs.h" | 2231 #include "confdefs.h" |
| 2255 #include <sys/types.h> | 2232 #include <sys/types.h> |
| 2256 #include <time.h> | 2233 #include <time.h> |
| 2257 int main() { | 2234 int main() { |
| 2258 struct tm *tp; tp->tm_sec; | 2235 struct tm *tp; tp->tm_sec; |
| 2259 ; return 0; } | 2236 ; return 0; } |
| 2260 EOF | 2237 EOF |
| 2261 if { (eval echo configure:2262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2238 if { (eval echo configure:2239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2262 rm -rf conftest* | 2239 rm -rf conftest* |
| 2263 ac_cv_struct_tm=time.h | 2240 ac_cv_struct_tm=time.h |
| 2264 else | 2241 else |
| 2265 echo "configure: failed program was:" >&5 | 2242 echo "configure: failed program was:" >&5 |
| 2266 cat conftest.$ac_ext >&5 | 2243 cat conftest.$ac_ext >&5 |
| 2278 | 2255 |
| 2279 fi | 2256 fi |
| 2280 | 2257 |
| 2281 | 2258 |
| 2282 echo $ac_n "checking socklen_t""... $ac_c" 1>&6 | 2259 echo $ac_n "checking socklen_t""... $ac_c" 1>&6 |
| 2283 echo "configure:2284: checking socklen_t" >&5 | 2260 echo "configure:2261: checking socklen_t" >&5 |
| 2284 if eval "test \"`echo '$''{'noffle_cv_type_socklen_t'+set}'`\" = set"; then | 2261 if eval "test \"`echo '$''{'noffle_cv_type_socklen_t'+set}'`\" = set"; then |
| 2285 echo $ac_n "(cached) $ac_c" 1>&6 | 2262 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2286 else | 2263 else |
| 2287 cat > conftest.$ac_ext <<EOF | 2264 cat > conftest.$ac_ext <<EOF |
| 2288 #line 2289 "configure" | 2265 #line 2266 "configure" |
| 2289 #include "confdefs.h" | 2266 #include "confdefs.h" |
| 2290 | 2267 |
| 2291 #include <sys/types.h> | 2268 #include <sys/types.h> |
| 2292 #include <sys/socket.h> | 2269 #include <sys/socket.h> |
| 2293 | 2270 |
| 2294 int main() { | 2271 int main() { |
| 2295 socklen_t s; | 2272 socklen_t s; |
| 2296 ; return 0; } | 2273 ; return 0; } |
| 2297 EOF | 2274 EOF |
| 2298 if { (eval echo configure:2299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2275 if { (eval echo configure:2276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2299 rm -rf conftest* | 2276 rm -rf conftest* |
| 2300 noffle_cv_type_socklen_t=yes | 2277 noffle_cv_type_socklen_t=yes |
| 2301 else | 2278 else |
| 2302 echo "configure: failed program was:" >&5 | 2279 echo "configure: failed program was:" >&5 |
| 2303 cat conftest.$ac_ext >&5 | 2280 cat conftest.$ac_ext >&5 |
| 2319 fi | 2296 fi |
| 2320 | 2297 |
| 2321 | 2298 |
| 2322 | 2299 |
| 2323 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2300 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 2324 echo "configure:2325: checking return type of signal handlers" >&5 | 2301 echo "configure:2302: checking return type of signal handlers" >&5 |
| 2325 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | 2302 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
| 2326 echo $ac_n "(cached) $ac_c" 1>&6 | 2303 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2327 else | 2304 else |
| 2328 cat > conftest.$ac_ext <<EOF | 2305 cat > conftest.$ac_ext <<EOF |
| 2329 #line 2330 "configure" | 2306 #line 2307 "configure" |
| 2330 #include "confdefs.h" | 2307 #include "confdefs.h" |
| 2331 #include <sys/types.h> | 2308 #include <sys/types.h> |
| 2332 #include <signal.h> | 2309 #include <signal.h> |
| 2333 #ifdef signal | 2310 #ifdef signal |
| 2334 #undef signal | 2311 #undef signal |
| 2341 | 2318 |
| 2342 int main() { | 2319 int main() { |
| 2343 int i; | 2320 int i; |
| 2344 ; return 0; } | 2321 ; return 0; } |
| 2345 EOF | 2322 EOF |
| 2346 if { (eval echo configure:2347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2323 if { (eval echo configure:2324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2347 rm -rf conftest* | 2324 rm -rf conftest* |
| 2348 ac_cv_type_signal=void | 2325 ac_cv_type_signal=void |
| 2349 else | 2326 else |
| 2350 echo "configure: failed program was:" >&5 | 2327 echo "configure: failed program was:" >&5 |
| 2351 cat conftest.$ac_ext >&5 | 2328 cat conftest.$ac_ext >&5 |
| 2360 #define RETSIGTYPE $ac_cv_type_signal | 2337 #define RETSIGTYPE $ac_cv_type_signal |
| 2361 EOF | 2338 EOF |
| 2362 | 2339 |
| 2363 | 2340 |
| 2364 echo $ac_n "checking for strftime""... $ac_c" 1>&6 | 2341 echo $ac_n "checking for strftime""... $ac_c" 1>&6 |
| 2365 echo "configure:2366: checking for strftime" >&5 | 2342 echo "configure:2343: checking for strftime" >&5 |
| 2366 if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then | 2343 if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then |
| 2367 echo $ac_n "(cached) $ac_c" 1>&6 | 2344 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2368 else | 2345 else |
| 2369 cat > conftest.$ac_ext <<EOF | 2346 cat > conftest.$ac_ext <<EOF |
| 2370 #line 2371 "configure" | 2347 #line 2348 "configure" |
| 2371 #include "confdefs.h" | 2348 #include "confdefs.h" |
| 2372 /* System header to define __stub macros and hopefully few prototypes, | 2349 /* System header to define __stub macros and hopefully few prototypes, |
| 2373 which can conflict with char strftime(); below. */ | 2350 which can conflict with char strftime(); below. */ |
| 2374 #include <assert.h> | 2351 #include <assert.h> |
| 2375 /* Override any gcc2 internal prototype to avoid an error. */ | 2352 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2388 strftime(); | 2365 strftime(); |
| 2389 #endif | 2366 #endif |
| 2390 | 2367 |
| 2391 ; return 0; } | 2368 ; return 0; } |
| 2392 EOF | 2369 EOF |
| 2393 if { (eval echo configure:2394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2370 if { (eval echo configure:2371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2394 rm -rf conftest* | 2371 rm -rf conftest* |
| 2395 eval "ac_cv_func_strftime=yes" | 2372 eval "ac_cv_func_strftime=yes" |
| 2396 else | 2373 else |
| 2397 echo "configure: failed program was:" >&5 | 2374 echo "configure: failed program was:" >&5 |
| 2398 cat conftest.$ac_ext >&5 | 2375 cat conftest.$ac_ext >&5 |
| 2410 | 2387 |
| 2411 else | 2388 else |
| 2412 echo "$ac_t""no" 1>&6 | 2389 echo "$ac_t""no" 1>&6 |
| 2413 # strftime is in -lintl on SCO UNIX. | 2390 # strftime is in -lintl on SCO UNIX. |
| 2414 echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6 | 2391 echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6 |
| 2415 echo "configure:2416: checking for strftime in -lintl" >&5 | 2392 echo "configure:2393: checking for strftime in -lintl" >&5 |
| 2416 ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'` | 2393 ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'` |
| 2417 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 2394 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 2418 echo $ac_n "(cached) $ac_c" 1>&6 | 2395 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2419 else | 2396 else |
| 2420 ac_save_LIBS="$LIBS" | 2397 ac_save_LIBS="$LIBS" |
| 2421 LIBS="-lintl $LIBS" | 2398 LIBS="-lintl $LIBS" |
| 2422 cat > conftest.$ac_ext <<EOF | 2399 cat > conftest.$ac_ext <<EOF |
| 2423 #line 2424 "configure" | 2400 #line 2401 "configure" |
| 2424 #include "confdefs.h" | 2401 #include "confdefs.h" |
| 2425 /* Override any gcc2 internal prototype to avoid an error. */ | 2402 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2426 /* We use char because int might match the return type of a gcc2 | 2403 /* We use char because int might match the return type of a gcc2 |
| 2427 builtin and then its argument prototype would still apply. */ | 2404 builtin and then its argument prototype would still apply. */ |
| 2428 char strftime(); | 2405 char strftime(); |
| 2429 | 2406 |
| 2430 int main() { | 2407 int main() { |
| 2431 strftime() | 2408 strftime() |
| 2432 ; return 0; } | 2409 ; return 0; } |
| 2433 EOF | 2410 EOF |
| 2434 if { (eval echo configure:2435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2411 if { (eval echo configure:2412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2435 rm -rf conftest* | 2412 rm -rf conftest* |
| 2436 eval "ac_cv_lib_$ac_lib_var=yes" | 2413 eval "ac_cv_lib_$ac_lib_var=yes" |
| 2437 else | 2414 else |
| 2438 echo "configure: failed program was:" >&5 | 2415 echo "configure: failed program was:" >&5 |
| 2439 cat conftest.$ac_ext >&5 | 2416 cat conftest.$ac_ext >&5 |
| 2456 fi | 2433 fi |
| 2457 | 2434 |
| 2458 fi | 2435 fi |
| 2459 | 2436 |
| 2460 echo $ac_n "checking for working fnmatch""... $ac_c" 1>&6 | 2437 echo $ac_n "checking for working fnmatch""... $ac_c" 1>&6 |
| 2461 echo "configure:2462: checking for working fnmatch" >&5 | 2438 echo "configure:2439: checking for working fnmatch" >&5 |
| 2462 if eval "test \"`echo '$''{'ac_cv_func_fnmatch_works'+set}'`\" = set"; then | 2439 if eval "test \"`echo '$''{'ac_cv_func_fnmatch_works'+set}'`\" = set"; then |
| 2463 echo $ac_n "(cached) $ac_c" 1>&6 | 2440 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2464 else | 2441 else |
| 2465 # Some versions of Solaris or SCO have a broken fnmatch function. | 2442 # Some versions of Solaris or SCO have a broken fnmatch function. |
| 2466 # So we run a test program. If we are cross-compiling, take no chance. | 2443 # So we run a test program. If we are cross-compiling, take no chance. |
| 2467 # Thanks to John Oleynick and Franc,ois Pinard for this test. | 2444 # Thanks to John Oleynick and Franc,ois Pinard for this test. |
| 2468 if test "$cross_compiling" = yes; then | 2445 if test "$cross_compiling" = yes; then |
| 2469 ac_cv_func_fnmatch_works=no | 2446 ac_cv_func_fnmatch_works=no |
| 2470 else | 2447 else |
| 2471 cat > conftest.$ac_ext <<EOF | 2448 cat > conftest.$ac_ext <<EOF |
| 2472 #line 2473 "configure" | 2449 #line 2450 "configure" |
| 2473 #include "confdefs.h" | 2450 #include "confdefs.h" |
| 2474 main() { exit (fnmatch ("a*", "abc", 0) != 0); } | 2451 main() { exit (fnmatch ("a*", "abc", 0) != 0); } |
| 2475 EOF | 2452 EOF |
| 2476 if { (eval echo configure:2477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2453 if { (eval echo configure:2454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 2477 then | 2454 then |
| 2478 ac_cv_func_fnmatch_works=yes | 2455 ac_cv_func_fnmatch_works=yes |
| 2479 else | 2456 else |
| 2480 echo "configure: failed program was:" >&5 | 2457 echo "configure: failed program was:" >&5 |
| 2481 cat conftest.$ac_ext >&5 | 2458 cat conftest.$ac_ext >&5 |
| 2496 fi | 2473 fi |
| 2497 | 2474 |
| 2498 for ac_func in fdopen mkdir select socket | 2475 for ac_func in fdopen mkdir select socket |
| 2499 do | 2476 do |
| 2500 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2477 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 2501 echo "configure:2502: checking for $ac_func" >&5 | 2478 echo "configure:2479: checking for $ac_func" >&5 |
| 2502 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2479 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 2503 echo $ac_n "(cached) $ac_c" 1>&6 | 2480 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2504 else | 2481 else |
| 2505 cat > conftest.$ac_ext <<EOF | 2482 cat > conftest.$ac_ext <<EOF |
| 2506 #line 2507 "configure" | 2483 #line 2484 "configure" |
| 2507 #include "confdefs.h" | 2484 #include "confdefs.h" |
| 2508 /* System header to define __stub macros and hopefully few prototypes, | 2485 /* System header to define __stub macros and hopefully few prototypes, |
| 2509 which can conflict with char $ac_func(); below. */ | 2486 which can conflict with char $ac_func(); below. */ |
| 2510 #include <assert.h> | 2487 #include <assert.h> |
| 2511 /* Override any gcc2 internal prototype to avoid an error. */ | 2488 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2524 $ac_func(); | 2501 $ac_func(); |
| 2525 #endif | 2502 #endif |
| 2526 | 2503 |
| 2527 ; return 0; } | 2504 ; return 0; } |
| 2528 EOF | 2505 EOF |
| 2529 if { (eval echo configure:2530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2506 if { (eval echo configure:2507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2530 rm -rf conftest* | 2507 rm -rf conftest* |
| 2531 eval "ac_cv_func_$ac_func=yes" | 2508 eval "ac_cv_func_$ac_func=yes" |
| 2532 else | 2509 else |
| 2533 echo "configure: failed program was:" >&5 | 2510 echo "configure: failed program was:" >&5 |
| 2534 cat conftest.$ac_ext >&5 | 2511 cat conftest.$ac_ext >&5 |
| 2551 done | 2528 done |
| 2552 | 2529 |
| 2553 for ac_func in gethostname uname | 2530 for ac_func in gethostname uname |
| 2554 do | 2531 do |
| 2555 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2532 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 2556 echo "configure:2557: checking for $ac_func" >&5 | 2533 echo "configure:2534: checking for $ac_func" >&5 |
| 2557 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2534 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 2558 echo $ac_n "(cached) $ac_c" 1>&6 | 2535 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2559 else | 2536 else |
| 2560 cat > conftest.$ac_ext <<EOF | 2537 cat > conftest.$ac_ext <<EOF |
| 2561 #line 2562 "configure" | 2538 #line 2539 "configure" |
| 2562 #include "confdefs.h" | 2539 #include "confdefs.h" |
| 2563 /* System header to define __stub macros and hopefully few prototypes, | 2540 /* System header to define __stub macros and hopefully few prototypes, |
| 2564 which can conflict with char $ac_func(); below. */ | 2541 which can conflict with char $ac_func(); below. */ |
| 2565 #include <assert.h> | 2542 #include <assert.h> |
| 2566 /* Override any gcc2 internal prototype to avoid an error. */ | 2543 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2579 $ac_func(); | 2556 $ac_func(); |
| 2580 #endif | 2557 #endif |
| 2581 | 2558 |
| 2582 ; return 0; } | 2559 ; return 0; } |
| 2583 EOF | 2560 EOF |
| 2584 if { (eval echo configure:2585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2561 if { (eval echo configure:2562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2585 rm -rf conftest* | 2562 rm -rf conftest* |
| 2586 eval "ac_cv_func_$ac_func=yes" | 2563 eval "ac_cv_func_$ac_func=yes" |
| 2587 else | 2564 else |
| 2588 echo "configure: failed program was:" >&5 | 2565 echo "configure: failed program was:" >&5 |
| 2589 cat conftest.$ac_ext >&5 | 2566 cat conftest.$ac_ext >&5 |
| 2606 done | 2583 done |
| 2607 | 2584 |
| 2608 for ac_func in snprintf vsnprintf __vsnprintf __snprintf | 2585 for ac_func in snprintf vsnprintf __vsnprintf __snprintf |
| 2609 do | 2586 do |
| 2610 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2587 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 2611 echo "configure:2612: checking for $ac_func" >&5 | 2588 echo "configure:2589: checking for $ac_func" >&5 |
| 2612 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2589 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 2613 echo $ac_n "(cached) $ac_c" 1>&6 | 2590 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2614 else | 2591 else |
| 2615 cat > conftest.$ac_ext <<EOF | 2592 cat > conftest.$ac_ext <<EOF |
| 2616 #line 2617 "configure" | 2593 #line 2594 "configure" |
| 2617 #include "confdefs.h" | 2594 #include "confdefs.h" |
| 2618 /* System header to define __stub macros and hopefully few prototypes, | 2595 /* System header to define __stub macros and hopefully few prototypes, |
| 2619 which can conflict with char $ac_func(); below. */ | 2596 which can conflict with char $ac_func(); below. */ |
| 2620 #include <assert.h> | 2597 #include <assert.h> |
| 2621 /* Override any gcc2 internal prototype to avoid an error. */ | 2598 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2634 $ac_func(); | 2611 $ac_func(); |
| 2635 #endif | 2612 #endif |
| 2636 | 2613 |
| 2637 ; return 0; } | 2614 ; return 0; } |
| 2638 EOF | 2615 EOF |
| 2639 if { (eval echo configure:2640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2616 if { (eval echo configure:2617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2640 rm -rf conftest* | 2617 rm -rf conftest* |
| 2641 eval "ac_cv_func_$ac_func=yes" | 2618 eval "ac_cv_func_$ac_func=yes" |
| 2642 else | 2619 else |
| 2643 echo "configure: failed program was:" >&5 | 2620 echo "configure: failed program was:" >&5 |
| 2644 cat conftest.$ac_ext >&5 | 2621 cat conftest.$ac_ext >&5 |
| 2661 done | 2638 done |
| 2662 | 2639 |
| 2663 for ac_func in strerror strstr | 2640 for ac_func in strerror strstr |
| 2664 do | 2641 do |
| 2665 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2642 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 2666 echo "configure:2667: checking for $ac_func" >&5 | 2643 echo "configure:2644: checking for $ac_func" >&5 |
| 2667 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2644 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 2668 echo $ac_n "(cached) $ac_c" 1>&6 | 2645 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2669 else | 2646 else |
| 2670 cat > conftest.$ac_ext <<EOF | 2647 cat > conftest.$ac_ext <<EOF |
| 2671 #line 2672 "configure" | 2648 #line 2649 "configure" |
| 2672 #include "confdefs.h" | 2649 #include "confdefs.h" |
| 2673 /* System header to define __stub macros and hopefully few prototypes, | 2650 /* System header to define __stub macros and hopefully few prototypes, |
| 2674 which can conflict with char $ac_func(); below. */ | 2651 which can conflict with char $ac_func(); below. */ |
| 2675 #include <assert.h> | 2652 #include <assert.h> |
| 2676 /* Override any gcc2 internal prototype to avoid an error. */ | 2653 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2689 $ac_func(); | 2666 $ac_func(); |
| 2690 #endif | 2667 #endif |
| 2691 | 2668 |
| 2692 ; return 0; } | 2669 ; return 0; } |
| 2693 EOF | 2670 EOF |
| 2694 if { (eval echo configure:2695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2671 if { (eval echo configure:2672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2695 rm -rf conftest* | 2672 rm -rf conftest* |
| 2696 eval "ac_cv_func_$ac_func=yes" | 2673 eval "ac_cv_func_$ac_func=yes" |
| 2697 else | 2674 else |
| 2698 echo "configure: failed program was:" >&5 | 2675 echo "configure: failed program was:" >&5 |
| 2699 cat conftest.$ac_ext >&5 | 2676 cat conftest.$ac_ext >&5 |
| 2716 done | 2693 done |
| 2717 | 2694 |
| 2718 for ac_func in mktime timegm | 2695 for ac_func in mktime timegm |
| 2719 do | 2696 do |
| 2720 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2697 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 2721 echo "configure:2722: checking for $ac_func" >&5 | 2698 echo "configure:2699: checking for $ac_func" >&5 |
| 2722 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2699 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 2723 echo $ac_n "(cached) $ac_c" 1>&6 | 2700 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2724 else | 2701 else |
| 2725 cat > conftest.$ac_ext <<EOF | 2702 cat > conftest.$ac_ext <<EOF |
| 2726 #line 2727 "configure" | 2703 #line 2704 "configure" |
| 2727 #include "confdefs.h" | 2704 #include "confdefs.h" |
| 2728 /* System header to define __stub macros and hopefully few prototypes, | 2705 /* System header to define __stub macros and hopefully few prototypes, |
| 2729 which can conflict with char $ac_func(); below. */ | 2706 which can conflict with char $ac_func(); below. */ |
| 2730 #include <assert.h> | 2707 #include <assert.h> |
| 2731 /* Override any gcc2 internal prototype to avoid an error. */ | 2708 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2744 $ac_func(); | 2721 $ac_func(); |
| 2745 #endif | 2722 #endif |
| 2746 | 2723 |
| 2747 ; return 0; } | 2724 ; return 0; } |
| 2748 EOF | 2725 EOF |
| 2749 if { (eval echo configure:2750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2726 if { (eval echo configure:2727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2750 rm -rf conftest* | 2727 rm -rf conftest* |
| 2751 eval "ac_cv_func_$ac_func=yes" | 2728 eval "ac_cv_func_$ac_func=yes" |
| 2752 else | 2729 else |
| 2753 echo "configure: failed program was:" >&5 | 2730 echo "configure: failed program was:" >&5 |
| 2754 cat conftest.$ac_ext >&5 | 2731 cat conftest.$ac_ext >&5 |
| 2791 | 2768 |
| 2792 fi | 2769 fi |
| 2793 if test "x$enable_auth" = "xpam"; then | 2770 if test "x$enable_auth" = "xpam"; then |
| 2794 | 2771 |
| 2795 echo $ac_n "checking for pam_start in -lpam""... $ac_c" 1>&6 | 2772 echo $ac_n "checking for pam_start in -lpam""... $ac_c" 1>&6 |
| 2796 echo "configure:2797: checking for pam_start in -lpam" >&5 | 2773 echo "configure:2774: checking for pam_start in -lpam" >&5 |
| 2797 ac_lib_var=`echo pam'_'pam_start | sed 'y%./+-%__p_%'` | 2774 ac_lib_var=`echo pam'_'pam_start | sed 'y%./+-%__p_%'` |
| 2798 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 2775 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 2799 echo $ac_n "(cached) $ac_c" 1>&6 | 2776 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2800 else | 2777 else |
| 2801 ac_save_LIBS="$LIBS" | 2778 ac_save_LIBS="$LIBS" |
| 2802 LIBS="-lpam $LIBS" | 2779 LIBS="-lpam $LIBS" |
| 2803 cat > conftest.$ac_ext <<EOF | 2780 cat > conftest.$ac_ext <<EOF |
| 2804 #line 2805 "configure" | 2781 #line 2782 "configure" |
| 2805 #include "confdefs.h" | 2782 #include "confdefs.h" |
| 2806 /* Override any gcc2 internal prototype to avoid an error. */ | 2783 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2807 /* We use char because int might match the return type of a gcc2 | 2784 /* We use char because int might match the return type of a gcc2 |
| 2808 builtin and then its argument prototype would still apply. */ | 2785 builtin and then its argument prototype would still apply. */ |
| 2809 char pam_start(); | 2786 char pam_start(); |
| 2810 | 2787 |
| 2811 int main() { | 2788 int main() { |
| 2812 pam_start() | 2789 pam_start() |
| 2813 ; return 0; } | 2790 ; return 0; } |
| 2814 EOF | 2791 EOF |
| 2815 if { (eval echo configure:2816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2792 if { (eval echo configure:2793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2816 rm -rf conftest* | 2793 rm -rf conftest* |
| 2817 eval "ac_cv_lib_$ac_lib_var=yes" | 2794 eval "ac_cv_lib_$ac_lib_var=yes" |
| 2818 else | 2795 else |
| 2819 echo "configure: failed program was:" >&5 | 2796 echo "configure: failed program was:" >&5 |
| 2820 cat conftest.$ac_ext >&5 | 2797 cat conftest.$ac_ext >&5 |
| 2827 fi | 2804 fi |
| 2828 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | 2805 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| 2829 echo "$ac_t""yes" 1>&6 | 2806 echo "$ac_t""yes" 1>&6 |
| 2830 ac_safe=`echo "security/pam_appl.h" | sed 'y%./+-%__p_%'` | 2807 ac_safe=`echo "security/pam_appl.h" | sed 'y%./+-%__p_%'` |
| 2831 echo $ac_n "checking for security/pam_appl.h""... $ac_c" 1>&6 | 2808 echo $ac_n "checking for security/pam_appl.h""... $ac_c" 1>&6 |
| 2832 echo "configure:2833: checking for security/pam_appl.h" >&5 | 2809 echo "configure:2810: checking for security/pam_appl.h" >&5 |
| 2833 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2810 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 2834 echo $ac_n "(cached) $ac_c" 1>&6 | 2811 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2835 else | 2812 else |
| 2836 cat > conftest.$ac_ext <<EOF | 2813 cat > conftest.$ac_ext <<EOF |
| 2837 #line 2838 "configure" | 2814 #line 2815 "configure" |
| 2838 #include "confdefs.h" | 2815 #include "confdefs.h" |
| 2839 #include <security/pam_appl.h> | 2816 #include <security/pam_appl.h> |
| 2840 EOF | 2817 EOF |
| 2841 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2842 { (eval echo configure:2843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2819 { (eval echo configure:2820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2843 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2844 if test -z "$ac_err"; then | 2821 if test -z "$ac_err"; then |
| 2845 rm -rf conftest* | 2822 rm -rf conftest* |
| 2846 eval "ac_cv_header_$ac_safe=yes" | 2823 eval "ac_cv_header_$ac_safe=yes" |
| 2847 else | 2824 else |
| 2876 EOF | 2853 EOF |
| 2877 | 2854 |
| 2878 fi | 2855 fi |
| 2879 | 2856 |
| 2880 echo $ac_n "checking usersfile""... $ac_c" 1>&6 | 2857 echo $ac_n "checking usersfile""... $ac_c" 1>&6 |
| 2881 echo "configure:2882: checking usersfile" >&5 | 2858 echo "configure:2859: checking usersfile" >&5 |
| 2882 # Check whether --with-usersfile or --without-usersfile was given. | 2859 # Check whether --with-usersfile or --without-usersfile was given. |
| 2883 if test "${with_usersfile+set}" = set; then | 2860 if test "${with_usersfile+set}" = set; then |
| 2884 withval="$with_usersfile" | 2861 withval="$with_usersfile" |
| 2885 if echo "$withval" | egrep >/dev/null -v '^/' ; then | 2862 if echo "$withval" | egrep >/dev/null -v '^/' ; then |
| 2886 { echo "configure: error: you must give an absolute path" 1>&2; exit 1; } | 2863 { echo "configure: error: you must give an absolute path" 1>&2; exit 1; } |
| 2929 if test "${with_docdir+set}" = set; then | 2906 if test "${with_docdir+set}" = set; then |
| 2930 withval="$with_docdir" | 2907 withval="$with_docdir" |
| 2931 noffle_cv_docdir=$withval | 2908 noffle_cv_docdir=$withval |
| 2932 else | 2909 else |
| 2933 echo $ac_n "checking other documentation directory""... $ac_c" 1>&6 | 2910 echo $ac_n "checking other documentation directory""... $ac_c" 1>&6 |
| 2934 echo "configure:2935: checking other documentation directory" >&5 | 2911 echo "configure:2912: checking other documentation directory" >&5 |
| 2935 if eval "test \"`echo '$''{'noffle_cv_docdir'+set}'`\" = set"; then | 2912 if eval "test \"`echo '$''{'noffle_cv_docdir'+set}'`\" = set"; then |
| 2936 echo $ac_n "(cached) $ac_c" 1>&6 | 2913 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2937 else | 2914 else |
| 2938 if test x$prefix = xNONE; then | 2915 if test x$prefix = xNONE; then |
| 2939 noffle_cv_prefix=$ac_default_prefix | 2916 noffle_cv_prefix=$ac_default_prefix |
| 2948 | 2925 |
| 2949 fi | 2926 fi |
| 2950 | 2927 |
| 2951 | 2928 |
| 2952 echo $ac_n "checking spooldir""... $ac_c" 1>&6 | 2929 echo $ac_n "checking spooldir""... $ac_c" 1>&6 |
| 2953 echo "configure:2954: checking spooldir" >&5 | 2930 echo "configure:2931: checking spooldir" >&5 |
| 2954 # Check whether --with-spooldir or --without-spooldir was given. | 2931 # Check whether --with-spooldir or --without-spooldir was given. |
| 2955 if test "${with_spooldir+set}" = set; then | 2932 if test "${with_spooldir+set}" = set; then |
| 2956 withval="$with_spooldir" | 2933 withval="$with_spooldir" |
| 2957 if echo "$withval" | egrep >/dev/null -v '^/' ; then | 2934 if echo "$withval" | egrep >/dev/null -v '^/' ; then |
| 2958 { echo "configure: error: you must give an absolute path" 1>&2; exit 1; } | 2935 { echo "configure: error: you must give an absolute path" 1>&2; exit 1; } |
| 2971 EOF | 2948 EOF |
| 2972 | 2949 |
| 2973 | 2950 |
| 2974 | 2951 |
| 2975 echo $ac_n "checking configfile""... $ac_c" 1>&6 | 2952 echo $ac_n "checking configfile""... $ac_c" 1>&6 |
| 2976 echo "configure:2977: checking configfile" >&5 | 2953 echo "configure:2954: checking configfile" >&5 |
| 2977 # Check whether --with-configfile or --without-configfile was given. | 2954 # Check whether --with-configfile or --without-configfile was given. |
| 2978 if test "${with_configfile+set}" = set; then | 2955 if test "${with_configfile+set}" = set; then |
| 2979 withval="$with_configfile" | 2956 withval="$with_configfile" |
| 2980 if echo "$withval" | egrep >/dev/null -v '^/' ; then | 2957 if echo "$withval" | egrep >/dev/null -v '^/' ; then |
| 2981 { echo "configure: error: you must give an absolute path" 1>&2; exit 1; } | 2958 { echo "configure: error: you must give an absolute path" 1>&2; exit 1; } |
