… | |
… | |
530 | |
530 | |
531 | # |
531 | # |
532 | # package revision |
532 | # package revision |
533 | # |
533 | # |
534 | VERSION=0.5 |
534 | VERSION=0.5 |
535 | PATCH=19 |
535 | PATCH=20 |
536 | |
536 | |
537 | # Check whether --with-cc or --without-cc was given. |
537 | # Check whether --with-cc or --without-cc was given. |
538 | if test "${with_cc+set}" = set; then |
538 | if test "${with_cc+set}" = set; then |
539 | withval="$with_cc" |
539 | withval="$with_cc" |
540 | CC=$with_cc |
540 | CC=$with_cc |
… | |
… | |
848 | ac_cv_prog_CPP="$CPP" |
848 | ac_cv_prog_CPP="$CPP" |
849 | fi |
849 | fi |
850 | echo "$ac_t""$CPP" 1>&6 |
850 | echo "$ac_t""$CPP" 1>&6 |
851 | |
851 | |
852 | |
852 | |
853 | echo $ac_n "checking if HP-UX ansi C compiler flags are needed""... $ac_c" 1>&6 |
|
|
854 | echo "configure:855: checking if HP-UX ansi C compiler flags are needed" >&5 |
|
|
855 | |
|
|
856 | os=`uname -s | tr 'A-Z' 'a-z'` |
|
|
857 | ac_cv_hpux_flags=no |
|
|
858 | if test "$os" = hp-ux ; then |
|
|
859 | if test "$ac_cv_prog_gcc" = yes ; then |
|
|
860 | if test "$CFLAGS" != "" ; then |
|
|
861 | # Shouldn't be in there. |
|
|
862 | CFLAGS=`echo "$CFLAGS" | sed 's/-Aa//g'` |
|
|
863 | fi |
|
|
864 | else |
|
|
865 | # If you're not using gcc, then you better have a cc/c89 |
|
|
866 | # that is usable. If you have the barebones compiler, it |
|
|
867 | # won't work. The good compiler uses -Aa for the ANSI |
|
|
868 | # compatible stuff. |
|
|
869 | x=`echo $CFLAGS | grep 'Aa' 2>/dev/null` |
|
|
870 | if test "$x" = "" ; then |
|
|
871 | CFLAGS="$CFLAGS -Aa" |
|
|
872 | fi |
|
|
873 | ac_cv_hpux_flags=yes |
|
|
874 | fi |
|
|
875 | # Also add _HPUX_SOURCE to get the extended namespace. |
|
|
876 | x=`echo $CFLAGS | grep '_HPUX_SOURCE' 2>/dev/null` |
|
|
877 | if test "$x" = "" ; then |
|
|
878 | CFLAGS="$CFLAGS -D_HPUX_SOURCE" |
|
|
879 | fi |
|
|
880 | fi |
|
|
881 | echo "$ac_t""$ac_cv_hpux_flags" 1>&6 |
|
|
882 | |
|
|
883 | if test "$CFLAGS" = "" ; then |
|
|
884 | CFLAGS="-O" |
|
|
885 | elif test "$ac_cv_prog_gcc" = "yes" ; then |
|
|
886 | case "$CFLAGS" in |
|
|
887 | *"-g -O"*) |
|
|
888 | #echo "using -g as default gcc CFLAGS" 1>&6 |
|
|
889 | CFLAGS=`echo $CFLAGS | sed 's/-g\ -O/-O/'` |
|
|
890 | ;; |
|
|
891 | *"-O -g"*) |
|
|
892 | # Leave the -g, but remove all -O options. |
|
|
893 | #echo "using -g as default gcc CFLAGS" 1>&6 |
|
|
894 | CFLAGS=`echo $CFLAGS | sed 's/-O\ -g/-O/'` |
|
|
895 | ;; |
|
|
896 | esac |
|
|
897 | fi |
|
|
898 | |
|
|
899 | |
|
|
900 | echo $ac_n "checking if the compiler supports function prototypes""... $ac_c" 1>&6 |
853 | echo $ac_n "checking if the compiler supports function prototypes""... $ac_c" 1>&6 |
901 | echo "configure:902: checking if the compiler supports function prototypes" >&5 |
854 | echo "configure:855: checking if the compiler supports function prototypes" >&5 |
902 | cat > conftest.$ac_ext <<EOF |
855 | cat > conftest.$ac_ext <<EOF |
903 | #line 904 "configure" |
856 | #line 857 "configure" |
904 | #include "confdefs.h" |
857 | #include "confdefs.h" |
905 | |
858 | |
906 | int main() { |
859 | int main() { |
907 | extern void exit(int status); |
860 | extern void exit(int status); |
908 | ; return 0; } |
861 | ; return 0; } |
909 | EOF |
862 | EOF |
910 | if { (eval echo configure:911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
863 | if { (eval echo configure:864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
911 | rm -rf conftest* |
864 | rm -rf conftest* |
912 | wi_cv_prototypes=yes |
865 | wi_cv_prototypes=yes |
913 | cat >> confdefs.h <<\EOF |
866 | cat >> confdefs.h <<\EOF |
914 | #define PROTOTYPES 1 |
867 | #define PROTOTYPES 1 |
915 | EOF |
868 | EOF |
… | |
… | |
922 | fi |
875 | fi |
923 | rm -f conftest* |
876 | rm -f conftest* |
924 | echo "$ac_t""$wi_cv_prototypes" 1>&6 |
877 | echo "$ac_t""$wi_cv_prototypes" 1>&6 |
925 | |
878 | |
926 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
879 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
927 | echo "configure:928: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
880 | echo "configure:881: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
928 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
881 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
929 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
882 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
930 | echo $ac_n "(cached) $ac_c" 1>&6 |
883 | echo $ac_n "(cached) $ac_c" 1>&6 |
931 | else |
884 | else |
932 | cat > conftestmake <<\EOF |
885 | cat > conftestmake <<\EOF |
… | |
… | |
951 | fi |
904 | fi |
952 | |
905 | |
953 | # Extract the first word of "ranlib", so it can be a program name with args. |
906 | # Extract the first word of "ranlib", so it can be a program name with args. |
954 | set dummy ranlib; ac_word=$2 |
907 | set dummy ranlib; ac_word=$2 |
955 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
908 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
956 | echo "configure:957: checking for $ac_word" >&5 |
909 | echo "configure:910: checking for $ac_word" >&5 |
957 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
910 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
958 | echo $ac_n "(cached) $ac_c" 1>&6 |
911 | echo $ac_n "(cached) $ac_c" 1>&6 |
959 | else |
912 | else |
960 | if test -n "$RANLIB"; then |
913 | if test -n "$RANLIB"; then |
961 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
914 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
… | |
… | |
991 | # |
944 | # |
992 | # Checks for header files and library functions |
945 | # Checks for header files and library functions |
993 | # |
946 | # |
994 | |
947 | |
995 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
948 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
996 | echo "configure:997: checking for ANSI C header files" >&5 |
949 | echo "configure:950: checking for ANSI C header files" >&5 |
997 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
950 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
998 | echo $ac_n "(cached) $ac_c" 1>&6 |
951 | echo $ac_n "(cached) $ac_c" 1>&6 |
999 | else |
952 | else |
1000 | cat > conftest.$ac_ext <<EOF |
953 | cat > conftest.$ac_ext <<EOF |
1001 | #line 1002 "configure" |
954 | #line 955 "configure" |
1002 | #include "confdefs.h" |
955 | #include "confdefs.h" |
1003 | #include <stdlib.h> |
956 | #include <stdlib.h> |
1004 | #include <stdarg.h> |
957 | #include <stdarg.h> |
1005 | #include <string.h> |
958 | #include <string.h> |
1006 | #include <float.h> |
959 | #include <float.h> |
1007 | EOF |
960 | EOF |
1008 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
961 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1009 | { (eval echo configure:1010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
962 | { (eval echo configure:963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1010 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
963 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1011 | if test -z "$ac_err"; then |
964 | if test -z "$ac_err"; then |
1012 | rm -rf conftest* |
965 | rm -rf conftest* |
1013 | ac_cv_header_stdc=yes |
966 | ac_cv_header_stdc=yes |
1014 | else |
967 | else |
… | |
… | |
1021 | rm -f conftest* |
974 | rm -f conftest* |
1022 | |
975 | |
1023 | if test $ac_cv_header_stdc = yes; then |
976 | if test $ac_cv_header_stdc = yes; then |
1024 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
977 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
1025 | cat > conftest.$ac_ext <<EOF |
978 | cat > conftest.$ac_ext <<EOF |
1026 | #line 1027 "configure" |
979 | #line 980 "configure" |
1027 | #include "confdefs.h" |
980 | #include "confdefs.h" |
1028 | #include <string.h> |
981 | #include <string.h> |
1029 | EOF |
982 | EOF |
1030 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
983 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
1031 | egrep "memchr" >/dev/null 2>&1; then |
984 | egrep "memchr" >/dev/null 2>&1; then |
… | |
… | |
1039 | fi |
992 | fi |
1040 | |
993 | |
1041 | if test $ac_cv_header_stdc = yes; then |
994 | if test $ac_cv_header_stdc = yes; then |
1042 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
995 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
1043 | cat > conftest.$ac_ext <<EOF |
996 | cat > conftest.$ac_ext <<EOF |
1044 | #line 1045 "configure" |
997 | #line 998 "configure" |
1045 | #include "confdefs.h" |
998 | #include "confdefs.h" |
1046 | #include <stdlib.h> |
999 | #include <stdlib.h> |
1047 | EOF |
1000 | EOF |
1048 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
1001 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
1049 | egrep "free" >/dev/null 2>&1; then |
1002 | egrep "free" >/dev/null 2>&1; then |
… | |
… | |
1060 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
1013 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
1061 | if test "$cross_compiling" = yes; then |
1014 | if test "$cross_compiling" = yes; then |
1062 | : |
1015 | : |
1063 | else |
1016 | else |
1064 | cat > conftest.$ac_ext <<EOF |
1017 | cat > conftest.$ac_ext <<EOF |
1065 | #line 1066 "configure" |
1018 | #line 1019 "configure" |
1066 | #include "confdefs.h" |
1019 | #include "confdefs.h" |
1067 | #include <ctype.h> |
1020 | #include <ctype.h> |
1068 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
1021 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
1069 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
1022 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
1070 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
1023 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
1071 | int main () { int i; for (i = 0; i < 256; i++) |
1024 | int main () { int i; for (i = 0; i < 256; i++) |
1072 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
1025 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
1073 | exit (0); } |
1026 | exit (0); } |
1074 | |
1027 | |
1075 | EOF |
1028 | EOF |
1076 | if { (eval echo configure:1077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1029 | if { (eval echo configure:1030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1077 | then |
1030 | then |
1078 | : |
1031 | : |
1079 | else |
1032 | else |
1080 | echo "configure: failed program was:" >&5 |
1033 | echo "configure: failed program was:" >&5 |
1081 | cat conftest.$ac_ext >&5 |
1034 | cat conftest.$ac_ext >&5 |
… | |
… | |
1095 | EOF |
1048 | EOF |
1096 | |
1049 | |
1097 | fi |
1050 | fi |
1098 | |
1051 | |
1099 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
1052 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
1100 | echo "configure:1101: checking for size_t" >&5 |
1053 | echo "configure:1054: checking for size_t" >&5 |
1101 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
1054 | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
1102 | echo $ac_n "(cached) $ac_c" 1>&6 |
1055 | echo $ac_n "(cached) $ac_c" 1>&6 |
1103 | else |
1056 | else |
1104 | cat > conftest.$ac_ext <<EOF |
1057 | cat > conftest.$ac_ext <<EOF |
1105 | #line 1106 "configure" |
1058 | #line 1059 "configure" |
1106 | #include "confdefs.h" |
1059 | #include "confdefs.h" |
1107 | #include <sys/types.h> |
1060 | #include <sys/types.h> |
1108 | #if STDC_HEADERS |
1061 | #if STDC_HEADERS |
1109 | #include <stdlib.h> |
1062 | #include <stdlib.h> |
1110 | #include <stddef.h> |
1063 | #include <stddef.h> |
… | |
… | |
1128 | EOF |
1081 | EOF |
1129 | |
1082 | |
1130 | fi |
1083 | fi |
1131 | |
1084 | |
1132 | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
1085 | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
1133 | echo "configure:1134: checking whether time.h and sys/time.h may both be included" >&5 |
1086 | echo "configure:1087: checking whether time.h and sys/time.h may both be included" >&5 |
1134 | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
1087 | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
1135 | echo $ac_n "(cached) $ac_c" 1>&6 |
1088 | echo $ac_n "(cached) $ac_c" 1>&6 |
1136 | else |
1089 | else |
1137 | cat > conftest.$ac_ext <<EOF |
1090 | cat > conftest.$ac_ext <<EOF |
1138 | #line 1139 "configure" |
1091 | #line 1092 "configure" |
1139 | #include "confdefs.h" |
1092 | #include "confdefs.h" |
1140 | #include <sys/types.h> |
1093 | #include <sys/types.h> |
1141 | #include <sys/time.h> |
1094 | #include <sys/time.h> |
1142 | #include <time.h> |
1095 | #include <time.h> |
1143 | int main() { |
1096 | int main() { |
1144 | struct tm *tp; |
1097 | struct tm *tp; |
1145 | ; return 0; } |
1098 | ; return 0; } |
1146 | EOF |
1099 | EOF |
1147 | if { (eval echo configure:1148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1100 | if { (eval echo configure:1101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1148 | rm -rf conftest* |
1101 | rm -rf conftest* |
1149 | ac_cv_header_time=yes |
1102 | ac_cv_header_time=yes |
1150 | else |
1103 | else |
1151 | echo "configure: failed program was:" >&5 |
1104 | echo "configure: failed program was:" >&5 |
1152 | cat conftest.$ac_ext >&5 |
1105 | cat conftest.$ac_ext >&5 |
… | |
… | |
1166 | |
1119 | |
1167 | for ac_hdr in fcntl.h unistd.h memory.h malloc.h errno.h |
1120 | for ac_hdr in fcntl.h unistd.h memory.h malloc.h errno.h |
1168 | do |
1121 | do |
1169 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1122 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1170 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1123 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1171 | echo "configure:1172: checking for $ac_hdr" >&5 |
1124 | echo "configure:1125: checking for $ac_hdr" >&5 |
1172 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1125 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1173 | echo $ac_n "(cached) $ac_c" 1>&6 |
1126 | echo $ac_n "(cached) $ac_c" 1>&6 |
1174 | else |
1127 | else |
1175 | cat > conftest.$ac_ext <<EOF |
1128 | cat > conftest.$ac_ext <<EOF |
1176 | #line 1177 "configure" |
1129 | #line 1130 "configure" |
1177 | #include "confdefs.h" |
1130 | #include "confdefs.h" |
1178 | #include <$ac_hdr> |
1131 | #include <$ac_hdr> |
1179 | EOF |
1132 | EOF |
1180 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1133 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1181 | { (eval echo configure:1182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1134 | { (eval echo configure:1135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1182 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1135 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1183 | if test -z "$ac_err"; then |
1136 | if test -z "$ac_err"; then |
1184 | rm -rf conftest* |
1137 | rm -rf conftest* |
1185 | eval "ac_cv_header_$ac_safe=yes" |
1138 | eval "ac_cv_header_$ac_safe=yes" |
1186 | else |
1139 | else |
… | |
… | |
1206 | |
1159 | |
1207 | for ac_hdr in io.h sys/time.h |
1160 | for ac_hdr in io.h sys/time.h |
1208 | do |
1161 | do |
1209 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1162 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1210 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1163 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1211 | echo "configure:1212: checking for $ac_hdr" >&5 |
1164 | echo "configure:1165: checking for $ac_hdr" >&5 |
1212 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1165 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1213 | echo $ac_n "(cached) $ac_c" 1>&6 |
1166 | echo $ac_n "(cached) $ac_c" 1>&6 |
1214 | else |
1167 | else |
1215 | cat > conftest.$ac_ext <<EOF |
1168 | cat > conftest.$ac_ext <<EOF |
1216 | #line 1217 "configure" |
1169 | #line 1170 "configure" |
1217 | #include "confdefs.h" |
1170 | #include "confdefs.h" |
1218 | #include <$ac_hdr> |
1171 | #include <$ac_hdr> |
1219 | EOF |
1172 | EOF |
1220 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1173 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1221 | { (eval echo configure:1222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1174 | { (eval echo configure:1175: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1222 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1175 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1223 | if test -z "$ac_err"; then |
1176 | if test -z "$ac_err"; then |
1224 | rm -rf conftest* |
1177 | rm -rf conftest* |
1225 | eval "ac_cv_header_$ac_safe=yes" |
1178 | eval "ac_cv_header_$ac_safe=yes" |
1226 | else |
1179 | else |
… | |
… | |
1245 | done |
1198 | done |
1246 | |
1199 | |
1247 | for ac_func in gettimeofday |
1200 | for ac_func in gettimeofday |
1248 | do |
1201 | do |
1249 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
1202 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
1250 | echo "configure:1251: checking for $ac_func" >&5 |
1203 | echo "configure:1204: checking for $ac_func" >&5 |
1251 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
1204 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
1252 | echo $ac_n "(cached) $ac_c" 1>&6 |
1205 | echo $ac_n "(cached) $ac_c" 1>&6 |
1253 | else |
1206 | else |
1254 | cat > conftest.$ac_ext <<EOF |
1207 | cat > conftest.$ac_ext <<EOF |
1255 | #line 1256 "configure" |
1208 | #line 1209 "configure" |
1256 | #include "confdefs.h" |
1209 | #include "confdefs.h" |
1257 | /* System header to define __stub macros and hopefully few prototypes, |
1210 | /* System header to define __stub macros and hopefully few prototypes, |
1258 | which can conflict with char $ac_func(); below. */ |
1211 | which can conflict with char $ac_func(); below. */ |
1259 | #include <assert.h> |
1212 | #include <assert.h> |
1260 | /* Override any gcc2 internal prototype to avoid an error. */ |
1213 | /* Override any gcc2 internal prototype to avoid an error. */ |
… | |
… | |
1273 | $ac_func(); |
1226 | $ac_func(); |
1274 | #endif |
1227 | #endif |
1275 | |
1228 | |
1276 | ; return 0; } |
1229 | ; return 0; } |
1277 | EOF |
1230 | EOF |
1278 | if { (eval echo configure:1279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1231 | if { (eval echo configure:1232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1279 | rm -rf conftest* |
1232 | rm -rf conftest* |
1280 | eval "ac_cv_func_$ac_func=yes" |
1233 | eval "ac_cv_func_$ac_func=yes" |
1281 | else |
1234 | else |
1282 | echo "configure: failed program was:" >&5 |
1235 | echo "configure: failed program was:" >&5 |
1283 | cat conftest.$ac_ext >&5 |
1236 | cat conftest.$ac_ext >&5 |
… | |
… | |
1299 | fi |
1252 | fi |
1300 | done |
1253 | done |
1301 | |
1254 | |
1302 | |
1255 | |
1303 | echo $ac_n "checking for tempnam""... $ac_c" 1>&6 |
1256 | echo $ac_n "checking for tempnam""... $ac_c" 1>&6 |
1304 | echo "configure:1305: checking for tempnam" >&5 |
1257 | echo "configure:1258: checking for tempnam" >&5 |
1305 | if eval "test \"`echo '$''{'ac_cv_func_tempnam'+set}'`\" = set"; then |
1258 | if eval "test \"`echo '$''{'ac_cv_func_tempnam'+set}'`\" = set"; then |
1306 | echo $ac_n "(cached) $ac_c" 1>&6 |
1259 | echo $ac_n "(cached) $ac_c" 1>&6 |
1307 | else |
1260 | else |
1308 | cat > conftest.$ac_ext <<EOF |
1261 | cat > conftest.$ac_ext <<EOF |
1309 | #line 1310 "configure" |
1262 | #line 1263 "configure" |
1310 | #include "confdefs.h" |
1263 | #include "confdefs.h" |
1311 | /* System header to define __stub macros and hopefully few prototypes, |
1264 | /* System header to define __stub macros and hopefully few prototypes, |
1312 | which can conflict with char tempnam(); below. */ |
1265 | which can conflict with char tempnam(); below. */ |
1313 | #include <assert.h> |
1266 | #include <assert.h> |
1314 | /* Override any gcc2 internal prototype to avoid an error. */ |
1267 | /* Override any gcc2 internal prototype to avoid an error. */ |
… | |
… | |
1327 | tempnam(); |
1280 | tempnam(); |
1328 | #endif |
1281 | #endif |
1329 | |
1282 | |
1330 | ; return 0; } |
1283 | ; return 0; } |
1331 | EOF |
1284 | EOF |
1332 | if { (eval echo configure:1333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1285 | if { (eval echo configure:1286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1333 | rm -rf conftest* |
1286 | rm -rf conftest* |
1334 | eval "ac_cv_func_tempnam=yes" |
1287 | eval "ac_cv_func_tempnam=yes" |
1335 | else |
1288 | else |
1336 | echo "configure: failed program was:" >&5 |
1289 | echo "configure: failed program was:" >&5 |
1337 | cat conftest.$ac_ext >&5 |
1290 | cat conftest.$ac_ext >&5 |
… | |
… | |
1352 | |
1305 | |
1353 | fi |
1306 | fi |
1354 | |
1307 | |
1355 | |
1308 | |
1356 | echo $ac_n "checking for chmod""... $ac_c" 1>&6 |
1309 | echo $ac_n "checking for chmod""... $ac_c" 1>&6 |
1357 | echo "configure:1358: checking for chmod" >&5 |
1310 | echo "configure:1311: checking for chmod" >&5 |
1358 | if eval "test \"`echo '$''{'ac_cv_func_chmod'+set}'`\" = set"; then |
1311 | if eval "test \"`echo '$''{'ac_cv_func_chmod'+set}'`\" = set"; then |
1359 | echo $ac_n "(cached) $ac_c" 1>&6 |
1312 | echo $ac_n "(cached) $ac_c" 1>&6 |
1360 | else |
1313 | else |
1361 | cat > conftest.$ac_ext <<EOF |
1314 | cat > conftest.$ac_ext <<EOF |
1362 | #line 1363 "configure" |
1315 | #line 1316 "configure" |
1363 | #include "confdefs.h" |
1316 | #include "confdefs.h" |
1364 | /* System header to define __stub macros and hopefully few prototypes, |
1317 | /* System header to define __stub macros and hopefully few prototypes, |
1365 | which can conflict with char chmod(); below. */ |
1318 | which can conflict with char chmod(); below. */ |
1366 | #include <assert.h> |
1319 | #include <assert.h> |
1367 | /* Override any gcc2 internal prototype to avoid an error. */ |
1320 | /* Override any gcc2 internal prototype to avoid an error. */ |
… | |
… | |
1380 | chmod(); |
1333 | chmod(); |
1381 | #endif |
1334 | #endif |
1382 | |
1335 | |
1383 | ; return 0; } |
1336 | ; return 0; } |
1384 | EOF |
1337 | EOF |
1385 | if { (eval echo configure:1386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1338 | if { (eval echo configure:1339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1386 | rm -rf conftest* |
1339 | rm -rf conftest* |
1387 | eval "ac_cv_func_chmod=yes" |
1340 | eval "ac_cv_func_chmod=yes" |
1388 | else |
1341 | else |
1389 | echo "configure: failed program was:" >&5 |
1342 | echo "configure: failed program was:" >&5 |
1390 | cat conftest.$ac_ext >&5 |
1343 | cat conftest.$ac_ext >&5 |
… | |
… | |
1403 | else |
1356 | else |
1404 | echo "$ac_t""no" 1>&6 |
1357 | echo "$ac_t""no" 1>&6 |
1405 | fi |
1358 | fi |
1406 | |
1359 | |
1407 | echo $ac_n "checking for umask""... $ac_c" 1>&6 |
1360 | echo $ac_n "checking for umask""... $ac_c" 1>&6 |
1408 | echo "configure:1409: checking for umask" >&5 |
1361 | echo "configure:1362: checking for umask" >&5 |
1409 | if eval "test \"`echo '$''{'ac_cv_func_umask'+set}'`\" = set"; then |
1362 | if eval "test \"`echo '$''{'ac_cv_func_umask'+set}'`\" = set"; then |
1410 | echo $ac_n "(cached) $ac_c" 1>&6 |
1363 | echo $ac_n "(cached) $ac_c" 1>&6 |
1411 | else |
1364 | else |
1412 | cat > conftest.$ac_ext <<EOF |
1365 | cat > conftest.$ac_ext <<EOF |
1413 | #line 1414 "configure" |
1366 | #line 1367 "configure" |
1414 | #include "confdefs.h" |
1367 | #include "confdefs.h" |
1415 | /* System header to define __stub macros and hopefully few prototypes, |
1368 | /* System header to define __stub macros and hopefully few prototypes, |
1416 | which can conflict with char umask(); below. */ |
1369 | which can conflict with char umask(); below. */ |
1417 | #include <assert.h> |
1370 | #include <assert.h> |
1418 | /* Override any gcc2 internal prototype to avoid an error. */ |
1371 | /* Override any gcc2 internal prototype to avoid an error. */ |
… | |
… | |
1431 | umask(); |
1384 | umask(); |
1432 | #endif |
1385 | #endif |
1433 | |
1386 | |
1434 | ; return 0; } |
1387 | ; return 0; } |
1435 | EOF |
1388 | EOF |
1436 | if { (eval echo configure:1437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1389 | if { (eval echo configure:1390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1437 | rm -rf conftest* |
1390 | rm -rf conftest* |
1438 | eval "ac_cv_func_umask=yes" |
1391 | eval "ac_cv_func_umask=yes" |
1439 | else |
1392 | else |
1440 | echo "configure: failed program was:" >&5 |
1393 | echo "configure: failed program was:" >&5 |
1441 | cat conftest.$ac_ext >&5 |
1394 | cat conftest.$ac_ext >&5 |
… | |
… | |
1454 | else |
1407 | else |
1455 | echo "$ac_t""no" 1>&6 |
1408 | echo "$ac_t""no" 1>&6 |
1456 | fi |
1409 | fi |
1457 | |
1410 | |
1458 | echo $ac_n "checking for mkstemp""... $ac_c" 1>&6 |
1411 | echo $ac_n "checking for mkstemp""... $ac_c" 1>&6 |
1459 | echo "configure:1460: checking for mkstemp" >&5 |
1412 | echo "configure:1413: checking for mkstemp" >&5 |
1460 | if eval "test \"`echo '$''{'ac_cv_func_mkstemp'+set}'`\" = set"; then |
1413 | if eval "test \"`echo '$''{'ac_cv_func_mkstemp'+set}'`\" = set"; then |
1461 | echo $ac_n "(cached) $ac_c" 1>&6 |
1414 | echo $ac_n "(cached) $ac_c" 1>&6 |
1462 | else |
1415 | else |
1463 | cat > conftest.$ac_ext <<EOF |
1416 | cat > conftest.$ac_ext <<EOF |
1464 | #line 1465 "configure" |
1417 | #line 1418 "configure" |
1465 | #include "confdefs.h" |
1418 | #include "confdefs.h" |
1466 | /* System header to define __stub macros and hopefully few prototypes, |
1419 | /* System header to define __stub macros and hopefully few prototypes, |
1467 | which can conflict with char mkstemp(); below. */ |
1420 | which can conflict with char mkstemp(); below. */ |
1468 | #include <assert.h> |
1421 | #include <assert.h> |
1469 | /* Override any gcc2 internal prototype to avoid an error. */ |
1422 | /* Override any gcc2 internal prototype to avoid an error. */ |
… | |
… | |
1482 | mkstemp(); |
1435 | mkstemp(); |
1483 | #endif |
1436 | #endif |
1484 | |
1437 | |
1485 | ; return 0; } |
1438 | ; return 0; } |
1486 | EOF |
1439 | EOF |
1487 | if { (eval echo configure:1488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1440 | if { (eval echo configure:1441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1488 | rm -rf conftest* |
1441 | rm -rf conftest* |
1489 | eval "ac_cv_func_mkstemp=yes" |
1442 | eval "ac_cv_func_mkstemp=yes" |
1490 | else |
1443 | else |
1491 | echo "configure: failed program was:" >&5 |
1444 | echo "configure: failed program was:" >&5 |
1492 | cat conftest.$ac_ext >&5 |
1445 | cat conftest.$ac_ext >&5 |
… | |
… | |
1511 | # strerror might be internally defined. this would cause a |
1464 | # strerror might be internally defined. this would cause a |
1512 | # CHECK_FUNCS(strerror) to fail because it'd be called with |
1465 | # CHECK_FUNCS(strerror) to fail because it'd be called with |
1513 | # zero arguments. So use our own code. |
1466 | # zero arguments. So use our own code. |
1514 | # |
1467 | # |
1515 | echo $ac_n "checking for strerror""... $ac_c" 1>&6 |
1468 | echo $ac_n "checking for strerror""... $ac_c" 1>&6 |
1516 | echo "configure:1517: checking for strerror" >&5 |
1469 | echo "configure:1470: checking for strerror" >&5 |
1517 | cat > conftest.$ac_ext <<EOF |
1470 | cat > conftest.$ac_ext <<EOF |
1518 | #line 1519 "configure" |
1471 | #line 1472 "configure" |
1519 | #include "confdefs.h" |
1472 | #include "confdefs.h" |
1520 | |
1473 | |
1521 | char *blubb() { return (char *) strerror (42); } |
1474 | char *blubb() { return (char *) strerror (42); } |
1522 | |
1475 | |
1523 | int main() { |
1476 | int main() { |
1524 | |
1477 | |
1525 | (void) blubb(); |
1478 | (void) blubb(); |
1526 | |
1479 | |
1527 | ; return 0; } |
1480 | ; return 0; } |
1528 | EOF |
1481 | EOF |
1529 | if { (eval echo configure:1530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1482 | if { (eval echo configure:1483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1530 | rm -rf conftest* |
1483 | rm -rf conftest* |
1531 | have_strerror=yes |
1484 | have_strerror=yes |
1532 | else |
1485 | else |
1533 | echo "configure: failed program was:" >&5 |
1486 | echo "configure: failed program was:" >&5 |
1534 | cat conftest.$ac_ext >&5 |
1487 | cat conftest.$ac_ext >&5 |
… | |
… | |
1541 | fi |
1494 | fi |
1542 | rm -f conftest* |
1495 | rm -f conftest* |
1543 | echo "$ac_t""$have_strerror" 1>&6 |
1496 | echo "$ac_t""$have_strerror" 1>&6 |
1544 | |
1497 | |
1545 | echo $ac_n "checking for stdin""... $ac_c" 1>&6 |
1498 | echo $ac_n "checking for stdin""... $ac_c" 1>&6 |
1546 | echo "configure:1547: checking for stdin" >&5 |
1499 | echo "configure:1500: checking for stdin" >&5 |
1547 | cat > conftest.$ac_ext <<EOF |
1500 | cat > conftest.$ac_ext <<EOF |
1548 | #line 1549 "configure" |
1501 | #line 1502 "configure" |
1549 | #include "confdefs.h" |
1502 | #include "confdefs.h" |
1550 | |
1503 | |
1551 | #include <stdio.h> |
1504 | #include <stdio.h> |
1552 | char *blubb() { FILE *in, *out; in=stdin; out=stdout; return (char*)0; } |
1505 | char *blubb() { FILE *in, *out; in=stdin; out=stdout; return (char*)0; } |
1553 | |
1506 | |
… | |
… | |
1555 | |
1508 | |
1556 | (void) blubb(); |
1509 | (void) blubb(); |
1557 | |
1510 | |
1558 | ; return 0; } |
1511 | ; return 0; } |
1559 | EOF |
1512 | EOF |
1560 | if { (eval echo configure:1561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1513 | if { (eval echo configure:1514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1561 | rm -rf conftest* |
1514 | rm -rf conftest* |
1562 | have_stdio=yes |
1515 | have_stdio=yes |
1563 | else |
1516 | else |
1564 | echo "configure: failed program was:" >&5 |
1517 | echo "configure: failed program was:" >&5 |
1565 | cat conftest.$ac_ext >&5 |
1518 | cat conftest.$ac_ext >&5 |
… | |
… | |
1576 | if test "$ac_cv_header_stdc" = "no" ; then |
1529 | if test "$ac_cv_header_stdc" = "no" ; then |
1577 | for ac_hdr in stdarg.h varargs.h |
1530 | for ac_hdr in stdarg.h varargs.h |
1578 | do |
1531 | do |
1579 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1532 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
1580 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1533 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1581 | echo "configure:1582: checking for $ac_hdr" >&5 |
1534 | echo "configure:1535: checking for $ac_hdr" >&5 |
1582 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1535 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1583 | echo $ac_n "(cached) $ac_c" 1>&6 |
1536 | echo $ac_n "(cached) $ac_c" 1>&6 |
1584 | else |
1537 | else |
1585 | cat > conftest.$ac_ext <<EOF |
1538 | cat > conftest.$ac_ext <<EOF |
1586 | #line 1587 "configure" |
1539 | #line 1540 "configure" |
1587 | #include "confdefs.h" |
1540 | #include "confdefs.h" |
1588 | #include <$ac_hdr> |
1541 | #include <$ac_hdr> |
1589 | EOF |
1542 | EOF |
1590 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1543 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1591 | { (eval echo configure:1592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1544 | { (eval echo configure:1545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1592 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1545 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1593 | if test -z "$ac_err"; then |
1546 | if test -z "$ac_err"; then |
1594 | rm -rf conftest* |
1547 | rm -rf conftest* |
1595 | eval "ac_cv_header_$ac_safe=yes" |
1548 | eval "ac_cv_header_$ac_safe=yes" |
1596 | else |
1549 | else |
… | |
… | |
1664 | |
1617 | |
1665 | # |
1618 | # |
1666 | # set version number |
1619 | # set version number |
1667 | # |
1620 | # |
1668 | echo $ac_n "checking version number""... $ac_c" 1>&6 |
1621 | echo $ac_n "checking version number""... $ac_c" 1>&6 |
1669 | echo "configure:1670: checking version number" >&5 |
1622 | echo "configure:1623: checking version number" >&5 |
1670 | version_number="$VERSION"pl"$PATCH" |
1623 | version_number="$VERSION"pl"$PATCH" |
1671 | echo "$ac_t""$version_number" 1>&6 |
1624 | echo "$ac_t""$version_number" 1>&6 |
1672 | |
1625 | |
1673 | |
1626 | |
1674 | |
1627 | |