2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.65 for sqlite3cc 0.1.0.
5
# Report bugs to <edam@waxworlds.org>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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.
95
*[\\/]* ) as_myself=$0 ;;
96
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
test -z "$as_dir" && as_dir=.
101
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
# We did not find ourselves, most probably we were run as `sh COMMAND'
108
# in which case we are not to be found in the path.
109
if test "x$as_myself" = x; then
112
if test ! -f "$as_myself"; then
113
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
# Unset variables that we do not need and which cause bugs (e.g. in
118
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119
# suppresses any "Segmentation fault" message there. '((' could
120
# trigger a bug in pdksh 5.2.14.
121
for as_var in BASH_ENV ENV MAIL MAILPATH
122
do eval test x\${$as_var+set} = xset \
123
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
if test "x$CONFIG_SHELL" = x; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test \$(( 1 + 1 )) = 2 || exit 1"
177
if (eval "$as_required") 2>/dev/null; then :
182
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190
test -z "$as_dir" && as_dir=.
194
for as_base in sh bash ksh sh5; do
195
# Try only shells that exist, to save several forks.
196
as_shell=$as_dir/$as_base
197
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
CONFIG_SHELL=$as_shell as_have_required=yes
200
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
CONFIG_SHELL=$SHELL as_have_required=yes
215
if test "x$CONFIG_SHELL" != x; then :
216
# We cannot yet assume a decent shell, so we have to provide a
217
# neutralization value for shells without unset; and this also
218
# works around shells that cannot unset nonexistent variables.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226
if test x$as_have_required = xno; then :
227
$as_echo "$0: This script requires a shell more modern than all"
228
$as_echo "$0: the shells that I found on your system."
229
if test x${ZSH_VERSION+set} = xset ; then
230
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
233
$as_echo "$0: Please tell bug-autoconf@gnu.org and edam@waxworlds.org
234
$0: about your system, including any error possibly output
235
$0: before this message. Then install a modern shell, or
236
$0: manually run the script under such a shell if you do
243
SHELL=${CONFIG_SHELL-/bin/sh}
245
# Unset more variables known to interfere with behavior of common tools.
246
CLICOLOR_FORCE= GREP_OPTIONS=
247
unset CLICOLOR_FORCE GREP_OPTIONS
249
## --------------------- ##
250
## M4sh Shell Functions. ##
251
## --------------------- ##
254
# Portably unset VAR.
257
{ eval $1=; unset $1;}
261
# as_fn_set_status STATUS
262
# -----------------------
263
# Set $? to STATUS, without forking.
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281
# Create "$as_dir" as a directory, including parents if necessary.
286
-*) as_dir=./$as_dir;;
288
test -d "$as_dir" || eval $as_mkdir_p || {
292
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295
as_dirs="'$as_qdir' $as_dirs"
296
as_dir=`$as_dirname -- "$as_dir" ||
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298
X"$as_dir" : 'X\(//\)[^/]' \| \
299
X"$as_dir" : 'X\(//\)$' \| \
300
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301
$as_echo X"$as_dir" |
302
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319
test -d "$as_dir" && break
321
test -z "$as_dirs" || eval "mkdir $as_dirs"
322
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
# as_fn_append VAR VALUE
327
# ----------------------
328
# Append the text in VALUE to the end of the definition contained in VAR. Take
329
# advantage of any shell optimizations that allow amortized linear growth over
330
# repeated appends, instead of the typical quadratic growth present in naive
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333
eval 'as_fn_append ()
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
348
# must be portable across $(()) and expr.
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357
as_val=`expr "$@" || test $? -eq 1`
362
# as_fn_error ERROR [LINENO LOG_FD]
363
# ---------------------------------
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366
# script with status $?, using 1 if that was 0.
369
as_status=$?; test $as_status -eq 0 && as_status=1
371
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374
$as_echo "$as_me: error: $1" >&2
375
as_fn_exit $as_status
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
379
test "X`expr 00001 : '.*\(...\)'`" = X001; then
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397
as_me=`$as_basename -- "$0" ||
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399
X"$0" : 'X\(//\)$' \| \
400
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402
sed '/^.*\/\([^/][^/]*\)\/*$/{
416
# Avoid depending upon Character Ranges.
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420
as_cr_digits='0123456789'
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
424
as_lineno_1=$LINENO as_lineno_1a=$LINENO
425
as_lineno_2=$LINENO as_lineno_2a=$LINENO
426
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444
chmod +x "$as_me.lineno" ||
445
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
# Don't try to exec as it changes $[0], causing all sort of problems
448
# (the dirname of $[0] is not the place where we might find the
449
# original and so on. Autoconf is especially sensitive to this).
451
# Exit status is that of the last command.
455
ECHO_C= ECHO_N= ECHO_T=
456
case `echo -n x` in #(((((
458
case `echo 'xy\c'` in
459
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
461
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468
rm -f conf$$ conf$$.exe conf$$.file
469
if test -d conf$$.dir; then
470
rm -f conf$$.dir/conf$$.file
473
mkdir conf$$.dir 2>/dev/null
475
if (echo >conf$$.file) 2>/dev/null; then
476
if ln -s conf$$.file conf$$ 2>/dev/null; then
478
# ... but there are two gotchas:
479
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481
# In both cases, we have to default to `cp -p'.
482
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484
elif ln conf$$.file conf$$ 2>/dev/null; then
492
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493
rmdir conf$$.dir 2>/dev/null
495
if mkdir -p . 2>/dev/null; then
496
as_mkdir_p='mkdir -p "$as_dir"'
498
test -d ./-p && rmdir ./-p
502
if test -x / >/dev/null 2>&1; then
505
if ls -dL / >/dev/null 2>&1; then
512
if test -d "$1"; then
518
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519
???[sx]*):;;*)false;;esac;fi
523
as_executable_p=$as_test_x
525
# Sed expression to map a string onto a valid CPP name.
526
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
# Sed expression to map a string onto a valid variable name.
529
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
# Check that we are running under the correct shell.
534
SHELL=${CONFIG_SHELL-/bin/sh}
538
# Remove one level of quotation (which was required for Make).
539
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544
if test "X$1" = X--no-reexec; then
545
# Discard the --no-reexec flag, and continue.
547
elif test "X$1" = X--fallback-echo; then
548
# Avoid inline document here, it may be left over
550
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
# Yippee, $ECHO works!
554
# Restart under the correct shell.
555
exec $SHELL "$0" --no-reexec ${1+"$@"}
558
if test "X$1" = X--fallback-echo; then
559
# used as fallback echo
567
# The HP-UX ksh and POSIX shell print the target directory to stdout
569
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
if test -z "$lt_ECHO"; then
572
if test "X${echo_test_string+set}" != Xset; then
573
# find a string as large as possible, as long as the shell can cope with it
574
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
test "X$echo_testing_string" = "X$echo_test_string"; then
589
# The Solaris, AIX, and Digital Unix default echo programs unquote
590
# backslashes. This makes it impossible to quote backslashes using
591
# echo "$something" | sed 's/\\/\\\\/g'
593
# So, first we look for a working echo in the user's PATH.
595
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
for dir in $PATH /usr/ucb; do
598
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
test "X$echo_testing_string" = "X$echo_test_string"; then
608
if test "X$ECHO" = Xecho; then
609
# We didn't find a better echo, so look for alternatives.
610
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
test "X$echo_testing_string" = "X$echo_test_string"; then
613
# This shell has a builtin print -r that does the trick.
615
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
test "X$CONFIG_SHELL" != X/bin/ksh; then
617
# If we have ksh, try running configure again with it.
618
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
export ORIGINAL_CONFIG_SHELL
620
CONFIG_SHELL=/bin/ksh
622
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
test "X$echo_testing_string" = "X$echo_test_string"; then
631
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
test "X$echo_testing_string" = 'X\t' &&
633
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
test "X$echo_testing_string" = "X$echo_test_string"; then
635
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637
SHELL="$CONFIG_SHELL"
639
ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
test "X$echo_testing_string" = 'X\t' &&
642
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
test "X$echo_testing_string" = "X$echo_test_string"; then
644
ECHO="$CONFIG_SHELL $0 --fallback-echo"
646
# maybe with a smaller string...
649
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657
if test "$prev" != 'sed 50q "$0"'; then
658
echo_test_string=`eval $prev`
659
export echo_test_string
660
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662
# Oops. We lost completely, so just stick with echo.
671
# Copy echo and quote the copy suitably for passing to libtool from
672
# the Makefile, instead of quoting the original, which is used later.
674
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681
test -n "$DJDIR" || exec 7<&0 </dev/null
685
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
686
# so uname gets run too.
687
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
692
ac_default_prefix=/usr/local
694
ac_config_libobj_dir=.
701
# Identity of this package.
702
PACKAGE_NAME='sqlite3cc'
703
PACKAGE_TARNAME='sqlite3cc'
704
PACKAGE_VERSION='0.1.0'
705
PACKAGE_STRING='sqlite3cc 0.1.0'
706
PACKAGE_BUGREPORT='edam@waxworlds.org'
707
PACKAGE_URL='http://www.waxworlds.org/edam/software/sqlite3cc'
709
ac_unique_file="src/command.cc"
710
# Factoring default headers for most tests.
711
ac_includes_default="\
713
#ifdef HAVE_SYS_TYPES_H
714
# include <sys/types.h>
716
#ifdef HAVE_SYS_STAT_H
717
# include <sys/stat.h>
723
# ifdef HAVE_STDLIB_H
728
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
733
#ifdef HAVE_STRINGS_H
734
# include <strings.h>
736
#ifdef HAVE_INTTYPES_H
737
# include <inttypes.h>
746
ac_subst_vars='am__EXEEXT_FALSE
809
INSTALL_STRIP_PROGRAM
824
LIBSQLITE3CC_INTERFACE
852
program_transform_name
865
enable_option_checking
870
enable_dependency_tracking
874
ac_precious_vars='build_alias
889
# Initialize some variables set by options.
891
ac_init_version=false
892
ac_unrecognized_opts=
894
# The variables have the same names as the options, with
895
# dashes changed to underlines.
903
program_transform_name=s,x,x,
911
# Installation directory options.
912
# These are left unexpanded so users can "make install exec_prefix=/foo"
913
# and all the variables that are supposed to be based on exec_prefix
914
# by default will actually change.
915
# Use braces instead of parens because sh, perl, etc. also accept them.
916
# (The list follows the same order as the GNU Coding Standards.)
917
bindir='${exec_prefix}/bin'
918
sbindir='${exec_prefix}/sbin'
919
libexecdir='${exec_prefix}/libexec'
920
datarootdir='${prefix}/share'
921
datadir='${datarootdir}'
922
sysconfdir='${prefix}/etc'
923
sharedstatedir='${prefix}/com'
924
localstatedir='${prefix}/var'
925
includedir='${prefix}/include'
926
oldincludedir='/usr/include'
927
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
928
infodir='${datarootdir}/info'
933
libdir='${exec_prefix}/lib'
934
localedir='${datarootdir}/locale'
935
mandir='${datarootdir}/man'
941
# If the previous option needs an argument, assign it.
942
if test -n "$ac_prev"; then
943
eval $ac_prev=\$ac_option
949
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
953
# Accept the important Cygnus configure options, so we can diagnose typos.
955
case $ac_dashdash$ac_option in
959
-bindir | --bindir | --bindi | --bind | --bin | --bi)
961
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
964
-build | --build | --buil | --bui | --bu)
965
ac_prev=build_alias ;;
966
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
967
build_alias=$ac_optarg ;;
969
-cache-file | --cache-file | --cache-fil | --cache-fi \
970
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
971
ac_prev=cache_file ;;
972
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
973
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
974
cache_file=$ac_optarg ;;
977
cache_file=config.cache ;;
979
-datadir | --datadir | --datadi | --datad)
981
-datadir=* | --datadir=* | --datadi=* | --datad=*)
982
datadir=$ac_optarg ;;
984
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
985
| --dataroo | --dataro | --datar)
986
ac_prev=datarootdir ;;
987
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
988
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
989
datarootdir=$ac_optarg ;;
991
-disable-* | --disable-*)
992
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
993
# Reject names that are not valid shell variable names.
994
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
995
as_fn_error "invalid feature name: $ac_useropt"
996
ac_useropt_orig=$ac_useropt
997
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
998
case $ac_user_opts in
1000
"enable_$ac_useropt"
1002
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1003
ac_unrecognized_sep=', ';;
1005
eval enable_$ac_useropt=no ;;
1007
-docdir | --docdir | --docdi | --doc | --do)
1009
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1010
docdir=$ac_optarg ;;
1012
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1014
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1015
dvidir=$ac_optarg ;;
1017
-enable-* | --enable-*)
1018
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1019
# Reject names that are not valid shell variable names.
1020
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1021
as_fn_error "invalid feature name: $ac_useropt"
1022
ac_useropt_orig=$ac_useropt
1023
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024
case $ac_user_opts in
1026
"enable_$ac_useropt"
1028
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1029
ac_unrecognized_sep=', ';;
1031
eval enable_$ac_useropt=\$ac_optarg ;;
1033
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1034
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1035
| --exec | --exe | --ex)
1036
ac_prev=exec_prefix ;;
1037
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1038
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1039
| --exec=* | --exe=* | --ex=*)
1040
exec_prefix=$ac_optarg ;;
1042
-gas | --gas | --ga | --g)
1043
# Obsolete; use --with-gas.
1046
-help | --help | --hel | --he | -h)
1047
ac_init_help=long ;;
1048
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1049
ac_init_help=recursive ;;
1050
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1051
ac_init_help=short ;;
1053
-host | --host | --hos | --ho)
1054
ac_prev=host_alias ;;
1055
-host=* | --host=* | --hos=* | --ho=*)
1056
host_alias=$ac_optarg ;;
1058
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1060
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1062
htmldir=$ac_optarg ;;
1064
-includedir | --includedir | --includedi | --included | --include \
1065
| --includ | --inclu | --incl | --inc)
1066
ac_prev=includedir ;;
1067
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1068
| --includ=* | --inclu=* | --incl=* | --inc=*)
1069
includedir=$ac_optarg ;;
1071
-infodir | --infodir | --infodi | --infod | --info | --inf)
1073
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1074
infodir=$ac_optarg ;;
1076
-libdir | --libdir | --libdi | --libd)
1078
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1079
libdir=$ac_optarg ;;
1081
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1082
| --libexe | --libex | --libe)
1083
ac_prev=libexecdir ;;
1084
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1085
| --libexe=* | --libex=* | --libe=*)
1086
libexecdir=$ac_optarg ;;
1088
-localedir | --localedir | --localedi | --localed | --locale)
1089
ac_prev=localedir ;;
1090
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1091
localedir=$ac_optarg ;;
1093
-localstatedir | --localstatedir | --localstatedi | --localstated \
1094
| --localstate | --localstat | --localsta | --localst | --locals)
1095
ac_prev=localstatedir ;;
1096
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1097
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1098
localstatedir=$ac_optarg ;;
1100
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1102
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1103
mandir=$ac_optarg ;;
1105
-nfp | --nfp | --nf)
1106
# Obsolete; use --without-fp.
1109
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1110
| --no-cr | --no-c | -n)
1113
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1114
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1117
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1118
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1119
| --oldin | --oldi | --old | --ol | --o)
1120
ac_prev=oldincludedir ;;
1121
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1122
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1123
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1124
oldincludedir=$ac_optarg ;;
1126
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1128
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1129
prefix=$ac_optarg ;;
1131
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1132
| --program-pre | --program-pr | --program-p)
1133
ac_prev=program_prefix ;;
1134
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1135
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1136
program_prefix=$ac_optarg ;;
1138
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1139
| --program-suf | --program-su | --program-s)
1140
ac_prev=program_suffix ;;
1141
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1142
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1143
program_suffix=$ac_optarg ;;
1145
-program-transform-name | --program-transform-name \
1146
| --program-transform-nam | --program-transform-na \
1147
| --program-transform-n | --program-transform- \
1148
| --program-transform | --program-transfor \
1149
| --program-transfo | --program-transf \
1150
| --program-trans | --program-tran \
1151
| --progr-tra | --program-tr | --program-t)
1152
ac_prev=program_transform_name ;;
1153
-program-transform-name=* | --program-transform-name=* \
1154
| --program-transform-nam=* | --program-transform-na=* \
1155
| --program-transform-n=* | --program-transform-=* \
1156
| --program-transform=* | --program-transfor=* \
1157
| --program-transfo=* | --program-transf=* \
1158
| --program-trans=* | --program-tran=* \
1159
| --progr-tra=* | --program-tr=* | --program-t=*)
1160
program_transform_name=$ac_optarg ;;
1162
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1164
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1165
pdfdir=$ac_optarg ;;
1167
-psdir | --psdir | --psdi | --psd | --ps)
1169
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1172
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1173
| -silent | --silent | --silen | --sile | --sil)
1176
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1178
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1180
sbindir=$ac_optarg ;;
1182
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1183
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1184
| --sharedst | --shareds | --shared | --share | --shar \
1186
ac_prev=sharedstatedir ;;
1187
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1188
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1189
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1191
sharedstatedir=$ac_optarg ;;
1193
-site | --site | --sit)
1195
-site=* | --site=* | --sit=*)
1198
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1200
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1201
srcdir=$ac_optarg ;;
1203
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1204
| --syscon | --sysco | --sysc | --sys | --sy)
1205
ac_prev=sysconfdir ;;
1206
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1207
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1208
sysconfdir=$ac_optarg ;;
1210
-target | --target | --targe | --targ | --tar | --ta | --t)
1211
ac_prev=target_alias ;;
1212
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1213
target_alias=$ac_optarg ;;
1215
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1218
-version | --version | --versio | --versi | --vers | -V)
1219
ac_init_version=: ;;
1222
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1223
# Reject names that are not valid shell variable names.
1224
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1225
as_fn_error "invalid package name: $ac_useropt"
1226
ac_useropt_orig=$ac_useropt
1227
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1228
case $ac_user_opts in
1232
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1233
ac_unrecognized_sep=', ';;
1235
eval with_$ac_useropt=\$ac_optarg ;;
1237
-without-* | --without-*)
1238
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1239
# Reject names that are not valid shell variable names.
1240
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1241
as_fn_error "invalid package name: $ac_useropt"
1242
ac_useropt_orig=$ac_useropt
1243
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1244
case $ac_user_opts in
1248
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1249
ac_unrecognized_sep=', ';;
1251
eval with_$ac_useropt=no ;;
1254
# Obsolete; use --with-x.
1257
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1258
| --x-incl | --x-inc | --x-in | --x-i)
1259
ac_prev=x_includes ;;
1260
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1261
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1262
x_includes=$ac_optarg ;;
1264
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1265
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1266
ac_prev=x_libraries ;;
1267
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1268
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1269
x_libraries=$ac_optarg ;;
1271
-*) as_fn_error "unrecognized option: \`$ac_option'
1272
Try \`$0 --help' for more information."
1276
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1277
# Reject names that are not valid shell variable names.
1278
case $ac_envvar in #(
1279
'' | [0-9]* | *[!_$as_cr_alnum]* )
1280
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1282
eval $ac_envvar=\$ac_optarg
1283
export $ac_envvar ;;
1286
# FIXME: should be removed in autoconf 3.0.
1287
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1288
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1289
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1290
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1296
if test -n "$ac_prev"; then
1297
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1298
as_fn_error "missing argument to $ac_option"
1301
if test -n "$ac_unrecognized_opts"; then
1302
case $enable_option_checking in
1304
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1305
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1309
# Check all directory arguments for consistency.
1310
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1311
datadir sysconfdir sharedstatedir localstatedir includedir \
1312
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1313
libdir localedir mandir
1315
eval ac_val=\$$ac_var
1316
# Remove trailing slashes.
1319
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1320
eval $ac_var=\$ac_val;;
1322
# Be sure to have absolute directory names.
1324
[\\/$]* | ?:[\\/]* ) continue;;
1325
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1327
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1330
# There might be people who depend on the old broken behavior: `$host'
1331
# used to hold the argument of --host etc.
1332
# FIXME: To remove some day.
1335
target=$target_alias
1337
# FIXME: To remove some day.
1338
if test "x$host_alias" != x; then
1339
if test "x$build_alias" = x; then
1340
cross_compiling=maybe
1341
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1342
If a cross compiler is detected then cross compile mode will be used." >&2
1343
elif test "x$build_alias" != "x$host_alias"; then
1349
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1351
test "$silent" = yes && exec 6>/dev/null
1354
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1355
ac_ls_di=`ls -di .` &&
1356
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1357
as_fn_error "working directory cannot be determined"
1358
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1359
as_fn_error "pwd does not report name of working directory"
1362
# Find the source files, if location was not specified.
1363
if test -z "$srcdir"; then
1364
ac_srcdir_defaulted=yes
1365
# Try the directory containing this script, then the parent directory.
1366
ac_confdir=`$as_dirname -- "$as_myself" ||
1367
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1368
X"$as_myself" : 'X\(//\)[^/]' \| \
1369
X"$as_myself" : 'X\(//\)$' \| \
1370
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1371
$as_echo X"$as_myself" |
1372
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1390
if test ! -r "$srcdir/$ac_unique_file"; then
1394
ac_srcdir_defaulted=no
1396
if test ! -r "$srcdir/$ac_unique_file"; then
1397
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1398
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1400
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1402
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1404
# When building in place, set srcdir=.
1405
if test "$ac_abs_confdir" = "$ac_pwd"; then
1408
# Remove unnecessary trailing slashes from srcdir.
1409
# Double slashes in file names in object file debugging info
1410
# mess up M-x gdb in Emacs.
1412
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1414
for ac_var in $ac_precious_vars; do
1415
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1416
eval ac_env_${ac_var}_value=\$${ac_var}
1417
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1418
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1422
# Report the --help message.
1424
if test "$ac_init_help" = "long"; then
1425
# Omit some internal or obsolete options to make the list less imposing.
1426
# This message is too long to be a string in the A/UX 3.1 sh.
1428
\`configure' configures sqlite3cc 0.1.0 to adapt to many kinds of systems.
1430
Usage: $0 [OPTION]... [VAR=VALUE]...
1432
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1433
VAR=VALUE. See below for descriptions of some of the useful variables.
1435
Defaults for the options are specified in brackets.
1438
-h, --help display this help and exit
1439
--help=short display options specific to this package
1440
--help=recursive display the short help of all the included packages
1441
-V, --version display version information and exit
1442
-q, --quiet, --silent do not print \`checking...' messages
1443
--cache-file=FILE cache test results in FILE [disabled]
1444
-C, --config-cache alias for \`--cache-file=config.cache'
1445
-n, --no-create do not create output files
1446
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1448
Installation directories:
1449
--prefix=PREFIX install architecture-independent files in PREFIX
1450
[$ac_default_prefix]
1451
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1454
By default, \`make install' will install all the files in
1455
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1456
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1457
for instance \`--prefix=\$HOME'.
1459
For better control, use the options below.
1461
Fine tuning of the installation directories:
1462
--bindir=DIR user executables [EPREFIX/bin]
1463
--sbindir=DIR system admin executables [EPREFIX/sbin]
1464
--libexecdir=DIR program executables [EPREFIX/libexec]
1465
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1466
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1467
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1468
--libdir=DIR object code libraries [EPREFIX/lib]
1469
--includedir=DIR C header files [PREFIX/include]
1470
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1471
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1472
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1473
--infodir=DIR info documentation [DATAROOTDIR/info]
1474
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1475
--mandir=DIR man documentation [DATAROOTDIR/man]
1476
--docdir=DIR documentation root [DATAROOTDIR/doc/sqlite3cc]
1477
--htmldir=DIR html documentation [DOCDIR]
1478
--dvidir=DIR dvi documentation [DOCDIR]
1479
--pdfdir=DIR pdf documentation [DOCDIR]
1480
--psdir=DIR ps documentation [DOCDIR]
1486
--program-prefix=PREFIX prepend PREFIX to installed program names
1487
--program-suffix=SUFFIX append SUFFIX to installed program names
1488
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1491
--build=BUILD configure for building on BUILD [guessed]
1492
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1496
if test -n "$ac_init_help"; then
1497
case $ac_init_help in
1498
short | recursive ) echo "Configuration of sqlite3cc 0.1.0:";;
1503
--disable-option-checking ignore unrecognized --enable/--with options
1504
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1505
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1506
--enable-shared[=PKGS] build shared libraries [default=yes]
1507
--enable-static[=PKGS] build static libraries [default=yes]
1508
--enable-fast-install[=PKGS]
1509
optimize for fast installation [default=yes]
1510
--disable-dependency-tracking speeds up one-time build
1511
--enable-dependency-tracking do not reject slow dependency extractors
1512
--disable-libtool-lock avoid locking (might break parallel builds)
1515
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1516
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1517
--with-pic try to use only PIC/non-PIC objects [default=use
1519
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1521
Some influential environment variables:
1522
CC C compiler command
1523
CFLAGS C compiler flags
1524
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1525
nonstandard directory <lib dir>
1526
LIBS libraries to pass to the linker, e.g. -l<library>
1527
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1528
you have headers in a nonstandard directory <include dir>
1530
CXX C++ compiler command
1531
CXXFLAGS C++ compiler flags
1532
CXXCPP C++ preprocessor
1534
Use these variables to override the choices made by `configure' or to help
1535
it to find libraries and programs with nonstandard names/locations.
1537
Report bugs to <edam@waxworlds.org>.
1538
sqlite3cc home page: <http://www.waxworlds.org/edam/software/sqlite3cc>.
1543
if test "$ac_init_help" = "recursive"; then
1544
# If there are subdirs, report their specific --help.
1545
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1546
test -d "$ac_dir" ||
1547
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1552
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1554
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1555
# A ".." for each directory in $ac_dir_suffix.
1556
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1557
case $ac_top_builddir_sub in
1558
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1559
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1562
ac_abs_top_builddir=$ac_pwd
1563
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1564
# for backward compatibility:
1565
ac_top_builddir=$ac_top_build_prefix
1568
.) # We are building in place.
1570
ac_top_srcdir=$ac_top_builddir_sub
1571
ac_abs_top_srcdir=$ac_pwd ;;
1572
[\\/]* | ?:[\\/]* ) # Absolute name.
1573
ac_srcdir=$srcdir$ac_dir_suffix;
1574
ac_top_srcdir=$srcdir
1575
ac_abs_top_srcdir=$srcdir ;;
1577
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1578
ac_top_srcdir=$ac_top_build_prefix$srcdir
1579
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1581
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1583
cd "$ac_dir" || { ac_status=$?; continue; }
1584
# Check for guested configure.
1585
if test -f "$ac_srcdir/configure.gnu"; then
1587
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1588
elif test -f "$ac_srcdir/configure"; then
1590
$SHELL "$ac_srcdir/configure" --help=recursive
1592
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1594
cd "$ac_pwd" || { ac_status=$?; break; }
1598
test -n "$ac_init_help" && exit $ac_status
1599
if $ac_init_version; then
1601
sqlite3cc configure 0.1.0
1602
generated by GNU Autoconf 2.65
1604
Copyright (C) 2009 Free Software Foundation, Inc.
1605
This configure script is free software; the Free Software Foundation
1606
gives unlimited permission to copy, distribute and modify it.
1611
## ------------------------ ##
1612
## Autoconf initialization. ##
1613
## ------------------------ ##
1615
# ac_fn_c_try_compile LINENO
1616
# --------------------------
1617
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1618
ac_fn_c_try_compile ()
1620
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621
rm -f conftest.$ac_objext
1622
if { { ac_try="$ac_compile"
1624
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1625
*) ac_try_echo=$ac_try;;
1627
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628
$as_echo "$ac_try_echo"; } >&5
1629
(eval "$ac_compile") 2>conftest.err
1631
if test -s conftest.err; then
1632
grep -v '^ *+' conftest.err >conftest.er1
1633
cat conftest.er1 >&5
1634
mv -f conftest.er1 conftest.err
1636
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637
test $ac_status = 0; } && {
1638
test -z "$ac_c_werror_flag" ||
1639
test ! -s conftest.err
1640
} && test -s conftest.$ac_objext; then :
1643
$as_echo "$as_me: failed program was:" >&5
1644
sed 's/^/| /' conftest.$ac_ext >&5
1648
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1649
as_fn_set_status $ac_retval
1651
} # ac_fn_c_try_compile
1653
# ac_fn_c_try_link LINENO
1654
# -----------------------
1655
# Try to link conftest.$ac_ext, and return whether this succeeded.
1658
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659
rm -f conftest.$ac_objext conftest$ac_exeext
1660
if { { ac_try="$ac_link"
1662
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663
*) ac_try_echo=$ac_try;;
1665
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666
$as_echo "$ac_try_echo"; } >&5
1667
(eval "$ac_link") 2>conftest.err
1669
if test -s conftest.err; then
1670
grep -v '^ *+' conftest.err >conftest.er1
1671
cat conftest.er1 >&5
1672
mv -f conftest.er1 conftest.err
1674
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1675
test $ac_status = 0; } && {
1676
test -z "$ac_c_werror_flag" ||
1677
test ! -s conftest.err
1678
} && test -s conftest$ac_exeext && {
1679
test "$cross_compiling" = yes ||
1680
$as_test_x conftest$ac_exeext
1684
$as_echo "$as_me: failed program was:" >&5
1685
sed 's/^/| /' conftest.$ac_ext >&5
1689
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1690
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1691
# interfere with the next link command; also delete a directory that is
1692
# left behind by Apple's compiler. We do this before executing the actions.
1693
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1694
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695
as_fn_set_status $ac_retval
1697
} # ac_fn_c_try_link
1699
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1700
# -------------------------------------------------------
1701
# Tests whether HEADER exists and can be compiled using the include files in
1702
# INCLUDES, setting the cache variable VAR accordingly.
1703
ac_fn_c_check_header_compile ()
1705
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1707
$as_echo_n "checking for $2... " >&6; }
1708
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1709
$as_echo_n "(cached) " >&6
1711
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1712
/* end confdefs.h. */
1716
if ac_fn_c_try_compile "$LINENO"; then :
1721
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1725
$as_echo "$ac_res" >&6; }
1726
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1728
} # ac_fn_c_check_header_compile
1730
# ac_fn_c_try_cpp LINENO
1731
# ----------------------
1732
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1735
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736
if { { ac_try="$ac_cpp conftest.$ac_ext"
1738
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739
*) ac_try_echo=$ac_try;;
1741
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742
$as_echo "$ac_try_echo"; } >&5
1743
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1745
if test -s conftest.err; then
1746
grep -v '^ *+' conftest.err >conftest.er1
1747
cat conftest.er1 >&5
1748
mv -f conftest.er1 conftest.err
1750
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751
test $ac_status = 0; } >/dev/null && {
1752
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1753
test ! -s conftest.err
1757
$as_echo "$as_me: failed program was:" >&5
1758
sed 's/^/| /' conftest.$ac_ext >&5
1762
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763
as_fn_set_status $ac_retval
1767
# ac_fn_c_try_run LINENO
1768
# ----------------------
1769
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1770
# that executables *can* be run.
1773
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774
if { { ac_try="$ac_link"
1776
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1777
*) ac_try_echo=$ac_try;;
1779
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780
$as_echo "$ac_try_echo"; } >&5
1781
(eval "$ac_link") 2>&5
1783
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1785
{ { case "(($ac_try" in
1786
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1787
*) ac_try_echo=$ac_try;;
1789
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1790
$as_echo "$ac_try_echo"; } >&5
1791
(eval "$ac_try") 2>&5
1793
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1794
test $ac_status = 0; }; }; then :
1797
$as_echo "$as_me: program exited with status $ac_status" >&5
1798
$as_echo "$as_me: failed program was:" >&5
1799
sed 's/^/| /' conftest.$ac_ext >&5
1801
ac_retval=$ac_status
1803
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1804
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1805
as_fn_set_status $ac_retval
1809
# ac_fn_c_check_func LINENO FUNC VAR
1810
# ----------------------------------
1811
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1812
ac_fn_c_check_func ()
1814
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1816
$as_echo_n "checking for $2... " >&6; }
1817
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1818
$as_echo_n "(cached) " >&6
1820
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1821
/* end confdefs.h. */
1822
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1823
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1824
#define $2 innocuous_$2
1826
/* System header to define __stub macros and hopefully few prototypes,
1827
which can conflict with char $2 (); below.
1828
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1829
<limits.h> exists even on freestanding compilers. */
1832
# include <limits.h>
1834
# include <assert.h>
1839
/* Override any GCC internal prototype to avoid an error.
1840
Use char because int might match the return type of a GCC
1841
builtin and then its argument prototype would still apply. */
1846
/* The GNU C library defines this for functions which it implements
1847
to always fail with ENOSYS. Some functions are actually named
1848
something starting with __ and the normal name is an alias. */
1849
#if defined __stub_$2 || defined __stub___$2
1861
if ac_fn_c_try_link "$LINENO"; then :
1866
rm -f core conftest.err conftest.$ac_objext \
1867
conftest$ac_exeext conftest.$ac_ext
1870
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871
$as_echo "$ac_res" >&6; }
1872
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1874
} # ac_fn_c_check_func
1876
# ac_fn_cxx_try_compile LINENO
1877
# ----------------------------
1878
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1879
ac_fn_cxx_try_compile ()
1881
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882
rm -f conftest.$ac_objext
1883
if { { ac_try="$ac_compile"
1885
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1886
*) ac_try_echo=$ac_try;;
1888
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889
$as_echo "$ac_try_echo"; } >&5
1890
(eval "$ac_compile") 2>conftest.err
1892
if test -s conftest.err; then
1893
grep -v '^ *+' conftest.err >conftest.er1
1894
cat conftest.er1 >&5
1895
mv -f conftest.er1 conftest.err
1897
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898
test $ac_status = 0; } && {
1899
test -z "$ac_cxx_werror_flag" ||
1900
test ! -s conftest.err
1901
} && test -s conftest.$ac_objext; then :
1904
$as_echo "$as_me: failed program was:" >&5
1905
sed 's/^/| /' conftest.$ac_ext >&5
1909
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1910
as_fn_set_status $ac_retval
1912
} # ac_fn_cxx_try_compile
1914
# ac_fn_cxx_try_cpp LINENO
1915
# ------------------------
1916
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1917
ac_fn_cxx_try_cpp ()
1919
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920
if { { ac_try="$ac_cpp conftest.$ac_ext"
1922
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1923
*) ac_try_echo=$ac_try;;
1925
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926
$as_echo "$ac_try_echo"; } >&5
1927
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1929
if test -s conftest.err; then
1930
grep -v '^ *+' conftest.err >conftest.er1
1931
cat conftest.er1 >&5
1932
mv -f conftest.er1 conftest.err
1934
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1935
test $ac_status = 0; } >/dev/null && {
1936
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1937
test ! -s conftest.err
1941
$as_echo "$as_me: failed program was:" >&5
1942
sed 's/^/| /' conftest.$ac_ext >&5
1946
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1947
as_fn_set_status $ac_retval
1949
} # ac_fn_cxx_try_cpp
1951
# ac_fn_cxx_try_link LINENO
1952
# -------------------------
1953
# Try to link conftest.$ac_ext, and return whether this succeeded.
1954
ac_fn_cxx_try_link ()
1956
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957
rm -f conftest.$ac_objext conftest$ac_exeext
1958
if { { ac_try="$ac_link"
1960
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1961
*) ac_try_echo=$ac_try;;
1963
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1964
$as_echo "$ac_try_echo"; } >&5
1965
(eval "$ac_link") 2>conftest.err
1967
if test -s conftest.err; then
1968
grep -v '^ *+' conftest.err >conftest.er1
1969
cat conftest.er1 >&5
1970
mv -f conftest.er1 conftest.err
1972
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1973
test $ac_status = 0; } && {
1974
test -z "$ac_cxx_werror_flag" ||
1975
test ! -s conftest.err
1976
} && test -s conftest$ac_exeext && {
1977
test "$cross_compiling" = yes ||
1978
$as_test_x conftest$ac_exeext
1982
$as_echo "$as_me: failed program was:" >&5
1983
sed 's/^/| /' conftest.$ac_ext >&5
1987
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1988
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1989
# interfere with the next link command; also delete a directory that is
1990
# left behind by Apple's compiler. We do this before executing the actions.
1991
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1992
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1993
as_fn_set_status $ac_retval
1995
} # ac_fn_cxx_try_link
1997
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1998
# -------------------------------------------------------
1999
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2000
# the include files in INCLUDES and setting the cache variable VAR
2002
ac_fn_c_check_header_mongrel ()
2004
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2005
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2007
$as_echo_n "checking for $2... " >&6; }
2008
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2009
$as_echo_n "(cached) " >&6
2012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013
$as_echo "$ac_res" >&6; }
2015
# Is the header compilable?
2016
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2017
$as_echo_n "checking $2 usability... " >&6; }
2018
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2019
/* end confdefs.h. */
2023
if ac_fn_c_try_compile "$LINENO"; then :
2024
ac_header_compiler=yes
2026
ac_header_compiler=no
2028
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2029
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2030
$as_echo "$ac_header_compiler" >&6; }
2032
# Is the header present?
2033
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2034
$as_echo_n "checking $2 presence... " >&6; }
2035
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2036
/* end confdefs.h. */
2039
if ac_fn_c_try_cpp "$LINENO"; then :
2040
ac_header_preproc=yes
2042
ac_header_preproc=no
2044
rm -f conftest.err conftest.$ac_ext
2045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2046
$as_echo "$ac_header_preproc" >&6; }
2048
# So? What about this header?
2049
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2051
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2052
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2053
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2054
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2057
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2058
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2059
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2060
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2061
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2062
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2063
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2064
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2065
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2066
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2068
## --------------------------------- ##
2069
## Report this to edam@waxworlds.org ##
2070
## --------------------------------- ##
2072
) | sed "s/^/$as_me: WARNING: /" >&2
2075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2076
$as_echo_n "checking for $2... " >&6; }
2077
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2078
$as_echo_n "(cached) " >&6
2080
eval "$3=\$ac_header_compiler"
2083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2084
$as_echo "$ac_res" >&6; }
2086
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2088
} # ac_fn_c_check_header_mongrel
2089
cat >config.log <<_ACEOF
2090
This file contains any messages produced by compilers while
2091
running configure, to aid debugging if configure makes a mistake.
2093
It was created by sqlite3cc $as_me 0.1.0, which was
2094
generated by GNU Autoconf 2.65. Invocation command line was
2106
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2107
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2108
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2109
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2110
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2112
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2113
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2115
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2116
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2117
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2118
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2119
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2120
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2121
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2125
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129
test -z "$as_dir" && as_dir=.
2130
$as_echo "PATH: $as_dir"
2146
# Keep a trace of the command line.
2147
# Strip out --no-create and --no-recursion so they do not pile up.
2148
# Strip out --silent because we don't want to record it for future runs.
2149
# Also quote any args containing shell meta-characters.
2150
# Make two passes to allow for proper duplicate-argument suppression.
2154
ac_must_keep_next=false
2160
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2161
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2162
| -silent | --silent | --silen | --sile | --sil)
2165
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2168
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2170
as_fn_append ac_configure_args1 " '$ac_arg'"
2171
if test $ac_must_keep_next = true; then
2172
ac_must_keep_next=false # Got value, back to normal.
2175
*=* | --config-cache | -C | -disable-* | --disable-* \
2176
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2177
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2178
| -with-* | --with-* | -without-* | --without-* | --x)
2179
case "$ac_configure_args0 " in
2180
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2183
-* ) ac_must_keep_next=true ;;
2186
as_fn_append ac_configure_args " '$ac_arg'"
2191
{ ac_configure_args0=; unset ac_configure_args0;}
2192
{ ac_configure_args1=; unset ac_configure_args1;}
2194
# When interrupted or exit'd, cleanup temporary files, and complete
2195
# config.log. We remove comments because anyway the quotes in there
2196
# would cause problems or look ugly.
2197
# WARNING: Use '\'' to represent an apostrophe within the trap.
2198
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2199
trap 'exit_status=$?
2200
# Save into config.log some information that might help in debugging.
2205
## ---------------- ##
2206
## Cache variables. ##
2207
## ---------------- ##
2210
# The following way of writing the cache mishandles newlines in values,
2212
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2213
eval ac_val=\$$ac_var
2217
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2218
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2221
_ | IFS | as_nl) ;; #(
2222
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2223
*) { eval $ac_var=; unset $ac_var;} ;;
2228
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2229
*${as_nl}ac_space=\ *)
2231
"s/'\''/'\''\\\\'\'''\''/g;
2232
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2235
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2243
## ----------------- ##
2244
## Output variables. ##
2245
## ----------------- ##
2248
for ac_var in $ac_subst_vars
2250
eval ac_val=\$$ac_var
2252
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2254
$as_echo "$ac_var='\''$ac_val'\''"
2258
if test -n "$ac_subst_files"; then
2260
## ------------------- ##
2261
## File substitutions. ##
2262
## ------------------- ##
2265
for ac_var in $ac_subst_files
2267
eval ac_val=\$$ac_var
2269
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2271
$as_echo "$ac_var='\''$ac_val'\''"
2276
if test -s confdefs.h; then
2286
test "$ac_signal" != 0 &&
2287
$as_echo "$as_me: caught signal $ac_signal"
2288
$as_echo "$as_me: exit $exit_status"
2290
rm -f core *.core core.conftest.* &&
2291
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2294
for ac_signal in 1 2 13 15; do
2295
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2299
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2300
rm -f -r conftest* confdefs.h
2302
$as_echo "/* confdefs.h */" > confdefs.h
2304
# Predefined preprocessor variables.
2306
cat >>confdefs.h <<_ACEOF
2307
#define PACKAGE_NAME "$PACKAGE_NAME"
2310
cat >>confdefs.h <<_ACEOF
2311
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2314
cat >>confdefs.h <<_ACEOF
2315
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2318
cat >>confdefs.h <<_ACEOF
2319
#define PACKAGE_STRING "$PACKAGE_STRING"
2322
cat >>confdefs.h <<_ACEOF
2323
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2326
cat >>confdefs.h <<_ACEOF
2327
#define PACKAGE_URL "$PACKAGE_URL"
2331
# Let the site file select an alternate cache file if it wants to.
2332
# Prefer an explicitly selected file to automatically selected ones.
2335
if test -n "$CONFIG_SITE"; then
2336
ac_site_file1=$CONFIG_SITE
2337
elif test "x$prefix" != xNONE; then
2338
ac_site_file1=$prefix/share/config.site
2339
ac_site_file2=$prefix/etc/config.site
2341
ac_site_file1=$ac_default_prefix/share/config.site
2342
ac_site_file2=$ac_default_prefix/etc/config.site
2344
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2346
test "x$ac_site_file" = xNONE && continue
2347
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2348
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2349
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2350
sed 's/^/| /' "$ac_site_file" >&5
2355
if test -r "$cache_file"; then
2356
# Some versions of bash will fail to source /dev/null (special files
2357
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2358
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2359
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2360
$as_echo "$as_me: loading cache $cache_file" >&6;}
2362
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2363
*) . "./$cache_file";;
2367
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2368
$as_echo "$as_me: creating cache $cache_file" >&6;}
2372
# Check that the precious variables saved in the cache have kept the same
2374
ac_cache_corrupted=false
2375
for ac_var in $ac_precious_vars; do
2376
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2377
eval ac_new_set=\$ac_env_${ac_var}_set
2378
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2379
eval ac_new_val=\$ac_env_${ac_var}_value
2380
case $ac_old_set,$ac_new_set in
2382
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2383
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2384
ac_cache_corrupted=: ;;
2386
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2387
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2388
ac_cache_corrupted=: ;;
2391
if test "x$ac_old_val" != "x$ac_new_val"; then
2392
# differences in whitespace do not lead to failure.
2393
ac_old_val_w=`echo x $ac_old_val`
2394
ac_new_val_w=`echo x $ac_new_val`
2395
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2396
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2397
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2398
ac_cache_corrupted=:
2400
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2401
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2402
eval $ac_var=\$ac_old_val
2404
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2405
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2406
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2407
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2410
# Pass precious variables to config.status.
2411
if test "$ac_new_set" = set; then
2413
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2414
*) ac_arg=$ac_var=$ac_new_val ;;
2416
case " $ac_configure_args " in
2417
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2418
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2422
if $ac_cache_corrupted; then
2423
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2424
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2425
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2426
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2427
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2429
## -------------------- ##
2430
## Main body of script. ##
2431
## -------------------- ##
2434
ac_cpp='$CPP $CPPFLAGS'
2435
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2436
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2437
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2440
LIBSQLITE3CC_INTERFACE=0:0:0
2443
for ac_dir in build-aux "$srcdir"/build-aux; do
2444
for ac_t in install-sh install.sh shtool; do
2445
if test -f "$ac_dir/$ac_t"; then
2447
ac_install_sh="$ac_aux_dir/$ac_t -c"
2452
if test -z "$ac_aux_dir"; then
2453
as_fn_error "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2456
# These three variables are undocumented and unsupported,
2457
# and are intended to be withdrawn in a future Autoconf release.
2458
# They can cause serious problems if a builder's source tree is in a directory
2459
# whose full name contains unusual characters.
2460
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2461
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2462
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2466
am__api_version='1.11'
2468
# Find a good install program. We prefer a C program (faster),
2469
# so one script is as good as another. But avoid the broken or
2470
# incompatible versions:
2471
# SysV /etc/install, /usr/sbin/install
2472
# SunOS /usr/etc/install
2473
# IRIX /sbin/install
2475
# AmigaOS /C/install, which installs bootblocks on floppy discs
2476
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2477
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2478
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2479
# OS/2's system install, which has a completely different semantic
2480
# ./install, which can be erroneously created by make from ./install.sh.
2481
# Reject install programs that cannot install multiple files.
2482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2483
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2484
if test -z "$INSTALL"; then
2485
if test "${ac_cv_path_install+set}" = set; then :
2486
$as_echo_n "(cached) " >&6
2488
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2492
test -z "$as_dir" && as_dir=.
2493
# Account for people who put trailing slashes in PATH elements.
2494
case $as_dir/ in #((
2495
./ | .// | /[cC]/* | \
2496
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2497
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2500
# OSF1 and SCO ODT 3.0 have their own names for install.
2501
# Don't use installbsd from OSF since it installs stuff as root
2503
for ac_prog in ginstall scoinst install; do
2504
for ac_exec_ext in '' $ac_executable_extensions; do
2505
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2506
if test $ac_prog = install &&
2507
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2508
# AIX install. It has an incompatible calling convention.
2510
elif test $ac_prog = install &&
2511
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2512
# program-specific install script used by HP pwplus--don't use.
2515
rm -rf conftest.one conftest.two conftest.dir
2516
echo one > conftest.one
2517
echo two > conftest.two
2519
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2520
test -s conftest.one && test -s conftest.two &&
2521
test -s conftest.dir/conftest.one &&
2522
test -s conftest.dir/conftest.two
2524
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2537
rm -rf conftest.one conftest.two conftest.dir
2540
if test "${ac_cv_path_install+set}" = set; then
2541
INSTALL=$ac_cv_path_install
2543
# As a last resort, use the slow shell script. Don't cache a
2544
# value for INSTALL within a source directory, because that will
2545
# break other packages using the cache if that directory is
2546
# removed, or if the value is a relative name.
2547
INSTALL=$ac_install_sh
2550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2551
$as_echo "$INSTALL" >&6; }
2553
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2554
# It thinks the first close brace ends the variable substitution.
2555
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2557
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2559
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2561
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2562
$as_echo_n "checking whether build environment is sane... " >&6; }
2565
echo timestamp > conftest.file
2566
# Reject unsafe characters in $srcdir or the absolute working directory
2567
# name. Accept space and tab only in the latter.
2571
*[\\\"\#\$\&\'\`$am_lf]*)
2572
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2575
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2576
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2579
# Do `set' in a subshell so we don't clobber the current shell's
2580
# arguments. Must try -L first in case configure is actually a
2581
# symlink; some systems play weird games with the mod time of symlinks
2582
# (eg FreeBSD returns the mod time of the symlink's containing
2585
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2586
if test "$*" = "X"; then
2588
set X `ls -t "$srcdir/configure" conftest.file`
2591
if test "$*" != "X $srcdir/configure conftest.file" \
2592
&& test "$*" != "X conftest.file $srcdir/configure"; then
2594
# If neither matched, then we have a broken ls. This can happen
2595
# if, for instance, CONFIG_SHELL is bash and it inherits a
2596
# broken ls alias from the environment. This has actually
2597
# happened. Such a system could not be considered "sane".
2598
as_fn_error "ls -t appears to fail. Make sure there is not a broken
2599
alias in your environment" "$LINENO" 5
2602
test "$2" = conftest.file
2608
as_fn_error "newly created file is older than distributed files!
2609
Check your system clock" "$LINENO" 5
2611
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2612
$as_echo "yes" >&6; }
2613
test "$program_prefix" != NONE &&
2614
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2615
# Use a double $ so make ignores it.
2616
test "$program_suffix" != NONE &&
2617
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2618
# Double any \ or $.
2619
# By default was `s,x,x', remove it if useless.
2620
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2621
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2623
# expand $ac_aux_dir to an absolute path
2624
am_aux_dir=`cd $ac_aux_dir && pwd`
2626
if test x"${MISSING+set}" != xset; then
2629
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2631
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2634
# Use eval to expand $SHELL
2635
if eval "$MISSING --run true"; then
2636
am_missing_run="$MISSING --run "
2639
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2640
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2643
if test x"${install_sh}" != xset; then
2646
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2648
install_sh="\${SHELL} $am_aux_dir/install-sh"
2652
# Installed binaries are usually stripped using `strip' when the user
2653
# run `make install-strip'. However `strip' might not be the right
2654
# tool to use in cross-compilation environments, therefore Automake
2655
# will honor the `STRIP' environment variable to overrule this program.
2656
if test "$cross_compiling" != no; then
2657
if test -n "$ac_tool_prefix"; then
2658
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2659
set dummy ${ac_tool_prefix}strip; ac_word=$2
2660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2661
$as_echo_n "checking for $ac_word... " >&6; }
2662
if test "${ac_cv_prog_STRIP+set}" = set; then :
2663
$as_echo_n "(cached) " >&6
2665
if test -n "$STRIP"; then
2666
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2668
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2672
test -z "$as_dir" && as_dir=.
2673
for ac_exec_ext in '' $ac_executable_extensions; do
2674
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2675
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2676
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2685
STRIP=$ac_cv_prog_STRIP
2686
if test -n "$STRIP"; then
2687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2688
$as_echo "$STRIP" >&6; }
2690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2691
$as_echo "no" >&6; }
2696
if test -z "$ac_cv_prog_STRIP"; then
2698
# Extract the first word of "strip", so it can be a program name with args.
2699
set dummy strip; ac_word=$2
2700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2701
$as_echo_n "checking for $ac_word... " >&6; }
2702
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2703
$as_echo_n "(cached) " >&6
2705
if test -n "$ac_ct_STRIP"; then
2706
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2708
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2712
test -z "$as_dir" && as_dir=.
2713
for ac_exec_ext in '' $ac_executable_extensions; do
2714
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2715
ac_cv_prog_ac_ct_STRIP="strip"
2716
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2725
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2726
if test -n "$ac_ct_STRIP"; then
2727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2728
$as_echo "$ac_ct_STRIP" >&6; }
2730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2731
$as_echo "no" >&6; }
2734
if test "x$ac_ct_STRIP" = x; then
2737
case $cross_compiling:$ac_tool_warned in
2739
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2740
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2741
ac_tool_warned=yes ;;
2746
STRIP="$ac_cv_prog_STRIP"
2750
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2753
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2754
if test -z "$MKDIR_P"; then
2755
if test "${ac_cv_path_mkdir+set}" = set; then :
2756
$as_echo_n "(cached) " >&6
2758
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2759
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2762
test -z "$as_dir" && as_dir=.
2763
for ac_prog in mkdir gmkdir; do
2764
for ac_exec_ext in '' $ac_executable_extensions; do
2765
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2766
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2767
'mkdir (GNU coreutils) '* | \
2768
'mkdir (coreutils) '* | \
2769
'mkdir (fileutils) '4.1*)
2770
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2780
test -d ./--version && rmdir ./--version
2781
if test "${ac_cv_path_mkdir+set}" = set; then
2782
MKDIR_P="$ac_cv_path_mkdir -p"
2784
# As a last resort, use the slow shell script. Don't cache a
2785
# value for MKDIR_P within a source directory, because that will
2786
# break other packages using the cache if that directory is
2787
# removed, or if the value is a relative name.
2788
MKDIR_P="$ac_install_sh -d"
2791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2792
$as_echo "$MKDIR_P" >&6; }
2796
[\\/$]* | ?:[\\/]*) ;;
2797
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2800
for ac_prog in gawk mawk nawk awk
2802
# Extract the first word of "$ac_prog", so it can be a program name with args.
2803
set dummy $ac_prog; ac_word=$2
2804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2805
$as_echo_n "checking for $ac_word... " >&6; }
2806
if test "${ac_cv_prog_AWK+set}" = set; then :
2807
$as_echo_n "(cached) " >&6
2809
if test -n "$AWK"; then
2810
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2812
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2816
test -z "$as_dir" && as_dir=.
2817
for ac_exec_ext in '' $ac_executable_extensions; do
2818
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2819
ac_cv_prog_AWK="$ac_prog"
2820
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2830
if test -n "$AWK"; then
2831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2832
$as_echo "$AWK" >&6; }
2834
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2835
$as_echo "no" >&6; }
2839
test -n "$AWK" && break
2842
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2843
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2845
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2846
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2847
$as_echo_n "(cached) " >&6
2849
cat >conftest.make <<\_ACEOF
2852
@echo '@@@%%%=$(MAKE)=@@@%%%'
2854
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2855
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2857
eval ac_cv_prog_make_${ac_make}_set=yes;;
2859
eval ac_cv_prog_make_${ac_make}_set=no;;
2863
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2865
$as_echo "yes" >&6; }
2868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2869
$as_echo "no" >&6; }
2870
SET_MAKE="MAKE=${MAKE-make}"
2873
rm -rf .tst 2>/dev/null
2874
mkdir .tst 2>/dev/null
2875
if test -d .tst; then
2880
rmdir .tst 2>/dev/null
2882
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2883
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2884
# is not polluted with repeated "-I."
2885
am__isrc=' -I$(srcdir)'
2886
# test to see if srcdir already configured
2887
if test -f $srcdir/config.status; then
2888
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2892
# test whether we have cygpath
2893
if test -z "$CYGPATH_W"; then
2894
if (cygpath --version) >/dev/null 2>/dev/null; then
2895
CYGPATH_W='cygpath -w'
2902
# Define the identity of the package.
2907
cat >>confdefs.h <<_ACEOF
2908
#define PACKAGE "$PACKAGE"
2912
cat >>confdefs.h <<_ACEOF
2913
#define VERSION "$VERSION"
2916
# Some tools Automake needs.
2918
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2921
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2924
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2927
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2930
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2932
# We need awk for the "check" target. The system "awk" is bad on
2934
# Always define AMTAR for backward compatibility.
2936
AMTAR=${AMTAR-"${am_missing_run}tar"}
2938
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2945
ac_config_headers="$ac_config_headers config.h"
2949
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2950
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2955
macro_version='2.2.6b'
2956
macro_revision='1.3017'
2970
ltmain="$ac_aux_dir/ltmain.sh"
2972
# Make sure we can run config.sub.
2973
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2974
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2976
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2977
$as_echo_n "checking build system type... " >&6; }
2978
if test "${ac_cv_build+set}" = set; then :
2979
$as_echo_n "(cached) " >&6
2981
ac_build_alias=$build_alias
2982
test "x$ac_build_alias" = x &&
2983
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2984
test "x$ac_build_alias" = x &&
2985
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2986
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2987
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2991
$as_echo "$ac_cv_build" >&6; }
2992
case $ac_cv_build in
2994
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2997
ac_save_IFS=$IFS; IFS='-'
3003
# Remember, the first character of IFS is used to create $*,
3004
# except with old shells:
3007
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3010
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3011
$as_echo_n "checking host system type... " >&6; }
3012
if test "${ac_cv_host+set}" = set; then :
3013
$as_echo_n "(cached) " >&6
3015
if test "x$host_alias" = x; then
3016
ac_cv_host=$ac_cv_build
3018
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3019
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3024
$as_echo "$ac_cv_host" >&6; }
3027
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3030
ac_save_IFS=$IFS; IFS='-'
3036
# Remember, the first character of IFS is used to create $*,
3037
# except with old shells:
3040
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3043
DEPDIR="${am__leading_dot}deps"
3045
ac_config_commands="$ac_config_commands depfiles"
3048
am_make=${MAKE-make}
3049
cat > confinc << 'END'
3051
@echo this is the am__doit target
3054
# If we don't find an include directive, just comment out the code.
3055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3056
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3060
# First try GNU make style include.
3061
echo "include confinc" > confmf
3062
# Ignore all kinds of additional output from `make'.
3063
case `$am_make -s -f confmf 2> /dev/null` in #(
3064
*the\ am__doit\ target*)
3070
# Now try BSD make style include.
3071
if test "$am__include" = "#"; then
3072
echo '.include "confinc"' > confmf
3073
case `$am_make -s -f confmf 2> /dev/null` in #(
3074
*the\ am__doit\ target*)
3075
am__include=.include
3083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3084
$as_echo "$_am_result" >&6; }
3085
rm -f confinc confmf
3087
# Check whether --enable-dependency-tracking was given.
3088
if test "${enable_dependency_tracking+set}" = set; then :
3089
enableval=$enable_dependency_tracking;
3092
if test "x$enable_dependency_tracking" != xno; then
3093
am_depcomp="$ac_aux_dir/depcomp"
3096
if test "x$enable_dependency_tracking" != xno; then
3106
ac_cpp='$CPP $CPPFLAGS'
3107
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3108
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3109
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3110
if test -n "$ac_tool_prefix"; then
3111
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3112
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114
$as_echo_n "checking for $ac_word... " >&6; }
3115
if test "${ac_cv_prog_CC+set}" = set; then :
3116
$as_echo_n "(cached) " >&6
3118
if test -n "$CC"; then
3119
ac_cv_prog_CC="$CC" # Let the user override the test.
3121
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3125
test -z "$as_dir" && as_dir=.
3126
for ac_exec_ext in '' $ac_executable_extensions; do
3127
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3128
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3129
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3139
if test -n "$CC"; then
3140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3141
$as_echo "$CC" >&6; }
3143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144
$as_echo "no" >&6; }
3149
if test -z "$ac_cv_prog_CC"; then
3151
# Extract the first word of "gcc", so it can be a program name with args.
3152
set dummy gcc; ac_word=$2
3153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3154
$as_echo_n "checking for $ac_word... " >&6; }
3155
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3156
$as_echo_n "(cached) " >&6
3158
if test -n "$ac_ct_CC"; then
3159
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3161
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165
test -z "$as_dir" && as_dir=.
3166
for ac_exec_ext in '' $ac_executable_extensions; do
3167
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3168
ac_cv_prog_ac_ct_CC="gcc"
3169
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3179
if test -n "$ac_ct_CC"; then
3180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3181
$as_echo "$ac_ct_CC" >&6; }
3183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184
$as_echo "no" >&6; }
3187
if test "x$ac_ct_CC" = x; then
3190
case $cross_compiling:$ac_tool_warned in
3192
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3193
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3194
ac_tool_warned=yes ;;
3202
if test -z "$CC"; then
3203
if test -n "$ac_tool_prefix"; then
3204
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3205
set dummy ${ac_tool_prefix}cc; ac_word=$2
3206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3207
$as_echo_n "checking for $ac_word... " >&6; }
3208
if test "${ac_cv_prog_CC+set}" = set; then :
3209
$as_echo_n "(cached) " >&6
3211
if test -n "$CC"; then
3212
ac_cv_prog_CC="$CC" # Let the user override the test.
3214
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218
test -z "$as_dir" && as_dir=.
3219
for ac_exec_ext in '' $ac_executable_extensions; do
3220
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3221
ac_cv_prog_CC="${ac_tool_prefix}cc"
3222
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3232
if test -n "$CC"; then
3233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3234
$as_echo "$CC" >&6; }
3236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3237
$as_echo "no" >&6; }
3243
if test -z "$CC"; then
3244
# Extract the first word of "cc", so it can be a program name with args.
3245
set dummy cc; ac_word=$2
3246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3247
$as_echo_n "checking for $ac_word... " >&6; }
3248
if test "${ac_cv_prog_CC+set}" = set; then :
3249
$as_echo_n "(cached) " >&6
3251
if test -n "$CC"; then
3252
ac_cv_prog_CC="$CC" # Let the user override the test.
3255
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259
test -z "$as_dir" && as_dir=.
3260
for ac_exec_ext in '' $ac_executable_extensions; do
3261
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3262
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3263
ac_prog_rejected=yes
3267
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3274
if test $ac_prog_rejected = yes; then
3275
# We found a bogon in the path, so make sure we never use it.
3276
set dummy $ac_cv_prog_CC
3278
if test $# != 0; then
3279
# We chose a different compiler from the bogus one.
3280
# However, it has the same basename, so the bogon will be chosen
3281
# first if we set CC to just the basename; use the full file name.
3283
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3289
if test -n "$CC"; then
3290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3291
$as_echo "$CC" >&6; }
3293
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3294
$as_echo "no" >&6; }
3299
if test -z "$CC"; then
3300
if test -n "$ac_tool_prefix"; then
3301
for ac_prog in cl.exe
3303
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3304
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3305
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3306
$as_echo_n "checking for $ac_word... " >&6; }
3307
if test "${ac_cv_prog_CC+set}" = set; then :
3308
$as_echo_n "(cached) " >&6
3310
if test -n "$CC"; then
3311
ac_cv_prog_CC="$CC" # Let the user override the test.
3313
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317
test -z "$as_dir" && as_dir=.
3318
for ac_exec_ext in '' $ac_executable_extensions; do
3319
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3320
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3321
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3331
if test -n "$CC"; then
3332
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3333
$as_echo "$CC" >&6; }
3335
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3336
$as_echo "no" >&6; }
3340
test -n "$CC" && break
3343
if test -z "$CC"; then
3345
for ac_prog in cl.exe
3347
# Extract the first word of "$ac_prog", so it can be a program name with args.
3348
set dummy $ac_prog; ac_word=$2
3349
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3350
$as_echo_n "checking for $ac_word... " >&6; }
3351
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3352
$as_echo_n "(cached) " >&6
3354
if test -n "$ac_ct_CC"; then
3355
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3357
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3361
test -z "$as_dir" && as_dir=.
3362
for ac_exec_ext in '' $ac_executable_extensions; do
3363
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3364
ac_cv_prog_ac_ct_CC="$ac_prog"
3365
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3374
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3375
if test -n "$ac_ct_CC"; then
3376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3377
$as_echo "$ac_ct_CC" >&6; }
3379
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3380
$as_echo "no" >&6; }
3384
test -n "$ac_ct_CC" && break
3387
if test "x$ac_ct_CC" = x; then
3390
case $cross_compiling:$ac_tool_warned in
3392
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3393
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3394
ac_tool_warned=yes ;;
3403
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3404
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3405
as_fn_error "no acceptable C compiler found in \$PATH
3406
See \`config.log' for more details." "$LINENO" 5; }
3408
# Provide some information about the compiler.
3409
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3412
for ac_option in --version -v -V -qversion; do
3413
{ { ac_try="$ac_compiler $ac_option >&5"
3415
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3416
*) ac_try_echo=$ac_try;;
3418
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3419
$as_echo "$ac_try_echo"; } >&5
3420
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3422
if test -s conftest.err; then
3424
... rest of stderr output deleted ...
3425
10q' conftest.err >conftest.er1
3426
cat conftest.er1 >&5
3428
rm -f conftest.er1 conftest.err
3429
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3430
test $ac_status = 0; }
3433
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434
/* end confdefs.h. */
3444
ac_clean_files_save=$ac_clean_files
3445
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3446
# Try to create an executable without -o first, disregard a.out.
3447
# It will help us diagnose broken compilers, and finding out an intuition
3449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3450
$as_echo_n "checking whether the C compiler works... " >&6; }
3451
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3453
# The possible output files:
3454
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3457
for ac_file in $ac_files
3460
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3461
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3466
if { { ac_try="$ac_link_default"
3468
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3469
*) ac_try_echo=$ac_try;;
3471
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3472
$as_echo "$ac_try_echo"; } >&5
3473
(eval "$ac_link_default") 2>&5
3475
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3476
test $ac_status = 0; }; then :
3477
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3478
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3479
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3480
# so that the user can short-circuit this test for compilers unknown to
3482
for ac_file in $ac_files ''
3484
test -f "$ac_file" || continue
3486
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3489
# We found the default executable, but exeext='' is most
3493
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3495
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3497
# We set ac_cv_exeext here because the later test for it is not
3498
# safe: cross compilers may not add the suffix if given an `-o'
3499
# argument, so we may need to know it at that point already.
3500
# Even if this section looks crufty: it has the advantage of
3507
test "$ac_cv_exeext" = no && ac_cv_exeext=
3512
if test -z "$ac_file"; then :
3513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514
$as_echo "no" >&6; }
3515
$as_echo "$as_me: failed program was:" >&5
3516
sed 's/^/| /' conftest.$ac_ext >&5
3518
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3519
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3520
{ as_fn_set_status 77
3521
as_fn_error "C compiler cannot create executables
3522
See \`config.log' for more details." "$LINENO" 5; }; }
3524
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3525
$as_echo "yes" >&6; }
3527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3528
$as_echo_n "checking for C compiler default output file name... " >&6; }
3529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3530
$as_echo "$ac_file" >&6; }
3531
ac_exeext=$ac_cv_exeext
3533
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3534
ac_clean_files=$ac_clean_files_save
3535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3536
$as_echo_n "checking for suffix of executables... " >&6; }
3537
if { { ac_try="$ac_link"
3539
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3540
*) ac_try_echo=$ac_try;;
3542
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3543
$as_echo "$ac_try_echo"; } >&5
3544
(eval "$ac_link") 2>&5
3546
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3547
test $ac_status = 0; }; then :
3548
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3549
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3550
# work properly (i.e., refer to `conftest.exe'), while it won't with
3552
for ac_file in conftest.exe conftest conftest.*; do
3553
test -f "$ac_file" || continue
3555
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3556
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3562
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3563
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3564
as_fn_error "cannot compute suffix of executables: cannot compile and link
3565
See \`config.log' for more details." "$LINENO" 5; }
3567
rm -f conftest conftest$ac_cv_exeext
3568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3569
$as_echo "$ac_cv_exeext" >&6; }
3571
rm -f conftest.$ac_ext
3572
EXEEXT=$ac_cv_exeext
3574
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3575
/* end confdefs.h. */
3580
FILE *f = fopen ("conftest.out", "w");
3581
return ferror (f) || fclose (f) != 0;
3587
ac_clean_files="$ac_clean_files conftest.out"
3588
# Check that the compiler produces executables we can run. If not, either
3589
# the compiler is broken, or we cross compile.
3590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3591
$as_echo_n "checking whether we are cross compiling... " >&6; }
3592
if test "$cross_compiling" != yes; then
3593
{ { ac_try="$ac_link"
3595
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3596
*) ac_try_echo=$ac_try;;
3598
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3599
$as_echo "$ac_try_echo"; } >&5
3600
(eval "$ac_link") 2>&5
3602
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3603
test $ac_status = 0; }
3604
if { ac_try='./conftest$ac_cv_exeext'
3605
{ { case "(($ac_try" in
3606
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3607
*) ac_try_echo=$ac_try;;
3609
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3610
$as_echo "$ac_try_echo"; } >&5
3611
(eval "$ac_try") 2>&5
3613
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3614
test $ac_status = 0; }; }; then
3617
if test "$cross_compiling" = maybe; then
3620
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3621
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3622
as_fn_error "cannot run C compiled programs.
3623
If you meant to cross compile, use \`--host'.
3624
See \`config.log' for more details." "$LINENO" 5; }
3628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3629
$as_echo "$cross_compiling" >&6; }
3631
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3632
ac_clean_files=$ac_clean_files_save
3633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3634
$as_echo_n "checking for suffix of object files... " >&6; }
3635
if test "${ac_cv_objext+set}" = set; then :
3636
$as_echo_n "(cached) " >&6
3638
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3639
/* end confdefs.h. */
3649
rm -f conftest.o conftest.obj
3650
if { { ac_try="$ac_compile"
3652
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3653
*) ac_try_echo=$ac_try;;
3655
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3656
$as_echo "$ac_try_echo"; } >&5
3657
(eval "$ac_compile") 2>&5
3659
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3660
test $ac_status = 0; }; then :
3661
for ac_file in conftest.o conftest.obj conftest.*; do
3662
test -f "$ac_file" || continue;
3664
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3665
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3670
$as_echo "$as_me: failed program was:" >&5
3671
sed 's/^/| /' conftest.$ac_ext >&5
3673
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3674
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3675
as_fn_error "cannot compute suffix of object files: cannot compile
3676
See \`config.log' for more details." "$LINENO" 5; }
3678
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3681
$as_echo "$ac_cv_objext" >&6; }
3682
OBJEXT=$ac_cv_objext
3684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3685
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3686
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3687
$as_echo_n "(cached) " >&6
3689
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690
/* end confdefs.h. */
3703
if ac_fn_c_try_compile "$LINENO"; then :
3708
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3709
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3713
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3714
if test $ac_compiler_gnu = yes; then
3719
ac_test_CFLAGS=${CFLAGS+set}
3720
ac_save_CFLAGS=$CFLAGS
3721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3722
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3723
if test "${ac_cv_prog_cc_g+set}" = set; then :
3724
$as_echo_n "(cached) " >&6
3726
ac_save_c_werror_flag=$ac_c_werror_flag
3727
ac_c_werror_flag=yes
3730
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3731
/* end confdefs.h. */
3741
if ac_fn_c_try_compile "$LINENO"; then :
3745
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3746
/* end confdefs.h. */
3756
if ac_fn_c_try_compile "$LINENO"; then :
3759
ac_c_werror_flag=$ac_save_c_werror_flag
3761
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762
/* end confdefs.h. */
3772
if ac_fn_c_try_compile "$LINENO"; then :
3775
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3777
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3779
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3780
ac_c_werror_flag=$ac_save_c_werror_flag
3782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3783
$as_echo "$ac_cv_prog_cc_g" >&6; }
3784
if test "$ac_test_CFLAGS" = set; then
3785
CFLAGS=$ac_save_CFLAGS
3786
elif test $ac_cv_prog_cc_g = yes; then
3787
if test "$GCC" = yes; then
3793
if test "$GCC" = yes; then
3799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3800
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3801
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3802
$as_echo_n "(cached) " >&6
3804
ac_cv_prog_cc_c89=no
3806
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3807
/* end confdefs.h. */
3810
#include <sys/types.h>
3811
#include <sys/stat.h>
3812
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3813
struct buf { int x; };
3814
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3815
static char *e (p, i)
3821
static char *f (char * (*g) (char **, int), char **p, ...)
3826
s = g (p, va_arg (v,int));
3831
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3832
function prototypes and stuff, but not '\xHH' hex character constants.
3833
These don't provoke an error unfortunately, instead are silently treated
3834
as 'x'. The following induces an error, until -std is added to get
3835
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3836
array size at least. It's necessary to write '\x00'==0 to get something
3837
that's true only with -std. */
3838
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3840
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3841
inside strings and character constants. */
3843
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3845
int test (int i, double x);
3846
struct s1 {int (*f) (int a);};
3847
struct s2 {int (*f) (double a);};
3848
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3854
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3859
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3860
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3862
CC="$ac_save_CC $ac_arg"
3863
if ac_fn_c_try_compile "$LINENO"; then :
3864
ac_cv_prog_cc_c89=$ac_arg
3866
rm -f core conftest.err conftest.$ac_objext
3867
test "x$ac_cv_prog_cc_c89" != "xno" && break
3869
rm -f conftest.$ac_ext
3874
case "x$ac_cv_prog_cc_c89" in
3876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3877
$as_echo "none needed" >&6; } ;;
3879
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3880
$as_echo "unsupported" >&6; } ;;
3882
CC="$CC $ac_cv_prog_cc_c89"
3883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3884
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3886
if test "x$ac_cv_prog_cc_c89" != xno; then :
3891
ac_cpp='$CPP $CPPFLAGS'
3892
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3893
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3894
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3896
depcc="$CC" am_compiler_list=
3898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3899
$as_echo_n "checking dependency style of $depcc... " >&6; }
3900
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3901
$as_echo_n "(cached) " >&6
3903
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3904
# We make a subdir and do the tests there. Otherwise we can end up
3905
# making bogus files that we don't know about and never remove. For
3906
# instance it was reported that on HP-UX the gcc test will end up
3907
# making a dummy file named `D' -- because `-MD' means `put the output
3910
# Copy depcomp to subdir because otherwise we won't find it if we're
3911
# using a relative directory.
3912
cp "$am_depcomp" conftest.dir
3914
# We will build objects and dependencies in a subdirectory because
3915
# it helps to detect inapplicable dependency modes. For instance
3916
# both Tru64's cc and ICC support -MD to output dependencies as a
3917
# side effect of compilation, but ICC will put the dependencies in
3918
# the current directory while Tru64 will put them in the object
3922
am_cv_CC_dependencies_compiler_type=none
3923
if test "$am_compiler_list" = ""; then
3924
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3927
case " $depcc " in #(
3928
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3931
for depmode in $am_compiler_list; do
3932
# Setup a source with many dependencies, because some compilers
3933
# like to wrap large dependency lists on column 80 (with \), and
3934
# we should not choose a depcomp mode which is confused by this.
3936
# We need to recreate these files for each test, as the compiler may
3937
# overwrite some of them when testing with obscure command lines.
3938
# This happens at least with the AIX C compiler.
3940
for i in 1 2 3 4 5 6; do
3941
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3942
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3943
# Solaris 8's {/usr,}/bin/sh.
3944
touch sub/conftst$i.h
3946
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3948
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3949
# mode. It turns out that the SunPro C++ compiler does not properly
3950
# handle `-M -o', and we need to detect this. Also, some Intel
3951
# versions had trouble with output in subdirs
3952
am__obj=sub/conftest.${OBJEXT-o}
3953
am__minus_obj="-o $am__obj"
3956
# This depmode causes a compiler race in universal mode.
3957
test "$am__universal" = false || continue
3960
# after this tag, mechanisms are not by side-effect, so they'll
3961
# only be used when explicitly requested
3962
if test "x$enable_dependency_tracking" = xyes; then
3968
msvisualcpp | msvcmsys)
3969
# This compiler won't grok `-c -o', but also, the minuso test has
3970
# not run yet. These depmodes are late enough in the game, and
3971
# so weak that their functioning should not be impacted.
3972
am__obj=conftest.${OBJEXT-o}
3977
if depmode=$depmode \
3978
source=sub/conftest.c object=$am__obj \
3979
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3980
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3981
>/dev/null 2>conftest.err &&
3982
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3983
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3984
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3985
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3986
# icc doesn't choke on unknown options, it will just issue warnings
3987
# or remarks (even with -Werror). So we grep stderr for any message
3988
# that says an option was ignored or not supported.
3989
# When given -MP, icc 7.0 and 7.1 complain thusly:
3990
# icc: Command line warning: ignoring option '-M'; no argument required
3991
# The diagnosis changed in icc 8.0:
3992
# icc: Command line remark: option '-MP' not supported
3993
if (grep 'ignoring option' conftest.err ||
3994
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3995
am_cv_CC_dependencies_compiler_type=$depmode
4004
am_cv_CC_dependencies_compiler_type=none
4008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4009
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4010
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4013
test "x$enable_dependency_tracking" != xno \
4014
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4016
am__fastdepCC_FALSE='#'
4018
am__fastdepCC_TRUE='#'
4019
am__fastdepCC_FALSE=
4023
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4024
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4025
if test "${ac_cv_path_SED+set}" = set; then :
4026
$as_echo_n "(cached) " >&6
4028
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4029
for ac_i in 1 2 3 4 5 6 7; do
4030
ac_script="$ac_script$as_nl$ac_script"
4032
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4033
{ ac_script=; unset ac_script;}
4034
if test -z "$SED"; then
4035
ac_path_SED_found=false
4036
# Loop through the user's path and test for each of PROGNAME-LIST
4037
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4041
test -z "$as_dir" && as_dir=.
4042
for ac_prog in sed gsed; do
4043
for ac_exec_ext in '' $ac_executable_extensions; do
4044
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4045
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4046
# Check for GNU ac_path_SED and select it if it is found.
4047
# Check for GNU $ac_path_SED
4048
case `"$ac_path_SED" --version 2>&1` in
4050
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4053
$as_echo_n 0123456789 >"conftest.in"
4056
cat "conftest.in" "conftest.in" >"conftest.tmp"
4057
mv "conftest.tmp" "conftest.in"
4058
cp "conftest.in" "conftest.nl"
4059
$as_echo '' >> "conftest.nl"
4060
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4061
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4062
as_fn_arith $ac_count + 1 && ac_count=$as_val
4063
if test $ac_count -gt ${ac_path_SED_max-0}; then
4064
# Best one so far, save it but keep looking for a better one
4065
ac_cv_path_SED="$ac_path_SED"
4066
ac_path_SED_max=$ac_count
4068
# 10*(2^10) chars as input seems more than enough
4069
test $ac_count -gt 10 && break
4071
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4074
$ac_path_SED_found && break 3
4079
if test -z "$ac_cv_path_SED"; then
4080
as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5