|
|
|
@ -6945,14 +6945,47 @@ cat >> confdefs.h <<EOF
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for size_t""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:6950: checking for size_t" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "checking for sig_atomic_t""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:6950: checking for sig_atomic_t" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ol_cv_type_sig_atomic_t'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 6955 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <signal.h>
|
|
|
|
|
int main() {
|
|
|
|
|
sig_atomic_t atomic;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:6962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ol_cv_type_sig_atomic_t=yes
|
|
|
|
|
else
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ol_cv_type_sig_atomic_t=no
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""$ol_cv_type_sig_atomic_t" 1>&6
|
|
|
|
|
if test $ol_cv_type_sig_atomic_t = no; then
|
|
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
|
|
#define sig_atomic_t int
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for size_t""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:6983: checking for size_t" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 6988 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#if STDC_HEADERS
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
@ -6979,12 +7012,12 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:6983: checking for st_blksize in struct stat" >&5
|
|
|
|
|
echo "configure:7016: checking for st_blksize in struct stat" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 6988 "configure"
|
|
|
|
|
#line 7021 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <sys/stat.h>
|
|
|
|
@ -6992,7 +7025,7 @@ int main() {
|
|
|
|
|
struct stat s; s.st_blksize;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:6996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:7029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_struct_st_blksize=yes
|
|
|
|
|
else
|
|
|
|
@ -7013,12 +7046,12 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7017: checking whether time.h and sys/time.h may both be included" >&5
|
|
|
|
|
echo "configure:7050: checking whether time.h and sys/time.h may both be included" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7022 "configure"
|
|
|
|
|
#line 7055 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <sys/time.h>
|
|
|
|
@ -7027,7 +7060,7 @@ int main() {
|
|
|
|
|
struct tm *tp;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:7064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_header_time=yes
|
|
|
|
|
else
|
|
|
|
@ -7048,12 +7081,12 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7052: checking whether struct tm is in sys/time.h or time.h" >&5
|
|
|
|
|
echo "configure:7085: checking whether struct tm is in sys/time.h or time.h" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7057 "configure"
|
|
|
|
|
#line 7090 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <time.h>
|
|
|
|
@ -7061,7 +7094,7 @@ int main() {
|
|
|
|
|
struct tm *tp; tp->tm_sec;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:7098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_struct_tm=time.h
|
|
|
|
|
else
|
|
|
|
@ -7084,7 +7117,7 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking if toupper() requires islower()""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7088: checking if toupper() requires islower()" >&5
|
|
|
|
|
echo "configure:7121: checking if toupper() requires islower()" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ol_cv_c_upper_lower'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -7093,7 +7126,7 @@ else
|
|
|
|
|
ol_cv_c_upper_lower=safe
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7097 "configure"
|
|
|
|
|
#line 7130 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#include <ctype.h>
|
|
|
|
@ -7105,7 +7138,7 @@ main()
|
|
|
|
|
exit(1);
|
|
|
|
|
}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:7142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
ol_cv_c_upper_lower=no
|
|
|
|
|
else
|
|
|
|
@ -7128,12 +7161,12 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7132: checking for working const" >&5
|
|
|
|
|
echo "configure:7165: checking for working const" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7137 "configure"
|
|
|
|
|
#line 7170 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
@ -7182,7 +7215,7 @@ ccp = (char const *const *) p;
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:7219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_c_const=yes
|
|
|
|
|
else
|
|
|
|
@ -7202,6 +7235,43 @@ EOF
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking if compiler understands volatile""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7240: checking if compiler understands volatile" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ol_cv_c_volatile'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7245 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
int x, y, z;
|
|
|
|
|
int main() {
|
|
|
|
|
volatile int a; int * volatile b = x ? &y : &z;
|
|
|
|
|
/* Older MIPS compilers (eg., in Ultrix 4.2) don't like *b = 0 */
|
|
|
|
|
*b = 0;
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ol_cv_c_volatile=yes
|
|
|
|
|
else
|
|
|
|
|
echo "configure: failed program was:" >&5
|
|
|
|
|
cat conftest.$ac_ext >&5
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ol_cv_c_volatile=no
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest*
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$ac_t""$ol_cv_c_volatile" 1>&6
|
|
|
|
|
if test $ol_cv_c_volatile = yes; then
|
|
|
|
|
:
|
|
|
|
|
else
|
|
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
|
|
#define volatile
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test $cross_compiling = yes ; then
|
|
|
|
|
cat >> confdefs.h <<\EOF
|
|
|
|
@ -7210,14 +7280,14 @@ EOF
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7214: checking whether byte ordering is bigendian" >&5
|
|
|
|
|
echo "configure:7284: checking whether byte ordering is bigendian" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
ac_cv_c_bigendian=unknown
|
|
|
|
|
# See if sys/param.h defines the BYTE_ORDER macro.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7221 "configure"
|
|
|
|
|
#line 7291 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <sys/param.h>
|
|
|
|
@ -7228,11 +7298,11 @@ int main() {
|
|
|
|
|
#endif
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:7302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
# It does; now see whether it defined to BIG_ENDIAN or not.
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7236 "configure"
|
|
|
|
|
#line 7306 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <sys/param.h>
|
|
|
|
@ -7243,7 +7313,7 @@ int main() {
|
|
|
|
|
#endif
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:7317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ac_cv_c_bigendian=yes
|
|
|
|
|
else
|
|
|
|
@ -7263,7 +7333,7 @@ if test "$cross_compiling" = yes; then
|
|
|
|
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7267 "configure"
|
|
|
|
|
#line 7337 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
main () {
|
|
|
|
|
/* Are we little or big endian? From Harbison&Steele. */
|
|
|
|
@ -7276,7 +7346,7 @@ main () {
|
|
|
|
|
exit (u.c[sizeof (long) - 1] == 1);
|
|
|
|
|
}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:7350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
ac_cv_c_bigendian=no
|
|
|
|
|
else
|
|
|
|
@ -7300,7 +7370,7 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking size of short""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7304: checking size of short" >&5
|
|
|
|
|
echo "configure:7374: checking size of short" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -7308,7 +7378,7 @@ else
|
|
|
|
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7312 "configure"
|
|
|
|
|
#line 7382 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
main()
|
|
|
|
@ -7319,7 +7389,7 @@ main()
|
|
|
|
|
exit(0);
|
|
|
|
|
}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:7393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
ac_cv_sizeof_short=`cat conftestval`
|
|
|
|
|
else
|
|
|
|
@ -7339,7 +7409,7 @@ EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking size of int""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7343: checking size of int" >&5
|
|
|
|
|
echo "configure:7413: checking size of int" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -7347,7 +7417,7 @@ else
|
|
|
|
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7351 "configure"
|
|
|
|
|
#line 7421 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
main()
|
|
|
|
@ -7358,7 +7428,7 @@ main()
|
|
|
|
|
exit(0);
|
|
|
|
|
}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:7432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
ac_cv_sizeof_int=`cat conftestval`
|
|
|
|
|
else
|
|
|
|
@ -7378,7 +7448,7 @@ EOF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking size of long""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7382: checking size of long" >&5
|
|
|
|
|
echo "configure:7452: checking size of long" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -7386,7 +7456,7 @@ else
|
|
|
|
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7390 "configure"
|
|
|
|
|
#line 7460 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
main()
|
|
|
|
@ -7397,7 +7467,7 @@ main()
|
|
|
|
|
exit(0);
|
|
|
|
|
}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:7471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
ac_cv_sizeof_long=`cat conftestval`
|
|
|
|
|
else
|
|
|
|
@ -7419,7 +7489,7 @@ EOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7423: checking for 8-bit clean memcmp" >&5
|
|
|
|
|
echo "configure:7493: checking for 8-bit clean memcmp" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -7427,7 +7497,7 @@ else
|
|
|
|
|
ac_cv_func_memcmp_clean=no
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7431 "configure"
|
|
|
|
|
#line 7501 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
main()
|
|
|
|
@ -7437,7 +7507,7 @@ main()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:7511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
ac_cv_func_memcmp_clean=yes
|
|
|
|
|
else
|
|
|
|
@ -7455,12 +7525,12 @@ echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
|
|
|
|
|
test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.o"
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for strftime""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7459: checking for strftime" >&5
|
|
|
|
|
echo "configure:7529: checking for strftime" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_strftime'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7464 "configure"
|
|
|
|
|
#line 7534 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char strftime(); below. */
|
|
|
|
@ -7483,7 +7553,7 @@ strftime();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:7557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_strftime=yes"
|
|
|
|
|
else
|
|
|
|
@ -7505,7 +7575,7 @@ else
|
|
|
|
|
echo "$ac_t""no" 1>&6
|
|
|
|
|
# strftime is in -lintl on SCO UNIX.
|
|
|
|
|
echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7509: checking for strftime in -lintl" >&5
|
|
|
|
|
echo "configure:7579: checking for strftime in -lintl" >&5
|
|
|
|
|
ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'`
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
@ -7513,7 +7583,7 @@ else
|
|
|
|
|
ac_save_LIBS="$LIBS"
|
|
|
|
|
LIBS="-lintl $LIBS"
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7517 "configure"
|
|
|
|
|
#line 7587 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
|
|
/* We use char because int might match the return type of a gcc2
|
|
|
|
@ -7524,7 +7594,7 @@ int main() {
|
|
|
|
|
strftime()
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:7598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
|
|
else
|
|
|
|
@ -7551,12 +7621,12 @@ fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for vprintf""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7555: checking for vprintf" >&5
|
|
|
|
|
echo "configure:7625: checking for vprintf" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7560 "configure"
|
|
|
|
|
#line 7630 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char vprintf(); below. */
|
|
|
|
@ -7579,7 +7649,7 @@ vprintf();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:7653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_vprintf=yes"
|
|
|
|
|
else
|
|
|
|
@ -7603,12 +7673,12 @@ fi
|
|
|
|
|
|
|
|
|
|
if test "$ac_cv_func_vprintf" != yes; then
|
|
|
|
|
echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7607: checking for _doprnt" >&5
|
|
|
|
|
echo "configure:7677: checking for _doprnt" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7612 "configure"
|
|
|
|
|
#line 7682 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char _doprnt(); below. */
|
|
|
|
@ -7631,7 +7701,7 @@ _doprnt();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:7705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func__doprnt=yes"
|
|
|
|
|
else
|
|
|
|
@ -7660,12 +7730,12 @@ if test $ac_cv_func_vprintf = yes ; then
|
|
|
|
|
for ac_func in vsnprintf
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7664: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:7734: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7669 "configure"
|
|
|
|
|
#line 7739 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -7688,7 +7758,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:7762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -7715,7 +7785,7 @@ done
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking for wait3 that fills in rusage""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7719: checking for wait3 that fills in rusage" >&5
|
|
|
|
|
echo "configure:7789: checking for wait3 that fills in rusage" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
@ -7723,7 +7793,7 @@ else
|
|
|
|
|
ac_cv_func_wait3_rusage=no
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7727 "configure"
|
|
|
|
|
#line 7797 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
#include <sys/time.h>
|
|
|
|
@ -7754,7 +7824,7 @@ main() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
if { (eval echo configure:7828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
|
|
then
|
|
|
|
|
ac_cv_func_wait3_rusage=yes
|
|
|
|
|
else
|
|
|
|
@ -7809,12 +7879,12 @@ for ac_func in \
|
|
|
|
|
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7813: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:7883: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7818 "configure"
|
|
|
|
|
#line 7888 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -7837,7 +7907,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:7911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -7871,12 +7941,12 @@ for ac_func in \
|
|
|
|
|
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7875: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:7945: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7880 "configure"
|
|
|
|
|
#line 7950 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -7899,7 +7969,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:7973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -7946,12 +8016,12 @@ fi
|
|
|
|
|
for ac_func in getopt strdup tempnam
|
|
|
|
|
do
|
|
|
|
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:7950: checking for $ac_func" >&5
|
|
|
|
|
echo "configure:8020: checking for $ac_func" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 7955 "configure"
|
|
|
|
|
#line 8025 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
|
|
which can conflict with char $ac_func(); below. */
|
|
|
|
@ -7974,7 +8044,7 @@ $ac_func();
|
|
|
|
|
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:7978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:8048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
eval "ac_cv_func_$ac_func=yes"
|
|
|
|
|
else
|
|
|
|
@ -8004,13 +8074,13 @@ done
|
|
|
|
|
# Check Configuration
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking declaration of sys_errlist""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:8008: checking declaration of sys_errlist" >&5
|
|
|
|
|
echo "configure:8078: checking declaration of sys_errlist" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ol_cv_dcl_sys_errlist'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 8014 "configure"
|
|
|
|
|
#line 8084 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
@ -8020,7 +8090,7 @@ int main() {
|
|
|
|
|
char *c = (char *) *sys_errlist
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:8024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
if { (eval echo configure:8094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ol_cv_dcl_sys_errlist=yes
|
|
|
|
|
else
|
|
|
|
@ -8041,20 +8111,20 @@ if test $ol_cv_dcl_sys_errlist = no ; then
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
echo $ac_n "checking existence of sys_errlist""... $ac_c" 1>&6
|
|
|
|
|
echo "configure:8045: checking existence of sys_errlist" >&5
|
|
|
|
|
echo "configure:8115: checking existence of sys_errlist" >&5
|
|
|
|
|
if eval "test \"`echo '$''{'ol_cv_have_sys_errlist'+set}'`\" = set"; then
|
|
|
|
|
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
|
|
else
|
|
|
|
|
|
|
|
|
|
cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#line 8051 "configure"
|
|
|
|
|
#line 8121 "configure"
|
|
|
|
|
#include "confdefs.h"
|
|
|
|
|
#include <errno.h>
|
|
|
|
|
int main() {
|
|
|
|
|
char *c = (char *) *sys_errlist
|
|
|
|
|
; return 0; }
|
|
|
|
|
EOF
|
|
|
|
|
if { (eval echo configure:8058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
if { (eval echo configure:8128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
|
|
rm -rf conftest*
|
|
|
|
|
ol_cv_have_sys_errlist=yes
|
|
|
|
|
else
|
|
|
|
|