/sqlite3cc

To get this branch, use:
bzr branch http://bzr.ed.am/sqlite3cc

« back to all changes in this revision

Viewing changes to configure

  • Committer: edam
  • Date: 2010-02-08 22:08:57 UTC
  • Revision ID: edam@waxworlds.org-20100208220857-5up6fi4y6jh5bz4k
- removed "OK" from test-main when test is successful
- aranged for test/test-main to buld properly and be called from "make check"
- added include/Makefile.am to arrange for installation of library headers
- added project website to configure.ac
- added library interface configuration variable to configure.ac

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Guess values for system-dependent variables and create Makefiles.
 
3
# Generated by GNU Autoconf 2.64 for sqlite3cc 0.1.0.
 
4
#
 
5
# Report bugs to <edam@waxworlds.org>.
 
6
#
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
9
# Foundation, Inc.
 
10
#
 
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
## -------------------- ##
 
16
 
 
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 :
 
20
  emulate sh
 
21
  NULLCMD=:
 
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+"$@"}'='"$@"'
 
25
  setopt NO_GLOB_SUBST
 
26
else
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
 
32
esac
 
33
fi
 
34
 
 
35
 
 
36
as_nl='
 
37
'
 
38
export as_nl
 
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
 
47
  as_echo='print -r --'
 
48
  as_echo_n='print -rn --'
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
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'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in #(
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
 
73
 
 
74
# The user is always right.
 
75
if test "${PATH_SEPARATOR+set}" != set; then
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
 
81
fi
 
82
 
 
83
 
 
84
# IFS
 
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.)
 
89
IFS=" ""        $as_nl"
 
90
 
 
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
case $0 in #((
 
93
  *[\\/]* ) as_myself=$0 ;;
 
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
95
for as_dir in $PATH
 
96
do
 
97
  IFS=$as_save_IFS
 
98
  test -z "$as_dir" && as_dir=.
 
99
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
100
  done
 
101
IFS=$as_save_IFS
 
102
 
 
103
     ;;
 
104
esac
 
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
 
108
  as_myself=$0
 
109
fi
 
110
if test ! -f "$as_myself"; then
 
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
112
  exit 1
 
113
fi
 
114
 
 
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 || :
 
122
done
 
123
PS1='$ '
 
124
PS2='> '
 
125
PS4='+ '
 
126
 
 
127
# NLS nuisances.
 
128
LC_ALL=C
 
129
export LC_ALL
 
130
LANGUAGE=C
 
131
export LANGUAGE
 
132
 
 
133
# CDPATH.
 
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
135
 
 
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 :
 
138
  emulate sh
 
139
  NULLCMD=:
 
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+\"\$@\"}'='\"\$@\"'
 
143
  setopt NO_GLOB_SUBST
 
144
else
 
145
  case \`(set -o) 2>/dev/null\` in #(
 
146
  *posix*) :
 
147
    set -o posix ;; #(
 
148
  *) :
 
149
     ;;
 
150
esac
 
151
fi
 
152
"
 
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; }
 
158
 
 
159
exitcode=0
 
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 :
 
165
 
 
166
else
 
167
  exitcode=1; echo positional parameters were not saved.
 
168
fi
 
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 :
 
176
  as_have_required=yes
 
177
else
 
178
  as_have_required=no
 
179
fi
 
180
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
181
 
 
182
else
 
183
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
184
as_found=false
 
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
186
do
 
187
  IFS=$as_save_IFS
 
188
  test -z "$as_dir" && as_dir=.
 
189
  as_found=:
 
190
  case $as_dir in #(
 
191
         /*)
 
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 :
 
199
  break 2
 
200
fi
 
201
fi
 
202
           done;;
 
203
       esac
 
204
  as_found=false
 
205
done
 
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
 
209
fi; }
 
210
IFS=$as_save_IFS
 
211
 
 
212
 
 
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.
 
217
        BASH_ENV=/dev/null
 
218
        ENV=/dev/null
 
219
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
220
        export CONFIG_SHELL
 
221
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
222
fi
 
223
 
 
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."
 
230
  else
 
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
 
235
$0: have one."
 
236
  fi
 
237
  exit 1
 
238
fi
 
239
fi
 
240
fi
 
241
SHELL=${CONFIG_SHELL-/bin/sh}
 
242
export SHELL
 
243
# Unset more variables known to interfere with behavior of common tools.
 
244
CLICOLOR_FORCE= GREP_OPTIONS=
 
245
unset CLICOLOR_FORCE GREP_OPTIONS
 
246
 
 
247
## --------------------- ##
 
248
## M4sh Shell Functions. ##
 
249
## --------------------- ##
 
250
# as_fn_unset VAR
 
251
# ---------------
 
252
# Portably unset VAR.
 
253
as_fn_unset ()
 
254
{
 
255
  { eval $1=; unset $1;}
 
256
}
 
257
as_unset=as_fn_unset
 
258
 
 
259
# as_fn_set_status STATUS
 
260
# -----------------------
 
261
# Set $? to STATUS, without forking.
 
262
as_fn_set_status ()
 
263
{
 
264
  return $1
 
265
} # as_fn_set_status
 
266
 
 
267
# as_fn_exit STATUS
 
268
# -----------------
 
269
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
270
as_fn_exit ()
 
271
{
 
272
  set +e
 
273
  as_fn_set_status $1
 
274
  exit $1
 
275
} # as_fn_exit
 
276
 
 
277
# as_fn_mkdir_p
 
278
# -------------
 
279
# Create "$as_dir" as a directory, including parents if necessary.
 
280
as_fn_mkdir_p ()
 
281
{
 
282
 
 
283
  case $as_dir in #(
 
284
  -*) as_dir=./$as_dir;;
 
285
  esac
 
286
  test -d "$as_dir" || eval $as_mkdir_p || {
 
287
    as_dirs=
 
288
    while :; do
 
289
      case $as_dir in #(
 
290
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
291
      *) as_qdir=$as_dir;;
 
292
      esac
 
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
301
            s//\1/
 
302
            q
 
303
          }
 
304
          /^X\(\/\/\)[^/].*/{
 
305
            s//\1/
 
306
            q
 
307
          }
 
308
          /^X\(\/\/\)$/{
 
309
            s//\1/
 
310
            q
 
311
          }
 
312
          /^X\(\/\).*/{
 
313
            s//\1/
 
314
            q
 
315
          }
 
316
          s/.*/./; q'`
 
317
      test -d "$as_dir" && break
 
318
    done
 
319
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
320
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
321
 
 
322
 
 
323
} # as_fn_mkdir_p
 
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
 
329
# implementations.
 
330
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
331
  eval 'as_fn_append ()
 
332
  {
 
333
    eval $1+=\$2
 
334
  }'
 
335
else
 
336
  as_fn_append ()
 
337
  {
 
338
    eval $1=\$$1\$2
 
339
  }
 
340
fi # as_fn_append
 
341
 
 
342
# as_fn_arith ARG...
 
343
# ------------------
 
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 :
 
348
  eval 'as_fn_arith ()
 
349
  {
 
350
    as_val=$(( $* ))
 
351
  }'
 
352
else
 
353
  as_fn_arith ()
 
354
  {
 
355
    as_val=`expr "$@" || test $? -eq 1`
 
356
  }
 
357
fi # as_fn_arith
 
358
 
 
359
 
 
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.
 
365
as_fn_error ()
 
366
{
 
367
  as_status=$?; test $as_status -eq 0 && as_status=1
 
368
  if test "$3"; then
 
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
 
371
  fi
 
372
  $as_echo "$as_me: error: $1" >&2
 
373
  as_fn_exit $as_status
 
374
} # as_fn_error
 
375
 
 
376
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
377
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
378
  as_expr=expr
 
379
else
 
380
  as_expr=false
 
381
fi
 
382
 
 
383
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
384
  as_basename=basename
 
385
else
 
386
  as_basename=false
 
387
fi
 
388
 
 
389
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
390
  as_dirname=dirname
 
391
else
 
392
  as_dirname=false
 
393
fi
 
394
 
 
395
as_me=`$as_basename -- "$0" ||
 
396
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
397
         X"$0" : 'X\(//\)$' \| \
 
398
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
399
$as_echo X/"$0" |
 
400
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
401
            s//\1/
 
402
            q
 
403
          }
 
404
          /^X\/\(\/\/\)$/{
 
405
            s//\1/
 
406
            q
 
407
          }
 
408
          /^X\/\(\/\).*/{
 
409
            s//\1/
 
410
            q
 
411
          }
 
412
          s/.*/./; q'`
 
413
 
 
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
 
420
 
 
421
 
 
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.  :-)
 
427
  sed -n '
 
428
    p
 
429
    /[$]LINENO/=
 
430
  ' <$as_myself |
 
431
    sed '
 
432
      s/[$]LINENO.*/&-/
 
433
      t lineno
 
434
      b
 
435
      :lineno
 
436
      N
 
437
      :loop
 
438
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
439
      t loop
 
440
      s/-\n.*//
 
441
    ' >$as_me.lineno &&
 
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; }
 
444
 
 
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).
 
448
  . "./$as_me.lineno"
 
449
  # Exit status is that of the last command.
 
450
  exit
 
451
}
 
452
 
 
453
ECHO_C= ECHO_N= ECHO_T=
 
454
case `echo -n x` in #(((((
 
455
-n*)
 
456
  case `echo 'xy\c'` in
 
457
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
458
  xy)  ECHO_C='\c';;
 
459
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
460
       ECHO_T=' ';;
 
461
  esac;;
 
462
*)
 
463
  ECHO_N='-n';;
 
464
esac
 
465
 
 
466
rm -f conf$$ conf$$.exe conf$$.file
 
467
if test -d conf$$.dir; then
 
468
  rm -f conf$$.dir/conf$$.file
 
469
else
 
470
  rm -f conf$$.dir
 
471
  mkdir conf$$.dir 2>/dev/null
 
472
fi
 
473
if (echo >conf$$.file) 2>/dev/null; then
 
474
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
475
    as_ln_s='ln -s'
 
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 ||
 
481
      as_ln_s='cp -p'
 
482
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
483
    as_ln_s=ln
 
484
  else
 
485
    as_ln_s='cp -p'
 
486
  fi
 
487
else
 
488
  as_ln_s='cp -p'
 
489
fi
 
490
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
491
rmdir conf$$.dir 2>/dev/null
 
492
 
 
493
if mkdir -p . 2>/dev/null; then
 
494
  as_mkdir_p='mkdir -p "$as_dir"'
 
495
else
 
496
  test -d ./-p && rmdir ./-p
 
497
  as_mkdir_p=false
 
498
fi
 
499
 
 
500
if test -x / >/dev/null 2>&1; then
 
501
  as_test_x='test -x'
 
502
else
 
503
  if ls -dL / >/dev/null 2>&1; then
 
504
    as_ls_L_option=L
 
505
  else
 
506
    as_ls_L_option=
 
507
  fi
 
508
  as_test_x='
 
509
    eval sh -c '\''
 
510
      if test -d "$1"; then
 
511
        test -d "$1/.";
 
512
      else
 
513
        case $1 in #(
 
514
        -*)set "./$1";;
 
515
        esac;
 
516
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
517
        ???[sx]*):;;*)false;;esac;fi
 
518
    '\'' sh
 
519
  '
 
520
fi
 
521
as_executable_p=$as_test_x
 
522
 
 
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'"
 
525
 
 
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'"
 
528
 
 
529
 
 
530
 
 
531
# Check that we are running under the correct shell.
 
532
SHELL=${CONFIG_SHELL-/bin/sh}
 
533
 
 
534
case X$lt_ECHO in
 
535
X*--fallback-echo)
 
536
  # Remove one level of quotation (which was required for Make).
 
537
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
538
  ;;
 
539
esac
 
540
 
 
541
ECHO=${lt_ECHO-echo}
 
542
if test "X$1" = X--no-reexec; then
 
543
  # Discard the --no-reexec flag, and continue.
 
544
  shift
 
545
elif test "X$1" = X--fallback-echo; then
 
546
  # Avoid inline document here, it may be left over
 
547
  :
 
548
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
549
  # Yippee, $ECHO works!
 
550
  :
 
551
else
 
552
  # Restart under the correct shell.
 
553
  exec $SHELL "$0" --no-reexec ${1+"$@"}
 
554
fi
 
555
 
 
556
if test "X$1" = X--fallback-echo; then
 
557
  # used as fallback echo
 
558
  shift
 
559
  cat <<_LT_EOF
 
560
$*
 
561
_LT_EOF
 
562
  exit 0
 
563
fi
 
564
 
 
565
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
566
# if CDPATH is set.
 
567
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
568
 
 
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
 
576
      then
 
577
        break
 
578
      fi
 
579
    done
 
580
  fi
 
581
 
 
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
 
585
    :
 
586
  else
 
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'
 
590
    #
 
591
    # So, first we look for a working echo in the user's PATH.
 
592
 
 
593
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
594
    for dir in $PATH /usr/ucb; do
 
595
      IFS="$lt_save_ifs"
 
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
 
600
        ECHO="$dir/echo"
 
601
        break
 
602
      fi
 
603
    done
 
604
    IFS="$lt_save_ifs"
 
605
 
 
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.
 
612
        ECHO='print -r'
 
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
 
619
        export CONFIG_SHELL
 
620
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
 
621
      else
 
622
        # Try using printf.
 
623
        ECHO='printf %s\n'
 
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
 
627
          # Cool, printf works
 
628
          :
 
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
 
634
          export CONFIG_SHELL
 
635
          SHELL="$CONFIG_SHELL"
 
636
          export 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"
 
643
        else
 
644
          # maybe with a smaller string...
 
645
          prev=:
 
646
 
 
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
 
649
            then
 
650
              break
 
651
            fi
 
652
            prev="$cmd"
 
653
          done
 
654
 
 
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+"$@"}
 
659
          else
 
660
            # Oops.  We lost completely, so just stick with echo.
 
661
            ECHO=echo
 
662
          fi
 
663
        fi
 
664
      fi
 
665
    fi
 
666
  fi
 
667
fi
 
668
 
 
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.
 
671
lt_ECHO=$ECHO
 
672
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
673
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
674
fi
 
675
 
 
676
 
 
677
 
 
678
 
 
679
exec 7<&0 </dev/null 6>&1
 
680
 
 
681
# Name of the host.
 
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`
 
685
 
 
686
#
 
687
# Initializations.
 
688
#
 
689
ac_default_prefix=/usr/local
 
690
ac_clean_files=
 
691
ac_config_libobj_dir=.
 
692
LIBOBJS=
 
693
cross_compiling=no
 
694
subdirs=
 
695
MFLAGS=
 
696
MAKEFLAGS=
 
697
 
 
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'
 
704
PACKAGE_URL='http://www.waxworlds.org/edam/software/sqlite3cc'
 
705
 
 
706
ac_unique_file="src/database.cc"
 
707
# Factoring default headers for most tests.
 
708
ac_includes_default="\
 
709
#include <stdio.h>
 
710
#ifdef HAVE_SYS_TYPES_H
 
711
# include <sys/types.h>
 
712
#endif
 
713
#ifdef HAVE_SYS_STAT_H
 
714
# include <sys/stat.h>
 
715
#endif
 
716
#ifdef STDC_HEADERS
 
717
# include <stdlib.h>
 
718
# include <stddef.h>
 
719
#else
 
720
# ifdef HAVE_STDLIB_H
 
721
#  include <stdlib.h>
 
722
# endif
 
723
#endif
 
724
#ifdef HAVE_STRING_H
 
725
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
726
#  include <memory.h>
 
727
# endif
 
728
# include <string.h>
 
729
#endif
 
730
#ifdef HAVE_STRINGS_H
 
731
# include <strings.h>
 
732
#endif
 
733
#ifdef HAVE_INTTYPES_H
 
734
# include <inttypes.h>
 
735
#endif
 
736
#ifdef HAVE_STDINT_H
 
737
# include <stdint.h>
 
738
#endif
 
739
#ifdef HAVE_UNISTD_H
 
740
# include <unistd.h>
 
741
#endif"
 
742
 
 
743
ac_subst_vars='am__EXEEXT_FALSE
 
744
am__EXEEXT_TRUE
 
745
LTLIBOBJS
 
746
LIBOBJS
 
747
CXXCPP
 
748
am__fastdepCXX_FALSE
 
749
am__fastdepCXX_TRUE
 
750
CXXDEPMODE
 
751
ac_ct_CXX
 
752
CXXFLAGS
 
753
CXX
 
754
CPP
 
755
OTOOL64
 
756
OTOOL
 
757
LIPO
 
758
NMEDIT
 
759
DSYMUTIL
 
760
lt_ECHO
 
761
RANLIB
 
762
AR
 
763
OBJDUMP
 
764
LN_S
 
765
NM
 
766
ac_ct_DUMPBIN
 
767
DUMPBIN
 
768
LD
 
769
FGREP
 
770
EGREP
 
771
GREP
 
772
SED
 
773
am__fastdepCC_FALSE
 
774
am__fastdepCC_TRUE
 
775
CCDEPMODE
 
776
AMDEPBACKSLASH
 
777
AMDEP_FALSE
 
778
AMDEP_TRUE
 
779
am__quote
 
780
am__include
 
781
DEPDIR
 
782
OBJEXT
 
783
EXEEXT
 
784
ac_ct_CC
 
785
CPPFLAGS
 
786
LDFLAGS
 
787
CFLAGS
 
788
CC
 
789
host_os
 
790
host_vendor
 
791
host_cpu
 
792
host
 
793
build_os
 
794
build_vendor
 
795
build_cpu
 
796
build
 
797
LIBTOOL
 
798
am__untar
 
799
am__tar
 
800
AMTAR
 
801
am__leading_dot
 
802
SET_MAKE
 
803
AWK
 
804
mkdir_p
 
805
MKDIR_P
 
806
INSTALL_STRIP_PROGRAM
 
807
STRIP
 
808
install_sh
 
809
MAKEINFO
 
810
AUTOHEADER
 
811
AUTOMAKE
 
812
AUTOCONF
 
813
ACLOCAL
 
814
VERSION
 
815
PACKAGE
 
816
CYGPATH_W
 
817
am__isrc
 
818
INSTALL_DATA
 
819
INSTALL_SCRIPT
 
820
INSTALL_PROGRAM
 
821
LIBSQLITE3CC_INTERFACE
 
822
target_alias
 
823
host_alias
 
824
build_alias
 
825
LIBS
 
826
ECHO_T
 
827
ECHO_N
 
828
ECHO_C
 
829
DEFS
 
830
mandir
 
831
localedir
 
832
libdir
 
833
psdir
 
834
pdfdir
 
835
dvidir
 
836
htmldir
 
837
infodir
 
838
docdir
 
839
oldincludedir
 
840
includedir
 
841
localstatedir
 
842
sharedstatedir
 
843
sysconfdir
 
844
datadir
 
845
datarootdir
 
846
libexecdir
 
847
sbindir
 
848
bindir
 
849
program_transform_name
 
850
prefix
 
851
exec_prefix
 
852
PACKAGE_URL
 
853
PACKAGE_BUGREPORT
 
854
PACKAGE_STRING
 
855
PACKAGE_VERSION
 
856
PACKAGE_TARNAME
 
857
PACKAGE_NAME
 
858
PATH_SEPARATOR
 
859
SHELL'
 
860
ac_subst_files=''
 
861
ac_user_opts='
 
862
enable_option_checking
 
863
enable_shared
 
864
enable_static
 
865
with_pic
 
866
enable_fast_install
 
867
enable_dependency_tracking
 
868
with_gnu_ld
 
869
enable_libtool_lock
 
870
'
 
871
      ac_precious_vars='build_alias
 
872
host_alias
 
873
target_alias
 
874
CC
 
875
CFLAGS
 
876
LDFLAGS
 
877
LIBS
 
878
CPPFLAGS
 
879
CPP
 
880
CXX
 
881
CXXFLAGS
 
882
CCC
 
883
CXXCPP'
 
884
 
 
885
 
 
886
# Initialize some variables set by options.
 
887
ac_init_help=
 
888
ac_init_version=false
 
889
ac_unrecognized_opts=
 
890
ac_unrecognized_sep=
 
891
# The variables have the same names as the options, with
 
892
# dashes changed to underlines.
 
893
cache_file=/dev/null
 
894
exec_prefix=NONE
 
895
no_create=
 
896
no_recursion=
 
897
prefix=NONE
 
898
program_prefix=NONE
 
899
program_suffix=NONE
 
900
program_transform_name=s,x,x,
 
901
silent=
 
902
site=
 
903
srcdir=
 
904
verbose=
 
905
x_includes=NONE
 
906
x_libraries=NONE
 
907
 
 
908
# Installation directory options.
 
909
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
910
# and all the variables that are supposed to be based on exec_prefix
 
911
# by default will actually change.
 
912
# Use braces instead of parens because sh, perl, etc. also accept them.
 
913
# (The list follows the same order as the GNU Coding Standards.)
 
914
bindir='${exec_prefix}/bin'
 
915
sbindir='${exec_prefix}/sbin'
 
916
libexecdir='${exec_prefix}/libexec'
 
917
datarootdir='${prefix}/share'
 
918
datadir='${datarootdir}'
 
919
sysconfdir='${prefix}/etc'
 
920
sharedstatedir='${prefix}/com'
 
921
localstatedir='${prefix}/var'
 
922
includedir='${prefix}/include'
 
923
oldincludedir='/usr/include'
 
924
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
925
infodir='${datarootdir}/info'
 
926
htmldir='${docdir}'
 
927
dvidir='${docdir}'
 
928
pdfdir='${docdir}'
 
929
psdir='${docdir}'
 
930
libdir='${exec_prefix}/lib'
 
931
localedir='${datarootdir}/locale'
 
932
mandir='${datarootdir}/man'
 
933
 
 
934
ac_prev=
 
935
ac_dashdash=
 
936
for ac_option
 
937
do
 
938
  # If the previous option needs an argument, assign it.
 
939
  if test -n "$ac_prev"; then
 
940
    eval $ac_prev=\$ac_option
 
941
    ac_prev=
 
942
    continue
 
943
  fi
 
944
 
 
945
  case $ac_option in
 
946
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
947
  *)    ac_optarg=yes ;;
 
948
  esac
 
949
 
 
950
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
951
 
 
952
  case $ac_dashdash$ac_option in
 
953
  --)
 
954
    ac_dashdash=yes ;;
 
955
 
 
956
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
957
    ac_prev=bindir ;;
 
958
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
959
    bindir=$ac_optarg ;;
 
960
 
 
961
  -build | --build | --buil | --bui | --bu)
 
962
    ac_prev=build_alias ;;
 
963
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
964
    build_alias=$ac_optarg ;;
 
965
 
 
966
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
967
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
968
    ac_prev=cache_file ;;
 
969
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
970
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
971
    cache_file=$ac_optarg ;;
 
972
 
 
973
  --config-cache | -C)
 
974
    cache_file=config.cache ;;
 
975
 
 
976
  -datadir | --datadir | --datadi | --datad)
 
977
    ac_prev=datadir ;;
 
978
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
979
    datadir=$ac_optarg ;;
 
980
 
 
981
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
982
  | --dataroo | --dataro | --datar)
 
983
    ac_prev=datarootdir ;;
 
984
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
985
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
986
    datarootdir=$ac_optarg ;;
 
987
 
 
988
  -disable-* | --disable-*)
 
989
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
990
    # Reject names that are not valid shell variable names.
 
991
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
992
      as_fn_error "invalid feature name: $ac_useropt"
 
993
    ac_useropt_orig=$ac_useropt
 
994
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
995
    case $ac_user_opts in
 
996
      *"
 
997
"enable_$ac_useropt"
 
998
"*) ;;
 
999
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1000
         ac_unrecognized_sep=', ';;
 
1001
    esac
 
1002
    eval enable_$ac_useropt=no ;;
 
1003
 
 
1004
  -docdir | --docdir | --docdi | --doc | --do)
 
1005
    ac_prev=docdir ;;
 
1006
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1007
    docdir=$ac_optarg ;;
 
1008
 
 
1009
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1010
    ac_prev=dvidir ;;
 
1011
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1012
    dvidir=$ac_optarg ;;
 
1013
 
 
1014
  -enable-* | --enable-*)
 
1015
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1016
    # Reject names that are not valid shell variable names.
 
1017
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1018
      as_fn_error "invalid feature name: $ac_useropt"
 
1019
    ac_useropt_orig=$ac_useropt
 
1020
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1021
    case $ac_user_opts in
 
1022
      *"
 
1023
"enable_$ac_useropt"
 
1024
"*) ;;
 
1025
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1026
         ac_unrecognized_sep=', ';;
 
1027
    esac
 
1028
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1029
 
 
1030
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1031
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1032
  | --exec | --exe | --ex)
 
1033
    ac_prev=exec_prefix ;;
 
1034
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1035
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1036
  | --exec=* | --exe=* | --ex=*)
 
1037
    exec_prefix=$ac_optarg ;;
 
1038
 
 
1039
  -gas | --gas | --ga | --g)
 
1040
    # Obsolete; use --with-gas.
 
1041
    with_gas=yes ;;
 
1042
 
 
1043
  -help | --help | --hel | --he | -h)
 
1044
    ac_init_help=long ;;
 
1045
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1046
    ac_init_help=recursive ;;
 
1047
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1048
    ac_init_help=short ;;
 
1049
 
 
1050
  -host | --host | --hos | --ho)
 
1051
    ac_prev=host_alias ;;
 
1052
  -host=* | --host=* | --hos=* | --ho=*)
 
1053
    host_alias=$ac_optarg ;;
 
1054
 
 
1055
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1056
    ac_prev=htmldir ;;
 
1057
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1058
  | --ht=*)
 
1059
    htmldir=$ac_optarg ;;
 
1060
 
 
1061
  -includedir | --includedir | --includedi | --included | --include \
 
1062
  | --includ | --inclu | --incl | --inc)
 
1063
    ac_prev=includedir ;;
 
1064
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1065
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1066
    includedir=$ac_optarg ;;
 
1067
 
 
1068
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1069
    ac_prev=infodir ;;
 
1070
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1071
    infodir=$ac_optarg ;;
 
1072
 
 
1073
  -libdir | --libdir | --libdi | --libd)
 
1074
    ac_prev=libdir ;;
 
1075
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1076
    libdir=$ac_optarg ;;
 
1077
 
 
1078
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1079
  | --libexe | --libex | --libe)
 
1080
    ac_prev=libexecdir ;;
 
1081
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1082
  | --libexe=* | --libex=* | --libe=*)
 
1083
    libexecdir=$ac_optarg ;;
 
1084
 
 
1085
  -localedir | --localedir | --localedi | --localed | --locale)
 
1086
    ac_prev=localedir ;;
 
1087
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1088
    localedir=$ac_optarg ;;
 
1089
 
 
1090
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1091
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1092
    ac_prev=localstatedir ;;
 
1093
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1094
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1095
    localstatedir=$ac_optarg ;;
 
1096
 
 
1097
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1098
    ac_prev=mandir ;;
 
1099
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1100
    mandir=$ac_optarg ;;
 
1101
 
 
1102
  -nfp | --nfp | --nf)
 
1103
    # Obsolete; use --without-fp.
 
1104
    with_fp=no ;;
 
1105
 
 
1106
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1107
  | --no-cr | --no-c | -n)
 
1108
    no_create=yes ;;
 
1109
 
 
1110
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1111
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1112
    no_recursion=yes ;;
 
1113
 
 
1114
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1115
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1116
  | --oldin | --oldi | --old | --ol | --o)
 
1117
    ac_prev=oldincludedir ;;
 
1118
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1119
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1120
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1121
    oldincludedir=$ac_optarg ;;
 
1122
 
 
1123
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1124
    ac_prev=prefix ;;
 
1125
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1126
    prefix=$ac_optarg ;;
 
1127
 
 
1128
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1129
  | --program-pre | --program-pr | --program-p)
 
1130
    ac_prev=program_prefix ;;
 
1131
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1132
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1133
    program_prefix=$ac_optarg ;;
 
1134
 
 
1135
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1136
  | --program-suf | --program-su | --program-s)
 
1137
    ac_prev=program_suffix ;;
 
1138
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1139
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1140
    program_suffix=$ac_optarg ;;
 
1141
 
 
1142
  -program-transform-name | --program-transform-name \
 
1143
  | --program-transform-nam | --program-transform-na \
 
1144
  | --program-transform-n | --program-transform- \
 
1145
  | --program-transform | --program-transfor \
 
1146
  | --program-transfo | --program-transf \
 
1147
  | --program-trans | --program-tran \
 
1148
  | --progr-tra | --program-tr | --program-t)
 
1149
    ac_prev=program_transform_name ;;
 
1150
  -program-transform-name=* | --program-transform-name=* \
 
1151
  | --program-transform-nam=* | --program-transform-na=* \
 
1152
  | --program-transform-n=* | --program-transform-=* \
 
1153
  | --program-transform=* | --program-transfor=* \
 
1154
  | --program-transfo=* | --program-transf=* \
 
1155
  | --program-trans=* | --program-tran=* \
 
1156
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1157
    program_transform_name=$ac_optarg ;;
 
1158
 
 
1159
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1160
    ac_prev=pdfdir ;;
 
1161
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1162
    pdfdir=$ac_optarg ;;
 
1163
 
 
1164
  -psdir | --psdir | --psdi | --psd | --ps)
 
1165
    ac_prev=psdir ;;
 
1166
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1167
    psdir=$ac_optarg ;;
 
1168
 
 
1169
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1170
  | -silent | --silent | --silen | --sile | --sil)
 
1171
    silent=yes ;;
 
1172
 
 
1173
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1174
    ac_prev=sbindir ;;
 
1175
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1176
  | --sbi=* | --sb=*)
 
1177
    sbindir=$ac_optarg ;;
 
1178
 
 
1179
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1180
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1181
  | --sharedst | --shareds | --shared | --share | --shar \
 
1182
  | --sha | --sh)
 
1183
    ac_prev=sharedstatedir ;;
 
1184
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1185
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1186
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1187
  | --sha=* | --sh=*)
 
1188
    sharedstatedir=$ac_optarg ;;
 
1189
 
 
1190
  -site | --site | --sit)
 
1191
    ac_prev=site ;;
 
1192
  -site=* | --site=* | --sit=*)
 
1193
    site=$ac_optarg ;;
 
1194
 
 
1195
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1196
    ac_prev=srcdir ;;
 
1197
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1198
    srcdir=$ac_optarg ;;
 
1199
 
 
1200
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1201
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1202
    ac_prev=sysconfdir ;;
 
1203
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1204
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1205
    sysconfdir=$ac_optarg ;;
 
1206
 
 
1207
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1208
    ac_prev=target_alias ;;
 
1209
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1210
    target_alias=$ac_optarg ;;
 
1211
 
 
1212
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1213
    verbose=yes ;;
 
1214
 
 
1215
  -version | --version | --versio | --versi | --vers | -V)
 
1216
    ac_init_version=: ;;
 
1217
 
 
1218
  -with-* | --with-*)
 
1219
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1220
    # Reject names that are not valid shell variable names.
 
1221
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1222
      as_fn_error "invalid package name: $ac_useropt"
 
1223
    ac_useropt_orig=$ac_useropt
 
1224
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1225
    case $ac_user_opts in
 
1226
      *"
 
1227
"with_$ac_useropt"
 
1228
"*) ;;
 
1229
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1230
         ac_unrecognized_sep=', ';;
 
1231
    esac
 
1232
    eval with_$ac_useropt=\$ac_optarg ;;
 
1233
 
 
1234
  -without-* | --without-*)
 
1235
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1236
    # Reject names that are not valid shell variable names.
 
1237
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1238
      as_fn_error "invalid package name: $ac_useropt"
 
1239
    ac_useropt_orig=$ac_useropt
 
1240
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1241
    case $ac_user_opts in
 
1242
      *"
 
1243
"with_$ac_useropt"
 
1244
"*) ;;
 
1245
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1246
         ac_unrecognized_sep=', ';;
 
1247
    esac
 
1248
    eval with_$ac_useropt=no ;;
 
1249
 
 
1250
  --x)
 
1251
    # Obsolete; use --with-x.
 
1252
    with_x=yes ;;
 
1253
 
 
1254
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1255
  | --x-incl | --x-inc | --x-in | --x-i)
 
1256
    ac_prev=x_includes ;;
 
1257
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1258
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1259
    x_includes=$ac_optarg ;;
 
1260
 
 
1261
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1262
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1263
    ac_prev=x_libraries ;;
 
1264
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1265
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1266
    x_libraries=$ac_optarg ;;
 
1267
 
 
1268
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1269
Try \`$0 --help' for more information."
 
1270
    ;;
 
1271
 
 
1272
  *=*)
 
1273
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1274
    # Reject names that are not valid shell variable names.
 
1275
    case $ac_envvar in #(
 
1276
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1277
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1278
    esac
 
1279
    eval $ac_envvar=\$ac_optarg
 
1280
    export $ac_envvar ;;
 
1281
 
 
1282
  *)
 
1283
    # FIXME: should be removed in autoconf 3.0.
 
1284
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1285
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1286
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1287
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1288
    ;;
 
1289
 
 
1290
  esac
 
1291
done
 
1292
 
 
1293
if test -n "$ac_prev"; then
 
1294
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1295
  as_fn_error "missing argument to $ac_option"
 
1296
fi
 
1297
 
 
1298
if test -n "$ac_unrecognized_opts"; then
 
1299
  case $enable_option_checking in
 
1300
    no) ;;
 
1301
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1302
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1303
  esac
 
1304
fi
 
1305
 
 
1306
# Check all directory arguments for consistency.
 
1307
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1308
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1309
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1310
                libdir localedir mandir
 
1311
do
 
1312
  eval ac_val=\$$ac_var
 
1313
  # Remove trailing slashes.
 
1314
  case $ac_val in
 
1315
    */ )
 
1316
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1317
      eval $ac_var=\$ac_val;;
 
1318
  esac
 
1319
  # Be sure to have absolute directory names.
 
1320
  case $ac_val in
 
1321
    [\\/$]* | ?:[\\/]* )  continue;;
 
1322
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1323
  esac
 
1324
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1325
done
 
1326
 
 
1327
# There might be people who depend on the old broken behavior: `$host'
 
1328
# used to hold the argument of --host etc.
 
1329
# FIXME: To remove some day.
 
1330
build=$build_alias
 
1331
host=$host_alias
 
1332
target=$target_alias
 
1333
 
 
1334
# FIXME: To remove some day.
 
1335
if test "x$host_alias" != x; then
 
1336
  if test "x$build_alias" = x; then
 
1337
    cross_compiling=maybe
 
1338
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1339
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1340
  elif test "x$build_alias" != "x$host_alias"; then
 
1341
    cross_compiling=yes
 
1342
  fi
 
1343
fi
 
1344
 
 
1345
ac_tool_prefix=
 
1346
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1347
 
 
1348
test "$silent" = yes && exec 6>/dev/null
 
1349
 
 
1350
 
 
1351
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1352
ac_ls_di=`ls -di .` &&
 
1353
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1354
  as_fn_error "working directory cannot be determined"
 
1355
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1356
  as_fn_error "pwd does not report name of working directory"
 
1357
 
 
1358
 
 
1359
# Find the source files, if location was not specified.
 
1360
if test -z "$srcdir"; then
 
1361
  ac_srcdir_defaulted=yes
 
1362
  # Try the directory containing this script, then the parent directory.
 
1363
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1364
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1365
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1366
         X"$as_myself" : 'X\(//\)$' \| \
 
1367
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1368
$as_echo X"$as_myself" |
 
1369
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1370
            s//\1/
 
1371
            q
 
1372
          }
 
1373
          /^X\(\/\/\)[^/].*/{
 
1374
            s//\1/
 
1375
            q
 
1376
          }
 
1377
          /^X\(\/\/\)$/{
 
1378
            s//\1/
 
1379
            q
 
1380
          }
 
1381
          /^X\(\/\).*/{
 
1382
            s//\1/
 
1383
            q
 
1384
          }
 
1385
          s/.*/./; q'`
 
1386
  srcdir=$ac_confdir
 
1387
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1388
    srcdir=..
 
1389
  fi
 
1390
else
 
1391
  ac_srcdir_defaulted=no
 
1392
fi
 
1393
if test ! -r "$srcdir/$ac_unique_file"; then
 
1394
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1395
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1396
fi
 
1397
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1398
ac_abs_confdir=`(
 
1399
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1400
        pwd)`
 
1401
# When building in place, set srcdir=.
 
1402
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1403
  srcdir=.
 
1404
fi
 
1405
# Remove unnecessary trailing slashes from srcdir.
 
1406
# Double slashes in file names in object file debugging info
 
1407
# mess up M-x gdb in Emacs.
 
1408
case $srcdir in
 
1409
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1410
esac
 
1411
for ac_var in $ac_precious_vars; do
 
1412
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1413
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1414
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1415
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1416
done
 
1417
 
 
1418
#
 
1419
# Report the --help message.
 
1420
#
 
1421
if test "$ac_init_help" = "long"; then
 
1422
  # Omit some internal or obsolete options to make the list less imposing.
 
1423
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1424
  cat <<_ACEOF
 
1425
\`configure' configures sqlite3cc 0.1.0 to adapt to many kinds of systems.
 
1426
 
 
1427
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1428
 
 
1429
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1430
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1431
 
 
1432
Defaults for the options are specified in brackets.
 
1433
 
 
1434
Configuration:
 
1435
  -h, --help              display this help and exit
 
1436
      --help=short        display options specific to this package
 
1437
      --help=recursive    display the short help of all the included packages
 
1438
  -V, --version           display version information and exit
 
1439
  -q, --quiet, --silent   do not print \`checking...' messages
 
1440
      --cache-file=FILE   cache test results in FILE [disabled]
 
1441
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1442
  -n, --no-create         do not create output files
 
1443
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1444
 
 
1445
Installation directories:
 
1446
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1447
                          [$ac_default_prefix]
 
1448
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1449
                          [PREFIX]
 
1450
 
 
1451
By default, \`make install' will install all the files in
 
1452
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1453
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1454
for instance \`--prefix=\$HOME'.
 
1455
 
 
1456
For better control, use the options below.
 
1457
 
 
1458
Fine tuning of the installation directories:
 
1459
  --bindir=DIR            user executables [EPREFIX/bin]
 
1460
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1461
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1462
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1463
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1464
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1465
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1466
  --includedir=DIR        C header files [PREFIX/include]
 
1467
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1468
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1469
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1470
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1471
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1472
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1473
  --docdir=DIR            documentation root [DATAROOTDIR/doc/sqlite3cc]
 
1474
  --htmldir=DIR           html documentation [DOCDIR]
 
1475
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1476
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1477
  --psdir=DIR             ps documentation [DOCDIR]
 
1478
_ACEOF
 
1479
 
 
1480
  cat <<\_ACEOF
 
1481
 
 
1482
Program names:
 
1483
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1484
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1485
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1486
 
 
1487
System types:
 
1488
  --build=BUILD     configure for building on BUILD [guessed]
 
1489
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1490
_ACEOF
 
1491
fi
 
1492
 
 
1493
if test -n "$ac_init_help"; then
 
1494
  case $ac_init_help in
 
1495
     short | recursive ) echo "Configuration of sqlite3cc 0.1.0:";;
 
1496
   esac
 
1497
  cat <<\_ACEOF
 
1498
 
 
1499
Optional Features:
 
1500
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1501
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1502
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1503
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1504
  --enable-static[=PKGS]  build static libraries [default=yes]
 
1505
  --enable-fast-install[=PKGS]
 
1506
                          optimize for fast installation [default=yes]
 
1507
  --disable-dependency-tracking  speeds up one-time build
 
1508
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1509
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1510
 
 
1511
Optional Packages:
 
1512
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1513
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1514
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1515
                          both]
 
1516
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1517
 
 
1518
Some influential environment variables:
 
1519
  CC          C compiler command
 
1520
  CFLAGS      C compiler flags
 
1521
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1522
              nonstandard directory <lib dir>
 
1523
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1524
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1525
              you have headers in a nonstandard directory <include dir>
 
1526
  CPP         C preprocessor
 
1527
  CXX         C++ compiler command
 
1528
  CXXFLAGS    C++ compiler flags
 
1529
  CXXCPP      C++ preprocessor
 
1530
 
 
1531
Use these variables to override the choices made by `configure' or to help
 
1532
it to find libraries and programs with nonstandard names/locations.
 
1533
 
 
1534
Report bugs to <edam@waxworlds.org>.
 
1535
sqlite3cc home page: <http://www.waxworlds.org/edam/software/sqlite3cc>.
 
1536
_ACEOF
 
1537
ac_status=$?
 
1538
fi
 
1539
 
 
1540
if test "$ac_init_help" = "recursive"; then
 
1541
  # If there are subdirs, report their specific --help.
 
1542
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1543
    test -d "$ac_dir" ||
 
1544
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1545
      continue
 
1546
    ac_builddir=.
 
1547
 
 
1548
case "$ac_dir" in
 
1549
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1550
*)
 
1551
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1552
  # A ".." for each directory in $ac_dir_suffix.
 
1553
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1554
  case $ac_top_builddir_sub in
 
1555
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1556
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1557
  esac ;;
 
1558
esac
 
1559
ac_abs_top_builddir=$ac_pwd
 
1560
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1561
# for backward compatibility:
 
1562
ac_top_builddir=$ac_top_build_prefix
 
1563
 
 
1564
case $srcdir in
 
1565
  .)  # We are building in place.
 
1566
    ac_srcdir=.
 
1567
    ac_top_srcdir=$ac_top_builddir_sub
 
1568
    ac_abs_top_srcdir=$ac_pwd ;;
 
1569
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1570
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1571
    ac_top_srcdir=$srcdir
 
1572
    ac_abs_top_srcdir=$srcdir ;;
 
1573
  *) # Relative name.
 
1574
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1575
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1576
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1577
esac
 
1578
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1579
 
 
1580
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1581
    # Check for guested configure.
 
1582
    if test -f "$ac_srcdir/configure.gnu"; then
 
1583
      echo &&
 
1584
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1585
    elif test -f "$ac_srcdir/configure"; then
 
1586
      echo &&
 
1587
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1588
    else
 
1589
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1590
    fi || ac_status=$?
 
1591
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1592
  done
 
1593
fi
 
1594
 
 
1595
test -n "$ac_init_help" && exit $ac_status
 
1596
if $ac_init_version; then
 
1597
  cat <<\_ACEOF
 
1598
sqlite3cc configure 0.1.0
 
1599
generated by GNU Autoconf 2.64
 
1600
 
 
1601
Copyright (C) 2009 Free Software Foundation, Inc.
 
1602
This configure script is free software; the Free Software Foundation
 
1603
gives unlimited permission to copy, distribute and modify it.
 
1604
_ACEOF
 
1605
  exit
 
1606
fi
 
1607
 
 
1608
## ------------------------ ##
 
1609
## Autoconf initialization. ##
 
1610
## ------------------------ ##
 
1611
 
 
1612
# ac_fn_c_try_compile LINENO
 
1613
# --------------------------
 
1614
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1615
ac_fn_c_try_compile ()
 
1616
{
 
1617
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1618
  rm -f conftest.$ac_objext
 
1619
  if { { ac_try="$ac_compile"
 
1620
case "(($ac_try" in
 
1621
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1622
  *) ac_try_echo=$ac_try;;
 
1623
esac
 
1624
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1625
$as_echo "$ac_try_echo"; } >&5
 
1626
  (eval "$ac_compile") 2>conftest.err
 
1627
  ac_status=$?
 
1628
  if test -s conftest.err; then
 
1629
    grep -v '^ *+' conftest.err >conftest.er1
 
1630
    cat conftest.er1 >&5
 
1631
    mv -f conftest.er1 conftest.err
 
1632
  fi
 
1633
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1634
  test $ac_status = 0; } && {
 
1635
         test -z "$ac_c_werror_flag" ||
 
1636
         test ! -s conftest.err
 
1637
       } && test -s conftest.$ac_objext; then :
 
1638
  ac_retval=0
 
1639
else
 
1640
  $as_echo "$as_me: failed program was:" >&5
 
1641
sed 's/^/| /' conftest.$ac_ext >&5
 
1642
 
 
1643
        ac_retval=1
 
1644
fi
 
1645
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1646
  return $ac_retval
 
1647
 
 
1648
} # ac_fn_c_try_compile
 
1649
 
 
1650
# ac_fn_c_try_link LINENO
 
1651
# -----------------------
 
1652
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1653
ac_fn_c_try_link ()
 
1654
{
 
1655
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1656
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1657
  if { { ac_try="$ac_link"
 
1658
case "(($ac_try" in
 
1659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1660
  *) ac_try_echo=$ac_try;;
 
1661
esac
 
1662
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1663
$as_echo "$ac_try_echo"; } >&5
 
1664
  (eval "$ac_link") 2>conftest.err
 
1665
  ac_status=$?
 
1666
  if test -s conftest.err; then
 
1667
    grep -v '^ *+' conftest.err >conftest.er1
 
1668
    cat conftest.er1 >&5
 
1669
    mv -f conftest.er1 conftest.err
 
1670
  fi
 
1671
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1672
  test $ac_status = 0; } && {
 
1673
         test -z "$ac_c_werror_flag" ||
 
1674
         test ! -s conftest.err
 
1675
       } && test -s conftest$ac_exeext && {
 
1676
         test "$cross_compiling" = yes ||
 
1677
         $as_test_x conftest$ac_exeext
 
1678
       }; then :
 
1679
  ac_retval=0
 
1680
else
 
1681
  $as_echo "$as_me: failed program was:" >&5
 
1682
sed 's/^/| /' conftest.$ac_ext >&5
 
1683
 
 
1684
        ac_retval=1
 
1685
fi
 
1686
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1687
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1688
  # interfere with the next link command; also delete a directory that is
 
1689
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1690
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1691
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1692
  return $ac_retval
 
1693
 
 
1694
} # ac_fn_c_try_link
 
1695
 
 
1696
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1697
# -------------------------------------------------------
 
1698
# Tests whether HEADER exists and can be compiled using the include files in
 
1699
# INCLUDES, setting the cache variable VAR accordingly.
 
1700
ac_fn_c_check_header_compile ()
 
1701
{
 
1702
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1703
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1704
$as_echo_n "checking for $2... " >&6; }
 
1705
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1706
  $as_echo_n "(cached) " >&6
 
1707
else
 
1708
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1709
/* end confdefs.h.  */
 
1710
$4
 
1711
#include <$2>
 
1712
_ACEOF
 
1713
if ac_fn_c_try_compile "$LINENO"; then :
 
1714
  eval "$3=yes"
 
1715
else
 
1716
  eval "$3=no"
 
1717
fi
 
1718
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1719
fi
 
1720
eval ac_res=\$$3
 
1721
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1722
$as_echo "$ac_res" >&6; }
 
1723
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1724
 
 
1725
} # ac_fn_c_check_header_compile
 
1726
 
 
1727
# ac_fn_c_try_cpp LINENO
 
1728
# ----------------------
 
1729
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1730
ac_fn_c_try_cpp ()
 
1731
{
 
1732
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1733
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1734
case "(($ac_try" in
 
1735
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1736
  *) ac_try_echo=$ac_try;;
 
1737
esac
 
1738
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1739
$as_echo "$ac_try_echo"; } >&5
 
1740
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1741
  ac_status=$?
 
1742
  if test -s conftest.err; then
 
1743
    grep -v '^ *+' conftest.err >conftest.er1
 
1744
    cat conftest.er1 >&5
 
1745
    mv -f conftest.er1 conftest.err
 
1746
  fi
 
1747
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1748
  test $ac_status = 0; } >/dev/null && {
 
1749
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1750
         test ! -s conftest.err
 
1751
       }; then :
 
1752
  ac_retval=0
 
1753
else
 
1754
  $as_echo "$as_me: failed program was:" >&5
 
1755
sed 's/^/| /' conftest.$ac_ext >&5
 
1756
 
 
1757
    ac_retval=1
 
1758
fi
 
1759
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1760
  return $ac_retval
 
1761
 
 
1762
} # ac_fn_c_try_cpp
 
1763
 
 
1764
# ac_fn_c_try_run LINENO
 
1765
# ----------------------
 
1766
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1767
# that executables *can* be run.
 
1768
ac_fn_c_try_run ()
 
1769
{
 
1770
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1771
  if { { ac_try="$ac_link"
 
1772
case "(($ac_try" in
 
1773
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1774
  *) ac_try_echo=$ac_try;;
 
1775
esac
 
1776
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1777
$as_echo "$ac_try_echo"; } >&5
 
1778
  (eval "$ac_link") 2>&5
 
1779
  ac_status=$?
 
1780
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1781
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1782
  { { case "(($ac_try" in
 
1783
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1784
  *) ac_try_echo=$ac_try;;
 
1785
esac
 
1786
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1787
$as_echo "$ac_try_echo"; } >&5
 
1788
  (eval "$ac_try") 2>&5
 
1789
  ac_status=$?
 
1790
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1791
  test $ac_status = 0; }; }; then :
 
1792
  ac_retval=0
 
1793
else
 
1794
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1795
       $as_echo "$as_me: failed program was:" >&5
 
1796
sed 's/^/| /' conftest.$ac_ext >&5
 
1797
 
 
1798
       ac_retval=$ac_status
 
1799
fi
 
1800
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1801
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1802
  return $ac_retval
 
1803
 
 
1804
} # ac_fn_c_try_run
 
1805
 
 
1806
# ac_fn_c_check_func LINENO FUNC VAR
 
1807
# ----------------------------------
 
1808
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1809
ac_fn_c_check_func ()
 
1810
{
 
1811
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1812
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1813
$as_echo_n "checking for $2... " >&6; }
 
1814
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1815
  $as_echo_n "(cached) " >&6
 
1816
else
 
1817
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1818
/* end confdefs.h.  */
 
1819
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1820
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1821
#define $2 innocuous_$2
 
1822
 
 
1823
/* System header to define __stub macros and hopefully few prototypes,
 
1824
    which can conflict with char $2 (); below.
 
1825
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1826
    <limits.h> exists even on freestanding compilers.  */
 
1827
 
 
1828
#ifdef __STDC__
 
1829
# include <limits.h>
 
1830
#else
 
1831
# include <assert.h>
 
1832
#endif
 
1833
 
 
1834
#undef $2
 
1835
 
 
1836
/* Override any GCC internal prototype to avoid an error.
 
1837
   Use char because int might match the return type of a GCC
 
1838
   builtin and then its argument prototype would still apply.  */
 
1839
#ifdef __cplusplus
 
1840
extern "C"
 
1841
#endif
 
1842
char $2 ();
 
1843
/* The GNU C library defines this for functions which it implements
 
1844
    to always fail with ENOSYS.  Some functions are actually named
 
1845
    something starting with __ and the normal name is an alias.  */
 
1846
#if defined __stub_$2 || defined __stub___$2
 
1847
choke me
 
1848
#endif
 
1849
 
 
1850
int
 
1851
main ()
 
1852
{
 
1853
return $2 ();
 
1854
  ;
 
1855
  return 0;
 
1856
}
 
1857
_ACEOF
 
1858
if ac_fn_c_try_link "$LINENO"; then :
 
1859
  eval "$3=yes"
 
1860
else
 
1861
  eval "$3=no"
 
1862
fi
 
1863
rm -f core conftest.err conftest.$ac_objext \
 
1864
    conftest$ac_exeext conftest.$ac_ext
 
1865
fi
 
1866
eval ac_res=\$$3
 
1867
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1868
$as_echo "$ac_res" >&6; }
 
1869
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1870
 
 
1871
} # ac_fn_c_check_func
 
1872
 
 
1873
# ac_fn_cxx_try_compile LINENO
 
1874
# ----------------------------
 
1875
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1876
ac_fn_cxx_try_compile ()
 
1877
{
 
1878
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1879
  rm -f conftest.$ac_objext
 
1880
  if { { ac_try="$ac_compile"
 
1881
case "(($ac_try" in
 
1882
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1883
  *) ac_try_echo=$ac_try;;
 
1884
esac
 
1885
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1886
$as_echo "$ac_try_echo"; } >&5
 
1887
  (eval "$ac_compile") 2>conftest.err
 
1888
  ac_status=$?
 
1889
  if test -s conftest.err; then
 
1890
    grep -v '^ *+' conftest.err >conftest.er1
 
1891
    cat conftest.er1 >&5
 
1892
    mv -f conftest.er1 conftest.err
 
1893
  fi
 
1894
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1895
  test $ac_status = 0; } && {
 
1896
         test -z "$ac_cxx_werror_flag" ||
 
1897
         test ! -s conftest.err
 
1898
       } && test -s conftest.$ac_objext; then :
 
1899
  ac_retval=0
 
1900
else
 
1901
  $as_echo "$as_me: failed program was:" >&5
 
1902
sed 's/^/| /' conftest.$ac_ext >&5
 
1903
 
 
1904
        ac_retval=1
 
1905
fi
 
1906
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1907
  return $ac_retval
 
1908
 
 
1909
} # ac_fn_cxx_try_compile
 
1910
 
 
1911
# ac_fn_cxx_try_cpp LINENO
 
1912
# ------------------------
 
1913
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1914
ac_fn_cxx_try_cpp ()
 
1915
{
 
1916
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1917
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1918
case "(($ac_try" in
 
1919
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1920
  *) ac_try_echo=$ac_try;;
 
1921
esac
 
1922
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1923
$as_echo "$ac_try_echo"; } >&5
 
1924
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1925
  ac_status=$?
 
1926
  if test -s conftest.err; then
 
1927
    grep -v '^ *+' conftest.err >conftest.er1
 
1928
    cat conftest.er1 >&5
 
1929
    mv -f conftest.er1 conftest.err
 
1930
  fi
 
1931
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1932
  test $ac_status = 0; } >/dev/null && {
 
1933
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
1934
         test ! -s conftest.err
 
1935
       }; then :
 
1936
  ac_retval=0
 
1937
else
 
1938
  $as_echo "$as_me: failed program was:" >&5
 
1939
sed 's/^/| /' conftest.$ac_ext >&5
 
1940
 
 
1941
    ac_retval=1
 
1942
fi
 
1943
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1944
  return $ac_retval
 
1945
 
 
1946
} # ac_fn_cxx_try_cpp
 
1947
 
 
1948
# ac_fn_cxx_try_link LINENO
 
1949
# -------------------------
 
1950
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1951
ac_fn_cxx_try_link ()
 
1952
{
 
1953
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1954
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1955
  if { { ac_try="$ac_link"
 
1956
case "(($ac_try" in
 
1957
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1958
  *) ac_try_echo=$ac_try;;
 
1959
esac
 
1960
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1961
$as_echo "$ac_try_echo"; } >&5
 
1962
  (eval "$ac_link") 2>conftest.err
 
1963
  ac_status=$?
 
1964
  if test -s conftest.err; then
 
1965
    grep -v '^ *+' conftest.err >conftest.er1
 
1966
    cat conftest.er1 >&5
 
1967
    mv -f conftest.er1 conftest.err
 
1968
  fi
 
1969
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1970
  test $ac_status = 0; } && {
 
1971
         test -z "$ac_cxx_werror_flag" ||
 
1972
         test ! -s conftest.err
 
1973
       } && test -s conftest$ac_exeext && {
 
1974
         test "$cross_compiling" = yes ||
 
1975
         $as_test_x conftest$ac_exeext
 
1976
       }; then :
 
1977
  ac_retval=0
 
1978
else
 
1979
  $as_echo "$as_me: failed program was:" >&5
 
1980
sed 's/^/| /' conftest.$ac_ext >&5
 
1981
 
 
1982
        ac_retval=1
 
1983
fi
 
1984
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1985
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1986
  # interfere with the next link command; also delete a directory that is
 
1987
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1988
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1989
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1990
  return $ac_retval
 
1991
 
 
1992
} # ac_fn_cxx_try_link
 
1993
 
 
1994
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1995
# -------------------------------------------------------
 
1996
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1997
# the include files in INCLUDES and setting the cache variable VAR
 
1998
# accordingly.
 
1999
ac_fn_c_check_header_mongrel ()
 
2000
{
 
2001
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2002
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2003
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2004
$as_echo_n "checking for $2... " >&6; }
 
2005
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2006
  $as_echo_n "(cached) " >&6
 
2007
fi
 
2008
eval ac_res=\$$3
 
2009
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2010
$as_echo "$ac_res" >&6; }
 
2011
else
 
2012
  # Is the header compilable?
 
2013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2014
$as_echo_n "checking $2 usability... " >&6; }
 
2015
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2016
/* end confdefs.h.  */
 
2017
$4
 
2018
#include <$2>
 
2019
_ACEOF
 
2020
if ac_fn_c_try_compile "$LINENO"; then :
 
2021
  ac_header_compiler=yes
 
2022
else
 
2023
  ac_header_compiler=no
 
2024
fi
 
2025
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2027
$as_echo "$ac_header_compiler" >&6; }
 
2028
 
 
2029
# Is the header present?
 
2030
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2031
$as_echo_n "checking $2 presence... " >&6; }
 
2032
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2033
/* end confdefs.h.  */
 
2034
#include <$2>
 
2035
_ACEOF
 
2036
if ac_fn_c_try_cpp "$LINENO"; then :
 
2037
  ac_header_preproc=yes
 
2038
else
 
2039
  ac_header_preproc=no
 
2040
fi
 
2041
rm -f conftest.err conftest.$ac_ext
 
2042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2043
$as_echo "$ac_header_preproc" >&6; }
 
2044
 
 
2045
# So?  What about this header?
 
2046
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2047
  yes:no: )
 
2048
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2049
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2050
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2051
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2052
    ;;
 
2053
  no:yes:* )
 
2054
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2055
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2056
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2057
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2058
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2059
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2060
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2061
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2062
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2063
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2064
( cat <<\_ASBOX
 
2065
## --------------------------------- ##
 
2066
## Report this to edam@waxworlds.org ##
 
2067
## --------------------------------- ##
 
2068
_ASBOX
 
2069
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2070
    ;;
 
2071
esac
 
2072
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2073
$as_echo_n "checking for $2... " >&6; }
 
2074
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2075
  $as_echo_n "(cached) " >&6
 
2076
else
 
2077
  eval "$3=\$ac_header_compiler"
 
2078
fi
 
2079
eval ac_res=\$$3
 
2080
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2081
$as_echo "$ac_res" >&6; }
 
2082
fi
 
2083
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2084
 
 
2085
} # ac_fn_c_check_header_mongrel
 
2086
cat >config.log <<_ACEOF
 
2087
This file contains any messages produced by compilers while
 
2088
running configure, to aid debugging if configure makes a mistake.
 
2089
 
 
2090
It was created by sqlite3cc $as_me 0.1.0, which was
 
2091
generated by GNU Autoconf 2.64.  Invocation command line was
 
2092
 
 
2093
  $ $0 $@
 
2094
 
 
2095
_ACEOF
 
2096
exec 5>>config.log
 
2097
{
 
2098
cat <<_ASUNAME
 
2099
## --------- ##
 
2100
## Platform. ##
 
2101
## --------- ##
 
2102
 
 
2103
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2104
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
2105
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
2106
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
2107
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
2108
 
 
2109
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
2110
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
2111
 
 
2112
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
2113
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
2114
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
2115
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
2116
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
2117
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
2118
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
2119
 
 
2120
_ASUNAME
 
2121
 
 
2122
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2123
for as_dir in $PATH
 
2124
do
 
2125
  IFS=$as_save_IFS
 
2126
  test -z "$as_dir" && as_dir=.
 
2127
    $as_echo "PATH: $as_dir"
 
2128
  done
 
2129
IFS=$as_save_IFS
 
2130
 
 
2131
} >&5
 
2132
 
 
2133
cat >&5 <<_ACEOF
 
2134
 
 
2135
 
 
2136
## ----------- ##
 
2137
## Core tests. ##
 
2138
## ----------- ##
 
2139
 
 
2140
_ACEOF
 
2141
 
 
2142
 
 
2143
# Keep a trace of the command line.
 
2144
# Strip out --no-create and --no-recursion so they do not pile up.
 
2145
# Strip out --silent because we don't want to record it for future runs.
 
2146
# Also quote any args containing shell meta-characters.
 
2147
# Make two passes to allow for proper duplicate-argument suppression.
 
2148
ac_configure_args=
 
2149
ac_configure_args0=
 
2150
ac_configure_args1=
 
2151
ac_must_keep_next=false
 
2152
for ac_pass in 1 2
 
2153
do
 
2154
  for ac_arg
 
2155
  do
 
2156
    case $ac_arg in
 
2157
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2158
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2159
    | -silent | --silent | --silen | --sile | --sil)
 
2160
      continue ;;
 
2161
    *\'*)
 
2162
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2163
    esac
 
2164
    case $ac_pass in
 
2165
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2166
    2)
 
2167
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2168
      if test $ac_must_keep_next = true; then
 
2169
        ac_must_keep_next=false # Got value, back to normal.
 
2170
      else
 
2171
        case $ac_arg in
 
2172
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2173
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2174
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2175
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2176
            case "$ac_configure_args0 " in
 
2177
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2178
            esac
 
2179
            ;;
 
2180
          -* ) ac_must_keep_next=true ;;
 
2181
        esac
 
2182
      fi
 
2183
      as_fn_append ac_configure_args " '$ac_arg'"
 
2184
      ;;
 
2185
    esac
 
2186
  done
 
2187
done
 
2188
{ ac_configure_args0=; unset ac_configure_args0;}
 
2189
{ ac_configure_args1=; unset ac_configure_args1;}
 
2190
 
 
2191
# When interrupted or exit'd, cleanup temporary files, and complete
 
2192
# config.log.  We remove comments because anyway the quotes in there
 
2193
# would cause problems or look ugly.
 
2194
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2195
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2196
trap 'exit_status=$?
 
2197
  # Save into config.log some information that might help in debugging.
 
2198
  {
 
2199
    echo
 
2200
 
 
2201
    cat <<\_ASBOX
 
2202
## ---------------- ##
 
2203
## Cache variables. ##
 
2204
## ---------------- ##
 
2205
_ASBOX
 
2206
    echo
 
2207
    # The following way of writing the cache mishandles newlines in values,
 
2208
(
 
2209
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2210
    eval ac_val=\$$ac_var
 
2211
    case $ac_val in #(
 
2212
    *${as_nl}*)
 
2213
      case $ac_var in #(
 
2214
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2215
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2216
      esac
 
2217
      case $ac_var in #(
 
2218
      _ | IFS | as_nl) ;; #(
 
2219
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2220
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2221
      esac ;;
 
2222
    esac
 
2223
  done
 
2224
  (set) 2>&1 |
 
2225
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2226
    *${as_nl}ac_space=\ *)
 
2227
      sed -n \
 
2228
        "s/'\''/'\''\\\\'\'''\''/g;
 
2229
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2230
      ;; #(
 
2231
    *)
 
2232
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2233
      ;;
 
2234
    esac |
 
2235
    sort
 
2236
)
 
2237
    echo
 
2238
 
 
2239
    cat <<\_ASBOX
 
2240
## ----------------- ##
 
2241
## Output variables. ##
 
2242
## ----------------- ##
 
2243
_ASBOX
 
2244
    echo
 
2245
    for ac_var in $ac_subst_vars
 
2246
    do
 
2247
      eval ac_val=\$$ac_var
 
2248
      case $ac_val in
 
2249
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2250
      esac
 
2251
      $as_echo "$ac_var='\''$ac_val'\''"
 
2252
    done | sort
 
2253
    echo
 
2254
 
 
2255
    if test -n "$ac_subst_files"; then
 
2256
      cat <<\_ASBOX
 
2257
## ------------------- ##
 
2258
## File substitutions. ##
 
2259
## ------------------- ##
 
2260
_ASBOX
 
2261
      echo
 
2262
      for ac_var in $ac_subst_files
 
2263
      do
 
2264
        eval ac_val=\$$ac_var
 
2265
        case $ac_val in
 
2266
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2267
        esac
 
2268
        $as_echo "$ac_var='\''$ac_val'\''"
 
2269
      done | sort
 
2270
      echo
 
2271
    fi
 
2272
 
 
2273
    if test -s confdefs.h; then
 
2274
      cat <<\_ASBOX
 
2275
## ----------- ##
 
2276
## confdefs.h. ##
 
2277
## ----------- ##
 
2278
_ASBOX
 
2279
      echo
 
2280
      cat confdefs.h
 
2281
      echo
 
2282
    fi
 
2283
    test "$ac_signal" != 0 &&
 
2284
      $as_echo "$as_me: caught signal $ac_signal"
 
2285
    $as_echo "$as_me: exit $exit_status"
 
2286
  } >&5
 
2287
  rm -f core *.core core.conftest.* &&
 
2288
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2289
    exit $exit_status
 
2290
' 0
 
2291
for ac_signal in 1 2 13 15; do
 
2292
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2293
done
 
2294
ac_signal=0
 
2295
 
 
2296
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2297
rm -f -r conftest* confdefs.h
 
2298
 
 
2299
$as_echo "/* confdefs.h */" > confdefs.h
 
2300
 
 
2301
# Predefined preprocessor variables.
 
2302
 
 
2303
cat >>confdefs.h <<_ACEOF
 
2304
#define PACKAGE_NAME "$PACKAGE_NAME"
 
2305
_ACEOF
 
2306
 
 
2307
cat >>confdefs.h <<_ACEOF
 
2308
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2309
_ACEOF
 
2310
 
 
2311
cat >>confdefs.h <<_ACEOF
 
2312
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2313
_ACEOF
 
2314
 
 
2315
cat >>confdefs.h <<_ACEOF
 
2316
#define PACKAGE_STRING "$PACKAGE_STRING"
 
2317
_ACEOF
 
2318
 
 
2319
cat >>confdefs.h <<_ACEOF
 
2320
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2321
_ACEOF
 
2322
 
 
2323
cat >>confdefs.h <<_ACEOF
 
2324
#define PACKAGE_URL "$PACKAGE_URL"
 
2325
_ACEOF
 
2326
 
 
2327
 
 
2328
# Let the site file select an alternate cache file if it wants to.
 
2329
# Prefer an explicitly selected file to automatically selected ones.
 
2330
ac_site_file1=NONE
 
2331
ac_site_file2=NONE
 
2332
if test -n "$CONFIG_SITE"; then
 
2333
  ac_site_file1=$CONFIG_SITE
 
2334
elif test "x$prefix" != xNONE; then
 
2335
  ac_site_file1=$prefix/share/config.site
 
2336
  ac_site_file2=$prefix/etc/config.site
 
2337
else
 
2338
  ac_site_file1=$ac_default_prefix/share/config.site
 
2339
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2340
fi
 
2341
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2342
do
 
2343
  test "x$ac_site_file" = xNONE && continue
 
2344
  if test -r "$ac_site_file"; then
 
2345
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2346
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2347
    sed 's/^/| /' "$ac_site_file" >&5
 
2348
    . "$ac_site_file"
 
2349
  fi
 
2350
done
 
2351
 
 
2352
if test -r "$cache_file"; then
 
2353
  # Some versions of bash will fail to source /dev/null (special
 
2354
  # files actually), so we avoid doing that.
 
2355
  if test -f "$cache_file"; then
 
2356
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2357
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2358
    case $cache_file in
 
2359
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2360
      *)                      . "./$cache_file";;
 
2361
    esac
 
2362
  fi
 
2363
else
 
2364
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2365
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2366
  >$cache_file
 
2367
fi
 
2368
 
 
2369
# Check that the precious variables saved in the cache have kept the same
 
2370
# value.
 
2371
ac_cache_corrupted=false
 
2372
for ac_var in $ac_precious_vars; do
 
2373
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2374
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2375
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2376
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2377
  case $ac_old_set,$ac_new_set in
 
2378
    set,)
 
2379
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2380
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2381
      ac_cache_corrupted=: ;;
 
2382
    ,set)
 
2383
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2384
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2385
      ac_cache_corrupted=: ;;
 
2386
    ,);;
 
2387
    *)
 
2388
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2389
        # differences in whitespace do not lead to failure.
 
2390
        ac_old_val_w=`echo x $ac_old_val`
 
2391
        ac_new_val_w=`echo x $ac_new_val`
 
2392
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2393
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2394
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2395
          ac_cache_corrupted=:
 
2396
        else
 
2397
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2398
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2399
          eval $ac_var=\$ac_old_val
 
2400
        fi
 
2401
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2402
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2403
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2404
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2405
      fi;;
 
2406
  esac
 
2407
  # Pass precious variables to config.status.
 
2408
  if test "$ac_new_set" = set; then
 
2409
    case $ac_new_val in
 
2410
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2411
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2412
    esac
 
2413
    case " $ac_configure_args " in
 
2414
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2415
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2416
    esac
 
2417
  fi
 
2418
done
 
2419
if $ac_cache_corrupted; then
 
2420
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2421
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2422
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2423
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2424
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2425
fi
 
2426
## -------------------- ##
 
2427
## Main body of script. ##
 
2428
## -------------------- ##
 
2429
 
 
2430
ac_ext=c
 
2431
ac_cpp='$CPP $CPPFLAGS'
 
2432
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2433
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2434
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2435
 
 
2436
 
 
2437
LIBSQLITE3CC_INTERFACE=0:0:0
 
2438
 
 
2439
ac_aux_dir=
 
2440
for ac_dir in build-aux "$srcdir"/build-aux; do
 
2441
  for ac_t in install-sh install.sh shtool; do
 
2442
    if test -f "$ac_dir/$ac_t"; then
 
2443
      ac_aux_dir=$ac_dir
 
2444
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2445
      break 2
 
2446
    fi
 
2447
  done
 
2448
done
 
2449
if test -z "$ac_aux_dir"; then
 
2450
  as_fn_error "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
 
2451
fi
 
2452
 
 
2453
# These three variables are undocumented and unsupported,
 
2454
# and are intended to be withdrawn in a future Autoconf release.
 
2455
# They can cause serious problems if a builder's source tree is in a directory
 
2456
# whose full name contains unusual characters.
 
2457
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2458
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2459
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2460
 
 
2461
 
 
2462
 
 
2463
am__api_version='1.11'
 
2464
 
 
2465
# Find a good install program.  We prefer a C program (faster),
 
2466
# so one script is as good as another.  But avoid the broken or
 
2467
# incompatible versions:
 
2468
# SysV /etc/install, /usr/sbin/install
 
2469
# SunOS /usr/etc/install
 
2470
# IRIX /sbin/install
 
2471
# AIX /bin/install
 
2472
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2473
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2474
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2475
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2476
# OS/2's system install, which has a completely different semantic
 
2477
# ./install, which can be erroneously created by make from ./install.sh.
 
2478
# Reject install programs that cannot install multiple files.
 
2479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2480
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2481
if test -z "$INSTALL"; then
 
2482
if test "${ac_cv_path_install+set}" = set; then :
 
2483
  $as_echo_n "(cached) " >&6
 
2484
else
 
2485
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2486
for as_dir in $PATH
 
2487
do
 
2488
  IFS=$as_save_IFS
 
2489
  test -z "$as_dir" && as_dir=.
 
2490
    # Account for people who put trailing slashes in PATH elements.
 
2491
case $as_dir/ in #((
 
2492
  ./ | .// | /[cC]/* | \
 
2493
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2494
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2495
  /usr/ucb/* ) ;;
 
2496
  *)
 
2497
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2498
    # Don't use installbsd from OSF since it installs stuff as root
 
2499
    # by default.
 
2500
    for ac_prog in ginstall scoinst install; do
 
2501
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2502
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2503
          if test $ac_prog = install &&
 
2504
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2505
            # AIX install.  It has an incompatible calling convention.
 
2506
            :
 
2507
          elif test $ac_prog = install &&
 
2508
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2509
            # program-specific install script used by HP pwplus--don't use.
 
2510
            :
 
2511
          else
 
2512
            rm -rf conftest.one conftest.two conftest.dir
 
2513
            echo one > conftest.one
 
2514
            echo two > conftest.two
 
2515
            mkdir conftest.dir
 
2516
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2517
              test -s conftest.one && test -s conftest.two &&
 
2518
              test -s conftest.dir/conftest.one &&
 
2519
              test -s conftest.dir/conftest.two
 
2520
            then
 
2521
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2522
              break 3
 
2523
            fi
 
2524
          fi
 
2525
        fi
 
2526
      done
 
2527
    done
 
2528
    ;;
 
2529
esac
 
2530
 
 
2531
  done
 
2532
IFS=$as_save_IFS
 
2533
 
 
2534
rm -rf conftest.one conftest.two conftest.dir
 
2535
 
 
2536
fi
 
2537
  if test "${ac_cv_path_install+set}" = set; then
 
2538
    INSTALL=$ac_cv_path_install
 
2539
  else
 
2540
    # As a last resort, use the slow shell script.  Don't cache a
 
2541
    # value for INSTALL within a source directory, because that will
 
2542
    # break other packages using the cache if that directory is
 
2543
    # removed, or if the value is a relative name.
 
2544
    INSTALL=$ac_install_sh
 
2545
  fi
 
2546
fi
 
2547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2548
$as_echo "$INSTALL" >&6; }
 
2549
 
 
2550
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2551
# It thinks the first close brace ends the variable substitution.
 
2552
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2553
 
 
2554
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2555
 
 
2556
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2557
 
 
2558
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2559
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2560
# Just in case
 
2561
sleep 1
 
2562
echo timestamp > conftest.file
 
2563
# Reject unsafe characters in $srcdir or the absolute working directory
 
2564
# name.  Accept space and tab only in the latter.
 
2565
am_lf='
 
2566
'
 
2567
case `pwd` in
 
2568
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2569
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2570
esac
 
2571
case $srcdir in
 
2572
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2573
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2574
esac
 
2575
 
 
2576
# Do `set' in a subshell so we don't clobber the current shell's
 
2577
# arguments.  Must try -L first in case configure is actually a
 
2578
# symlink; some systems play weird games with the mod time of symlinks
 
2579
# (eg FreeBSD returns the mod time of the symlink's containing
 
2580
# directory).
 
2581
if (
 
2582
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2583
   if test "$*" = "X"; then
 
2584
      # -L didn't work.
 
2585
      set X `ls -t "$srcdir/configure" conftest.file`
 
2586
   fi
 
2587
   rm -f conftest.file
 
2588
   if test "$*" != "X $srcdir/configure conftest.file" \
 
2589
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
2590
 
 
2591
      # If neither matched, then we have a broken ls.  This can happen
 
2592
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2593
      # broken ls alias from the environment.  This has actually
 
2594
      # happened.  Such a system could not be considered "sane".
 
2595
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2596
alias in your environment" "$LINENO" 5
 
2597
   fi
 
2598
 
 
2599
   test "$2" = conftest.file
 
2600
   )
 
2601
then
 
2602
   # Ok.
 
2603
   :
 
2604
else
 
2605
   as_fn_error "newly created file is older than distributed files!
 
2606
Check your system clock" "$LINENO" 5
 
2607
fi
 
2608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2609
$as_echo "yes" >&6; }
 
2610
test "$program_prefix" != NONE &&
 
2611
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2612
# Use a double $ so make ignores it.
 
2613
test "$program_suffix" != NONE &&
 
2614
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2615
# Double any \ or $.
 
2616
# By default was `s,x,x', remove it if useless.
 
2617
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2618
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2619
 
 
2620
# expand $ac_aux_dir to an absolute path
 
2621
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2622
 
 
2623
if test x"${MISSING+set}" != xset; then
 
2624
  case $am_aux_dir in
 
2625
  *\ * | *\     *)
 
2626
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2627
  *)
 
2628
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2629
  esac
 
2630
fi
 
2631
# Use eval to expand $SHELL
 
2632
if eval "$MISSING --run true"; then
 
2633
  am_missing_run="$MISSING --run "
 
2634
else
 
2635
  am_missing_run=
 
2636
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2637
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2638
fi
 
2639
 
 
2640
if test x"${install_sh}" != xset; then
 
2641
  case $am_aux_dir in
 
2642
  *\ * | *\     *)
 
2643
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2644
  *)
 
2645
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2646
  esac
 
2647
fi
 
2648
 
 
2649
# Installed binaries are usually stripped using `strip' when the user
 
2650
# run `make install-strip'.  However `strip' might not be the right
 
2651
# tool to use in cross-compilation environments, therefore Automake
 
2652
# will honor the `STRIP' environment variable to overrule this program.
 
2653
if test "$cross_compiling" != no; then
 
2654
  if test -n "$ac_tool_prefix"; then
 
2655
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2656
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2658
$as_echo_n "checking for $ac_word... " >&6; }
 
2659
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2660
  $as_echo_n "(cached) " >&6
 
2661
else
 
2662
  if test -n "$STRIP"; then
 
2663
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2664
else
 
2665
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2666
for as_dir in $PATH
 
2667
do
 
2668
  IFS=$as_save_IFS
 
2669
  test -z "$as_dir" && as_dir=.
 
2670
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2671
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2672
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2673
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2674
    break 2
 
2675
  fi
 
2676
done
 
2677
  done
 
2678
IFS=$as_save_IFS
 
2679
 
 
2680
fi
 
2681
fi
 
2682
STRIP=$ac_cv_prog_STRIP
 
2683
if test -n "$STRIP"; then
 
2684
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2685
$as_echo "$STRIP" >&6; }
 
2686
else
 
2687
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2688
$as_echo "no" >&6; }
 
2689
fi
 
2690
 
 
2691
 
 
2692
fi
 
2693
if test -z "$ac_cv_prog_STRIP"; then
 
2694
  ac_ct_STRIP=$STRIP
 
2695
  # Extract the first word of "strip", so it can be a program name with args.
 
2696
set dummy strip; ac_word=$2
 
2697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2698
$as_echo_n "checking for $ac_word... " >&6; }
 
2699
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2700
  $as_echo_n "(cached) " >&6
 
2701
else
 
2702
  if test -n "$ac_ct_STRIP"; then
 
2703
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2704
else
 
2705
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2706
for as_dir in $PATH
 
2707
do
 
2708
  IFS=$as_save_IFS
 
2709
  test -z "$as_dir" && as_dir=.
 
2710
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2711
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2712
    ac_cv_prog_ac_ct_STRIP="strip"
 
2713
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2714
    break 2
 
2715
  fi
 
2716
done
 
2717
  done
 
2718
IFS=$as_save_IFS
 
2719
 
 
2720
fi
 
2721
fi
 
2722
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2723
if test -n "$ac_ct_STRIP"; then
 
2724
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2725
$as_echo "$ac_ct_STRIP" >&6; }
 
2726
else
 
2727
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2728
$as_echo "no" >&6; }
 
2729
fi
 
2730
 
 
2731
  if test "x$ac_ct_STRIP" = x; then
 
2732
    STRIP=":"
 
2733
  else
 
2734
    case $cross_compiling:$ac_tool_warned in
 
2735
yes:)
 
2736
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2737
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2738
ac_tool_warned=yes ;;
 
2739
esac
 
2740
    STRIP=$ac_ct_STRIP
 
2741
  fi
 
2742
else
 
2743
  STRIP="$ac_cv_prog_STRIP"
 
2744
fi
 
2745
 
 
2746
fi
 
2747
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2748
 
 
2749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2750
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2751
if test -z "$MKDIR_P"; then
 
2752
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2753
  $as_echo_n "(cached) " >&6
 
2754
else
 
2755
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2756
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2757
do
 
2758
  IFS=$as_save_IFS
 
2759
  test -z "$as_dir" && as_dir=.
 
2760
    for ac_prog in mkdir gmkdir; do
 
2761
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2762
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2763
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2764
             'mkdir (GNU coreutils) '* | \
 
2765
             'mkdir (coreutils) '* | \
 
2766
             'mkdir (fileutils) '4.1*)
 
2767
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2768
               break 3;;
 
2769
           esac
 
2770
         done
 
2771
       done
 
2772
  done
 
2773
IFS=$as_save_IFS
 
2774
 
 
2775
fi
 
2776
 
 
2777
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2778
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2779
  else
 
2780
    # As a last resort, use the slow shell script.  Don't cache a
 
2781
    # value for MKDIR_P within a source directory, because that will
 
2782
    # break other packages using the cache if that directory is
 
2783
    # removed, or if the value is a relative name.
 
2784
    test -d ./--version && rmdir ./--version
 
2785
    MKDIR_P="$ac_install_sh -d"
 
2786
  fi
 
2787
fi
 
2788
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2789
$as_echo "$MKDIR_P" >&6; }
 
2790
 
 
2791
mkdir_p="$MKDIR_P"
 
2792
case $mkdir_p in
 
2793
  [\\/$]* | ?:[\\/]*) ;;
 
2794
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2795
esac
 
2796
 
 
2797
for ac_prog in gawk mawk nawk awk
 
2798
do
 
2799
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2800
set dummy $ac_prog; ac_word=$2
 
2801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2802
$as_echo_n "checking for $ac_word... " >&6; }
 
2803
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2804
  $as_echo_n "(cached) " >&6
 
2805
else
 
2806
  if test -n "$AWK"; then
 
2807
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2808
else
 
2809
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2810
for as_dir in $PATH
 
2811
do
 
2812
  IFS=$as_save_IFS
 
2813
  test -z "$as_dir" && as_dir=.
 
2814
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2815
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2816
    ac_cv_prog_AWK="$ac_prog"
 
2817
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2818
    break 2
 
2819
  fi
 
2820
done
 
2821
  done
 
2822
IFS=$as_save_IFS
 
2823
 
 
2824
fi
 
2825
fi
 
2826
AWK=$ac_cv_prog_AWK
 
2827
if test -n "$AWK"; then
 
2828
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2829
$as_echo "$AWK" >&6; }
 
2830
else
 
2831
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2832
$as_echo "no" >&6; }
 
2833
fi
 
2834
 
 
2835
 
 
2836
  test -n "$AWK" && break
 
2837
done
 
2838
 
 
2839
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2840
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2841
set x ${MAKE-make}
 
2842
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2843
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2844
  $as_echo_n "(cached) " >&6
 
2845
else
 
2846
  cat >conftest.make <<\_ACEOF
 
2847
SHELL = /bin/sh
 
2848
all:
 
2849
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2850
_ACEOF
 
2851
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2852
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2853
  *@@@%%%=?*=@@@%%%*)
 
2854
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2855
  *)
 
2856
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2857
esac
 
2858
rm -f conftest.make
 
2859
fi
 
2860
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2861
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2862
$as_echo "yes" >&6; }
 
2863
  SET_MAKE=
 
2864
else
 
2865
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2866
$as_echo "no" >&6; }
 
2867
  SET_MAKE="MAKE=${MAKE-make}"
 
2868
fi
 
2869
 
 
2870
rm -rf .tst 2>/dev/null
 
2871
mkdir .tst 2>/dev/null
 
2872
if test -d .tst; then
 
2873
  am__leading_dot=.
 
2874
else
 
2875
  am__leading_dot=_
 
2876
fi
 
2877
rmdir .tst 2>/dev/null
 
2878
 
 
2879
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2880
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2881
  # is not polluted with repeated "-I."
 
2882
  am__isrc=' -I$(srcdir)'
 
2883
  # test to see if srcdir already configured
 
2884
  if test -f $srcdir/config.status; then
 
2885
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2886
  fi
 
2887
fi
 
2888
 
 
2889
# test whether we have cygpath
 
2890
if test -z "$CYGPATH_W"; then
 
2891
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2892
    CYGPATH_W='cygpath -w'
 
2893
  else
 
2894
    CYGPATH_W=echo
 
2895
  fi
 
2896
fi
 
2897
 
 
2898
 
 
2899
# Define the identity of the package.
 
2900
 PACKAGE='sqlite3cc'
 
2901
 VERSION='0.1.0'
 
2902
 
 
2903
 
 
2904
cat >>confdefs.h <<_ACEOF
 
2905
#define PACKAGE "$PACKAGE"
 
2906
_ACEOF
 
2907
 
 
2908
 
 
2909
cat >>confdefs.h <<_ACEOF
 
2910
#define VERSION "$VERSION"
 
2911
_ACEOF
 
2912
 
 
2913
# Some tools Automake needs.
 
2914
 
 
2915
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2916
 
 
2917
 
 
2918
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2919
 
 
2920
 
 
2921
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2922
 
 
2923
 
 
2924
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2925
 
 
2926
 
 
2927
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2928
 
 
2929
# We need awk for the "check" target.  The system "awk" is bad on
 
2930
# some platforms.
 
2931
# Always define AMTAR for backward compatibility.
 
2932
 
 
2933
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2934
 
 
2935
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2936
 
 
2937
 
 
2938
 
 
2939
 
 
2940
 
 
2941
 
 
2942
ac_config_headers="$ac_config_headers config.h"
 
2943
 
 
2944
case `pwd` in
 
2945
  *\ * | *\     *)
 
2946
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
2947
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
2948
esac
 
2949
 
 
2950
 
 
2951
 
 
2952
macro_version='2.2.6'
 
2953
macro_revision='1.3012'
 
2954
 
 
2955
 
 
2956
 
 
2957
 
 
2958
 
 
2959
 
 
2960
 
 
2961
 
 
2962
 
 
2963
 
 
2964
 
 
2965
 
 
2966
 
 
2967
ltmain="$ac_aux_dir/ltmain.sh"
 
2968
 
 
2969
# Make sure we can run config.sub.
 
2970
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2971
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
2972
 
 
2973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
2974
$as_echo_n "checking build system type... " >&6; }
 
2975
if test "${ac_cv_build+set}" = set; then :
 
2976
  $as_echo_n "(cached) " >&6
 
2977
else
 
2978
  ac_build_alias=$build_alias
 
2979
test "x$ac_build_alias" = x &&
 
2980
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2981
test "x$ac_build_alias" = x &&
 
2982
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
2983
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2984
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
2985
 
 
2986
fi
 
2987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
2988
$as_echo "$ac_cv_build" >&6; }
 
2989
case $ac_cv_build in
 
2990
*-*-*) ;;
 
2991
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
2992
esac
 
2993
build=$ac_cv_build
 
2994
ac_save_IFS=$IFS; IFS='-'
 
2995
set x $ac_cv_build
 
2996
shift
 
2997
build_cpu=$1
 
2998
build_vendor=$2
 
2999
shift; shift
 
3000
# Remember, the first character of IFS is used to create $*,
 
3001
# except with old shells:
 
3002
build_os=$*
 
3003
IFS=$ac_save_IFS
 
3004
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
3005
 
 
3006
 
 
3007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
3008
$as_echo_n "checking host system type... " >&6; }
 
3009
if test "${ac_cv_host+set}" = set; then :
 
3010
  $as_echo_n "(cached) " >&6
 
3011
else
 
3012
  if test "x$host_alias" = x; then
 
3013
  ac_cv_host=$ac_cv_build
 
3014
else
 
3015
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
3016
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
3017
fi
 
3018
 
 
3019
fi
 
3020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
3021
$as_echo "$ac_cv_host" >&6; }
 
3022
case $ac_cv_host in
 
3023
*-*-*) ;;
 
3024
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
3025
esac
 
3026
host=$ac_cv_host
 
3027
ac_save_IFS=$IFS; IFS='-'
 
3028
set x $ac_cv_host
 
3029
shift
 
3030
host_cpu=$1
 
3031
host_vendor=$2
 
3032
shift; shift
 
3033
# Remember, the first character of IFS is used to create $*,
 
3034
# except with old shells:
 
3035
host_os=$*
 
3036
IFS=$ac_save_IFS
 
3037
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
3038
 
 
3039
 
 
3040
DEPDIR="${am__leading_dot}deps"
 
3041
 
 
3042
ac_config_commands="$ac_config_commands depfiles"
 
3043
 
 
3044
 
 
3045
am_make=${MAKE-make}
 
3046
cat > confinc << 'END'
 
3047
am__doit:
 
3048
        @echo this is the am__doit target
 
3049
.PHONY: am__doit
 
3050
END
 
3051
# If we don't find an include directive, just comment out the code.
 
3052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3053
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3054
am__include="#"
 
3055
am__quote=
 
3056
_am_result=none
 
3057
# First try GNU make style include.
 
3058
echo "include confinc" > confmf
 
3059
# Ignore all kinds of additional output from `make'.
 
3060
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3061
*the\ am__doit\ target*)
 
3062
  am__include=include
 
3063
  am__quote=
 
3064
  _am_result=GNU
 
3065
  ;;
 
3066
esac
 
3067
# Now try BSD make style include.
 
3068
if test "$am__include" = "#"; then
 
3069
   echo '.include "confinc"' > confmf
 
3070
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3071
   *the\ am__doit\ target*)
 
3072
     am__include=.include
 
3073
     am__quote="\""
 
3074
     _am_result=BSD
 
3075
     ;;
 
3076
   esac
 
3077
fi
 
3078
 
 
3079
 
 
3080
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3081
$as_echo "$_am_result" >&6; }
 
3082
rm -f confinc confmf
 
3083
 
 
3084
# Check whether --enable-dependency-tracking was given.
 
3085
if test "${enable_dependency_tracking+set}" = set; then :
 
3086
  enableval=$enable_dependency_tracking;
 
3087
fi
 
3088
 
 
3089
if test "x$enable_dependency_tracking" != xno; then
 
3090
  am_depcomp="$ac_aux_dir/depcomp"
 
3091
  AMDEPBACKSLASH='\'
 
3092
fi
 
3093
 if test "x$enable_dependency_tracking" != xno; then
 
3094
  AMDEP_TRUE=
 
3095
  AMDEP_FALSE='#'
 
3096
else
 
3097
  AMDEP_TRUE='#'
 
3098
  AMDEP_FALSE=
 
3099
fi
 
3100
 
 
3101
 
 
3102
ac_ext=c
 
3103
ac_cpp='$CPP $CPPFLAGS'
 
3104
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3105
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3106
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3107
if test -n "$ac_tool_prefix"; then
 
3108
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3109
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3111
$as_echo_n "checking for $ac_word... " >&6; }
 
3112
if test "${ac_cv_prog_CC+set}" = set; then :
 
3113
  $as_echo_n "(cached) " >&6
 
3114
else
 
3115
  if test -n "$CC"; then
 
3116
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3117
else
 
3118
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3119
for as_dir in $PATH
 
3120
do
 
3121
  IFS=$as_save_IFS
 
3122
  test -z "$as_dir" && as_dir=.
 
3123
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3124
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3125
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3126
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3127
    break 2
 
3128
  fi
 
3129
done
 
3130
  done
 
3131
IFS=$as_save_IFS
 
3132
 
 
3133
fi
 
3134
fi
 
3135
CC=$ac_cv_prog_CC
 
3136
if test -n "$CC"; then
 
3137
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3138
$as_echo "$CC" >&6; }
 
3139
else
 
3140
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3141
$as_echo "no" >&6; }
 
3142
fi
 
3143
 
 
3144
 
 
3145
fi
 
3146
if test -z "$ac_cv_prog_CC"; then
 
3147
  ac_ct_CC=$CC
 
3148
  # Extract the first word of "gcc", so it can be a program name with args.
 
3149
set dummy gcc; ac_word=$2
 
3150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3151
$as_echo_n "checking for $ac_word... " >&6; }
 
3152
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3153
  $as_echo_n "(cached) " >&6
 
3154
else
 
3155
  if test -n "$ac_ct_CC"; then
 
3156
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3157
else
 
3158
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3159
for as_dir in $PATH
 
3160
do
 
3161
  IFS=$as_save_IFS
 
3162
  test -z "$as_dir" && as_dir=.
 
3163
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3164
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3165
    ac_cv_prog_ac_ct_CC="gcc"
 
3166
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3167
    break 2
 
3168
  fi
 
3169
done
 
3170
  done
 
3171
IFS=$as_save_IFS
 
3172
 
 
3173
fi
 
3174
fi
 
3175
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3176
if test -n "$ac_ct_CC"; then
 
3177
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3178
$as_echo "$ac_ct_CC" >&6; }
 
3179
else
 
3180
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3181
$as_echo "no" >&6; }
 
3182
fi
 
3183
 
 
3184
  if test "x$ac_ct_CC" = x; then
 
3185
    CC=""
 
3186
  else
 
3187
    case $cross_compiling:$ac_tool_warned in
 
3188
yes:)
 
3189
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3190
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3191
ac_tool_warned=yes ;;
 
3192
esac
 
3193
    CC=$ac_ct_CC
 
3194
  fi
 
3195
else
 
3196
  CC="$ac_cv_prog_CC"
 
3197
fi
 
3198
 
 
3199
if test -z "$CC"; then
 
3200
          if test -n "$ac_tool_prefix"; then
 
3201
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3202
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3204
$as_echo_n "checking for $ac_word... " >&6; }
 
3205
if test "${ac_cv_prog_CC+set}" = set; then :
 
3206
  $as_echo_n "(cached) " >&6
 
3207
else
 
3208
  if test -n "$CC"; then
 
3209
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3210
else
 
3211
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3212
for as_dir in $PATH
 
3213
do
 
3214
  IFS=$as_save_IFS
 
3215
  test -z "$as_dir" && as_dir=.
 
3216
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3217
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3218
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3219
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3220
    break 2
 
3221
  fi
 
3222
done
 
3223
  done
 
3224
IFS=$as_save_IFS
 
3225
 
 
3226
fi
 
3227
fi
 
3228
CC=$ac_cv_prog_CC
 
3229
if test -n "$CC"; then
 
3230
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3231
$as_echo "$CC" >&6; }
 
3232
else
 
3233
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3234
$as_echo "no" >&6; }
 
3235
fi
 
3236
 
 
3237
 
 
3238
  fi
 
3239
fi
 
3240
if test -z "$CC"; then
 
3241
  # Extract the first word of "cc", so it can be a program name with args.
 
3242
set dummy cc; ac_word=$2
 
3243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3244
$as_echo_n "checking for $ac_word... " >&6; }
 
3245
if test "${ac_cv_prog_CC+set}" = set; then :
 
3246
  $as_echo_n "(cached) " >&6
 
3247
else
 
3248
  if test -n "$CC"; then
 
3249
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3250
else
 
3251
  ac_prog_rejected=no
 
3252
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3253
for as_dir in $PATH
 
3254
do
 
3255
  IFS=$as_save_IFS
 
3256
  test -z "$as_dir" && as_dir=.
 
3257
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3258
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3259
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3260
       ac_prog_rejected=yes
 
3261
       continue
 
3262
     fi
 
3263
    ac_cv_prog_CC="cc"
 
3264
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3265
    break 2
 
3266
  fi
 
3267
done
 
3268
  done
 
3269
IFS=$as_save_IFS
 
3270
 
 
3271
if test $ac_prog_rejected = yes; then
 
3272
  # We found a bogon in the path, so make sure we never use it.
 
3273
  set dummy $ac_cv_prog_CC
 
3274
  shift
 
3275
  if test $# != 0; then
 
3276
    # We chose a different compiler from the bogus one.
 
3277
    # However, it has the same basename, so the bogon will be chosen
 
3278
    # first if we set CC to just the basename; use the full file name.
 
3279
    shift
 
3280
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3281
  fi
 
3282
fi
 
3283
fi
 
3284
fi
 
3285
CC=$ac_cv_prog_CC
 
3286
if test -n "$CC"; then
 
3287
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3288
$as_echo "$CC" >&6; }
 
3289
else
 
3290
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3291
$as_echo "no" >&6; }
 
3292
fi
 
3293
 
 
3294
 
 
3295
fi
 
3296
if test -z "$CC"; then
 
3297
  if test -n "$ac_tool_prefix"; then
 
3298
  for ac_prog in cl.exe
 
3299
  do
 
3300
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3301
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3302
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3303
$as_echo_n "checking for $ac_word... " >&6; }
 
3304
if test "${ac_cv_prog_CC+set}" = set; then :
 
3305
  $as_echo_n "(cached) " >&6
 
3306
else
 
3307
  if test -n "$CC"; then
 
3308
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3309
else
 
3310
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3311
for as_dir in $PATH
 
3312
do
 
3313
  IFS=$as_save_IFS
 
3314
  test -z "$as_dir" && as_dir=.
 
3315
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3316
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3317
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3318
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3319
    break 2
 
3320
  fi
 
3321
done
 
3322
  done
 
3323
IFS=$as_save_IFS
 
3324
 
 
3325
fi
 
3326
fi
 
3327
CC=$ac_cv_prog_CC
 
3328
if test -n "$CC"; then
 
3329
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3330
$as_echo "$CC" >&6; }
 
3331
else
 
3332
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3333
$as_echo "no" >&6; }
 
3334
fi
 
3335
 
 
3336
 
 
3337
    test -n "$CC" && break
 
3338
  done
 
3339
fi
 
3340
if test -z "$CC"; then
 
3341
  ac_ct_CC=$CC
 
3342
  for ac_prog in cl.exe
 
3343
do
 
3344
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3345
set dummy $ac_prog; ac_word=$2
 
3346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3347
$as_echo_n "checking for $ac_word... " >&6; }
 
3348
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3349
  $as_echo_n "(cached) " >&6
 
3350
else
 
3351
  if test -n "$ac_ct_CC"; then
 
3352
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3353
else
 
3354
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3355
for as_dir in $PATH
 
3356
do
 
3357
  IFS=$as_save_IFS
 
3358
  test -z "$as_dir" && as_dir=.
 
3359
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3360
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3361
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3362
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3363
    break 2
 
3364
  fi
 
3365
done
 
3366
  done
 
3367
IFS=$as_save_IFS
 
3368
 
 
3369
fi
 
3370
fi
 
3371
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3372
if test -n "$ac_ct_CC"; then
 
3373
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3374
$as_echo "$ac_ct_CC" >&6; }
 
3375
else
 
3376
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3377
$as_echo "no" >&6; }
 
3378
fi
 
3379
 
 
3380
 
 
3381
  test -n "$ac_ct_CC" && break
 
3382
done
 
3383
 
 
3384
  if test "x$ac_ct_CC" = x; then
 
3385
    CC=""
 
3386
  else
 
3387
    case $cross_compiling:$ac_tool_warned in
 
3388
yes:)
 
3389
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3390
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3391
ac_tool_warned=yes ;;
 
3392
esac
 
3393
    CC=$ac_ct_CC
 
3394
  fi
 
3395
fi
 
3396
 
 
3397
fi
 
3398
 
 
3399
 
 
3400
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3401
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3402
as_fn_error "no acceptable C compiler found in \$PATH
 
3403
See \`config.log' for more details." "$LINENO" 5; }
 
3404
 
 
3405
# Provide some information about the compiler.
 
3406
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3407
set X $ac_compile
 
3408
ac_compiler=$2
 
3409
for ac_option in --version -v -V -qversion; do
 
3410
  { { ac_try="$ac_compiler $ac_option >&5"
 
3411
case "(($ac_try" in
 
3412
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3413
  *) ac_try_echo=$ac_try;;
 
3414
esac
 
3415
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3416
$as_echo "$ac_try_echo"; } >&5
 
3417
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3418
  ac_status=$?
 
3419
  if test -s conftest.err; then
 
3420
    sed '10a\
 
3421
... rest of stderr output deleted ...
 
3422
         10q' conftest.err >conftest.er1
 
3423
    cat conftest.er1 >&5
 
3424
    rm -f conftest.er1 conftest.err
 
3425
  fi
 
3426
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3427
  test $ac_status = 0; }
 
3428
done
 
3429
 
 
3430
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3431
/* end confdefs.h.  */
 
3432
#include <stdio.h>
 
3433
int
 
3434
main ()
 
3435
{
 
3436
FILE *f = fopen ("conftest.out", "w");
 
3437
 return ferror (f) || fclose (f) != 0;
 
3438
 
 
3439
  ;
 
3440
  return 0;
 
3441
}
 
3442
_ACEOF
 
3443
ac_clean_files_save=$ac_clean_files
 
3444
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
 
3445
# Try to create an executable without -o first, disregard a.out.
 
3446
# It will help us diagnose broken compilers, and finding out an intuition
 
3447
# of exeext.
 
3448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3449
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3450
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3451
 
 
3452
# The possible output files:
 
3453
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3454
 
 
3455
ac_rmfiles=
 
3456
for ac_file in $ac_files
 
3457
do
 
3458
  case $ac_file in
 
3459
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3460
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3461
  esac
 
3462
done
 
3463
rm -f $ac_rmfiles
 
3464
 
 
3465
if { { ac_try="$ac_link_default"
 
3466
case "(($ac_try" in
 
3467
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3468
  *) ac_try_echo=$ac_try;;
 
3469
esac
 
3470
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3471
$as_echo "$ac_try_echo"; } >&5
 
3472
  (eval "$ac_link_default") 2>&5
 
3473
  ac_status=$?
 
3474
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3475
  test $ac_status = 0; }; then :
 
3476
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3477
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3478
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3479
# so that the user can short-circuit this test for compilers unknown to
 
3480
# Autoconf.
 
3481
for ac_file in $ac_files ''
 
3482
do
 
3483
  test -f "$ac_file" || continue
 
3484
  case $ac_file in
 
3485
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3486
        ;;
 
3487
    [ab].out )
 
3488
        # We found the default executable, but exeext='' is most
 
3489
        # certainly right.
 
3490
        break;;
 
3491
    *.* )
 
3492
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3493
        then :; else
 
3494
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3495
        fi
 
3496
        # We set ac_cv_exeext here because the later test for it is not
 
3497
        # safe: cross compilers may not add the suffix if given an `-o'
 
3498
        # argument, so we may need to know it at that point already.
 
3499
        # Even if this section looks crufty: it has the advantage of
 
3500
        # actually working.
 
3501
        break;;
 
3502
    * )
 
3503
        break;;
 
3504
  esac
 
3505
done
 
3506
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3507
 
 
3508
else
 
3509
  ac_file=''
 
3510
fi
 
3511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3512
$as_echo "$ac_file" >&6; }
 
3513
if test -z "$ac_file"; then :
 
3514
  $as_echo "$as_me: failed program was:" >&5
 
3515
sed 's/^/| /' conftest.$ac_ext >&5
 
3516
 
 
3517
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3518
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3519
{ as_fn_set_status 77
 
3520
as_fn_error "C compiler cannot create executables
 
3521
See \`config.log' for more details." "$LINENO" 5; }; }
 
3522
fi
 
3523
ac_exeext=$ac_cv_exeext
 
3524
 
 
3525
# Check that the compiler produces executables we can run.  If not, either
 
3526
# the compiler is broken, or we cross compile.
 
3527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3528
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3529
# If not cross compiling, check that we can run a simple program.
 
3530
if test "$cross_compiling" != yes; then
 
3531
  if { ac_try='./$ac_file'
 
3532
  { { case "(($ac_try" in
 
3533
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3534
  *) ac_try_echo=$ac_try;;
 
3535
esac
 
3536
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3537
$as_echo "$ac_try_echo"; } >&5
 
3538
  (eval "$ac_try") 2>&5
 
3539
  ac_status=$?
 
3540
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3541
  test $ac_status = 0; }; }; then
 
3542
    cross_compiling=no
 
3543
  else
 
3544
    if test "$cross_compiling" = maybe; then
 
3545
        cross_compiling=yes
 
3546
    else
 
3547
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3548
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3549
as_fn_error "cannot run C compiled programs.
 
3550
If you meant to cross compile, use \`--host'.
 
3551
See \`config.log' for more details." "$LINENO" 5; }
 
3552
    fi
 
3553
  fi
 
3554
fi
 
3555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3556
$as_echo "yes" >&6; }
 
3557
 
 
3558
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
 
3559
ac_clean_files=$ac_clean_files_save
 
3560
# Check that the compiler produces executables we can run.  If not, either
 
3561
# the compiler is broken, or we cross compile.
 
3562
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3563
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3564
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3565
$as_echo "$cross_compiling" >&6; }
 
3566
 
 
3567
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3568
$as_echo_n "checking for suffix of executables... " >&6; }
 
3569
if { { ac_try="$ac_link"
 
3570
case "(($ac_try" in
 
3571
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3572
  *) ac_try_echo=$ac_try;;
 
3573
esac
 
3574
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3575
$as_echo "$ac_try_echo"; } >&5
 
3576
  (eval "$ac_link") 2>&5
 
3577
  ac_status=$?
 
3578
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3579
  test $ac_status = 0; }; then :
 
3580
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3581
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3582
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3583
# `rm'.
 
3584
for ac_file in conftest.exe conftest conftest.*; do
 
3585
  test -f "$ac_file" || continue
 
3586
  case $ac_file in
 
3587
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3588
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3589
          break;;
 
3590
    * ) break;;
 
3591
  esac
 
3592
done
 
3593
else
 
3594
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3595
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3596
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3597
See \`config.log' for more details." "$LINENO" 5; }
 
3598
fi
 
3599
rm -f conftest$ac_cv_exeext
 
3600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3601
$as_echo "$ac_cv_exeext" >&6; }
 
3602
 
 
3603
rm -f conftest.$ac_ext
 
3604
EXEEXT=$ac_cv_exeext
 
3605
ac_exeext=$EXEEXT
 
3606
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3607
$as_echo_n "checking for suffix of object files... " >&6; }
 
3608
if test "${ac_cv_objext+set}" = set; then :
 
3609
  $as_echo_n "(cached) " >&6
 
3610
else
 
3611
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3612
/* end confdefs.h.  */
 
3613
 
 
3614
int
 
3615
main ()
 
3616
{
 
3617
 
 
3618
  ;
 
3619
  return 0;
 
3620
}
 
3621
_ACEOF
 
3622
rm -f conftest.o conftest.obj
 
3623
if { { ac_try="$ac_compile"
 
3624
case "(($ac_try" in
 
3625
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3626
  *) ac_try_echo=$ac_try;;
 
3627
esac
 
3628
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3629
$as_echo "$ac_try_echo"; } >&5
 
3630
  (eval "$ac_compile") 2>&5
 
3631
  ac_status=$?
 
3632
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3633
  test $ac_status = 0; }; then :
 
3634
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3635
  test -f "$ac_file" || continue;
 
3636
  case $ac_file in
 
3637
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3638
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3639
       break;;
 
3640
  esac
 
3641
done
 
3642
else
 
3643
  $as_echo "$as_me: failed program was:" >&5
 
3644
sed 's/^/| /' conftest.$ac_ext >&5
 
3645
 
 
3646
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3647
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3648
as_fn_error "cannot compute suffix of object files: cannot compile
 
3649
See \`config.log' for more details." "$LINENO" 5; }
 
3650
fi
 
3651
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3652
fi
 
3653
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3654
$as_echo "$ac_cv_objext" >&6; }
 
3655
OBJEXT=$ac_cv_objext
 
3656
ac_objext=$OBJEXT
 
3657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3658
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3659
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3660
  $as_echo_n "(cached) " >&6
 
3661
else
 
3662
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3663
/* end confdefs.h.  */
 
3664
 
 
3665
int
 
3666
main ()
 
3667
{
 
3668
#ifndef __GNUC__
 
3669
       choke me
 
3670
#endif
 
3671
 
 
3672
  ;
 
3673
  return 0;
 
3674
}
 
3675
_ACEOF
 
3676
if ac_fn_c_try_compile "$LINENO"; then :
 
3677
  ac_compiler_gnu=yes
 
3678
else
 
3679
  ac_compiler_gnu=no
 
3680
fi
 
3681
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3682
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3683
 
 
3684
fi
 
3685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3686
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3687
if test $ac_compiler_gnu = yes; then
 
3688
  GCC=yes
 
3689
else
 
3690
  GCC=
 
3691
fi
 
3692
ac_test_CFLAGS=${CFLAGS+set}
 
3693
ac_save_CFLAGS=$CFLAGS
 
3694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3695
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3696
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3697
  $as_echo_n "(cached) " >&6
 
3698
else
 
3699
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3700
   ac_c_werror_flag=yes
 
3701
   ac_cv_prog_cc_g=no
 
3702
   CFLAGS="-g"
 
3703
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3704
/* end confdefs.h.  */
 
3705
 
 
3706
int
 
3707
main ()
 
3708
{
 
3709
 
 
3710
  ;
 
3711
  return 0;
 
3712
}
 
3713
_ACEOF
 
3714
if ac_fn_c_try_compile "$LINENO"; then :
 
3715
  ac_cv_prog_cc_g=yes
 
3716
else
 
3717
  CFLAGS=""
 
3718
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3719
/* end confdefs.h.  */
 
3720
 
 
3721
int
 
3722
main ()
 
3723
{
 
3724
 
 
3725
  ;
 
3726
  return 0;
 
3727
}
 
3728
_ACEOF
 
3729
if ac_fn_c_try_compile "$LINENO"; then :
 
3730
 
 
3731
else
 
3732
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3733
         CFLAGS="-g"
 
3734
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3735
/* end confdefs.h.  */
 
3736
 
 
3737
int
 
3738
main ()
 
3739
{
 
3740
 
 
3741
  ;
 
3742
  return 0;
 
3743
}
 
3744
_ACEOF
 
3745
if ac_fn_c_try_compile "$LINENO"; then :
 
3746
  ac_cv_prog_cc_g=yes
 
3747
fi
 
3748
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3749
fi
 
3750
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3751
fi
 
3752
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3753
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3754
fi
 
3755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3756
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3757
if test "$ac_test_CFLAGS" = set; then
 
3758
  CFLAGS=$ac_save_CFLAGS
 
3759
elif test $ac_cv_prog_cc_g = yes; then
 
3760
  if test "$GCC" = yes; then
 
3761
    CFLAGS="-g -O2"
 
3762
  else
 
3763
    CFLAGS="-g"
 
3764
  fi
 
3765
else
 
3766
  if test "$GCC" = yes; then
 
3767
    CFLAGS="-O2"
 
3768
  else
 
3769
    CFLAGS=
 
3770
  fi
 
3771
fi
 
3772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3773
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3774
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3775
  $as_echo_n "(cached) " >&6
 
3776
else
 
3777
  ac_cv_prog_cc_c89=no
 
3778
ac_save_CC=$CC
 
3779
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3780
/* end confdefs.h.  */
 
3781
#include <stdarg.h>
 
3782
#include <stdio.h>
 
3783
#include <sys/types.h>
 
3784
#include <sys/stat.h>
 
3785
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3786
struct buf { int x; };
 
3787
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3788
static char *e (p, i)
 
3789
     char **p;
 
3790
     int i;
 
3791
{
 
3792
  return p[i];
 
3793
}
 
3794
static char *f (char * (*g) (char **, int), char **p, ...)
 
3795
{
 
3796
  char *s;
 
3797
  va_list v;
 
3798
  va_start (v,p);
 
3799
  s = g (p, va_arg (v,int));
 
3800
  va_end (v);
 
3801
  return s;
 
3802
}
 
3803
 
 
3804
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3805
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3806
   These don't provoke an error unfortunately, instead are silently treated
 
3807
   as 'x'.  The following induces an error, until -std is added to get
 
3808
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3809
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3810
   that's true only with -std.  */
 
3811
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3812
 
 
3813
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3814
   inside strings and character constants.  */
 
3815
#define FOO(x) 'x'
 
3816
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3817
 
 
3818
int test (int i, double x);
 
3819
struct s1 {int (*f) (int a);};
 
3820
struct s2 {int (*f) (double a);};
 
3821
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3822
int argc;
 
3823
char **argv;
 
3824
int
 
3825
main ()
 
3826
{
 
3827
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3828
  ;
 
3829
  return 0;
 
3830
}
 
3831
_ACEOF
 
3832
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3833
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3834
do
 
3835
  CC="$ac_save_CC $ac_arg"
 
3836
  if ac_fn_c_try_compile "$LINENO"; then :
 
3837
  ac_cv_prog_cc_c89=$ac_arg
 
3838
fi
 
3839
rm -f core conftest.err conftest.$ac_objext
 
3840
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3841
done
 
3842
rm -f conftest.$ac_ext
 
3843
CC=$ac_save_CC
 
3844
 
 
3845
fi
 
3846
# AC_CACHE_VAL
 
3847
case "x$ac_cv_prog_cc_c89" in
 
3848
  x)
 
3849
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3850
$as_echo "none needed" >&6; } ;;
 
3851
  xno)
 
3852
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3853
$as_echo "unsupported" >&6; } ;;
 
3854
  *)
 
3855
    CC="$CC $ac_cv_prog_cc_c89"
 
3856
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3857
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3858
esac
 
3859
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3860
 
 
3861
fi
 
3862
 
 
3863
ac_ext=c
 
3864
ac_cpp='$CPP $CPPFLAGS'
 
3865
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3866
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3867
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3868
 
 
3869
depcc="$CC"   am_compiler_list=
 
3870
 
 
3871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3872
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3873
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3874
  $as_echo_n "(cached) " >&6
 
3875
else
 
3876
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3877
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3878
  # making bogus files that we don't know about and never remove.  For
 
3879
  # instance it was reported that on HP-UX the gcc test will end up
 
3880
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3881
  # in D'.
 
3882
  mkdir conftest.dir
 
3883
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3884
  # using a relative directory.
 
3885
  cp "$am_depcomp" conftest.dir
 
3886
  cd conftest.dir
 
3887
  # We will build objects and dependencies in a subdirectory because
 
3888
  # it helps to detect inapplicable dependency modes.  For instance
 
3889
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3890
  # side effect of compilation, but ICC will put the dependencies in
 
3891
  # the current directory while Tru64 will put them in the object
 
3892
  # directory.
 
3893
  mkdir sub
 
3894
 
 
3895
  am_cv_CC_dependencies_compiler_type=none
 
3896
  if test "$am_compiler_list" = ""; then
 
3897
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3898
  fi
 
3899
  am__universal=false
 
3900
  case " $depcc " in #(
 
3901
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3902
     esac
 
3903
 
 
3904
  for depmode in $am_compiler_list; do
 
3905
    # Setup a source with many dependencies, because some compilers
 
3906
    # like to wrap large dependency lists on column 80 (with \), and
 
3907
    # we should not choose a depcomp mode which is confused by this.
 
3908
    #
 
3909
    # We need to recreate these files for each test, as the compiler may
 
3910
    # overwrite some of them when testing with obscure command lines.
 
3911
    # This happens at least with the AIX C compiler.
 
3912
    : > sub/conftest.c
 
3913
    for i in 1 2 3 4 5 6; do
 
3914
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3915
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3916
      # Solaris 8's {/usr,}/bin/sh.
 
3917
      touch sub/conftst$i.h
 
3918
    done
 
3919
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3920
 
 
3921
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3922
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3923
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3924
    # versions had trouble with output in subdirs
 
3925
    am__obj=sub/conftest.${OBJEXT-o}
 
3926
    am__minus_obj="-o $am__obj"
 
3927
    case $depmode in
 
3928
    gcc)
 
3929
      # This depmode causes a compiler race in universal mode.
 
3930
      test "$am__universal" = false || continue
 
3931
      ;;
 
3932
    nosideeffect)
 
3933
      # after this tag, mechanisms are not by side-effect, so they'll
 
3934
      # only be used when explicitly requested
 
3935
      if test "x$enable_dependency_tracking" = xyes; then
 
3936
        continue
 
3937
      else
 
3938
        break
 
3939
      fi
 
3940
      ;;
 
3941
    msvisualcpp | msvcmsys)
 
3942
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3943
      # not run yet.  These depmodes are late enough in the game, and
 
3944
      # so weak that their functioning should not be impacted.
 
3945
      am__obj=conftest.${OBJEXT-o}
 
3946
      am__minus_obj=
 
3947
      ;;
 
3948
    none) break ;;
 
3949
    esac
 
3950
    if depmode=$depmode \
 
3951
       source=sub/conftest.c object=$am__obj \
 
3952
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3953
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
3954
         >/dev/null 2>conftest.err &&
 
3955
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
3956
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3957
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
3958
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3959
      # icc doesn't choke on unknown options, it will just issue warnings
 
3960
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3961
      # that says an option was ignored or not supported.
 
3962
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3963
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3964
      # The diagnosis changed in icc 8.0:
 
3965
      #   icc: Command line remark: option '-MP' not supported
 
3966
      if (grep 'ignoring option' conftest.err ||
 
3967
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3968
        am_cv_CC_dependencies_compiler_type=$depmode
 
3969
        break
 
3970
      fi
 
3971
    fi
 
3972
  done
 
3973
 
 
3974
  cd ..
 
3975
  rm -rf conftest.dir
 
3976
else
 
3977
  am_cv_CC_dependencies_compiler_type=none
 
3978
fi
 
3979
 
 
3980
fi
 
3981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3982
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
3983
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3984
 
 
3985
 if
 
3986
  test "x$enable_dependency_tracking" != xno \
 
3987
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3988
  am__fastdepCC_TRUE=
 
3989
  am__fastdepCC_FALSE='#'
 
3990
else
 
3991
  am__fastdepCC_TRUE='#'
 
3992
  am__fastdepCC_FALSE=
 
3993
fi
 
3994
 
 
3995
 
 
3996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
3997
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
3998
if test "${ac_cv_path_SED+set}" = set; then :
 
3999
  $as_echo_n "(cached) " >&6
 
4000
else
 
4001
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4002
     for ac_i in 1 2 3 4 5 6 7; do
 
4003
       ac_script="$ac_script$as_nl$ac_script"
 
4004
     done
 
4005
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4006
     { ac_script=; unset ac_script;}
 
4007
     if test -z "$SED"; then
 
4008
  ac_path_SED_found=false
 
4009
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4010
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4011
for as_dir in $PATH
 
4012
do
 
4013
  IFS=$as_save_IFS
 
4014
  test -z "$as_dir" && as_dir=.
 
4015
    for ac_prog in sed gsed; do
 
4016
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4017
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4018
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4019
# Check for GNU ac_path_SED and select it if it is found.
 
4020
  # Check for GNU $ac_path_SED
 
4021
case `"$ac_path_SED" --version 2>&1` in
 
4022
*GNU*)
 
4023
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4024
*)
 
4025
  ac_count=0
 
4026
  $as_echo_n 0123456789 >"conftest.in"
 
4027
  while :
 
4028
  do
 
4029
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4030
    mv "conftest.tmp" "conftest.in"
 
4031
    cp "conftest.in" "conftest.nl"
 
4032
    $as_echo '' >> "conftest.nl"
 
4033
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4034
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4035
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4036
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4037
      # Best one so far, save it but keep looking for a better one
 
4038
      ac_cv_path_SED="$ac_path_SED"
 
4039
      ac_path_SED_max=$ac_count
 
4040
    fi
 
4041
    # 10*(2^10) chars as input seems more than enough
 
4042
    test $ac_count -gt 10 && break
 
4043
  done
 
4044
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4045
esac
 
4046
 
 
4047
      $ac_path_SED_found && break 3
 
4048
    done
 
4049
  done
 
4050
  done
 
4051
IFS=$as_save_IFS
 
4052
  if test -z "$ac_cv_path_SED"; then
 
4053
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4054
  fi
 
4055
else
 
4056
  ac_cv_path_SED=$SED
 
4057
fi
 
4058
 
 
4059
fi
 
4060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4061
$as_echo "$ac_cv_path_SED" >&6; }
 
4062
 SED="$ac_cv_path_SED"
 
4063
  rm -f conftest.sed
 
4064
 
 
4065
test -z "$SED" && SED=sed
 
4066
Xsed="$SED -e 1s/^X//"
 
4067
 
 
4068
 
 
4069
 
 
4070
 
 
4071
 
 
4072
 
 
4073
 
 
4074
 
 
4075
 
 
4076
 
 
4077
 
 
4078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4079
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4080
if test "${ac_cv_path_GREP+set}" = set; then :
 
4081
  $as_echo_n "(cached) " >&6
 
4082
else