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