2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.64 for sqlite3cc 0.1.0.
5
# Report bugs to <edam@waxworlds.org>.
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in #(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
93
*[\\/]* ) as_myself=$0 ;;
94
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98
test -z "$as_dir" && as_dir=.
99
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
# We did not find ourselves, most probably we were run as `sh COMMAND'
106
# in which case we are not to be found in the path.
107
if test "x$as_myself" = x; then
110
if test ! -f "$as_myself"; then
111
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115
# Unset variables that we do not need and which cause bugs (e.g. in
116
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117
# suppresses any "Segmentation fault" message there. '((' could
118
# trigger a bug in pdksh 5.2.14.
119
for as_var in BASH_ENV ENV MAIL MAILPATH
120
do eval test x\${$as_var+set} = xset \
121
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
if test "x$CONFIG_SHELL" = x; then
137
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
# is contrary to our usage. Disable this feature.
142
alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
case \`(set -o) 2>/dev/null\` in #(
153
as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
exitcode=1; echo positional parameters were not saved.
169
test x\$exitcode = x0 || exit 1"
170
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
test \$(( 1 + 1 )) = 2 || exit 1"
175
if (eval "$as_required") 2>/dev/null; then :
180
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188
test -z "$as_dir" && as_dir=.
192
for as_base in sh bash ksh sh5; do
193
# Try only shells that exist, to save several forks.
194
as_shell=$as_dir/$as_base
195
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
CONFIG_SHELL=$as_shell as_have_required=yes
198
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
CONFIG_SHELL=$SHELL as_have_required=yes
213
if test "x$CONFIG_SHELL" != x; then :
214
# We cannot yet assume a decent shell, so we have to provide a
215
# neutralization value for shells without unset; and this also
216
# works around shells that cannot unset nonexistent variables.
219
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224
if test x$as_have_required = xno; then :
225
$as_echo "$0: This script requires a shell more modern than all"
226
$as_echo "$0: the shells that I found on your system."
227
if test x${ZSH_VERSION+set} = xset ; then
228
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
231
$as_echo "$0: Please tell bug-autoconf@gnu.org and edam@waxworlds.org
232
$0: about your system, including any error possibly output
233
$0: before this message. Then install a modern shell, or
234
$0: manually run the script under such a shell if you do
241
SHELL=${CONFIG_SHELL-/bin/sh}
243
# Unset more variables known to interfere with behavior of common tools.
244
CLICOLOR_FORCE= GREP_OPTIONS=
245
unset CLICOLOR_FORCE GREP_OPTIONS
247
## --------------------- ##
248
## M4sh Shell Functions. ##
249
## --------------------- ##
252
# Portably unset VAR.
255
{ eval $1=; unset $1;}
259
# as_fn_set_status STATUS
260
# -----------------------
261
# Set $? to STATUS, without forking.
269
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279
# Create "$as_dir" as a directory, including parents if necessary.
284
-*) as_dir=./$as_dir;;
286
test -d "$as_dir" || eval $as_mkdir_p || {
290
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293
as_dirs="'$as_qdir' $as_dirs"
294
as_dir=`$as_dirname -- "$as_dir" ||
295
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296
X"$as_dir" : 'X\(//\)[^/]' \| \
297
X"$as_dir" : 'X\(//\)$' \| \
298
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299
$as_echo X"$as_dir" |
300
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
317
test -d "$as_dir" && break
319
test -z "$as_dirs" || eval "mkdir $as_dirs"
320
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
324
# as_fn_append VAR VALUE
325
# ----------------------
326
# Append the text in VALUE to the end of the definition contained in VAR. Take
327
# advantage of any shell optimizations that allow amortized linear growth over
328
# repeated appends, instead of the typical quadratic growth present in naive
330
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
331
eval 'as_fn_append ()
344
# Perform arithmetic evaluation on the ARGs, and store the result in the
345
# global $as_val. Take advantage of shells that can avoid forks. The arguments
346
# must be portable across $(()) and expr.
347
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
355
as_val=`expr "$@" || test $? -eq 1`
360
# as_fn_error ERROR [LINENO LOG_FD]
361
# ---------------------------------
362
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364
# script with status $?, using 1 if that was 0.
367
as_status=$?; test $as_status -eq 0 && as_status=1
369
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
370
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372
$as_echo "$as_me: error: $1" >&2
373
as_fn_exit $as_status
376
if expr a : '\(a\)' >/dev/null 2>&1 &&
377
test "X`expr 00001 : '.*\(...\)'`" = X001; then
383
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395
as_me=`$as_basename -- "$0" ||
396
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397
X"$0" : 'X\(//\)$' \| \
398
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400
sed '/^.*\/\([^/][^/]*\)\/*$/{
414
# Avoid depending upon Character Ranges.
415
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
416
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
418
as_cr_digits='0123456789'
419
as_cr_alnum=$as_cr_Letters$as_cr_digits
422
as_lineno_1=$LINENO as_lineno_1a=$LINENO
423
as_lineno_2=$LINENO as_lineno_2a=$LINENO
424
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
426
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
438
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442
chmod +x "$as_me.lineno" ||
443
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
445
# Don't try to exec as it changes $[0], causing all sort of problems
446
# (the dirname of $[0] is not the place where we might find the
447
# original and so on. Autoconf is especially sensitive to this).
449
# Exit status is that of the last command.
453
ECHO_C= ECHO_N= ECHO_T=
454
case `echo -n x` in #(((((
456
case `echo 'xy\c'` in
457
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
459
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
466
rm -f conf$$ conf$$.exe conf$$.file
467
if test -d conf$$.dir; then
468
rm -f conf$$.dir/conf$$.file
471
mkdir conf$$.dir 2>/dev/null
473
if (echo >conf$$.file) 2>/dev/null; then
474
if ln -s conf$$.file conf$$ 2>/dev/null; then
476
# ... but there are two gotchas:
477
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479
# In both cases, we have to default to `cp -p'.
480
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
482
elif ln conf$$.file conf$$ 2>/dev/null; then
490
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
491
rmdir conf$$.dir 2>/dev/null
493
if mkdir -p . 2>/dev/null; then
494
as_mkdir_p='mkdir -p "$as_dir"'
496
test -d ./-p && rmdir ./-p
500
if test -x / >/dev/null 2>&1; then
503
if ls -dL / >/dev/null 2>&1; then
510
if test -d "$1"; then
516
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
517
???[sx]*):;;*)false;;esac;fi
521
as_executable_p=$as_test_x
523
# Sed expression to map a string onto a valid CPP name.
524
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526
# Sed expression to map a string onto a valid variable name.
527
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531
# Check that we are running under the correct shell.
532
SHELL=${CONFIG_SHELL-/bin/sh}
536
# Remove one level of quotation (which was required for Make).
537
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
542
if test "X$1" = X--no-reexec; then
543
# Discard the --no-reexec flag, and continue.
545
elif test "X$1" = X--fallback-echo; then
546
# Avoid inline document here, it may be left over
548
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
549
# Yippee, $ECHO works!
552
# Restart under the correct shell.
553
exec $SHELL "$0" --no-reexec ${1+"$@"}
556
if test "X$1" = X--fallback-echo; then
557
# used as fallback echo
565
# The HP-UX ksh and POSIX shell print the target directory to stdout
567
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
569
if test -z "$lt_ECHO"; then
570
if test "X${echo_test_string+set}" != Xset; then
571
# find a string as large as possible, as long as the shell can cope with it
572
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
573
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
574
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
575
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
582
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
583
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
584
test "X$echo_testing_string" = "X$echo_test_string"; then
587
# The Solaris, AIX, and Digital Unix default echo programs unquote
588
# backslashes. This makes it impossible to quote backslashes using
589
# echo "$something" | sed 's/\\/\\\\/g'
591
# So, first we look for a working echo in the user's PATH.
593
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
594
for dir in $PATH /usr/ucb; do
596
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
597
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
598
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
599
test "X$echo_testing_string" = "X$echo_test_string"; then
606
if test "X$ECHO" = Xecho; then
607
# We didn't find a better echo, so look for alternatives.
608
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
609
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
610
test "X$echo_testing_string" = "X$echo_test_string"; then
611
# This shell has a builtin print -r that does the trick.
613
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
614
test "X$CONFIG_SHELL" != X/bin/ksh; then
615
# If we have ksh, try running configure again with it.
616
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
617
export ORIGINAL_CONFIG_SHELL
618
CONFIG_SHELL=/bin/ksh
620
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
624
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
625
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
626
test "X$echo_testing_string" = "X$echo_test_string"; then
629
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
630
test "X$echo_testing_string" = 'X\t' &&
631
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
632
test "X$echo_testing_string" = "X$echo_test_string"; then
633
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
635
SHELL="$CONFIG_SHELL"
637
ECHO="$CONFIG_SHELL $0 --fallback-echo"
638
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
639
test "X$echo_testing_string" = 'X\t' &&
640
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
641
test "X$echo_testing_string" = "X$echo_test_string"; then
642
ECHO="$CONFIG_SHELL $0 --fallback-echo"
644
# maybe with a smaller string...
647
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
648
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
655
if test "$prev" != 'sed 50q "$0"'; then
656
echo_test_string=`eval $prev`
657
export echo_test_string
658
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
660
# Oops. We lost completely, so just stick with echo.
669
# Copy echo and quote the copy suitably for passing to libtool from
670
# the Makefile, instead of quoting the original, which is used later.
672
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
673
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
679
exec 7<&0 </dev/null 6>&1
682
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
683
# so uname gets run too.
684
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689
ac_default_prefix=/usr/local
691
ac_config_libobj_dir=.
698
# Identity of this package.
699
PACKAGE_NAME='sqlite3cc'
700
PACKAGE_TARNAME='sqlite3cc'
701
PACKAGE_VERSION='0.1.0'
702
PACKAGE_STRING='sqlite3cc 0.1.0'
703
PACKAGE_BUGREPORT='edam@waxworlds.org'
706
ac_unique_file="src/database.cc"
707
# Factoring default headers for most tests.
708
ac_includes_default="\
710
#ifdef HAVE_SYS_TYPES_H
711
# include <sys/types.h>
713
#ifdef HAVE_SYS_STAT_H
714
# include <sys/stat.h>
720
# ifdef HAVE_STDLIB_H
725
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
730
#ifdef HAVE_STRINGS_H
731
# include <strings.h>
733
#ifdef HAVE_INTTYPES_H
734
# include <inttypes.h>
743
ac_subst_vars='am__EXEEXT_FALSE
806
INSTALL_STRIP_PROGRAM
848
program_transform_name
861
enable_option_checking
862
enable_dependency_tracking
870
ac_precious_vars='build_alias
885
# Initialize some variables set by options.
887
ac_init_version=false
888
ac_unrecognized_opts=
890
# The variables have the same names as the options, with
891
# dashes changed to underlines.
899
program_transform_name=s,x,x,
907
# Installation directory options.
908
# These are left unexpanded so users can "make install exec_prefix=/foo"
909
# and all the variables that are supposed to be based on exec_prefix
910
# by default will actually change.
911
# Use braces instead of parens because sh, perl, etc. also accept them.
912
# (The list follows the same order as the GNU Coding Standards.)
913
bindir='${exec_prefix}/bin'
914
sbindir='${exec_prefix}/sbin'
915
libexecdir='${exec_prefix}/libexec'
916
datarootdir='${prefix}/share'
917
datadir='${datarootdir}'
918
sysconfdir='${prefix}/etc'
919
sharedstatedir='${prefix}/com'
920
localstatedir='${prefix}/var'
921
includedir='${prefix}/include'
922
oldincludedir='/usr/include'
923
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
924
infodir='${datarootdir}/info'
929
libdir='${exec_prefix}/lib'
930
localedir='${datarootdir}/locale'
931
mandir='${datarootdir}/man'
937
# If the previous option needs an argument, assign it.
938
if test -n "$ac_prev"; then
939
eval $ac_prev=\$ac_option
945
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
949
# Accept the important Cygnus configure options, so we can diagnose typos.
951
case $ac_dashdash$ac_option in
955
-bindir | --bindir | --bindi | --bind | --bin | --bi)
957
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
960
-build | --build | --buil | --bui | --bu)
961
ac_prev=build_alias ;;
962
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
963
build_alias=$ac_optarg ;;
965
-cache-file | --cache-file | --cache-fil | --cache-fi \
966
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
967
ac_prev=cache_file ;;
968
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
969
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
970
cache_file=$ac_optarg ;;
973
cache_file=config.cache ;;
975
-datadir | --datadir | --datadi | --datad)
977
-datadir=* | --datadir=* | --datadi=* | --datad=*)
978
datadir=$ac_optarg ;;
980
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
981
| --dataroo | --dataro | --datar)
982
ac_prev=datarootdir ;;
983
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
984
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
985
datarootdir=$ac_optarg ;;
987
-disable-* | --disable-*)
988
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
989
# Reject names that are not valid shell variable names.
990
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
991
as_fn_error "invalid feature name: $ac_useropt"
992
ac_useropt_orig=$ac_useropt
993
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994
case $ac_user_opts in
998
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
999
ac_unrecognized_sep=', ';;
1001
eval enable_$ac_useropt=no ;;
1003
-docdir | --docdir | --docdi | --doc | --do)
1005
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1006
docdir=$ac_optarg ;;
1008
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1010
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1011
dvidir=$ac_optarg ;;
1013
-enable-* | --enable-*)
1014
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1015
# Reject names that are not valid shell variable names.
1016
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1017
as_fn_error "invalid feature name: $ac_useropt"
1018
ac_useropt_orig=$ac_useropt
1019
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1020
case $ac_user_opts in
1022
"enable_$ac_useropt"
1024
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1025
ac_unrecognized_sep=', ';;
1027
eval enable_$ac_useropt=\$ac_optarg ;;
1029
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1030
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1031
| --exec | --exe | --ex)
1032
ac_prev=exec_prefix ;;
1033
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1034
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1035
| --exec=* | --exe=* | --ex=*)
1036
exec_prefix=$ac_optarg ;;
1038
-gas | --gas | --ga | --g)
1039
# Obsolete; use --with-gas.
1042
-help | --help | --hel | --he | -h)
1043
ac_init_help=long ;;
1044
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1045
ac_init_help=recursive ;;
1046
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1047
ac_init_help=short ;;
1049
-host | --host | --hos | --ho)
1050
ac_prev=host_alias ;;
1051
-host=* | --host=* | --hos=* | --ho=*)
1052
host_alias=$ac_optarg ;;
1054
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1056
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1058
htmldir=$ac_optarg ;;
1060
-includedir | --includedir | --includedi | --included | --include \
1061
| --includ | --inclu | --incl | --inc)
1062
ac_prev=includedir ;;
1063
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1064
| --includ=* | --inclu=* | --incl=* | --inc=*)
1065
includedir=$ac_optarg ;;
1067
-infodir | --infodir | --infodi | --infod | --info | --inf)
1069
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1070
infodir=$ac_optarg ;;
1072
-libdir | --libdir | --libdi | --libd)
1074
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1075
libdir=$ac_optarg ;;
1077
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1078
| --libexe | --libex | --libe)
1079
ac_prev=libexecdir ;;
1080
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1081
| --libexe=* | --libex=* | --libe=*)
1082
libexecdir=$ac_optarg ;;
1084
-localedir | --localedir | --localedi | --localed | --locale)
1085
ac_prev=localedir ;;
1086
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1087
localedir=$ac_optarg ;;
1089
-localstatedir | --localstatedir | --localstatedi | --localstated \
1090
| --localstate | --localstat | --localsta | --localst | --locals)
1091
ac_prev=localstatedir ;;
1092
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1093
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1094
localstatedir=$ac_optarg ;;
1096
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1098
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1099
mandir=$ac_optarg ;;
1101
-nfp | --nfp | --nf)
1102
# Obsolete; use --without-fp.
1105
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1106
| --no-cr | --no-c | -n)
1109
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1110
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1113
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1114
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1115
| --oldin | --oldi | --old | --ol | --o)
1116
ac_prev=oldincludedir ;;
1117
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1118
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1119
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1120
oldincludedir=$ac_optarg ;;
1122
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1124
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1125
prefix=$ac_optarg ;;
1127
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1128
| --program-pre | --program-pr | --program-p)
1129
ac_prev=program_prefix ;;
1130
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1131
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1132
program_prefix=$ac_optarg ;;
1134
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1135
| --program-suf | --program-su | --program-s)
1136
ac_prev=program_suffix ;;
1137
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1138
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1139
program_suffix=$ac_optarg ;;
1141
-program-transform-name | --program-transform-name \
1142
| --program-transform-nam | --program-transform-na \
1143
| --program-transform-n | --program-transform- \
1144
| --program-transform | --program-transfor \
1145
| --program-transfo | --program-transf \
1146
| --program-trans | --program-tran \
1147
| --progr-tra | --program-tr | --program-t)
1148
ac_prev=program_transform_name ;;
1149
-program-transform-name=* | --program-transform-name=* \
1150
| --program-transform-nam=* | --program-transform-na=* \
1151
| --program-transform-n=* | --program-transform-=* \
1152
| --program-transform=* | --program-transfor=* \
1153
| --program-transfo=* | --program-transf=* \
1154
| --program-trans=* | --program-tran=* \
1155
| --progr-tra=* | --program-tr=* | --program-t=*)
1156
program_transform_name=$ac_optarg ;;
1158
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1160
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1161
pdfdir=$ac_optarg ;;
1163
-psdir | --psdir | --psdi | --psd | --ps)
1165
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1168
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1169
| -silent | --silent | --silen | --sile | --sil)
1172
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1174
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1176
sbindir=$ac_optarg ;;
1178
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1179
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1180
| --sharedst | --shareds | --shared | --share | --shar \
1182
ac_prev=sharedstatedir ;;
1183
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1184
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1185
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1187
sharedstatedir=$ac_optarg ;;
1189
-site | --site | --sit)
1191
-site=* | --site=* | --sit=*)
1194
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1196
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1197
srcdir=$ac_optarg ;;
1199
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1200
| --syscon | --sysco | --sysc | --sys | --sy)
1201
ac_prev=sysconfdir ;;
1202
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1203
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1204
sysconfdir=$ac_optarg ;;
1206
-target | --target | --targe | --targ | --tar | --ta | --t)
1207
ac_prev=target_alias ;;
1208
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1209
target_alias=$ac_optarg ;;
1211
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1214
-version | --version | --versio | --versi | --vers | -V)
1215
ac_init_version=: ;;
1218
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1219
# Reject names that are not valid shell variable names.
1220
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1221
as_fn_error "invalid package name: $ac_useropt"
1222
ac_useropt_orig=$ac_useropt
1223
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1224
case $ac_user_opts in
1228
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1229
ac_unrecognized_sep=', ';;
1231
eval with_$ac_useropt=\$ac_optarg ;;
1233
-without-* | --without-*)
1234
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1235
# Reject names that are not valid shell variable names.
1236
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1237
as_fn_error "invalid package name: $ac_useropt"
1238
ac_useropt_orig=$ac_useropt
1239
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1240
case $ac_user_opts in
1244
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1245
ac_unrecognized_sep=', ';;
1247
eval with_$ac_useropt=no ;;
1250
# Obsolete; use --with-x.
1253
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1254
| --x-incl | --x-inc | --x-in | --x-i)
1255
ac_prev=x_includes ;;
1256
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1257
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1258
x_includes=$ac_optarg ;;
1260
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1261
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1262
ac_prev=x_libraries ;;
1263
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1264
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1265
x_libraries=$ac_optarg ;;
1267
-*) as_fn_error "unrecognized option: \`$ac_option'
1268
Try \`$0 --help' for more information."
1272
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1273
# Reject names that are not valid shell variable names.
1274
case $ac_envvar in #(
1275
'' | [0-9]* | *[!_$as_cr_alnum]* )
1276
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1278
eval $ac_envvar=\$ac_optarg
1279
export $ac_envvar ;;
1282
# FIXME: should be removed in autoconf 3.0.
1283
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1284
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1285
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1286
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1292
if test -n "$ac_prev"; then
1293
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1294
as_fn_error "missing argument to $ac_option"
1297
if test -n "$ac_unrecognized_opts"; then
1298
case $enable_option_checking in
1300
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1301
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1305
# Check all directory arguments for consistency.
1306
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1307
datadir sysconfdir sharedstatedir localstatedir includedir \
1308
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1309
libdir localedir mandir
1311
eval ac_val=\$$ac_var
1312
# Remove trailing slashes.
1315
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1316
eval $ac_var=\$ac_val;;
1318
# Be sure to have absolute directory names.
1320
[\\/$]* | ?:[\\/]* ) continue;;
1321
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1323
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1326
# There might be people who depend on the old broken behavior: `$host'
1327
# used to hold the argument of --host etc.
1328
# FIXME: To remove some day.
1331
target=$target_alias
1333
# FIXME: To remove some day.
1334
if test "x$host_alias" != x; then
1335
if test "x$build_alias" = x; then
1336
cross_compiling=maybe
1337
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1338
If a cross compiler is detected then cross compile mode will be used." >&2
1339
elif test "x$build_alias" != "x$host_alias"; then
1345
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1347
test "$silent" = yes && exec 6>/dev/null
1350
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1351
ac_ls_di=`ls -di .` &&
1352
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1353
as_fn_error "working directory cannot be determined"
1354
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1355
as_fn_error "pwd does not report name of working directory"
1358
# Find the source files, if location was not specified.
1359
if test -z "$srcdir"; then
1360
ac_srcdir_defaulted=yes
1361
# Try the directory containing this script, then the parent directory.
1362
ac_confdir=`$as_dirname -- "$as_myself" ||
1363
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1364
X"$as_myself" : 'X\(//\)[^/]' \| \
1365
X"$as_myself" : 'X\(//\)$' \| \
1366
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1367
$as_echo X"$as_myself" |
1368
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1386
if test ! -r "$srcdir/$ac_unique_file"; then
1390
ac_srcdir_defaulted=no
1392
if test ! -r "$srcdir/$ac_unique_file"; then
1393
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1394
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1396
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1398
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1400
# When building in place, set srcdir=.
1401
if test "$ac_abs_confdir" = "$ac_pwd"; then
1404
# Remove unnecessary trailing slashes from srcdir.
1405
# Double slashes in file names in object file debugging info
1406
# mess up M-x gdb in Emacs.
1408
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1410
for ac_var in $ac_precious_vars; do
1411
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1412
eval ac_env_${ac_var}_value=\$${ac_var}
1413
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1414
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1418
# Report the --help message.
1420
if test "$ac_init_help" = "long"; then
1421
# Omit some internal or obsolete options to make the list less imposing.
1422
# This message is too long to be a string in the A/UX 3.1 sh.
1424
\`configure' configures sqlite3cc 0.1.0 to adapt to many kinds of systems.
1426
Usage: $0 [OPTION]... [VAR=VALUE]...
1428
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1429
VAR=VALUE. See below for descriptions of some of the useful variables.
1431
Defaults for the options are specified in brackets.
1434
-h, --help display this help and exit
1435
--help=short display options specific to this package
1436
--help=recursive display the short help of all the included packages
1437
-V, --version display version information and exit
1438
-q, --quiet, --silent do not print \`checking...' messages
1439
--cache-file=FILE cache test results in FILE [disabled]
1440
-C, --config-cache alias for \`--cache-file=config.cache'
1441
-n, --no-create do not create output files
1442
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1444
Installation directories:
1445
--prefix=PREFIX install architecture-independent files in PREFIX
1446
[$ac_default_prefix]
1447
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1450
By default, \`make install' will install all the files in
1451
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1452
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1453
for instance \`--prefix=\$HOME'.
1455
For better control, use the options below.
1457
Fine tuning of the installation directories:
1458
--bindir=DIR user executables [EPREFIX/bin]
1459
--sbindir=DIR system admin executables [EPREFIX/sbin]
1460
--libexecdir=DIR program executables [EPREFIX/libexec]
1461
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1462
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1463
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1464
--libdir=DIR object code libraries [EPREFIX/lib]
1465
--includedir=DIR C header files [PREFIX/include]
1466
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1467
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1468
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1469
--infodir=DIR info documentation [DATAROOTDIR/info]
1470
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1471
--mandir=DIR man documentation [DATAROOTDIR/man]
1472
--docdir=DIR documentation root [DATAROOTDIR/doc/sqlite3cc]
1473
--htmldir=DIR html documentation [DOCDIR]
1474
--dvidir=DIR dvi documentation [DOCDIR]
1475
--pdfdir=DIR pdf documentation [DOCDIR]
1476
--psdir=DIR ps documentation [DOCDIR]
1482
--program-prefix=PREFIX prepend PREFIX to installed program names
1483
--program-suffix=SUFFIX append SUFFIX to installed program names
1484
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1487
--build=BUILD configure for building on BUILD [guessed]
1488
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1492
if test -n "$ac_init_help"; then
1493
case $ac_init_help in
1494
short | recursive ) echo "Configuration of sqlite3cc 0.1.0:";;
1499
--disable-option-checking ignore unrecognized --enable/--with options
1500
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1501
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1502
--disable-dependency-tracking speeds up one-time build
1503
--enable-dependency-tracking do not reject slow dependency extractors
1504
--enable-shared[=PKGS] build shared libraries [default=yes]
1505
--enable-static[=PKGS] build static libraries [default=yes]
1506
--enable-fast-install[=PKGS]
1507
optimize for fast installation [default=yes]
1508
--disable-libtool-lock avoid locking (might break parallel builds)
1511
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1512
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1513
--with-pic try to use only PIC/non-PIC objects [default=use
1515
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1517
Some influential environment variables:
1518
CXX C++ compiler command
1519
CXXFLAGS C++ compiler flags
1520
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1521
nonstandard directory <lib dir>
1522
LIBS libraries to pass to the linker, e.g. -l<library>
1523
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1524
you have headers in a nonstandard directory <include dir>
1525
CC C compiler command
1526
CFLAGS C compiler flags
1528
CXXCPP C++ preprocessor
1530
Use these variables to override the choices made by `configure' or to help
1531
it to find libraries and programs with nonstandard names/locations.
1533
Report bugs to <edam@waxworlds.org>.
1538
if test "$ac_init_help" = "recursive"; then
1539
# If there are subdirs, report their specific --help.
1540
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1541
test -d "$ac_dir" ||
1542
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1547
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1549
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1550
# A ".." for each directory in $ac_dir_suffix.
1551
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1552
case $ac_top_builddir_sub in
1553
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1554
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1557
ac_abs_top_builddir=$ac_pwd
1558
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1559
# for backward compatibility:
1560
ac_top_builddir=$ac_top_build_prefix
1563
.) # We are building in place.
1565
ac_top_srcdir=$ac_top_builddir_sub
1566
ac_abs_top_srcdir=$ac_pwd ;;
1567
[\\/]* | ?:[\\/]* ) # Absolute name.
1568
ac_srcdir=$srcdir$ac_dir_suffix;
1569
ac_top_srcdir=$srcdir
1570
ac_abs_top_srcdir=$srcdir ;;
1572
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1573
ac_top_srcdir=$ac_top_build_prefix$srcdir
1574
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1576
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1578
cd "$ac_dir" || { ac_status=$?; continue; }
1579
# Check for guested configure.
1580
if test -f "$ac_srcdir/configure.gnu"; then
1582
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1583
elif test -f "$ac_srcdir/configure"; then
1585
$SHELL "$ac_srcdir/configure" --help=recursive
1587
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1589
cd "$ac_pwd" || { ac_status=$?; break; }
1593
test -n "$ac_init_help" && exit $ac_status
1594
if $ac_init_version; then
1596
sqlite3cc configure 0.1.0
1597
generated by GNU Autoconf 2.64
1599
Copyright (C) 2009 Free Software Foundation, Inc.
1600
This configure script is free software; the Free Software Foundation
1601
gives unlimited permission to copy, distribute and modify it.
1606
## ------------------------ ##
1607
## Autoconf initialization. ##
1608
## ------------------------ ##
1610
# ac_fn_cxx_try_compile LINENO
1611
# ----------------------------
1612
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1613
ac_fn_cxx_try_compile ()
1615
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1616
rm -f conftest.$ac_objext
1617
if { { ac_try="$ac_compile"
1619
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1620
*) ac_try_echo=$ac_try;;
1622
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623
$as_echo "$ac_try_echo"; } >&5
1624
(eval "$ac_compile") 2>conftest.err
1626
if test -s conftest.err; then
1627
grep -v '^ *+' conftest.err >conftest.er1
1628
cat conftest.er1 >&5
1629
mv -f conftest.er1 conftest.err
1631
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1632
test $ac_status = 0; } && {
1633
test -z "$ac_cxx_werror_flag" ||
1634
test ! -s conftest.err
1635
} && test -s conftest.$ac_objext; then :
1638
$as_echo "$as_me: failed program was:" >&5
1639
sed 's/^/| /' conftest.$ac_ext >&5
1643
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1646
} # ac_fn_cxx_try_compile
1648
# ac_fn_c_try_compile LINENO
1649
# --------------------------
1650
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1651
ac_fn_c_try_compile ()
1653
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654
rm -f conftest.$ac_objext
1655
if { { ac_try="$ac_compile"
1657
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1658
*) ac_try_echo=$ac_try;;
1660
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661
$as_echo "$ac_try_echo"; } >&5
1662
(eval "$ac_compile") 2>conftest.err
1664
if test -s conftest.err; then
1665
grep -v '^ *+' conftest.err >conftest.er1
1666
cat conftest.er1 >&5
1667
mv -f conftest.er1 conftest.err
1669
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670
test $ac_status = 0; } && {
1671
test -z "$ac_c_werror_flag" ||
1672
test ! -s conftest.err
1673
} && test -s conftest.$ac_objext; then :
1676
$as_echo "$as_me: failed program was:" >&5
1677
sed 's/^/| /' conftest.$ac_ext >&5
1681
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1684
} # ac_fn_c_try_compile
1686
# ac_fn_c_try_link LINENO
1687
# -----------------------
1688
# Try to link conftest.$ac_ext, and return whether this succeeded.
1691
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692
rm -f conftest.$ac_objext conftest$ac_exeext
1693
if { { ac_try="$ac_link"
1695
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696
*) ac_try_echo=$ac_try;;
1698
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699
$as_echo "$ac_try_echo"; } >&5
1700
(eval "$ac_link") 2>conftest.err
1702
if test -s conftest.err; then
1703
grep -v '^ *+' conftest.err >conftest.er1
1704
cat conftest.er1 >&5
1705
mv -f conftest.er1 conftest.err
1707
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708
test $ac_status = 0; } && {
1709
test -z "$ac_c_werror_flag" ||
1710
test ! -s conftest.err
1711
} && test -s conftest$ac_exeext && {
1712
test "$cross_compiling" = yes ||
1713
$as_test_x conftest$ac_exeext
1717
$as_echo "$as_me: failed program was:" >&5
1718
sed 's/^/| /' conftest.$ac_ext >&5
1722
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1723
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1724
# interfere with the next link command; also delete a directory that is
1725
# left behind by Apple's compiler. We do this before executing the actions.
1726
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1730
} # ac_fn_c_try_link
1732
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1733
# -------------------------------------------------------
1734
# Tests whether HEADER exists and can be compiled using the include files in
1735
# INCLUDES, setting the cache variable VAR accordingly.
1736
ac_fn_c_check_header_compile ()
1738
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740
$as_echo_n "checking for $2... " >&6; }
1741
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1742
$as_echo_n "(cached) " >&6
1744
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745
/* end confdefs.h. */
1749
if ac_fn_c_try_compile "$LINENO"; then :
1754
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758
$as_echo "$ac_res" >&6; }
1759
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1761
} # ac_fn_c_check_header_compile
1763
# ac_fn_c_try_cpp LINENO
1764
# ----------------------
1765
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1768
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769
if { { ac_try="$ac_cpp conftest.$ac_ext"
1771
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772
*) ac_try_echo=$ac_try;;
1774
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775
$as_echo "$ac_try_echo"; } >&5
1776
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1778
if test -s conftest.err; then
1779
grep -v '^ *+' conftest.err >conftest.er1
1780
cat conftest.er1 >&5
1781
mv -f conftest.er1 conftest.err
1783
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784
test $ac_status = 0; } >/dev/null && {
1785
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1786
test ! -s conftest.err
1790
$as_echo "$as_me: failed program was:" >&5
1791
sed 's/^/| /' conftest.$ac_ext >&5
1795
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800
# ac_fn_c_try_run LINENO
1801
# ----------------------
1802
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1803
# that executables *can* be run.
1806
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807
if { { ac_try="$ac_link"
1809
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1810
*) ac_try_echo=$ac_try;;
1812
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813
$as_echo "$ac_try_echo"; } >&5
1814
(eval "$ac_link") 2>&5
1816
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1817
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1818
{ { case "(($ac_try" in
1819
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1820
*) ac_try_echo=$ac_try;;
1822
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1823
$as_echo "$ac_try_echo"; } >&5
1824
(eval "$ac_try") 2>&5
1826
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1827
test $ac_status = 0; }; }; then :
1830
$as_echo "$as_me: program exited with status $ac_status" >&5
1831
$as_echo "$as_me: failed program was:" >&5
1832
sed 's/^/| /' conftest.$ac_ext >&5
1834
ac_retval=$ac_status
1836
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1837
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842
# ac_fn_c_check_func LINENO FUNC VAR
1843
# ----------------------------------
1844
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1845
ac_fn_c_check_func ()
1847
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1849
$as_echo_n "checking for $2... " >&6; }
1850
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1851
$as_echo_n "(cached) " >&6
1853
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1854
/* end confdefs.h. */
1855
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1856
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1857
#define $2 innocuous_$2
1859
/* System header to define __stub macros and hopefully few prototypes,
1860
which can conflict with char $2 (); below.
1861
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1862
<limits.h> exists even on freestanding compilers. */
1865
# include <limits.h>
1867
# include <assert.h>
1872
/* Override any GCC internal prototype to avoid an error.
1873
Use char because int might match the return type of a GCC
1874
builtin and then its argument prototype would still apply. */
1879
/* The GNU C library defines this for functions which it implements
1880
to always fail with ENOSYS. Some functions are actually named
1881
something starting with __ and the normal name is an alias. */
1882
#if defined __stub_$2 || defined __stub___$2
1894
if ac_fn_c_try_link "$LINENO"; then :
1899
rm -f core conftest.err conftest.$ac_objext \
1900
conftest$ac_exeext conftest.$ac_ext
1903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1904
$as_echo "$ac_res" >&6; }
1905
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1907
} # ac_fn_c_check_func
1909
# ac_fn_cxx_try_cpp LINENO
1910
# ------------------------
1911
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1912
ac_fn_cxx_try_cpp ()
1914
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1915
if { { ac_try="$ac_cpp conftest.$ac_ext"
1917
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1918
*) ac_try_echo=$ac_try;;
1920
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1921
$as_echo "$ac_try_echo"; } >&5
1922
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1924
if test -s conftest.err; then
1925
grep -v '^ *+' conftest.err >conftest.er1
1926
cat conftest.er1 >&5
1927
mv -f conftest.er1 conftest.err
1929
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1930
test $ac_status = 0; } >/dev/null && {
1931
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1932
test ! -s conftest.err
1936
$as_echo "$as_me: failed program was:" >&5
1937
sed 's/^/| /' conftest.$ac_ext >&5
1941
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1944
} # ac_fn_cxx_try_cpp
1946
# ac_fn_cxx_try_link LINENO
1947
# -------------------------
1948
# Try to link conftest.$ac_ext, and return whether this succeeded.
1949
ac_fn_cxx_try_link ()
1951
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952
rm -f conftest.$ac_objext conftest$ac_exeext
1953
if { { ac_try="$ac_link"
1955
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1956
*) ac_try_echo=$ac_try;;
1958
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1959
$as_echo "$ac_try_echo"; } >&5
1960
(eval "$ac_link") 2>conftest.err
1962
if test -s conftest.err; then
1963
grep -v '^ *+' conftest.err >conftest.er1
1964
cat conftest.er1 >&5
1965
mv -f conftest.er1 conftest.err
1967
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1968
test $ac_status = 0; } && {
1969
test -z "$ac_cxx_werror_flag" ||
1970
test ! -s conftest.err
1971
} && test -s conftest$ac_exeext && {
1972
test "$cross_compiling" = yes ||
1973
$as_test_x conftest$ac_exeext
1977
$as_echo "$as_me: failed program was:" >&5
1978
sed 's/^/| /' conftest.$ac_ext >&5
1982
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1983
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1984
# interfere with the next link command; also delete a directory that is
1985
# left behind by Apple's compiler. We do this before executing the actions.
1986
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1987
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1990
} # ac_fn_cxx_try_link
1992
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1993
# -------------------------------------------------------
1994
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1995
# the include files in INCLUDES and setting the cache variable VAR
1997
ac_fn_c_check_header_mongrel ()
1999
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2000
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2002
$as_echo_n "checking for $2... " >&6; }
2003
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2004
$as_echo_n "(cached) " >&6
2007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2008
$as_echo "$ac_res" >&6; }
2010
# Is the header compilable?
2011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2012
$as_echo_n "checking $2 usability... " >&6; }
2013
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014
/* end confdefs.h. */
2018
if ac_fn_c_try_compile "$LINENO"; then :
2019
ac_header_compiler=yes
2021
ac_header_compiler=no
2023
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2025
$as_echo "$ac_header_compiler" >&6; }
2027
# Is the header present?
2028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2029
$as_echo_n "checking $2 presence... " >&6; }
2030
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2031
/* end confdefs.h. */
2034
if ac_fn_c_try_cpp "$LINENO"; then :
2035
ac_header_preproc=yes
2037
ac_header_preproc=no
2039
rm -f conftest.err conftest.$ac_ext
2040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2041
$as_echo "$ac_header_preproc" >&6; }
2043
# So? What about this header?
2044
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2046
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2047
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2048
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2049
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2052
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2053
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2054
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2055
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2056
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2057
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2058
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2059
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2060
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2061
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2063
## --------------------------------- ##
2064
## Report this to edam@waxworlds.org ##
2065
## --------------------------------- ##
2067
) | sed "s/^/$as_me: WARNING: /" >&2
2070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2071
$as_echo_n "checking for $2... " >&6; }
2072
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2073
$as_echo_n "(cached) " >&6
2075
eval "$3=\$ac_header_compiler"
2078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2079
$as_echo "$ac_res" >&6; }
2081
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2083
} # ac_fn_c_check_header_mongrel
2084
cat >config.log <<_ACEOF
2085
This file contains any messages produced by compilers while
2086
running configure, to aid debugging if configure makes a mistake.
2088
It was created by sqlite3cc $as_me 0.1.0, which was
2089
generated by GNU Autoconf 2.64. Invocation command line was
2101
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2102
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2103
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2104
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2105
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2107
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2108
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2110
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2111
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2112
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2113
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2114
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2115
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2116
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2120
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2124
test -z "$as_dir" && as_dir=.
2125
$as_echo "PATH: $as_dir"
2141
# Keep a trace of the command line.
2142
# Strip out --no-create and --no-recursion so they do not pile up.
2143
# Strip out --silent because we don't want to record it for future runs.
2144
# Also quote any args containing shell meta-characters.
2145
# Make two passes to allow for proper duplicate-argument suppression.
2149
ac_must_keep_next=false
2155
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2156
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2157
| -silent | --silent | --silen | --sile | --sil)
2160
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2163
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2165
as_fn_append ac_configure_args1 " '$ac_arg'"
2166
if test $ac_must_keep_next = true; then
2167
ac_must_keep_next=false # Got value, back to normal.
2170
*=* | --config-cache | -C | -disable-* | --disable-* \
2171
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2172
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2173
| -with-* | --with-* | -without-* | --without-* | --x)
2174
case "$ac_configure_args0 " in
2175
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2178
-* ) ac_must_keep_next=true ;;
2181
as_fn_append ac_configure_args " '$ac_arg'"
2186
{ ac_configure_args0=; unset ac_configure_args0;}
2187
{ ac_configure_args1=; unset ac_configure_args1;}
2189
# When interrupted or exit'd, cleanup temporary files, and complete
2190
# config.log. We remove comments because anyway the quotes in there
2191
# would cause problems or look ugly.
2192
# WARNING: Use '\'' to represent an apostrophe within the trap.
2193
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2194
trap 'exit_status=$?
2195
# Save into config.log some information that might help in debugging.
2200
## ---------------- ##
2201
## Cache variables. ##
2202
## ---------------- ##
2205
# The following way of writing the cache mishandles newlines in values,
2207
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2208
eval ac_val=\$$ac_var
2212
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2213
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2216
_ | IFS | as_nl) ;; #(
2217
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2218
*) { eval $ac_var=; unset $ac_var;} ;;
2223
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2224
*${as_nl}ac_space=\ *)
2226
"s/'\''/'\''\\\\'\'''\''/g;
2227
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2230
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2238
## ----------------- ##
2239
## Output variables. ##
2240
## ----------------- ##
2243
for ac_var in $ac_subst_vars
2245
eval ac_val=\$$ac_var
2247
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2249
$as_echo "$ac_var='\''$ac_val'\''"
2253
if test -n "$ac_subst_files"; then
2255
## ------------------- ##
2256
## File substitutions. ##
2257
## ------------------- ##
2260
for ac_var in $ac_subst_files
2262
eval ac_val=\$$ac_var
2264
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2266
$as_echo "$ac_var='\''$ac_val'\''"
2271
if test -s confdefs.h; then
2281
test "$ac_signal" != 0 &&
2282
$as_echo "$as_me: caught signal $ac_signal"
2283
$as_echo "$as_me: exit $exit_status"
2285
rm -f core *.core core.conftest.* &&
2286
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2289
for ac_signal in 1 2 13 15; do
2290
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2294
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2295
rm -f -r conftest* confdefs.h
2297
$as_echo "/* confdefs.h */" > confdefs.h
2299
# Predefined preprocessor variables.
2301
cat >>confdefs.h <<_ACEOF
2302
#define PACKAGE_NAME "$PACKAGE_NAME"
2305
cat >>confdefs.h <<_ACEOF
2306
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2309
cat >>confdefs.h <<_ACEOF
2310
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2313
cat >>confdefs.h <<_ACEOF
2314
#define PACKAGE_STRING "$PACKAGE_STRING"
2317
cat >>confdefs.h <<_ACEOF
2318
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2321
cat >>confdefs.h <<_ACEOF
2322
#define PACKAGE_URL "$PACKAGE_URL"
2326
# Let the site file select an alternate cache file if it wants to.
2327
# Prefer an explicitly selected file to automatically selected ones.
2330
if test -n "$CONFIG_SITE"; then
2331
ac_site_file1=$CONFIG_SITE
2332
elif test "x$prefix" != xNONE; then
2333
ac_site_file1=$prefix/share/config.site
2334
ac_site_file2=$prefix/etc/config.site
2336
ac_site_file1=$ac_default_prefix/share/config.site
2337
ac_site_file2=$ac_default_prefix/etc/config.site
2339
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2341
test "x$ac_site_file" = xNONE && continue
2342
if test -r "$ac_site_file"; then
2343
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2344
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2345
sed 's/^/| /' "$ac_site_file" >&5
2350
if test -r "$cache_file"; then
2351
# Some versions of bash will fail to source /dev/null (special
2352
# files actually), so we avoid doing that.
2353
if test -f "$cache_file"; then
2354
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2355
$as_echo "$as_me: loading cache $cache_file" >&6;}
2357
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2358
*) . "./$cache_file";;
2362
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2363
$as_echo "$as_me: creating cache $cache_file" >&6;}
2367
# Check that the precious variables saved in the cache have kept the same
2369
ac_cache_corrupted=false
2370
for ac_var in $ac_precious_vars; do
2371
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2372
eval ac_new_set=\$ac_env_${ac_var}_set
2373
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2374
eval ac_new_val=\$ac_env_${ac_var}_value
2375
case $ac_old_set,$ac_new_set in
2377
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2378
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2379
ac_cache_corrupted=: ;;
2381
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2382
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2383
ac_cache_corrupted=: ;;
2386
if test "x$ac_old_val" != "x$ac_new_val"; then
2387
# differences in whitespace do not lead to failure.
2388
ac_old_val_w=`echo x $ac_old_val`
2389
ac_new_val_w=`echo x $ac_new_val`
2390
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2391
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2392
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2393
ac_cache_corrupted=:
2395
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2396
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2397
eval $ac_var=\$ac_old_val
2399
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2400
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2401
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2402
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2405
# Pass precious variables to config.status.
2406
if test "$ac_new_set" = set; then
2408
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2409
*) ac_arg=$ac_var=$ac_new_val ;;
2411
case " $ac_configure_args " in
2412
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2413
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2417
if $ac_cache_corrupted; then
2418
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2419
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2420
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2421
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2422
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2424
## -------------------- ##
2425
## Main body of script. ##
2426
## -------------------- ##
2429
ac_cpp='$CPP $CPPFLAGS'
2430
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2431
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2432
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2436
for ac_dir in build-aux "$srcdir"/build-aux; do
2437
for ac_t in install-sh install.sh shtool; do
2438
if test -f "$ac_dir/$ac_t"; then
2440
ac_install_sh="$ac_aux_dir/$ac_t -c"
2445
if test -z "$ac_aux_dir"; then
2446
as_fn_error "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2449
# These three variables are undocumented and unsupported,
2450
# and are intended to be withdrawn in a future Autoconf release.
2451
# They can cause serious problems if a builder's source tree is in a directory
2452
# whose full name contains unusual characters.
2453
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2454
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2455
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2459
am__api_version='1.11'
2461
# Find a good install program. We prefer a C program (faster),
2462
# so one script is as good as another. But avoid the broken or
2463
# incompatible versions:
2464
# SysV /etc/install, /usr/sbin/install
2465
# SunOS /usr/etc/install
2466
# IRIX /sbin/install
2468
# AmigaOS /C/install, which installs bootblocks on floppy discs
2469
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2470
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2471
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2472
# OS/2's system install, which has a completely different semantic
2473
# ./install, which can be erroneously created by make from ./install.sh.
2474
# Reject install programs that cannot install multiple files.
2475
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2476
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2477
if test -z "$INSTALL"; then
2478
if test "${ac_cv_path_install+set}" = set; then :
2479
$as_echo_n "(cached) " >&6
2481
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2485
test -z "$as_dir" && as_dir=.
2486
# Account for people who put trailing slashes in PATH elements.
2487
case $as_dir/ in #((
2488
./ | .// | /[cC]/* | \
2489
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2490
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2493
# OSF1 and SCO ODT 3.0 have their own names for install.
2494
# Don't use installbsd from OSF since it installs stuff as root
2496
for ac_prog in ginstall scoinst install; do
2497
for ac_exec_ext in '' $ac_executable_extensions; do
2498
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2499
if test $ac_prog = install &&
2500
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2501
# AIX install. It has an incompatible calling convention.
2503
elif test $ac_prog = install &&
2504
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2505
# program-specific install script used by HP pwplus--don't use.
2508
rm -rf conftest.one conftest.two conftest.dir
2509
echo one > conftest.one
2510
echo two > conftest.two
2512
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2513
test -s conftest.one && test -s conftest.two &&
2514
test -s conftest.dir/conftest.one &&
2515
test -s conftest.dir/conftest.two
2517
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2530
rm -rf conftest.one conftest.two conftest.dir
2533
if test "${ac_cv_path_install+set}" = set; then
2534
INSTALL=$ac_cv_path_install
2536
# As a last resort, use the slow shell script. Don't cache a
2537
# value for INSTALL within a source directory, because that will
2538
# break other packages using the cache if that directory is
2539
# removed, or if the value is a relative name.
2540
INSTALL=$ac_install_sh
2543
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2544
$as_echo "$INSTALL" >&6; }
2546
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2547
# It thinks the first close brace ends the variable substitution.
2548
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2550
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2552
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2555
$as_echo_n "checking whether build environment is sane... " >&6; }
2558
echo timestamp > conftest.file
2559
# Reject unsafe characters in $srcdir or the absolute working directory
2560
# name. Accept space and tab only in the latter.
2564
*[\\\"\#\$\&\'\`$am_lf]*)
2565
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2568
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2569
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2572
# Do `set' in a subshell so we don't clobber the current shell's
2573
# arguments. Must try -L first in case configure is actually a
2574
# symlink; some systems play weird games with the mod time of symlinks
2575
# (eg FreeBSD returns the mod time of the symlink's containing
2578
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2579
if test "$*" = "X"; then
2581
set X `ls -t "$srcdir/configure" conftest.file`
2584
if test "$*" != "X $srcdir/configure conftest.file" \
2585
&& test "$*" != "X conftest.file $srcdir/configure"; then
2587
# If neither matched, then we have a broken ls. This can happen
2588
# if, for instance, CONFIG_SHELL is bash and it inherits a
2589
# broken ls alias from the environment. This has actually
2590
# happened. Such a system could not be considered "sane".
2591
as_fn_error "ls -t appears to fail. Make sure there is not a broken
2592
alias in your environment" "$LINENO" 5
2595
test "$2" = conftest.file
2601
as_fn_error "newly created file is older than distributed files!
2602
Check your system clock" "$LINENO" 5
2604
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2605
$as_echo "yes" >&6; }
2606
test "$program_prefix" != NONE &&
2607
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2608
# Use a double $ so make ignores it.
2609
test "$program_suffix" != NONE &&
2610
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2611
# Double any \ or $.
2612
# By default was `s,x,x', remove it if useless.
2613
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2614
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2616
# expand $ac_aux_dir to an absolute path
2617
am_aux_dir=`cd $ac_aux_dir && pwd`
2619
if test x"${MISSING+set}" != xset; then
2622
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2624
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2627
# Use eval to expand $SHELL
2628
if eval "$MISSING --run true"; then
2629
am_missing_run="$MISSING --run "
2632
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2633
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2636
if test x"${install_sh}" != xset; then
2639
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2641
install_sh="\${SHELL} $am_aux_dir/install-sh"
2645
# Installed binaries are usually stripped using `strip' when the user
2646
# run `make install-strip'. However `strip' might not be the right
2647
# tool to use in cross-compilation environments, therefore Automake
2648
# will honor the `STRIP' environment variable to overrule this program.
2649
if test "$cross_compiling" != no; then
2650
if test -n "$ac_tool_prefix"; then
2651
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2652
set dummy ${ac_tool_prefix}strip; ac_word=$2
2653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654
$as_echo_n "checking for $ac_word... " >&6; }
2655
if test "${ac_cv_prog_STRIP+set}" = set; then :
2656
$as_echo_n "(cached) " >&6
2658
if test -n "$STRIP"; then
2659
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2661
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2665
test -z "$as_dir" && as_dir=.
2666
for ac_exec_ext in '' $ac_executable_extensions; do
2667
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2668
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2669
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2678
STRIP=$ac_cv_prog_STRIP
2679
if test -n "$STRIP"; then
2680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2681
$as_echo "$STRIP" >&6; }
2683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684
$as_echo "no" >&6; }
2689
if test -z "$ac_cv_prog_STRIP"; then
2691
# Extract the first word of "strip", so it can be a program name with args.
2692
set dummy strip; ac_word=$2
2693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694
$as_echo_n "checking for $ac_word... " >&6; }
2695
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2696
$as_echo_n "(cached) " >&6
2698
if test -n "$ac_ct_STRIP"; then
2699
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2701
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705
test -z "$as_dir" && as_dir=.
2706
for ac_exec_ext in '' $ac_executable_extensions; do
2707
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2708
ac_cv_prog_ac_ct_STRIP="strip"
2709
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2718
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2719
if test -n "$ac_ct_STRIP"; then
2720
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2721
$as_echo "$ac_ct_STRIP" >&6; }
2723
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2724
$as_echo "no" >&6; }
2727
if test "x$ac_ct_STRIP" = x; then
2730
case $cross_compiling:$ac_tool_warned in
2732
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2733
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2734
ac_tool_warned=yes ;;
2739
STRIP="$ac_cv_prog_STRIP"
2743
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2746
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2747
if test -z "$MKDIR_P"; then
2748
if test "${ac_cv_path_mkdir+set}" = set; then :
2749
$as_echo_n "(cached) " >&6
2751
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2752
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2755
test -z "$as_dir" && as_dir=.
2756
for ac_prog in mkdir gmkdir; do
2757
for ac_exec_ext in '' $ac_executable_extensions; do
2758
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2759
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2760
'mkdir (GNU coreutils) '* | \
2761
'mkdir (coreutils) '* | \
2762
'mkdir (fileutils) '4.1*)
2763
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2773
if test "${ac_cv_path_mkdir+set}" = set; then
2774
MKDIR_P="$ac_cv_path_mkdir -p"
2776
# As a last resort, use the slow shell script. Don't cache a
2777
# value for MKDIR_P within a source directory, because that will
2778
# break other packages using the cache if that directory is
2779
# removed, or if the value is a relative name.
2780
test -d ./--version && rmdir ./--version
2781
MKDIR_P="$ac_install_sh -d"
2784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2785
$as_echo "$MKDIR_P" >&6; }
2789
[\\/$]* | ?:[\\/]*) ;;
2790
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2793
for ac_prog in gawk mawk nawk awk
2795
# Extract the first word of "$ac_prog", so it can be a program name with args.
2796
set dummy $ac_prog; ac_word=$2
2797
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2798
$as_echo_n "checking for $ac_word... " >&6; }
2799
if test "${ac_cv_prog_AWK+set}" = set; then :
2800
$as_echo_n "(cached) " >&6
2802
if test -n "$AWK"; then
2803
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2805
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809
test -z "$as_dir" && as_dir=.
2810
for ac_exec_ext in '' $ac_executable_extensions; do
2811
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2812
ac_cv_prog_AWK="$ac_prog"
2813
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2823
if test -n "$AWK"; then
2824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2825
$as_echo "$AWK" >&6; }
2827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2828
$as_echo "no" >&6; }
2832
test -n "$AWK" && break
2835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2836
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2838
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2839
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2840
$as_echo_n "(cached) " >&6
2842
cat >conftest.make <<\_ACEOF
2845
@echo '@@@%%%=$(MAKE)=@@@%%%'
2847
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2848
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2850
eval ac_cv_prog_make_${ac_make}_set=yes;;
2852
eval ac_cv_prog_make_${ac_make}_set=no;;
2856
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2858
$as_echo "yes" >&6; }
2861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2862
$as_echo "no" >&6; }
2863
SET_MAKE="MAKE=${MAKE-make}"
2866
rm -rf .tst 2>/dev/null
2867
mkdir .tst 2>/dev/null
2868
if test -d .tst; then
2873
rmdir .tst 2>/dev/null
2875
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2876
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2877
# is not polluted with repeated "-I."
2878
am__isrc=' -I$(srcdir)'
2879
# test to see if srcdir already configured
2880
if test -f $srcdir/config.status; then
2881
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2885
# test whether we have cygpath
2886
if test -z "$CYGPATH_W"; then
2887
if (cygpath --version) >/dev/null 2>/dev/null; then
2888
CYGPATH_W='cygpath -w'
2895
# Define the identity of the package.
2900
cat >>confdefs.h <<_ACEOF
2901
#define PACKAGE "$PACKAGE"
2905
cat >>confdefs.h <<_ACEOF
2906
#define VERSION "$VERSION"
2909
# Some tools Automake needs.
2911
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2914
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2917
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2920
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2923
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2925
# We need awk for the "check" target. The system "awk" is bad on
2927
# Always define AMTAR for backward compatibility.
2929
AMTAR=${AMTAR-"${am_missing_run}tar"}
2931
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2938
ac_config_headers="$ac_config_headers config.h"
2941
# checks for programs.
2943
ac_cpp='$CXXCPP $CPPFLAGS'
2944
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2945
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2946
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2947
if test -z "$CXX"; then
2948
if test -n "$CCC"; then
2951
if test -n "$ac_tool_prefix"; then
2952
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2954
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2955
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2957
$as_echo_n "checking for $ac_word... " >&6; }
2958
if test "${ac_cv_prog_CXX+set}" = set; then :
2959
$as_echo_n "(cached) " >&6
2961
if test -n "$CXX"; then
2962
ac_cv_prog_CXX="$CXX" # Let the user override the test.
2964
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2968
test -z "$as_dir" && as_dir=.
2969
for ac_exec_ext in '' $ac_executable_extensions; do
2970
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2971
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2972
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2982
if test -n "$CXX"; then
2983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2984
$as_echo "$CXX" >&6; }
2986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2987
$as_echo "no" >&6; }
2991
test -n "$CXX" && break
2994
if test -z "$CXX"; then
2996
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2998
# Extract the first word of "$ac_prog", so it can be a program name with args.
2999
set dummy $ac_prog; ac_word=$2
3000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3001
$as_echo_n "checking for $ac_word... " >&6; }
3002
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3003
$as_echo_n "(cached) " >&6
3005
if test -n "$ac_ct_CXX"; then
3006
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3008
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3012
test -z "$as_dir" && as_dir=.
3013
for ac_exec_ext in '' $ac_executable_extensions; do
3014
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3015
ac_cv_prog_ac_ct_CXX="$ac_prog"
3016
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3025
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3026
if test -n "$ac_ct_CXX"; then
3027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3028
$as_echo "$ac_ct_CXX" >&6; }
3030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3031
$as_echo "no" >&6; }
3035
test -n "$ac_ct_CXX" && break
3038
if test "x$ac_ct_CXX" = x; then
3041
case $cross_compiling:$ac_tool_warned in
3043
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3044
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3045
ac_tool_warned=yes ;;
3053
# Provide some information about the compiler.
3054
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3057
for ac_option in --version -v -V -qversion; do
3058
{ { ac_try="$ac_compiler $ac_option >&5"
3060
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3061
*) ac_try_echo=$ac_try;;
3063
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3064
$as_echo "$ac_try_echo"; } >&5
3065
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3067
if test -s conftest.err; then
3069
... rest of stderr output deleted ...
3070
10q' conftest.err >conftest.er1
3071
cat conftest.er1 >&5
3072
rm -f conftest.er1 conftest.err
3074
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3075
test $ac_status = 0; }
3078
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3079
/* end confdefs.h. */
3084
FILE *f = fopen ("conftest.out", "w");
3085
return ferror (f) || fclose (f) != 0;
3091
ac_clean_files_save=$ac_clean_files
3092
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3093
# Try to create an executable without -o first, disregard a.out.
3094
# It will help us diagnose broken compilers, and finding out an intuition
3096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3097
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3098
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3100
# The possible output files:
3101
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3104
for ac_file in $ac_files
3107
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3108
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3113
if { { ac_try="$ac_link_default"
3115
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3116
*) ac_try_echo=$ac_try;;
3118
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3119
$as_echo "$ac_try_echo"; } >&5
3120
(eval "$ac_link_default") 2>&5
3122
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3123
test $ac_status = 0; }; then :
3124
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3125
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3126
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3127
# so that the user can short-circuit this test for compilers unknown to
3129
for ac_file in $ac_files ''
3131
test -f "$ac_file" || continue
3133
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3136
# We found the default executable, but exeext='' is most
3140
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3142
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3144
# We set ac_cv_exeext here because the later test for it is not
3145
# safe: cross compilers may not add the suffix if given an `-o'
3146
# argument, so we may need to know it at that point already.
3147
# Even if this section looks crufty: it has the advantage of
3154
test "$ac_cv_exeext" = no && ac_cv_exeext=
3159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3160
$as_echo "$ac_file" >&6; }
3161
if test -z "$ac_file"; then :
3162
$as_echo "$as_me: failed program was:" >&5
3163
sed 's/^/| /' conftest.$ac_ext >&5
3165
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3166
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3167
{ as_fn_set_status 77
3168
as_fn_error "C++ compiler cannot create executables
3169
See \`config.log' for more details." "$LINENO" 5; }; }
3171
ac_exeext=$ac_cv_exeext
3173
# Check that the compiler produces executables we can run. If not, either
3174
# the compiler is broken, or we cross compile.
3175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3176
$as_echo_n "checking whether the C++ compiler works... " >&6; }
3177
# If not cross compiling, check that we can run a simple program.
3178
if test "$cross_compiling" != yes; then
3179
if { ac_try='./$ac_file'
3180
{ { case "(($ac_try" in
3181
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3182
*) ac_try_echo=$ac_try;;
3184
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3185
$as_echo "$ac_try_echo"; } >&5
3186
(eval "$ac_try") 2>&5
3188
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3189
test $ac_status = 0; }; }; then
3192
if test "$cross_compiling" = maybe; then
3195
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3196
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3197
as_fn_error "cannot run C++ compiled programs.
3198
If you meant to cross compile, use \`--host'.
3199
See \`config.log' for more details." "$LINENO" 5; }
3203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3204
$as_echo "yes" >&6; }
3206
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3207
ac_clean_files=$ac_clean_files_save
3208
# Check that the compiler produces executables we can run. If not, either
3209
# the compiler is broken, or we cross compile.
3210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3211
$as_echo_n "checking whether we are cross compiling... " >&6; }
3212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3213
$as_echo "$cross_compiling" >&6; }
3215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3216
$as_echo_n "checking for suffix of executables... " >&6; }
3217
if { { ac_try="$ac_link"
3219
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3220
*) ac_try_echo=$ac_try;;
3222
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3223
$as_echo "$ac_try_echo"; } >&5
3224
(eval "$ac_link") 2>&5
3226
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3227
test $ac_status = 0; }; then :
3228
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3229
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3230
# work properly (i.e., refer to `conftest.exe'), while it won't with
3232
for ac_file in conftest.exe conftest conftest.*; do
3233
test -f "$ac_file" || continue
3235
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3236
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3242
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3243
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3244
as_fn_error "cannot compute suffix of executables: cannot compile and link
3245
See \`config.log' for more details." "$LINENO" 5; }
3247
rm -f conftest$ac_cv_exeext
3248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3249
$as_echo "$ac_cv_exeext" >&6; }
3251
rm -f conftest.$ac_ext
3252
EXEEXT=$ac_cv_exeext
3254
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3255
$as_echo_n "checking for suffix of object files... " >&6; }
3256
if test "${ac_cv_objext+set}" = set; then :
3257
$as_echo_n "(cached) " >&6
3259
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260
/* end confdefs.h. */
3270
rm -f conftest.o conftest.obj
3271
if { { ac_try="$ac_compile"
3273
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274
*) ac_try_echo=$ac_try;;
3276
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3277
$as_echo "$ac_try_echo"; } >&5
3278
(eval "$ac_compile") 2>&5
3280
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3281
test $ac_status = 0; }; then :
3282
for ac_file in conftest.o conftest.obj conftest.*; do
3283
test -f "$ac_file" || continue;
3285
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3286
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3291
$as_echo "$as_me: failed program was:" >&5
3292
sed 's/^/| /' conftest.$ac_ext >&5
3294
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3295
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3296
as_fn_error "cannot compute suffix of object files: cannot compile
3297
See \`config.log' for more details." "$LINENO" 5; }
3299
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3301
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3302
$as_echo "$ac_cv_objext" >&6; }
3303
OBJEXT=$ac_cv_objext
3305
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3306
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3307
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3308
$as_echo_n "(cached) " >&6
3310
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311
/* end confdefs.h. */
3324
if ac_fn_cxx_try_compile "$LINENO"; then :
3329
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3330
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3334
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3335
if test $ac_compiler_gnu = yes; then
3340
ac_test_CXXFLAGS=${CXXFLAGS+set}
3341
ac_save_CXXFLAGS=$CXXFLAGS
3342
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3343
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3344
if test "${ac_cv_prog_cxx_g+set}" = set; then :
3345
$as_echo_n "(cached) " >&6
3347
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3348
ac_cxx_werror_flag=yes
3351
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3352
/* end confdefs.h. */
3362
if ac_fn_cxx_try_compile "$LINENO"; then :
3363
ac_cv_prog_cxx_g=yes
3366
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367
/* end confdefs.h. */
3377
if ac_fn_cxx_try_compile "$LINENO"; then :
3380
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3382
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383
/* end confdefs.h. */
3393
if ac_fn_cxx_try_compile "$LINENO"; then :
3394
ac_cv_prog_cxx_g=yes
3396
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3398
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3400
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3404
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3405
if test "$ac_test_CXXFLAGS" = set; then
3406
CXXFLAGS=$ac_save_CXXFLAGS
3407
elif test $ac_cv_prog_cxx_g = yes; then
3408
if test "$GXX" = yes; then
3414
if test "$GXX" = yes; then
3421
ac_cpp='$CPP $CPPFLAGS'
3422
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3423
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3424
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3425
DEPDIR="${am__leading_dot}deps"
3427
ac_config_commands="$ac_config_commands depfiles"
3430
am_make=${MAKE-make}
3431
cat > confinc << 'END'
3433
@echo this is the am__doit target
3436
# If we don't find an include directive, just comment out the code.
3437
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3438
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3442
# First try GNU make style include.
3443
echo "include confinc" > confmf
3444
# Ignore all kinds of additional output from `make'.
3445
case `$am_make -s -f confmf 2> /dev/null` in #(
3446
*the\ am__doit\ target*)
3452
# Now try BSD make style include.
3453
if test "$am__include" = "#"; then
3454
echo '.include "confinc"' > confmf
3455
case `$am_make -s -f confmf 2> /dev/null` in #(
3456
*the\ am__doit\ target*)
3457
am__include=.include
3465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3466
$as_echo "$_am_result" >&6; }
3467
rm -f confinc confmf
3469
# Check whether --enable-dependency-tracking was given.
3470
if test "${enable_dependency_tracking+set}" = set; then :
3471
enableval=$enable_dependency_tracking;
3474
if test "x$enable_dependency_tracking" != xno; then
3475
am_depcomp="$ac_aux_dir/depcomp"
3478
if test "x$enable_dependency_tracking" != xno; then
3488
depcc="$CXX" am_compiler_list=
3490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3491
$as_echo_n "checking dependency style of $depcc... " >&6; }
3492
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3493
$as_echo_n "(cached) " >&6
3495
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3496
# We make a subdir and do the tests there. Otherwise we can end up
3497
# making bogus files that we don't know about and never remove. For
3498
# instance it was reported that on HP-UX the gcc test will end up
3499
# making a dummy file named `D' -- because `-MD' means `put the output
3502
# Copy depcomp to subdir because otherwise we won't find it if we're
3503
# using a relative directory.
3504
cp "$am_depcomp" conftest.dir
3506
# We will build objects and dependencies in a subdirectory because
3507
# it helps to detect inapplicable dependency modes. For instance
3508
# both Tru64's cc and ICC support -MD to output dependencies as a
3509
# side effect of compilation, but ICC will put the dependencies in
3510
# the current directory while Tru64 will put them in the object
3514
am_cv_CXX_dependencies_compiler_type=none
3515
if test "$am_compiler_list" = ""; then
3516
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3519
case " $depcc " in #(
3520
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3523
for depmode in $am_compiler_list; do
3524
# Setup a source with many dependencies, because some compilers
3525
# like to wrap large dependency lists on column 80 (with \), and
3526
# we should not choose a depcomp mode which is confused by this.
3528
# We need to recreate these files for each test, as the compiler may
3529
# overwrite some of them when testing with obscure command lines.
3530
# This happens at least with the AIX C compiler.
3532
for i in 1 2 3 4 5 6; do
3533
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3534
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3535
# Solaris 8's {/usr,}/bin/sh.
3536
touch sub/conftst$i.h
3538
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3540
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3541
# mode. It turns out that the SunPro C++ compiler does not properly
3542
# handle `-M -o', and we need to detect this. Also, some Intel
3543
# versions had trouble with output in subdirs
3544
am__obj=sub/conftest.${OBJEXT-o}
3545
am__minus_obj="-o $am__obj"
3548
# This depmode causes a compiler race in universal mode.
3549
test "$am__universal" = false || continue
3552
# after this tag, mechanisms are not by side-effect, so they'll
3553
# only be used when explicitly requested
3554
if test "x$enable_dependency_tracking" = xyes; then
3560
msvisualcpp | msvcmsys)
3561
# This compiler won't grok `-c -o', but also, the minuso test has
3562
# not run yet. These depmodes are late enough in the game, and
3563
# so weak that their functioning should not be impacted.
3564
am__obj=conftest.${OBJEXT-o}
3569
if depmode=$depmode \
3570
source=sub/conftest.c object=$am__obj \
3571
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3572
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3573
>/dev/null 2>conftest.err &&
3574
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3575
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3576
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3577
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3578
# icc doesn't choke on unknown options, it will just issue warnings
3579
# or remarks (even with -Werror). So we grep stderr for any message
3580
# that says an option was ignored or not supported.
3581
# When given -MP, icc 7.0 and 7.1 complain thusly:
3582
# icc: Command line warning: ignoring option '-M'; no argument required
3583
# The diagnosis changed in icc 8.0:
3584
# icc: Command line remark: option '-MP' not supported
3585
if (grep 'ignoring option' conftest.err ||
3586
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3587
am_cv_CXX_dependencies_compiler_type=$depmode
3596
am_cv_CXX_dependencies_compiler_type=none
3600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3601
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3602
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3605
test "x$enable_dependency_tracking" != xno \
3606
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3607
am__fastdepCXX_TRUE=
3608
am__fastdepCXX_FALSE='#'
3610
am__fastdepCXX_TRUE='#'
3611
am__fastdepCXX_FALSE=
3617
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3618
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3623
macro_version='2.2.6'
3624
macro_revision='1.3012'
3638
ltmain="$ac_aux_dir/ltmain.sh"
3640
# Make sure we can run config.sub.
3641
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3642
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3645
$as_echo_n "checking build system type... " >&6; }
3646
if test "${ac_cv_build+set}" = set; then :
3647
$as_echo_n "(cached) " >&6
3649
ac_build_alias=$build_alias
3650
test "x$ac_build_alias" = x &&
3651
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3652
test "x$ac_build_alias" = x &&
3653
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3654
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3655
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3659
$as_echo "$ac_cv_build" >&6; }
3660
case $ac_cv_build in
3662
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3665
ac_save_IFS=$IFS; IFS='-'
3671
# Remember, the first character of IFS is used to create $*,
3672
# except with old shells:
3675
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3679
$as_echo_n "checking host system type... " >&6; }
3680
if test "${ac_cv_host+set}" = set; then :
3681
$as_echo_n "(cached) " >&6
3683
if test "x$host_alias" = x; then
3684
ac_cv_host=$ac_cv_build
3686
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3687
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3692
$as_echo "$ac_cv_host" >&6; }
3695
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3698
ac_save_IFS=$IFS; IFS='-'
3704
# Remember, the first character of IFS is used to create $*,
3705
# except with old shells:
3708
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3712
ac_cpp='$CPP $CPPFLAGS'
3713
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3714
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3715
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3716
if test -n "$ac_tool_prefix"; then
3717
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3718
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3720
$as_echo_n "checking for $ac_word... " >&6; }
3721
if test "${ac_cv_prog_CC+set}" = set; then :
3722
$as_echo_n "(cached) " >&6
3724
if test -n "$CC"; then
3725
ac_cv_prog_CC="$CC" # Let the user override the test.
3727
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3731
test -z "$as_dir" && as_dir=.
3732
for ac_exec_ext in '' $ac_executable_extensions; do
3733
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3734
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3735
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3745
if test -n "$CC"; then
3746
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3747
$as_echo "$CC" >&6; }
3749
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3750
$as_echo "no" >&6; }
3755
if test -z "$ac_cv_prog_CC"; then
3757
# Extract the first word of "gcc", so it can be a program name with args.
3758
set dummy gcc; ac_word=$2
3759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3760
$as_echo_n "checking for $ac_word... " >&6; }
3761
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3762
$as_echo_n "(cached) " >&6
3764
if test -n "$ac_ct_CC"; then
3765
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3767
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3771
test -z "$as_dir" && as_dir=.
3772
for ac_exec_ext in '' $ac_executable_extensions; do
3773
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3774
ac_cv_prog_ac_ct_CC="gcc"
3775
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3784
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3785
if test -n "$ac_ct_CC"; then
3786
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3787
$as_echo "$ac_ct_CC" >&6; }
3789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3790
$as_echo "no" >&6; }
3793
if test "x$ac_ct_CC" = x; then
3796
case $cross_compiling:$ac_tool_warned in
3798
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3799
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3800
ac_tool_warned=yes ;;
3808
if test -z "$CC"; then
3809
if test -n "$ac_tool_prefix"; then
3810
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3811
set dummy ${ac_tool_prefix}cc; ac_word=$2
3812
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3813
$as_echo_n "checking for $ac_word... " >&6; }
3814
if test "${ac_cv_prog_CC+set}" = set; then :
3815
$as_echo_n "(cached) " >&6
3817
if test -n "$CC"; then
3818
ac_cv_prog_CC="$CC" # Let the user override the test.
3820
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824
test -z "$as_dir" && as_dir=.
3825
for ac_exec_ext in '' $ac_executable_extensions; do
3826
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3827
ac_cv_prog_CC="${ac_tool_prefix}cc"
3828
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3838
if test -n "$CC"; then
3839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3840
$as_echo "$CC" >&6; }
3842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843
$as_echo "no" >&6; }
3849
if test -z "$CC"; then
3850
# Extract the first word of "cc", so it can be a program name with args.
3851
set dummy cc; ac_word=$2
3852
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3853
$as_echo_n "checking for $ac_word... " >&6; }
3854
if test "${ac_cv_prog_CC+set}" = set; then :
3855
$as_echo_n "(cached) " >&6
3857
if test -n "$CC"; then
3858
ac_cv_prog_CC="$CC" # Let the user override the test.
3861
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3865
test -z "$as_dir" && as_dir=.
3866
for ac_exec_ext in '' $ac_executable_extensions; do
3867
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3868
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3869
ac_prog_rejected=yes
3873
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3880
if test $ac_prog_rejected = yes; then
3881
# We found a bogon in the path, so make sure we never use it.
3882
set dummy $ac_cv_prog_CC
3884
if test $# != 0; then
3885
# We chose a different compiler from the bogus one.
3886
# However, it has the same basename, so the bogon will be chosen
3887
# first if we set CC to just the basename; use the full file name.
3889
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3895
if test -n "$CC"; then
3896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3897
$as_echo "$CC" >&6; }
3899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3900
$as_echo "no" >&6; }
3905
if test -z "$CC"; then
3906
if test -n "$ac_tool_prefix"; then
3907
for ac_prog in cl.exe
3909
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3910
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3911
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3912
$as_echo_n "checking for $ac_word... " >&6; }
3913
if test "${ac_cv_prog_CC+set}" = set; then :
3914
$as_echo_n "(cached) " >&6
3916
if test -n "$CC"; then
3917
ac_cv_prog_CC="$CC" # Let the user override the test.
3919
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3923
test -z "$as_dir" && as_dir=.
3924
for ac_exec_ext in '' $ac_executable_extensions; do
3925
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3926
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3927
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3937
if test -n "$CC"; then
3938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3939
$as_echo "$CC" >&6; }
3941
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3942
$as_echo "no" >&6; }
3946
test -n "$CC" && break
3949
if test -z "$CC"; then
3951
for ac_prog in cl.exe
3953
# Extract the first word of "$ac_prog", so it can be a program name with args.
3954
set dummy $ac_prog; ac_word=$2
3955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3956
$as_echo_n "checking for $ac_word... " >&6; }
3957
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3958
$as_echo_n "(cached) " >&6
3960
if test -n "$ac_ct_CC"; then
3961
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3963
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3967
test -z "$as_dir" && as_dir=.
3968
for ac_exec_ext in '' $ac_executable_extensions; do
3969
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3970
ac_cv_prog_ac_ct_CC="$ac_prog"
3971
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3980
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3981
if test -n "$ac_ct_CC"; then
3982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3983
$as_echo "$ac_ct_CC" >&6; }
3985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3986
$as_echo "no" >&6; }
3990
test -n "$ac_ct_CC" && break
3993
if test "x$ac_ct_CC" = x; then
3996
case $cross_compiling:$ac_tool_warned in
3998
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3999
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4000
ac_tool_warned=yes ;;
4009
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4010
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4011
as_fn_error "no acceptable C compiler found in \$PATH
4012
See \`config.log' for more details." "$LINENO" 5; }
4014
# Provide some information about the compiler.
4015
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4018
for ac_option in --version -v -V -qversion; do
4019
{ { ac_try="$ac_compiler $ac_option >&5"
4021
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4022
*) ac_try_echo=$ac_try;;
4024
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4025
$as_echo "$ac_try_echo"; } >&5
4026
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4028
if test -s conftest.err; then
4030
... rest of stderr output deleted ...
4031
10q' conftest.err >conftest.er1
4032
cat conftest.er1 >&5
4033
rm -f conftest.er1 conftest.err
4035
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036
test $ac_status = 0; }
4039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4040
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4041
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4042
$as_echo_n "(cached) " >&6
4044
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4045
/* end confdefs.h. */
4058
if ac_fn_c_try_compile "$LINENO"; then :
4063
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4064
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4068
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4069
if test $ac_compiler_gnu = yes; then
4074
ac_test_CFLAGS=${CFLAGS+set}
4075
ac_save_CFLAGS=$CFLAGS
4076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4077
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4078
if test "${ac_cv_prog_cc_g+set}" = set; then :
4079
$as_echo_n "(cached) " >&6
4081
ac_save_c_werror_flag=$ac_c_werror_flag
4082
ac_c_werror_flag=yes
4085
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086
/* end confdefs.h. */
4096
if ac_fn_c_try_compile "$LINENO"; then :
4100
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4101
/* end confdefs.h. */
4111
if ac_fn_c_try_compile "$LINENO"; then :
4114
ac_c_werror_flag=$ac_save_c_werror_flag
4116
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4117
/* end confdefs.h. */