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