2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68 for sqlite3cc 0.2dev.
5
# Report bugs to <tim@ed.am>.
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
178
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
PATH=/empty FPATH=/empty; export PATH FPATH
183
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185
test \$(( 1 + 1 )) = 2 || 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 tim@ed.am about
250
$0: your system, including any error possibly output before
251
$0: this message. Then install a modern shell, or manually
252
$0: run the script under such a shell if you do have one."
258
SHELL=${CONFIG_SHELL-/bin/sh}
260
# Unset more variables known to interfere with behavior of common tools.
261
CLICOLOR_FORCE= GREP_OPTIONS=
262
unset CLICOLOR_FORCE GREP_OPTIONS
264
## --------------------- ##
265
## M4sh Shell Functions. ##
266
## --------------------- ##
269
# Portably unset VAR.
272
{ eval $1=; unset $1;}
276
# as_fn_set_status STATUS
277
# -----------------------
278
# Set $? to STATUS, without forking.
286
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
296
# Create "$as_dir" as a directory, including parents if necessary.
301
-*) as_dir=./$as_dir;;
303
test -d "$as_dir" || eval $as_mkdir_p || {
307
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310
as_dirs="'$as_qdir' $as_dirs"
311
as_dir=`$as_dirname -- "$as_dir" ||
312
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
313
X"$as_dir" : 'X\(//\)[^/]' \| \
314
X"$as_dir" : 'X\(//\)$' \| \
315
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
316
$as_echo X"$as_dir" |
317
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
334
test -d "$as_dir" && break
336
test -z "$as_dirs" || eval "mkdir $as_dirs"
337
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
341
# as_fn_append VAR VALUE
342
# ----------------------
343
# Append the text in VALUE to the end of the definition contained in VAR. Take
344
# advantage of any shell optimizations that allow amortized linear growth over
345
# repeated appends, instead of the typical quadratic growth present in naive
347
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
348
eval 'as_fn_append ()
361
# Perform arithmetic evaluation on the ARGs, and store the result in the
362
# global $as_val. Take advantage of shells that can avoid forks. The arguments
363
# must be portable across $(()) and expr.
364
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
372
as_val=`expr "$@" || test $? -eq 1`
377
# as_fn_error STATUS ERROR [LINENO LOG_FD]
378
# ----------------------------------------
379
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
380
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
381
# script with STATUS, using 1 if that was 0.
384
as_status=$1; test $as_status -eq 0 && as_status=1
386
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
387
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389
$as_echo "$as_me: error: $2" >&2
390
as_fn_exit $as_status
393
if expr a : '\(a\)' >/dev/null 2>&1 &&
394
test "X`expr 00001 : '.*\(...\)'`" = X001; then
400
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
406
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
412
as_me=`$as_basename -- "$0" ||
413
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
414
X"$0" : 'X\(//\)$' \| \
415
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417
sed '/^.*\/\([^/][^/]*\)\/*$/{
431
# Avoid depending upon Character Ranges.
432
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
433
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
434
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
435
as_cr_digits='0123456789'
436
as_cr_alnum=$as_cr_Letters$as_cr_digits
439
as_lineno_1=$LINENO as_lineno_1a=$LINENO
440
as_lineno_2=$LINENO as_lineno_2a=$LINENO
441
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
442
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
443
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
455
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
459
chmod +x "$as_me.lineno" ||
460
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
# Don't try to exec as it changes $[0], causing all sort of problems
463
# (the dirname of $[0] is not the place where we might find the
464
# original and so on. Autoconf is especially sensitive to this).
466
# Exit status is that of the last command.
470
ECHO_C= ECHO_N= ECHO_T=
471
case `echo -n x` in #(((((
473
case `echo 'xy\c'` in
474
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
476
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
483
rm -f conf$$ conf$$.exe conf$$.file
484
if test -d conf$$.dir; then
485
rm -f conf$$.dir/conf$$.file
488
mkdir conf$$.dir 2>/dev/null
490
if (echo >conf$$.file) 2>/dev/null; then
491
if ln -s conf$$.file conf$$ 2>/dev/null; then
493
# ... but there are two gotchas:
494
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
495
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
496
# In both cases, we have to default to `cp -p'.
497
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499
elif ln conf$$.file conf$$ 2>/dev/null; then
507
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508
rmdir conf$$.dir 2>/dev/null
510
if mkdir -p . 2>/dev/null; then
511
as_mkdir_p='mkdir -p "$as_dir"'
513
test -d ./-p && rmdir ./-p
517
if test -x / >/dev/null 2>&1; then
520
if ls -dL / >/dev/null 2>&1; then
527
if test -d "$1"; then
533
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
534
???[sx]*):;;*)false;;esac;fi
538
as_executable_p=$as_test_x
540
# Sed expression to map a string onto a valid CPP name.
541
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
# Sed expression to map a string onto a valid variable name.
544
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
SHELL=${CONFIG_SHELL-/bin/sh}
549
test -n "$DJDIR" || exec 7<&0 </dev/null
553
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
554
# so uname gets run too.
555
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
ac_default_prefix=/usr/local
562
ac_config_libobj_dir=.
569
# Identity of this package.
570
PACKAGE_NAME='sqlite3cc'
571
PACKAGE_TARNAME='sqlite3cc'
572
PACKAGE_VERSION='0.2dev'
573
PACKAGE_STRING='sqlite3cc 0.2dev'
574
PACKAGE_BUGREPORT='tim@ed.am'
575
PACKAGE_URL='http://ed.am/dev/sqlite3cc'
577
ac_unique_file="src/command.cc"
578
# Factoring default headers for most tests.
579
ac_includes_default="\
581
#ifdef HAVE_SYS_TYPES_H
582
# include <sys/types.h>
584
#ifdef HAVE_SYS_STAT_H
585
# include <sys/stat.h>
591
# ifdef HAVE_STDLIB_H
596
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601
#ifdef HAVE_STRINGS_H
602
# include <strings.h>
604
#ifdef HAVE_INTTYPES_H
605
# include <inttypes.h>
614
ac_subst_vars='am__EXEEXT_FALSE
680
INSTALL_STRIP_PROGRAM
695
LIBSQLITE3CC_INTERFACE
723
program_transform_name
736
enable_option_checking
737
enable_dependency_tracking
746
ac_precious_vars='build_alias
761
# Initialize some variables set by options.
763
ac_init_version=false
764
ac_unrecognized_opts=
766
# The variables have the same names as the options, with
767
# dashes changed to underlines.
775
program_transform_name=s,x,x,
783
# Installation directory options.
784
# These are left unexpanded so users can "make install exec_prefix=/foo"
785
# and all the variables that are supposed to be based on exec_prefix
786
# by default will actually change.
787
# Use braces instead of parens because sh, perl, etc. also accept them.
788
# (The list follows the same order as the GNU Coding Standards.)
789
bindir='${exec_prefix}/bin'
790
sbindir='${exec_prefix}/sbin'
791
libexecdir='${exec_prefix}/libexec'
792
datarootdir='${prefix}/share'
793
datadir='${datarootdir}'
794
sysconfdir='${prefix}/etc'
795
sharedstatedir='${prefix}/com'
796
localstatedir='${prefix}/var'
797
includedir='${prefix}/include'
798
oldincludedir='/usr/include'
799
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
800
infodir='${datarootdir}/info'
805
libdir='${exec_prefix}/lib'
806
localedir='${datarootdir}/locale'
807
mandir='${datarootdir}/man'
813
# If the previous option needs an argument, assign it.
814
if test -n "$ac_prev"; then
815
eval $ac_prev=\$ac_option
821
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
826
# Accept the important Cygnus configure options, so we can diagnose typos.
828
case $ac_dashdash$ac_option in
832
-bindir | --bindir | --bindi | --bind | --bin | --bi)
834
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
837
-build | --build | --buil | --bui | --bu)
838
ac_prev=build_alias ;;
839
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
840
build_alias=$ac_optarg ;;
842
-cache-file | --cache-file | --cache-fil | --cache-fi \
843
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
844
ac_prev=cache_file ;;
845
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
846
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
847
cache_file=$ac_optarg ;;
850
cache_file=config.cache ;;
852
-datadir | --datadir | --datadi | --datad)
854
-datadir=* | --datadir=* | --datadi=* | --datad=*)
855
datadir=$ac_optarg ;;
857
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
858
| --dataroo | --dataro | --datar)
859
ac_prev=datarootdir ;;
860
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
861
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
862
datarootdir=$ac_optarg ;;
864
-disable-* | --disable-*)
865
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
866
# Reject names that are not valid shell variable names.
867
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
868
as_fn_error $? "invalid feature name: $ac_useropt"
869
ac_useropt_orig=$ac_useropt
870
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
871
case $ac_user_opts in
875
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
876
ac_unrecognized_sep=', ';;
878
eval enable_$ac_useropt=no ;;
880
-docdir | --docdir | --docdi | --doc | --do)
882
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
885
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
887
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
890
-enable-* | --enable-*)
891
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
892
# Reject names that are not valid shell variable names.
893
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
894
as_fn_error $? "invalid feature name: $ac_useropt"
895
ac_useropt_orig=$ac_useropt
896
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
897
case $ac_user_opts in
901
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
902
ac_unrecognized_sep=', ';;
904
eval enable_$ac_useropt=\$ac_optarg ;;
906
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
907
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
908
| --exec | --exe | --ex)
909
ac_prev=exec_prefix ;;
910
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
911
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
912
| --exec=* | --exe=* | --ex=*)
913
exec_prefix=$ac_optarg ;;
915
-gas | --gas | --ga | --g)
916
# Obsolete; use --with-gas.
919
-help | --help | --hel | --he | -h)
921
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
922
ac_init_help=recursive ;;
923
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
924
ac_init_help=short ;;
926
-host | --host | --hos | --ho)
927
ac_prev=host_alias ;;
928
-host=* | --host=* | --hos=* | --ho=*)
929
host_alias=$ac_optarg ;;
931
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
933
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
935
htmldir=$ac_optarg ;;
937
-includedir | --includedir | --includedi | --included | --include \
938
| --includ | --inclu | --incl | --inc)
939
ac_prev=includedir ;;
940
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
941
| --includ=* | --inclu=* | --incl=* | --inc=*)
942
includedir=$ac_optarg ;;
944
-infodir | --infodir | --infodi | --infod | --info | --inf)
946
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
947
infodir=$ac_optarg ;;
949
-libdir | --libdir | --libdi | --libd)
951
-libdir=* | --libdir=* | --libdi=* | --libd=*)
954
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
955
| --libexe | --libex | --libe)
956
ac_prev=libexecdir ;;
957
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
958
| --libexe=* | --libex=* | --libe=*)
959
libexecdir=$ac_optarg ;;
961
-localedir | --localedir | --localedi | --localed | --locale)
963
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
964
localedir=$ac_optarg ;;
966
-localstatedir | --localstatedir | --localstatedi | --localstated \
967
| --localstate | --localstat | --localsta | --localst | --locals)
968
ac_prev=localstatedir ;;
969
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
970
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
971
localstatedir=$ac_optarg ;;
973
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
975
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
979
# Obsolete; use --without-fp.
982
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
983
| --no-cr | --no-c | -n)
986
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
987
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
990
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
991
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
992
| --oldin | --oldi | --old | --ol | --o)
993
ac_prev=oldincludedir ;;
994
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
995
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
996
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
997
oldincludedir=$ac_optarg ;;
999
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1001
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1002
prefix=$ac_optarg ;;
1004
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1005
| --program-pre | --program-pr | --program-p)
1006
ac_prev=program_prefix ;;
1007
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1008
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1009
program_prefix=$ac_optarg ;;
1011
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1012
| --program-suf | --program-su | --program-s)
1013
ac_prev=program_suffix ;;
1014
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1015
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1016
program_suffix=$ac_optarg ;;
1018
-program-transform-name | --program-transform-name \
1019
| --program-transform-nam | --program-transform-na \
1020
| --program-transform-n | --program-transform- \
1021
| --program-transform | --program-transfor \
1022
| --program-transfo | --program-transf \
1023
| --program-trans | --program-tran \
1024
| --progr-tra | --program-tr | --program-t)
1025
ac_prev=program_transform_name ;;
1026
-program-transform-name=* | --program-transform-name=* \
1027
| --program-transform-nam=* | --program-transform-na=* \
1028
| --program-transform-n=* | --program-transform-=* \
1029
| --program-transform=* | --program-transfor=* \
1030
| --program-transfo=* | --program-transf=* \
1031
| --program-trans=* | --program-tran=* \
1032
| --progr-tra=* | --program-tr=* | --program-t=*)
1033
program_transform_name=$ac_optarg ;;
1035
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1037
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1038
pdfdir=$ac_optarg ;;
1040
-psdir | --psdir | --psdi | --psd | --ps)
1042
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1045
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1046
| -silent | --silent | --silen | --sile | --sil)
1049
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1051
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1053
sbindir=$ac_optarg ;;
1055
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1056
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1057
| --sharedst | --shareds | --shared | --share | --shar \
1059
ac_prev=sharedstatedir ;;
1060
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1061
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1062
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1064
sharedstatedir=$ac_optarg ;;
1066
-site | --site | --sit)
1068
-site=* | --site=* | --sit=*)
1071
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1073
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1074
srcdir=$ac_optarg ;;
1076
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1077
| --syscon | --sysco | --sysc | --sys | --sy)
1078
ac_prev=sysconfdir ;;
1079
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1080
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1081
sysconfdir=$ac_optarg ;;
1083
-target | --target | --targe | --targ | --tar | --ta | --t)
1084
ac_prev=target_alias ;;
1085
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1086
target_alias=$ac_optarg ;;
1088
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1091
-version | --version | --versio | --versi | --vers | -V)
1092
ac_init_version=: ;;
1095
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1096
# Reject names that are not valid shell variable names.
1097
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1098
as_fn_error $? "invalid package name: $ac_useropt"
1099
ac_useropt_orig=$ac_useropt
1100
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101
case $ac_user_opts in
1105
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1106
ac_unrecognized_sep=', ';;
1108
eval with_$ac_useropt=\$ac_optarg ;;
1110
-without-* | --without-*)
1111
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1112
# Reject names that are not valid shell variable names.
1113
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114
as_fn_error $? "invalid package name: $ac_useropt"
1115
ac_useropt_orig=$ac_useropt
1116
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117
case $ac_user_opts in
1121
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1122
ac_unrecognized_sep=', ';;
1124
eval with_$ac_useropt=no ;;
1127
# Obsolete; use --with-x.
1130
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1131
| --x-incl | --x-inc | --x-in | --x-i)
1132
ac_prev=x_includes ;;
1133
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1134
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1135
x_includes=$ac_optarg ;;
1137
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1138
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1139
ac_prev=x_libraries ;;
1140
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1141
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1142
x_libraries=$ac_optarg ;;
1144
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1145
Try \`$0 --help' for more information"
1149
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1150
# Reject names that are not valid shell variable names.
1151
case $ac_envvar in #(
1152
'' | [0-9]* | *[!_$as_cr_alnum]* )
1153
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1155
eval $ac_envvar=\$ac_optarg
1156
export $ac_envvar ;;
1159
# FIXME: should be removed in autoconf 3.0.
1160
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1162
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1169
if test -n "$ac_prev"; then
1170
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1171
as_fn_error $? "missing argument to $ac_option"
1174
if test -n "$ac_unrecognized_opts"; then
1175
case $enable_option_checking in
1177
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1178
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1182
# Check all directory arguments for consistency.
1183
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1184
datadir sysconfdir sharedstatedir localstatedir includedir \
1185
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1186
libdir localedir mandir
1188
eval ac_val=\$$ac_var
1189
# Remove trailing slashes.
1192
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1193
eval $ac_var=\$ac_val;;
1195
# Be sure to have absolute directory names.
1197
[\\/$]* | ?:[\\/]* ) continue;;
1198
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1200
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1203
# There might be people who depend on the old broken behavior: `$host'
1204
# used to hold the argument of --host etc.
1205
# FIXME: To remove some day.
1208
target=$target_alias
1210
# FIXME: To remove some day.
1211
if test "x$host_alias" != x; then
1212
if test "x$build_alias" = x; then
1213
cross_compiling=maybe
1214
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1215
If a cross compiler is detected then cross compile mode will be used" >&2
1216
elif test "x$build_alias" != "x$host_alias"; then
1222
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1224
test "$silent" = yes && exec 6>/dev/null
1227
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1228
ac_ls_di=`ls -di .` &&
1229
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1230
as_fn_error $? "working directory cannot be determined"
1231
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1232
as_fn_error $? "pwd does not report name of working directory"
1235
# Find the source files, if location was not specified.
1236
if test -z "$srcdir"; then
1237
ac_srcdir_defaulted=yes
1238
# Try the directory containing this script, then the parent directory.
1239
ac_confdir=`$as_dirname -- "$as_myself" ||
1240
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1241
X"$as_myself" : 'X\(//\)[^/]' \| \
1242
X"$as_myself" : 'X\(//\)$' \| \
1243
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1244
$as_echo X"$as_myself" |
1245
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1263
if test ! -r "$srcdir/$ac_unique_file"; then
1267
ac_srcdir_defaulted=no
1269
if test ! -r "$srcdir/$ac_unique_file"; then
1270
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1271
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1273
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1275
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1277
# When building in place, set srcdir=.
1278
if test "$ac_abs_confdir" = "$ac_pwd"; then
1281
# Remove unnecessary trailing slashes from srcdir.
1282
# Double slashes in file names in object file debugging info
1283
# mess up M-x gdb in Emacs.
1285
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287
for ac_var in $ac_precious_vars; do
1288
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1289
eval ac_env_${ac_var}_value=\$${ac_var}
1290
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1291
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1295
# Report the --help message.
1297
if test "$ac_init_help" = "long"; then
1298
# Omit some internal or obsolete options to make the list less imposing.
1299
# This message is too long to be a string in the A/UX 3.1 sh.
1301
\`configure' configures sqlite3cc 0.2dev to adapt to many kinds of systems.
1303
Usage: $0 [OPTION]... [VAR=VALUE]...
1305
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1306
VAR=VALUE. See below for descriptions of some of the useful variables.
1308
Defaults for the options are specified in brackets.
1311
-h, --help display this help and exit
1312
--help=short display options specific to this package
1313
--help=recursive display the short help of all the included packages
1314
-V, --version display version information and exit
1315
-q, --quiet, --silent do not print \`checking ...' messages
1316
--cache-file=FILE cache test results in FILE [disabled]
1317
-C, --config-cache alias for \`--cache-file=config.cache'
1318
-n, --no-create do not create output files
1319
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1321
Installation directories:
1322
--prefix=PREFIX install architecture-independent files in PREFIX
1323
[$ac_default_prefix]
1324
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1327
By default, \`make install' will install all the files in
1328
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1329
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1330
for instance \`--prefix=\$HOME'.
1332
For better control, use the options below.
1334
Fine tuning of the installation directories:
1335
--bindir=DIR user executables [EPREFIX/bin]
1336
--sbindir=DIR system admin executables [EPREFIX/sbin]
1337
--libexecdir=DIR program executables [EPREFIX/libexec]
1338
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1339
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1340
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1341
--libdir=DIR object code libraries [EPREFIX/lib]
1342
--includedir=DIR C header files [PREFIX/include]
1343
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1344
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1345
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1346
--infodir=DIR info documentation [DATAROOTDIR/info]
1347
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1348
--mandir=DIR man documentation [DATAROOTDIR/man]
1349
--docdir=DIR documentation root [DATAROOTDIR/doc/sqlite3cc]
1350
--htmldir=DIR html documentation [DOCDIR]
1351
--dvidir=DIR dvi documentation [DOCDIR]
1352
--pdfdir=DIR pdf documentation [DOCDIR]
1353
--psdir=DIR ps documentation [DOCDIR]
1359
--program-prefix=PREFIX prepend PREFIX to installed program names
1360
--program-suffix=SUFFIX append SUFFIX to installed program names
1361
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1364
--build=BUILD configure for building on BUILD [guessed]
1365
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1369
if test -n "$ac_init_help"; then
1370
case $ac_init_help in
1371
short | recursive ) echo "Configuration of sqlite3cc 0.2dev:";;
1376
--disable-option-checking ignore unrecognized --enable/--with options
1377
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1378
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1379
--disable-dependency-tracking speeds up one-time build
1380
--enable-dependency-tracking do not reject slow dependency extractors
1381
--enable-shared[=PKGS] build shared libraries [default=yes]
1382
--enable-static[=PKGS] build static libraries [default=yes]
1383
--enable-fast-install[=PKGS]
1384
optimize for fast installation [default=yes]
1385
--disable-libtool-lock avoid locking (might break parallel builds)
1388
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1389
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1390
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1392
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1393
--with-sysroot=DIR Search for dependent libraries within DIR
1394
(or the compiler's sysroot if not specified).
1396
Some influential environment variables:
1397
CXX C++ compiler command
1398
CXXFLAGS C++ compiler flags
1399
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1400
nonstandard directory <lib dir>
1401
LIBS libraries to pass to the linker, e.g. -l<library>
1402
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1403
you have headers in a nonstandard directory <include dir>
1404
CC C compiler command
1405
CFLAGS C compiler flags
1407
CXXCPP C++ preprocessor
1409
Use these variables to override the choices made by `configure' or to help
1410
it to find libraries and programs with nonstandard names/locations.
1412
Report bugs to <tim@ed.am>.
1413
sqlite3cc home page: <http://ed.am/dev/sqlite3cc>.
1418
if test "$ac_init_help" = "recursive"; then
1419
# If there are subdirs, report their specific --help.
1420
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1421
test -d "$ac_dir" ||
1422
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1427
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1429
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1430
# A ".." for each directory in $ac_dir_suffix.
1431
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1432
case $ac_top_builddir_sub in
1433
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1434
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1437
ac_abs_top_builddir=$ac_pwd
1438
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1439
# for backward compatibility:
1440
ac_top_builddir=$ac_top_build_prefix
1443
.) # We are building in place.
1445
ac_top_srcdir=$ac_top_builddir_sub
1446
ac_abs_top_srcdir=$ac_pwd ;;
1447
[\\/]* | ?:[\\/]* ) # Absolute name.
1448
ac_srcdir=$srcdir$ac_dir_suffix;
1449
ac_top_srcdir=$srcdir
1450
ac_abs_top_srcdir=$srcdir ;;
1452
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1453
ac_top_srcdir=$ac_top_build_prefix$srcdir
1454
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1456
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1458
cd "$ac_dir" || { ac_status=$?; continue; }
1459
# Check for guested configure.
1460
if test -f "$ac_srcdir/configure.gnu"; then
1462
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1463
elif test -f "$ac_srcdir/configure"; then
1465
$SHELL "$ac_srcdir/configure" --help=recursive
1467
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1469
cd "$ac_pwd" || { ac_status=$?; break; }
1473
test -n "$ac_init_help" && exit $ac_status
1474
if $ac_init_version; then
1476
sqlite3cc configure 0.2dev
1477
generated by GNU Autoconf 2.68
1479
Copyright (C) 2010 Free Software Foundation, Inc.
1480
This configure script is free software; the Free Software Foundation
1481
gives unlimited permission to copy, distribute and modify it.
1486
## ------------------------ ##
1487
## Autoconf initialization. ##
1488
## ------------------------ ##
1490
# ac_fn_cxx_try_compile LINENO
1491
# ----------------------------
1492
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1493
ac_fn_cxx_try_compile ()
1495
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1496
rm -f conftest.$ac_objext
1497
if { { ac_try="$ac_compile"
1499
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1500
*) ac_try_echo=$ac_try;;
1502
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1503
$as_echo "$ac_try_echo"; } >&5
1504
(eval "$ac_compile") 2>conftest.err
1506
if test -s conftest.err; then
1507
grep -v '^ *+' conftest.err >conftest.er1
1508
cat conftest.er1 >&5
1509
mv -f conftest.er1 conftest.err
1511
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1512
test $ac_status = 0; } && {
1513
test -z "$ac_cxx_werror_flag" ||
1514
test ! -s conftest.err
1515
} && test -s conftest.$ac_objext; then :
1518
$as_echo "$as_me: failed program was:" >&5
1519
sed 's/^/| /' conftest.$ac_ext >&5
1523
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1524
as_fn_set_status $ac_retval
1526
} # ac_fn_cxx_try_compile
1528
# ac_fn_c_try_compile LINENO
1529
# --------------------------
1530
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1531
ac_fn_c_try_compile ()
1533
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1534
rm -f conftest.$ac_objext
1535
if { { ac_try="$ac_compile"
1537
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1538
*) ac_try_echo=$ac_try;;
1540
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1541
$as_echo "$ac_try_echo"; } >&5
1542
(eval "$ac_compile") 2>conftest.err
1544
if test -s conftest.err; then
1545
grep -v '^ *+' conftest.err >conftest.er1
1546
cat conftest.er1 >&5
1547
mv -f conftest.er1 conftest.err
1549
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1550
test $ac_status = 0; } && {
1551
test -z "$ac_c_werror_flag" ||
1552
test ! -s conftest.err
1553
} && test -s conftest.$ac_objext; then :
1556
$as_echo "$as_me: failed program was:" >&5
1557
sed 's/^/| /' conftest.$ac_ext >&5
1561
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1562
as_fn_set_status $ac_retval
1564
} # ac_fn_c_try_compile
1566
# ac_fn_c_try_link LINENO
1567
# -----------------------
1568
# Try to link conftest.$ac_ext, and return whether this succeeded.
1571
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572
rm -f conftest.$ac_objext conftest$ac_exeext
1573
if { { ac_try="$ac_link"
1575
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1576
*) ac_try_echo=$ac_try;;
1578
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579
$as_echo "$ac_try_echo"; } >&5
1580
(eval "$ac_link") 2>conftest.err
1582
if test -s conftest.err; then
1583
grep -v '^ *+' conftest.err >conftest.er1
1584
cat conftest.er1 >&5
1585
mv -f conftest.er1 conftest.err
1587
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588
test $ac_status = 0; } && {
1589
test -z "$ac_c_werror_flag" ||
1590
test ! -s conftest.err
1591
} && test -s conftest$ac_exeext && {
1592
test "$cross_compiling" = yes ||
1593
$as_test_x conftest$ac_exeext
1597
$as_echo "$as_me: failed program was:" >&5
1598
sed 's/^/| /' conftest.$ac_ext >&5
1602
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1603
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1604
# interfere with the next link command; also delete a directory that is
1605
# left behind by Apple's compiler. We do this before executing the actions.
1606
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1607
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1608
as_fn_set_status $ac_retval
1610
} # ac_fn_c_try_link
1612
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1613
# -------------------------------------------------------
1614
# Tests whether HEADER exists and can be compiled using the include files in
1615
# INCLUDES, setting the cache variable VAR accordingly.
1616
ac_fn_c_check_header_compile ()
1618
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1620
$as_echo_n "checking for $2... " >&6; }
1621
if eval \${$3+:} false; then :
1622
$as_echo_n "(cached) " >&6
1624
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1625
/* end confdefs.h. */
1629
if ac_fn_c_try_compile "$LINENO"; then :
1634
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1638
$as_echo "$ac_res" >&6; }
1639
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1641
} # ac_fn_c_check_header_compile
1643
# ac_fn_c_try_cpp LINENO
1644
# ----------------------
1645
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1648
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649
if { { ac_try="$ac_cpp conftest.$ac_ext"
1651
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652
*) ac_try_echo=$ac_try;;
1654
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655
$as_echo "$ac_try_echo"; } >&5
1656
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1658
if test -s conftest.err; then
1659
grep -v '^ *+' conftest.err >conftest.er1
1660
cat conftest.er1 >&5
1661
mv -f conftest.er1 conftest.err
1663
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664
test $ac_status = 0; } > conftest.i && {
1665
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1666
test ! -s conftest.err
1670
$as_echo "$as_me: failed program was:" >&5
1671
sed 's/^/| /' conftest.$ac_ext >&5
1675
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676
as_fn_set_status $ac_retval
1680
# ac_fn_c_try_run LINENO
1681
# ----------------------
1682
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1683
# that executables *can* be run.
1686
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687
if { { ac_try="$ac_link"
1689
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1690
*) ac_try_echo=$ac_try;;
1692
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693
$as_echo "$ac_try_echo"; } >&5
1694
(eval "$ac_link") 2>&5
1696
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1698
{ { case "(($ac_try" in
1699
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700
*) ac_try_echo=$ac_try;;
1702
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703
$as_echo "$ac_try_echo"; } >&5
1704
(eval "$ac_try") 2>&5
1706
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707
test $ac_status = 0; }; }; then :
1710
$as_echo "$as_me: program exited with status $ac_status" >&5
1711
$as_echo "$as_me: failed program was:" >&5
1712
sed 's/^/| /' conftest.$ac_ext >&5
1714
ac_retval=$ac_status
1716
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1717
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718
as_fn_set_status $ac_retval
1722
# ac_fn_c_check_func LINENO FUNC VAR
1723
# ----------------------------------
1724
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1725
ac_fn_c_check_func ()
1727
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729
$as_echo_n "checking for $2... " >&6; }
1730
if eval \${$3+:} false; then :
1731
$as_echo_n "(cached) " >&6
1733
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1734
/* end confdefs.h. */
1735
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1736
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1737
#define $2 innocuous_$2
1739
/* System header to define __stub macros and hopefully few prototypes,
1740
which can conflict with char $2 (); below.
1741
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1742
<limits.h> exists even on freestanding compilers. */
1745
# include <limits.h>
1747
# include <assert.h>
1752
/* Override any GCC internal prototype to avoid an error.
1753
Use char because int might match the return type of a GCC
1754
builtin and then its argument prototype would still apply. */
1759
/* The GNU C library defines this for functions which it implements
1760
to always fail with ENOSYS. Some functions are actually named
1761
something starting with __ and the normal name is an alias. */
1762
#if defined __stub_$2 || defined __stub___$2
1774
if ac_fn_c_try_link "$LINENO"; then :
1779
rm -f core conftest.err conftest.$ac_objext \
1780
conftest$ac_exeext conftest.$ac_ext
1783
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784
$as_echo "$ac_res" >&6; }
1785
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787
} # ac_fn_c_check_func
1789
# ac_fn_cxx_try_cpp LINENO
1790
# ------------------------
1791
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1792
ac_fn_cxx_try_cpp ()
1794
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795
if { { ac_try="$ac_cpp conftest.$ac_ext"
1797
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1798
*) ac_try_echo=$ac_try;;
1800
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1801
$as_echo "$ac_try_echo"; } >&5
1802
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1804
if test -s conftest.err; then
1805
grep -v '^ *+' conftest.err >conftest.er1
1806
cat conftest.er1 >&5
1807
mv -f conftest.er1 conftest.err
1809
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1810
test $ac_status = 0; } > conftest.i && {
1811
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1812
test ! -s conftest.err
1816
$as_echo "$as_me: failed program was:" >&5
1817
sed 's/^/| /' conftest.$ac_ext >&5
1821
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822
as_fn_set_status $ac_retval
1824
} # ac_fn_cxx_try_cpp
1826
# ac_fn_cxx_try_link LINENO
1827
# -------------------------
1828
# Try to link conftest.$ac_ext, and return whether this succeeded.
1829
ac_fn_cxx_try_link ()
1831
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832
rm -f conftest.$ac_objext conftest$ac_exeext
1833
if { { ac_try="$ac_link"
1835
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1836
*) ac_try_echo=$ac_try;;
1838
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839
$as_echo "$ac_try_echo"; } >&5
1840
(eval "$ac_link") 2>conftest.err
1842
if test -s conftest.err; then
1843
grep -v '^ *+' conftest.err >conftest.er1
1844
cat conftest.er1 >&5
1845
mv -f conftest.er1 conftest.err
1847
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848
test $ac_status = 0; } && {
1849
test -z "$ac_cxx_werror_flag" ||
1850
test ! -s conftest.err
1851
} && test -s conftest$ac_exeext && {
1852
test "$cross_compiling" = yes ||
1853
$as_test_x conftest$ac_exeext
1857
$as_echo "$as_me: failed program was:" >&5
1858
sed 's/^/| /' conftest.$ac_ext >&5
1862
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1863
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1864
# interfere with the next link command; also delete a directory that is
1865
# left behind by Apple's compiler. We do this before executing the actions.
1866
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1867
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868
as_fn_set_status $ac_retval
1870
} # ac_fn_cxx_try_link
1872
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1873
# -------------------------------------------------------
1874
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1875
# the include files in INCLUDES and setting the cache variable VAR
1877
ac_fn_c_check_header_mongrel ()
1879
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880
if eval \${$3+:} false; then :
1881
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882
$as_echo_n "checking for $2... " >&6; }
1883
if eval \${$3+:} false; then :
1884
$as_echo_n "(cached) " >&6
1887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888
$as_echo "$ac_res" >&6; }
1890
# Is the header compilable?
1891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1892
$as_echo_n "checking $2 usability... " >&6; }
1893
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894
/* end confdefs.h. */
1898
if ac_fn_c_try_compile "$LINENO"; then :
1899
ac_header_compiler=yes
1901
ac_header_compiler=no
1903
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1904
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1905
$as_echo "$ac_header_compiler" >&6; }
1907
# Is the header present?
1908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1909
$as_echo_n "checking $2 presence... " >&6; }
1910
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1911
/* end confdefs.h. */
1914
if ac_fn_c_try_cpp "$LINENO"; then :
1915
ac_header_preproc=yes
1917
ac_header_preproc=no
1919
rm -f conftest.err conftest.i conftest.$ac_ext
1920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1921
$as_echo "$ac_header_preproc" >&6; }
1923
# So? What about this header?
1924
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1926
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1927
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1928
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1929
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1932
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1933
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1934
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1935
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1936
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1937
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1938
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1939
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1940
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1941
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1942
( $as_echo "## ------------------------ ##
1943
## Report this to tim@ed.am ##
1944
## ------------------------ ##"
1945
) | sed "s/^/$as_me: WARNING: /" >&2
1948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1949
$as_echo_n "checking for $2... " >&6; }
1950
if eval \${$3+:} false; then :
1951
$as_echo_n "(cached) " >&6
1953
eval "$3=\$ac_header_compiler"
1956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1957
$as_echo "$ac_res" >&6; }
1959
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1961
} # ac_fn_c_check_header_mongrel
1962
cat >config.log <<_ACEOF
1963
This file contains any messages produced by compilers while
1964
running configure, to aid debugging if configure makes a mistake.
1966
It was created by sqlite3cc $as_me 0.2dev, which was
1967
generated by GNU Autoconf 2.68. Invocation command line was
1979
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1980
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1981
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1982
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1983
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1985
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1986
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1988
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1989
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1990
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1991
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1992
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1993
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1994
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1998
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2002
test -z "$as_dir" && as_dir=.
2003
$as_echo "PATH: $as_dir"
2019
# Keep a trace of the command line.
2020
# Strip out --no-create and --no-recursion so they do not pile up.
2021
# Strip out --silent because we don't want to record it for future runs.
2022
# Also quote any args containing shell meta-characters.
2023
# Make two passes to allow for proper duplicate-argument suppression.
2027
ac_must_keep_next=false
2033
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2034
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2035
| -silent | --silent | --silen | --sile | --sil)
2038
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2041
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2043
as_fn_append ac_configure_args1 " '$ac_arg'"
2044
if test $ac_must_keep_next = true; then
2045
ac_must_keep_next=false # Got value, back to normal.
2048
*=* | --config-cache | -C | -disable-* | --disable-* \
2049
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2050
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2051
| -with-* | --with-* | -without-* | --without-* | --x)
2052
case "$ac_configure_args0 " in
2053
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2056
-* ) ac_must_keep_next=true ;;
2059
as_fn_append ac_configure_args " '$ac_arg'"
2064
{ ac_configure_args0=; unset ac_configure_args0;}
2065
{ ac_configure_args1=; unset ac_configure_args1;}
2067
# When interrupted or exit'd, cleanup temporary files, and complete
2068
# config.log. We remove comments because anyway the quotes in there
2069
# would cause problems or look ugly.
2070
# WARNING: Use '\'' to represent an apostrophe within the trap.
2071
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2072
trap 'exit_status=$?
2073
# Save into config.log some information that might help in debugging.
2077
$as_echo "## ---------------- ##
2078
## Cache variables. ##
2079
## ---------------- ##"
2081
# The following way of writing the cache mishandles newlines in values,
2083
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2084
eval ac_val=\$$ac_var
2088
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2089
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2092
_ | IFS | as_nl) ;; #(
2093
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2094
*) { eval $ac_var=; unset $ac_var;} ;;
2099
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2100
*${as_nl}ac_space=\ *)
2102
"s/'\''/'\''\\\\'\'''\''/g;
2103
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2106
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2113
$as_echo "## ----------------- ##
2114
## Output variables. ##
2115
## ----------------- ##"
2117
for ac_var in $ac_subst_vars
2119
eval ac_val=\$$ac_var
2121
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2123
$as_echo "$ac_var='\''$ac_val'\''"
2127
if test -n "$ac_subst_files"; then
2128
$as_echo "## ------------------- ##
2129
## File substitutions. ##
2130
## ------------------- ##"
2132
for ac_var in $ac_subst_files
2134
eval ac_val=\$$ac_var
2136
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2138
$as_echo "$ac_var='\''$ac_val'\''"
2143
if test -s confdefs.h; then
2144
$as_echo "## ----------- ##
2151
test "$ac_signal" != 0 &&
2152
$as_echo "$as_me: caught signal $ac_signal"
2153
$as_echo "$as_me: exit $exit_status"
2155
rm -f core *.core core.conftest.* &&
2156
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2159
for ac_signal in 1 2 13 15; do
2160
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2164
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2165
rm -f -r conftest* confdefs.h
2167
$as_echo "/* confdefs.h */" > confdefs.h
2169
# Predefined preprocessor variables.
2171
cat >>confdefs.h <<_ACEOF
2172
#define PACKAGE_NAME "$PACKAGE_NAME"
2175
cat >>confdefs.h <<_ACEOF
2176
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2179
cat >>confdefs.h <<_ACEOF
2180
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2183
cat >>confdefs.h <<_ACEOF
2184
#define PACKAGE_STRING "$PACKAGE_STRING"
2187
cat >>confdefs.h <<_ACEOF
2188
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2191
cat >>confdefs.h <<_ACEOF
2192
#define PACKAGE_URL "$PACKAGE_URL"
2196
# Let the site file select an alternate cache file if it wants to.
2197
# Prefer an explicitly selected file to automatically selected ones.
2200
if test -n "$CONFIG_SITE"; then
2201
# We do not want a PATH search for config.site.
2202
case $CONFIG_SITE in #((
2203
-*) ac_site_file1=./$CONFIG_SITE;;
2204
*/*) ac_site_file1=$CONFIG_SITE;;
2205
*) ac_site_file1=./$CONFIG_SITE;;
2207
elif test "x$prefix" != xNONE; then
2208
ac_site_file1=$prefix/share/config.site
2209
ac_site_file2=$prefix/etc/config.site
2211
ac_site_file1=$ac_default_prefix/share/config.site
2212
ac_site_file2=$ac_default_prefix/etc/config.site
2214
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2216
test "x$ac_site_file" = xNONE && continue
2217
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2218
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2219
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2220
sed 's/^/| /' "$ac_site_file" >&5
2222
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2223
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2224
as_fn_error $? "failed to load site script $ac_site_file
2225
See \`config.log' for more details" "$LINENO" 5; }
2229
if test -r "$cache_file"; then
2230
# Some versions of bash will fail to source /dev/null (special files
2231
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2232
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2233
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2234
$as_echo "$as_me: loading cache $cache_file" >&6;}
2236
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2237
*) . "./$cache_file";;
2241
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2242
$as_echo "$as_me: creating cache $cache_file" >&6;}
2246
# Check that the precious variables saved in the cache have kept the same
2248
ac_cache_corrupted=false
2249
for ac_var in $ac_precious_vars; do
2250
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2251
eval ac_new_set=\$ac_env_${ac_var}_set
2252
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2253
eval ac_new_val=\$ac_env_${ac_var}_value
2254
case $ac_old_set,$ac_new_set in
2256
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2257
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2258
ac_cache_corrupted=: ;;
2260
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2261
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2262
ac_cache_corrupted=: ;;
2265
if test "x$ac_old_val" != "x$ac_new_val"; then
2266
# differences in whitespace do not lead to failure.
2267
ac_old_val_w=`echo x $ac_old_val`
2268
ac_new_val_w=`echo x $ac_new_val`
2269
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2270
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2271
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2272
ac_cache_corrupted=:
2274
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2275
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2276
eval $ac_var=\$ac_old_val
2278
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2279
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2280
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2281
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2284
# Pass precious variables to config.status.
2285
if test "$ac_new_set" = set; then
2287
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2288
*) ac_arg=$ac_var=$ac_new_val ;;
2290
case " $ac_configure_args " in
2291
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2292
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2296
if $ac_cache_corrupted; then
2297
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2298
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2299
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2300
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2301
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2303
## -------------------- ##
2304
## Main body of script. ##
2305
## -------------------- ##
2308
ac_cpp='$CPP $CPPFLAGS'
2309
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2310
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2311
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2314
LIBSQLITE3CC_INTERFACE=0:0:0
2317
for ac_dir in build-aux "$srcdir"/build-aux; do
2318
if test -f "$ac_dir/install-sh"; then
2320
ac_install_sh="$ac_aux_dir/install-sh -c"
2322
elif test -f "$ac_dir/install.sh"; then
2324
ac_install_sh="$ac_aux_dir/install.sh -c"
2326
elif test -f "$ac_dir/shtool"; then
2328
ac_install_sh="$ac_aux_dir/shtool install -c"
2332
if test -z "$ac_aux_dir"; then
2333
as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2336
# These three variables are undocumented and unsupported,
2337
# and are intended to be withdrawn in a future Autoconf release.
2338
# They can cause serious problems if a builder's source tree is in a directory
2339
# whose full name contains unusual characters.
2340
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2341
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2342
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2346
am__api_version='1.11'
2348
# Find a good install program. We prefer a C program (faster),
2349
# so one script is as good as another. But avoid the broken or
2350
# incompatible versions:
2351
# SysV /etc/install, /usr/sbin/install
2352
# SunOS /usr/etc/install
2353
# IRIX /sbin/install
2355
# AmigaOS /C/install, which installs bootblocks on floppy discs
2356
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2357
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2358
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2359
# OS/2's system install, which has a completely different semantic
2360
# ./install, which can be erroneously created by make from ./install.sh.
2361
# Reject install programs that cannot install multiple files.
2362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2363
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2364
if test -z "$INSTALL"; then
2365
if ${ac_cv_path_install+:} false; then :
2366
$as_echo_n "(cached) " >&6
2368
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372
test -z "$as_dir" && as_dir=.
2373
# Account for people who put trailing slashes in PATH elements.
2374
case $as_dir/ in #((
2375
./ | .// | /[cC]/* | \
2376
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2377
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2380
# OSF1 and SCO ODT 3.0 have their own names for install.
2381
# Don't use installbsd from OSF since it installs stuff as root
2383
for ac_prog in ginstall scoinst install; do
2384
for ac_exec_ext in '' $ac_executable_extensions; do
2385
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2386
if test $ac_prog = install &&
2387
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2388
# AIX install. It has an incompatible calling convention.
2390
elif test $ac_prog = install &&
2391
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2392
# program-specific install script used by HP pwplus--don't use.
2395
rm -rf conftest.one conftest.two conftest.dir
2396
echo one > conftest.one
2397
echo two > conftest.two
2399
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2400
test -s conftest.one && test -s conftest.two &&
2401
test -s conftest.dir/conftest.one &&
2402
test -s conftest.dir/conftest.two
2404
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2417
rm -rf conftest.one conftest.two conftest.dir
2420
if test "${ac_cv_path_install+set}" = set; then
2421
INSTALL=$ac_cv_path_install
2423
# As a last resort, use the slow shell script. Don't cache a
2424
# value for INSTALL within a source directory, because that will
2425
# break other packages using the cache if that directory is
2426
# removed, or if the value is a relative name.
2427
INSTALL=$ac_install_sh
2430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2431
$as_echo "$INSTALL" >&6; }
2433
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2434
# It thinks the first close brace ends the variable substitution.
2435
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2437
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2439
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2442
$as_echo_n "checking whether build environment is sane... " >&6; }
2445
echo timestamp > conftest.file
2446
# Reject unsafe characters in $srcdir or the absolute working directory
2447
# name. Accept space and tab only in the latter.
2451
*[\\\"\#\$\&\'\`$am_lf]*)
2452
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2455
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2456
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2459
# Do `set' in a subshell so we don't clobber the current shell's
2460
# arguments. Must try -L first in case configure is actually a
2461
# symlink; some systems play weird games with the mod time of symlinks
2462
# (eg FreeBSD returns the mod time of the symlink's containing
2465
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2466
if test "$*" = "X"; then
2468
set X `ls -t "$srcdir/configure" conftest.file`
2471
if test "$*" != "X $srcdir/configure conftest.file" \
2472
&& test "$*" != "X conftest.file $srcdir/configure"; then
2474
# If neither matched, then we have a broken ls. This can happen
2475
# if, for instance, CONFIG_SHELL is bash and it inherits a
2476
# broken ls alias from the environment. This has actually
2477
# happened. Such a system could not be considered "sane".
2478
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2479
alias in your environment" "$LINENO" 5
2482
test "$2" = conftest.file
2488
as_fn_error $? "newly created file is older than distributed files!
2489
Check your system clock" "$LINENO" 5
2491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2492
$as_echo "yes" >&6; }
2493
test "$program_prefix" != NONE &&
2494
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2495
# Use a double $ so make ignores it.
2496
test "$program_suffix" != NONE &&
2497
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2498
# Double any \ or $.
2499
# By default was `s,x,x', remove it if useless.
2500
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2501
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2503
# expand $ac_aux_dir to an absolute path
2504
am_aux_dir=`cd $ac_aux_dir && pwd`
2506
if test x"${MISSING+set}" != xset; then
2509
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2511
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2514
# Use eval to expand $SHELL
2515
if eval "$MISSING --run true"; then
2516
am_missing_run="$MISSING --run "
2519
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2520
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2523
if test x"${install_sh}" != xset; then
2526
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2528
install_sh="\${SHELL} $am_aux_dir/install-sh"
2532
# Installed binaries are usually stripped using `strip' when the user
2533
# run `make install-strip'. However `strip' might not be the right
2534
# tool to use in cross-compilation environments, therefore Automake
2535
# will honor the `STRIP' environment variable to overrule this program.
2536
if test "$cross_compiling" != no; then
2537
if test -n "$ac_tool_prefix"; then
2538
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2539
set dummy ${ac_tool_prefix}strip; ac_word=$2
2540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2541
$as_echo_n "checking for $ac_word... " >&6; }
2542
if ${ac_cv_prog_STRIP+:} false; then :
2543
$as_echo_n "(cached) " >&6
2545
if test -n "$STRIP"; then
2546
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2548
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2552
test -z "$as_dir" && as_dir=.
2553
for ac_exec_ext in '' $ac_executable_extensions; do
2554
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2555
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2556
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2565
STRIP=$ac_cv_prog_STRIP
2566
if test -n "$STRIP"; then
2567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2568
$as_echo "$STRIP" >&6; }
2570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2571
$as_echo "no" >&6; }
2576
if test -z "$ac_cv_prog_STRIP"; then
2578
# Extract the first word of "strip", so it can be a program name with args.
2579
set dummy strip; ac_word=$2
2580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2581
$as_echo_n "checking for $ac_word... " >&6; }
2582
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2583
$as_echo_n "(cached) " >&6
2585
if test -n "$ac_ct_STRIP"; then
2586
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2588
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592
test -z "$as_dir" && as_dir=.
2593
for ac_exec_ext in '' $ac_executable_extensions; do
2594
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2595
ac_cv_prog_ac_ct_STRIP="strip"
2596
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2605
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2606
if test -n "$ac_ct_STRIP"; then
2607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2608
$as_echo "$ac_ct_STRIP" >&6; }
2610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2611
$as_echo "no" >&6; }
2614
if test "x$ac_ct_STRIP" = x; then
2617
case $cross_compiling:$ac_tool_warned in
2619
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2620
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2621
ac_tool_warned=yes ;;
2626
STRIP="$ac_cv_prog_STRIP"
2630
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2633
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2634
if test -z "$MKDIR_P"; then
2635
if ${ac_cv_path_mkdir+:} false; then :
2636
$as_echo_n "(cached) " >&6
2638
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2642
test -z "$as_dir" && as_dir=.
2643
for ac_prog in mkdir gmkdir; do
2644
for ac_exec_ext in '' $ac_executable_extensions; do
2645
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2646
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2647
'mkdir (GNU coreutils) '* | \
2648
'mkdir (coreutils) '* | \
2649
'mkdir (fileutils) '4.1*)
2650
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2660
test -d ./--version && rmdir ./--version
2661
if test "${ac_cv_path_mkdir+set}" = set; then
2662
MKDIR_P="$ac_cv_path_mkdir -p"
2664
# As a last resort, use the slow shell script. Don't cache a
2665
# value for MKDIR_P within a source directory, because that will
2666
# break other packages using the cache if that directory is
2667
# removed, or if the value is a relative name.
2668
MKDIR_P="$ac_install_sh -d"
2671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2672
$as_echo "$MKDIR_P" >&6; }
2676
[\\/$]* | ?:[\\/]*) ;;
2677
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2680
for ac_prog in gawk mawk nawk awk
2682
# Extract the first word of "$ac_prog", so it can be a program name with args.
2683
set dummy $ac_prog; ac_word=$2
2684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2685
$as_echo_n "checking for $ac_word... " >&6; }
2686
if ${ac_cv_prog_AWK+:} false; then :
2687
$as_echo_n "(cached) " >&6
2689
if test -n "$AWK"; then
2690
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2692
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2696
test -z "$as_dir" && as_dir=.
2697
for ac_exec_ext in '' $ac_executable_extensions; do
2698
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2699
ac_cv_prog_AWK="$ac_prog"
2700
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2710
if test -n "$AWK"; then
2711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2712
$as_echo "$AWK" >&6; }
2714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715
$as_echo "no" >&6; }
2719
test -n "$AWK" && break
2722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2723
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2725
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2726
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2727
$as_echo_n "(cached) " >&6
2729
cat >conftest.make <<\_ACEOF
2732
@echo '@@@%%%=$(MAKE)=@@@%%%'
2734
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2735
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2737
eval ac_cv_prog_make_${ac_make}_set=yes;;
2739
eval ac_cv_prog_make_${ac_make}_set=no;;
2743
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2745
$as_echo "yes" >&6; }
2748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2749
$as_echo "no" >&6; }
2750
SET_MAKE="MAKE=${MAKE-make}"
2753
rm -rf .tst 2>/dev/null
2754
mkdir .tst 2>/dev/null
2755
if test -d .tst; then
2760
rmdir .tst 2>/dev/null
2762
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2763
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2764
# is not polluted with repeated "-I."
2765
am__isrc=' -I$(srcdir)'
2766
# test to see if srcdir already configured
2767
if test -f $srcdir/config.status; then
2768
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2772
# test whether we have cygpath
2773
if test -z "$CYGPATH_W"; then
2774
if (cygpath --version) >/dev/null 2>/dev/null; then
2775
CYGPATH_W='cygpath -w'
2782
# Define the identity of the package.
2787
cat >>confdefs.h <<_ACEOF
2788
#define PACKAGE "$PACKAGE"
2792
cat >>confdefs.h <<_ACEOF
2793
#define VERSION "$VERSION"
2796
# Some tools Automake needs.
2798
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2801
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2804
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2807
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2810
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2812
# We need awk for the "check" target. The system "awk" is bad on
2814
# Always define AMTAR for backward compatibility. Yes, it's still used
2815
# in the wild :-( We should find a proper way to deprecate it ...
2818
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2825
ac_config_headers="$ac_config_headers config.h"
2828
# checks for programs.
2830
ac_cpp='$CXXCPP $CPPFLAGS'
2831
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2832
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2833
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2834
if test -z "$CXX"; then
2835
if test -n "$CCC"; then
2838
if test -n "$ac_tool_prefix"; then
2839
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2841
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2842
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2844
$as_echo_n "checking for $ac_word... " >&6; }
2845
if ${ac_cv_prog_CXX+:} false; then :
2846
$as_echo_n "(cached) " >&6
2848
if test -n "$CXX"; then
2849
ac_cv_prog_CXX="$CXX" # Let the user override the test.
2851
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2855
test -z "$as_dir" && as_dir=.
2856
for ac_exec_ext in '' $ac_executable_extensions; do
2857
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2858
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2859
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2869
if test -n "$CXX"; then
2870
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2871
$as_echo "$CXX" >&6; }
2873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874
$as_echo "no" >&6; }
2878
test -n "$CXX" && break
2881
if test -z "$CXX"; then
2883
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2885
# Extract the first word of "$ac_prog", so it can be a program name with args.
2886
set dummy $ac_prog; ac_word=$2
2887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2888
$as_echo_n "checking for $ac_word... " >&6; }
2889
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2890
$as_echo_n "(cached) " >&6
2892
if test -n "$ac_ct_CXX"; then
2893
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2895
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2899
test -z "$as_dir" && as_dir=.
2900
for ac_exec_ext in '' $ac_executable_extensions; do
2901
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2902
ac_cv_prog_ac_ct_CXX="$ac_prog"
2903
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2913
if test -n "$ac_ct_CXX"; then
2914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2915
$as_echo "$ac_ct_CXX" >&6; }
2917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2918
$as_echo "no" >&6; }
2922
test -n "$ac_ct_CXX" && break
2925
if test "x$ac_ct_CXX" = x; then
2928
case $cross_compiling:$ac_tool_warned in
2930
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2931
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2932
ac_tool_warned=yes ;;
2940
# Provide some information about the compiler.
2941
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2944
for ac_option in --version -v -V -qversion; do
2945
{ { ac_try="$ac_compiler $ac_option >&5"
2947
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948
*) ac_try_echo=$ac_try;;
2950
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2951
$as_echo "$ac_try_echo"; } >&5
2952
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
2954
if test -s conftest.err; then
2956
... rest of stderr output deleted ...
2957
10q' conftest.err >conftest.er1
2958
cat conftest.er1 >&5
2960
rm -f conftest.er1 conftest.err
2961
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2962
test $ac_status = 0; }
2965
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2966
/* end confdefs.h. */
2976
ac_clean_files_save=$ac_clean_files
2977
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2978
# Try to create an executable without -o first, disregard a.out.
2979
# It will help us diagnose broken compilers, and finding out an intuition
2981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2982
$as_echo_n "checking whether the C++ compiler works... " >&6; }
2983
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2985
# The possible output files:
2986
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2989
for ac_file in $ac_files
2992
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2993
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2998
if { { ac_try="$ac_link_default"
3000
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3001
*) ac_try_echo=$ac_try;;
3003
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3004
$as_echo "$ac_try_echo"; } >&5
3005
(eval "$ac_link_default") 2>&5
3007
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3008
test $ac_status = 0; }; then :
3009
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3010
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3011
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3012
# so that the user can short-circuit this test for compilers unknown to
3014
for ac_file in $ac_files ''
3016
test -f "$ac_file" || continue
3018
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3021
# We found the default executable, but exeext='' is most
3025
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3027
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3029
# We set ac_cv_exeext here because the later test for it is not
3030
# safe: cross compilers may not add the suffix if given an `-o'
3031
# argument, so we may need to know it at that point already.
3032
# Even if this section looks crufty: it has the advantage of
3039
test "$ac_cv_exeext" = no && ac_cv_exeext=
3044
if test -z "$ac_file"; then :
3045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3046
$as_echo "no" >&6; }
3047
$as_echo "$as_me: failed program was:" >&5
3048
sed 's/^/| /' conftest.$ac_ext >&5
3050
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3051
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3052
as_fn_error 77 "C++ compiler cannot create executables
3053
See \`config.log' for more details" "$LINENO" 5; }
3055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3056
$as_echo "yes" >&6; }
3058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3059
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3061
$as_echo "$ac_file" >&6; }
3062
ac_exeext=$ac_cv_exeext
3064
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3065
ac_clean_files=$ac_clean_files_save
3066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3067
$as_echo_n "checking for suffix of executables... " >&6; }
3068
if { { ac_try="$ac_link"
3070
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3071
*) ac_try_echo=$ac_try;;
3073
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3074
$as_echo "$ac_try_echo"; } >&5
3075
(eval "$ac_link") 2>&5
3077
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3078
test $ac_status = 0; }; then :
3079
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3080
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3081
# work properly (i.e., refer to `conftest.exe'), while it won't with
3083
for ac_file in conftest.exe conftest conftest.*; do
3084
test -f "$ac_file" || continue
3086
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3087
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3093
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3094
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3095
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3096
See \`config.log' for more details" "$LINENO" 5; }
3098
rm -f conftest conftest$ac_cv_exeext
3099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3100
$as_echo "$ac_cv_exeext" >&6; }
3102
rm -f conftest.$ac_ext
3103
EXEEXT=$ac_cv_exeext
3105
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106
/* end confdefs.h. */
3111
FILE *f = fopen ("conftest.out", "w");
3112
return ferror (f) || fclose (f) != 0;
3118
ac_clean_files="$ac_clean_files conftest.out"
3119
# Check that the compiler produces executables we can run. If not, either
3120
# the compiler is broken, or we cross compile.
3121
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3122
$as_echo_n "checking whether we are cross compiling... " >&6; }
3123
if test "$cross_compiling" != yes; then
3124
{ { ac_try="$ac_link"
3126
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3127
*) ac_try_echo=$ac_try;;
3129
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3130
$as_echo "$ac_try_echo"; } >&5
3131
(eval "$ac_link") 2>&5
3133
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3134
test $ac_status = 0; }
3135
if { ac_try='./conftest$ac_cv_exeext'
3136
{ { case "(($ac_try" in
3137
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138
*) ac_try_echo=$ac_try;;
3140
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3141
$as_echo "$ac_try_echo"; } >&5
3142
(eval "$ac_try") 2>&5
3144
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3145
test $ac_status = 0; }; }; then
3148
if test "$cross_compiling" = maybe; then
3151
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3152
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3153
as_fn_error $? "cannot run C++ compiled programs.
3154
If you meant to cross compile, use \`--host'.
3155
See \`config.log' for more details" "$LINENO" 5; }
3159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3160
$as_echo "$cross_compiling" >&6; }
3162
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3163
ac_clean_files=$ac_clean_files_save
3164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3165
$as_echo_n "checking for suffix of object files... " >&6; }
3166
if ${ac_cv_objext+:} false; then :
3167
$as_echo_n "(cached) " >&6
3169
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3170
/* end confdefs.h. */
3180
rm -f conftest.o conftest.obj
3181
if { { ac_try="$ac_compile"
3183
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3184
*) ac_try_echo=$ac_try;;
3186
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3187
$as_echo "$ac_try_echo"; } >&5
3188
(eval "$ac_compile") 2>&5
3190
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3191
test $ac_status = 0; }; then :
3192
for ac_file in conftest.o conftest.obj conftest.*; do
3193
test -f "$ac_file" || continue;
3195
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3196
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3201
$as_echo "$as_me: failed program was:" >&5
3202
sed 's/^/| /' conftest.$ac_ext >&5
3204
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3205
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3206
as_fn_error $? "cannot compute suffix of object files: cannot compile
3207
See \`config.log' for more details" "$LINENO" 5; }
3209
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3212
$as_echo "$ac_cv_objext" >&6; }
3213
OBJEXT=$ac_cv_objext
3215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3216
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3217
if ${ac_cv_cxx_compiler_gnu+:} false; then :
3218
$as_echo_n "(cached) " >&6
3220
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3221
/* end confdefs.h. */
3234
if ac_fn_cxx_try_compile "$LINENO"; then :
3239
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3240
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3244
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3245
if test $ac_compiler_gnu = yes; then
3250
ac_test_CXXFLAGS=${CXXFLAGS+set}
3251
ac_save_CXXFLAGS=$CXXFLAGS
3252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3253
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3254
if ${ac_cv_prog_cxx_g+:} false; then :
3255
$as_echo_n "(cached) " >&6
3257
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3258
ac_cxx_werror_flag=yes
3261
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262
/* end confdefs.h. */
3272
if ac_fn_cxx_try_compile "$LINENO"; then :
3273
ac_cv_prog_cxx_g=yes
3276
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277
/* end confdefs.h. */
3287
if ac_fn_cxx_try_compile "$LINENO"; then :
3290
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3292
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293
/* end confdefs.h. */
3303
if ac_fn_cxx_try_compile "$LINENO"; then :
3304
ac_cv_prog_cxx_g=yes
3306
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3314
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3315
if test "$ac_test_CXXFLAGS" = set; then
3316
CXXFLAGS=$ac_save_CXXFLAGS
3317
elif test $ac_cv_prog_cxx_g = yes; then
3318
if test "$GXX" = yes; then
3324
if test "$GXX" = yes; then
3331
ac_cpp='$CPP $CPPFLAGS'
3332
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3333
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3334
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3335
DEPDIR="${am__leading_dot}deps"
3337
ac_config_commands="$ac_config_commands depfiles"
3340
am_make=${MAKE-make}
3341
cat > confinc << 'END'
3343
@echo this is the am__doit target
3346
# If we don't find an include directive, just comment out the code.
3347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3348
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3352
# First try GNU make style include.
3353
echo "include confinc" > confmf
3354
# Ignore all kinds of additional output from `make'.
3355
case `$am_make -s -f confmf 2> /dev/null` in #(
3356
*the\ am__doit\ target*)
3362
# Now try BSD make style include.
3363
if test "$am__include" = "#"; then
3364
echo '.include "confinc"' > confmf
3365
case `$am_make -s -f confmf 2> /dev/null` in #(
3366
*the\ am__doit\ target*)
3367
am__include=.include
3375
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3376
$as_echo "$_am_result" >&6; }
3377
rm -f confinc confmf
3379
# Check whether --enable-dependency-tracking was given.
3380
if test "${enable_dependency_tracking+set}" = set; then :
3381
enableval=$enable_dependency_tracking;
3384
if test "x$enable_dependency_tracking" != xno; then
3385
am_depcomp="$ac_aux_dir/depcomp"
3389
if test "x$enable_dependency_tracking" != xno; then
3399
depcc="$CXX" am_compiler_list=
3401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3402
$as_echo_n "checking dependency style of $depcc... " >&6; }
3403
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3404
$as_echo_n "(cached) " >&6
3406
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3407
# We make a subdir and do the tests there. Otherwise we can end up
3408
# making bogus files that we don't know about and never remove. For
3409
# instance it was reported that on HP-UX the gcc test will end up
3410
# making a dummy file named `D' -- because `-MD' means `put the output
3414
# Copy depcomp to subdir because otherwise we won't find it if we're
3415
# using a relative directory.
3416
cp "$am_depcomp" conftest.dir
3418
# We will build objects and dependencies in a subdirectory because
3419
# it helps to detect inapplicable dependency modes. For instance
3420
# both Tru64's cc and ICC support -MD to output dependencies as a
3421
# side effect of compilation, but ICC will put the dependencies in
3422
# the current directory while Tru64 will put them in the object
3426
am_cv_CXX_dependencies_compiler_type=none
3427
if test "$am_compiler_list" = ""; then
3428
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3431
case " $depcc " in #(
3432
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3435
for depmode in $am_compiler_list; do
3436
# Setup a source with many dependencies, because some compilers
3437
# like to wrap large dependency lists on column 80 (with \), and
3438
# we should not choose a depcomp mode which is confused by this.
3440
# We need to recreate these files for each test, as the compiler may
3441
# overwrite some of them when testing with obscure command lines.
3442
# This happens at least with the AIX C compiler.
3444
for i in 1 2 3 4 5 6; do
3445
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3446
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3447
# Solaris 8's {/usr,}/bin/sh.
3448
touch sub/conftst$i.h
3450
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3452
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3453
# mode. It turns out that the SunPro C++ compiler does not properly
3454
# handle `-M -o', and we need to detect this. Also, some Intel
3455
# versions had trouble with output in subdirs
3456
am__obj=sub/conftest.${OBJEXT-o}
3457
am__minus_obj="-o $am__obj"
3460
# This depmode causes a compiler race in universal mode.
3461
test "$am__universal" = false || continue
3464
# after this tag, mechanisms are not by side-effect, so they'll
3465
# only be used when explicitly requested
3466
if test "x$enable_dependency_tracking" = xyes; then
3472
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3473
# This compiler won't grok `-c -o', but also, the minuso test has
3474
# not run yet. These depmodes are late enough in the game, and
3475
# so weak that their functioning should not be impacted.
3476
am__obj=conftest.${OBJEXT-o}
3481
if depmode=$depmode \
3482
source=sub/conftest.c object=$am__obj \
3483
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3484
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3485
>/dev/null 2>conftest.err &&
3486
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3487
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3488
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3489
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3490
# icc doesn't choke on unknown options, it will just issue warnings
3491
# or remarks (even with -Werror). So we grep stderr for any message
3492
# that says an option was ignored or not supported.
3493
# When given -MP, icc 7.0 and 7.1 complain thusly:
3494
# icc: Command line warning: ignoring option '-M'; no argument required
3495
# The diagnosis changed in icc 8.0:
3496
# icc: Command line remark: option '-MP' not supported
3497
if (grep 'ignoring option' conftest.err ||
3498
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3499
am_cv_CXX_dependencies_compiler_type=$depmode
3508
am_cv_CXX_dependencies_compiler_type=none
3512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3513
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3514
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3517
test "x$enable_dependency_tracking" != xno \
3518
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3519
am__fastdepCXX_TRUE=
3520
am__fastdepCXX_FALSE='#'
3522
am__fastdepCXX_TRUE='#'
3523
am__fastdepCXX_FALSE=
3529
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3530
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3535
macro_version='2.4.2'
3536
macro_revision='1.3337'
3550
ltmain="$ac_aux_dir/ltmain.sh"
3552
# Make sure we can run config.sub.
3553
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3554
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3557
$as_echo_n "checking build system type... " >&6; }
3558
if ${ac_cv_build+:} false; then :
3559
$as_echo_n "(cached) " >&6
3561
ac_build_alias=$build_alias
3562
test "x$ac_build_alias" = x &&
3563
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3564
test "x$ac_build_alias" = x &&
3565
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3566
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3567
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3571
$as_echo "$ac_cv_build" >&6; }
3572
case $ac_cv_build in
3574
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3577
ac_save_IFS=$IFS; IFS='-'
3583
# Remember, the first character of IFS is used to create $*,
3584
# except with old shells:
3587
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3591
$as_echo_n "checking host system type... " >&6; }
3592
if ${ac_cv_host+:} false; then :
3593
$as_echo_n "(cached) " >&6
3595
if test "x$host_alias" = x; then
3596
ac_cv_host=$ac_cv_build
3598
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3599
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3604
$as_echo "$ac_cv_host" >&6; }
3607
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3610
ac_save_IFS=$IFS; IFS='-'
3616
# Remember, the first character of IFS is used to create $*,
3617
# except with old shells:
3620
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3623
# Backslashify metacharacters that are still active within
3624
# double-quoted strings.
3625
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3627
# Same as above, but do not quote variable references.
3628
double_quote_subst='s/\(["`\\]\)/\\\1/g'
3630
# Sed substitution to delay expansion of an escaped shell variable in a
3631
# double_quote_subst'ed string.
3632
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3634
# Sed substitution to delay expansion of an escaped single quote.
3635
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3637
# Sed substitution to avoid accidental globbing in evaled expressions
3638
no_glob_subst='s/\*/\\\*/g'
3640
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3641
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3642
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3645
$as_echo_n "checking how to print strings... " >&6; }
3646
# Test print first, because it will be a builtin if present.
3647
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3648
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3650
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3653
# Use this function as a fallback that always works.
3654
func_fallback_echo ()
3656
eval 'cat <<_LTECHO_EOF
3660
ECHO='func_fallback_echo'
3663
# func_echo_all arg...
3664
# Invoke $ECHO with all args, space-separated.
3671
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3672
$as_echo "printf" >&6; } ;;
3673
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3674
$as_echo "print -r" >&6; } ;;
3675
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3676
$as_echo "cat" >&6; } ;;
3693
ac_cpp='$CPP $CPPFLAGS'
3694
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3695
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3696
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3697
if test -n "$ac_tool_prefix"; then
3698
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3699
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701
$as_echo_n "checking for $ac_word... " >&6; }
3702
if ${ac_cv_prog_CC+:} false; then :
3703
$as_echo_n "(cached) " >&6
3705
if test -n "$CC"; then
3706
ac_cv_prog_CC="$CC" # Let the user override the test.
3708
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3712
test -z "$as_dir" && as_dir=.
3713
for ac_exec_ext in '' $ac_executable_extensions; do
3714
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3716
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726
if test -n "$CC"; then
3727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3728
$as_echo "$CC" >&6; }
3730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731
$as_echo "no" >&6; }
3736
if test -z "$ac_cv_prog_CC"; then
3738
# Extract the first word of "gcc", so it can be a program name with args.
3739
set dummy gcc; ac_word=$2
3740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741
$as_echo_n "checking for $ac_word... " >&6; }
3742
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3743
$as_echo_n "(cached) " >&6
3745
if test -n "$ac_ct_CC"; then
3746
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3748
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3752
test -z "$as_dir" && as_dir=.
3753
for ac_exec_ext in '' $ac_executable_extensions; do
3754
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755
ac_cv_prog_ac_ct_CC="gcc"
3756
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3766
if test -n "$ac_ct_CC"; then
3767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3768
$as_echo "$ac_ct_CC" >&6; }
3770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771
$as_echo "no" >&6; }
3774
if test "x$ac_ct_CC" = x; then
3777
case $cross_compiling:$ac_tool_warned in
3779
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3780
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3781
ac_tool_warned=yes ;;
3789
if test -z "$CC"; then
3790
if test -n "$ac_tool_prefix"; then
3791
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3792
set dummy ${ac_tool_prefix}cc; ac_word=$2
3793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3794
$as_echo_n "checking for $ac_word... " >&6; }
3795
if ${ac_cv_prog_CC+:} false; then :
3796
$as_echo_n "(cached) " >&6
3798
if test -n "$CC"; then
3799
ac_cv_prog_CC="$CC" # Let the user override the test.
3801
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3805
test -z "$as_dir" && as_dir=.
3806
for ac_exec_ext in '' $ac_executable_extensions; do
3807
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3808
ac_cv_prog_CC="${ac_tool_prefix}cc"
3809
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819
if test -n "$CC"; then
3820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3821
$as_echo "$CC" >&6; }
3823
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824
$as_echo "no" >&6; }
3830
if test -z "$CC"; then
3831
# Extract the first word of "cc", so it can be a program name with args.
3832
set dummy cc; ac_word=$2
3833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834
$as_echo_n "checking for $ac_word... " >&6; }
3835
if ${ac_cv_prog_CC+:} false; then :
3836
$as_echo_n "(cached) " >&6
3838
if test -n "$CC"; then
3839
ac_cv_prog_CC="$CC" # Let the user override the test.
3842
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846
test -z "$as_dir" && as_dir=.
3847
for ac_exec_ext in '' $ac_executable_extensions; do
3848
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3849
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3850
ac_prog_rejected=yes
3854
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861
if test $ac_prog_rejected = yes; then
3862
# We found a bogon in the path, so make sure we never use it.
3863
set dummy $ac_cv_prog_CC
3865
if test $# != 0; then
3866
# We chose a different compiler from the bogus one.
3867
# However, it has the same basename, so the bogon will be chosen
3868
# first if we set CC to just the basename; use the full file name.
3870
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3876
if test -n "$CC"; then
3877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3878
$as_echo "$CC" >&6; }
3880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3881
$as_echo "no" >&6; }
3886
if test -z "$CC"; then
3887
if test -n "$ac_tool_prefix"; then
3888
for ac_prog in cl.exe
3890
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3891
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3893
$as_echo_n "checking for $ac_word... " >&6; }
3894
if ${ac_cv_prog_CC+:} false; then :
3895
$as_echo_n "(cached) " >&6
3897
if test -n "$CC"; then
3898
ac_cv_prog_CC="$CC" # Let the user override the test.
3900
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3904
test -z "$as_dir" && as_dir=.
3905
for ac_exec_ext in '' $ac_executable_extensions; do
3906
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3907
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3908
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3918
if test -n "$CC"; then
3919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3920
$as_echo "$CC" >&6; }
3922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3923
$as_echo "no" >&6; }
3927
test -n "$CC" && break
3930
if test -z "$CC"; then
3932
for ac_prog in cl.exe
3934
# Extract the first word of "$ac_prog", so it can be a program name with args.
3935
set dummy $ac_prog; ac_word=$2
3936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937
$as_echo_n "checking for $ac_word... " >&6; }
3938
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3939
$as_echo_n "(cached) " >&6
3941
if test -n "$ac_ct_CC"; then
3942
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3944
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3948
test -z "$as_dir" && as_dir=.
3949
for ac_exec_ext in '' $ac_executable_extensions; do
3950
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3951
ac_cv_prog_ac_ct_CC="$ac_prog"
3952
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3961
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3962
if test -n "$ac_ct_CC"; then
3963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3964
$as_echo "$ac_ct_CC" >&6; }
3966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967
$as_echo "no" >&6; }
3971
test -n "$ac_ct_CC" && break
3974
if test "x$ac_ct_CC" = x; then
3977
case $cross_compiling:$ac_tool_warned in
3979
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3980
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3981
ac_tool_warned=yes ;;
3990
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3991
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3992
as_fn_error $? "no acceptable C compiler found in \$PATH
3993
See \`config.log' for more details" "$LINENO" 5; }
3995
# Provide some information about the compiler.
3996
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3999
for ac_option in --version -v -V -qversion; do
4000
{ { ac_try="$ac_compiler $ac_option >&5"
4002
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003
*) ac_try_echo=$ac_try;;
4005
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006
$as_echo "$ac_try_echo"; } >&5
4007
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4009
if test -s conftest.err; then
4011
... rest of stderr output deleted ...
4012
10q' conftest.err >conftest.er1
4013
cat conftest.er1 >&5
4015
rm -f conftest.er1 conftest.err
4016
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017
test $ac_status = 0; }
4020
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4021
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4022
if ${ac_cv_c_compiler_gnu+:} false; then :
4023
$as_echo_n "(cached) " >&6
4025
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4026
/* end confdefs.h. */
4039
if ac_fn_c_try_compile "$LINENO"; then :
4044
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4045
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4049
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4050
if test $ac_compiler_gnu = yes; then
4055
ac_test_CFLAGS=${CFLAGS+set}
4056
ac_save_CFLAGS=$CFLAGS
4057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4058
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4059
if ${ac_cv_prog_cc_g+:} false; then :
4060
$as_echo_n "(cached) " >&6
4062
ac_save_c_werror_flag=$ac_c_werror_flag
4063
ac_c_werror_flag=yes
4066
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4067
/* end confdefs.h. */
4077
if ac_fn_c_try_compile "$LINENO"; then :
4081
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082
/* end confdefs.h. */
4092
if ac_fn_c_try_compile "$LINENO"; then :
4095
ac_c_werror_flag=$ac_save_c_werror_flag
4097
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098
/* end confdefs.h. */
4108
if ac_fn_c_try_compile "$LINENO"; then :
4111
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4113
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4115
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4116
ac_c_werror_flag=$ac_save_c_werror_flag
4118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4119
$as_echo "$ac_cv_prog_cc_g" >&6; }
4120
if test "$ac_test_CFLAGS" = set; then
4121
CFLAGS=$ac_save_CFLAGS
4122
elif test $ac_cv_prog_cc_g = yes; then
4123
if test "$GCC" = yes; then
4129
if test "$GCC" = yes; then
4135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4136
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4137
if ${ac_cv_prog_cc_c89+:} false; then :
4138
$as_echo_n "(cached) " >&6
4140
ac_cv_prog_cc_c89=no
4142
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4143
/* end confdefs.h. */
4146
#include <sys/types.h>
4147
#include <sys/stat.h>
4148
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4149
struct buf { int x; };
4150
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4151
static char *e (p, i)
4157
static char *f (char * (*g) (char **, int), char **p, ...)
4162
s = g (p, va_arg (v,int));
4167
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4168
function prototypes and stuff, but not '\xHH' hex character constants.
4169
These don't provoke an error unfortunately, instead are silently treated
4170
as 'x'. The following induces an error, until -std is added to get
4171
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4172
array size at least. It's necessary to write '\x00'==0 to get something
4173
that's true only with -std. */
4174
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4176
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4177
inside strings and character constants. */
4179
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4181
int test (int i, double x);
4182
struct s1 {int (*f) (int a);};
4183
struct s2 {int (*f) (double a);};
4184
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4190
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4195
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4196
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4198
CC="$ac_save_CC $ac_arg"
4199
if ac_fn_c_try_compile "$LINENO"; then :
4200
ac_cv_prog_cc_c89=$ac_arg
4202
rm -f core conftest.err conftest.$ac_objext
4203
test "x$ac_cv_prog_cc_c89" != "xno" && break
4205
rm -f conftest.$ac_ext
4210
case "x$ac_cv_prog_cc_c89" in
4212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4213
$as_echo "none needed" >&6; } ;;
4215
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4216
$as_echo "unsupported" >&6; } ;;
4218
CC="$CC $ac_cv_prog_cc_c89"
4219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4220
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4222
if test "x$ac_cv_prog_cc_c89" != xno; then :
4227
ac_cpp='$CPP $CPPFLAGS'
4228
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4229
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4230
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4232
depcc="$CC" am_compiler_list=
4234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4235
$as_echo_n "checking dependency style of $depcc... " >&6; }
4236
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4237
$as_echo_n "(cached) " >&6
4239
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4240
# We make a subdir and do the tests there. Otherwise we can end up
4241
# making bogus files that we don't know about and never remove. For
4242
# instance it was reported that on HP-UX the gcc test will end up
4243
# making a dummy file named `D' -- because `-MD' means `put the output
4247
# Copy depcomp to subdir because otherwise we won't find it if we're
4248
# using a relative directory.
4249
cp "$am_depcomp" conftest.dir
4251
# We will build objects and dependencies in a subdirectory because
4252
# it helps to detect inapplicable dependency modes. For instance
4253
# both Tru64's cc and ICC support -MD to output dependencies as a
4254
# side effect of compilation, but ICC will put the dependencies in
4255
# the current directory while Tru64 will put them in the object
4259
am_cv_CC_dependencies_compiler_type=none
4260
if test "$am_compiler_list" = ""; then
4261
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4264
case " $depcc " in #(
4265
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4268
for depmode in $am_compiler_list; do
4269
# Setup a source with many dependencies, because some compilers
4270
# like to wrap large dependency lists on column 80 (with \), and
4271
# we should not choose a depcomp mode which is confused by this.
4273
# We need to recreate these files for each test, as the compiler may
4274
# overwrite some of them when testing with obscure command lines.
4275
# This happens at least with the AIX C compiler.
4277
for i in 1 2 3 4 5 6; do
4278
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4279
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4280
# Solaris 8's {/usr,}/bin/sh.
4281
touch sub/conftst$i.h
4283
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4285
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4286
# mode. It turns out that the SunPro C++ compiler does not properly
4287
# handle `-M -o', and we need to detect this. Also, some Intel
4288
# versions had trouble with output in subdirs
4289
am__obj=sub/conftest.${OBJEXT-o}
4290
am__minus_obj="-o $am__obj"
4293
# This depmode causes a compiler race in universal mode.
4294
test "$am__universal" = false || continue
4297
# after this tag, mechanisms are not by side-effect, so they'll
4298
# only be used when explicitly requested
4299
if test "x$enable_dependency_tracking" = xyes; then