ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/uulib/configure
(Generate patch)

Comparing Convert-UUlib/uulib/configure (file contents):
Revision 1.7 by root, Thu Nov 6 13:33:41 2003 UTC vs.
Revision 1.8 by root, Sun Apr 18 20:08:11 2004 UTC

530 530
531# 531#
532# package revision 532# package revision
533# 533#
534VERSION=0.5 534VERSION=0.5
535PATCH=19 535PATCH=20
536 536
537# Check whether --with-cc or --without-cc was given. 537# Check whether --with-cc or --without-cc was given.
538if test "${with_cc+set}" = set; then 538if 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"
849fi 849fi
850echo "$ac_t""$CPP" 1>&6 850echo "$ac_t""$CPP" 1>&6
851 851
852 852
853echo $ac_n "checking if HP-UX ansi C compiler flags are needed""... $ac_c" 1>&6
854echo "configure:855: checking if HP-UX ansi C compiler flags are needed" >&5
855
856os=`uname -s | tr 'A-Z' 'a-z'`
857ac_cv_hpux_flags=no
858if 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
880fi
881echo "$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
900echo $ac_n "checking if the compiler supports function prototypes""... $ac_c" 1>&6 853echo $ac_n "checking if the compiler supports function prototypes""... $ac_c" 1>&6
901echo "configure:902: checking if the compiler supports function prototypes" >&5 854echo "configure:855: checking if the compiler supports function prototypes" >&5
902cat > conftest.$ac_ext <<EOF 855cat > conftest.$ac_ext <<EOF
903#line 904 "configure" 856#line 857 "configure"
904#include "confdefs.h" 857#include "confdefs.h"
905 858
906int main() { 859int main() {
907extern void exit(int status); 860extern void exit(int status);
908; return 0; } 861; return 0; }
909EOF 862EOF
910if { (eval echo configure:911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 863if { (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
913cat >> confdefs.h <<\EOF 866cat >> confdefs.h <<\EOF
914#define PROTOTYPES 1 867#define PROTOTYPES 1
915EOF 868EOF
922fi 875fi
923rm -f conftest* 876rm -f conftest*
924echo "$ac_t""$wi_cv_prototypes" 1>&6 877echo "$ac_t""$wi_cv_prototypes" 1>&6
925 878
926echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 879echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
927echo "configure:928: checking whether ${MAKE-make} sets \${MAKE}" >&5 880echo "configure:881: checking whether ${MAKE-make} sets \${MAKE}" >&5
928set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 881set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
929if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 882if 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
931else 884else
932 cat > conftestmake <<\EOF 885 cat > conftestmake <<\EOF
951fi 904fi
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.
954set dummy ranlib; ac_word=$2 907set dummy ranlib; ac_word=$2
955echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 908echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
956echo "configure:957: checking for $ac_word" >&5 909echo "configure:910: checking for $ac_word" >&5
957if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 910if 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
959else 912else
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
995echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 948echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
996echo "configure:997: checking for ANSI C header files" >&5 949echo "configure:950: checking for ANSI C header files" >&5
997if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 950if 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
999else 952else
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>
1007EOF 960EOF
1008ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 961ac_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; }
1010ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 963ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1011if test -z "$ac_err"; then 964if 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
1014else 967else
1021rm -f conftest* 974rm -f conftest*
1022 975
1023if test $ac_cv_header_stdc = yes; then 976if 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.
1025cat > conftest.$ac_ext <<EOF 978cat > 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>
1029EOF 982EOF
1030if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 983if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1031 egrep "memchr" >/dev/null 2>&1; then 984 egrep "memchr" >/dev/null 2>&1; then
1039fi 992fi
1040 993
1041if test $ac_cv_header_stdc = yes; then 994if 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.
1043cat > conftest.$ac_ext <<EOF 996cat > 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>
1047EOF 1000EOF
1048if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1001if (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.
1061if test "$cross_compiling" = yes; then 1014if test "$cross_compiling" = yes; then
1062 : 1015 :
1063else 1016else
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)))
1071int main () { int i; for (i = 0; i < 256; i++) 1024int main () { int i; for (i = 0; i < 256; i++)
1072if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 1025if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1073exit (0); } 1026exit (0); }
1074 1027
1075EOF 1028EOF
1076if { (eval echo configure:1077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1029if { (eval echo configure:1030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1077then 1030then
1078 : 1031 :
1079else 1032else
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
1095EOF 1048EOF
1096 1049
1097fi 1050fi
1098 1051
1099echo $ac_n "checking for size_t""... $ac_c" 1>&6 1052echo $ac_n "checking for size_t""... $ac_c" 1>&6
1100echo "configure:1101: checking for size_t" >&5 1053echo "configure:1054: checking for size_t" >&5
1101if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1054if 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
1103else 1056else
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>
1128EOF 1081EOF
1129 1082
1130fi 1083fi
1131 1084
1132echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 1085echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
1133echo "configure:1134: checking whether time.h and sys/time.h may both be included" >&5 1086echo "configure:1087: checking whether time.h and sys/time.h may both be included" >&5
1134if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 1087if 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
1136else 1089else
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>
1143int main() { 1096int main() {
1144struct tm *tp; 1097struct tm *tp;
1145; return 0; } 1098; return 0; }
1146EOF 1099EOF
1147if { (eval echo configure:1148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1100if { (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
1150else 1103else
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
1167for ac_hdr in fcntl.h unistd.h memory.h malloc.h errno.h 1120for ac_hdr in fcntl.h unistd.h memory.h malloc.h errno.h
1168do 1121do
1169ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1122ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1170echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1123echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1171echo "configure:1172: checking for $ac_hdr" >&5 1124echo "configure:1125: checking for $ac_hdr" >&5
1172if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1125if 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
1174else 1127else
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>
1179EOF 1132EOF
1180ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1133ac_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; }
1182ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1135ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1183if test -z "$ac_err"; then 1136if 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"
1186else 1139else
1206 1159
1207for ac_hdr in io.h sys/time.h 1160for ac_hdr in io.h sys/time.h
1208do 1161do
1209ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1162ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1210echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1163echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1211echo "configure:1212: checking for $ac_hdr" >&5 1164echo "configure:1165: checking for $ac_hdr" >&5
1212if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1165if 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
1214else 1167else
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>
1219EOF 1172EOF
1220ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1173ac_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; }
1222ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1175ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1223if test -z "$ac_err"; then 1176if 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"
1226else 1179else
1245done 1198done
1246 1199
1247for ac_func in gettimeofday 1200for ac_func in gettimeofday
1248do 1201do
1249echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1202echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1250echo "configure:1251: checking for $ac_func" >&5 1203echo "configure:1204: checking for $ac_func" >&5
1251if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1204if 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
1253else 1206else
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; }
1277EOF 1230EOF
1278if { (eval echo configure:1279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1231if { (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"
1281else 1234else
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
1299fi 1252fi
1300done 1253done
1301 1254
1302 1255
1303echo $ac_n "checking for tempnam""... $ac_c" 1>&6 1256echo $ac_n "checking for tempnam""... $ac_c" 1>&6
1304echo "configure:1305: checking for tempnam" >&5 1257echo "configure:1258: checking for tempnam" >&5
1305if eval "test \"`echo '$''{'ac_cv_func_tempnam'+set}'`\" = set"; then 1258if 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
1307else 1260else
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. */
1327tempnam(); 1280tempnam();
1328#endif 1281#endif
1329 1282
1330; return 0; } 1283; return 0; }
1331EOF 1284EOF
1332if { (eval echo configure:1333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1285if { (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"
1335else 1288else
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
1353fi 1306fi
1354 1307
1355 1308
1356echo $ac_n "checking for chmod""... $ac_c" 1>&6 1309echo $ac_n "checking for chmod""... $ac_c" 1>&6
1357echo "configure:1358: checking for chmod" >&5 1310echo "configure:1311: checking for chmod" >&5
1358if eval "test \"`echo '$''{'ac_cv_func_chmod'+set}'`\" = set"; then 1311if 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
1360else 1313else
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. */
1380chmod(); 1333chmod();
1381#endif 1334#endif
1382 1335
1383; return 0; } 1336; return 0; }
1384EOF 1337EOF
1385if { (eval echo configure:1386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1338if { (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"
1388else 1341else
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
1403else 1356else
1404 echo "$ac_t""no" 1>&6 1357 echo "$ac_t""no" 1>&6
1405fi 1358fi
1406 1359
1407echo $ac_n "checking for umask""... $ac_c" 1>&6 1360echo $ac_n "checking for umask""... $ac_c" 1>&6
1408echo "configure:1409: checking for umask" >&5 1361echo "configure:1362: checking for umask" >&5
1409if eval "test \"`echo '$''{'ac_cv_func_umask'+set}'`\" = set"; then 1362if 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
1411else 1364else
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. */
1431umask(); 1384umask();
1432#endif 1385#endif
1433 1386
1434; return 0; } 1387; return 0; }
1435EOF 1388EOF
1436if { (eval echo configure:1437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1389if { (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"
1439else 1392else
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
1454else 1407else
1455 echo "$ac_t""no" 1>&6 1408 echo "$ac_t""no" 1>&6
1456fi 1409fi
1457 1410
1458echo $ac_n "checking for mkstemp""... $ac_c" 1>&6 1411echo $ac_n "checking for mkstemp""... $ac_c" 1>&6
1459echo "configure:1460: checking for mkstemp" >&5 1412echo "configure:1413: checking for mkstemp" >&5
1460if eval "test \"`echo '$''{'ac_cv_func_mkstemp'+set}'`\" = set"; then 1413if 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
1462else 1415else
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. */
1482mkstemp(); 1435mkstemp();
1483#endif 1436#endif
1484 1437
1485; return 0; } 1438; return 0; }
1486EOF 1439EOF
1487if { (eval echo configure:1488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1440if { (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"
1490else 1443else
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#
1515echo $ac_n "checking for strerror""... $ac_c" 1>&6 1468echo $ac_n "checking for strerror""... $ac_c" 1>&6
1516echo "configure:1517: checking for strerror" >&5 1469echo "configure:1470: checking for strerror" >&5
1517cat > conftest.$ac_ext <<EOF 1470cat > conftest.$ac_ext <<EOF
1518#line 1519 "configure" 1471#line 1472 "configure"
1519#include "confdefs.h" 1472#include "confdefs.h"
1520 1473
1521char *blubb() { return (char *) strerror (42); } 1474char *blubb() { return (char *) strerror (42); }
1522 1475
1523int main() { 1476int main() {
1524 1477
1525(void) blubb(); 1478(void) blubb();
1526 1479
1527; return 0; } 1480; return 0; }
1528EOF 1481EOF
1529if { (eval echo configure:1530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1482if { (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
1532else 1485else
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
1541fi 1494fi
1542rm -f conftest* 1495rm -f conftest*
1543echo "$ac_t""$have_strerror" 1>&6 1496echo "$ac_t""$have_strerror" 1>&6
1544 1497
1545echo $ac_n "checking for stdin""... $ac_c" 1>&6 1498echo $ac_n "checking for stdin""... $ac_c" 1>&6
1546echo "configure:1547: checking for stdin" >&5 1499echo "configure:1500: checking for stdin" >&5
1547cat > conftest.$ac_ext <<EOF 1500cat > 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>
1552char *blubb() { FILE *in, *out; in=stdin; out=stdout; return (char*)0; } 1505char *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; }
1559EOF 1512EOF
1560if { (eval echo configure:1561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1513if { (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
1563else 1516else
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
1576if test "$ac_cv_header_stdc" = "no" ; then 1529if 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
1578do 1531do
1579ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1532ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1580echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1533echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1581echo "configure:1582: checking for $ac_hdr" >&5 1534echo "configure:1535: checking for $ac_hdr" >&5
1582if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1535if 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
1584else 1537else
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>
1589EOF 1542EOF
1590ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1543ac_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; }
1592ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1545ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1593if test -z "$ac_err"; then 1546if 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"
1596else 1549else
1664 1617
1665# 1618#
1666# set version number 1619# set version number
1667# 1620#
1668echo $ac_n "checking version number""... $ac_c" 1>&6 1621echo $ac_n "checking version number""... $ac_c" 1>&6
1669echo "configure:1670: checking version number" >&5 1622echo "configure:1623: checking version number" >&5
1670version_number="$VERSION"pl"$PATCH" 1623version_number="$VERSION"pl"$PATCH"
1671echo "$ac_t""$version_number" 1>&6 1624echo "$ac_t""$version_number" 1>&6
1672 1625
1673 1626
1674 1627

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines