2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68 for gcroots 0.2.3.
5
# Report bugs to <sigscheme-ja@googlegroups.com>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
29
case `(set -o) 2>/dev/null` in #(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
96
*[\\/]* ) as_myself=$0 ;;
97
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101
test -z "$as_dir" && as_dir=.
102
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
109
# in which case we are not to be found in the path.
110
if test "x$as_myself" = x; then
113
if test ! -f "$as_myself"; then
114
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118
# Unset variables that we do not need and which cause bugs (e.g. in
119
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120
# suppresses any "Segmentation fault" message there. '((' could
121
# trigger a bug in pdksh 5.2.14.
122
for as_var in BASH_ENV ENV MAIL MAILPATH
123
do eval test x\${$as_var+set} = xset \
124
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
if test "x$CONFIG_SHELL" = x; then
140
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
# is contrary to our usage. Disable this feature.
145
alias -g '\${1+\"\$@\"}'='\"\$@\"'
148
case \`(set -o) 2>/dev/null\` in #(
156
as_required="as_fn_return () { (exit \$1); }
157
as_fn_success () { as_fn_return 0; }
158
as_fn_failure () { as_fn_return 1; }
159
as_fn_ret_success () { return 0; }
160
as_fn_ret_failure () { return 1; }
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170
exitcode=1; echo positional parameters were not saved.
172
test x\$exitcode = x0 || exit 1"
173
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
test \$(( 1 + 1 )) = 2 || exit 1
179
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183
PATH=/empty FPATH=/empty; export PATH FPATH
184
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186
if (eval "$as_required") 2>/dev/null; then :
191
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199
test -z "$as_dir" && as_dir=.
203
for as_base in sh bash ksh sh5; do
204
# Try only shells that exist, to save several forks.
205
as_shell=$as_dir/$as_base
206
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
CONFIG_SHELL=$as_shell as_have_required=yes
209
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219
CONFIG_SHELL=$SHELL as_have_required=yes
224
if test "x$CONFIG_SHELL" != x; then :
225
# We cannot yet assume a decent shell, so we have to provide a
226
# neutralization value for shells without unset; and this also
227
# works around shells that cannot unset nonexistent variables.
228
# Preserve -v and -x to the replacement shell.
231
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234
*v*x* | *x*v* ) as_opts=-vx ;;
239
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242
if test x$as_have_required = xno; then :
243
$as_echo "$0: This script requires a shell more modern than all"
244
$as_echo "$0: the shells that I found on your system."
245
if test x${ZSH_VERSION+set} = xset ; then
246
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
249
$as_echo "$0: Please tell bug-autoconf@gnu.org and
250
$0: sigscheme-ja@googlegroups.com about your system,
251
$0: including any error possibly output before this
252
$0: message. Then install a modern shell, or manually run
253
$0: the script under such a shell if you do have one."
259
SHELL=${CONFIG_SHELL-/bin/sh}
261
# Unset more variables known to interfere with behavior of common tools.
262
CLICOLOR_FORCE= GREP_OPTIONS=
263
unset CLICOLOR_FORCE GREP_OPTIONS
265
## --------------------- ##
266
## M4sh Shell Functions. ##
267
## --------------------- ##
270
# Portably unset VAR.
273
{ eval $1=; unset $1;}
277
# as_fn_set_status STATUS
278
# -----------------------
279
# Set $? to STATUS, without forking.
287
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297
# Create "$as_dir" as a directory, including parents if necessary.
302
-*) as_dir=./$as_dir;;
304
test -d "$as_dir" || eval $as_mkdir_p || {
308
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311
as_dirs="'$as_qdir' $as_dirs"
312
as_dir=`$as_dirname -- "$as_dir" ||
313
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314
X"$as_dir" : 'X\(//\)[^/]' \| \
315
X"$as_dir" : 'X\(//\)$' \| \
316
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317
$as_echo X"$as_dir" |
318
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335
test -d "$as_dir" && break
337
test -z "$as_dirs" || eval "mkdir $as_dirs"
338
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342
# as_fn_append VAR VALUE
343
# ----------------------
344
# Append the text in VALUE to the end of the definition contained in VAR. Take
345
# advantage of any shell optimizations that allow amortized linear growth over
346
# repeated appends, instead of the typical quadratic growth present in naive
348
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349
eval 'as_fn_append ()
362
# Perform arithmetic evaluation on the ARGs, and store the result in the
363
# global $as_val. Take advantage of shells that can avoid forks. The arguments
364
# must be portable across $(()) and expr.
365
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373
as_val=`expr "$@" || test $? -eq 1`
378
# as_fn_error STATUS ERROR [LINENO LOG_FD]
379
# ----------------------------------------
380
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382
# script with STATUS, using 1 if that was 0.
385
as_status=$1; test $as_status -eq 0 && as_status=1
387
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390
$as_echo "$as_me: error: $2" >&2
391
as_fn_exit $as_status
394
if expr a : '\(a\)' >/dev/null 2>&1 &&
395
test "X`expr 00001 : '.*\(...\)'`" = X001; then
401
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413
as_me=`$as_basename -- "$0" ||
414
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415
X"$0" : 'X\(//\)$' \| \
416
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418
sed '/^.*\/\([^/][^/]*\)\/*$/{
432
# Avoid depending upon Character Ranges.
433
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436
as_cr_digits='0123456789'
437
as_cr_alnum=$as_cr_Letters$as_cr_digits
440
as_lineno_1=$LINENO as_lineno_1a=$LINENO
441
as_lineno_2=$LINENO as_lineno_2a=$LINENO
442
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460
chmod +x "$as_me.lineno" ||
461
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
# Don't try to exec as it changes $[0], causing all sort of problems
464
# (the dirname of $[0] is not the place where we might find the
465
# original and so on. Autoconf is especially sensitive to this).
467
# Exit status is that of the last command.
471
ECHO_C= ECHO_N= ECHO_T=
472
case `echo -n x` in #(((((
474
case `echo 'xy\c'` in
475
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
477
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484
rm -f conf$$ conf$$.exe conf$$.file
485
if test -d conf$$.dir; then
486
rm -f conf$$.dir/conf$$.file
489
mkdir conf$$.dir 2>/dev/null
491
if (echo >conf$$.file) 2>/dev/null; then
492
if ln -s conf$$.file conf$$ 2>/dev/null; then
494
# ... but there are two gotchas:
495
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497
# In both cases, we have to default to `cp -p'.
498
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500
elif ln conf$$.file conf$$ 2>/dev/null; then
508
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509
rmdir conf$$.dir 2>/dev/null
511
if mkdir -p . 2>/dev/null; then
512
as_mkdir_p='mkdir -p "$as_dir"'
514
test -d ./-p && rmdir ./-p
518
if test -x / >/dev/null 2>&1; then
521
if ls -dL / >/dev/null 2>&1; then
528
if test -d "$1"; then
534
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535
???[sx]*):;;*)false;;esac;fi
539
as_executable_p=$as_test_x
541
# Sed expression to map a string onto a valid CPP name.
542
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
# Sed expression to map a string onto a valid variable name.
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
SHELL=${CONFIG_SHELL-/bin/sh}
550
test -n "$DJDIR" || exec 7<&0 </dev/null
554
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555
# so uname gets run too.
556
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
ac_default_prefix=/usr/local
563
ac_config_libobj_dir=.
570
# Identity of this package.
571
PACKAGE_NAME='gcroots'
572
PACKAGE_TARNAME='libgcroots'
573
PACKAGE_VERSION='0.2.3'
574
PACKAGE_STRING='gcroots 0.2.3'
575
PACKAGE_BUGREPORT='sigscheme-ja@googlegroups.com'
578
ac_unique_file="include/private/gcroots_priv.h"
579
# Factoring default headers for most tests.
580
ac_includes_default="\
582
#ifdef HAVE_SYS_TYPES_H
583
# include <sys/types.h>
585
#ifdef HAVE_SYS_STAT_H
586
# include <sys/stat.h>
592
# ifdef HAVE_STDLIB_H
597
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602
#ifdef HAVE_STRINGS_H
603
# include <strings.h>
605
#ifdef HAVE_INTTYPES_H
606
# include <inttypes.h>
616
ac_subst_vars='am__EXEEXT_FALSE
621
NEED_ATOMIC_OPS_ASM_FALSE
622
NEED_ATOMIC_OPS_ASM_TRUE
623
USE_INTERNAL_LIBATOMIC_OPS_FALSE
624
USE_INTERNAL_LIBATOMIC_OPS_TRUE
628
ENABLE_GCJ_SUPPORT_FALSE
629
ENABLE_GCJ_SUPPORT_TRUE
677
am__fastdepCCAS_FALSE
700
MAINTAINER_MODE_FALSE
710
INSTALL_STRIP_PROGRAM
764
program_transform_name
777
enable_option_checking
778
enable_maintainer_mode
779
enable_dependency_tracking
792
ac_precious_vars='build_alias
805
# Initialize some variables set by options.
807
ac_init_version=false
808
ac_unrecognized_opts=
810
# The variables have the same names as the options, with
811
# dashes changed to underlines.
819
program_transform_name=s,x,x,
827
# Installation directory options.
828
# These are left unexpanded so users can "make install exec_prefix=/foo"
829
# and all the variables that are supposed to be based on exec_prefix
830
# by default will actually change.
831
# Use braces instead of parens because sh, perl, etc. also accept them.
832
# (The list follows the same order as the GNU Coding Standards.)
833
bindir='${exec_prefix}/bin'
834
sbindir='${exec_prefix}/sbin'
835
libexecdir='${exec_prefix}/libexec'
836
datarootdir='${prefix}/share'
837
datadir='${datarootdir}'
838
sysconfdir='${prefix}/etc'
839
sharedstatedir='${prefix}/com'
840
localstatedir='${prefix}/var'
841
includedir='${prefix}/include'
842
oldincludedir='/usr/include'
843
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
844
infodir='${datarootdir}/info'
849
libdir='${exec_prefix}/lib'
850
localedir='${datarootdir}/locale'
851
mandir='${datarootdir}/man'
857
# If the previous option needs an argument, assign it.
858
if test -n "$ac_prev"; then
859
eval $ac_prev=\$ac_option
865
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
870
# Accept the important Cygnus configure options, so we can diagnose typos.
872
case $ac_dashdash$ac_option in
876
-bindir | --bindir | --bindi | --bind | --bin | --bi)
878
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
881
-build | --build | --buil | --bui | --bu)
882
ac_prev=build_alias ;;
883
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
884
build_alias=$ac_optarg ;;
886
-cache-file | --cache-file | --cache-fil | --cache-fi \
887
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
888
ac_prev=cache_file ;;
889
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
890
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
891
cache_file=$ac_optarg ;;
894
cache_file=config.cache ;;
896
-datadir | --datadir | --datadi | --datad)
898
-datadir=* | --datadir=* | --datadi=* | --datad=*)
899
datadir=$ac_optarg ;;
901
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
902
| --dataroo | --dataro | --datar)
903
ac_prev=datarootdir ;;
904
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
905
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
906
datarootdir=$ac_optarg ;;
908
-disable-* | --disable-*)
909
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
910
# Reject names that are not valid shell variable names.
911
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
912
as_fn_error $? "invalid feature name: $ac_useropt"
913
ac_useropt_orig=$ac_useropt
914
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915
case $ac_user_opts in
919
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
920
ac_unrecognized_sep=', ';;
922
eval enable_$ac_useropt=no ;;
924
-docdir | --docdir | --docdi | --doc | --do)
926
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
929
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
931
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
934
-enable-* | --enable-*)
935
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
936
# Reject names that are not valid shell variable names.
937
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
938
as_fn_error $? "invalid feature name: $ac_useropt"
939
ac_useropt_orig=$ac_useropt
940
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
941
case $ac_user_opts in
945
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
946
ac_unrecognized_sep=', ';;
948
eval enable_$ac_useropt=\$ac_optarg ;;
950
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
951
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
952
| --exec | --exe | --ex)
953
ac_prev=exec_prefix ;;
954
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
955
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
956
| --exec=* | --exe=* | --ex=*)
957
exec_prefix=$ac_optarg ;;
959
-gas | --gas | --ga | --g)
960
# Obsolete; use --with-gas.
963
-help | --help | --hel | --he | -h)
965
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
966
ac_init_help=recursive ;;
967
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
968
ac_init_help=short ;;
970
-host | --host | --hos | --ho)
971
ac_prev=host_alias ;;
972
-host=* | --host=* | --hos=* | --ho=*)
973
host_alias=$ac_optarg ;;
975
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
977
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
979
htmldir=$ac_optarg ;;
981
-includedir | --includedir | --includedi | --included | --include \
982
| --includ | --inclu | --incl | --inc)
983
ac_prev=includedir ;;
984
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
985
| --includ=* | --inclu=* | --incl=* | --inc=*)
986
includedir=$ac_optarg ;;
988
-infodir | --infodir | --infodi | --infod | --info | --inf)
990
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
991
infodir=$ac_optarg ;;
993
-libdir | --libdir | --libdi | --libd)
995
-libdir=* | --libdir=* | --libdi=* | --libd=*)
998
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
999
| --libexe | --libex | --libe)
1000
ac_prev=libexecdir ;;
1001
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1002
| --libexe=* | --libex=* | --libe=*)
1003
libexecdir=$ac_optarg ;;
1005
-localedir | --localedir | --localedi | --localed | --locale)
1006
ac_prev=localedir ;;
1007
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1008
localedir=$ac_optarg ;;
1010
-localstatedir | --localstatedir | --localstatedi | --localstated \
1011
| --localstate | --localstat | --localsta | --localst | --locals)
1012
ac_prev=localstatedir ;;
1013
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1014
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1015
localstatedir=$ac_optarg ;;
1017
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1019
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1020
mandir=$ac_optarg ;;
1022
-nfp | --nfp | --nf)
1023
# Obsolete; use --without-fp.
1026
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1027
| --no-cr | --no-c | -n)
1030
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1031
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1034
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1035
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1036
| --oldin | --oldi | --old | --ol | --o)
1037
ac_prev=oldincludedir ;;
1038
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1039
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1040
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1041
oldincludedir=$ac_optarg ;;
1043
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1045
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1046
prefix=$ac_optarg ;;
1048
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1049
| --program-pre | --program-pr | --program-p)
1050
ac_prev=program_prefix ;;
1051
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1052
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1053
program_prefix=$ac_optarg ;;
1055
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1056
| --program-suf | --program-su | --program-s)
1057
ac_prev=program_suffix ;;
1058
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1059
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1060
program_suffix=$ac_optarg ;;
1062
-program-transform-name | --program-transform-name \
1063
| --program-transform-nam | --program-transform-na \
1064
| --program-transform-n | --program-transform- \
1065
| --program-transform | --program-transfor \
1066
| --program-transfo | --program-transf \
1067
| --program-trans | --program-tran \
1068
| --progr-tra | --program-tr | --program-t)
1069
ac_prev=program_transform_name ;;
1070
-program-transform-name=* | --program-transform-name=* \
1071
| --program-transform-nam=* | --program-transform-na=* \
1072
| --program-transform-n=* | --program-transform-=* \
1073
| --program-transform=* | --program-transfor=* \
1074
| --program-transfo=* | --program-transf=* \
1075
| --program-trans=* | --program-tran=* \
1076
| --progr-tra=* | --program-tr=* | --program-t=*)
1077
program_transform_name=$ac_optarg ;;
1079
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1081
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1082
pdfdir=$ac_optarg ;;
1084
-psdir | --psdir | --psdi | --psd | --ps)
1086
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1089
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1090
| -silent | --silent | --silen | --sile | --sil)
1093
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1095
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1097
sbindir=$ac_optarg ;;
1099
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1100
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1101
| --sharedst | --shareds | --shared | --share | --shar \
1103
ac_prev=sharedstatedir ;;
1104
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1105
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1106
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1108
sharedstatedir=$ac_optarg ;;
1110
-site | --site | --sit)
1112
-site=* | --site=* | --sit=*)
1115
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1117
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1118
srcdir=$ac_optarg ;;
1120
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1121
| --syscon | --sysco | --sysc | --sys | --sy)
1122
ac_prev=sysconfdir ;;
1123
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1124
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1125
sysconfdir=$ac_optarg ;;
1127
-target | --target | --targe | --targ | --tar | --ta | --t)
1128
ac_prev=target_alias ;;
1129
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1130
target_alias=$ac_optarg ;;
1132
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1135
-version | --version | --versio | --versi | --vers | -V)
1136
ac_init_version=: ;;
1139
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1140
# Reject names that are not valid shell variable names.
1141
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1142
as_fn_error $? "invalid package name: $ac_useropt"
1143
ac_useropt_orig=$ac_useropt
1144
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1145
case $ac_user_opts in
1149
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1150
ac_unrecognized_sep=', ';;
1152
eval with_$ac_useropt=\$ac_optarg ;;
1154
-without-* | --without-*)
1155
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1156
# Reject names that are not valid shell variable names.
1157
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1158
as_fn_error $? "invalid package name: $ac_useropt"
1159
ac_useropt_orig=$ac_useropt
1160
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161
case $ac_user_opts in
1165
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1166
ac_unrecognized_sep=', ';;
1168
eval with_$ac_useropt=no ;;
1171
# Obsolete; use --with-x.
1174
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1175
| --x-incl | --x-inc | --x-in | --x-i)
1176
ac_prev=x_includes ;;
1177
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1178
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1179
x_includes=$ac_optarg ;;
1181
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1182
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1183
ac_prev=x_libraries ;;
1184
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1185
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1186
x_libraries=$ac_optarg ;;
1188
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1189
Try \`$0 --help' for more information"
1193
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1194
# Reject names that are not valid shell variable names.
1195
case $ac_envvar in #(
1196
'' | [0-9]* | *[!_$as_cr_alnum]* )
1197
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1199
eval $ac_envvar=\$ac_optarg
1200
export $ac_envvar ;;
1203
# FIXME: should be removed in autoconf 3.0.
1204
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1205
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1206
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1207
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1213
if test -n "$ac_prev"; then
1214
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1215
as_fn_error $? "missing argument to $ac_option"
1218
if test -n "$ac_unrecognized_opts"; then
1219
case $enable_option_checking in
1221
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1222
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1226
# Check all directory arguments for consistency.
1227
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1228
datadir sysconfdir sharedstatedir localstatedir includedir \
1229
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1230
libdir localedir mandir
1232
eval ac_val=\$$ac_var
1233
# Remove trailing slashes.
1236
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1237
eval $ac_var=\$ac_val;;
1239
# Be sure to have absolute directory names.
1241
[\\/$]* | ?:[\\/]* ) continue;;
1242
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1244
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1247
# There might be people who depend on the old broken behavior: `$host'
1248
# used to hold the argument of --host etc.
1249
# FIXME: To remove some day.
1252
target=$target_alias
1254
# FIXME: To remove some day.
1255
if test "x$host_alias" != x; then
1256
if test "x$build_alias" = x; then
1257
cross_compiling=maybe
1258
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1259
If a cross compiler is detected then cross compile mode will be used" >&2
1260
elif test "x$build_alias" != "x$host_alias"; then
1266
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1268
test "$silent" = yes && exec 6>/dev/null
1271
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1272
ac_ls_di=`ls -di .` &&
1273
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1274
as_fn_error $? "working directory cannot be determined"
1275
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1276
as_fn_error $? "pwd does not report name of working directory"
1279
# Find the source files, if location was not specified.
1280
if test -z "$srcdir"; then
1281
ac_srcdir_defaulted=yes
1282
# Try the directory containing this script, then the parent directory.
1283
ac_confdir=`$as_dirname -- "$as_myself" ||
1284
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1285
X"$as_myself" : 'X\(//\)[^/]' \| \
1286
X"$as_myself" : 'X\(//\)$' \| \
1287
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1288
$as_echo X"$as_myself" |
1289
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1307
if test ! -r "$srcdir/$ac_unique_file"; then
1311
ac_srcdir_defaulted=no
1313
if test ! -r "$srcdir/$ac_unique_file"; then
1314
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1315
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1317
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1319
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1321
# When building in place, set srcdir=.
1322
if test "$ac_abs_confdir" = "$ac_pwd"; then
1325
# Remove unnecessary trailing slashes from srcdir.
1326
# Double slashes in file names in object file debugging info
1327
# mess up M-x gdb in Emacs.
1329
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1331
for ac_var in $ac_precious_vars; do
1332
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1333
eval ac_env_${ac_var}_value=\$${ac_var}
1334
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1335
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1339
# Report the --help message.
1341
if test "$ac_init_help" = "long"; then
1342
# Omit some internal or obsolete options to make the list less imposing.
1343
# This message is too long to be a string in the A/UX 3.1 sh.
1345
\`configure' configures gcroots 0.2.3 to adapt to many kinds of systems.
1347
Usage: $0 [OPTION]... [VAR=VALUE]...
1349
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1350
VAR=VALUE. See below for descriptions of some of the useful variables.
1352
Defaults for the options are specified in brackets.
1355
-h, --help display this help and exit
1356
--help=short display options specific to this package
1357
--help=recursive display the short help of all the included packages
1358
-V, --version display version information and exit
1359
-q, --quiet, --silent do not print \`checking ...' messages
1360
--cache-file=FILE cache test results in FILE [disabled]
1361
-C, --config-cache alias for \`--cache-file=config.cache'
1362
-n, --no-create do not create output files
1363
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1365
Installation directories:
1366
--prefix=PREFIX install architecture-independent files in PREFIX
1367
[$ac_default_prefix]
1368
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1371
By default, \`make install' will install all the files in
1372
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1373
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1374
for instance \`--prefix=\$HOME'.
1376
For better control, use the options below.
1378
Fine tuning of the installation directories:
1379
--bindir=DIR user executables [EPREFIX/bin]
1380
--sbindir=DIR system admin executables [EPREFIX/sbin]
1381
--libexecdir=DIR program executables [EPREFIX/libexec]
1382
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1383
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1384
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1385
--libdir=DIR object code libraries [EPREFIX/lib]
1386
--includedir=DIR C header files [PREFIX/include]
1387
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1388
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1389
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1390
--infodir=DIR info documentation [DATAROOTDIR/info]
1391
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1392
--mandir=DIR man documentation [DATAROOTDIR/man]
1393
--docdir=DIR documentation root [DATAROOTDIR/doc/libgcroots]
1394
--htmldir=DIR html documentation [DOCDIR]
1395
--dvidir=DIR dvi documentation [DOCDIR]
1396
--pdfdir=DIR pdf documentation [DOCDIR]
1397
--psdir=DIR ps documentation [DOCDIR]
1403
--program-prefix=PREFIX prepend PREFIX to installed program names
1404
--program-suffix=SUFFIX append SUFFIX to installed program names
1405
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1408
--build=BUILD configure for building on BUILD [guessed]
1409
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1410
--target=TARGET configure for building compilers for TARGET [HOST]
1414
if test -n "$ac_init_help"; then
1415
case $ac_init_help in
1416
short | recursive ) echo "Configuration of gcroots 0.2.3:";;
1421
--disable-option-checking ignore unrecognized --enable/--with options
1422
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1423
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1424
--enable-maintainer-mode enable make rules and dependencies not useful
1425
(and sometimes confusing) to the casual installer
1426
--disable-dependency-tracking speeds up one-time build
1427
--enable-dependency-tracking do not reject slow dependency extractors
1428
--enable-shared[=PKGS] build shared libraries [default=yes]
1429
--enable-static[=PKGS] build static libraries [default=yes]
1430
--enable-fast-install[=PKGS]
1431
optimize for fast installation [default=yes]
1432
--disable-libtool-lock avoid locking (might break parallel builds)
1433
--enable-gc-assertions collector-internal assertion checking
1436
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1437
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1438
--with-ecos enable runtime eCos target support
1439
--with-pic try to use only PIC/non-PIC objects [default=use
1441
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1442
--with-sysroot=DIR Search for dependent libraries within DIR
1443
(or the compiler's sysroot if not specified).
1444
--with-target-subdir=SUBDIR
1445
configuring with a cross compiler
1446
--with-cross-host=HOST configuring with a cross compiler
1448
Some influential environment variables:
1449
CC C compiler command
1450
CFLAGS C compiler flags
1451
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1452
nonstandard directory <lib dir>
1453
LIBS libraries to pass to the linker, e.g. -l<library>
1454
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1455
you have headers in a nonstandard directory <include dir>
1456
CCAS assembler compiler command (defaults to CC)
1457
CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1460
Use these variables to override the choices made by `configure' or to help
1461
it to find libraries and programs with nonstandard names/locations.
1463
Report bugs to <sigscheme-ja@googlegroups.com>.
1468
if test "$ac_init_help" = "recursive"; then
1469
# If there are subdirs, report their specific --help.
1470
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1471
test -d "$ac_dir" ||
1472
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1477
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1479
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1480
# A ".." for each directory in $ac_dir_suffix.
1481
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1482
case $ac_top_builddir_sub in
1483
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1484
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1487
ac_abs_top_builddir=$ac_pwd
1488
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1489
# for backward compatibility:
1490
ac_top_builddir=$ac_top_build_prefix
1493
.) # We are building in place.
1495
ac_top_srcdir=$ac_top_builddir_sub
1496
ac_abs_top_srcdir=$ac_pwd ;;
1497
[\\/]* | ?:[\\/]* ) # Absolute name.
1498
ac_srcdir=$srcdir$ac_dir_suffix;
1499
ac_top_srcdir=$srcdir
1500
ac_abs_top_srcdir=$srcdir ;;
1502
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1503
ac_top_srcdir=$ac_top_build_prefix$srcdir
1504
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1506
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1508
cd "$ac_dir" || { ac_status=$?; continue; }
1509
# Check for guested configure.
1510
if test -f "$ac_srcdir/configure.gnu"; then
1512
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1513
elif test -f "$ac_srcdir/configure"; then
1515
$SHELL "$ac_srcdir/configure" --help=recursive
1517
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1519
cd "$ac_pwd" || { ac_status=$?; break; }
1523
test -n "$ac_init_help" && exit $ac_status
1524
if $ac_init_version; then
1526
gcroots configure 0.2.3
1527
generated by GNU Autoconf 2.68
1529
Copyright (C) 2010 Free Software Foundation, Inc.
1530
This configure script is free software; the Free Software Foundation
1531
gives unlimited permission to copy, distribute and modify it.
1536
## ------------------------ ##
1537
## Autoconf initialization. ##
1538
## ------------------------ ##
1540
# ac_fn_c_try_compile LINENO
1541
# --------------------------
1542
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1543
ac_fn_c_try_compile ()
1545
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1546
rm -f conftest.$ac_objext
1547
if { { ac_try="$ac_compile"
1549
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1550
*) ac_try_echo=$ac_try;;
1552
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1553
$as_echo "$ac_try_echo"; } >&5
1554
(eval "$ac_compile") 2>conftest.err
1556
if test -s conftest.err; then
1557
grep -v '^ *+' conftest.err >conftest.er1
1558
cat conftest.er1 >&5
1559
mv -f conftest.er1 conftest.err
1561
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1562
test $ac_status = 0; } && {
1563
test -z "$ac_c_werror_flag" ||
1564
test ! -s conftest.err
1565
} && test -s conftest.$ac_objext; then :
1568
$as_echo "$as_me: failed program was:" >&5
1569
sed 's/^/| /' conftest.$ac_ext >&5
1573
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1574
as_fn_set_status $ac_retval
1576
} # ac_fn_c_try_compile
1578
# ac_fn_c_try_run LINENO
1579
# ----------------------
1580
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1581
# that executables *can* be run.
1584
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1585
if { { ac_try="$ac_link"
1587
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1588
*) ac_try_echo=$ac_try;;
1590
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1591
$as_echo "$ac_try_echo"; } >&5
1592
(eval "$ac_link") 2>&5
1594
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1595
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1596
{ { case "(($ac_try" in
1597
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1598
*) ac_try_echo=$ac_try;;
1600
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1601
$as_echo "$ac_try_echo"; } >&5
1602
(eval "$ac_try") 2>&5
1604
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1605
test $ac_status = 0; }; }; then :
1608
$as_echo "$as_me: program exited with status $ac_status" >&5
1609
$as_echo "$as_me: failed program was:" >&5
1610
sed 's/^/| /' conftest.$ac_ext >&5
1612
ac_retval=$ac_status
1614
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1615
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1616
as_fn_set_status $ac_retval
1620
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1621
# --------------------------------------------
1622
# Tries to find the compile-time value of EXPR in a program that includes
1623
# INCLUDES, setting VAR accordingly. Returns whether the value could be
1625
ac_fn_c_compute_int ()
1627
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628
if test "$cross_compiling" = yes; then
1629
# Depending upon the size, compute the lo and hi bounds.
1630
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1631
/* end confdefs.h. */
1636
static int test_array [1 - 2 * !(($2) >= 0)];
1643
if ac_fn_c_try_compile "$LINENO"; then :
1646
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1647
/* end confdefs.h. */
1652
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1659
if ac_fn_c_try_compile "$LINENO"; then :
1660
ac_hi=$ac_mid; break
1662
as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1663
if test $ac_lo -le $ac_mid; then
1667
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1669
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1672
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1673
/* end confdefs.h. */
1678
static int test_array [1 - 2 * !(($2) < 0)];
1685
if ac_fn_c_try_compile "$LINENO"; then :
1688
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1689
/* end confdefs.h. */
1694
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1701
if ac_fn_c_try_compile "$LINENO"; then :
1702
ac_lo=$ac_mid; break
1704
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1705
if test $ac_mid -le $ac_hi; then
1709
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1711
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1716
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1718
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1719
# Binary search between lo and hi bounds.
1720
while test "x$ac_lo" != "x$ac_hi"; do
1721
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1722
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1723
/* end confdefs.h. */
1728
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1735
if ac_fn_c_try_compile "$LINENO"; then :
1738
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1740
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1743
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1747
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748
/* end confdefs.h. */
1750
static long int longval () { return $2; }
1751
static unsigned long int ulongval () { return $2; }
1758
FILE *f = fopen ("conftest.val", "w");
1763
long int i = longval ();
1766
fprintf (f, "%ld", i);
1770
unsigned long int i = ulongval ();
1773
fprintf (f, "%lu", i);
1775
/* Do not output a trailing newline, as this causes \r\n confusion
1776
on some platforms. */
1777
return ferror (f) || fclose (f) != 0;
1783
if ac_fn_c_try_run "$LINENO"; then :
1784
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1788
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1789
conftest.$ac_objext conftest.beam conftest.$ac_ext
1793
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794
as_fn_set_status $ac_retval
1796
} # ac_fn_c_compute_int
1798
# ac_fn_c_try_cpp LINENO
1799
# ----------------------
1800
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1803
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804
if { { ac_try="$ac_cpp conftest.$ac_ext"
1806
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1807
*) ac_try_echo=$ac_try;;
1809
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810
$as_echo "$ac_try_echo"; } >&5
1811
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1813
if test -s conftest.err; then
1814
grep -v '^ *+' conftest.err >conftest.er1
1815
cat conftest.er1 >&5
1816
mv -f conftest.er1 conftest.err
1818
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819
test $ac_status = 0; } > conftest.i && {
1820
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1821
test ! -s conftest.err
1825
$as_echo "$as_me: failed program was:" >&5
1826
sed 's/^/| /' conftest.$ac_ext >&5
1830
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831
as_fn_set_status $ac_retval
1835
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1836
# -------------------------------------------------------
1837
# Tests whether HEADER exists and can be compiled using the include files in
1838
# INCLUDES, setting the cache variable VAR accordingly.
1839
ac_fn_c_check_header_compile ()
1841
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1843
$as_echo_n "checking for $2... " >&6; }
1844
if eval \${$3+:} false; then :
1845
$as_echo_n "(cached) " >&6
1847
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1848
/* end confdefs.h. */
1852
if ac_fn_c_try_compile "$LINENO"; then :
1857
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1861
$as_echo "$ac_res" >&6; }
1862
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864
} # ac_fn_c_check_header_compile
1866
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1867
# ----------------------------------------------------
1868
# Tries to find if the field MEMBER exists in type AGGR, after including
1869
# INCLUDES, setting cache variable VAR accordingly.
1870
ac_fn_c_check_member ()
1872
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1874
$as_echo_n "checking for $2.$3... " >&6; }
1875
if eval \${$4+:} false; then :
1876
$as_echo_n "(cached) " >&6
1878
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1879
/* end confdefs.h. */
1891
if ac_fn_c_try_compile "$LINENO"; then :
1894
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895
/* end confdefs.h. */
1901
if (sizeof ac_aggr.$3)
1907
if ac_fn_c_try_compile "$LINENO"; then :
1912
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1914
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1918
$as_echo "$ac_res" >&6; }
1919
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1921
} # ac_fn_c_check_member
1923
# ac_fn_c_try_link LINENO
1924
# -----------------------
1925
# Try to link conftest.$ac_ext, and return whether this succeeded.
1928
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929
rm -f conftest.$ac_objext conftest$ac_exeext
1930
if { { ac_try="$ac_link"
1932
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1933
*) ac_try_echo=$ac_try;;
1935
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1936
$as_echo "$ac_try_echo"; } >&5
1937
(eval "$ac_link") 2>conftest.err
1939
if test -s conftest.err; then
1940
grep -v '^ *+' conftest.err >conftest.er1
1941
cat conftest.er1 >&5
1942
mv -f conftest.er1 conftest.err
1944
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1945
test $ac_status = 0; } && {
1946
test -z "$ac_c_werror_flag" ||
1947
test ! -s conftest.err
1948
} && test -s conftest$ac_exeext && {
1949
test "$cross_compiling" = yes ||
1950
$as_test_x conftest$ac_exeext
1954
$as_echo "$as_me: failed program was:" >&5
1955
sed 's/^/| /' conftest.$ac_ext >&5
1959
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1960
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1961
# interfere with the next link command; also delete a directory that is
1962
# left behind by Apple's compiler. We do this before executing the actions.
1963
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1964
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1965
as_fn_set_status $ac_retval
1967
} # ac_fn_c_try_link
1969
# ac_fn_c_check_func LINENO FUNC VAR
1970
# ----------------------------------
1971
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1972
ac_fn_c_check_func ()
1974
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1976
$as_echo_n "checking for $2... " >&6; }
1977
if eval \${$3+:} false; then :
1978
$as_echo_n "(cached) " >&6
1980
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981
/* end confdefs.h. */
1982
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1983
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1984
#define $2 innocuous_$2
1986
/* System header to define __stub macros and hopefully few prototypes,
1987
which can conflict with char $2 (); below.
1988
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1989
<limits.h> exists even on freestanding compilers. */
1992
# include <limits.h>
1994
# include <assert.h>
1999
/* Override any GCC internal prototype to avoid an error.
2000
Use char because int might match the return type of a GCC
2001
builtin and then its argument prototype would still apply. */
2006
/* The GNU C library defines this for functions which it implements
2007
to always fail with ENOSYS. Some functions are actually named
2008
something starting with __ and the normal name is an alias. */
2009
#if defined __stub_$2 || defined __stub___$2
2021
if ac_fn_c_try_link "$LINENO"; then :
2026
rm -f core conftest.err conftest.$ac_objext \
2027
conftest$ac_exeext conftest.$ac_ext
2030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2031
$as_echo "$ac_res" >&6; }
2032
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2034
} # ac_fn_c_check_func
2036
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2037
# -------------------------------------------------------
2038
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2039
# the include files in INCLUDES and setting the cache variable VAR
2041
ac_fn_c_check_header_mongrel ()
2043
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2044
if eval \${$3+:} false; then :
2045
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2046
$as_echo_n "checking for $2... " >&6; }
2047
if eval \${$3+:} false; then :
2048
$as_echo_n "(cached) " >&6
2051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2052
$as_echo "$ac_res" >&6; }
2054
# Is the header compilable?
2055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2056
$as_echo_n "checking $2 usability... " >&6; }
2057
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2058
/* end confdefs.h. */
2062
if ac_fn_c_try_compile "$LINENO"; then :
2063
ac_header_compiler=yes
2065
ac_header_compiler=no
2067
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2069
$as_echo "$ac_header_compiler" >&6; }
2071
# Is the header present?
2072
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2073
$as_echo_n "checking $2 presence... " >&6; }
2074
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2075
/* end confdefs.h. */
2078
if ac_fn_c_try_cpp "$LINENO"; then :
2079
ac_header_preproc=yes
2081
ac_header_preproc=no
2083
rm -f conftest.err conftest.i conftest.$ac_ext
2084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2085
$as_echo "$ac_header_preproc" >&6; }
2087
# So? What about this header?
2088
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2090
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2091
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2092
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2093
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2096
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2097
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2098
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2099
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2100
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2101
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2102
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2103
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2104
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2105
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2106
( $as_echo "## -------------------------------------------- ##
2107
## Report this to sigscheme-ja@googlegroups.com ##
2108
## -------------------------------------------- ##"
2109
) | sed "s/^/$as_me: WARNING: /" >&2
2112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2113
$as_echo_n "checking for $2... " >&6; }
2114
if eval \${$3+:} false; then :
2115
$as_echo_n "(cached) " >&6
2117
eval "$3=\$ac_header_compiler"
2120
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2121
$as_echo "$ac_res" >&6; }
2123
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2125
} # ac_fn_c_check_header_mongrel
2126
cat >config.log <<_ACEOF
2127
This file contains any messages produced by compilers while
2128
running configure, to aid debugging if configure makes a mistake.
2130
It was created by gcroots $as_me 0.2.3, which was
2131
generated by GNU Autoconf 2.68. Invocation command line was
2143
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2144
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2145
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2146
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2147
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2149
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2150
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2152
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2153
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2154
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2155
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2156
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2157
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2158
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2162
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2166
test -z "$as_dir" && as_dir=.
2167
$as_echo "PATH: $as_dir"
2183
# Keep a trace of the command line.
2184
# Strip out --no-create and --no-recursion so they do not pile up.
2185
# Strip out --silent because we don't want to record it for future runs.
2186
# Also quote any args containing shell meta-characters.
2187
# Make two passes to allow for proper duplicate-argument suppression.
2191
ac_must_keep_next=false
2197
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2198
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2199
| -silent | --silent | --silen | --sile | --sil)
2202
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2205
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2207
as_fn_append ac_configure_args1 " '$ac_arg'"
2208
if test $ac_must_keep_next = true; then
2209
ac_must_keep_next=false # Got value, back to normal.
2212
*=* | --config-cache | -C | -disable-* | --disable-* \
2213
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2214
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2215
| -with-* | --with-* | -without-* | --without-* | --x)
2216
case "$ac_configure_args0 " in
2217
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2220
-* ) ac_must_keep_next=true ;;
2223
as_fn_append ac_configure_args " '$ac_arg'"
2228
{ ac_configure_args0=; unset ac_configure_args0;}
2229
{ ac_configure_args1=; unset ac_configure_args1;}
2231
# When interrupted or exit'd, cleanup temporary files, and complete
2232
# config.log. We remove comments because anyway the quotes in there
2233
# would cause problems or look ugly.
2234
# WARNING: Use '\'' to represent an apostrophe within the trap.
2235
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2236
trap 'exit_status=$?
2237
# Save into config.log some information that might help in debugging.
2241
$as_echo "## ---------------- ##
2242
## Cache variables. ##
2243
## ---------------- ##"
2245
# The following way of writing the cache mishandles newlines in values,
2247
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2248
eval ac_val=\$$ac_var
2252
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2253
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2256
_ | IFS | as_nl) ;; #(
2257
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2258
*) { eval $ac_var=; unset $ac_var;} ;;
2263
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2264
*${as_nl}ac_space=\ *)
2266
"s/'\''/'\''\\\\'\'''\''/g;
2267
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2270
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2277
$as_echo "## ----------------- ##
2278
## Output variables. ##
2279
## ----------------- ##"
2281
for ac_var in $ac_subst_vars
2283
eval ac_val=\$$ac_var
2285
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2287
$as_echo "$ac_var='\''$ac_val'\''"
2291
if test -n "$ac_subst_files"; then
2292
$as_echo "## ------------------- ##
2293
## File substitutions. ##
2294
## ------------------- ##"
2296
for ac_var in $ac_subst_files
2298
eval ac_val=\$$ac_var
2300
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2302
$as_echo "$ac_var='\''$ac_val'\''"
2307
if test -s confdefs.h; then
2308
$as_echo "## ----------- ##
2315
test "$ac_signal" != 0 &&
2316
$as_echo "$as_me: caught signal $ac_signal"
2317
$as_echo "$as_me: exit $exit_status"
2319
rm -f core *.core core.conftest.* &&
2320
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2323
for ac_signal in 1 2 13 15; do
2324
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2328
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2329
rm -f -r conftest* confdefs.h
2331
$as_echo "/* confdefs.h */" > confdefs.h
2333
# Predefined preprocessor variables.
2335
cat >>confdefs.h <<_ACEOF
2336
#define PACKAGE_NAME "$PACKAGE_NAME"
2339
cat >>confdefs.h <<_ACEOF
2340
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2343
cat >>confdefs.h <<_ACEOF
2344
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2347
cat >>confdefs.h <<_ACEOF
2348
#define PACKAGE_STRING "$PACKAGE_STRING"
2351
cat >>confdefs.h <<_ACEOF
2352
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2355
cat >>confdefs.h <<_ACEOF
2356
#define PACKAGE_URL "$PACKAGE_URL"
2360
# Let the site file select an alternate cache file if it wants to.
2361
# Prefer an explicitly selected file to automatically selected ones.
2364
if test -n "$CONFIG_SITE"; then
2365
# We do not want a PATH search for config.site.
2366
case $CONFIG_SITE in #((
2367
-*) ac_site_file1=./$CONFIG_SITE;;
2368
*/*) ac_site_file1=$CONFIG_SITE;;
2369
*) ac_site_file1=./$CONFIG_SITE;;
2371
elif test "x$prefix" != xNONE; then
2372
ac_site_file1=$prefix/share/config.site
2373
ac_site_file2=$prefix/etc/config.site
2375
ac_site_file1=$ac_default_prefix/share/config.site
2376
ac_site_file2=$ac_default_prefix/etc/config.site
2378
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2380
test "x$ac_site_file" = xNONE && continue
2381
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2382
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2383
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2384
sed 's/^/| /' "$ac_site_file" >&5
2386
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2387
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2388
as_fn_error $? "failed to load site script $ac_site_file
2389
See \`config.log' for more details" "$LINENO" 5; }
2393
if test -r "$cache_file"; then
2394
# Some versions of bash will fail to source /dev/null (special files
2395
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2396
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2397
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2398
$as_echo "$as_me: loading cache $cache_file" >&6;}
2400
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2401
*) . "./$cache_file";;
2405
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2406
$as_echo "$as_me: creating cache $cache_file" >&6;}
2410
# Check that the precious variables saved in the cache have kept the same
2412
ac_cache_corrupted=false
2413
for ac_var in $ac_precious_vars; do
2414
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2415
eval ac_new_set=\$ac_env_${ac_var}_set
2416
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2417
eval ac_new_val=\$ac_env_${ac_var}_value
2418
case $ac_old_set,$ac_new_set in
2420
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2421
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2422
ac_cache_corrupted=: ;;
2424
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2425
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2426
ac_cache_corrupted=: ;;
2429
if test "x$ac_old_val" != "x$ac_new_val"; then
2430
# differences in whitespace do not lead to failure.
2431
ac_old_val_w=`echo x $ac_old_val`
2432
ac_new_val_w=`echo x $ac_new_val`
2433
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2434
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2435
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2436
ac_cache_corrupted=:
2438
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2439
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2440
eval $ac_var=\$ac_old_val
2442
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2443
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2444
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2445
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2448
# Pass precious variables to config.status.
2449
if test "$ac_new_set" = set; then
2451
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2452
*) ac_arg=$ac_var=$ac_new_val ;;
2454
case " $ac_configure_args " in
2455
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2456
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2460
if $ac_cache_corrupted; then
2461
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2462
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2463
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2464
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2465
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2467
## -------------------- ##
2468
## Main body of script. ##
2469
## -------------------- ##
2472
ac_cpp='$CPP $CPPFLAGS'
2473
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2474
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2475
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2480
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2481
if test -f "$ac_dir/install-sh"; then
2483
ac_install_sh="$ac_aux_dir/install-sh -c"
2485
elif test -f "$ac_dir/install.sh"; then
2487
ac_install_sh="$ac_aux_dir/install.sh -c"
2489
elif test -f "$ac_dir/shtool"; then
2491
ac_install_sh="$ac_aux_dir/shtool install -c"
2495
if test -z "$ac_aux_dir"; then
2496
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2499
# These three variables are undocumented and unsupported,
2500
# and are intended to be withdrawn in a future Autoconf release.
2501
# They can cause serious problems if a builder's source tree is in a directory
2502
# whose full name contains unusual characters.
2503
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2504
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2505
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2508
# Make sure we can run config.sub.
2509
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2510
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2513
$as_echo_n "checking build system type... " >&6; }
2514
if ${ac_cv_build+:} false; then :
2515
$as_echo_n "(cached) " >&6
2517
ac_build_alias=$build_alias
2518
test "x$ac_build_alias" = x &&
2519
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2520
test "x$ac_build_alias" = x &&
2521
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2522
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2523
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2527
$as_echo "$ac_cv_build" >&6; }
2528
case $ac_cv_build in
2530
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2533
ac_save_IFS=$IFS; IFS='-'
2539
# Remember, the first character of IFS is used to create $*,
2540
# except with old shells:
2543
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2547
$as_echo_n "checking host system type... " >&6; }
2548
if ${ac_cv_host+:} false; then :
2549
$as_echo_n "(cached) " >&6
2551
if test "x$host_alias" = x; then
2552
ac_cv_host=$ac_cv_build
2554
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2555
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2559
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2560
$as_echo "$ac_cv_host" >&6; }
2563
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2566
ac_save_IFS=$IFS; IFS='-'
2572
# Remember, the first character of IFS is used to create $*,
2573
# except with old shells:
2576
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2580
$as_echo_n "checking target system type... " >&6; }
2581
if ${ac_cv_target+:} false; then :
2582
$as_echo_n "(cached) " >&6
2584
if test "x$target_alias" = x; then
2585
ac_cv_target=$ac_cv_host
2587
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2588
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2593
$as_echo "$ac_cv_target" >&6; }
2594
case $ac_cv_target in
2596
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2598
target=$ac_cv_target
2599
ac_save_IFS=$IFS; IFS='-'
2605
# Remember, the first character of IFS is used to create $*,
2606
# except with old shells:
2609
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2612
# The aliases save the names the user supplied, while $host etc.
2613
# will get canonicalized.
2614
test -n "$target_alias" &&
2615
test "$program_prefix$program_suffix$program_transform_name" = \
2617
program_prefix=${target_alias}-
2619
am__api_version='1.11'
2621
# Find a good install program. We prefer a C program (faster),
2622
# so one script is as good as another. But avoid the broken or
2623
# incompatible versions:
2624
# SysV /etc/install, /usr/sbin/install
2625
# SunOS /usr/etc/install
2626
# IRIX /sbin/install
2628
# AmigaOS /C/install, which installs bootblocks on floppy discs
2629
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2630
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2631
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2632
# OS/2's system install, which has a completely different semantic
2633
# ./install, which can be erroneously created by make from ./install.sh.
2634
# Reject install programs that cannot install multiple files.
2635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2636
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2637
if test -z "$INSTALL"; then
2638
if ${ac_cv_path_install+:} false; then :
2639
$as_echo_n "(cached) " >&6
2641
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2645
test -z "$as_dir" && as_dir=.
2646
# Account for people who put trailing slashes in PATH elements.
2647
case $as_dir/ in #((
2648
./ | .// | /[cC]/* | \
2649
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2650
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2653
# OSF1 and SCO ODT 3.0 have their own names for install.
2654
# Don't use installbsd from OSF since it installs stuff as root
2656
for ac_prog in ginstall scoinst install; do
2657
for ac_exec_ext in '' $ac_executable_extensions; do
2658
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2659
if test $ac_prog = install &&
2660
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2661
# AIX install. It has an incompatible calling convention.
2663
elif test $ac_prog = install &&
2664
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2665
# program-specific install script used by HP pwplus--don't use.
2668
rm -rf conftest.one conftest.two conftest.dir
2669
echo one > conftest.one
2670
echo two > conftest.two
2672
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2673
test -s conftest.one && test -s conftest.two &&
2674
test -s conftest.dir/conftest.one &&
2675
test -s conftest.dir/conftest.two
2677
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2690
rm -rf conftest.one conftest.two conftest.dir
2693
if test "${ac_cv_path_install+set}" = set; then
2694
INSTALL=$ac_cv_path_install
2696
# As a last resort, use the slow shell script. Don't cache a
2697
# value for INSTALL within a source directory, because that will
2698
# break other packages using the cache if that directory is
2699
# removed, or if the value is a relative name.
2700
INSTALL=$ac_install_sh
2703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2704
$as_echo "$INSTALL" >&6; }
2706
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2707
# It thinks the first close brace ends the variable substitution.
2708
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2710
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2712
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2715
$as_echo_n "checking whether build environment is sane... " >&6; }
2718
echo timestamp > conftest.file
2719
# Reject unsafe characters in $srcdir or the absolute working directory
2720
# name. Accept space and tab only in the latter.
2724
*[\\\"\#\$\&\'\`$am_lf]*)
2725
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2728
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2729
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2732
# Do `set' in a subshell so we don't clobber the current shell's
2733
# arguments. Must try -L first in case configure is actually a
2734
# symlink; some systems play weird games with the mod time of symlinks
2735
# (eg FreeBSD returns the mod time of the symlink's containing
2738
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2739
if test "$*" = "X"; then
2741
set X `ls -t "$srcdir/configure" conftest.file`
2744
if test "$*" != "X $srcdir/configure conftest.file" \
2745
&& test "$*" != "X conftest.file $srcdir/configure"; then
2747
# If neither matched, then we have a broken ls. This can happen
2748
# if, for instance, CONFIG_SHELL is bash and it inherits a
2749
# broken ls alias from the environment. This has actually
2750
# happened. Such a system could not be considered "sane".
2751
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2752
alias in your environment" "$LINENO" 5
2755
test "$2" = conftest.file
2761
as_fn_error $? "newly created file is older than distributed files!
2762
Check your system clock" "$LINENO" 5
2764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2765
$as_echo "yes" >&6; }
2766
test "$program_prefix" != NONE &&
2767
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2768
# Use a double $ so make ignores it.
2769
test "$program_suffix" != NONE &&
2770
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2771
# Double any \ or $.
2772
# By default was `s,x,x', remove it if useless.
2773
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2774
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2776
# expand $ac_aux_dir to an absolute path
2777
am_aux_dir=`cd $ac_aux_dir && pwd`
2779
if test x"${MISSING+set}" != xset; then
2782
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2784
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2787
# Use eval to expand $SHELL
2788
if eval "$MISSING --run true"; then
2789
am_missing_run="$MISSING --run "
2792
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2793
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2796
if test x"${install_sh}" != xset; then
2799
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2801
install_sh="\${SHELL} $am_aux_dir/install-sh"
2805
# Installed binaries are usually stripped using `strip' when the user
2806
# run `make install-strip'. However `strip' might not be the right
2807
# tool to use in cross-compilation environments, therefore Automake
2808
# will honor the `STRIP' environment variable to overrule this program.
2809
if test "$cross_compiling" != no; then
2810
if test -n "$ac_tool_prefix"; then
2811
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2812
set dummy ${ac_tool_prefix}strip; ac_word=$2
2813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2814
$as_echo_n "checking for $ac_word... " >&6; }
2815
if ${ac_cv_prog_STRIP+:} false; then :
2816
$as_echo_n "(cached) " >&6
2818
if test -n "$STRIP"; then
2819
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2821
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2825
test -z "$as_dir" && as_dir=.
2826
for ac_exec_ext in '' $ac_executable_extensions; do
2827
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2828
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2829
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2838
STRIP=$ac_cv_prog_STRIP
2839
if test -n "$STRIP"; then
2840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2841
$as_echo "$STRIP" >&6; }
2843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2844
$as_echo "no" >&6; }
2849
if test -z "$ac_cv_prog_STRIP"; then
2851
# Extract the first word of "strip", so it can be a program name with args.
2852
set dummy strip; ac_word=$2
2853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2854
$as_echo_n "checking for $ac_word... " >&6; }
2855
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2856
$as_echo_n "(cached) " >&6
2858
if test -n "$ac_ct_STRIP"; then
2859
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2861
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2865
test -z "$as_dir" && as_dir=.
2866
for ac_exec_ext in '' $ac_executable_extensions; do
2867
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2868
ac_cv_prog_ac_ct_STRIP="strip"
2869
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2878
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2879
if test -n "$ac_ct_STRIP"; then
2880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2881
$as_echo "$ac_ct_STRIP" >&6; }
2883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2884
$as_echo "no" >&6; }
2887
if test "x$ac_ct_STRIP" = x; then
2890
case $cross_compiling:$ac_tool_warned in
2892
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2893
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2894
ac_tool_warned=yes ;;
2899
STRIP="$ac_cv_prog_STRIP"
2903
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2905
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2906
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2907
if test -z "$MKDIR_P"; then
2908
if ${ac_cv_path_mkdir+:} false; then :
2909
$as_echo_n "(cached) " >&6
2911
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2915
test -z "$as_dir" && as_dir=.
2916
for ac_prog in mkdir gmkdir; do
2917
for ac_exec_ext in '' $ac_executable_extensions; do
2918
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2919
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2920
'mkdir (GNU coreutils) '* | \
2921
'mkdir (coreutils) '* | \
2922
'mkdir (fileutils) '4.1*)
2923
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2933
test -d ./--version && rmdir ./--version
2934
if test "${ac_cv_path_mkdir+set}" = set; then
2935
MKDIR_P="$ac_cv_path_mkdir -p"
2937
# As a last resort, use the slow shell script. Don't cache a
2938
# value for MKDIR_P within a source directory, because that will
2939
# break other packages using the cache if that directory is
2940
# removed, or if the value is a relative name.
2941
MKDIR_P="$ac_install_sh -d"
2944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2945
$as_echo "$MKDIR_P" >&6; }
2949
[\\/$]* | ?:[\\/]*) ;;
2950
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2953
for ac_prog in gawk mawk nawk awk
2955
# Extract the first word of "$ac_prog", so it can be a program name with args.
2956
set dummy $ac_prog; ac_word=$2
2957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2958
$as_echo_n "checking for $ac_word... " >&6; }
2959
if ${ac_cv_prog_AWK+:} false; then :
2960
$as_echo_n "(cached) " >&6
2962
if test -n "$AWK"; then
2963
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2965
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2969
test -z "$as_dir" && as_dir=.
2970
for ac_exec_ext in '' $ac_executable_extensions; do
2971
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2972
ac_cv_prog_AWK="$ac_prog"
2973
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2983
if test -n "$AWK"; then
2984
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2985
$as_echo "$AWK" >&6; }
2987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2988
$as_echo "no" >&6; }
2992
test -n "$AWK" && break
2995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2996
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2998
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2999
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3000
$as_echo_n "(cached) " >&6
3002
cat >conftest.make <<\_ACEOF
3005
@echo '@@@%%%=$(MAKE)=@@@%%%'
3007
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3008
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3010
eval ac_cv_prog_make_${ac_make}_set=yes;;
3012
eval ac_cv_prog_make_${ac_make}_set=no;;
3016
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3017
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3018
$as_echo "yes" >&6; }
3021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022
$as_echo "no" >&6; }
3023
SET_MAKE="MAKE=${MAKE-make}"
3026
rm -rf .tst 2>/dev/null
3027
mkdir .tst 2>/dev/null
3028
if test -d .tst; then
3033
rmdir .tst 2>/dev/null
3035
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3036
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3037
# is not polluted with repeated "-I."
3038
am__isrc=' -I$(srcdir)'
3039
# test to see if srcdir already configured
3040
if test -f $srcdir/config.status; then
3041
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3045
# test whether we have cygpath
3046
if test -z "$CYGPATH_W"; then
3047
if (cygpath --version) >/dev/null 2>/dev/null; then
3048
CYGPATH_W='cygpath -w'
3055
# Define the identity of the package.
3056
PACKAGE='libgcroots'
3060
cat >>confdefs.h <<_ACEOF
3061
#define PACKAGE "$PACKAGE"
3065
cat >>confdefs.h <<_ACEOF
3066
#define VERSION "$VERSION"
3069
# Some tools Automake needs.
3071
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3074
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3077
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3080
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3083
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3085
# We need awk for the "check" target. The system "awk" is bad on
3087
# Always define AMTAR for backward compatibility. Yes, it's still used
3088
# in the wild :-( We should find a proper way to deprecate it ...
3091
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3099
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3100
# Check whether --enable-maintainer-mode was given.
3101
if test "${enable_maintainer_mode+set}" = set; then :
3102
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3104
USE_MAINTAINER_MODE=no
3107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3108
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3109
if test $USE_MAINTAINER_MODE = yes; then
3110
MAINTAINER_MODE_TRUE=
3111
MAINTAINER_MODE_FALSE='#'
3113
MAINTAINER_MODE_TRUE='#'
3114
MAINTAINER_MODE_FALSE=
3117
MAINT=$MAINTAINER_MODE_TRUE
3123
DEPDIR="${am__leading_dot}deps"
3125
ac_config_commands="$ac_config_commands depfiles"
3128
am_make=${MAKE-make}
3129
cat > confinc << 'END'
3131
@echo this is the am__doit target
3134
# If we don't find an include directive, just comment out the code.
3135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3136
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3140
# First try GNU make style include.
3141
echo "include confinc" > confmf
3142
# Ignore all kinds of additional output from `make'.
3143
case `$am_make -s -f confmf 2> /dev/null` in #(
3144
*the\ am__doit\ target*)
3150
# Now try BSD make style include.
3151
if test "$am__include" = "#"; then
3152
echo '.include "confinc"' > confmf
3153
case `$am_make -s -f confmf 2> /dev/null` in #(
3154
*the\ am__doit\ target*)
3155
am__include=.include
3163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3164
$as_echo "$_am_result" >&6; }
3165
rm -f confinc confmf
3167
# Check whether --enable-dependency-tracking was given.
3168
if test "${enable_dependency_tracking+set}" = set; then :
3169
enableval=$enable_dependency_tracking;
3172
if test "x$enable_dependency_tracking" != xno; then
3173
am_depcomp="$ac_aux_dir/depcomp"
3177
if test "x$enable_dependency_tracking" != xno; then
3187
ac_cpp='$CPP $CPPFLAGS'
3188
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3189
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3190
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3191
if test -n "$ac_tool_prefix"; then
3192
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3193
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195
$as_echo_n "checking for $ac_word... " >&6; }
3196
if ${ac_cv_prog_CC+:} false; then :
3197
$as_echo_n "(cached) " >&6
3199
if test -n "$CC"; then
3200
ac_cv_prog_CC="$CC" # Let the user override the test.
3202
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3206
test -z "$as_dir" && as_dir=.
3207
for ac_exec_ext in '' $ac_executable_extensions; do
3208
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3209
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3210
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3220
if test -n "$CC"; then
3221
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3222
$as_echo "$CC" >&6; }
3224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225
$as_echo "no" >&6; }
3230
if test -z "$ac_cv_prog_CC"; then
3232
# Extract the first word of "gcc", so it can be a program name with args.
3233
set dummy gcc; ac_word=$2
3234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3235
$as_echo_n "checking for $ac_word... " >&6; }
3236
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3237
$as_echo_n "(cached) " >&6
3239
if test -n "$ac_ct_CC"; then
3240
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3246
test -z "$as_dir" && as_dir=.
3247
for ac_exec_ext in '' $ac_executable_extensions; do
3248
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3249
ac_cv_prog_ac_ct_CC="gcc"
3250
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3259
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3260
if test -n "$ac_ct_CC"; then
3261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3262
$as_echo "$ac_ct_CC" >&6; }
3264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3265
$as_echo "no" >&6; }
3268
if test "x$ac_ct_CC" = x; then
3271
case $cross_compiling:$ac_tool_warned in
3273
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3274
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3275
ac_tool_warned=yes ;;
3283
if test -z "$CC"; then
3284
if test -n "$ac_tool_prefix"; then
3285
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3286
set dummy ${ac_tool_prefix}cc; ac_word=$2
3287
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288
$as_echo_n "checking for $ac_word... " >&6; }
3289
if ${ac_cv_prog_CC+:} false; then :
3290
$as_echo_n "(cached) " >&6
3292
if test -n "$CC"; then
3293
ac_cv_prog_CC="$CC" # Let the user override the test.
3295
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3299
test -z "$as_dir" && as_dir=.
3300
for ac_exec_ext in '' $ac_executable_extensions; do
3301
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3302
ac_cv_prog_CC="${ac_tool_prefix}cc"
3303
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3313
if test -n "$CC"; then
3314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3315
$as_echo "$CC" >&6; }
3317
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318
$as_echo "no" >&6; }
3324
if test -z "$CC"; then
3325
# Extract the first word of "cc", so it can be a program name with args.
3326
set dummy cc; ac_word=$2
3327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3328
$as_echo_n "checking for $ac_word... " >&6; }
3329
if ${ac_cv_prog_CC+:} false; then :
3330
$as_echo_n "(cached) " >&6
3332
if test -n "$CC"; then
3333
ac_cv_prog_CC="$CC" # Let the user override the test.
3336
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340
test -z "$as_dir" && as_dir=.
3341
for ac_exec_ext in '' $ac_executable_extensions; do
3342
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3343
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3344
ac_prog_rejected=yes
3348
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3355
if test $ac_prog_rejected = yes; then
3356
# We found a bogon in the path, so make sure we never use it.
3357
set dummy $ac_cv_prog_CC
3359
if test $# != 0; then
3360
# We chose a different compiler from the bogus one.
3361
# However, it has the same basename, so the bogon will be chosen
3362
# first if we set CC to just the basename; use the full file name.
3364
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3370
if test -n "$CC"; then
3371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3372
$as_echo "$CC" >&6; }
3374
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3375
$as_echo "no" >&6; }
3380
if test -z "$CC"; then
3381
if test -n "$ac_tool_prefix"; then
3382
for ac_prog in cl.exe
3384
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3385
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3386
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387
$as_echo_n "checking for $ac_word... " >&6; }
3388
if ${ac_cv_prog_CC+:} false; then :
3389
$as_echo_n "(cached) " >&6
3391
if test -n "$CC"; then
3392
ac_cv_prog_CC="$CC" # Let the user override the test.
3394
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398
test -z "$as_dir" && as_dir=.
3399
for ac_exec_ext in '' $ac_executable_extensions; do
3400
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3402
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412
if test -n "$CC"; then
3413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3414
$as_echo "$CC" >&6; }
3416
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417
$as_echo "no" >&6; }
3421
test -n "$CC" && break
3424
if test -z "$CC"; then
3426
for ac_prog in cl.exe
3428
# Extract the first word of "$ac_prog", so it can be a program name with args.
3429
set dummy $ac_prog; ac_word=$2
3430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3431
$as_echo_n "checking for $ac_word... " >&6; }
3432
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3433
$as_echo_n "(cached) " >&6
3435
if test -n "$ac_ct_CC"; then
3436
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3438
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442
test -z "$as_dir" && as_dir=.
3443
for ac_exec_ext in '' $ac_executable_extensions; do
3444
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3445
ac_cv_prog_ac_ct_CC="$ac_prog"
3446
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3455
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3456
if test -n "$ac_ct_CC"; then
3457
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3458
$as_echo "$ac_ct_CC" >&6; }
3460
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3461
$as_echo "no" >&6; }
3465
test -n "$ac_ct_CC" && break
3468
if test "x$ac_ct_CC" = x; then
3471
case $cross_compiling:$ac_tool_warned in
3473
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3474
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3475
ac_tool_warned=yes ;;
3484
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3485
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3486
as_fn_error $? "no acceptable C compiler found in \$PATH
3487
See \`config.log' for more details" "$LINENO" 5; }
3489
# Provide some information about the compiler.
3490
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3493
for ac_option in --version -v -V -qversion; do
3494
{ { ac_try="$ac_compiler $ac_option >&5"
3496
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3497
*) ac_try_echo=$ac_try;;
3499
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3500
$as_echo "$ac_try_echo"; } >&5
3501
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3503
if test -s conftest.err; then
3505
... rest of stderr output deleted ...
3506
10q' conftest.err >conftest.er1
3507
cat conftest.er1 >&5
3509
rm -f conftest.er1 conftest.err
3510
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3511
test $ac_status = 0; }
3514
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515
/* end confdefs.h. */
3525
ac_clean_files_save=$ac_clean_files
3526
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3527
# Try to create an executable without -o first, disregard a.out.
3528
# It will help us diagnose broken compilers, and finding out an intuition
3530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3531
$as_echo_n "checking whether the C compiler works... " >&6; }
3532
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3534
# The possible output files:
3535
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3538
for ac_file in $ac_files
3541
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3542
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3547
if { { ac_try="$ac_link_default"
3549
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550
*) ac_try_echo=$ac_try;;
3552
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3553
$as_echo "$ac_try_echo"; } >&5
3554
(eval "$ac_link_default") 2>&5
3556
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3557
test $ac_status = 0; }; then :
3558
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3559
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3560
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3561
# so that the user can short-circuit this test for compilers unknown to
3563
for ac_file in $ac_files ''
3565
test -f "$ac_file" || continue
3567
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3570
# We found the default executable, but exeext='' is most
3574
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3576
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3578
# We set ac_cv_exeext here because the later test for it is not
3579
# safe: cross compilers may not add the suffix if given an `-o'
3580
# argument, so we may need to know it at that point already.
3581
# Even if this section looks crufty: it has the advantage of
3588
test "$ac_cv_exeext" = no && ac_cv_exeext=
3593
if test -z "$ac_file"; then :
3594
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3595
$as_echo "no" >&6; }
3596
$as_echo "$as_me: failed program was:" >&5
3597
sed 's/^/| /' conftest.$ac_ext >&5
3599
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3600
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3601
as_fn_error 77 "C compiler cannot create executables
3602
See \`config.log' for more details" "$LINENO" 5; }
3604
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3605
$as_echo "yes" >&6; }
3607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3608
$as_echo_n "checking for C compiler default output file name... " >&6; }
3609
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3610
$as_echo "$ac_file" >&6; }
3611
ac_exeext=$ac_cv_exeext
3613
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3614
ac_clean_files=$ac_clean_files_save
3615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3616
$as_echo_n "checking for suffix of executables... " >&6; }
3617
if { { ac_try="$ac_link"
3619
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3620
*) ac_try_echo=$ac_try;;
3622
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3623
$as_echo "$ac_try_echo"; } >&5
3624
(eval "$ac_link") 2>&5
3626
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3627
test $ac_status = 0; }; then :
3628
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3629
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3630
# work properly (i.e., refer to `conftest.exe'), while it won't with
3632
for ac_file in conftest.exe conftest conftest.*; do
3633
test -f "$ac_file" || continue
3635
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3636
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3642
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3643
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3644
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3645
See \`config.log' for more details" "$LINENO" 5; }
3647
rm -f conftest conftest$ac_cv_exeext
3648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3649
$as_echo "$ac_cv_exeext" >&6; }
3651
rm -f conftest.$ac_ext
3652
EXEEXT=$ac_cv_exeext
3654
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655
/* end confdefs.h. */
3660
FILE *f = fopen ("conftest.out", "w");
3661
return ferror (f) || fclose (f) != 0;
3667
ac_clean_files="$ac_clean_files conftest.out"
3668
# Check that the compiler produces executables we can run. If not, either
3669
# the compiler is broken, or we cross compile.
3670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3671
$as_echo_n "checking whether we are cross compiling... " >&6; }
3672
if test "$cross_compiling" != yes; then
3673
{ { ac_try="$ac_link"
3675
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3676
*) ac_try_echo=$ac_try;;
3678
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3679
$as_echo "$ac_try_echo"; } >&5
3680
(eval "$ac_link") 2>&5
3682
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3683
test $ac_status = 0; }
3684
if { ac_try='./conftest$ac_cv_exeext'
3685
{ { case "(($ac_try" in
3686
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3687
*) ac_try_echo=$ac_try;;
3689
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3690
$as_echo "$ac_try_echo"; } >&5
3691
(eval "$ac_try") 2>&5
3693
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3694
test $ac_status = 0; }; }; then
3697
if test "$cross_compiling" = maybe; then
3700
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3701
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3702
as_fn_error $? "cannot run C compiled programs.
3703
If you meant to cross compile, use \`--host'.
3704
See \`config.log' for more details" "$LINENO" 5; }
3708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3709
$as_echo "$cross_compiling" >&6; }
3711
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3712
ac_clean_files=$ac_clean_files_save
3713
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3714
$as_echo_n "checking for suffix of object files... " >&6; }
3715
if ${ac_cv_objext+:} false; then :
3716
$as_echo_n "(cached) " >&6
3718
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3719
/* end confdefs.h. */
3729
rm -f conftest.o conftest.obj
3730
if { { ac_try="$ac_compile"
3732
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3733
*) ac_try_echo=$ac_try;;
3735
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3736
$as_echo "$ac_try_echo"; } >&5
3737
(eval "$ac_compile") 2>&5
3739
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3740
test $ac_status = 0; }; then :
3741
for ac_file in conftest.o conftest.obj conftest.*; do
3742
test -f "$ac_file" || continue;
3744
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3745
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3750
$as_echo "$as_me: failed program was:" >&5
3751
sed 's/^/| /' conftest.$ac_ext >&5
3753
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3754
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3755
as_fn_error $? "cannot compute suffix of object files: cannot compile
3756
See \`config.log' for more details" "$LINENO" 5; }
3758
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3761
$as_echo "$ac_cv_objext" >&6; }
3762
OBJEXT=$ac_cv_objext
3764
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3765
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3766
if ${ac_cv_c_compiler_gnu+:} false; then :
3767
$as_echo_n "(cached) " >&6
3769
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3770
/* end confdefs.h. */
3783
if ac_fn_c_try_compile "$LINENO"; then :
3788
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3789
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3793
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3794
if test $ac_compiler_gnu = yes; then
3799
ac_test_CFLAGS=${CFLAGS+set}
3800
ac_save_CFLAGS=$CFLAGS
3801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3802
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3803
if ${ac_cv_prog_cc_g+:} false; then :
3804
$as_echo_n "(cached) " >&6
3806
ac_save_c_werror_flag=$ac_c_werror_flag
3807
ac_c_werror_flag=yes
3810
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3811
/* end confdefs.h. */
3821
if ac_fn_c_try_compile "$LINENO"; then :
3825
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826
/* end confdefs.h. */
3836
if ac_fn_c_try_compile "$LINENO"; then :
3839
ac_c_werror_flag=$ac_save_c_werror_flag
3841
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3842
/* end confdefs.h. */
3852
if ac_fn_c_try_compile "$LINENO"; then :
3855
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3857
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3859
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3860
ac_c_werror_flag=$ac_save_c_werror_flag
3862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3863
$as_echo "$ac_cv_prog_cc_g" >&6; }
3864
if test "$ac_test_CFLAGS" = set; then
3865
CFLAGS=$ac_save_CFLAGS
3866
elif test $ac_cv_prog_cc_g = yes; then
3867
if test "$GCC" = yes; then
3873
if test "$GCC" = yes; then
3879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3880
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3881
if ${ac_cv_prog_cc_c89+:} false; then :
3882
$as_echo_n "(cached) " >&6
3884
ac_cv_prog_cc_c89=no
3886
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887
/* end confdefs.h. */
3890
#include <sys/types.h>
3891
#include <sys/stat.h>
3892
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3893
struct buf { int x; };
3894
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3895
static char *e (p, i)
3901
static char *f (char * (*g) (char **, int), char **p, ...)
3906
s = g (p, va_arg (v,int));
3911
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3912
function prototypes and stuff, but not '\xHH' hex character constants.
3913
These don't provoke an error unfortunately, instead are silently treated
3914
as 'x'. The following induces an error, until -std is added to get
3915
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3916
array size at least. It's necessary to write '\x00'==0 to get something
3917
that's true only with -std. */
3918
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3920
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3921
inside strings and character constants. */
3923
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3925
int test (int i, double x);
3926
struct s1 {int (*f) (int a);};
3927
struct s2 {int (*f) (double a);};
3928
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3934
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3939
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3940
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3942
CC="$ac_save_CC $ac_arg"
3943
if ac_fn_c_try_compile "$LINENO"; then :
3944
ac_cv_prog_cc_c89=$ac_arg
3946
rm -f core conftest.err conftest.$ac_objext
3947
test "x$ac_cv_prog_cc_c89" != "xno" && break
3949
rm -f conftest.$ac_ext
3954
case "x$ac_cv_prog_cc_c89" in
3956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3957
$as_echo "none needed" >&6; } ;;
3959
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3960
$as_echo "unsupported" >&6; } ;;
3962
CC="$CC $ac_cv_prog_cc_c89"
3963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3964
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3966
if test "x$ac_cv_prog_cc_c89" != xno; then :
3971
ac_cpp='$CPP $CPPFLAGS'
3972
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3973
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3974
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3976
depcc="$CC" am_compiler_list=
3978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3979
$as_echo_n "checking dependency style of $depcc... " >&6; }
3980
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3981
$as_echo_n "(cached) " >&6
3983
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3984
# We make a subdir and do the tests there. Otherwise we can end up
3985
# making bogus files that we don't know about and never remove. For
3986
# instance it was reported that on HP-UX the gcc test will end up
3987
# making a dummy file named `D' -- because `-MD' means `put the output
3991
# Copy depcomp to subdir because otherwise we won't find it if we're
3992
# using a relative directory.
3993
cp "$am_depcomp" conftest.dir
3995
# We will build objects and dependencies in a subdirectory because
3996
# it helps to detect inapplicable dependency modes. For instance
3997
# both Tru64's cc and ICC support -MD to output dependencies as a
3998
# side effect of compilation, but ICC will put the dependencies in
3999
# the current directory while Tru64 will put them in the object
4003
am_cv_CC_dependencies_compiler_type=none
4004
if test "$am_compiler_list" = ""; then
4005
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4008
case " $depcc " in #(
4009
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4012
for depmode in $am_compiler_list; do
4013
# Setup a source with many dependencies, because some compilers
4014
# like to wrap large dependency lists on column 80 (with \), and
4015
# we should not choose a depcomp mode which is confused by this.
4017
# We need to recreate these files for each test, as the compiler may
4018
# overwrite some of them when testing with obscure command lines.
4019
# This happens at least with the AIX C compiler.
4021
for i in 1 2 3 4 5 6; do
4022
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4023
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4024
# Solaris 8's {/usr,}/bin/sh.
4025
touch sub/conftst$i.h
4027
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4029
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4030
# mode. It turns out that the SunPro C++ compiler does not properly
4031
# handle `-M -o', and we need to detect this. Also, some Intel
4032
# versions had trouble with output in subdirs
4033
am__obj=sub/conftest.${OBJEXT-o}
4034
am__minus_obj="-o $am__obj"
4037
# This depmode causes a compiler race in universal mode.
4038
test "$am__universal" = false || continue
4041
# after this tag, mechanisms are not by side-effect, so they'll
4042
# only be used when explicitly requested
4043
if test "x$enable_dependency_tracking" = xyes; then
4049
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4050
# This compiler won't grok `-c -o', but also, the minuso test has
4051
# not run yet. These depmodes are late enough in the game, and
4052
# so weak that their functioning should not be impacted.
4053
am__obj=conftest.${OBJEXT-o}
4058
if depmode=$depmode \
4059
source=sub/conftest.c object=$am__obj \
4060
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4061
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4062
>/dev/null 2>conftest.err &&
4063
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4064
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4065
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4066
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4067
# icc doesn't choke on unknown options, it will just issue warnings
4068
# or remarks (even with -Werror). So we grep stderr for any message
4069
# that says an option was ignored or not supported.
4070
# When given -MP, icc 7.0 and 7.1 complain thusly:
4071
# icc: Command line warning: ignoring option '-M'; no argument required
4072
# The diagnosis changed in icc 8.0:
4073
# icc: Command line remark: option '-MP' not supported
4074
if (grep 'ignoring option' conftest.err ||
4075
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4076
am_cv_CC_dependencies_compiler_type=$depmode
4085
am_cv_CC_dependencies_compiler_type=none
4089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4090
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4091
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4094
test "x$enable_dependency_tracking" != xno \
4095
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4097
am__fastdepCC_FALSE='#'
4099
am__fastdepCC_TRUE='#'
4100
am__fastdepCC_FALSE=
4104
if test "x$CC" != xcc; then
4105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4106
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4109
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4111
set dummy $CC; ac_cc=`$as_echo "$2" |
4112
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4113
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4114
$as_echo_n "(cached) " >&6
4116
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4117
/* end confdefs.h. */
4127
# Make sure it works both with $CC and with simple cc.
4128
# We do the test twice because some compilers refuse to overwrite an
4129
# existing .o file with -o, though they will create one.
4130
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4132
if { { case "(($ac_try" in
4133
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4134
*) ac_try_echo=$ac_try;;
4136
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4137
$as_echo "$ac_try_echo"; } >&5
4138
(eval "$ac_try") 2>&5
4140
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4141
test $ac_status = 0; } &&
4142
test -f conftest2.$ac_objext && { { case "(($ac_try" in