8
8
# Free Software Foundation, Inc.
9
9
# This configure script is free software; the Free Software Foundation
10
10
# gives unlimited permission to copy, distribute and modify it.
12
if expr a : '\(a\)' >/dev/null 2>&1; then
19
11
## --------------------- ##
20
12
## M4sh Initialization. ##
21
13
## --------------------- ##
39
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
40
{ $as_unset LANG || test "${LANG+set}" != set; } ||
41
{ LANG=C; export LANG; }
42
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
43
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
44
{ LC_ALL=C; export LC_ALL; }
45
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
46
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
47
{ LC_TIME=C; export LC_TIME; }
48
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
49
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
50
{ LC_CTYPE=C; export LC_CTYPE; }
51
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
52
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
53
{ LANGUAGE=C; export LANGUAGE; }
54
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
55
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
56
{ LC_COLLATE=C; export LC_COLLATE; }
57
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
58
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
59
{ LC_NUMERIC=C; export LC_NUMERIC; }
60
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
61
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
62
{ LC_MESSAGES=C; export LC_MESSAGES; }
34
# Work around bugs in pre-3.0 UWIN ksh.
35
$as_unset ENV MAIL MAILPATH
42
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
eval $as_var=C; export $as_var
53
# Required to use basename.
54
if expr a : '\(a\)' >/dev/null 2>&1; then
60
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65
67
# Name of the executable.
66
as_me=`(basename "$0") 2>/dev/null ||
68
as_me=`$as_basename "$0" ||
67
69
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
70
X"$0" : 'X\(//\)$' \| \
69
71
X"$0" : 'X\(/\)$' \| \
85
88
# The user is always right.
86
89
if test "${PATH_SEPARATOR+set}" != set; then
87
echo "#! /bin/sh" >conftest.sh
88
echo "exit 0" >>conftest.sh
90
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
90
echo "#! /bin/sh" >conf$$.sh
91
echo "exit 0" >>conf$$.sh
93
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
924
941
test -n "$ac_init_help" && exit 0
925
942
if $ac_init_version; then
927
wmcpuload configure 0.9.0
928
generated by GNU Autoconf 2.53
944
wmcpuload configure 1.0.1
945
generated by GNU Autoconf 2.57
930
947
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
931
948
Free Software Foundation, Inc.
993
1010
# Keep a trace of the command line.
994
1011
# Strip out --no-create and --no-recursion so they do not pile up.
1012
# Strip out --silent because we don't want to record it for future runs.
995
1013
# Also quote any args containing shell meta-characters.
1014
# Make two passes to allow for proper duplicate-argument suppression.
996
1015
ac_configure_args=
1019
ac_must_keep_next=false
1001
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1002
| --no-cr | --no-c | -n ) continue ;;
1003
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1004
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1007
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1009
case " $ac_configure_args " in
1010
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1011
*) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1014
# Get rid of the leading space.
1025
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1026
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1027
| -silent | --silent | --silen | --sile | --sil)
1029
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1030
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1033
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1035
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1036
if test $ac_must_keep_next = true; then
1037
ac_must_keep_next=false # Got value, back to normal.
1040
*=* | --config-cache | -C | -disable-* | --disable-* \
1041
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1042
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1043
| -with-* | --with-* | -without-* | --without-* | --x)
1044
case "$ac_configure_args0 " in
1045
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1048
-* ) ac_must_keep_next=true ;;
1051
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1052
# Get rid of the leading space.
1058
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1059
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1017
1061
# When interrupted or exit'd, cleanup temporary files, and complete
1018
1062
# config.log. We remove comments because anyway the quotes in there
1459
1535
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1460
1536
rm conftest.sed
1462
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1463
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1538
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1539
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1464
1540
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1465
1541
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1466
1542
echo $ECHO_N "(cached) $ECHO_C" >&6
1468
1544
cat >conftest.make <<\_ACEOF
1470
@echo 'ac_maketemp="${MAKE}"'
1546
@echo 'ac_maketemp="$(MAKE)"'
1472
1548
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1473
1549
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1513
1589
missing_dir=`cd $ac_aux_dir && pwd`
1514
echo "$as_me:$LINENO: checking for working aclocal" >&5
1515
echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
1590
echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1591
echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
1516
1592
# Run test in a subshell; some versions of sh will print an error if
1517
1593
# an executable is not found, even if stderr is redirected.
1518
1594
# Redirect stdin to placate older versions of autoconf. Sigh.
1519
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1595
if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1596
ACLOCAL=aclocal-${am__api_version}
1521
1597
echo "$as_me:$LINENO: result: found" >&5
1522
1598
echo "${ECHO_T}found" >&6
1524
ACLOCAL="$missing_dir/missing aclocal"
1600
ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1525
1601
echo "$as_me:$LINENO: result: missing" >&5
1526
1602
echo "${ECHO_T}missing" >&6
1541
1617
echo "${ECHO_T}missing" >&6
1544
echo "$as_me:$LINENO: checking for working automake" >&5
1545
echo $ECHO_N "checking for working automake... $ECHO_C" >&6
1620
echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1621
echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
1546
1622
# Run test in a subshell; some versions of sh will print an error if
1547
1623
# an executable is not found, even if stderr is redirected.
1548
1624
# Redirect stdin to placate older versions of autoconf. Sigh.
1549
if (automake --version) < /dev/null > /dev/null 2>&1; then
1625
if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1626
AUTOMAKE=automake-${am__api_version}
1551
1627
echo "$as_me:$LINENO: result: found" >&5
1552
1628
echo "${ECHO_T}found" >&6
1554
AUTOMAKE="$missing_dir/missing automake"
1630
AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1555
1631
echo "$as_me:$LINENO: result: missing" >&5
1556
1632
echo "${ECHO_T}missing" >&6
2008
2082
# Be careful to initialize this variable, since it used to be cached.
2009
2083
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2011
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2012
ls a.out conftest 2>/dev/null;
2013
ls a.* conftest.* 2>/dev/null`; do
2085
# b.out is created by i960 compilers.
2086
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2088
test -f "$ac_file" || continue
2014
2089
case $ac_file in
2015
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2016
a.out ) # We found the default executable, but exeext='' is most
2019
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2020
# FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2090
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2093
# This is the source file.
2096
# We found the default executable, but exeext='' is most
2100
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2101
# FIXME: I believe we export ac_cv_exeext for Libtool,
2102
# but it would be cool to find out if it's true. Does anybody
2103
# maintain Libtool? --akim.
2027
2111
echo "$as_me: failed program was:" >&5
2028
cat conftest.$ac_ext >&5
2029
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2030
echo "$as_me: error: C compiler cannot create executables" >&2;}
2112
sed 's/^/| /' conftest.$ac_ext >&5
2114
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2115
See \`config.log' for more details." >&5
2116
echo "$as_me: error: C compiler cannot create executables
2117
See \`config.log' for more details." >&2;}
2031
2118
{ (exit 77); exit 77; }; }
2054
2141
cross_compiling=yes
2056
2143
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2057
If you meant to cross compile, use \`--host'." >&5
2144
If you meant to cross compile, use \`--host'.
2145
See \`config.log' for more details." >&5
2058
2146
echo "$as_me: error: cannot run C compiled programs.
2059
If you meant to cross compile, use \`--host'." >&2;}
2147
If you meant to cross compile, use \`--host'.
2148
See \`config.log' for more details." >&2;}
2060
2149
{ (exit 1); exit 1; }; }
2084
2173
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2085
2174
# work properly (i.e., refer to `conftest.exe'), while it won't with
2087
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2176
for ac_file in conftest.exe conftest conftest.*; do
2177
test -f "$ac_file" || continue
2088
2178
case $ac_file in
2089
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2179
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2090
2180
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2091
2181
export ac_cv_exeext
2137
2227
(exit $ac_status); }; then
2138
2228
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2139
2229
case $ac_file in
2140
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2230
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2141
2231
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2146
2236
echo "$as_me: failed program was:" >&5
2147
cat conftest.$ac_ext >&5
2148
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2149
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2237
sed 's/^/| /' conftest.$ac_ext >&5
2239
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2240
See \`config.log' for more details." >&5
2241
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2242
See \`config.log' for more details." >&2;}
2150
2243
{ (exit 1); exit 1; }; }
2259
2350
CFLAGS=$ac_save_CFLAGS
2260
2351
elif test $ac_cv_prog_cc_g = yes; then
2261
2352
if test "$GCC" = yes; then
2262
CFLAGS="-g -O2 -Wall"
2267
2358
if test "$GCC" = yes; then
2364
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2365
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2366
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2367
echo $ECHO_N "(cached) $ECHO_C" >&6
2369
ac_cv_prog_cc_stdc=no
2371
cat >conftest.$ac_ext <<_ACEOF
2372
#line $LINENO "configure"
2375
cat confdefs.h >>conftest.$ac_ext
2376
cat >>conftest.$ac_ext <<_ACEOF
2377
/* end confdefs.h. */
2380
#include <sys/types.h>
2381
#include <sys/stat.h>
2382
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2383
struct buf { int x; };
2384
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2385
static char *e (p, i)
2391
static char *f (char * (*g) (char **, int), char **p, ...)
2396
s = g (p, va_arg (v,int));
2400
int test (int i, double x);
2401
struct s1 {int (*f) (int a);};
2402
struct s2 {int (*f) (double a);};
2403
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2409
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2414
# Don't try gcc -ansi; that turns off useful extensions and
2415
# breaks some systems' header files.
2416
# AIX -qlanglvl=ansi
2417
# Ultrix and OSF/1 -std1
2418
# HP-UX 10.20 and later -Ae
2419
# HP-UX older versions -Aa -D_HPUX_SOURCE
2420
# SVR4 -Xc -D__EXTENSIONS__
2421
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2423
CC="$ac_save_CC $ac_arg"
2424
rm -f conftest.$ac_objext
2425
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2426
(eval $ac_compile) 2>&5
2428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429
(exit $ac_status); } &&
2430
{ ac_try='test -s conftest.$ac_objext'
2431
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435
(exit $ac_status); }; }; then
2436
ac_cv_prog_cc_stdc=$ac_arg
2439
echo "$as_me: failed program was:" >&5
2440
sed 's/^/| /' conftest.$ac_ext >&5
2443
rm -f conftest.$ac_objext
2445
rm -f conftest.$ac_ext conftest.$ac_objext
2450
case "x$ac_cv_prog_cc_stdc" in
2452
echo "$as_me:$LINENO: result: none needed" >&5
2453
echo "${ECHO_T}none needed" >&6 ;;
2455
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2456
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2457
CC="$CC $ac_cv_prog_cc_stdc" ;;
2273
2460
# Some people use a C++ compiler to compile C. Since we use `exit',
2274
2461
# in C++ we need to declare it. In case someone uses the same compiler
2275
2462
# for both compiling C and C++ we need to have the C++ compiler decide
2336
2521
echo "$as_me: failed program was:" >&5
2337
cat conftest.$ac_ext >&5
2522
sed 's/^/| /' conftest.$ac_ext >&5
2340
2526
rm -f conftest.$ac_objext conftest.$ac_ext
2341
2527
cat >conftest.$ac_ext <<_ACEOF
2342
2528
#line $LINENO "configure"
2343
#include "confdefs.h"
2531
cat confdefs.h >>conftest.$ac_ext
2532
cat >>conftest.$ac_ext <<_ACEOF
2533
/* end confdefs.h. */
2344
2534
$ac_declaration
2345
#ifdef F77_DUMMY_MAIN
2349
int F77_DUMMY_MAIN() { return 1; }
2523
2709
# Use a header file that comes with gcc, so configuring glibc
2524
2710
# with a fresh cross-compiler works.
2711
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2712
# <limits.h> exists even on freestanding compilers.
2525
2713
# On the NeXT, cc -E runs the code through the compiler's parser,
2526
2714
# not just through cpp. "Syntax error" is here to catch this case.
2527
2715
cat >conftest.$ac_ext <<_ACEOF
2528
2716
#line $LINENO "configure"
2529
#include "confdefs.h"
2719
cat confdefs.h >>conftest.$ac_ext
2720
cat >>conftest.$ac_ext <<_ACEOF
2721
/* end confdefs.h. */
2723
# include <limits.h>
2725
# include <assert.h>
2533
2729
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2534
2730
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2536
egrep -v '^ *\+' conftest.er1 >conftest.err
2732
grep -v '^ *+' conftest.er1 >conftest.err
2537
2733
rm -f conftest.er1
2538
2734
cat conftest.err >&5
2539
2735
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560
2757
# can be detected and how.
2561
2758
cat >conftest.$ac_ext <<_ACEOF
2562
2759
#line $LINENO "configure"
2563
#include "confdefs.h"
2762
cat confdefs.h >>conftest.$ac_ext
2763
cat >>conftest.$ac_ext <<_ACEOF
2764
/* end confdefs.h. */
2564
2765
#include <ac_nonexistent.h>
2566
2767
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2567
2768
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2569
egrep -v '^ *\+' conftest.er1 >conftest.err
2770
grep -v '^ *+' conftest.er1 >conftest.err
2570
2771
rm -f conftest.er1
2571
2772
cat conftest.err >&5
2572
2773
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614
2816
# Use a header file that comes with gcc, so configuring glibc
2615
2817
# with a fresh cross-compiler works.
2818
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2819
# <limits.h> exists even on freestanding compilers.
2616
2820
# On the NeXT, cc -E runs the code through the compiler's parser,
2617
2821
# not just through cpp. "Syntax error" is here to catch this case.
2618
2822
cat >conftest.$ac_ext <<_ACEOF
2619
2823
#line $LINENO "configure"
2620
#include "confdefs.h"
2826
cat confdefs.h >>conftest.$ac_ext
2827
cat >>conftest.$ac_ext <<_ACEOF
2828
/* end confdefs.h. */
2830
# include <limits.h>
2832
# include <assert.h>
2624
2836
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2625
2837
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2627
egrep -v '^ *\+' conftest.er1 >conftest.err
2839
grep -v '^ *+' conftest.er1 >conftest.err
2628
2840
rm -f conftest.er1
2629
2841
cat conftest.err >&5
2630
2842
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651
2864
# can be detected and how.
2652
2865
cat >conftest.$ac_ext <<_ACEOF
2653
2866
#line $LINENO "configure"
2654
#include "confdefs.h"
2869
cat confdefs.h >>conftest.$ac_ext
2870
cat >>conftest.$ac_ext <<_ACEOF
2871
/* end confdefs.h. */
2655
2872
#include <ac_nonexistent.h>
2657
2874
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2658
2875
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2660
egrep -v '^ *\+' conftest.er1 >conftest.err
2877
grep -v '^ *+' conftest.er1 >conftest.err
2661
2878
rm -f conftest.er1
2662
2879
cat conftest.err >&5
2663
2880
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799
3019
# First, try using that file with no special directory specified.
2800
3020
cat >conftest.$ac_ext <<_ACEOF
2801
3021
#line $LINENO "configure"
2802
#include "confdefs.h"
3024
cat confdefs.h >>conftest.$ac_ext
3025
cat >>conftest.$ac_ext <<_ACEOF
3026
/* end confdefs.h. */
2803
3027
#include <X11/Intrinsic.h>
2805
3029
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2806
3030
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2808
egrep -v '^ *\+' conftest.er1 >conftest.err
3032
grep -v '^ *+' conftest.er1 >conftest.err
2809
3033
rm -f conftest.er1
2810
3034
cat conftest.err >&5
2811
3035
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228
3447
cat >conftest.$ac_ext <<_ACEOF
3229
3448
#line $LINENO "configure"
3230
#include "confdefs.h"
3451
cat confdefs.h >>conftest.$ac_ext
3452
cat >>conftest.$ac_ext <<_ACEOF
3453
/* end confdefs.h. */
3231
3454
/* System header to define __stub macros and hopefully few prototypes,
3232
which can conflict with char gethostbyname (); below. */
3455
which can conflict with char gethostbyname (); below.
3456
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3457
<limits.h> exists even on freestanding compilers. */
3459
# include <limits.h>
3461
# include <assert.h>
3234
3463
/* Override any gcc2 internal prototype to avoid an error. */
3235
3464
#ifdef __cplusplus
3238
3468
/* We use char because int might match the return type of a gcc2
3239
3469
builtin and then its argument prototype would still apply. */
3240
3470
char gethostbyname ();
3243
#ifdef F77_DUMMY_MAIN
3247
int F77_DUMMY_MAIN() { return 1; }
3252
3471
/* The GNU C library defines this for functions which it implements
3253
3472
to always fail with ENOSYS. Some functions are actually named
3254
3473
something starting with __ and the normal name is an alias. */
3255
3474
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3477
char (*f) () = gethostbyname;
3486
return f != gethostbyname;
3412
3637
# socket/setsockopt and other routines are undefined under SCO ODT
3413
3638
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3414
3639
# on later versions), says Simon Leinen: it contains gethostby*
3415
# variants that don't use the nameserver (or something). -lsocket
3640
# variants that don't use the name server (or something). -lsocket
3416
3641
# must be given before -lnsl if both are needed. We assume that
3417
3642
# if connect needs -lnsl, so does gethostbyname.
3418
3643
echo "$as_me:$LINENO: checking for connect" >&5
3423
3648
cat >conftest.$ac_ext <<_ACEOF
3424
3649
#line $LINENO "configure"
3425
#include "confdefs.h"
3652
cat confdefs.h >>conftest.$ac_ext
3653
cat >>conftest.$ac_ext <<_ACEOF
3654
/* end confdefs.h. */
3426
3655
/* System header to define __stub macros and hopefully few prototypes,
3427
which can conflict with char connect (); below. */
3656
which can conflict with char connect (); below.
3657
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3658
<limits.h> exists even on freestanding compilers. */
3660
# include <limits.h>
3662
# include <assert.h>
3429
3664
/* Override any gcc2 internal prototype to avoid an error. */
3430
3665
#ifdef __cplusplus
3433
3669
/* We use char because int might match the return type of a gcc2
3434
3670
builtin and then its argument prototype would still apply. */
3435
3671
char connect ();
3438
#ifdef F77_DUMMY_MAIN
3442
int F77_DUMMY_MAIN() { return 1; }
3447
3672
/* The GNU C library defines this for functions which it implements
3448
3673
to always fail with ENOSYS. Some functions are actually named
3449
3674
something starting with __ and the normal name is an alias. */
3450
3675
#if defined (__stub_connect) || defined (__stub___connect)
3678
char (*f) () = connect;
3687
return f != connect;
3551
3783
cat >conftest.$ac_ext <<_ACEOF
3552
3784
#line $LINENO "configure"
3553
#include "confdefs.h"
3787
cat confdefs.h >>conftest.$ac_ext
3788
cat >>conftest.$ac_ext <<_ACEOF
3789
/* end confdefs.h. */
3554
3790
/* System header to define __stub macros and hopefully few prototypes,
3555
which can conflict with char remove (); below. */
3791
which can conflict with char remove (); below.
3792
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3793
<limits.h> exists even on freestanding compilers. */
3795
# include <limits.h>
3797
# include <assert.h>
3557
3799
/* Override any gcc2 internal prototype to avoid an error. */
3558
3800
#ifdef __cplusplus
3561
3804
/* We use char because int might match the return type of a gcc2
3562
3805
builtin and then its argument prototype would still apply. */
3563
3806
char remove ();
3566
#ifdef F77_DUMMY_MAIN
3570
int F77_DUMMY_MAIN() { return 1; }
3575
3807
/* The GNU C library defines this for functions which it implements
3576
3808
to always fail with ENOSYS. Some functions are actually named
3577
3809
something starting with __ and the normal name is an alias. */
3578
3810
#if defined (__stub_remove) || defined (__stub___remove)
3813
char (*f) () = remove;
3679
3918
cat >conftest.$ac_ext <<_ACEOF
3680
3919
#line $LINENO "configure"
3681
#include "confdefs.h"
3922
cat confdefs.h >>conftest.$ac_ext
3923
cat >>conftest.$ac_ext <<_ACEOF
3924
/* end confdefs.h. */
3682
3925
/* System header to define __stub macros and hopefully few prototypes,
3683
which can conflict with char shmat (); below. */
3926
which can conflict with char shmat (); below.
3927
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3928
<limits.h> exists even on freestanding compilers. */
3930
# include <limits.h>
3932
# include <assert.h>
3685
3934
/* Override any gcc2 internal prototype to avoid an error. */
3686
3935
#ifdef __cplusplus
3689
3939
/* We use char because int might match the return type of a gcc2
3690
3940
builtin and then its argument prototype would still apply. */
3694
#ifdef F77_DUMMY_MAIN
3698
int F77_DUMMY_MAIN() { return 1; }
3703
3942
/* The GNU C library defines this for functions which it implements
3704
3943
to always fail with ENOSYS. Some functions are actually named
3705
3944
something starting with __ and the normal name is an alias. */
3706
3945
#if defined (__stub_shmat) || defined (__stub___shmat)
3948
char (*f) () = shmat;
4042
4285
ignore_nice=yes
4043
4286
ignore_proc=yes
4044
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4287
echo "$as_me:$LINENO: checking for egrep" >&5
4288
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4289
if test "${ac_cv_prog_egrep+set}" = set; then
4290
echo $ECHO_N "(cached) $ECHO_C" >&6
4292
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4293
then ac_cv_prog_egrep='grep -E'
4294
else ac_cv_prog_egrep='egrep'
4297
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4298
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4299
EGREP=$ac_cv_prog_egrep
4302
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4045
4303
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4046
4304
if test "${ac_cv_header_stdc+set}" = set; then
4047
4305
echo $ECHO_N "(cached) $ECHO_C" >&6
4049
4307
cat >conftest.$ac_ext <<_ACEOF
4050
4308
#line $LINENO "configure"
4051
#include "confdefs.h"
4311
cat confdefs.h >>conftest.$ac_ext
4312
cat >>conftest.$ac_ext <<_ACEOF
4313
/* end confdefs.h. */
4052
4314
#include <stdlib.h>
4053
4315
#include <stdarg.h>
4054
4316
#include <string.h>
4055
4317
#include <float.h>
4058
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4059
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4061
egrep -v '^ *\+' conftest.er1 >conftest.err
4063
cat conftest.err >&5
4064
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4065
(exit $ac_status); } >/dev/null; then
4066
if test -s conftest.err; then
4067
ac_cpp_err=$ac_c_preproc_warn_flag
4074
if test -z "$ac_cpp_err"; then
4327
rm -f conftest.$ac_objext
4328
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4329
(eval $ac_compile) 2>&5
4331
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332
(exit $ac_status); } &&
4333
{ ac_try='test -s conftest.$ac_objext'
4334
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4337
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338
(exit $ac_status); }; }; then
4075
4339
ac_cv_header_stdc=yes
4077
4341
echo "$as_me: failed program was:" >&5
4078
cat conftest.$ac_ext >&5
4079
ac_cv_header_stdc=no
4342
sed 's/^/| /' conftest.$ac_ext >&5
4344
ac_cv_header_stdc=no
4081
rm -f conftest.err conftest.$ac_ext
4346
rm -f conftest.$ac_objext conftest.$ac_ext
4083
4348
if test $ac_cv_header_stdc = yes; then
4084
4349
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4085
4350
cat >conftest.$ac_ext <<_ACEOF
4086
4351
#line $LINENO "configure"
4087
#include "confdefs.h"
4354
cat confdefs.h >>conftest.$ac_ext
4355
cat >>conftest.$ac_ext <<_ACEOF
4356
/* end confdefs.h. */
4088
4357
#include <string.h>
4091
4360
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4092
egrep "memchr" >/dev/null 2>&1; then
4361
$EGREP "memchr" >/dev/null 2>&1; then
4095
4364
ac_cv_header_stdc=no
4102
4371
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4103
4372
cat >conftest.$ac_ext <<_ACEOF
4104
4373
#line $LINENO "configure"
4105
#include "confdefs.h"
4376
cat confdefs.h >>conftest.$ac_ext
4377
cat >>conftest.$ac_ext <<_ACEOF
4378
/* end confdefs.h. */
4106
4379
#include <stdlib.h>
4109
4382
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4110
egrep "free" >/dev/null 2>&1; then
4383
$EGREP "free" >/dev/null 2>&1; then
4113
4386
ac_cv_header_stdc=no
4124
4397
cat >conftest.$ac_ext <<_ACEOF
4125
4398
#line $LINENO "configure"
4126
#include "confdefs.h"
4401
cat confdefs.h >>conftest.$ac_ext
4402
cat >>conftest.$ac_ext <<_ACEOF
4403
/* end confdefs.h. */
4127
4404
#include <ctype.h>
4128
4405
#if ((' ' & 0x0FF) == 0x020)
4129
4406
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4130
4407
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4132
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4409
# define ISLOWER(c) \
4410
(('a' <= (c) && (c) <= 'i') \
4133
4411
|| ('j' <= (c) && (c) <= 'r') \
4134
4412
|| ('s' <= (c) && (c) <= 'z'))
4135
4413
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4283
4572
echo $ECHO_N "checking linux/threads.h presence... $ECHO_C" >&6
4284
4573
cat >conftest.$ac_ext <<_ACEOF
4285
4574
#line $LINENO "configure"
4286
#include "confdefs.h"
4577
cat confdefs.h >>conftest.$ac_ext
4578
cat >>conftest.$ac_ext <<_ACEOF
4579
/* end confdefs.h. */
4287
4580
#include <linux/threads.h>
4289
4582
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4290
4583
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4292
egrep -v '^ *\+' conftest.er1 >conftest.err
4585
grep -v '^ *+' conftest.er1 >conftest.err
4293
4586
rm -f conftest.er1
4294
4587
cat conftest.err >&5
4295
4588
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319
4613
{ echo "$as_me:$LINENO: WARNING: linux/threads.h: accepted by the compiler, rejected by the preprocessor!" >&5
4320
4614
echo "$as_me: WARNING: linux/threads.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4321
4615
{ echo "$as_me:$LINENO: WARNING: linux/threads.h: proceeding with the preprocessor's result" >&5
4322
echo "$as_me: WARNING: linux/threads.h: proceeding with the preprocessor's result" >&2;};;
4616
echo "$as_me: WARNING: linux/threads.h: proceeding with the preprocessor's result" >&2;}
4619
## ------------------------------------ ##
4620
## Report this to bug-autoconf@gnu.org. ##
4621
## ------------------------------------ ##
4624
sed "s/^/$as_me: WARNING: /" >&2
4324
4627
{ echo "$as_me:$LINENO: WARNING: linux/threads.h: present but cannot be compiled" >&5
4325
4628
echo "$as_me: WARNING: linux/threads.h: present but cannot be compiled" >&2;}
4326
4629
{ echo "$as_me:$LINENO: WARNING: linux/threads.h: check for missing prerequisite headers?" >&5
4327
4630
echo "$as_me: WARNING: linux/threads.h: check for missing prerequisite headers?" >&2;}
4328
4631
{ echo "$as_me:$LINENO: WARNING: linux/threads.h: proceeding with the preprocessor's result" >&5
4329
echo "$as_me: WARNING: linux/threads.h: proceeding with the preprocessor's result" >&2;};;
4632
echo "$as_me: WARNING: linux/threads.h: proceeding with the preprocessor's result" >&2;}
4635
## ------------------------------------ ##
4636
## Report this to bug-autoconf@gnu.org. ##
4637
## ------------------------------------ ##
4640
sed "s/^/$as_me: WARNING: /" >&2
4331
4643
echo "$as_me:$LINENO: checking for linux/threads.h" >&5
4332
4644
echo $ECHO_N "checking for linux/threads.h... $ECHO_C" >&6
4411
4742
cat >conftest.$ac_ext <<_ACEOF
4412
4743
#line $LINENO "configure"
4413
#include "confdefs.h"
4746
cat confdefs.h >>conftest.$ac_ext
4747
cat >>conftest.$ac_ext <<_ACEOF
4748
/* end confdefs.h. */
4414
4749
#include <stdlib.h>
4415
4750
#include <stdarg.h>
4416
4751
#include <string.h>
4417
4752
#include <float.h>
4420
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4421
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4423
egrep -v '^ *\+' conftest.er1 >conftest.err
4425
cat conftest.err >&5
4426
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427
(exit $ac_status); } >/dev/null; then
4428
if test -s conftest.err; then
4429
ac_cpp_err=$ac_c_preproc_warn_flag
4436
if test -z "$ac_cpp_err"; then
4762
rm -f conftest.$ac_objext
4763
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4764
(eval $ac_compile) 2>&5
4766
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767
(exit $ac_status); } &&
4768
{ ac_try='test -s conftest.$ac_objext'
4769
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4772
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773
(exit $ac_status); }; }; then
4437
4774
ac_cv_header_stdc=yes
4439
4776
echo "$as_me: failed program was:" >&5
4440
cat conftest.$ac_ext >&5
4441
ac_cv_header_stdc=no
4777
sed 's/^/| /' conftest.$ac_ext >&5
4779
ac_cv_header_stdc=no
4443
rm -f conftest.err conftest.$ac_ext
4781
rm -f conftest.$ac_objext conftest.$ac_ext
4445
4783
if test $ac_cv_header_stdc = yes; then
4446
4784
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4447
4785
cat >conftest.$ac_ext <<_ACEOF
4448
4786
#line $LINENO "configure"
4449
#include "confdefs.h"
4789
cat confdefs.h >>conftest.$ac_ext
4790
cat >>conftest.$ac_ext <<_ACEOF
4791
/* end confdefs.h. */
4450
4792
#include <string.h>
4453
4795
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4454
egrep "memchr" >/dev/null 2>&1; then
4796
$EGREP "memchr" >/dev/null 2>&1; then
4457
4799
ac_cv_header_stdc=no
4464
4806
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4465
4807
cat >conftest.$ac_ext <<_ACEOF
4466
4808
#line $LINENO "configure"
4467
#include "confdefs.h"
4811
cat confdefs.h >>conftest.$ac_ext
4812
cat >>conftest.$ac_ext <<_ACEOF
4813
/* end confdefs.h. */
4468
4814
#include <stdlib.h>
4471
4817
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4472
egrep "free" >/dev/null 2>&1; then
4818
$EGREP "free" >/dev/null 2>&1; then
4475
4821
ac_cv_header_stdc=no
4486
4832
cat >conftest.$ac_ext <<_ACEOF
4487
4833
#line $LINENO "configure"
4488
#include "confdefs.h"
4836
cat confdefs.h >>conftest.$ac_ext
4837
cat >>conftest.$ac_ext <<_ACEOF
4838
/* end confdefs.h. */
4489
4839
#include <ctype.h>
4490
4840
#if ((' ' & 0x0FF) == 0x020)
4491
4841
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4492
4842
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4494
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
4844
# define ISLOWER(c) \
4845
(('a' <= (c) && (c) <= 'i') \
4495
4846
|| ('j' <= (c) && (c) <= 'r') \
4496
4847
|| ('s' <= (c) && (c) <= 'z'))
4497
4848
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4719
5074
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4720
5075
cat >conftest.$ac_ext <<_ACEOF
4721
5076
#line $LINENO "configure"
4722
#include "confdefs.h"
5079
cat confdefs.h >>conftest.$ac_ext
5080
cat >>conftest.$ac_ext <<_ACEOF
5081
/* end confdefs.h. */
4723
5082
#include <$ac_header>
4725
5084
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4726
5085
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4728
egrep -v '^ *\+' conftest.er1 >conftest.err
5087
grep -v '^ *+' conftest.er1 >conftest.err
4729
5088
rm -f conftest.er1
4730
5089
cat conftest.err >&5
4731
5090
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755
5115
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4756
5116
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4757
5117
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4758
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5118
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5121
## ------------------------------------ ##
5122
## Report this to bug-autoconf@gnu.org. ##
5123
## ------------------------------------ ##
5126
sed "s/^/$as_me: WARNING: /" >&2
4760
5129
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4761
5130
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4762
5131
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4763
5132
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4764
5133
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4765
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5134
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5137
## ------------------------------------ ##
5138
## Report this to bug-autoconf@gnu.org. ##
5139
## ------------------------------------ ##
5142
sed "s/^/$as_me: WARNING: /" >&2
4767
5145
echo "$as_me:$LINENO: checking for $ac_header" >&5
4768
5146
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4834
5217
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4835
5218
cat >conftest.$ac_ext <<_ACEOF
4836
5219
#line $LINENO "configure"
4837
#include "confdefs.h"
5222
cat confdefs.h >>conftest.$ac_ext
5223
cat >>conftest.$ac_ext <<_ACEOF
5224
/* end confdefs.h. */
4838
5225
#include <$ac_header>
4840
5227
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4841
5228
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4843
egrep -v '^ *\+' conftest.er1 >conftest.err
5230
grep -v '^ *+' conftest.er1 >conftest.err
4844
5231
rm -f conftest.er1
4845
5232
cat conftest.err >&5
4846
5233
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870
5258
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4871
5259
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4872
5260
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4873
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5261
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5264
## ------------------------------------ ##
5265
## Report this to bug-autoconf@gnu.org. ##
5266
## ------------------------------------ ##
5269
sed "s/^/$as_me: WARNING: /" >&2
4875
5272
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4876
5273
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4877
5274
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4878
5275
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4879
5276
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4880
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5277
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5280
## ------------------------------------ ##
5281
## Report this to bug-autoconf@gnu.org. ##
5282
## ------------------------------------ ##
5285
sed "s/^/$as_me: WARNING: /" >&2
4882
5288
echo "$as_me:$LINENO: checking for $ac_header" >&5
4883
5289
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4902
echo "$as_me:$LINENO: checking for working malloc" >&5
4903
echo $ECHO_N "checking for working malloc... $ECHO_C" >&6
4904
if test "${ac_cv_func_malloc_works+set}" = set; then
5308
echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
5309
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
5310
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
4905
5311
echo $ECHO_N "(cached) $ECHO_C" >&6
4907
5313
if test "$cross_compiling" = yes; then
4908
ac_cv_func_malloc_works=no
5314
ac_cv_func_malloc_0_nonnull=no
4910
5316
cat >conftest.$ac_ext <<_ACEOF
4911
5317
#line $LINENO "configure"
4912
#include "confdefs.h"
5320
cat confdefs.h >>conftest.$ac_ext
5321
cat >>conftest.$ac_ext <<_ACEOF
5322
/* end confdefs.h. */
4913
5323
#if STDC_HEADERS || HAVE_STDLIB_H
4914
5324
# include <stdlib.h>
4916
5326
char *malloc ();
4919
#ifdef F77_DUMMY_MAIN
4923
int F77_DUMMY_MAIN() { return 1; }
4942
5346
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943
5347
(exit $ac_status); }; }; then
4944
ac_cv_func_malloc_works=yes
5348
ac_cv_func_malloc_0_nonnull=yes
4946
5350
echo "$as_me: program exited with status $ac_status" >&5
4947
5351
echo "$as_me: failed program was:" >&5
4948
cat conftest.$ac_ext >&5
5352
sed 's/^/| /' conftest.$ac_ext >&5
4949
5354
( exit $ac_status )
4950
ac_cv_func_malloc_works=no
4952
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4955
echo "$as_me:$LINENO: result: $ac_cv_func_malloc_works" >&5
4956
echo "${ECHO_T}$ac_cv_func_malloc_works" >&6
4957
if test $ac_cv_func_malloc_works = yes; then
5355
ac_cv_func_malloc_0_nonnull=no
5357
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5360
echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
5361
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
5362
if test $ac_cv_func_malloc_0_nonnull = yes; then
4959
5364
cat >>confdefs.h <<\_ACEOF
4960
5365
#define HAVE_MALLOC 1
5369
cat >>confdefs.h <<\_ACEOF
5370
#define HAVE_MALLOC 0
5373
LIBOBJS="$LIBOBJS malloc.$ac_objext"
5375
cat >>confdefs.h <<\_ACEOF
5376
#define malloc rpl_malloc
4966
5384
for ac_func in select
4968
5386
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4974
5392
cat >conftest.$ac_ext <<_ACEOF
4975
5393
#line $LINENO "configure"
4976
#include "confdefs.h"
5396
cat confdefs.h >>conftest.$ac_ext
5397
cat >>conftest.$ac_ext <<_ACEOF
5398
/* end confdefs.h. */
4977
5399
/* System header to define __stub macros and hopefully few prototypes,
4978
which can conflict with char $ac_func (); below. */
5400
which can conflict with char $ac_func (); below.
5401
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5402
<limits.h> exists even on freestanding compilers. */
5404
# include <limits.h>
5406
# include <assert.h>
4980
5408
/* Override any gcc2 internal prototype to avoid an error. */
4981
5409
#ifdef __cplusplus
4984
5413
/* We use char because int might match the return type of a gcc2
4985
5414
builtin and then its argument prototype would still apply. */
4986
5415
char $ac_func ();
4989
#ifdef F77_DUMMY_MAIN
4993
int F77_DUMMY_MAIN() { return 1; }
4998
5416
/* The GNU C library defines this for functions which it implements
4999
5417
to always fail with ENOSYS. Some functions are actually named
5000
5418
something starting with __ and the normal name is an alias. */
5001
5419
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5422
char (*f) () = $ac_func;
5431
return f != $ac_func;
5159
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
5160
{ $as_unset LANG || test "${LANG+set}" != set; } ||
5161
{ LANG=C; export LANG; }
5162
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
5163
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
5164
{ LC_ALL=C; export LC_ALL; }
5165
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
5166
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
5167
{ LC_TIME=C; export LC_TIME; }
5168
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
5169
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
5170
{ LC_CTYPE=C; export LC_CTYPE; }
5171
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
5172
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
5173
{ LANGUAGE=C; export LANGUAGE; }
5174
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
5175
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
5176
{ LC_COLLATE=C; export LC_COLLATE; }
5177
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
5178
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
5179
{ LC_NUMERIC=C; export LC_NUMERIC; }
5180
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
5181
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
5182
{ LC_MESSAGES=C; export LC_MESSAGES; }
5604
# Work around bugs in pre-3.0 UWIN ksh.
5605
$as_unset ENV MAIL MAILPATH
5612
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5613
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5614
LC_TELEPHONE LC_TIME
5616
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
5617
eval $as_var=C; export $as_var
5623
# Required to use basename.
5624
if expr a : '\(a\)' >/dev/null 2>&1; then
5630
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5631
as_basename=basename
5185
5637
# Name of the executable.
5186
as_me=`(basename "$0") 2>/dev/null ||
5638
as_me=`$as_basename "$0" ||
5187
5639
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5188
5640
X"$0" : 'X\(//\)$' \| \
5189
5641
X"$0" : 'X\(/\)$' \| \
5205
5658
# The user is always right.
5206
5659
if test "${PATH_SEPARATOR+set}" != set; then
5207
echo "#! /bin/sh" >conftest.sh
5208
echo "exit 0" >>conftest.sh
5209
chmod +x conftest.sh
5210
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
5660
echo "#! /bin/sh" >conf$$.sh
5661
echo "exit 0" >>conf$$.sh
5663
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5211
5664
PATH_SEPARATOR=';'
5213
5666
PATH_SEPARATOR=:
5429
5891
cat >>$CONFIG_STATUS <<_ACEOF
5430
5892
ac_cs_version="\\
5431
wmcpuload config.status 0.9.0
5432
configured by $0, generated by GNU Autoconf 2.53,
5893
wmcpuload config.status 1.0.1
5894
configured by $0, generated by GNU Autoconf 2.57,
5433
5895
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5435
5897
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5451
5913
ac_option=`expr "x$1" : 'x\([^=]*\)='`
5452
5914
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5454
set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
5458
5922
*) # This is not an option, so the user has probably given explicit
5460
5925
ac_need_defaults=false;;
5464
5929
# Handling of the options.
5466
cat >>$CONFIG_STATUS <<_ACEOF
5931
cat >>$CONFIG_STATUS <<\_ACEOF
5467
5932
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5468
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5469
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5471
cat >>$CONFIG_STATUS <<\_ACEOF
5472
5934
--version | --vers* | -V )
5473
5935
echo "$ac_cs_version"; exit 0 ;;
5483
5945
--debug | --d* | -d )
5485
5947
--file | --fil | --fi | --f )
5487
CONFIG_FILES="$CONFIG_FILES $1"
5949
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5488
5950
ac_need_defaults=false;;
5489
5951
--header | --heade | --head | --hea )
5491
CONFIG_HEADERS="$CONFIG_HEADERS $1"
5953
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5492
5954
ac_need_defaults=false;;
5955
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
5956
| -silent | --silent | --silen | --sile | --sil | --si | --s)
5494
5959
# This is an error.
5495
5960
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5654
6137
s,@XLFLAGS@,$XLFLAGS,;t t
5655
6138
s,@XLIBS@,$XLIBS,;t t
5656
6139
s,@DFLAGS@,$DFLAGS,;t t
6140
s,@EGREP@,$EGREP,;t t
5657
6141
s,@OS@,$OS,;t t
5658
6142
s,@SETGID_FLAGS@,$SETGID_FLAGS,;t t
5659
6143
s,@LIBRARY_SEARCH_PATH@,$LIBRARY_SEARCH_PATH,;t t
5660
6144
s,@HEADER_SEARCH_PATH@,$HEADER_SEARCH_PATH,;t t
6145
s,@LIBOBJS@,$LIBOBJS,;t t
6146
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5728
6214
/^X\(\/\/\)$/{ s//\1/; q; }
5729
6215
/^X\(\/\).*/{ s//\1/; q; }
5732
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
5736
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5737
case $as_mkdir_dir in
5738
# Skip DOS drivespec
5739
?:) as_incr_dir=$as_mkdir_dir ;;
5741
as_incr_dir=$as_incr_dir/$as_mkdir_dir
5742
test -d "$as_incr_dir" ||
5743
mkdir "$as_incr_dir" ||
5744
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
5745
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
5746
{ (exit 1); exit 1; }; }
6217
{ if $as_mkdir_p; then
6222
while test ! -d "$as_dir"; do
6223
as_dirs="$as_dir $as_dirs"
6224
as_dir=`(dirname "$as_dir") 2>/dev/null ||
6225
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6226
X"$as_dir" : 'X\(//\)[^/]' \| \
6227
X"$as_dir" : 'X\(//\)$' \| \
6228
X"$as_dir" : 'X\(/\)' \| \
6229
. : '\(.\)' 2>/dev/null ||
6231
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6232
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6233
/^X\(\/\/\)$/{ s//\1/; q; }
6234
/^X\(\/\).*/{ s//\1/; q; }
6237
test ! -n "$as_dirs" || mkdir $as_dirs
6238
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6239
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6240
{ (exit 1); exit 1; }; }; }
5966
6457
# Break up conftest.defines because some shells have a limit on the size
5967
6458
# of here documents, and old seds have small limits too (100 cmds).
5968
6459
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5969
echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6460
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5970
6461
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5971
6462
echo ' :' >>$CONFIG_STATUS
5972
6463
rm -f conftest.tail
6046
6537
/^X\(\/\/\)$/{ s//\1/; q; }
6047
6538
/^X\(\/\).*/{ s//\1/; q; }
6050
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
6054
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6055
case $as_mkdir_dir in
6056
# Skip DOS drivespec
6057
?:) as_incr_dir=$as_mkdir_dir ;;
6059
as_incr_dir=$as_incr_dir/$as_mkdir_dir
6060
test -d "$as_incr_dir" ||
6061
mkdir "$as_incr_dir" ||
6062
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
6063
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
6064
{ (exit 1); exit 1; }; }
6540
{ if $as_mkdir_p; then
6545
while test ! -d "$as_dir"; do
6546
as_dirs="$as_dir $as_dirs"
6547
as_dir=`(dirname "$as_dir") 2>/dev/null ||
6548
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6549
X"$as_dir" : 'X\(//\)[^/]' \| \
6550
X"$as_dir" : 'X\(//\)$' \| \
6551
X"$as_dir" : 'X\(/\)' \| \
6552
. : '\(.\)' 2>/dev/null ||
6554
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6555
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
6556
/^X\(\/\/\)$/{ s//\1/; q; }
6557
/^X\(\/\).*/{ s//\1/; q; }
6560
test ! -n "$as_dirs" || mkdir $as_dirs
6561
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6562
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6563
{ (exit 1); exit 1; }; }; }
6070
6566
mv $tmp/config.h $ac_file
6154
6650
# need to make the FD available again.
6155
6651
if test "$no_create" != yes; then
6156
6652
ac_cs_success=:
6653
ac_config_status_args=
6654
test "$silent" = yes &&
6655
ac_config_status_args="$ac_config_status_args --quiet"
6157
6656
exec 5>/dev/null
6158
$SHELL $CONFIG_STATUS || ac_cs_success=false
6657
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6159
6658
exec 5>>config.log
6160
6659
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
6161
6660
# would make configure fail if this is the last instruction.