/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: 2011-12-05 19:44:14 UTC
  • Revision ID: edam@waxworlds.org-20111205194414-mj9yzdnf8h5kzhmp
updaed TODO, fixed a comment

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