2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68 for sqlite3cc 0.1.0.
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.1.0'
573
PACKAGE_STRING='sqlite3cc 0.1.0'
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
679
INSTALL_STRIP_PROGRAM
694
LIBSQLITE3CC_INTERFACE
722
program_transform_name
735
enable_option_checking
736
enable_dependency_tracking
745
ac_precious_vars='build_alias
760
# Initialize some variables set by options.
762
ac_init_version=false
763
ac_unrecognized_opts=
765
# The variables have the same names as the options, with
766
# dashes changed to underlines.
774
program_transform_name=s,x,x,
782
# Installation directory options.
783
# These are left unexpanded so users can "make install exec_prefix=/foo"
784
# and all the variables that are supposed to be based on exec_prefix
785
# by default will actually change.
786
# Use braces instead of parens because sh, perl, etc. also accept them.
787
# (The list follows the same order as the GNU Coding Standards.)
788
bindir='${exec_prefix}/bin'
789
sbindir='${exec_prefix}/sbin'
790
libexecdir='${exec_prefix}/libexec'
791
datarootdir='${prefix}/share'
792
datadir='${datarootdir}'
793
sysconfdir='${prefix}/etc'
794
sharedstatedir='${prefix}/com'
795
localstatedir='${prefix}/var'
796
includedir='${prefix}/include'
797
oldincludedir='/usr/include'
798
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
799
infodir='${datarootdir}/info'
804
libdir='${exec_prefix}/lib'
805
localedir='${datarootdir}/locale'
806
mandir='${datarootdir}/man'
812
# If the previous option needs an argument, assign it.
813
if test -n "$ac_prev"; then
814
eval $ac_prev=\$ac_option
820
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
825
# Accept the important Cygnus configure options, so we can diagnose typos.
827
case $ac_dashdash$ac_option in
831
-bindir | --bindir | --bindi | --bind | --bin | --bi)
833
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
836
-build | --build | --buil | --bui | --bu)
837
ac_prev=build_alias ;;
838
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
839
build_alias=$ac_optarg ;;
841
-cache-file | --cache-file | --cache-fil | --cache-fi \
842
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
843
ac_prev=cache_file ;;
844
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
845
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
846
cache_file=$ac_optarg ;;
849
cache_file=config.cache ;;
851
-datadir | --datadir | --datadi | --datad)
853
-datadir=* | --datadir=* | --datadi=* | --datad=*)
854
datadir=$ac_optarg ;;
856
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
857
| --dataroo | --dataro | --datar)
858
ac_prev=datarootdir ;;
859
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
860
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
861
datarootdir=$ac_optarg ;;
863
-disable-* | --disable-*)
864
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
865
# Reject names that are not valid shell variable names.
866
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
867
as_fn_error $? "invalid feature name: $ac_useropt"
868
ac_useropt_orig=$ac_useropt
869
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
870
case $ac_user_opts in
874
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
875
ac_unrecognized_sep=', ';;
877
eval enable_$ac_useropt=no ;;
879
-docdir | --docdir | --docdi | --doc | --do)
881
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
884
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
886
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
889
-enable-* | --enable-*)
890
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
891
# Reject names that are not valid shell variable names.
892
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
893
as_fn_error $? "invalid feature name: $ac_useropt"
894
ac_useropt_orig=$ac_useropt
895
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896
case $ac_user_opts in
900
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
901
ac_unrecognized_sep=', ';;
903
eval enable_$ac_useropt=\$ac_optarg ;;
905
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
906
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
907
| --exec | --exe | --ex)
908
ac_prev=exec_prefix ;;
909
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
910
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
911
| --exec=* | --exe=* | --ex=*)
912
exec_prefix=$ac_optarg ;;
914
-gas | --gas | --ga | --g)
915
# Obsolete; use --with-gas.
918
-help | --help | --hel | --he | -h)
920
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
921
ac_init_help=recursive ;;
922
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
923
ac_init_help=short ;;
925
-host | --host | --hos | --ho)
926
ac_prev=host_alias ;;
927
-host=* | --host=* | --hos=* | --ho=*)
928
host_alias=$ac_optarg ;;
930
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
932
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
934
htmldir=$ac_optarg ;;
936
-includedir | --includedir | --includedi | --included | --include \
937
| --includ | --inclu | --incl | --inc)
938
ac_prev=includedir ;;
939
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
940
| --includ=* | --inclu=* | --incl=* | --inc=*)
941
includedir=$ac_optarg ;;
943
-infodir | --infodir | --infodi | --infod | --info | --inf)
945
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
946
infodir=$ac_optarg ;;
948
-libdir | --libdir | --libdi | --libd)
950
-libdir=* | --libdir=* | --libdi=* | --libd=*)
953
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
954
| --libexe | --libex | --libe)
955
ac_prev=libexecdir ;;
956
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
957
| --libexe=* | --libex=* | --libe=*)
958
libexecdir=$ac_optarg ;;
960
-localedir | --localedir | --localedi | --localed | --locale)
962
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
963
localedir=$ac_optarg ;;
965
-localstatedir | --localstatedir | --localstatedi | --localstated \
966
| --localstate | --localstat | --localsta | --localst | --locals)
967
ac_prev=localstatedir ;;
968
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
969
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
970
localstatedir=$ac_optarg ;;
972
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
974
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
978
# Obsolete; use --without-fp.
981
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
982
| --no-cr | --no-c | -n)
985
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
986
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
989
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
990
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
991
| --oldin | --oldi | --old | --ol | --o)
992
ac_prev=oldincludedir ;;
993
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
994
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
995
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
996
oldincludedir=$ac_optarg ;;
998
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1000
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1001
prefix=$ac_optarg ;;
1003
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1004
| --program-pre | --program-pr | --program-p)
1005
ac_prev=program_prefix ;;
1006
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1007
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1008
program_prefix=$ac_optarg ;;
1010
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1011
| --program-suf | --program-su | --program-s)
1012
ac_prev=program_suffix ;;
1013
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1014
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1015
program_suffix=$ac_optarg ;;
1017
-program-transform-name | --program-transform-name \
1018
| --program-transform-nam | --program-transform-na \
1019
| --program-transform-n | --program-transform- \
1020
| --program-transform | --program-transfor \
1021
| --program-transfo | --program-transf \
1022
| --program-trans | --program-tran \
1023
| --progr-tra | --program-tr | --program-t)
1024
ac_prev=program_transform_name ;;
1025
-program-transform-name=* | --program-transform-name=* \
1026
| --program-transform-nam=* | --program-transform-na=* \
1027
| --program-transform-n=* | --program-transform-=* \
1028
| --program-transform=* | --program-transfor=* \
1029
| --program-transfo=* | --program-transf=* \
1030
| --program-trans=* | --program-tran=* \
1031
| --progr-tra=* | --program-tr=* | --program-t=*)
1032
program_transform_name=$ac_optarg ;;
1034
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1036
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1037
pdfdir=$ac_optarg ;;
1039
-psdir | --psdir | --psdi | --psd | --ps)
1041
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1044
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1045
| -silent | --silent | --silen | --sile | --sil)
1048
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1050
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1052
sbindir=$ac_optarg ;;
1054
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1055
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1056
| --sharedst | --shareds | --shared | --share | --shar \
1058
ac_prev=sharedstatedir ;;
1059
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1060
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1061
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1063
sharedstatedir=$ac_optarg ;;
1065
-site | --site | --sit)
1067
-site=* | --site=* | --sit=*)
1070
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1072
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1073
srcdir=$ac_optarg ;;
1075
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1076
| --syscon | --sysco | --sysc | --sys | --sy)
1077
ac_prev=sysconfdir ;;
1078
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1079
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1080
sysconfdir=$ac_optarg ;;
1082
-target | --target | --targe | --targ | --tar | --ta | --t)
1083
ac_prev=target_alias ;;
1084
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1085
target_alias=$ac_optarg ;;
1087
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1090
-version | --version | --versio | --versi | --vers | -V)
1091
ac_init_version=: ;;
1094
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1095
# Reject names that are not valid shell variable names.
1096
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097
as_fn_error $? "invalid package name: $ac_useropt"
1098
ac_useropt_orig=$ac_useropt
1099
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100
case $ac_user_opts in
1104
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1105
ac_unrecognized_sep=', ';;
1107
eval with_$ac_useropt=\$ac_optarg ;;
1109
-without-* | --without-*)
1110
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1111
# Reject names that are not valid shell variable names.
1112
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1113
as_fn_error $? "invalid package name: $ac_useropt"
1114
ac_useropt_orig=$ac_useropt
1115
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116
case $ac_user_opts in
1120
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1121
ac_unrecognized_sep=', ';;
1123
eval with_$ac_useropt=no ;;
1126
# Obsolete; use --with-x.
1129
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1130
| --x-incl | --x-inc | --x-in | --x-i)
1131
ac_prev=x_includes ;;
1132
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1133
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1134
x_includes=$ac_optarg ;;
1136
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1137
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1138
ac_prev=x_libraries ;;
1139
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1140
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1141
x_libraries=$ac_optarg ;;
1143
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1144
Try \`$0 --help' for more information"
1148
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1149
# Reject names that are not valid shell variable names.
1150
case $ac_envvar in #(
1151
'' | [0-9]* | *[!_$as_cr_alnum]* )
1152
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1154
eval $ac_envvar=\$ac_optarg
1155
export $ac_envvar ;;
1158
# FIXME: should be removed in autoconf 3.0.
1159
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1168
if test -n "$ac_prev"; then
1169
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1170
as_fn_error $? "missing argument to $ac_option"
1173
if test -n "$ac_unrecognized_opts"; then
1174
case $enable_option_checking in
1176
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1177
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1181
# Check all directory arguments for consistency.
1182
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183
datadir sysconfdir sharedstatedir localstatedir includedir \
1184
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185
libdir localedir mandir
1187
eval ac_val=\$$ac_var
1188
# Remove trailing slashes.
1191
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1192
eval $ac_var=\$ac_val;;
1194
# Be sure to have absolute directory names.
1196
[\\/$]* | ?:[\\/]* ) continue;;
1197
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1199
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1202
# There might be people who depend on the old broken behavior: `$host'
1203
# used to hold the argument of --host etc.
1204
# FIXME: To remove some day.
1207
target=$target_alias
1209
# FIXME: To remove some day.
1210
if test "x$host_alias" != x; then
1211
if test "x$build_alias" = x; then
1212
cross_compiling=maybe
1213
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1214
If a cross compiler is detected then cross compile mode will be used" >&2
1215
elif test "x$build_alias" != "x$host_alias"; then
1221
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1223
test "$silent" = yes && exec 6>/dev/null
1226
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1227
ac_ls_di=`ls -di .` &&
1228
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1229
as_fn_error $? "working directory cannot be determined"
1230
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1231
as_fn_error $? "pwd does not report name of working directory"
1234
# Find the source files, if location was not specified.
1235
if test -z "$srcdir"; then
1236
ac_srcdir_defaulted=yes
1237
# Try the directory containing this script, then the parent directory.
1238
ac_confdir=`$as_dirname -- "$as_myself" ||
1239
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1240
X"$as_myself" : 'X\(//\)[^/]' \| \
1241
X"$as_myself" : 'X\(//\)$' \| \
1242
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1243
$as_echo X"$as_myself" |
1244
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1262
if test ! -r "$srcdir/$ac_unique_file"; then
1266
ac_srcdir_defaulted=no
1268
if test ! -r "$srcdir/$ac_unique_file"; then
1269
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1270
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1272
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1274
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1276
# When building in place, set srcdir=.
1277
if test "$ac_abs_confdir" = "$ac_pwd"; then
1280
# Remove unnecessary trailing slashes from srcdir.
1281
# Double slashes in file names in object file debugging info
1282
# mess up M-x gdb in Emacs.
1284
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1286
for ac_var in $ac_precious_vars; do
1287
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1288
eval ac_env_${ac_var}_value=\$${ac_var}
1289
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1290
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1294
# Report the --help message.
1296
if test "$ac_init_help" = "long"; then
1297
# Omit some internal or obsolete options to make the list less imposing.
1298
# This message is too long to be a string in the A/UX 3.1 sh.
1300
\`configure' configures sqlite3cc 0.1.0 to adapt to many kinds of systems.
1302
Usage: $0 [OPTION]... [VAR=VALUE]...
1304
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1305
VAR=VALUE. See below for descriptions of some of the useful variables.
1307
Defaults for the options are specified in brackets.
1310
-h, --help display this help and exit
1311
--help=short display options specific to this package
1312
--help=recursive display the short help of all the included packages
1313
-V, --version display version information and exit
1314
-q, --quiet, --silent do not print \`checking ...' messages
1315
--cache-file=FILE cache test results in FILE [disabled]
1316
-C, --config-cache alias for \`--cache-file=config.cache'
1317
-n, --no-create do not create output files
1318
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1320
Installation directories:
1321
--prefix=PREFIX install architecture-independent files in PREFIX
1322
[$ac_default_prefix]
1323
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1326
By default, \`make install' will install all the files in
1327
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1328
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1329
for instance \`--prefix=\$HOME'.
1331
For better control, use the options below.
1333
Fine tuning of the installation directories:
1334
--bindir=DIR user executables [EPREFIX/bin]
1335
--sbindir=DIR system admin executables [EPREFIX/sbin]
1336
--libexecdir=DIR program executables [EPREFIX/libexec]
1337
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1338
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1339
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1340
--libdir=DIR object code libraries [EPREFIX/lib]
1341
--includedir=DIR C header files [PREFIX/include]
1342
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1343
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1344
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1345
--infodir=DIR info documentation [DATAROOTDIR/info]
1346
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1347
--mandir=DIR man documentation [DATAROOTDIR/man]
1348
--docdir=DIR documentation root [DATAROOTDIR/doc/sqlite3cc]
1349
--htmldir=DIR html documentation [DOCDIR]
1350
--dvidir=DIR dvi documentation [DOCDIR]
1351
--pdfdir=DIR pdf documentation [DOCDIR]
1352
--psdir=DIR ps documentation [DOCDIR]
1358
--program-prefix=PREFIX prepend PREFIX to installed program names
1359
--program-suffix=SUFFIX append SUFFIX to installed program names
1360
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1363
--build=BUILD configure for building on BUILD [guessed]
1364
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1368
if test -n "$ac_init_help"; then
1369
case $ac_init_help in
1370
short | recursive ) echo "Configuration of sqlite3cc 0.1.0:";;
1375
--disable-option-checking ignore unrecognized --enable/--with options
1376
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1377
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1378
--disable-dependency-tracking speeds up one-time build
1379
--enable-dependency-tracking do not reject slow dependency extractors
1380
--enable-shared[=PKGS] build shared libraries [default=yes]
1381
--enable-static[=PKGS] build static libraries [default=yes]
1382
--enable-fast-install[=PKGS]
1383
optimize for fast installation [default=yes]
1384
--disable-libtool-lock avoid locking (might break parallel builds)
1387
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1388
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1389
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1391
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1392
--with-sysroot=DIR Search for dependent libraries within DIR
1393
(or the compiler's sysroot if not specified).
1395
Some influential environment variables:
1396
CXX C++ compiler command
1397
CXXFLAGS C++ compiler flags
1398
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1399
nonstandard directory <lib dir>
1400
LIBS libraries to pass to the linker, e.g. -l<library>
1401
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1402
you have headers in a nonstandard directory <include dir>
1403
CC C compiler command
1404
CFLAGS C compiler flags
1406
CXXCPP C++ preprocessor
1408
Use these variables to override the choices made by `configure' or to help
1409
it to find libraries and programs with nonstandard names/locations.
1411
Report bugs to <tim@ed.am>.
1412
sqlite3cc home page: <http://ed.am/dev/sqlite3cc>.
1417
if test "$ac_init_help" = "recursive"; then
1418
# If there are subdirs, report their specific --help.
1419
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1420
test -d "$ac_dir" ||
1421
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1426
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1428
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1429
# A ".." for each directory in $ac_dir_suffix.
1430
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1431
case $ac_top_builddir_sub in
1432
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1433
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1436
ac_abs_top_builddir=$ac_pwd
1437
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1438
# for backward compatibility:
1439
ac_top_builddir=$ac_top_build_prefix
1442
.) # We are building in place.
1444
ac_top_srcdir=$ac_top_builddir_sub
1445
ac_abs_top_srcdir=$ac_pwd ;;
1446
[\\/]* | ?:[\\/]* ) # Absolute name.
1447
ac_srcdir=$srcdir$ac_dir_suffix;
1448
ac_top_srcdir=$srcdir
1449
ac_abs_top_srcdir=$srcdir ;;
1451
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1452
ac_top_srcdir=$ac_top_build_prefix$srcdir
1453
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1455
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1457
cd "$ac_dir" || { ac_status=$?; continue; }
1458
# Check for guested configure.
1459
if test -f "$ac_srcdir/configure.gnu"; then
1461
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1462
elif test -f "$ac_srcdir/configure"; then
1464
$SHELL "$ac_srcdir/configure" --help=recursive
1466
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1468
cd "$ac_pwd" || { ac_status=$?; break; }
1472
test -n "$ac_init_help" && exit $ac_status
1473
if $ac_init_version; then
1475
sqlite3cc configure 0.1.0
1476
generated by GNU Autoconf 2.68
1478
Copyright (C) 2010 Free Software Foundation, Inc.
1479
This configure script is free software; the Free Software Foundation
1480
gives unlimited permission to copy, distribute and modify it.
1485
## ------------------------ ##
1486
## Autoconf initialization. ##
1487
## ------------------------ ##
1489
# ac_fn_cxx_try_compile LINENO
1490
# ----------------------------
1491
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1492
ac_fn_cxx_try_compile ()
1494
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1495
rm -f conftest.$ac_objext
1496
if { { ac_try="$ac_compile"
1498
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1499
*) ac_try_echo=$ac_try;;
1501
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1502
$as_echo "$ac_try_echo"; } >&5
1503
(eval "$ac_compile") 2>conftest.err
1505
if test -s conftest.err; then
1506
grep -v '^ *+' conftest.err >conftest.er1
1507
cat conftest.er1 >&5
1508
mv -f conftest.er1 conftest.err
1510
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1511
test $ac_status = 0; } && {
1512
test -z "$ac_cxx_werror_flag" ||
1513
test ! -s conftest.err
1514
} && test -s conftest.$ac_objext; then :
1517
$as_echo "$as_me: failed program was:" >&5
1518
sed 's/^/| /' conftest.$ac_ext >&5
1522
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1523
as_fn_set_status $ac_retval
1525
} # ac_fn_cxx_try_compile
1527
# ac_fn_c_try_compile LINENO
1528
# --------------------------
1529
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1530
ac_fn_c_try_compile ()
1532
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533
rm -f conftest.$ac_objext
1534
if { { ac_try="$ac_compile"
1536
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1537
*) ac_try_echo=$ac_try;;
1539
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540
$as_echo "$ac_try_echo"; } >&5
1541
(eval "$ac_compile") 2>conftest.err
1543
if test -s conftest.err; then
1544
grep -v '^ *+' conftest.err >conftest.er1
1545
cat conftest.er1 >&5
1546
mv -f conftest.er1 conftest.err
1548
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549
test $ac_status = 0; } && {
1550
test -z "$ac_c_werror_flag" ||
1551
test ! -s conftest.err
1552
} && test -s conftest.$ac_objext; then :
1555
$as_echo "$as_me: failed program was:" >&5
1556
sed 's/^/| /' conftest.$ac_ext >&5
1560
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1561
as_fn_set_status $ac_retval
1563
} # ac_fn_c_try_compile
1565
# ac_fn_c_try_link LINENO
1566
# -----------------------
1567
# Try to link conftest.$ac_ext, and return whether this succeeded.
1570
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571
rm -f conftest.$ac_objext conftest$ac_exeext
1572
if { { ac_try="$ac_link"
1574
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575
*) ac_try_echo=$ac_try;;
1577
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578
$as_echo "$ac_try_echo"; } >&5
1579
(eval "$ac_link") 2>conftest.err
1581
if test -s conftest.err; then
1582
grep -v '^ *+' conftest.err >conftest.er1
1583
cat conftest.er1 >&5
1584
mv -f conftest.er1 conftest.err
1586
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587
test $ac_status = 0; } && {
1588
test -z "$ac_c_werror_flag" ||
1589
test ! -s conftest.err
1590
} && test -s conftest$ac_exeext && {
1591
test "$cross_compiling" = yes ||
1592
$as_test_x conftest$ac_exeext
1596
$as_echo "$as_me: failed program was:" >&5
1597
sed 's/^/| /' conftest.$ac_ext >&5
1601
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1602
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1603
# interfere with the next link command; also delete a directory that is
1604
# left behind by Apple's compiler. We do this before executing the actions.
1605
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1606
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1607
as_fn_set_status $ac_retval
1609
} # ac_fn_c_try_link
1611
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1612
# -------------------------------------------------------
1613
# Tests whether HEADER exists and can be compiled using the include files in
1614
# INCLUDES, setting the cache variable VAR accordingly.
1615
ac_fn_c_check_header_compile ()
1617
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1619
$as_echo_n "checking for $2... " >&6; }
1620
if eval \${$3+:} false; then :
1621
$as_echo_n "(cached) " >&6
1623
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1624
/* end confdefs.h. */
1628
if ac_fn_c_try_compile "$LINENO"; then :
1633
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1637
$as_echo "$ac_res" >&6; }
1638
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1640
} # ac_fn_c_check_header_compile
1642
# ac_fn_c_try_cpp LINENO
1643
# ----------------------
1644
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1647
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648
if { { ac_try="$ac_cpp conftest.$ac_ext"
1650
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1651
*) ac_try_echo=$ac_try;;
1653
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654
$as_echo "$ac_try_echo"; } >&5
1655
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1657
if test -s conftest.err; then
1658
grep -v '^ *+' conftest.err >conftest.er1
1659
cat conftest.er1 >&5
1660
mv -f conftest.er1 conftest.err
1662
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663
test $ac_status = 0; } > conftest.i && {
1664
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1665
test ! -s conftest.err
1669
$as_echo "$as_me: failed program was:" >&5
1670
sed 's/^/| /' conftest.$ac_ext >&5
1674
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1675
as_fn_set_status $ac_retval
1679
# ac_fn_c_try_run LINENO
1680
# ----------------------
1681
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1682
# that executables *can* be run.
1685
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686
if { { ac_try="$ac_link"
1688
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689
*) ac_try_echo=$ac_try;;
1691
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692
$as_echo "$ac_try_echo"; } >&5
1693
(eval "$ac_link") 2>&5
1695
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1697
{ { case "(($ac_try" in
1698
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699
*) ac_try_echo=$ac_try;;
1701
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702
$as_echo "$ac_try_echo"; } >&5
1703
(eval "$ac_try") 2>&5
1705
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706
test $ac_status = 0; }; }; then :
1709
$as_echo "$as_me: program exited with status $ac_status" >&5
1710
$as_echo "$as_me: failed program was:" >&5
1711
sed 's/^/| /' conftest.$ac_ext >&5
1713
ac_retval=$ac_status
1715
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1716
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717
as_fn_set_status $ac_retval
1721
# ac_fn_c_check_func LINENO FUNC VAR
1722
# ----------------------------------
1723
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1724
ac_fn_c_check_func ()
1726
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1728
$as_echo_n "checking for $2... " >&6; }
1729
if eval \${$3+:} false; then :
1730
$as_echo_n "(cached) " >&6
1732
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1733
/* end confdefs.h. */
1734
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1735
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1736
#define $2 innocuous_$2
1738
/* System header to define __stub macros and hopefully few prototypes,
1739
which can conflict with char $2 (); below.
1740
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1741
<limits.h> exists even on freestanding compilers. */
1744
# include <limits.h>
1746
# include <assert.h>
1751
/* Override any GCC internal prototype to avoid an error.
1752
Use char because int might match the return type of a GCC
1753
builtin and then its argument prototype would still apply. */
1758
/* The GNU C library defines this for functions which it implements
1759
to always fail with ENOSYS. Some functions are actually named
1760
something starting with __ and the normal name is an alias. */
1761
#if defined __stub_$2 || defined __stub___$2
1773
if ac_fn_c_try_link "$LINENO"; then :
1778
rm -f core conftest.err conftest.$ac_objext \
1779
conftest$ac_exeext conftest.$ac_ext
1782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1783
$as_echo "$ac_res" >&6; }
1784
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786
} # ac_fn_c_check_func
1788
# ac_fn_cxx_try_cpp LINENO
1789
# ------------------------
1790
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1791
ac_fn_cxx_try_cpp ()
1793
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794
if { { ac_try="$ac_cpp conftest.$ac_ext"
1796
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797
*) ac_try_echo=$ac_try;;
1799
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800
$as_echo "$ac_try_echo"; } >&5
1801
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1803
if test -s conftest.err; then
1804
grep -v '^ *+' conftest.err >conftest.er1
1805
cat conftest.er1 >&5
1806
mv -f conftest.er1 conftest.err
1808
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809
test $ac_status = 0; } > conftest.i && {
1810
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1811
test ! -s conftest.err
1815
$as_echo "$as_me: failed program was:" >&5
1816
sed 's/^/| /' conftest.$ac_ext >&5
1820
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821
as_fn_set_status $ac_retval
1823
} # ac_fn_cxx_try_cpp
1825
# ac_fn_cxx_try_link LINENO
1826
# -------------------------
1827
# Try to link conftest.$ac_ext, and return whether this succeeded.
1828
ac_fn_cxx_try_link ()
1830
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831
rm -f conftest.$ac_objext conftest$ac_exeext
1832
if { { ac_try="$ac_link"
1834
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1835
*) ac_try_echo=$ac_try;;
1837
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838
$as_echo "$ac_try_echo"; } >&5
1839
(eval "$ac_link") 2>conftest.err
1841
if test -s conftest.err; then
1842
grep -v '^ *+' conftest.err >conftest.er1
1843
cat conftest.er1 >&5
1844
mv -f conftest.er1 conftest.err
1846
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847
test $ac_status = 0; } && {
1848
test -z "$ac_cxx_werror_flag" ||
1849
test ! -s conftest.err
1850
} && test -s conftest$ac_exeext && {
1851
test "$cross_compiling" = yes ||
1852
$as_test_x conftest$ac_exeext
1856
$as_echo "$as_me: failed program was:" >&5
1857
sed 's/^/| /' conftest.$ac_ext >&5
1861
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1862
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1863
# interfere with the next link command; also delete a directory that is
1864
# left behind by Apple's compiler. We do this before executing the actions.
1865
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1866
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1867
as_fn_set_status $ac_retval
1869
} # ac_fn_cxx_try_link
1871
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1872
# -------------------------------------------------------
1873
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1874
# the include files in INCLUDES and setting the cache variable VAR
1876
ac_fn_c_check_header_mongrel ()
1878
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879
if eval \${$3+:} false; then :
1880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881
$as_echo_n "checking for $2... " >&6; }
1882
if eval \${$3+:} false; then :
1883
$as_echo_n "(cached) " >&6
1886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887
$as_echo "$ac_res" >&6; }
1889
# Is the header compilable?
1890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1891
$as_echo_n "checking $2 usability... " >&6; }
1892
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1893
/* end confdefs.h. */
1897
if ac_fn_c_try_compile "$LINENO"; then :
1898
ac_header_compiler=yes
1900
ac_header_compiler=no
1902
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1904
$as_echo "$ac_header_compiler" >&6; }
1906
# Is the header present?
1907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1908
$as_echo_n "checking $2 presence... " >&6; }
1909
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910
/* end confdefs.h. */
1913
if ac_fn_c_try_cpp "$LINENO"; then :
1914
ac_header_preproc=yes
1916
ac_header_preproc=no
1918
rm -f conftest.err conftest.i conftest.$ac_ext
1919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1920
$as_echo "$ac_header_preproc" >&6; }
1922
# So? What about this header?
1923
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1925
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1926
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1927
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1928
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1931
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1932
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1933
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1934
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1935
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1936
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1937
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1938
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1939
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1940
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1941
( $as_echo "## ------------------------ ##
1942
## Report this to tim@ed.am ##
1943
## ------------------------ ##"
1944
) | sed "s/^/$as_me: WARNING: /" >&2
1947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1948
$as_echo_n "checking for $2... " >&6; }
1949
if eval \${$3+:} false; then :
1950
$as_echo_n "(cached) " >&6
1952
eval "$3=\$ac_header_compiler"
1955
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1956
$as_echo "$ac_res" >&6; }
1958
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1960
} # ac_fn_c_check_header_mongrel
1961
cat >config.log <<_ACEOF
1962
This file contains any messages produced by compilers while
1963
running configure, to aid debugging if configure makes a mistake.
1965
It was created by sqlite3cc $as_me 0.1.0, which was
1966
generated by GNU Autoconf 2.68. Invocation command line was
1978
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1979
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1980
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1981
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1982
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1984
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1985
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1987
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1988
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1989
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1990
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1991
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1992
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1993
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1997
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001
test -z "$as_dir" && as_dir=.
2002
$as_echo "PATH: $as_dir"
2018
# Keep a trace of the command line.
2019
# Strip out --no-create and --no-recursion so they do not pile up.
2020
# Strip out --silent because we don't want to record it for future runs.
2021
# Also quote any args containing shell meta-characters.
2022
# Make two passes to allow for proper duplicate-argument suppression.
2026
ac_must_keep_next=false
2032
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2033
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2034
| -silent | --silent | --silen | --sile | --sil)
2037
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2040
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2042
as_fn_append ac_configure_args1 " '$ac_arg'"
2043
if test $ac_must_keep_next = true; then
2044
ac_must_keep_next=false # Got value, back to normal.
2047
*=* | --config-cache | -C | -disable-* | --disable-* \
2048
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2049
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2050
| -with-* | --with-* | -without-* | --without-* | --x)
2051
case "$ac_configure_args0 " in
2052
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2055
-* ) ac_must_keep_next=true ;;
2058
as_fn_append ac_configure_args " '$ac_arg'"
2063
{ ac_configure_args0=; unset ac_configure_args0;}
2064
{ ac_configure_args1=; unset ac_configure_args1;}
2066
# When interrupted or exit'd, cleanup temporary files, and complete
2067
# config.log. We remove comments because anyway the quotes in there
2068
# would cause problems or look ugly.
2069
# WARNING: Use '\'' to represent an apostrophe within the trap.
2070
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2071
trap 'exit_status=$?
2072
# Save into config.log some information that might help in debugging.
2076
$as_echo "## ---------------- ##
2077
## Cache variables. ##
2078
## ---------------- ##"
2080
# The following way of writing the cache mishandles newlines in values,
2082
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2083
eval ac_val=\$$ac_var
2087
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2088
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2091
_ | IFS | as_nl) ;; #(
2092
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2093
*) { eval $ac_var=; unset $ac_var;} ;;
2098
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2099
*${as_nl}ac_space=\ *)
2101
"s/'\''/'\''\\\\'\'''\''/g;
2102
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2105
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2112
$as_echo "## ----------------- ##
2113
## Output variables. ##
2114
## ----------------- ##"
2116
for ac_var in $ac_subst_vars
2118
eval ac_val=\$$ac_var
2120
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2122
$as_echo "$ac_var='\''$ac_val'\''"
2126
if test -n "$ac_subst_files"; then
2127
$as_echo "## ------------------- ##
2128
## File substitutions. ##
2129
## ------------------- ##"
2131
for ac_var in $ac_subst_files
2133
eval ac_val=\$$ac_var
2135
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2137
$as_echo "$ac_var='\''$ac_val'\''"
2142
if test -s confdefs.h; then
2143
$as_echo "## ----------- ##
2150
test "$ac_signal" != 0 &&
2151
$as_echo "$as_me: caught signal $ac_signal"
2152
$as_echo "$as_me: exit $exit_status"
2154
rm -f core *.core core.conftest.* &&
2155
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2158
for ac_signal in 1 2 13 15; do
2159
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2163
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2164
rm -f -r conftest* confdefs.h
2166
$as_echo "/* confdefs.h */" > confdefs.h
2168
# Predefined preprocessor variables.
2170
cat >>confdefs.h <<_ACEOF
2171
#define PACKAGE_NAME "$PACKAGE_NAME"
2174
cat >>confdefs.h <<_ACEOF
2175
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2178
cat >>confdefs.h <<_ACEOF
2179
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2182
cat >>confdefs.h <<_ACEOF
2183
#define PACKAGE_STRING "$PACKAGE_STRING"
2186
cat >>confdefs.h <<_ACEOF
2187
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2190
cat >>confdefs.h <<_ACEOF
2191
#define PACKAGE_URL "$PACKAGE_URL"
2195
# Let the site file select an alternate cache file if it wants to.
2196
# Prefer an explicitly selected file to automatically selected ones.
2199
if test -n "$CONFIG_SITE"; then
2200
# We do not want a PATH search for config.site.
2201
case $CONFIG_SITE in #((
2202
-*) ac_site_file1=./$CONFIG_SITE;;
2203
*/*) ac_site_file1=$CONFIG_SITE;;
2204
*) ac_site_file1=./$CONFIG_SITE;;
2206
elif test "x$prefix" != xNONE; then
2207
ac_site_file1=$prefix/share/config.site
2208
ac_site_file2=$prefix/etc/config.site
2210
ac_site_file1=$ac_default_prefix/share/config.site
2211
ac_site_file2=$ac_default_prefix/etc/config.site
2213
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2215
test "x$ac_site_file" = xNONE && continue
2216
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2217
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2218
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2219
sed 's/^/| /' "$ac_site_file" >&5
2221
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2222
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2223
as_fn_error $? "failed to load site script $ac_site_file
2224
See \`config.log' for more details" "$LINENO" 5; }
2228
if test -r "$cache_file"; then
2229
# Some versions of bash will fail to source /dev/null (special files
2230
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2231
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2232
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2233
$as_echo "$as_me: loading cache $cache_file" >&6;}
2235
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2236
*) . "./$cache_file";;
2240
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2241
$as_echo "$as_me: creating cache $cache_file" >&6;}
2245
# Check that the precious variables saved in the cache have kept the same
2247
ac_cache_corrupted=false
2248
for ac_var in $ac_precious_vars; do
2249
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2250
eval ac_new_set=\$ac_env_${ac_var}_set
2251
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2252
eval ac_new_val=\$ac_env_${ac_var}_value
2253
case $ac_old_set,$ac_new_set in
2255
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2256
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2257
ac_cache_corrupted=: ;;
2259
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2260
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2261
ac_cache_corrupted=: ;;
2264
if test "x$ac_old_val" != "x$ac_new_val"; then
2265
# differences in whitespace do not lead to failure.
2266
ac_old_val_w=`echo x $ac_old_val`
2267
ac_new_val_w=`echo x $ac_new_val`
2268
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2269
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2270
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2271
ac_cache_corrupted=:
2273
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2274
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2275
eval $ac_var=\$ac_old_val
2277
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2278
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2279
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2280
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2283
# Pass precious variables to config.status.
2284
if test "$ac_new_set" = set; then
2286
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2287
*) ac_arg=$ac_var=$ac_new_val ;;
2289
case " $ac_configure_args " in
2290
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2291
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2295
if $ac_cache_corrupted; then
2296
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2297
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2298
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2299
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2300
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2302
## -------------------- ##
2303
## Main body of script. ##
2304
## -------------------- ##
2307
ac_cpp='$CPP $CPPFLAGS'
2308
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2309
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2310
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2313
LIBSQLITE3CC_INTERFACE=0:0:0
2316
for ac_dir in build-aux "$srcdir"/build-aux; do
2317
if test -f "$ac_dir/install-sh"; then
2319
ac_install_sh="$ac_aux_dir/install-sh -c"
2321
elif test -f "$ac_dir/install.sh"; then
2323
ac_install_sh="$ac_aux_dir/install.sh -c"
2325
elif test -f "$ac_dir/shtool"; then
2327
ac_install_sh="$ac_aux_dir/shtool install -c"
2331
if test -z "$ac_aux_dir"; then
2332
as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2335
# These three variables are undocumented and unsupported,
2336
# and are intended to be withdrawn in a future Autoconf release.
2337
# They can cause serious problems if a builder's source tree is in a directory
2338
# whose full name contains unusual characters.
2339
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2340
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2341
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2345
am__api_version='1.11'
2347
# Find a good install program. We prefer a C program (faster),
2348
# so one script is as good as another. But avoid the broken or
2349
# incompatible versions:
2350
# SysV /etc/install, /usr/sbin/install
2351
# SunOS /usr/etc/install
2352
# IRIX /sbin/install
2354
# AmigaOS /C/install, which installs bootblocks on floppy discs
2355
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2356
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2357
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2358
# OS/2's system install, which has a completely different semantic
2359
# ./install, which can be erroneously created by make from ./install.sh.
2360
# Reject install programs that cannot install multiple files.
2361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2362
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2363
if test -z "$INSTALL"; then
2364
if ${ac_cv_path_install+:} false; then :
2365
$as_echo_n "(cached) " >&6
2367
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371
test -z "$as_dir" && as_dir=.
2372
# Account for people who put trailing slashes in PATH elements.
2373
case $as_dir/ in #((
2374
./ | .// | /[cC]/* | \
2375
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2376
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2379
# OSF1 and SCO ODT 3.0 have their own names for install.
2380
# Don't use installbsd from OSF since it installs stuff as root
2382
for ac_prog in ginstall scoinst install; do
2383
for ac_exec_ext in '' $ac_executable_extensions; do
2384
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2385
if test $ac_prog = install &&
2386
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2387
# AIX install. It has an incompatible calling convention.
2389
elif test $ac_prog = install &&
2390
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2391
# program-specific install script used by HP pwplus--don't use.
2394
rm -rf conftest.one conftest.two conftest.dir
2395
echo one > conftest.one
2396
echo two > conftest.two
2398
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2399
test -s conftest.one && test -s conftest.two &&
2400
test -s conftest.dir/conftest.one &&
2401
test -s conftest.dir/conftest.two
2403
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2416
rm -rf conftest.one conftest.two conftest.dir
2419
if test "${ac_cv_path_install+set}" = set; then
2420
INSTALL=$ac_cv_path_install
2422
# As a last resort, use the slow shell script. Don't cache a
2423
# value for INSTALL within a source directory, because that will
2424
# break other packages using the cache if that directory is
2425
# removed, or if the value is a relative name.
2426
INSTALL=$ac_install_sh
2429
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2430
$as_echo "$INSTALL" >&6; }
2432
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2433
# It thinks the first close brace ends the variable substitution.
2434
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2436
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2438
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2441
$as_echo_n "checking whether build environment is sane... " >&6; }
2444
echo timestamp > conftest.file
2445
# Reject unsafe characters in $srcdir or the absolute working directory
2446
# name. Accept space and tab only in the latter.
2450
*[\\\"\#\$\&\'\`$am_lf]*)
2451
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2454
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2455
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2458
# Do `set' in a subshell so we don't clobber the current shell's
2459
# arguments. Must try -L first in case configure is actually a
2460
# symlink; some systems play weird games with the mod time of symlinks
2461
# (eg FreeBSD returns the mod time of the symlink's containing
2464
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2465
if test "$*" = "X"; then
2467
set X `ls -t "$srcdir/configure" conftest.file`
2470
if test "$*" != "X $srcdir/configure conftest.file" \
2471
&& test "$*" != "X conftest.file $srcdir/configure"; then
2473
# If neither matched, then we have a broken ls. This can happen
2474
# if, for instance, CONFIG_SHELL is bash and it inherits a
2475
# broken ls alias from the environment. This has actually
2476
# happened. Such a system could not be considered "sane".
2477
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2478
alias in your environment" "$LINENO" 5
2481
test "$2" = conftest.file
2487
as_fn_error $? "newly created file is older than distributed files!
2488
Check your system clock" "$LINENO" 5
2490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2491
$as_echo "yes" >&6; }
2492
test "$program_prefix" != NONE &&
2493
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2494
# Use a double $ so make ignores it.
2495
test "$program_suffix" != NONE &&
2496
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2497
# Double any \ or $.
2498
# By default was `s,x,x', remove it if useless.
2499
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2500
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2502
# expand $ac_aux_dir to an absolute path
2503
am_aux_dir=`cd $ac_aux_dir && pwd`
2505
if test x"${MISSING+set}" != xset; then
2508
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2510
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2513
# Use eval to expand $SHELL
2514
if eval "$MISSING --run true"; then
2515
am_missing_run="$MISSING --run "
2518
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2519
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2522
if test x"${install_sh}" != xset; then
2525
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2527
install_sh="\${SHELL} $am_aux_dir/install-sh"
2531
# Installed binaries are usually stripped using `strip' when the user
2532
# run `make install-strip'. However `strip' might not be the right
2533
# tool to use in cross-compilation environments, therefore Automake
2534
# will honor the `STRIP' environment variable to overrule this program.
2535
if test "$cross_compiling" != no; then
2536
if test -n "$ac_tool_prefix"; then
2537
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2538
set dummy ${ac_tool_prefix}strip; ac_word=$2
2539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2540
$as_echo_n "checking for $ac_word... " >&6; }
2541
if ${ac_cv_prog_STRIP+:} false; then :
2542
$as_echo_n "(cached) " >&6
2544
if test -n "$STRIP"; then
2545
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2547
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551
test -z "$as_dir" && as_dir=.
2552
for ac_exec_ext in '' $ac_executable_extensions; do
2553
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2554
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2555
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2564
STRIP=$ac_cv_prog_STRIP
2565
if test -n "$STRIP"; then
2566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2567
$as_echo "$STRIP" >&6; }
2569
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2570
$as_echo "no" >&6; }
2575
if test -z "$ac_cv_prog_STRIP"; then
2577
# Extract the first word of "strip", so it can be a program name with args.
2578
set dummy strip; ac_word=$2
2579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2580
$as_echo_n "checking for $ac_word... " >&6; }
2581
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2582
$as_echo_n "(cached) " >&6
2584
if test -n "$ac_ct_STRIP"; then
2585
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2587
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2591
test -z "$as_dir" && as_dir=.
2592
for ac_exec_ext in '' $ac_executable_extensions; do
2593
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2594
ac_cv_prog_ac_ct_STRIP="strip"
2595
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2604
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2605
if test -n "$ac_ct_STRIP"; then
2606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2607
$as_echo "$ac_ct_STRIP" >&6; }
2609
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2610
$as_echo "no" >&6; }
2613
if test "x$ac_ct_STRIP" = x; then
2616
case $cross_compiling:$ac_tool_warned in
2618
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2619
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2620
ac_tool_warned=yes ;;
2625
STRIP="$ac_cv_prog_STRIP"
2629
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2632
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2633
if test -z "$MKDIR_P"; then
2634
if ${ac_cv_path_mkdir+:} false; then :
2635
$as_echo_n "(cached) " >&6
2637
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2641
test -z "$as_dir" && as_dir=.
2642
for ac_prog in mkdir gmkdir; do
2643
for ac_exec_ext in '' $ac_executable_extensions; do
2644
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2645
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2646
'mkdir (GNU coreutils) '* | \
2647
'mkdir (coreutils) '* | \
2648
'mkdir (fileutils) '4.1*)
2649
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2659
test -d ./--version && rmdir ./--version
2660
if test "${ac_cv_path_mkdir+set}" = set; then
2661
MKDIR_P="$ac_cv_path_mkdir -p"
2663
# As a last resort, use the slow shell script. Don't cache a
2664
# value for MKDIR_P within a source directory, because that will
2665
# break other packages using the cache if that directory is
2666
# removed, or if the value is a relative name.
2667
MKDIR_P="$ac_install_sh -d"
2670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2671
$as_echo "$MKDIR_P" >&6; }
2675
[\\/$]* | ?:[\\/]*) ;;
2676
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2679
for ac_prog in gawk mawk nawk awk
2681
# Extract the first word of "$ac_prog", so it can be a program name with args.
2682
set dummy $ac_prog; ac_word=$2
2683
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684
$as_echo_n "checking for $ac_word... " >&6; }
2685
if ${ac_cv_prog_AWK+:} false; then :
2686
$as_echo_n "(cached) " >&6
2688
if test -n "$AWK"; then
2689
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2691
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695
test -z "$as_dir" && as_dir=.
2696
for ac_exec_ext in '' $ac_executable_extensions; do
2697
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2698
ac_cv_prog_AWK="$ac_prog"
2699
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2709
if test -n "$AWK"; then
2710
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2711
$as_echo "$AWK" >&6; }
2713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714
$as_echo "no" >&6; }
2718
test -n "$AWK" && break
2721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2722
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2724
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2725
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2726
$as_echo_n "(cached) " >&6
2728
cat >conftest.make <<\_ACEOF
2731
@echo '@@@%%%=$(MAKE)=@@@%%%'
2733
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2734
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2736
eval ac_cv_prog_make_${ac_make}_set=yes;;
2738
eval ac_cv_prog_make_${ac_make}_set=no;;
2742
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2744
$as_echo "yes" >&6; }
2747
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2748
$as_echo "no" >&6; }
2749
SET_MAKE="MAKE=${MAKE-make}"
2752
rm -rf .tst 2>/dev/null
2753
mkdir .tst 2>/dev/null
2754
if test -d .tst; then
2759
rmdir .tst 2>/dev/null
2761
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2762
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2763
# is not polluted with repeated "-I."
2764
am__isrc=' -I$(srcdir)'
2765
# test to see if srcdir already configured
2766
if test -f $srcdir/config.status; then
2767
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2771
# test whether we have cygpath
2772
if test -z "$CYGPATH_W"; then
2773
if (cygpath --version) >/dev/null 2>/dev/null; then
2774
CYGPATH_W='cygpath -w'
2781
# Define the identity of the package.
2786
cat >>confdefs.h <<_ACEOF
2787
#define PACKAGE "$PACKAGE"
2791
cat >>confdefs.h <<_ACEOF
2792
#define VERSION "$VERSION"
2795
# Some tools Automake needs.
2797
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2800
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2803
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2806
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2809
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2811
# We need awk for the "check" target. The system "awk" is bad on
2813
# Always define AMTAR for backward compatibility.
2815
AMTAR=${AMTAR-"${am_missing_run}tar"}
2817
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2824
ac_config_headers="$ac_config_headers config.h"
2827
# checks for programs.
2829
ac_cpp='$CXXCPP $CPPFLAGS'
2830
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2831
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2832
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2833
if test -z "$CXX"; then
2834
if test -n "$CCC"; then
2837
if test -n "$ac_tool_prefix"; then
2838
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2840
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2841
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2842
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2843
$as_echo_n "checking for $ac_word... " >&6; }
2844
if ${ac_cv_prog_CXX+:} false; then :
2845
$as_echo_n "(cached) " >&6
2847
if test -n "$CXX"; then
2848
ac_cv_prog_CXX="$CXX" # Let the user override the test.
2850
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854
test -z "$as_dir" && as_dir=.
2855
for ac_exec_ext in '' $ac_executable_extensions; do
2856
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2857
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2858
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2868
if test -n "$CXX"; then
2869
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2870
$as_echo "$CXX" >&6; }
2872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2873
$as_echo "no" >&6; }
2877
test -n "$CXX" && break
2880
if test -z "$CXX"; then
2882
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2884
# Extract the first word of "$ac_prog", so it can be a program name with args.
2885
set dummy $ac_prog; ac_word=$2
2886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887
$as_echo_n "checking for $ac_word... " >&6; }
2888
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2889
$as_echo_n "(cached) " >&6
2891
if test -n "$ac_ct_CXX"; then
2892
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2894
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2898
test -z "$as_dir" && as_dir=.
2899
for ac_exec_ext in '' $ac_executable_extensions; do
2900
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2901
ac_cv_prog_ac_ct_CXX="$ac_prog"
2902
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2911
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2912
if test -n "$ac_ct_CXX"; then
2913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2914
$as_echo "$ac_ct_CXX" >&6; }
2916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917
$as_echo "no" >&6; }
2921
test -n "$ac_ct_CXX" && break
2924
if test "x$ac_ct_CXX" = x; then
2927
case $cross_compiling:$ac_tool_warned in
2929
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2930
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2931
ac_tool_warned=yes ;;
2939
# Provide some information about the compiler.
2940
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2943
for ac_option in --version -v -V -qversion; do
2944
{ { ac_try="$ac_compiler $ac_option >&5"
2946
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2947
*) ac_try_echo=$ac_try;;
2949
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2950
$as_echo "$ac_try_echo"; } >&5
2951
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
2953
if test -s conftest.err; then
2955
... rest of stderr output deleted ...
2956
10q' conftest.err >conftest.er1
2957
cat conftest.er1 >&5
2959
rm -f conftest.er1 conftest.err
2960
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2961
test $ac_status = 0; }
2964
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2965
/* end confdefs.h. */
2975
ac_clean_files_save=$ac_clean_files
2976
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2977
# Try to create an executable without -o first, disregard a.out.
2978
# It will help us diagnose broken compilers, and finding out an intuition
2980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2981
$as_echo_n "checking whether the C++ compiler works... " >&6; }
2982
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2984
# The possible output files:
2985
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2988
for ac_file in $ac_files
2991
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2992
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2997
if { { ac_try="$ac_link_default"
2999
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3000
*) ac_try_echo=$ac_try;;
3002
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3003
$as_echo "$ac_try_echo"; } >&5
3004
(eval "$ac_link_default") 2>&5
3006
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3007
test $ac_status = 0; }; then :
3008
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3009
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3010
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3011
# so that the user can short-circuit this test for compilers unknown to
3013
for ac_file in $ac_files ''
3015
test -f "$ac_file" || continue
3017
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3020
# We found the default executable, but exeext='' is most
3024
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3026
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3028
# We set ac_cv_exeext here because the later test for it is not
3029
# safe: cross compilers may not add the suffix if given an `-o'
3030
# argument, so we may need to know it at that point already.
3031
# Even if this section looks crufty: it has the advantage of
3038
test "$ac_cv_exeext" = no && ac_cv_exeext=
3043
if test -z "$ac_file"; then :
3044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3045
$as_echo "no" >&6; }
3046
$as_echo "$as_me: failed program was:" >&5
3047
sed 's/^/| /' conftest.$ac_ext >&5
3049
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3050
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3051
as_fn_error 77 "C++ compiler cannot create executables
3052
See \`config.log' for more details" "$LINENO" 5; }
3054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3055
$as_echo "yes" >&6; }
3057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3058
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3060
$as_echo "$ac_file" >&6; }
3061
ac_exeext=$ac_cv_exeext
3063
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3064
ac_clean_files=$ac_clean_files_save
3065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3066
$as_echo_n "checking for suffix of executables... " >&6; }
3067
if { { ac_try="$ac_link"
3069
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070
*) ac_try_echo=$ac_try;;
3072
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3073
$as_echo "$ac_try_echo"; } >&5
3074
(eval "$ac_link") 2>&5
3076
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3077
test $ac_status = 0; }; then :
3078
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3079
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3080
# work properly (i.e., refer to `conftest.exe'), while it won't with
3082
for ac_file in conftest.exe conftest conftest.*; do
3083
test -f "$ac_file" || continue
3085
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3086
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3092
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3093
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3094
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3095
See \`config.log' for more details" "$LINENO" 5; }
3097
rm -f conftest conftest$ac_cv_exeext
3098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3099
$as_echo "$ac_cv_exeext" >&6; }
3101
rm -f conftest.$ac_ext
3102
EXEEXT=$ac_cv_exeext
3104
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105
/* end confdefs.h. */
3110
FILE *f = fopen ("conftest.out", "w");
3111
return ferror (f) || fclose (f) != 0;
3117
ac_clean_files="$ac_clean_files conftest.out"
3118
# Check that the compiler produces executables we can run. If not, either
3119
# the compiler is broken, or we cross compile.
3120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3121
$as_echo_n "checking whether we are cross compiling... " >&6; }
3122
if test "$cross_compiling" != yes; then
3123
{ { ac_try="$ac_link"
3125
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126
*) ac_try_echo=$ac_try;;
3128
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3129
$as_echo "$ac_try_echo"; } >&5
3130
(eval "$ac_link") 2>&5
3132
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3133
test $ac_status = 0; }
3134
if { ac_try='./conftest$ac_cv_exeext'
3135
{ { case "(($ac_try" in
3136
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137
*) ac_try_echo=$ac_try;;
3139
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3140
$as_echo "$ac_try_echo"; } >&5
3141
(eval "$ac_try") 2>&5
3143
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3144
test $ac_status = 0; }; }; then
3147
if test "$cross_compiling" = maybe; then
3150
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3151
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3152
as_fn_error $? "cannot run C++ compiled programs.
3153
If you meant to cross compile, use \`--host'.
3154
See \`config.log' for more details" "$LINENO" 5; }
3158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3159
$as_echo "$cross_compiling" >&6; }
3161
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3162
ac_clean_files=$ac_clean_files_save
3163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3164
$as_echo_n "checking for suffix of object files... " >&6; }
3165
if ${ac_cv_objext+:} false; then :
3166
$as_echo_n "(cached) " >&6
3168
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3169
/* end confdefs.h. */
3179
rm -f conftest.o conftest.obj
3180
if { { ac_try="$ac_compile"
3182
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3183
*) ac_try_echo=$ac_try;;
3185
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3186
$as_echo "$ac_try_echo"; } >&5
3187
(eval "$ac_compile") 2>&5
3189
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3190
test $ac_status = 0; }; then :
3191
for ac_file in conftest.o conftest.obj conftest.*; do
3192
test -f "$ac_file" || continue;
3194
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3195
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3200
$as_echo "$as_me: failed program was:" >&5
3201
sed 's/^/| /' conftest.$ac_ext >&5
3203
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3204
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3205
as_fn_error $? "cannot compute suffix of object files: cannot compile
3206
See \`config.log' for more details" "$LINENO" 5; }
3208
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3211
$as_echo "$ac_cv_objext" >&6; }
3212
OBJEXT=$ac_cv_objext
3214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3215
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3216
if ${ac_cv_cxx_compiler_gnu+:} false; then :
3217
$as_echo_n "(cached) " >&6
3219
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3220
/* end confdefs.h. */
3233
if ac_fn_cxx_try_compile "$LINENO"; then :
3238
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3239
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3243
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3244
if test $ac_compiler_gnu = yes; then
3249
ac_test_CXXFLAGS=${CXXFLAGS+set}
3250
ac_save_CXXFLAGS=$CXXFLAGS
3251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3252
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3253
if ${ac_cv_prog_cxx_g+:} false; then :
3254
$as_echo_n "(cached) " >&6
3256
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3257
ac_cxx_werror_flag=yes
3260
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3261
/* end confdefs.h. */
3271
if ac_fn_cxx_try_compile "$LINENO"; then :
3272
ac_cv_prog_cxx_g=yes
3275
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3276
/* end confdefs.h. */
3286
if ac_fn_cxx_try_compile "$LINENO"; then :
3289
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3291
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292
/* end confdefs.h. */
3302
if ac_fn_cxx_try_compile "$LINENO"; then :
3303
ac_cv_prog_cxx_g=yes
3305
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3309
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3313
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3314
if test "$ac_test_CXXFLAGS" = set; then
3315
CXXFLAGS=$ac_save_CXXFLAGS
3316
elif test $ac_cv_prog_cxx_g = yes; then
3317
if test "$GXX" = yes; then
3323
if test "$GXX" = yes; then
3330
ac_cpp='$CPP $CPPFLAGS'
3331
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3332
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3333
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3334
DEPDIR="${am__leading_dot}deps"
3336
ac_config_commands="$ac_config_commands depfiles"
3339
am_make=${MAKE-make}
3340
cat > confinc << 'END'
3342
@echo this is the am__doit target
3345
# If we don't find an include directive, just comment out the code.
3346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3347
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3351
# First try GNU make style include.
3352
echo "include confinc" > confmf
3353
# Ignore all kinds of additional output from `make'.
3354
case `$am_make -s -f confmf 2> /dev/null` in #(
3355
*the\ am__doit\ target*)
3361
# Now try BSD make style include.
3362
if test "$am__include" = "#"; then
3363
echo '.include "confinc"' > confmf
3364
case `$am_make -s -f confmf 2> /dev/null` in #(
3365
*the\ am__doit\ target*)
3366
am__include=.include
3374
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3375
$as_echo "$_am_result" >&6; }
3376
rm -f confinc confmf
3378
# Check whether --enable-dependency-tracking was given.
3379
if test "${enable_dependency_tracking+set}" = set; then :
3380
enableval=$enable_dependency_tracking;
3383
if test "x$enable_dependency_tracking" != xno; then
3384
am_depcomp="$ac_aux_dir/depcomp"
3387
if test "x$enable_dependency_tracking" != xno; then
3397
depcc="$CXX" am_compiler_list=
3399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3400
$as_echo_n "checking dependency style of $depcc... " >&6; }
3401
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3402
$as_echo_n "(cached) " >&6
3404
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3405
# We make a subdir and do the tests there. Otherwise we can end up
3406
# making bogus files that we don't know about and never remove. For
3407
# instance it was reported that on HP-UX the gcc test will end up
3408
# making a dummy file named `D' -- because `-MD' means `put the output
3411
# Copy depcomp to subdir because otherwise we won't find it if we're
3412
# using a relative directory.
3413
cp "$am_depcomp" conftest.dir
3415
# We will build objects and dependencies in a subdirectory because
3416
# it helps to detect inapplicable dependency modes. For instance
3417
# both Tru64's cc and ICC support -MD to output dependencies as a
3418
# side effect of compilation, but ICC will put the dependencies in
3419
# the current directory while Tru64 will put them in the object
3423
am_cv_CXX_dependencies_compiler_type=none
3424
if test "$am_compiler_list" = ""; then
3425
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3428
case " $depcc " in #(
3429
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3432
for depmode in $am_compiler_list; do
3433
# Setup a source with many dependencies, because some compilers
3434
# like to wrap large dependency lists on column 80 (with \), and
3435
# we should not choose a depcomp mode which is confused by this.
3437
# We need to recreate these files for each test, as the compiler may
3438
# overwrite some of them when testing with obscure command lines.
3439
# This happens at least with the AIX C compiler.
3441
for i in 1 2 3 4 5 6; do
3442
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3443
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3444
# Solaris 8's {/usr,}/bin/sh.
3445
touch sub/conftst$i.h
3447
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3449
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3450
# mode. It turns out that the SunPro C++ compiler does not properly
3451
# handle `-M -o', and we need to detect this. Also, some Intel
3452
# versions had trouble with output in subdirs
3453
am__obj=sub/conftest.${OBJEXT-o}
3454
am__minus_obj="-o $am__obj"
3457
# This depmode causes a compiler race in universal mode.
3458
test "$am__universal" = false || continue
3461
# after this tag, mechanisms are not by side-effect, so they'll
3462
# only be used when explicitly requested
3463
if test "x$enable_dependency_tracking" = xyes; then
3469
msvisualcpp | msvcmsys)
3470
# This compiler won't grok `-c -o', but also, the minuso test has
3471
# not run yet. These depmodes are late enough in the game, and
3472
# so weak that their functioning should not be impacted.
3473
am__obj=conftest.${OBJEXT-o}
3478
if depmode=$depmode \
3479
source=sub/conftest.c object=$am__obj \
3480
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3481
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3482
>/dev/null 2>conftest.err &&
3483
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3484
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3485
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3486
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3487
# icc doesn't choke on unknown options, it will just issue warnings
3488
# or remarks (even with -Werror). So we grep stderr for any message
3489
# that says an option was ignored or not supported.
3490
# When given -MP, icc 7.0 and 7.1 complain thusly:
3491
# icc: Command line warning: ignoring option '-M'; no argument required
3492
# The diagnosis changed in icc 8.0:
3493
# icc: Command line remark: option '-MP' not supported
3494
if (grep 'ignoring option' conftest.err ||
3495
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3496
am_cv_CXX_dependencies_compiler_type=$depmode
3505
am_cv_CXX_dependencies_compiler_type=none
3509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3510
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3511
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3514
test "x$enable_dependency_tracking" != xno \
3515
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3516
am__fastdepCXX_TRUE=
3517
am__fastdepCXX_FALSE='#'
3519
am__fastdepCXX_TRUE='#'
3520
am__fastdepCXX_FALSE=
3526
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3527
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3532
macro_version='2.4.2'
3533
macro_revision='1.3337'
3547
ltmain="$ac_aux_dir/ltmain.sh"
3549
# Make sure we can run config.sub.
3550
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3551
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3554
$as_echo_n "checking build system type... " >&6; }
3555
if ${ac_cv_build+:} false; then :
3556
$as_echo_n "(cached) " >&6
3558
ac_build_alias=$build_alias
3559
test "x$ac_build_alias" = x &&
3560
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3561
test "x$ac_build_alias" = x &&
3562
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3563
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3564
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3568
$as_echo "$ac_cv_build" >&6; }
3569
case $ac_cv_build in
3571
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3574
ac_save_IFS=$IFS; IFS='-'
3580
# Remember, the first character of IFS is used to create $*,
3581
# except with old shells:
3584
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3588
$as_echo_n "checking host system type... " >&6; }
3589
if ${ac_cv_host+:} false; then :
3590
$as_echo_n "(cached) " >&6
3592
if test "x$host_alias" = x; then
3593
ac_cv_host=$ac_cv_build
3595
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3596
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3601
$as_echo "$ac_cv_host" >&6; }
3604
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3607
ac_save_IFS=$IFS; IFS='-'
3613
# Remember, the first character of IFS is used to create $*,
3614
# except with old shells:
3617
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3620
# Backslashify metacharacters that are still active within
3621
# double-quoted strings.
3622
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3624
# Same as above, but do not quote variable references.
3625
double_quote_subst='s/\(["`\\]\)/\\\1/g'
3627
# Sed substitution to delay expansion of an escaped shell variable in a
3628
# double_quote_subst'ed string.
3629
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3631
# Sed substitution to delay expansion of an escaped single quote.
3632
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3634
# Sed substitution to avoid accidental globbing in evaled expressions
3635
no_glob_subst='s/\*/\\\*/g'
3637
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3638
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3639
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3641
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3642
$as_echo_n "checking how to print strings... " >&6; }
3643
# Test print first, because it will be a builtin if present.
3644
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3645
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3647
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3650
# Use this function as a fallback that always works.
3651
func_fallback_echo ()
3653
eval 'cat <<_LTECHO_EOF
3657
ECHO='func_fallback_echo'
3660
# func_echo_all arg...
3661
# Invoke $ECHO with all args, space-separated.
3668
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3669
$as_echo "printf" >&6; } ;;
3670
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3671
$as_echo "print -r" >&6; } ;;
3672
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3673
$as_echo "cat" >&6; } ;;
3690
ac_cpp='$CPP $CPPFLAGS'
3691
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3692
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3693
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3694
if test -n "$ac_tool_prefix"; then
3695
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3696
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698
$as_echo_n "checking for $ac_word... " >&6; }
3699
if ${ac_cv_prog_CC+:} false; then :
3700
$as_echo_n "(cached) " >&6
3702
if test -n "$CC"; then
3703
ac_cv_prog_CC="$CC" # Let the user override the test.
3705
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709
test -z "$as_dir" && as_dir=.
3710
for ac_exec_ext in '' $ac_executable_extensions; do
3711
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3712
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3713
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3723
if test -n "$CC"; then
3724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3725
$as_echo "$CC" >&6; }
3727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728
$as_echo "no" >&6; }
3733
if test -z "$ac_cv_prog_CC"; then
3735
# Extract the first word of "gcc", so it can be a program name with args.
3736
set dummy gcc; ac_word=$2
3737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738
$as_echo_n "checking for $ac_word... " >&6; }
3739
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3740
$as_echo_n "(cached) " >&6
3742
if test -n "$ac_ct_CC"; then
3743
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3745
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749
test -z "$as_dir" && as_dir=.
3750
for ac_exec_ext in '' $ac_executable_extensions; do
3751
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3752
ac_cv_prog_ac_ct_CC="gcc"
3753
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3762
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3763
if test -n "$ac_ct_CC"; then
3764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3765
$as_echo "$ac_ct_CC" >&6; }
3767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768
$as_echo "no" >&6; }
3771
if test "x$ac_ct_CC" = x; then
3774
case $cross_compiling:$ac_tool_warned in
3776
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3777
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3778
ac_tool_warned=yes ;;
3786
if test -z "$CC"; then
3787
if test -n "$ac_tool_prefix"; then
3788
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3789
set dummy ${ac_tool_prefix}cc; ac_word=$2
3790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791
$as_echo_n "checking for $ac_word... " >&6; }
3792
if ${ac_cv_prog_CC+:} false; then :
3793
$as_echo_n "(cached) " >&6
3795
if test -n "$CC"; then
3796
ac_cv_prog_CC="$CC" # Let the user override the test.
3798
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3802
test -z "$as_dir" && as_dir=.
3803
for ac_exec_ext in '' $ac_executable_extensions; do
3804
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3805
ac_cv_prog_CC="${ac_tool_prefix}cc"
3806
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3816
if test -n "$CC"; then
3817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3818
$as_echo "$CC" >&6; }
3820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821
$as_echo "no" >&6; }
3827
if test -z "$CC"; then
3828
# Extract the first word of "cc", so it can be a program name with args.
3829
set dummy cc; ac_word=$2
3830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3831
$as_echo_n "checking for $ac_word... " >&6; }
3832
if ${ac_cv_prog_CC+:} false; then :
3833
$as_echo_n "(cached) " >&6
3835
if test -n "$CC"; then
3836
ac_cv_prog_CC="$CC" # Let the user override the test.
3839
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843
test -z "$as_dir" && as_dir=.
3844
for ac_exec_ext in '' $ac_executable_extensions; do
3845
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3846
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3847
ac_prog_rejected=yes
3851
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3858
if test $ac_prog_rejected = yes; then
3859
# We found a bogon in the path, so make sure we never use it.
3860
set dummy $ac_cv_prog_CC
3862
if test $# != 0; then
3863
# We chose a different compiler from the bogus one.
3864
# However, it has the same basename, so the bogon will be chosen
3865
# first if we set CC to just the basename; use the full file name.
3867
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3873
if test -n "$CC"; then
3874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3875
$as_echo "$CC" >&6; }
3877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3878
$as_echo "no" >&6; }
3883
if test -z "$CC"; then
3884
if test -n "$ac_tool_prefix"; then
3885
for ac_prog in cl.exe
3887
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3888
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3890
$as_echo_n "checking for $ac_word... " >&6; }
3891
if ${ac_cv_prog_CC+:} false; then :
3892
$as_echo_n "(cached) " >&6
3894
if test -n "$CC"; then
3895
ac_cv_prog_CC="$CC" # Let the user override the test.
3897
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3901
test -z "$as_dir" && as_dir=.
3902
for ac_exec_ext in '' $ac_executable_extensions; do
3903
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3904
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3905
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3915
if test -n "$CC"; then
3916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3917
$as_echo "$CC" >&6; }
3919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920
$as_echo "no" >&6; }
3924
test -n "$CC" && break
3927
if test -z "$CC"; then
3929
for ac_prog in cl.exe
3931
# Extract the first word of "$ac_prog", so it can be a program name with args.
3932
set dummy $ac_prog; ac_word=$2
3933
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3934
$as_echo_n "checking for $ac_word... " >&6; }
3935
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3936
$as_echo_n "(cached) " >&6
3938
if test -n "$ac_ct_CC"; then
3939
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3941
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3945
test -z "$as_dir" && as_dir=.
3946
for ac_exec_ext in '' $ac_executable_extensions; do
3947
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3948
ac_cv_prog_ac_ct_CC="$ac_prog"
3949
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3959
if test -n "$ac_ct_CC"; then
3960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3961
$as_echo "$ac_ct_CC" >&6; }
3963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3964
$as_echo "no" >&6; }
3968
test -n "$ac_ct_CC" && break
3971
if test "x$ac_ct_CC" = x; then
3974
case $cross_compiling:$ac_tool_warned in
3976
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3977
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3978
ac_tool_warned=yes ;;
3987
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3988
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3989
as_fn_error $? "no acceptable C compiler found in \$PATH
3990
See \`config.log' for more details" "$LINENO" 5; }
3992
# Provide some information about the compiler.
3993
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3996
for ac_option in --version -v -V -qversion; do
3997
{ { ac_try="$ac_compiler $ac_option >&5"
3999
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4000
*) ac_try_echo=$ac_try;;
4002
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4003
$as_echo "$ac_try_echo"; } >&5
4004
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4006
if test -s conftest.err; then
4008
... rest of stderr output deleted ...
4009
10q' conftest.err >conftest.er1
4010
cat conftest.er1 >&5
4012
rm -f conftest.er1 conftest.err
4013
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4014
test $ac_status = 0; }
4017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4018
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4019
if ${ac_cv_c_compiler_gnu+:} false; then :
4020
$as_echo_n "(cached) " >&6
4022
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4023
/* end confdefs.h. */
4036
if ac_fn_c_try_compile "$LINENO"; then :
4041
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4042
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4046
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4047
if test $ac_compiler_gnu = yes; then
4052
ac_test_CFLAGS=${CFLAGS+set}
4053
ac_save_CFLAGS=$CFLAGS
4054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4055
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4056
if ${ac_cv_prog_cc_g+:} false; then :
4057
$as_echo_n "(cached) " >&6
4059
ac_save_c_werror_flag=$ac_c_werror_flag
4060
ac_c_werror_flag=yes
4063
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4064
/* end confdefs.h. */
4074
if ac_fn_c_try_compile "$LINENO"; then :
4078
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079
/* end confdefs.h. */
4089
if ac_fn_c_try_compile "$LINENO"; then :
4092
ac_c_werror_flag=$ac_save_c_werror_flag
4094
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095
/* end confdefs.h. */
4105
if ac_fn_c_try_compile "$LINENO"; then :
4108
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4110
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4112
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4113
ac_c_werror_flag=$ac_save_c_werror_flag
4115
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4116
$as_echo "$ac_cv_prog_cc_g" >&6; }
4117
if test "$ac_test_CFLAGS" = set; then
4118
CFLAGS=$ac_save_CFLAGS
4119
elif test $ac_cv_prog_cc_g = yes; then
4120
if test "$GCC" = yes; then
4126
if test "$GCC" = yes; then
4132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4133
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4134
if ${ac_cv_prog_cc_c89+:} false; then :
4135
$as_echo_n "(cached) " >&6