Mercurial > noffle
comparison configure @ 277:1fdde6512033 noffle
[svn] * configure.in: Add optional GDBM include and lib directory specifiers.
| author | bears |
|---|---|
| date | Sun, 10 Nov 2002 18:32:41 +0000 |
| parents | f3b44be9e4ab |
| children | a0497ffac49b |
comparison
equal
deleted
inserted
replaced
| 276:16dad3488e9d | 277:1fdde6512033 |
|---|---|
| 10 # Defaults: | 10 # Defaults: |
| 11 ac_help= | 11 ac_help= |
| 12 ac_default_prefix=/usr/local | 12 ac_default_prefix=/usr/local |
| 13 # Any additions from configure.in: | 13 # Any additions from configure.in: |
| 14 ac_help="$ac_help | 14 ac_help="$ac_help |
| 15 | 15 --with-gdbm-include=DIR GDBM header files are in DIR" |
| 16 NOFFLE options: | 16 ac_help="$ac_help |
| 17 --with-gdbm-libdir=DIR GDBM library files are in DIR" | |
| 18 ac_help="$ac_help | |
| 17 --enable-debug=[no/yes] build with debugging [default=no]" | 19 --enable-debug=[no/yes] build with debugging [default=no]" |
| 18 ac_help="$ac_help | 20 ac_help="$ac_help |
| 19 --with-docdir=DIR other documentation [PREFIX/share/doc/noffle]" | 21 --with-docdir=DIR other documentation [PREFIX/share/doc/noffle]" |
| 20 ac_help="$ac_help | 22 ac_help="$ac_help |
| 21 --with-spooldir=DIR news spool directory [/var/spool/noffle]" | 23 --with-spooldir=DIR news spool directory [/var/spool/noffle]" |
| 459 # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 461 # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
| 460 echo > confdefs.h | 462 echo > confdefs.h |
| 461 | 463 |
| 462 # A filename unique to this package, relative to the directory that | 464 # A filename unique to this package, relative to the directory that |
| 463 # configure is in, which we can look for to find out if srcdir is correct. | 465 # configure is in, which we can look for to find out if srcdir is correct. |
| 464 ac_unique_file=src/noffle.c | 466 ac_unique_file=$PACKAGE |
| 465 | 467 |
| 466 # Find the source files, if location was not specified. | 468 # Find the source files, if location was not specified. |
| 467 if test -z "$srcdir"; then | 469 if test -z "$srcdir"; then |
| 468 ac_srcdir_defaulted=yes | 470 ac_srcdir_defaulted=yes |
| 469 # Try the directory containing this script, then its parent. | 471 # Try the directory containing this script, then its parent. |
| 531 fi | 533 fi |
| 532 | 534 |
| 533 | 535 |
| 534 | 536 |
| 535 | 537 |
| 536 | |
| 537 PACKAGE=noffle | |
| 538 VERSION=1.1.2 | |
| 539 | 538 |
| 540 | 539 |
| 541 | 540 |
| 542 | 541 |
| 543 ac_aux_dir= | 542 ac_aux_dir= |
| 569 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 568 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 570 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 569 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 571 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 570 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 572 # ./install, which can be erroneously created by make from ./install.sh. | 571 # ./install, which can be erroneously created by make from ./install.sh. |
| 573 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 572 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 574 echo "configure:575: checking for a BSD compatible install" >&5 | 573 echo "configure:574: checking for a BSD compatible install" >&5 |
| 575 if test -z "$INSTALL"; then | 574 if test -z "$INSTALL"; then |
| 576 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 575 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
| 577 echo $ac_n "(cached) $ac_c" 1>&6 | 576 echo $ac_n "(cached) $ac_c" 1>&6 |
| 578 else | 577 else |
| 579 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 578 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
| 622 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | 621 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
| 623 | 622 |
| 624 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 623 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 625 | 624 |
| 626 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 | 625 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 |
| 627 echo "configure:628: checking whether build environment is sane" >&5 | 626 echo "configure:627: checking whether build environment is sane" >&5 |
| 628 # Just in case | 627 # Just in case |
| 629 sleep 1 | 628 sleep 1 |
| 630 echo timestamp > conftestfile | 629 echo timestamp > conftestfile |
| 631 # Do `set' in a subshell so we don't clobber the current shell's | 630 # Do `set' in a subshell so we don't clobber the current shell's |
| 632 # arguments. Must try -L first in case configure is actually a | 631 # arguments. Must try -L first in case configure is actually a |
| 679 | 678 |
| 680 # sed with no file args requires a program. | 679 # sed with no file args requires a program. |
| 681 test "$program_transform_name" = "" && program_transform_name="s,x,x," | 680 test "$program_transform_name" = "" && program_transform_name="s,x,x," |
| 682 | 681 |
| 683 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 682 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 684 echo "configure:685: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 683 echo "configure:684: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 685 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 684 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 686 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 685 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
| 687 echo $ac_n "(cached) $ac_c" 1>&6 | 686 echo $ac_n "(cached) $ac_c" 1>&6 |
| 688 else | 687 else |
| 689 cat > conftestmake <<\EOF | 688 cat > conftestmake <<\EOF |
| 725 | 724 |
| 726 | 725 |
| 727 | 726 |
| 728 missing_dir=`cd $ac_aux_dir && pwd` | 727 missing_dir=`cd $ac_aux_dir && pwd` |
| 729 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | 728 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 |
| 730 echo "configure:731: checking for working aclocal" >&5 | 729 echo "configure:730: checking for working aclocal" >&5 |
| 731 # Run test in a subshell; some versions of sh will print an error if | 730 # Run test in a subshell; some versions of sh will print an error if |
| 732 # an executable is not found, even if stderr is redirected. | 731 # an executable is not found, even if stderr is redirected. |
| 733 # Redirect stdin to placate older versions of autoconf. Sigh. | 732 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 734 if (aclocal --version) < /dev/null > /dev/null 2>&1; then | 733 if (aclocal --version) < /dev/null > /dev/null 2>&1; then |
| 735 ACLOCAL=aclocal | 734 ACLOCAL=aclocal |
| 738 ACLOCAL="$missing_dir/missing aclocal" | 737 ACLOCAL="$missing_dir/missing aclocal" |
| 739 echo "$ac_t""missing" 1>&6 | 738 echo "$ac_t""missing" 1>&6 |
| 740 fi | 739 fi |
| 741 | 740 |
| 742 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | 741 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 |
| 743 echo "configure:744: checking for working autoconf" >&5 | 742 echo "configure:743: checking for working autoconf" >&5 |
| 744 # Run test in a subshell; some versions of sh will print an error if | 743 # Run test in a subshell; some versions of sh will print an error if |
| 745 # an executable is not found, even if stderr is redirected. | 744 # an executable is not found, even if stderr is redirected. |
| 746 # Redirect stdin to placate older versions of autoconf. Sigh. | 745 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 747 if (autoconf --version) < /dev/null > /dev/null 2>&1; then | 746 if (autoconf --version) < /dev/null > /dev/null 2>&1; then |
| 748 AUTOCONF=autoconf | 747 AUTOCONF=autoconf |
| 751 AUTOCONF="$missing_dir/missing autoconf" | 750 AUTOCONF="$missing_dir/missing autoconf" |
| 752 echo "$ac_t""missing" 1>&6 | 751 echo "$ac_t""missing" 1>&6 |
| 753 fi | 752 fi |
| 754 | 753 |
| 755 echo $ac_n "checking for working automake""... $ac_c" 1>&6 | 754 echo $ac_n "checking for working automake""... $ac_c" 1>&6 |
| 756 echo "configure:757: checking for working automake" >&5 | 755 echo "configure:756: checking for working automake" >&5 |
| 757 # Run test in a subshell; some versions of sh will print an error if | 756 # Run test in a subshell; some versions of sh will print an error if |
| 758 # an executable is not found, even if stderr is redirected. | 757 # an executable is not found, even if stderr is redirected. |
| 759 # Redirect stdin to placate older versions of autoconf. Sigh. | 758 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 760 if (automake --version) < /dev/null > /dev/null 2>&1; then | 759 if (automake --version) < /dev/null > /dev/null 2>&1; then |
| 761 AUTOMAKE=automake | 760 AUTOMAKE=automake |
| 764 AUTOMAKE="$missing_dir/missing automake" | 763 AUTOMAKE="$missing_dir/missing automake" |
| 765 echo "$ac_t""missing" 1>&6 | 764 echo "$ac_t""missing" 1>&6 |
| 766 fi | 765 fi |
| 767 | 766 |
| 768 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | 767 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 |
| 769 echo "configure:770: checking for working autoheader" >&5 | 768 echo "configure:769: checking for working autoheader" >&5 |
| 770 # Run test in a subshell; some versions of sh will print an error if | 769 # Run test in a subshell; some versions of sh will print an error if |
| 771 # an executable is not found, even if stderr is redirected. | 770 # an executable is not found, even if stderr is redirected. |
| 772 # Redirect stdin to placate older versions of autoconf. Sigh. | 771 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 773 if (autoheader --version) < /dev/null > /dev/null 2>&1; then | 772 if (autoheader --version) < /dev/null > /dev/null 2>&1; then |
| 774 AUTOHEADER=autoheader | 773 AUTOHEADER=autoheader |
| 777 AUTOHEADER="$missing_dir/missing autoheader" | 776 AUTOHEADER="$missing_dir/missing autoheader" |
| 778 echo "$ac_t""missing" 1>&6 | 777 echo "$ac_t""missing" 1>&6 |
| 779 fi | 778 fi |
| 780 | 779 |
| 781 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | 780 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 |
| 782 echo "configure:783: checking for working makeinfo" >&5 | 781 echo "configure:782: checking for working makeinfo" >&5 |
| 783 # Run test in a subshell; some versions of sh will print an error if | 782 # Run test in a subshell; some versions of sh will print an error if |
| 784 # an executable is not found, even if stderr is redirected. | 783 # an executable is not found, even if stderr is redirected. |
| 785 # Redirect stdin to placate older versions of autoconf. Sigh. | 784 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 786 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then | 785 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then |
| 787 MAKEINFO=makeinfo | 786 MAKEINFO=makeinfo |
| 810 | 809 |
| 811 | 810 |
| 812 # Extract the first word of "gcc", so it can be a program name with args. | 811 # Extract the first word of "gcc", so it can be a program name with args. |
| 813 set dummy gcc; ac_word=$2 | 812 set dummy gcc; ac_word=$2 |
| 814 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 813 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 815 echo "configure:816: checking for $ac_word" >&5 | 814 echo "configure:815: checking for $ac_word" >&5 |
| 816 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 815 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 817 echo $ac_n "(cached) $ac_c" 1>&6 | 816 echo $ac_n "(cached) $ac_c" 1>&6 |
| 818 else | 817 else |
| 819 if test -n "$CC"; then | 818 if test -n "$CC"; then |
| 820 ac_cv_prog_CC="$CC" # Let the user override the test. | 819 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 840 | 839 |
| 841 if test -z "$CC"; then | 840 if test -z "$CC"; then |
| 842 # Extract the first word of "cc", so it can be a program name with args. | 841 # Extract the first word of "cc", so it can be a program name with args. |
| 843 set dummy cc; ac_word=$2 | 842 set dummy cc; ac_word=$2 |
| 844 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 843 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 845 echo "configure:846: checking for $ac_word" >&5 | 844 echo "configure:845: checking for $ac_word" >&5 |
| 846 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 845 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 847 echo $ac_n "(cached) $ac_c" 1>&6 | 846 echo $ac_n "(cached) $ac_c" 1>&6 |
| 848 else | 847 else |
| 849 if test -n "$CC"; then | 848 if test -n "$CC"; then |
| 850 ac_cv_prog_CC="$CC" # Let the user override the test. | 849 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 891 case "`uname -s`" in | 890 case "`uname -s`" in |
| 892 *win32* | *WIN32*) | 891 *win32* | *WIN32*) |
| 893 # Extract the first word of "cl", so it can be a program name with args. | 892 # Extract the first word of "cl", so it can be a program name with args. |
| 894 set dummy cl; ac_word=$2 | 893 set dummy cl; ac_word=$2 |
| 895 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 894 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 896 echo "configure:897: checking for $ac_word" >&5 | 895 echo "configure:896: checking for $ac_word" >&5 |
| 897 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 896 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 898 echo $ac_n "(cached) $ac_c" 1>&6 | 897 echo $ac_n "(cached) $ac_c" 1>&6 |
| 899 else | 898 else |
| 900 if test -n "$CC"; then | 899 if test -n "$CC"; then |
| 901 ac_cv_prog_CC="$CC" # Let the user override the test. | 900 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 923 fi | 922 fi |
| 924 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 923 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 925 fi | 924 fi |
| 926 | 925 |
| 927 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 926 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 928 echo "configure:929: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 927 echo "configure:928: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 929 | 928 |
| 930 ac_ext=c | 929 ac_ext=c |
| 931 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 930 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| 932 ac_cpp='$CPP $CPPFLAGS' | 931 ac_cpp='$CPP $CPPFLAGS' |
| 933 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 932 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
| 934 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 933 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
| 935 cross_compiling=$ac_cv_prog_cc_cross | 934 cross_compiling=$ac_cv_prog_cc_cross |
| 936 | 935 |
| 937 cat > conftest.$ac_ext << EOF | 936 cat > conftest.$ac_ext << EOF |
| 938 | 937 |
| 939 #line 940 "configure" | 938 #line 939 "configure" |
| 940 #include "confdefs.h" | 939 #include "confdefs.h" |
| 941 | 940 |
| 942 main(){return(0);} | 941 main(){return(0);} |
| 943 EOF | 942 EOF |
| 944 if { (eval echo configure:945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 943 if { (eval echo configure:944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 945 ac_cv_prog_cc_works=yes | 944 ac_cv_prog_cc_works=yes |
| 946 # If we can't run a trivial program, we are probably using a cross compiler. | 945 # If we can't run a trivial program, we are probably using a cross compiler. |
| 947 if (./conftest; exit) 2>/dev/null; then | 946 if (./conftest; exit) 2>/dev/null; then |
| 948 ac_cv_prog_cc_cross=no | 947 ac_cv_prog_cc_cross=no |
| 949 else | 948 else |
| 965 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 964 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 966 if test $ac_cv_prog_cc_works = no; then | 965 if test $ac_cv_prog_cc_works = no; then |
| 967 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 966 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 968 fi | 967 fi |
| 969 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 968 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 970 echo "configure:971: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 969 echo "configure:970: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 971 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 970 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 972 cross_compiling=$ac_cv_prog_cc_cross | 971 cross_compiling=$ac_cv_prog_cc_cross |
| 973 | 972 |
| 974 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 973 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 975 echo "configure:976: checking whether we are using GNU C" >&5 | 974 echo "configure:975: checking whether we are using GNU C" >&5 |
| 976 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 975 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
| 977 echo $ac_n "(cached) $ac_c" 1>&6 | 976 echo $ac_n "(cached) $ac_c" 1>&6 |
| 978 else | 977 else |
| 979 cat > conftest.c <<EOF | 978 cat > conftest.c <<EOF |
| 980 #ifdef __GNUC__ | 979 #ifdef __GNUC__ |
| 981 yes; | 980 yes; |
| 982 #endif | 981 #endif |
| 983 EOF | 982 EOF |
| 984 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 983 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 985 ac_cv_prog_gcc=yes | 984 ac_cv_prog_gcc=yes |
| 986 else | 985 else |
| 987 ac_cv_prog_gcc=no | 986 ac_cv_prog_gcc=no |
| 988 fi | 987 fi |
| 989 fi | 988 fi |
| 998 | 997 |
| 999 ac_test_CFLAGS="${CFLAGS+set}" | 998 ac_test_CFLAGS="${CFLAGS+set}" |
| 1000 ac_save_CFLAGS="$CFLAGS" | 999 ac_save_CFLAGS="$CFLAGS" |
| 1001 CFLAGS= | 1000 CFLAGS= |
| 1002 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1001 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1003 echo "configure:1004: checking whether ${CC-cc} accepts -g" >&5 | 1002 echo "configure:1003: checking whether ${CC-cc} accepts -g" >&5 |
| 1004 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 1003 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
| 1005 echo $ac_n "(cached) $ac_c" 1>&6 | 1004 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1006 else | 1005 else |
| 1007 echo 'void f(){}' > conftest.c | 1006 echo 'void f(){}' > conftest.c |
| 1008 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1007 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1030 CFLAGS= | 1029 CFLAGS= |
| 1031 fi | 1030 fi |
| 1032 fi | 1031 fi |
| 1033 | 1032 |
| 1034 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1033 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1035 echo "configure:1036: checking how to run the C preprocessor" >&5 | 1034 echo "configure:1035: checking how to run the C preprocessor" >&5 |
| 1036 # On Suns, sometimes $CPP names a directory. | 1035 # On Suns, sometimes $CPP names a directory. |
| 1037 if test -n "$CPP" && test -d "$CPP"; then | 1036 if test -n "$CPP" && test -d "$CPP"; then |
| 1038 CPP= | 1037 CPP= |
| 1039 fi | 1038 fi |
| 1040 if test -z "$CPP"; then | 1039 if test -z "$CPP"; then |
| 1045 # substituted into the Makefile and "${CC-cc}" will confuse make. | 1044 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 1046 CPP="${CC-cc} -E" | 1045 CPP="${CC-cc} -E" |
| 1047 # On the NeXT, cc -E runs the code through the compiler's parser, | 1046 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 1048 # not just through cpp. | 1047 # not just through cpp. |
| 1049 cat > conftest.$ac_ext <<EOF | 1048 cat > conftest.$ac_ext <<EOF |
| 1050 #line 1051 "configure" | 1049 #line 1050 "configure" |
| 1051 #include "confdefs.h" | 1050 #include "confdefs.h" |
| 1052 #include <assert.h> | 1051 #include <assert.h> |
| 1053 Syntax Error | 1052 Syntax Error |
| 1054 EOF | 1053 EOF |
| 1055 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1054 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1056 { (eval echo configure:1057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1055 { (eval echo configure:1056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1057 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1056 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1058 if test -z "$ac_err"; then | 1057 if test -z "$ac_err"; then |
| 1059 : | 1058 : |
| 1060 else | 1059 else |
| 1061 echo "$ac_err" >&5 | 1060 echo "$ac_err" >&5 |
| 1062 echo "configure: failed program was:" >&5 | 1061 echo "configure: failed program was:" >&5 |
| 1063 cat conftest.$ac_ext >&5 | 1062 cat conftest.$ac_ext >&5 |
| 1064 rm -rf conftest* | 1063 rm -rf conftest* |
| 1065 CPP="${CC-cc} -E -traditional-cpp" | 1064 CPP="${CC-cc} -E -traditional-cpp" |
| 1066 cat > conftest.$ac_ext <<EOF | 1065 cat > conftest.$ac_ext <<EOF |
| 1067 #line 1068 "configure" | 1066 #line 1067 "configure" |
| 1068 #include "confdefs.h" | 1067 #include "confdefs.h" |
| 1069 #include <assert.h> | 1068 #include <assert.h> |
| 1070 Syntax Error | 1069 Syntax Error |
| 1071 EOF | 1070 EOF |
| 1072 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1071 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1073 { (eval echo configure:1074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1072 { (eval echo configure:1073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1074 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1073 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1075 if test -z "$ac_err"; then | 1074 if test -z "$ac_err"; then |
| 1076 : | 1075 : |
| 1077 else | 1076 else |
| 1078 echo "$ac_err" >&5 | 1077 echo "$ac_err" >&5 |
| 1079 echo "configure: failed program was:" >&5 | 1078 echo "configure: failed program was:" >&5 |
| 1080 cat conftest.$ac_ext >&5 | 1079 cat conftest.$ac_ext >&5 |
| 1081 rm -rf conftest* | 1080 rm -rf conftest* |
| 1082 CPP="${CC-cc} -nologo -E" | 1081 CPP="${CC-cc} -nologo -E" |
| 1083 cat > conftest.$ac_ext <<EOF | 1082 cat > conftest.$ac_ext <<EOF |
| 1084 #line 1085 "configure" | 1083 #line 1084 "configure" |
| 1085 #include "confdefs.h" | 1084 #include "confdefs.h" |
| 1086 #include <assert.h> | 1085 #include <assert.h> |
| 1087 Syntax Error | 1086 Syntax Error |
| 1088 EOF | 1087 EOF |
| 1089 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1088 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1090 { (eval echo configure:1091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1089 { (eval echo configure:1090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1091 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1090 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1092 if test -z "$ac_err"; then | 1091 if test -z "$ac_err"; then |
| 1093 : | 1092 : |
| 1094 else | 1093 else |
| 1095 echo "$ac_err" >&5 | 1094 echo "$ac_err" >&5 |
| 1111 fi | 1110 fi |
| 1112 echo "$ac_t""$CPP" 1>&6 | 1111 echo "$ac_t""$CPP" 1>&6 |
| 1113 | 1112 |
| 1114 if test $ac_cv_prog_gcc = yes; then | 1113 if test $ac_cv_prog_gcc = yes; then |
| 1115 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 | 1114 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 |
| 1116 echo "configure:1117: checking whether ${CC-cc} needs -traditional" >&5 | 1115 echo "configure:1116: checking whether ${CC-cc} needs -traditional" >&5 |
| 1117 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then | 1116 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then |
| 1118 echo $ac_n "(cached) $ac_c" 1>&6 | 1117 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1119 else | 1118 else |
| 1120 ac_pattern="Autoconf.*'x'" | 1119 ac_pattern="Autoconf.*'x'" |
| 1121 cat > conftest.$ac_ext <<EOF | 1120 cat > conftest.$ac_ext <<EOF |
| 1122 #line 1123 "configure" | 1121 #line 1122 "configure" |
| 1123 #include "confdefs.h" | 1122 #include "confdefs.h" |
| 1124 #include <sgtty.h> | 1123 #include <sgtty.h> |
| 1125 Autoconf TIOCGETP | 1124 Autoconf TIOCGETP |
| 1126 EOF | 1125 EOF |
| 1127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1135 rm -f conftest* | 1134 rm -f conftest* |
| 1136 | 1135 |
| 1137 | 1136 |
| 1138 if test $ac_cv_prog_gcc_traditional = no; then | 1137 if test $ac_cv_prog_gcc_traditional = no; then |
| 1139 cat > conftest.$ac_ext <<EOF | 1138 cat > conftest.$ac_ext <<EOF |
| 1140 #line 1141 "configure" | 1139 #line 1140 "configure" |
| 1141 #include "confdefs.h" | 1140 #include "confdefs.h" |
| 1142 #include <termio.h> | 1141 #include <termio.h> |
| 1143 Autoconf TCGETA | 1142 Autoconf TCGETA |
| 1144 EOF | 1143 EOF |
| 1145 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1168 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 1167 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 1169 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 1168 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 1170 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 1169 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 1171 # ./install, which can be erroneously created by make from ./install.sh. | 1170 # ./install, which can be erroneously created by make from ./install.sh. |
| 1172 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 1171 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 1173 echo "configure:1174: checking for a BSD compatible install" >&5 | 1172 echo "configure:1173: checking for a BSD compatible install" >&5 |
| 1174 if test -z "$INSTALL"; then | 1173 if test -z "$INSTALL"; then |
| 1175 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 1174 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
| 1176 echo $ac_n "(cached) $ac_c" 1>&6 | 1175 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1177 else | 1176 else |
| 1178 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 1177 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
| 1221 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | 1220 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
| 1222 | 1221 |
| 1223 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 1222 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 1224 | 1223 |
| 1225 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 1224 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 1226 echo "configure:1227: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 1225 echo "configure:1226: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 1227 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 1226 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 1228 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 1227 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
| 1229 echo $ac_n "(cached) $ac_c" 1>&6 | 1228 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1230 else | 1229 else |
| 1231 cat > conftestmake <<\EOF | 1230 cat > conftestmake <<\EOF |
| 1251 | 1250 |
| 1252 | 1251 |
| 1253 # Extract the first word of "sendmail", so it can be a program name with args. | 1252 # Extract the first word of "sendmail", so it can be a program name with args. |
| 1254 set dummy sendmail; ac_word=$2 | 1253 set dummy sendmail; ac_word=$2 |
| 1255 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1254 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1256 echo "configure:1257: checking for $ac_word" >&5 | 1255 echo "configure:1256: checking for $ac_word" >&5 |
| 1257 if eval "test \"`echo '$''{'ac_cv_path_SENDMAILPROG'+set}'`\" = set"; then | 1256 if eval "test \"`echo '$''{'ac_cv_path_SENDMAILPROG'+set}'`\" = set"; then |
| 1258 echo $ac_n "(cached) $ac_c" 1>&6 | 1257 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1259 else | 1258 else |
| 1260 case "$SENDMAILPROG" in | 1259 case "$SENDMAILPROG" in |
| 1261 /*) | 1260 /*) |
| 1290 { echo "configure: error: sendmail program not found in /usr/lib:/usr/sbin:$PATH ." 1>&2; exit 1; } | 1289 { echo "configure: error: sendmail program not found in /usr/lib:/usr/sbin:$PATH ." 1>&2; exit 1; } |
| 1291 fi | 1290 fi |
| 1292 | 1291 |
| 1293 | 1292 |
| 1294 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 1293 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 1295 echo "configure:1296: checking for AIX" >&5 | 1294 echo "configure:1295: checking for AIX" >&5 |
| 1296 cat > conftest.$ac_ext <<EOF | 1295 cat > conftest.$ac_ext <<EOF |
| 1297 #line 1298 "configure" | 1296 #line 1297 "configure" |
| 1298 #include "confdefs.h" | 1297 #include "confdefs.h" |
| 1299 #ifdef _AIX | 1298 #ifdef _AIX |
| 1300 yes | 1299 yes |
| 1301 #endif | 1300 #endif |
| 1302 | 1301 |
| 1314 fi | 1313 fi |
| 1315 rm -f conftest* | 1314 rm -f conftest* |
| 1316 | 1315 |
| 1317 | 1316 |
| 1318 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 | 1317 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 |
| 1319 echo "configure:1320: checking for POSIXized ISC" >&5 | 1318 echo "configure:1319: checking for POSIXized ISC" >&5 |
| 1320 if test -d /etc/conf/kconfig.d && | 1319 if test -d /etc/conf/kconfig.d && |
| 1321 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 | 1320 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 |
| 1322 then | 1321 then |
| 1323 echo "$ac_t""yes" 1>&6 | 1322 echo "$ac_t""yes" 1>&6 |
| 1324 ISC=yes # If later tests want to check for ISC. | 1323 ISC=yes # If later tests want to check for ISC. |
| 1336 ISC= | 1335 ISC= |
| 1337 fi | 1336 fi |
| 1338 | 1337 |
| 1339 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` | 1338 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` |
| 1340 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 | 1339 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 |
| 1341 echo "configure:1342: checking for minix/config.h" >&5 | 1340 echo "configure:1341: checking for minix/config.h" >&5 |
| 1342 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1341 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 1343 echo $ac_n "(cached) $ac_c" 1>&6 | 1342 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1344 else | 1343 else |
| 1345 cat > conftest.$ac_ext <<EOF | 1344 cat > conftest.$ac_ext <<EOF |
| 1346 #line 1347 "configure" | 1345 #line 1346 "configure" |
| 1347 #include "confdefs.h" | 1346 #include "confdefs.h" |
| 1348 #include <minix/config.h> | 1347 #include <minix/config.h> |
| 1349 EOF | 1348 EOF |
| 1350 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1349 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1351 { (eval echo configure:1352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1350 { (eval echo configure:1351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1352 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1351 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1353 if test -z "$ac_err"; then | 1352 if test -z "$ac_err"; then |
| 1354 rm -rf conftest* | 1353 rm -rf conftest* |
| 1355 eval "ac_cv_header_$ac_safe=yes" | 1354 eval "ac_cv_header_$ac_safe=yes" |
| 1356 else | 1355 else |
| 1395 # candidate. So, let's use it below instead of gethostbyname, and see. | 1394 # candidate. So, let's use it below instead of gethostbyname, and see. |
| 1396 | 1395 |
| 1397 # [ This is ripped from GNU tar. ] | 1396 # [ This is ripped from GNU tar. ] |
| 1398 | 1397 |
| 1399 echo $ac_n "checking for gethostent""... $ac_c" 1>&6 | 1398 echo $ac_n "checking for gethostent""... $ac_c" 1>&6 |
| 1400 echo "configure:1401: checking for gethostent" >&5 | 1399 echo "configure:1400: checking for gethostent" >&5 |
| 1401 if eval "test \"`echo '$''{'ac_cv_func_gethostent'+set}'`\" = set"; then | 1400 if eval "test \"`echo '$''{'ac_cv_func_gethostent'+set}'`\" = set"; then |
| 1402 echo $ac_n "(cached) $ac_c" 1>&6 | 1401 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1403 else | 1402 else |
| 1404 cat > conftest.$ac_ext <<EOF | 1403 cat > conftest.$ac_ext <<EOF |
| 1405 #line 1406 "configure" | 1404 #line 1405 "configure" |
| 1406 #include "confdefs.h" | 1405 #include "confdefs.h" |
| 1407 /* System header to define __stub macros and hopefully few prototypes, | 1406 /* System header to define __stub macros and hopefully few prototypes, |
| 1408 which can conflict with char gethostent(); below. */ | 1407 which can conflict with char gethostent(); below. */ |
| 1409 #include <assert.h> | 1408 #include <assert.h> |
| 1410 /* Override any gcc2 internal prototype to avoid an error. */ | 1409 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1423 gethostent(); | 1422 gethostent(); |
| 1424 #endif | 1423 #endif |
| 1425 | 1424 |
| 1426 ; return 0; } | 1425 ; return 0; } |
| 1427 EOF | 1426 EOF |
| 1428 if { (eval echo configure:1429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1427 if { (eval echo configure:1428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1429 rm -rf conftest* | 1428 rm -rf conftest* |
| 1430 eval "ac_cv_func_gethostent=yes" | 1429 eval "ac_cv_func_gethostent=yes" |
| 1431 else | 1430 else |
| 1432 echo "configure: failed program was:" >&5 | 1431 echo "configure: failed program was:" >&5 |
| 1433 cat conftest.$ac_ext >&5 | 1432 cat conftest.$ac_ext >&5 |
| 1444 echo "$ac_t""no" 1>&6 | 1443 echo "$ac_t""no" 1>&6 |
| 1445 fi | 1444 fi |
| 1446 | 1445 |
| 1447 if test $ac_cv_func_gethostent = no; then | 1446 if test $ac_cv_func_gethostent = no; then |
| 1448 echo $ac_n "checking for gethostent in -lnsl""... $ac_c" 1>&6 | 1447 echo $ac_n "checking for gethostent in -lnsl""... $ac_c" 1>&6 |
| 1449 echo "configure:1450: checking for gethostent in -lnsl" >&5 | 1448 echo "configure:1449: checking for gethostent in -lnsl" >&5 |
| 1450 ac_lib_var=`echo nsl'_'gethostent | sed 'y%./+-%__p_%'` | 1449 ac_lib_var=`echo nsl'_'gethostent | sed 'y%./+-%__p_%'` |
| 1451 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1450 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 1452 echo $ac_n "(cached) $ac_c" 1>&6 | 1451 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1453 else | 1452 else |
| 1454 ac_save_LIBS="$LIBS" | 1453 ac_save_LIBS="$LIBS" |
| 1455 LIBS="-lnsl $LIBS" | 1454 LIBS="-lnsl $LIBS" |
| 1456 cat > conftest.$ac_ext <<EOF | 1455 cat > conftest.$ac_ext <<EOF |
| 1457 #line 1458 "configure" | 1456 #line 1457 "configure" |
| 1458 #include "confdefs.h" | 1457 #include "confdefs.h" |
| 1459 /* Override any gcc2 internal prototype to avoid an error. */ | 1458 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1460 /* We use char because int might match the return type of a gcc2 | 1459 /* We use char because int might match the return type of a gcc2 |
| 1461 builtin and then its argument prototype would still apply. */ | 1460 builtin and then its argument prototype would still apply. */ |
| 1462 char gethostent(); | 1461 char gethostent(); |
| 1463 | 1462 |
| 1464 int main() { | 1463 int main() { |
| 1465 gethostent() | 1464 gethostent() |
| 1466 ; return 0; } | 1465 ; return 0; } |
| 1467 EOF | 1466 EOF |
| 1468 if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1467 if { (eval echo configure:1468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1469 rm -rf conftest* | 1468 rm -rf conftest* |
| 1470 eval "ac_cv_lib_$ac_lib_var=yes" | 1469 eval "ac_cv_lib_$ac_lib_var=yes" |
| 1471 else | 1470 else |
| 1472 echo "configure: failed program was:" >&5 | 1471 echo "configure: failed program was:" >&5 |
| 1473 cat conftest.$ac_ext >&5 | 1472 cat conftest.$ac_ext >&5 |
| 1492 echo "$ac_t""no" 1>&6 | 1491 echo "$ac_t""no" 1>&6 |
| 1493 fi | 1492 fi |
| 1494 | 1493 |
| 1495 fi | 1494 fi |
| 1496 echo $ac_n "checking for setsockopt""... $ac_c" 1>&6 | 1495 echo $ac_n "checking for setsockopt""... $ac_c" 1>&6 |
| 1497 echo "configure:1498: checking for setsockopt" >&5 | 1496 echo "configure:1497: checking for setsockopt" >&5 |
| 1498 if eval "test \"`echo '$''{'ac_cv_func_setsockopt'+set}'`\" = set"; then | 1497 if eval "test \"`echo '$''{'ac_cv_func_setsockopt'+set}'`\" = set"; then |
| 1499 echo $ac_n "(cached) $ac_c" 1>&6 | 1498 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1500 else | 1499 else |
| 1501 cat > conftest.$ac_ext <<EOF | 1500 cat > conftest.$ac_ext <<EOF |
| 1502 #line 1503 "configure" | 1501 #line 1502 "configure" |
| 1503 #include "confdefs.h" | 1502 #include "confdefs.h" |
| 1504 /* System header to define __stub macros and hopefully few prototypes, | 1503 /* System header to define __stub macros and hopefully few prototypes, |
| 1505 which can conflict with char setsockopt(); below. */ | 1504 which can conflict with char setsockopt(); below. */ |
| 1506 #include <assert.h> | 1505 #include <assert.h> |
| 1507 /* Override any gcc2 internal prototype to avoid an error. */ | 1506 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1520 setsockopt(); | 1519 setsockopt(); |
| 1521 #endif | 1520 #endif |
| 1522 | 1521 |
| 1523 ; return 0; } | 1522 ; return 0; } |
| 1524 EOF | 1523 EOF |
| 1525 if { (eval echo configure:1526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1524 if { (eval echo configure:1525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1526 rm -rf conftest* | 1525 rm -rf conftest* |
| 1527 eval "ac_cv_func_setsockopt=yes" | 1526 eval "ac_cv_func_setsockopt=yes" |
| 1528 else | 1527 else |
| 1529 echo "configure: failed program was:" >&5 | 1528 echo "configure: failed program was:" >&5 |
| 1530 cat conftest.$ac_ext >&5 | 1529 cat conftest.$ac_ext >&5 |
| 1541 echo "$ac_t""no" 1>&6 | 1540 echo "$ac_t""no" 1>&6 |
| 1542 fi | 1541 fi |
| 1543 | 1542 |
| 1544 if test $ac_cv_func_setsockopt = no; then | 1543 if test $ac_cv_func_setsockopt = no; then |
| 1545 echo $ac_n "checking for setsockopt in -lsocket""... $ac_c" 1>&6 | 1544 echo $ac_n "checking for setsockopt in -lsocket""... $ac_c" 1>&6 |
| 1546 echo "configure:1547: checking for setsockopt in -lsocket" >&5 | 1545 echo "configure:1546: checking for setsockopt in -lsocket" >&5 |
| 1547 ac_lib_var=`echo socket'_'setsockopt | sed 'y%./+-%__p_%'` | 1546 ac_lib_var=`echo socket'_'setsockopt | sed 'y%./+-%__p_%'` |
| 1548 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1547 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 1549 echo $ac_n "(cached) $ac_c" 1>&6 | 1548 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1550 else | 1549 else |
| 1551 ac_save_LIBS="$LIBS" | 1550 ac_save_LIBS="$LIBS" |
| 1552 LIBS="-lsocket $LIBS" | 1551 LIBS="-lsocket $LIBS" |
| 1553 cat > conftest.$ac_ext <<EOF | 1552 cat > conftest.$ac_ext <<EOF |
| 1554 #line 1555 "configure" | 1553 #line 1554 "configure" |
| 1555 #include "confdefs.h" | 1554 #include "confdefs.h" |
| 1556 /* Override any gcc2 internal prototype to avoid an error. */ | 1555 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1557 /* We use char because int might match the return type of a gcc2 | 1556 /* We use char because int might match the return type of a gcc2 |
| 1558 builtin and then its argument prototype would still apply. */ | 1557 builtin and then its argument prototype would still apply. */ |
| 1559 char setsockopt(); | 1558 char setsockopt(); |
| 1560 | 1559 |
| 1561 int main() { | 1560 int main() { |
| 1562 setsockopt() | 1561 setsockopt() |
| 1563 ; return 0; } | 1562 ; return 0; } |
| 1564 EOF | 1563 EOF |
| 1565 if { (eval echo configure:1566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1564 if { (eval echo configure:1565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1566 rm -rf conftest* | 1565 rm -rf conftest* |
| 1567 eval "ac_cv_lib_$ac_lib_var=yes" | 1566 eval "ac_cv_lib_$ac_lib_var=yes" |
| 1568 else | 1567 else |
| 1569 echo "configure: failed program was:" >&5 | 1568 echo "configure: failed program was:" >&5 |
| 1570 cat conftest.$ac_ext >&5 | 1569 cat conftest.$ac_ext >&5 |
| 1589 echo "$ac_t""no" 1>&6 | 1588 echo "$ac_t""no" 1>&6 |
| 1590 fi | 1589 fi |
| 1591 | 1590 |
| 1592 fi | 1591 fi |
| 1593 | 1592 |
| 1593 # Check whether --with-gdbm-include or --without-gdbm-include was given. | |
| 1594 if test "${with_gdbm_include+set}" = set; then | |
| 1595 withval="$with_gdbm_include" | |
| 1596 CPPFLAGS="$CFLAGS -I$withval" | |
| 1597 | |
| 1598 fi | |
| 1599 | |
| 1600 # Check whether --with-gdbm-libdir or --without-gdbm-libdir was given. | |
| 1601 if test "${with_gdbm_libdir+set}" = set; then | |
| 1602 withval="$with_gdbm_libdir" | |
| 1603 LIBS="$LIBS -L$withval" | |
| 1604 | |
| 1605 fi | |
| 1594 | 1606 |
| 1595 echo $ac_n "checking for gdbm_open in -lgdbm""... $ac_c" 1>&6 | 1607 echo $ac_n "checking for gdbm_open in -lgdbm""... $ac_c" 1>&6 |
| 1596 echo "configure:1597: checking for gdbm_open in -lgdbm" >&5 | 1608 echo "configure:1609: checking for gdbm_open in -lgdbm" >&5 |
| 1597 ac_lib_var=`echo gdbm'_'gdbm_open | sed 'y%./+-%__p_%'` | 1609 ac_lib_var=`echo gdbm'_'gdbm_open | sed 'y%./+-%__p_%'` |
| 1598 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1610 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 1599 echo $ac_n "(cached) $ac_c" 1>&6 | 1611 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1600 else | 1612 else |
| 1601 ac_save_LIBS="$LIBS" | 1613 ac_save_LIBS="$LIBS" |
| 1602 LIBS="-lgdbm $LIBS" | 1614 LIBS="-lgdbm $LIBS" |
| 1603 cat > conftest.$ac_ext <<EOF | 1615 cat > conftest.$ac_ext <<EOF |
| 1604 #line 1605 "configure" | 1616 #line 1617 "configure" |
| 1605 #include "confdefs.h" | 1617 #include "confdefs.h" |
| 1606 /* Override any gcc2 internal prototype to avoid an error. */ | 1618 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1607 /* We use char because int might match the return type of a gcc2 | 1619 /* We use char because int might match the return type of a gcc2 |
| 1608 builtin and then its argument prototype would still apply. */ | 1620 builtin and then its argument prototype would still apply. */ |
| 1609 char gdbm_open(); | 1621 char gdbm_open(); |
| 1610 | 1622 |
| 1611 int main() { | 1623 int main() { |
| 1612 gdbm_open() | 1624 gdbm_open() |
| 1613 ; return 0; } | 1625 ; return 0; } |
| 1614 EOF | 1626 EOF |
| 1615 if { (eval echo configure:1616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1627 if { (eval echo configure:1628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1616 rm -rf conftest* | 1628 rm -rf conftest* |
| 1617 eval "ac_cv_lib_$ac_lib_var=yes" | 1629 eval "ac_cv_lib_$ac_lib_var=yes" |
| 1618 else | 1630 else |
| 1619 echo "configure: failed program was:" >&5 | 1631 echo "configure: failed program was:" >&5 |
| 1620 cat conftest.$ac_ext >&5 | 1632 cat conftest.$ac_ext >&5 |
| 1625 LIBS="$ac_save_LIBS" | 1637 LIBS="$ac_save_LIBS" |
| 1626 | 1638 |
| 1627 fi | 1639 fi |
| 1628 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | 1640 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
| 1629 echo "$ac_t""yes" 1>&6 | 1641 echo "$ac_t""yes" 1>&6 |
| 1630 ac_tr_lib=HAVE_LIB`echo gdbm | sed -e 's/[^a-zA-Z0-9_]/_/g' \ | 1642 ac_safe=`echo "gdbm.h" | sed 'y%./+-%__p_%'` |
| 1631 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | 1643 echo $ac_n "checking for gdbm.h""... $ac_c" 1>&6 |
| 1632 cat >> confdefs.h <<EOF | 1644 echo "configure:1645: checking for gdbm.h" >&5 |
| 1633 #define $ac_tr_lib 1 | 1645 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 1634 EOF | 1646 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1635 | 1647 else |
| 1636 LIBS="-lgdbm $LIBS" | 1648 cat > conftest.$ac_ext <<EOF |
| 1637 | 1649 #line 1650 "configure" |
| 1650 #include "confdefs.h" | |
| 1651 #include <gdbm.h> | |
| 1652 EOF | |
| 1653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
| 1654 { (eval echo configure:1655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
| 1655 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
| 1656 if test -z "$ac_err"; then | |
| 1657 rm -rf conftest* | |
| 1658 eval "ac_cv_header_$ac_safe=yes" | |
| 1659 else | |
| 1660 echo "$ac_err" >&5 | |
| 1661 echo "configure: failed program was:" >&5 | |
| 1662 cat conftest.$ac_ext >&5 | |
| 1663 rm -rf conftest* | |
| 1664 eval "ac_cv_header_$ac_safe=no" | |
| 1665 fi | |
| 1666 rm -f conftest* | |
| 1667 fi | |
| 1668 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
| 1669 echo "$ac_t""yes" 1>&6 | |
| 1670 : | |
| 1638 else | 1671 else |
| 1639 echo "$ac_t""no" 1>&6 | 1672 echo "$ac_t""no" 1>&6 |
| 1640 fi | 1673 { echo "configure: error: cannot find gdbm.h" 1>&2; exit 1; } |
| 1641 | 1674 fi |
| 1675 | |
| 1676 else | |
| 1677 echo "$ac_t""no" 1>&6 | |
| 1678 { echo "configure: error: cannot find libgdbm" 1>&2; exit 1; } | |
| 1679 fi | |
| 1642 | 1680 |
| 1643 | 1681 |
| 1644 | 1682 |
| 1645 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 1683 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 1646 echo "configure:1647: checking for ANSI C header files" >&5 | 1684 echo "configure:1685: checking for ANSI C header files" >&5 |
| 1647 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 1685 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
| 1648 echo $ac_n "(cached) $ac_c" 1>&6 | 1686 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1649 else | 1687 else |
| 1650 cat > conftest.$ac_ext <<EOF | 1688 cat > conftest.$ac_ext <<EOF |
| 1651 #line 1652 "configure" | 1689 #line 1690 "configure" |
| 1652 #include "confdefs.h" | 1690 #include "confdefs.h" |
| 1653 #include <stdlib.h> | 1691 #include <stdlib.h> |
| 1654 #include <stdarg.h> | 1692 #include <stdarg.h> |
| 1655 #include <string.h> | 1693 #include <string.h> |
| 1656 #include <float.h> | 1694 #include <float.h> |
| 1657 EOF | 1695 EOF |
| 1658 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1659 { (eval echo configure:1660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1697 { (eval echo configure:1698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1660 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1661 if test -z "$ac_err"; then | 1699 if test -z "$ac_err"; then |
| 1662 rm -rf conftest* | 1700 rm -rf conftest* |
| 1663 ac_cv_header_stdc=yes | 1701 ac_cv_header_stdc=yes |
| 1664 else | 1702 else |
| 1671 rm -f conftest* | 1709 rm -f conftest* |
| 1672 | 1710 |
| 1673 if test $ac_cv_header_stdc = yes; then | 1711 if test $ac_cv_header_stdc = yes; then |
| 1674 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 1712 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 1675 cat > conftest.$ac_ext <<EOF | 1713 cat > conftest.$ac_ext <<EOF |
| 1676 #line 1677 "configure" | 1714 #line 1715 "configure" |
| 1677 #include "confdefs.h" | 1715 #include "confdefs.h" |
| 1678 #include <string.h> | 1716 #include <string.h> |
| 1679 EOF | 1717 EOF |
| 1680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1681 egrep "memchr" >/dev/null 2>&1; then | 1719 egrep "memchr" >/dev/null 2>&1; then |
| 1689 fi | 1727 fi |
| 1690 | 1728 |
| 1691 if test $ac_cv_header_stdc = yes; then | 1729 if test $ac_cv_header_stdc = yes; then |
| 1692 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 1730 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 1693 cat > conftest.$ac_ext <<EOF | 1731 cat > conftest.$ac_ext <<EOF |
| 1694 #line 1695 "configure" | 1732 #line 1733 "configure" |
| 1695 #include "confdefs.h" | 1733 #include "confdefs.h" |
| 1696 #include <stdlib.h> | 1734 #include <stdlib.h> |
| 1697 EOF | 1735 EOF |
| 1698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 1736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 1699 egrep "free" >/dev/null 2>&1; then | 1737 egrep "free" >/dev/null 2>&1; then |
| 1710 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 1748 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 1711 if test "$cross_compiling" = yes; then | 1749 if test "$cross_compiling" = yes; then |
| 1712 : | 1750 : |
| 1713 else | 1751 else |
| 1714 cat > conftest.$ac_ext <<EOF | 1752 cat > conftest.$ac_ext <<EOF |
| 1715 #line 1716 "configure" | 1753 #line 1754 "configure" |
| 1716 #include "confdefs.h" | 1754 #include "confdefs.h" |
| 1717 #include <ctype.h> | 1755 #include <ctype.h> |
| 1718 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 1756 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 1719 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 1757 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 1720 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 1758 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 1721 int main () { int i; for (i = 0; i < 256; i++) | 1759 int main () { int i; for (i = 0; i < 256; i++) |
| 1722 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 1760 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 1723 exit (0); } | 1761 exit (0); } |
| 1724 | 1762 |
| 1725 EOF | 1763 EOF |
| 1726 if { (eval echo configure:1727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1764 if { (eval echo configure:1765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 1727 then | 1765 then |
| 1728 : | 1766 : |
| 1729 else | 1767 else |
| 1730 echo "configure: failed program was:" >&5 | 1768 echo "configure: failed program was:" >&5 |
| 1731 cat conftest.$ac_ext >&5 | 1769 cat conftest.$ac_ext >&5 |
| 1749 ac_header_dirent=no | 1787 ac_header_dirent=no |
| 1750 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h | 1788 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h |
| 1751 do | 1789 do |
| 1752 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1790 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 1753 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 | 1791 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 |
| 1754 echo "configure:1755: checking for $ac_hdr that defines DIR" >&5 | 1792 echo "configure:1793: checking for $ac_hdr that defines DIR" >&5 |
| 1755 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then | 1793 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then |
| 1756 echo $ac_n "(cached) $ac_c" 1>&6 | 1794 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1757 else | 1795 else |
| 1758 cat > conftest.$ac_ext <<EOF | 1796 cat > conftest.$ac_ext <<EOF |
| 1759 #line 1760 "configure" | 1797 #line 1798 "configure" |
| 1760 #include "confdefs.h" | 1798 #include "confdefs.h" |
| 1761 #include <sys/types.h> | 1799 #include <sys/types.h> |
| 1762 #include <$ac_hdr> | 1800 #include <$ac_hdr> |
| 1763 int main() { | 1801 int main() { |
| 1764 DIR *dirp = 0; | 1802 DIR *dirp = 0; |
| 1765 ; return 0; } | 1803 ; return 0; } |
| 1766 EOF | 1804 EOF |
| 1767 if { (eval echo configure:1768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1805 if { (eval echo configure:1806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1768 rm -rf conftest* | 1806 rm -rf conftest* |
| 1769 eval "ac_cv_header_dirent_$ac_safe=yes" | 1807 eval "ac_cv_header_dirent_$ac_safe=yes" |
| 1770 else | 1808 else |
| 1771 echo "configure: failed program was:" >&5 | 1809 echo "configure: failed program was:" >&5 |
| 1772 cat conftest.$ac_ext >&5 | 1810 cat conftest.$ac_ext >&5 |
| 1787 fi | 1825 fi |
| 1788 done | 1826 done |
| 1789 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | 1827 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
| 1790 if test $ac_header_dirent = dirent.h; then | 1828 if test $ac_header_dirent = dirent.h; then |
| 1791 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 | 1829 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 |
| 1792 echo "configure:1793: checking for opendir in -ldir" >&5 | 1830 echo "configure:1831: checking for opendir in -ldir" >&5 |
| 1793 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` | 1831 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` |
| 1794 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1832 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 1795 echo $ac_n "(cached) $ac_c" 1>&6 | 1833 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1796 else | 1834 else |
| 1797 ac_save_LIBS="$LIBS" | 1835 ac_save_LIBS="$LIBS" |
| 1798 LIBS="-ldir $LIBS" | 1836 LIBS="-ldir $LIBS" |
| 1799 cat > conftest.$ac_ext <<EOF | 1837 cat > conftest.$ac_ext <<EOF |
| 1800 #line 1801 "configure" | 1838 #line 1839 "configure" |
| 1801 #include "confdefs.h" | 1839 #include "confdefs.h" |
| 1802 /* Override any gcc2 internal prototype to avoid an error. */ | 1840 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1803 /* We use char because int might match the return type of a gcc2 | 1841 /* We use char because int might match the return type of a gcc2 |
| 1804 builtin and then its argument prototype would still apply. */ | 1842 builtin and then its argument prototype would still apply. */ |
| 1805 char opendir(); | 1843 char opendir(); |
| 1806 | 1844 |
| 1807 int main() { | 1845 int main() { |
| 1808 opendir() | 1846 opendir() |
| 1809 ; return 0; } | 1847 ; return 0; } |
| 1810 EOF | 1848 EOF |
| 1811 if { (eval echo configure:1812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1849 if { (eval echo configure:1850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1812 rm -rf conftest* | 1850 rm -rf conftest* |
| 1813 eval "ac_cv_lib_$ac_lib_var=yes" | 1851 eval "ac_cv_lib_$ac_lib_var=yes" |
| 1814 else | 1852 else |
| 1815 echo "configure: failed program was:" >&5 | 1853 echo "configure: failed program was:" >&5 |
| 1816 cat conftest.$ac_ext >&5 | 1854 cat conftest.$ac_ext >&5 |
| 1828 echo "$ac_t""no" 1>&6 | 1866 echo "$ac_t""no" 1>&6 |
| 1829 fi | 1867 fi |
| 1830 | 1868 |
| 1831 else | 1869 else |
| 1832 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 | 1870 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 |
| 1833 echo "configure:1834: checking for opendir in -lx" >&5 | 1871 echo "configure:1872: checking for opendir in -lx" >&5 |
| 1834 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` | 1872 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` |
| 1835 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 1873 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 1836 echo $ac_n "(cached) $ac_c" 1>&6 | 1874 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1837 else | 1875 else |
| 1838 ac_save_LIBS="$LIBS" | 1876 ac_save_LIBS="$LIBS" |
| 1839 LIBS="-lx $LIBS" | 1877 LIBS="-lx $LIBS" |
| 1840 cat > conftest.$ac_ext <<EOF | 1878 cat > conftest.$ac_ext <<EOF |
| 1841 #line 1842 "configure" | 1879 #line 1880 "configure" |
| 1842 #include "confdefs.h" | 1880 #include "confdefs.h" |
| 1843 /* Override any gcc2 internal prototype to avoid an error. */ | 1881 /* Override any gcc2 internal prototype to avoid an error. */ |
| 1844 /* We use char because int might match the return type of a gcc2 | 1882 /* We use char because int might match the return type of a gcc2 |
| 1845 builtin and then its argument prototype would still apply. */ | 1883 builtin and then its argument prototype would still apply. */ |
| 1846 char opendir(); | 1884 char opendir(); |
| 1847 | 1885 |
| 1848 int main() { | 1886 int main() { |
| 1849 opendir() | 1887 opendir() |
| 1850 ; return 0; } | 1888 ; return 0; } |
| 1851 EOF | 1889 EOF |
| 1852 if { (eval echo configure:1853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1890 if { (eval echo configure:1891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1853 rm -rf conftest* | 1891 rm -rf conftest* |
| 1854 eval "ac_cv_lib_$ac_lib_var=yes" | 1892 eval "ac_cv_lib_$ac_lib_var=yes" |
| 1855 else | 1893 else |
| 1856 echo "configure: failed program was:" >&5 | 1894 echo "configure: failed program was:" >&5 |
| 1857 cat conftest.$ac_ext >&5 | 1895 cat conftest.$ac_ext >&5 |
| 1869 echo "$ac_t""no" 1>&6 | 1907 echo "$ac_t""no" 1>&6 |
| 1870 fi | 1908 fi |
| 1871 | 1909 |
| 1872 fi | 1910 fi |
| 1873 | 1911 |
| 1874 for ac_hdr in gdbm.h syslog.h sys/resource.h sys/utsname.h | 1912 for ac_hdr in syslog.h sys/resource.h sys/utsname.h |
| 1875 do | 1913 do |
| 1876 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1914 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 1877 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 1915 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 1878 echo "configure:1879: checking for $ac_hdr" >&5 | 1916 echo "configure:1917: checking for $ac_hdr" >&5 |
| 1879 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1917 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 1880 echo $ac_n "(cached) $ac_c" 1>&6 | 1918 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1881 else | 1919 else |
| 1882 cat > conftest.$ac_ext <<EOF | 1920 cat > conftest.$ac_ext <<EOF |
| 1883 #line 1884 "configure" | 1921 #line 1922 "configure" |
| 1884 #include "confdefs.h" | 1922 #include "confdefs.h" |
| 1885 #include <$ac_hdr> | 1923 #include <$ac_hdr> |
| 1886 EOF | 1924 EOF |
| 1887 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1925 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1888 { (eval echo configure:1889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1926 { (eval echo configure:1927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1889 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1927 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1890 if test -z "$ac_err"; then | 1928 if test -z "$ac_err"; then |
| 1891 rm -rf conftest* | 1929 rm -rf conftest* |
| 1892 eval "ac_cv_header_$ac_safe=yes" | 1930 eval "ac_cv_header_$ac_safe=yes" |
| 1893 else | 1931 else |
| 1913 | 1951 |
| 1914 for ac_hdr in fnmatch.h errno.h getopt.h time.h sys/time.h signal.h | 1952 for ac_hdr in fnmatch.h errno.h getopt.h time.h sys/time.h signal.h |
| 1915 do | 1953 do |
| 1916 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1954 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 1917 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 1955 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 1918 echo "configure:1919: checking for $ac_hdr" >&5 | 1956 echo "configure:1957: checking for $ac_hdr" >&5 |
| 1919 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1957 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 1920 echo $ac_n "(cached) $ac_c" 1>&6 | 1958 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1921 else | 1959 else |
| 1922 cat > conftest.$ac_ext <<EOF | 1960 cat > conftest.$ac_ext <<EOF |
| 1923 #line 1924 "configure" | 1961 #line 1962 "configure" |
| 1924 #include "confdefs.h" | 1962 #include "confdefs.h" |
| 1925 #include <$ac_hdr> | 1963 #include <$ac_hdr> |
| 1926 EOF | 1964 EOF |
| 1927 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1965 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1928 { (eval echo configure:1929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1966 { (eval echo configure:1967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1929 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1967 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1930 if test -z "$ac_err"; then | 1968 if test -z "$ac_err"; then |
| 1931 rm -rf conftest* | 1969 rm -rf conftest* |
| 1932 eval "ac_cv_header_$ac_safe=yes" | 1970 eval "ac_cv_header_$ac_safe=yes" |
| 1933 else | 1971 else |
| 1953 | 1991 |
| 1954 for ac_hdr in netdb.h sys/socket.h fcntl.h limits.h unistd.h | 1992 for ac_hdr in netdb.h sys/socket.h fcntl.h limits.h unistd.h |
| 1955 do | 1993 do |
| 1956 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 1994 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 1957 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 1995 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 1958 echo "configure:1959: checking for $ac_hdr" >&5 | 1996 echo "configure:1997: checking for $ac_hdr" >&5 |
| 1959 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1997 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 1960 echo $ac_n "(cached) $ac_c" 1>&6 | 1998 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1961 else | 1999 else |
| 1962 cat > conftest.$ac_ext <<EOF | 2000 cat > conftest.$ac_ext <<EOF |
| 1963 #line 1964 "configure" | 2001 #line 2002 "configure" |
| 1964 #include "confdefs.h" | 2002 #include "confdefs.h" |
| 1965 #include <$ac_hdr> | 2003 #include <$ac_hdr> |
| 1966 EOF | 2004 EOF |
| 1967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2005 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1968 { (eval echo configure:1969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2006 { (eval echo configure:2007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1969 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2007 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1970 if test -z "$ac_err"; then | 2008 if test -z "$ac_err"; then |
| 1971 rm -rf conftest* | 2009 rm -rf conftest* |
| 1972 eval "ac_cv_header_$ac_safe=yes" | 2010 eval "ac_cv_header_$ac_safe=yes" |
| 1973 else | 2011 else |
| 1993 | 2031 |
| 1994 | 2032 |
| 1995 | 2033 |
| 1996 | 2034 |
| 1997 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 2035 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 1998 echo "configure:1999: checking for working const" >&5 | 2036 echo "configure:2037: checking for working const" >&5 |
| 1999 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 2037 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
| 2000 echo $ac_n "(cached) $ac_c" 1>&6 | 2038 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2001 else | 2039 else |
| 2002 cat > conftest.$ac_ext <<EOF | 2040 cat > conftest.$ac_ext <<EOF |
| 2003 #line 2004 "configure" | 2041 #line 2042 "configure" |
| 2004 #include "confdefs.h" | 2042 #include "confdefs.h" |
| 2005 | 2043 |
| 2006 int main() { | 2044 int main() { |
| 2007 | 2045 |
| 2008 /* Ultrix mips cc rejects this. */ | 2046 /* Ultrix mips cc rejects this. */ |
| 2047 const int foo = 10; | 2085 const int foo = 10; |
| 2048 } | 2086 } |
| 2049 | 2087 |
| 2050 ; return 0; } | 2088 ; return 0; } |
| 2051 EOF | 2089 EOF |
| 2052 if { (eval echo configure:2053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2090 if { (eval echo configure:2091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2053 rm -rf conftest* | 2091 rm -rf conftest* |
| 2054 ac_cv_c_const=yes | 2092 ac_cv_c_const=yes |
| 2055 else | 2093 else |
| 2056 echo "configure: failed program was:" >&5 | 2094 echo "configure: failed program was:" >&5 |
| 2057 cat conftest.$ac_ext >&5 | 2095 cat conftest.$ac_ext >&5 |
| 2068 EOF | 2106 EOF |
| 2069 | 2107 |
| 2070 fi | 2108 fi |
| 2071 | 2109 |
| 2072 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 2110 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 2073 echo "configure:2074: checking for size_t" >&5 | 2111 echo "configure:2112: checking for size_t" >&5 |
| 2074 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 2112 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
| 2075 echo $ac_n "(cached) $ac_c" 1>&6 | 2113 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2076 else | 2114 else |
| 2077 cat > conftest.$ac_ext <<EOF | 2115 cat > conftest.$ac_ext <<EOF |
| 2078 #line 2079 "configure" | 2116 #line 2117 "configure" |
| 2079 #include "confdefs.h" | 2117 #include "confdefs.h" |
| 2080 #include <sys/types.h> | 2118 #include <sys/types.h> |
| 2081 #if STDC_HEADERS | 2119 #if STDC_HEADERS |
| 2082 #include <stdlib.h> | 2120 #include <stdlib.h> |
| 2083 #include <stddef.h> | 2121 #include <stddef.h> |
| 2101 EOF | 2139 EOF |
| 2102 | 2140 |
| 2103 fi | 2141 fi |
| 2104 | 2142 |
| 2105 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2143 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 2106 echo "configure:2107: checking whether time.h and sys/time.h may both be included" >&5 | 2144 echo "configure:2145: checking whether time.h and sys/time.h may both be included" >&5 |
| 2107 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | 2145 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
| 2108 echo $ac_n "(cached) $ac_c" 1>&6 | 2146 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2109 else | 2147 else |
| 2110 cat > conftest.$ac_ext <<EOF | 2148 cat > conftest.$ac_ext <<EOF |
| 2111 #line 2112 "configure" | 2149 #line 2150 "configure" |
| 2112 #include "confdefs.h" | 2150 #include "confdefs.h" |
| 2113 #include <sys/types.h> | 2151 #include <sys/types.h> |
| 2114 #include <sys/time.h> | 2152 #include <sys/time.h> |
| 2115 #include <time.h> | 2153 #include <time.h> |
| 2116 int main() { | 2154 int main() { |
| 2117 struct tm *tp; | 2155 struct tm *tp; |
| 2118 ; return 0; } | 2156 ; return 0; } |
| 2119 EOF | 2157 EOF |
| 2120 if { (eval echo configure:2121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2158 if { (eval echo configure:2159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2121 rm -rf conftest* | 2159 rm -rf conftest* |
| 2122 ac_cv_header_time=yes | 2160 ac_cv_header_time=yes |
| 2123 else | 2161 else |
| 2124 echo "configure: failed program was:" >&5 | 2162 echo "configure: failed program was:" >&5 |
| 2125 cat conftest.$ac_ext >&5 | 2163 cat conftest.$ac_ext >&5 |
| 2136 EOF | 2174 EOF |
| 2137 | 2175 |
| 2138 fi | 2176 fi |
| 2139 | 2177 |
| 2140 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 2178 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 2141 echo "configure:2142: checking whether struct tm is in sys/time.h or time.h" >&5 | 2179 echo "configure:2180: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 2142 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then | 2180 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
| 2143 echo $ac_n "(cached) $ac_c" 1>&6 | 2181 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2144 else | 2182 else |
| 2145 cat > conftest.$ac_ext <<EOF | 2183 cat > conftest.$ac_ext <<EOF |
| 2146 #line 2147 "configure" | 2184 #line 2185 "configure" |
| 2147 #include "confdefs.h" | 2185 #include "confdefs.h" |
| 2148 #include <sys/types.h> | 2186 #include <sys/types.h> |
| 2149 #include <time.h> | 2187 #include <time.h> |
| 2150 int main() { | 2188 int main() { |
| 2151 struct tm *tp; tp->tm_sec; | 2189 struct tm *tp; tp->tm_sec; |
| 2152 ; return 0; } | 2190 ; return 0; } |
| 2153 EOF | 2191 EOF |
| 2154 if { (eval echo configure:2155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2192 if { (eval echo configure:2193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2155 rm -rf conftest* | 2193 rm -rf conftest* |
| 2156 ac_cv_struct_tm=time.h | 2194 ac_cv_struct_tm=time.h |
| 2157 else | 2195 else |
| 2158 echo "configure: failed program was:" >&5 | 2196 echo "configure: failed program was:" >&5 |
| 2159 cat conftest.$ac_ext >&5 | 2197 cat conftest.$ac_ext >&5 |
| 2171 | 2209 |
| 2172 fi | 2210 fi |
| 2173 | 2211 |
| 2174 | 2212 |
| 2175 echo $ac_n "checking socklen_t""... $ac_c" 1>&6 | 2213 echo $ac_n "checking socklen_t""... $ac_c" 1>&6 |
| 2176 echo "configure:2177: checking socklen_t" >&5 | 2214 echo "configure:2215: checking socklen_t" >&5 |
| 2177 if eval "test \"`echo '$''{'noffle_cv_type_socklen_t'+set}'`\" = set"; then | 2215 if eval "test \"`echo '$''{'noffle_cv_type_socklen_t'+set}'`\" = set"; then |
| 2178 echo $ac_n "(cached) $ac_c" 1>&6 | 2216 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2179 else | 2217 else |
| 2180 cat > conftest.$ac_ext <<EOF | 2218 cat > conftest.$ac_ext <<EOF |
| 2181 #line 2182 "configure" | 2219 #line 2220 "configure" |
| 2182 #include "confdefs.h" | 2220 #include "confdefs.h" |
| 2183 | 2221 |
| 2184 #include <sys/types.h> | 2222 #include <sys/types.h> |
| 2185 #include <sys/socket.h> | 2223 #include <sys/socket.h> |
| 2186 | 2224 |
| 2187 int main() { | 2225 int main() { |
| 2188 socklen_t s; | 2226 socklen_t s; |
| 2189 ; return 0; } | 2227 ; return 0; } |
| 2190 EOF | 2228 EOF |
| 2191 if { (eval echo configure:2192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2229 if { (eval echo configure:2230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2192 rm -rf conftest* | 2230 rm -rf conftest* |
| 2193 noffle_cv_type_socklen_t=yes | 2231 noffle_cv_type_socklen_t=yes |
| 2194 else | 2232 else |
| 2195 echo "configure: failed program was:" >&5 | 2233 echo "configure: failed program was:" >&5 |
| 2196 cat conftest.$ac_ext >&5 | 2234 cat conftest.$ac_ext >&5 |
| 2212 fi | 2250 fi |
| 2213 | 2251 |
| 2214 | 2252 |
| 2215 | 2253 |
| 2216 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2254 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 2217 echo "configure:2218: checking return type of signal handlers" >&5 | 2255 echo "configure:2256: checking return type of signal handlers" >&5 |
| 2218 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | 2256 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
| 2219 echo $ac_n "(cached) $ac_c" 1>&6 | 2257 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2220 else | 2258 else |
| 2221 cat > conftest.$ac_ext <<EOF | 2259 cat > conftest.$ac_ext <<EOF |
| 2222 #line 2223 "configure" | 2260 #line 2261 "configure" |
| 2223 #include "confdefs.h" | 2261 #include "confdefs.h" |
| 2224 #include <sys/types.h> | 2262 #include <sys/types.h> |
| 2225 #include <signal.h> | 2263 #include <signal.h> |
| 2226 #ifdef signal | 2264 #ifdef signal |
| 2227 #undef signal | 2265 #undef signal |
| 2234 | 2272 |
| 2235 int main() { | 2273 int main() { |
| 2236 int i; | 2274 int i; |
| 2237 ; return 0; } | 2275 ; return 0; } |
| 2238 EOF | 2276 EOF |
| 2239 if { (eval echo configure:2240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2277 if { (eval echo configure:2278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2240 rm -rf conftest* | 2278 rm -rf conftest* |
| 2241 ac_cv_type_signal=void | 2279 ac_cv_type_signal=void |
| 2242 else | 2280 else |
| 2243 echo "configure: failed program was:" >&5 | 2281 echo "configure: failed program was:" >&5 |
| 2244 cat conftest.$ac_ext >&5 | 2282 cat conftest.$ac_ext >&5 |
| 2253 #define RETSIGTYPE $ac_cv_type_signal | 2291 #define RETSIGTYPE $ac_cv_type_signal |
| 2254 EOF | 2292 EOF |
| 2255 | 2293 |
| 2256 | 2294 |
| 2257 echo $ac_n "checking for strftime""... $ac_c" 1>&6 | 2295 echo $ac_n "checking for strftime""... $ac_c" 1>&6 |
| 2258 echo "configure:2259: checking for strftime" >&5 | 2296 echo "configure:2297: checking for strftime" >&5 |
| 2259 if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then | 2297 if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then |
| 2260 echo $ac_n "(cached) $ac_c" 1>&6 | 2298 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2261 else | 2299 else |
| 2262 cat > conftest.$ac_ext <<EOF | 2300 cat > conftest.$ac_ext <<EOF |
| 2263 #line 2264 "configure" | 2301 #line 2302 "configure" |
| 2264 #include "confdefs.h" | 2302 #include "confdefs.h" |
| 2265 /* System header to define __stub macros and hopefully few prototypes, | 2303 /* System header to define __stub macros and hopefully few prototypes, |
| 2266 which can conflict with char strftime(); below. */ | 2304 which can conflict with char strftime(); below. */ |
| 2267 #include <assert.h> | 2305 #include <assert.h> |
| 2268 /* Override any gcc2 internal prototype to avoid an error. */ | 2306 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2281 strftime(); | 2319 strftime(); |
| 2282 #endif | 2320 #endif |
| 2283 | 2321 |
| 2284 ; return 0; } | 2322 ; return 0; } |
| 2285 EOF | 2323 EOF |
| 2286 if { (eval echo configure:2287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2324 if { (eval echo configure:2325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2287 rm -rf conftest* | 2325 rm -rf conftest* |
| 2288 eval "ac_cv_func_strftime=yes" | 2326 eval "ac_cv_func_strftime=yes" |
| 2289 else | 2327 else |
| 2290 echo "configure: failed program was:" >&5 | 2328 echo "configure: failed program was:" >&5 |
| 2291 cat conftest.$ac_ext >&5 | 2329 cat conftest.$ac_ext >&5 |
| 2303 | 2341 |
| 2304 else | 2342 else |
| 2305 echo "$ac_t""no" 1>&6 | 2343 echo "$ac_t""no" 1>&6 |
| 2306 # strftime is in -lintl on SCO UNIX. | 2344 # strftime is in -lintl on SCO UNIX. |
| 2307 echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6 | 2345 echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6 |
| 2308 echo "configure:2309: checking for strftime in -lintl" >&5 | 2346 echo "configure:2347: checking for strftime in -lintl" >&5 |
| 2309 ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'` | 2347 ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'` |
| 2310 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 2348 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 2311 echo $ac_n "(cached) $ac_c" 1>&6 | 2349 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2312 else | 2350 else |
| 2313 ac_save_LIBS="$LIBS" | 2351 ac_save_LIBS="$LIBS" |
| 2314 LIBS="-lintl $LIBS" | 2352 LIBS="-lintl $LIBS" |
| 2315 cat > conftest.$ac_ext <<EOF | 2353 cat > conftest.$ac_ext <<EOF |
| 2316 #line 2317 "configure" | 2354 #line 2355 "configure" |
| 2317 #include "confdefs.h" | 2355 #include "confdefs.h" |
| 2318 /* Override any gcc2 internal prototype to avoid an error. */ | 2356 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2319 /* We use char because int might match the return type of a gcc2 | 2357 /* We use char because int might match the return type of a gcc2 |
| 2320 builtin and then its argument prototype would still apply. */ | 2358 builtin and then its argument prototype would still apply. */ |
| 2321 char strftime(); | 2359 char strftime(); |
| 2322 | 2360 |
| 2323 int main() { | 2361 int main() { |
| 2324 strftime() | 2362 strftime() |
| 2325 ; return 0; } | 2363 ; return 0; } |
| 2326 EOF | 2364 EOF |
| 2327 if { (eval echo configure:2328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2365 if { (eval echo configure:2366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2328 rm -rf conftest* | 2366 rm -rf conftest* |
| 2329 eval "ac_cv_lib_$ac_lib_var=yes" | 2367 eval "ac_cv_lib_$ac_lib_var=yes" |
| 2330 else | 2368 else |
| 2331 echo "configure: failed program was:" >&5 | 2369 echo "configure: failed program was:" >&5 |
| 2332 cat conftest.$ac_ext >&5 | 2370 cat conftest.$ac_ext >&5 |
| 2349 fi | 2387 fi |
| 2350 | 2388 |
| 2351 fi | 2389 fi |
| 2352 | 2390 |
| 2353 echo $ac_n "checking for working fnmatch""... $ac_c" 1>&6 | 2391 echo $ac_n "checking for working fnmatch""... $ac_c" 1>&6 |
| 2354 echo "configure:2355: checking for working fnmatch" >&5 | 2392 echo "configure:2393: checking for working fnmatch" >&5 |
| 2355 if eval "test \"`echo '$''{'ac_cv_func_fnmatch_works'+set}'`\" = set"; then | 2393 if eval "test \"`echo '$''{'ac_cv_func_fnmatch_works'+set}'`\" = set"; then |
| 2356 echo $ac_n "(cached) $ac_c" 1>&6 | 2394 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2357 else | 2395 else |
| 2358 # Some versions of Solaris or SCO have a broken fnmatch function. | 2396 # Some versions of Solaris or SCO have a broken fnmatch function. |
| 2359 # So we run a test program. If we are cross-compiling, take no chance. | 2397 # So we run a test program. If we are cross-compiling, take no chance. |
| 2360 # Thanks to John Oleynick and Franc,ois Pinard for this test. | 2398 # Thanks to John Oleynick and Franc,ois Pinard for this test. |
| 2361 if test "$cross_compiling" = yes; then | 2399 if test "$cross_compiling" = yes; then |
| 2362 ac_cv_func_fnmatch_works=no | 2400 ac_cv_func_fnmatch_works=no |
| 2363 else | 2401 else |
| 2364 cat > conftest.$ac_ext <<EOF | 2402 cat > conftest.$ac_ext <<EOF |
| 2365 #line 2366 "configure" | 2403 #line 2404 "configure" |
| 2366 #include "confdefs.h" | 2404 #include "confdefs.h" |
| 2367 main() { exit (fnmatch ("a*", "abc", 0) != 0); } | 2405 main() { exit (fnmatch ("a*", "abc", 0) != 0); } |
| 2368 EOF | 2406 EOF |
| 2369 if { (eval echo configure:2370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2407 if { (eval echo configure:2408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 2370 then | 2408 then |
| 2371 ac_cv_func_fnmatch_works=yes | 2409 ac_cv_func_fnmatch_works=yes |
| 2372 else | 2410 else |
| 2373 echo "configure: failed program was:" >&5 | 2411 echo "configure: failed program was:" >&5 |
| 2374 cat conftest.$ac_ext >&5 | 2412 cat conftest.$ac_ext >&5 |
| 2389 fi | 2427 fi |
| 2390 | 2428 |
| 2391 for ac_func in fdopen mkdir select socket | 2429 for ac_func in fdopen mkdir select socket |
| 2392 do | 2430 do |
| 2393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2431 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 2394 echo "configure:2395: checking for $ac_func" >&5 | 2432 echo "configure:2433: checking for $ac_func" >&5 |
| 2395 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2433 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 2396 echo $ac_n "(cached) $ac_c" 1>&6 | 2434 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2397 else | 2435 else |
| 2398 cat > conftest.$ac_ext <<EOF | 2436 cat > conftest.$ac_ext <<EOF |
| 2399 #line 2400 "configure" | 2437 #line 2438 "configure" |
| 2400 #include "confdefs.h" | 2438 #include "confdefs.h" |
| 2401 /* System header to define __stub macros and hopefully few prototypes, | 2439 /* System header to define __stub macros and hopefully few prototypes, |
| 2402 which can conflict with char $ac_func(); below. */ | 2440 which can conflict with char $ac_func(); below. */ |
| 2403 #include <assert.h> | 2441 #include <assert.h> |
| 2404 /* Override any gcc2 internal prototype to avoid an error. */ | 2442 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2417 $ac_func(); | 2455 $ac_func(); |
| 2418 #endif | 2456 #endif |
| 2419 | 2457 |
| 2420 ; return 0; } | 2458 ; return 0; } |
| 2421 EOF | 2459 EOF |
| 2422 if { (eval echo configure:2423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2460 if { (eval echo configure:2461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2423 rm -rf conftest* | 2461 rm -rf conftest* |
| 2424 eval "ac_cv_func_$ac_func=yes" | 2462 eval "ac_cv_func_$ac_func=yes" |
| 2425 else | 2463 else |
| 2426 echo "configure: failed program was:" >&5 | 2464 echo "configure: failed program was:" >&5 |
| 2427 cat conftest.$ac_ext >&5 | 2465 cat conftest.$ac_ext >&5 |
| 2444 done | 2482 done |
| 2445 | 2483 |
| 2446 for ac_func in gethostname uname | 2484 for ac_func in gethostname uname |
| 2447 do | 2485 do |
| 2448 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2486 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 2449 echo "configure:2450: checking for $ac_func" >&5 | 2487 echo "configure:2488: checking for $ac_func" >&5 |
| 2450 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2488 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 2451 echo $ac_n "(cached) $ac_c" 1>&6 | 2489 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2452 else | 2490 else |
| 2453 cat > conftest.$ac_ext <<EOF | 2491 cat > conftest.$ac_ext <<EOF |
| 2454 #line 2455 "configure" | 2492 #line 2493 "configure" |
| 2455 #include "confdefs.h" | 2493 #include "confdefs.h" |
| 2456 /* System header to define __stub macros and hopefully few prototypes, | 2494 /* System header to define __stub macros and hopefully few prototypes, |
| 2457 which can conflict with char $ac_func(); below. */ | 2495 which can conflict with char $ac_func(); below. */ |
| 2458 #include <assert.h> | 2496 #include <assert.h> |
| 2459 /* Override any gcc2 internal prototype to avoid an error. */ | 2497 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2472 $ac_func(); | 2510 $ac_func(); |
| 2473 #endif | 2511 #endif |
| 2474 | 2512 |
| 2475 ; return 0; } | 2513 ; return 0; } |
| 2476 EOF | 2514 EOF |
| 2477 if { (eval echo configure:2478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2515 if { (eval echo configure:2516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2478 rm -rf conftest* | 2516 rm -rf conftest* |
| 2479 eval "ac_cv_func_$ac_func=yes" | 2517 eval "ac_cv_func_$ac_func=yes" |
| 2480 else | 2518 else |
| 2481 echo "configure: failed program was:" >&5 | 2519 echo "configure: failed program was:" >&5 |
| 2482 cat conftest.$ac_ext >&5 | 2520 cat conftest.$ac_ext >&5 |
| 2499 done | 2537 done |
| 2500 | 2538 |
| 2501 for ac_func in snprintf vsnprintf __vsnprintf __snprintf | 2539 for ac_func in snprintf vsnprintf __vsnprintf __snprintf |
| 2502 do | 2540 do |
| 2503 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2541 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 2504 echo "configure:2505: checking for $ac_func" >&5 | 2542 echo "configure:2543: checking for $ac_func" >&5 |
| 2505 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2543 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 2506 echo $ac_n "(cached) $ac_c" 1>&6 | 2544 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2507 else | 2545 else |
| 2508 cat > conftest.$ac_ext <<EOF | 2546 cat > conftest.$ac_ext <<EOF |
| 2509 #line 2510 "configure" | 2547 #line 2548 "configure" |
| 2510 #include "confdefs.h" | 2548 #include "confdefs.h" |
| 2511 /* System header to define __stub macros and hopefully few prototypes, | 2549 /* System header to define __stub macros and hopefully few prototypes, |
| 2512 which can conflict with char $ac_func(); below. */ | 2550 which can conflict with char $ac_func(); below. */ |
| 2513 #include <assert.h> | 2551 #include <assert.h> |
| 2514 /* Override any gcc2 internal prototype to avoid an error. */ | 2552 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2527 $ac_func(); | 2565 $ac_func(); |
| 2528 #endif | 2566 #endif |
| 2529 | 2567 |
| 2530 ; return 0; } | 2568 ; return 0; } |
| 2531 EOF | 2569 EOF |
| 2532 if { (eval echo configure:2533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2570 if { (eval echo configure:2571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2533 rm -rf conftest* | 2571 rm -rf conftest* |
| 2534 eval "ac_cv_func_$ac_func=yes" | 2572 eval "ac_cv_func_$ac_func=yes" |
| 2535 else | 2573 else |
| 2536 echo "configure: failed program was:" >&5 | 2574 echo "configure: failed program was:" >&5 |
| 2537 cat conftest.$ac_ext >&5 | 2575 cat conftest.$ac_ext >&5 |
| 2554 done | 2592 done |
| 2555 | 2593 |
| 2556 for ac_func in strerror strstr | 2594 for ac_func in strerror strstr |
| 2557 do | 2595 do |
| 2558 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2596 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 2559 echo "configure:2560: checking for $ac_func" >&5 | 2597 echo "configure:2598: checking for $ac_func" >&5 |
| 2560 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2598 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 2561 echo $ac_n "(cached) $ac_c" 1>&6 | 2599 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2562 else | 2600 else |
| 2563 cat > conftest.$ac_ext <<EOF | 2601 cat > conftest.$ac_ext <<EOF |
| 2564 #line 2565 "configure" | 2602 #line 2603 "configure" |
| 2565 #include "confdefs.h" | 2603 #include "confdefs.h" |
| 2566 /* System header to define __stub macros and hopefully few prototypes, | 2604 /* System header to define __stub macros and hopefully few prototypes, |
| 2567 which can conflict with char $ac_func(); below. */ | 2605 which can conflict with char $ac_func(); below. */ |
| 2568 #include <assert.h> | 2606 #include <assert.h> |
| 2569 /* Override any gcc2 internal prototype to avoid an error. */ | 2607 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2582 $ac_func(); | 2620 $ac_func(); |
| 2583 #endif | 2621 #endif |
| 2584 | 2622 |
| 2585 ; return 0; } | 2623 ; return 0; } |
| 2586 EOF | 2624 EOF |
| 2587 if { (eval echo configure:2588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2625 if { (eval echo configure:2626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2588 rm -rf conftest* | 2626 rm -rf conftest* |
| 2589 eval "ac_cv_func_$ac_func=yes" | 2627 eval "ac_cv_func_$ac_func=yes" |
| 2590 else | 2628 else |
| 2591 echo "configure: failed program was:" >&5 | 2629 echo "configure: failed program was:" >&5 |
| 2592 cat conftest.$ac_ext >&5 | 2630 cat conftest.$ac_ext >&5 |
| 2609 done | 2647 done |
| 2610 | 2648 |
| 2611 for ac_func in mktime timegm | 2649 for ac_func in mktime timegm |
| 2612 do | 2650 do |
| 2613 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2651 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 2614 echo "configure:2615: checking for $ac_func" >&5 | 2652 echo "configure:2653: checking for $ac_func" >&5 |
| 2615 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 2653 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 2616 echo $ac_n "(cached) $ac_c" 1>&6 | 2654 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2617 else | 2655 else |
| 2618 cat > conftest.$ac_ext <<EOF | 2656 cat > conftest.$ac_ext <<EOF |
| 2619 #line 2620 "configure" | 2657 #line 2658 "configure" |
| 2620 #include "confdefs.h" | 2658 #include "confdefs.h" |
| 2621 /* System header to define __stub macros and hopefully few prototypes, | 2659 /* System header to define __stub macros and hopefully few prototypes, |
| 2622 which can conflict with char $ac_func(); below. */ | 2660 which can conflict with char $ac_func(); below. */ |
| 2623 #include <assert.h> | 2661 #include <assert.h> |
| 2624 /* Override any gcc2 internal prototype to avoid an error. */ | 2662 /* Override any gcc2 internal prototype to avoid an error. */ |
| 2637 $ac_func(); | 2675 $ac_func(); |
| 2638 #endif | 2676 #endif |
| 2639 | 2677 |
| 2640 ; return 0; } | 2678 ; return 0; } |
| 2641 EOF | 2679 EOF |
| 2642 if { (eval echo configure:2643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2680 if { (eval echo configure:2681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2643 rm -rf conftest* | 2681 rm -rf conftest* |
| 2644 eval "ac_cv_func_$ac_func=yes" | 2682 eval "ac_cv_func_$ac_func=yes" |
| 2645 else | 2683 else |
| 2646 echo "configure: failed program was:" >&5 | 2684 echo "configure: failed program was:" >&5 |
| 2647 cat conftest.$ac_ext >&5 | 2685 cat conftest.$ac_ext >&5 |
| 2681 if test "x$GCC" = "xyes"; then | 2719 if test "x$GCC" = "xyes"; then |
| 2682 CFLAGS="$CFLAGS \ | 2720 CFLAGS="$CFLAGS \ |
| 2683 -Wall -pedantic -W -Wshadow -Wpointer-arith \ | 2721 -Wall -pedantic -W -Wshadow -Wpointer-arith \ |
| 2684 -Wcast-align -Wwrite-strings \ | 2722 -Wcast-align -Wwrite-strings \ |
| 2685 -Wstrict-prototypes -Wmissing-prototypes \ | 2723 -Wstrict-prototypes -Wmissing-prototypes \ |
| 2686 -Wmissing-declarations -Wnested-externs -Winline \ | 2724 -Wmissing-declarations -Wnested-externs -Winline " |
| 2725 CPPFLAGS="$CPPFLAGS \ | |
| 2687 -D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX -DDEBUG" | 2726 -D__USE_BSD -D__USE_XOPEN_EXTENDED -D__USE_POSIX -DDEBUG" |
| 2688 else | 2727 else |
| 2689 CFLAGS="$CFLAGS -DDEBUG" | 2728 CPPFLAGS="$CPPFLAGS -DDEBUG" |
| 2690 fi | 2729 fi |
| 2691 fi | 2730 fi |
| 2692 | 2731 |
| 2693 | 2732 |
| 2694 # [ This is adapted from mutt. ] | 2733 # [ This is adapted from mutt. ] |
| 2695 # Check whether --with-docdir or --without-docdir was given. | 2734 # Check whether --with-docdir or --without-docdir was given. |
| 2696 if test "${with_docdir+set}" = set; then | 2735 if test "${with_docdir+set}" = set; then |
| 2697 withval="$with_docdir" | 2736 withval="$with_docdir" |
| 2698 noffle_cv_docdir=$withval | 2737 noffle_cv_docdir=$withval |
| 2699 else | 2738 else |
| 2700 echo $ac_n "checking other documentation directory""... $ac_c" 1>&6 | 2739 echo $ac_n "checking other documentation diretcory""... $ac_c" 1>&6 |
| 2701 echo "configure:2702: checking other documentation directory" >&5 | 2740 echo "configure:2741: checking other documentation diretcory" >&5 |
| 2702 if eval "test \"`echo '$''{'noffle_cv_docdir'+set}'`\" = set"; then | 2741 if eval "test \"`echo '$''{'noffle_cv_docdir'+set}'`\" = set"; then |
| 2703 echo $ac_n "(cached) $ac_c" 1>&6 | 2742 echo $ac_n "(cached) $ac_c" 1>&6 |
| 2704 else | 2743 else |
| 2705 if test x$prefix = xNONE; then | 2744 if test x$prefix = xNONE; then |
| 2706 noffle_cv_prefix=$ac_default_prefix | 2745 noffle_cv_prefix=$ac_default_prefix |
| 2715 | 2754 |
| 2716 fi | 2755 fi |
| 2717 | 2756 |
| 2718 | 2757 |
| 2719 echo $ac_n "checking spooldir""... $ac_c" 1>&6 | 2758 echo $ac_n "checking spooldir""... $ac_c" 1>&6 |
| 2720 echo "configure:2721: checking spooldir" >&5 | 2759 echo "configure:2760: checking spooldir" >&5 |
| 2721 # Check whether --with-spooldir or --without-spooldir was given. | 2760 # Check whether --with-spooldir or --without-spooldir was given. |
| 2722 if test "${with_spooldir+set}" = set; then | 2761 if test "${with_spooldir+set}" = set; then |
| 2723 withval="$with_spooldir" | 2762 withval="$with_spooldir" |
| 2724 if echo "$withval" | egrep >/dev/null -v '^/' ; then | 2763 if echo "$withval" | egrep >/dev/null -v '^/' ; then |
| 2725 { echo "configure: error: you must give an absolute path" 1>&2; exit 1; } | 2764 { echo "configure: error: you must give an absolute path" 1>&2; exit 1; } |
| 2738 EOF | 2777 EOF |
| 2739 | 2778 |
| 2740 | 2779 |
| 2741 | 2780 |
| 2742 echo $ac_n "checking configfile""... $ac_c" 1>&6 | 2781 echo $ac_n "checking configfile""... $ac_c" 1>&6 |
| 2743 echo "configure:2744: checking configfile" >&5 | 2782 echo "configure:2783: checking configfile" >&5 |
| 2744 # Check whether --with-configfile or --without-configfile was given. | 2783 # Check whether --with-configfile or --without-configfile was given. |
| 2745 if test "${with_configfile+set}" = set; then | 2784 if test "${with_configfile+set}" = set; then |
| 2746 withval="$with_configfile" | 2785 withval="$with_configfile" |
| 2747 if echo "$withval" | egrep >/dev/null -v '^/' ; then | 2786 if echo "$withval" | egrep >/dev/null -v '^/' ; then |
| 2748 { echo "configure: error: you must give an absolute path" 1>&2; exit 1; } | 2787 { echo "configure: error: you must give an absolute path" 1>&2; exit 1; } |
