~ubuntu-branches/ubuntu/intrepid/ocaml-sqlite3/intrepid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Mimram
  • Date: 2007-09-16 16:50:04 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070916165004-dmp3myxzcqxp045u
Tags: 0.23.0-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59 for ocaml-sqlite 0.16.0.
 
3
# Generated by GNU Autoconf 2.61 for ocaml-sqlite 0.23.0.
4
4
#
5
5
# Report bugs to <markus.mottl@gmail.com>.
6
6
#
7
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8
9
# This configure script is free software; the Free Software Foundation
9
10
# gives unlimited permission to copy, distribute and modify it.
10
11
## --------------------- ##
11
12
## M4sh Initialization.  ##
12
13
## --------------------- ##
13
14
 
14
 
# Be Bourne compatible
15
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
 
  emulate sh
17
 
  NULLCMD=:
18
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
 
  # is contrary to our usage.  Disable this feature.
20
 
  alias -g '${1+"$@"}'='"$@"'
21
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
 
  set -o posix
23
 
fi
 
15
# Be more Bourne compatible
24
16
DUALCASE=1; export DUALCASE # for MKS sh
 
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
18
  emulate sh
 
19
  NULLCMD=:
 
20
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
21
  # is contrary to our usage.  Disable this feature.
 
22
  alias -g '${1+"$@"}'='"$@"'
 
23
  setopt NO_GLOB_SUBST
 
24
else
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
 
27
esac
 
28
 
 
29
fi
 
30
 
 
31
 
 
32
 
 
33
 
 
34
# PATH needs CR
 
35
# Avoid depending upon Character Ranges.
 
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
39
as_cr_digits='0123456789'
 
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
41
 
 
42
# The user is always right.
 
43
if test "${PATH_SEPARATOR+set}" != set; then
 
44
  echo "#! /bin/sh" >conf$$.sh
 
45
  echo  "exit 0"   >>conf$$.sh
 
46
  chmod +x conf$$.sh
 
47
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
48
    PATH_SEPARATOR=';'
 
49
  else
 
50
    PATH_SEPARATOR=:
 
51
  fi
 
52
  rm -f conf$$.sh
 
53
fi
25
54
 
26
55
# Support unset when possible.
27
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
31
60
fi
32
61
 
33
62
 
 
63
# IFS
 
64
# We need space, tab and new line, in precisely that order.  Quoting is
 
65
# there to prevent editors from complaining about space-tab.
 
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
67
# splitting by setting IFS to empty value.)
 
68
as_nl='
 
69
'
 
70
IFS=" ""        $as_nl"
 
71
 
 
72
# Find who we are.  Look in the path if we contain no directory separator.
 
73
case $0 in
 
74
  *[\\/]* ) as_myself=$0 ;;
 
75
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
76
for as_dir in $PATH
 
77
do
 
78
  IFS=$as_save_IFS
 
79
  test -z "$as_dir" && as_dir=.
 
80
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
81
done
 
82
IFS=$as_save_IFS
 
83
 
 
84
     ;;
 
85
esac
 
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
87
# in which case we are not to be found in the path.
 
88
if test "x$as_myself" = x; then
 
89
  as_myself=$0
 
90
fi
 
91
if test ! -f "$as_myself"; then
 
92
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
93
  { (exit 1); exit 1; }
 
94
fi
 
95
 
34
96
# Work around bugs in pre-3.0 UWIN ksh.
35
 
$as_unset ENV MAIL MAILPATH
 
97
for as_var in ENV MAIL MAILPATH
 
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
99
done
36
100
PS1='$ '
37
101
PS2='> '
38
102
PS4='+ '
46
110
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
111
    eval $as_var=C; export $as_var
48
112
  else
49
 
    $as_unset $as_var
 
113
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50
114
  fi
51
115
done
52
116
 
53
117
# Required to use basename.
54
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
119
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
55
120
  as_expr=expr
56
121
else
57
122
  as_expr=false
58
123
fi
59
124
 
60
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
61
126
  as_basename=basename
62
127
else
63
128
  as_basename=false
65
130
 
66
131
 
67
132
# Name of the executable.
68
 
as_me=`$as_basename "$0" ||
 
133
as_me=`$as_basename -- "$0" ||
69
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
135
         X"$0" : 'X\(//\)$' \| \
71
 
         X"$0" : 'X\(/\)$' \| \
72
 
         .     : '\(.\)' 2>/dev/null ||
 
136
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73
137
echo X/"$0" |
74
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
76
 
          /^X\/\(\/\).*/{ s//\1/; q; }
77
 
          s/.*/./; q'`
78
 
 
79
 
 
80
 
# PATH needs CR, and LINENO needs CR and PATH.
81
 
# Avoid depending upon Character Ranges.
82
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
 
as_cr_digits='0123456789'
86
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
87
 
 
88
 
# The user is always right.
89
 
if test "${PATH_SEPARATOR+set}" != set; then
90
 
  echo "#! /bin/sh" >conf$$.sh
91
 
  echo  "exit 0"   >>conf$$.sh
92
 
  chmod +x conf$$.sh
93
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94
 
    PATH_SEPARATOR=';'
95
 
  else
96
 
    PATH_SEPARATOR=:
97
 
  fi
98
 
  rm -f conf$$.sh
99
 
fi
100
 
 
101
 
 
102
 
  as_lineno_1=$LINENO
103
 
  as_lineno_2=$LINENO
104
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
106
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107
 
  # Find who we are.  Look in the path if we contain no path at all
108
 
  # relative or not.
109
 
  case $0 in
110
 
    *[\\/]* ) as_myself=$0 ;;
111
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112
 
for as_dir in $PATH
113
 
do
114
 
  IFS=$as_save_IFS
115
 
  test -z "$as_dir" && as_dir=.
116
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117
 
done
118
 
 
119
 
       ;;
120
 
  esac
121
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
122
 
  # in which case we are not to be found in the path.
123
 
  if test "x$as_myself" = x; then
124
 
    as_myself=$0
125
 
  fi
126
 
  if test ! -f "$as_myself"; then
127
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
 
   { (exit 1); exit 1; }; }
129
 
  fi
130
 
  case $CONFIG_SHELL in
131
 
  '')
 
138
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
139
            s//\1/
 
140
            q
 
141
          }
 
142
          /^X\/\(\/\/\)$/{
 
143
            s//\1/
 
144
            q
 
145
          }
 
146
          /^X\/\(\/\).*/{
 
147
            s//\1/
 
148
            q
 
149
          }
 
150
          s/.*/./; q'`
 
151
 
 
152
# CDPATH.
 
153
$as_unset CDPATH
 
154
 
 
155
 
 
156
if test "x$CONFIG_SHELL" = x; then
 
157
  if (eval ":") 2>/dev/null; then
 
158
  as_have_required=yes
 
159
else
 
160
  as_have_required=no
 
161
fi
 
162
 
 
163
  if test $as_have_required = yes &&     (eval ":
 
164
(as_func_return () {
 
165
  (exit \$1)
 
166
}
 
167
as_func_success () {
 
168
  as_func_return 0
 
169
}
 
170
as_func_failure () {
 
171
  as_func_return 1
 
172
}
 
173
as_func_ret_success () {
 
174
  return 0
 
175
}
 
176
as_func_ret_failure () {
 
177
  return 1
 
178
}
 
179
 
 
180
exitcode=0
 
181
if as_func_success; then
 
182
  :
 
183
else
 
184
  exitcode=1
 
185
  echo as_func_success failed.
 
186
fi
 
187
 
 
188
if as_func_failure; then
 
189
  exitcode=1
 
190
  echo as_func_failure succeeded.
 
191
fi
 
192
 
 
193
if as_func_ret_success; then
 
194
  :
 
195
else
 
196
  exitcode=1
 
197
  echo as_func_ret_success failed.
 
198
fi
 
199
 
 
200
if as_func_ret_failure; then
 
201
  exitcode=1
 
202
  echo as_func_ret_failure succeeded.
 
203
fi
 
204
 
 
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
206
  :
 
207
else
 
208
  exitcode=1
 
209
  echo positional parameters were not saved.
 
210
fi
 
211
 
 
212
test \$exitcode = 0) || { (exit 1); exit 1; }
 
213
 
 
214
(
 
215
  as_lineno_1=\$LINENO
 
216
  as_lineno_2=\$LINENO
 
217
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
218
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
219
") 2> /dev/null; then
 
220
  :
 
221
else
 
222
  as_candidate_shells=
132
223
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
225
do
135
226
  IFS=$as_save_IFS
136
227
  test -z "$as_dir" && as_dir=.
137
 
  for as_base in sh bash ksh sh5; do
138
 
         case $as_dir in
 
228
  case $as_dir in
139
229
         /*)
140
 
           if ("$as_dir/$as_base" -c '
141
 
  as_lineno_1=$LINENO
142
 
  as_lineno_2=$LINENO
143
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
145
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
 
             CONFIG_SHELL=$as_dir/$as_base
149
 
             export CONFIG_SHELL
150
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151
 
           fi;;
152
 
         esac
153
 
       done
 
230
           for as_base in sh bash ksh sh5; do
 
231
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
232
           done;;
 
233
       esac
154
234
done
155
 
;;
156
 
  esac
 
235
IFS=$as_save_IFS
 
236
 
 
237
 
 
238
      for as_shell in $as_candidate_shells $SHELL; do
 
239
         # Try only shells that exist, to save several forks.
 
240
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
241
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
243
  emulate sh
 
244
  NULLCMD=:
 
245
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
246
  # is contrary to our usage.  Disable this feature.
 
247
  alias -g '${1+"$@"}'='"$@"'
 
248
  setopt NO_GLOB_SUBST
 
249
else
 
250
  case `(set -o) 2>/dev/null` in
 
251
  *posix*) set -o posix ;;
 
252
esac
 
253
 
 
254
fi
 
255
 
 
256
 
 
257
:
 
258
_ASEOF
 
259
}; then
 
260
  CONFIG_SHELL=$as_shell
 
261
               as_have_required=yes
 
262
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
264
  emulate sh
 
265
  NULLCMD=:
 
266
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
267
  # is contrary to our usage.  Disable this feature.
 
268
  alias -g '${1+"$@"}'='"$@"'
 
269
  setopt NO_GLOB_SUBST
 
270
else
 
271
  case `(set -o) 2>/dev/null` in
 
272
  *posix*) set -o posix ;;
 
273
esac
 
274
 
 
275
fi
 
276
 
 
277
 
 
278
:
 
279
(as_func_return () {
 
280
  (exit $1)
 
281
}
 
282
as_func_success () {
 
283
  as_func_return 0
 
284
}
 
285
as_func_failure () {
 
286
  as_func_return 1
 
287
}
 
288
as_func_ret_success () {
 
289
  return 0
 
290
}
 
291
as_func_ret_failure () {
 
292
  return 1
 
293
}
 
294
 
 
295
exitcode=0
 
296
if as_func_success; then
 
297
  :
 
298
else
 
299
  exitcode=1
 
300
  echo as_func_success failed.
 
301
fi
 
302
 
 
303
if as_func_failure; then
 
304
  exitcode=1
 
305
  echo as_func_failure succeeded.
 
306
fi
 
307
 
 
308
if as_func_ret_success; then
 
309
  :
 
310
else
 
311
  exitcode=1
 
312
  echo as_func_ret_success failed.
 
313
fi
 
314
 
 
315
if as_func_ret_failure; then
 
316
  exitcode=1
 
317
  echo as_func_ret_failure succeeded.
 
318
fi
 
319
 
 
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
321
  :
 
322
else
 
323
  exitcode=1
 
324
  echo positional parameters were not saved.
 
325
fi
 
326
 
 
327
test $exitcode = 0) || { (exit 1); exit 1; }
 
328
 
 
329
(
 
330
  as_lineno_1=$LINENO
 
331
  as_lineno_2=$LINENO
 
332
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
333
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
334
 
 
335
_ASEOF
 
336
}; then
 
337
  break
 
338
fi
 
339
 
 
340
fi
 
341
 
 
342
      done
 
343
 
 
344
      if test "x$CONFIG_SHELL" != x; then
 
345
  for as_var in BASH_ENV ENV
 
346
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
347
        done
 
348
        export CONFIG_SHELL
 
349
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
350
fi
 
351
 
 
352
 
 
353
    if test $as_have_required = no; then
 
354
  echo This script requires a shell more modern than all the
 
355
      echo shells that I found on your system.  Please install a
 
356
      echo modern shell, or manually run the script under such a
 
357
      echo shell if you do have one.
 
358
      { (exit 1); exit 1; }
 
359
fi
 
360
 
 
361
 
 
362
fi
 
363
 
 
364
fi
 
365
 
 
366
 
 
367
 
 
368
(eval "as_func_return () {
 
369
  (exit \$1)
 
370
}
 
371
as_func_success () {
 
372
  as_func_return 0
 
373
}
 
374
as_func_failure () {
 
375
  as_func_return 1
 
376
}
 
377
as_func_ret_success () {
 
378
  return 0
 
379
}
 
380
as_func_ret_failure () {
 
381
  return 1
 
382
}
 
383
 
 
384
exitcode=0
 
385
if as_func_success; then
 
386
  :
 
387
else
 
388
  exitcode=1
 
389
  echo as_func_success failed.
 
390
fi
 
391
 
 
392
if as_func_failure; then
 
393
  exitcode=1
 
394
  echo as_func_failure succeeded.
 
395
fi
 
396
 
 
397
if as_func_ret_success; then
 
398
  :
 
399
else
 
400
  exitcode=1
 
401
  echo as_func_ret_success failed.
 
402
fi
 
403
 
 
404
if as_func_ret_failure; then
 
405
  exitcode=1
 
406
  echo as_func_ret_failure succeeded.
 
407
fi
 
408
 
 
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
410
  :
 
411
else
 
412
  exitcode=1
 
413
  echo positional parameters were not saved.
 
414
fi
 
415
 
 
416
test \$exitcode = 0") || {
 
417
  echo No shell found that supports shell functions.
 
418
  echo Please tell autoconf@gnu.org about your system,
 
419
  echo including any error possibly output before this
 
420
  echo message
 
421
}
 
422
 
 
423
 
 
424
 
 
425
  as_lineno_1=$LINENO
 
426
  as_lineno_2=$LINENO
 
427
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
428
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157
429
 
158
430
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
431
  # uniformly replaced by the line number.  The first 'sed' inserts a
160
 
  # line-number line before each line; the second 'sed' does the real
161
 
  # work.  The second script uses 'N' to pair each line-number line
162
 
  # with the numbered line, and appends trailing '-' during
163
 
  # substitution so that $LINENO is not a special case at line end.
 
432
  # line-number line after each line using $LINENO; the second 'sed'
 
433
  # does the real work.  The second script uses 'N' to pair each
 
434
  # line-number line with the line containing $LINENO, and appends
 
435
  # trailing '-' during substitution so that $LINENO is not a special
 
436
  # case at line end.
164
437
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166
 
  sed '=' <$as_myself |
 
438
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
439
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
440
  sed -n '
 
441
    p
 
442
    /[$]LINENO/=
 
443
  ' <$as_myself |
167
444
    sed '
 
445
      s/[$]LINENO.*/&-/
 
446
      t lineno
 
447
      b
 
448
      :lineno
168
449
      N
169
 
      s,$,-,
170
 
      : loop
171
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
450
      :loop
 
451
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
452
      t loop
173
 
      s,-$,,
174
 
      s,^['$as_cr_digits']*\n,,
 
453
      s/-\n.*//
175
454
    ' >$as_me.lineno &&
176
 
  chmod +x $as_me.lineno ||
 
455
  chmod +x "$as_me.lineno" ||
177
456
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
457
   { (exit 1); exit 1; }; }
179
458
 
180
459
  # Don't try to exec as it changes $[0], causing all sort of problems
181
460
  # (the dirname of $[0] is not the place where we might find the
182
 
  # original and so on.  Autoconf is especially sensible to this).
183
 
  . ./$as_me.lineno
 
461
  # original and so on.  Autoconf is especially sensitive to this).
 
462
  . "./$as_me.lineno"
184
463
  # Exit status is that of the last command.
185
464
  exit
186
465
}
187
466
 
188
467
 
189
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
 
  *c*,-n*) ECHO_N= ECHO_C='
191
 
' ECHO_T='      ' ;;
192
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
469
  as_dirname=dirname
 
470
else
 
471
  as_dirname=false
 
472
fi
 
473
 
 
474
ECHO_C= ECHO_N= ECHO_T=
 
475
case `echo -n x` in
 
476
-n*)
 
477
  case `echo 'x\c'` in
 
478
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
479
  *)   ECHO_C='\c';;
 
480
  esac;;
 
481
*)
 
482
  ECHO_N='-n';;
194
483
esac
195
484
 
196
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
486
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
197
487
  as_expr=expr
198
488
else
199
489
  as_expr=false
200
490
fi
201
491
 
202
492
rm -f conf$$ conf$$.exe conf$$.file
 
493
if test -d conf$$.dir; then
 
494
  rm -f conf$$.dir/conf$$.file
 
495
else
 
496
  rm -f conf$$.dir
 
497
  mkdir conf$$.dir
 
498
fi
203
499
echo >conf$$.file
204
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
 
  # We could just check for DJGPP; but this test a) works b) is more generic
206
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
 
  if test -f conf$$.exe; then
208
 
    # Don't use ln at all; we don't have any links
 
501
  as_ln_s='ln -s'
 
502
  # ... but there are two gotchas:
 
503
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
504
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
505
  # In both cases, we have to default to `cp -p'.
 
506
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
209
507
    as_ln_s='cp -p'
210
 
  else
211
 
    as_ln_s='ln -s'
212
 
  fi
213
508
elif ln conf$$.file conf$$ 2>/dev/null; then
214
509
  as_ln_s=ln
215
510
else
216
511
  as_ln_s='cp -p'
217
512
fi
218
 
rm -f conf$$ conf$$.exe conf$$.file
 
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
514
rmdir conf$$.dir 2>/dev/null
219
515
 
220
516
if mkdir -p . 2>/dev/null; then
221
517
  as_mkdir_p=:
224
520
  as_mkdir_p=false
225
521
fi
226
522
 
227
 
as_executable_p="test -f"
 
523
if test -x / >/dev/null 2>&1; then
 
524
  as_test_x='test -x'
 
525
else
 
526
  if ls -dL / >/dev/null 2>&1; then
 
527
    as_ls_L_option=L
 
528
  else
 
529
    as_ls_L_option=
 
530
  fi
 
531
  as_test_x='
 
532
    eval sh -c '\''
 
533
      if test -d "$1"; then
 
534
        test -d "$1/.";
 
535
      else
 
536
        case $1 in
 
537
        -*)set "./$1";;
 
538
        esac;
 
539
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
540
        ???[sx]*):;;*)false;;esac;fi
 
541
    '\'' sh
 
542
  '
 
543
fi
 
544
as_executable_p=$as_test_x
228
545
 
229
546
# Sed expression to map a string onto a valid CPP name.
230
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
233
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
551
 
235
552
 
236
 
# IFS
237
 
# We need space, tab and new line, in precisely that order.
238
 
as_nl='
239
 
'
240
 
IFS="   $as_nl"
241
 
 
242
 
# CDPATH.
243
 
$as_unset CDPATH
244
 
 
 
553
 
 
554
exec 7<&0 </dev/null 6>&1
245
555
 
246
556
# Name of the host.
247
557
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248
558
# so uname gets run too.
249
559
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
560
 
251
 
exec 6>&1
252
 
 
253
561
#
254
562
# Initializations.
255
563
#
256
564
ac_default_prefix=/usr/local
 
565
ac_clean_files=
257
566
ac_config_libobj_dir=.
 
567
LIBOBJS=
258
568
cross_compiling=no
259
569
subdirs=
260
570
MFLAGS=
261
571
MAKEFLAGS=
262
572
SHELL=${CONFIG_SHELL-/bin/sh}
263
573
 
264
 
# Maximum number of lines to put in a shell here document.
265
 
# This variable seems obsolete.  It should probably be removed, and
266
 
# only ac_max_sed_lines should be used.
267
 
: ${ac_max_here_lines=38}
268
 
 
269
574
# Identity of this package.
270
575
PACKAGE_NAME='ocaml-sqlite'
271
576
PACKAGE_TARNAME='ocaml-sqlite'
272
 
PACKAGE_VERSION='0.16.0'
273
 
PACKAGE_STRING='ocaml-sqlite 0.16.0'
 
577
PACKAGE_VERSION='0.23.0'
 
578
PACKAGE_STRING='ocaml-sqlite 0.23.0'
274
579
PACKAGE_BUGREPORT='markus.mottl@gmail.com'
275
580
 
276
581
ac_unique_file="sqlite3.mli"
277
582
# Factoring default headers for most tests.
278
583
ac_includes_default="\
279
584
#include <stdio.h>
280
 
#if HAVE_SYS_TYPES_H
 
585
#ifdef HAVE_SYS_TYPES_H
281
586
# include <sys/types.h>
282
587
#endif
283
 
#if HAVE_SYS_STAT_H
 
588
#ifdef HAVE_SYS_STAT_H
284
589
# include <sys/stat.h>
285
590
#endif
286
 
#if STDC_HEADERS
 
591
#ifdef STDC_HEADERS
287
592
# include <stdlib.h>
288
593
# include <stddef.h>
289
594
#else
290
 
# if HAVE_STDLIB_H
 
595
# ifdef HAVE_STDLIB_H
291
596
#  include <stdlib.h>
292
597
# endif
293
598
#endif
294
 
#if HAVE_STRING_H
295
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
599
#ifdef HAVE_STRING_H
 
600
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
296
601
#  include <memory.h>
297
602
# endif
298
603
# include <string.h>
299
604
#endif
300
 
#if HAVE_STRINGS_H
 
605
#ifdef HAVE_STRINGS_H
301
606
# include <strings.h>
302
607
#endif
303
 
#if HAVE_INTTYPES_H
 
608
#ifdef HAVE_INTTYPES_H
304
609
# include <inttypes.h>
305
 
#else
306
 
# if HAVE_STDINT_H
307
 
#  include <stdint.h>
308
 
# endif
309
 
#endif
310
 
#if HAVE_UNISTD_H
 
610
#endif
 
611
#ifdef HAVE_STDINT_H
 
612
# include <stdint.h>
 
613
#endif
 
614
#ifdef HAVE_UNISTD_H
311
615
# include <unistd.h>
312
616
#endif"
313
617
 
314
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS ocamlc ocamlopt ocamlfind INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA INSTALL CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LIBOBJS LTLIBOBJS'
 
618
ac_subst_vars='SHELL
 
619
PATH_SEPARATOR
 
620
PACKAGE_NAME
 
621
PACKAGE_TARNAME
 
622
PACKAGE_VERSION
 
623
PACKAGE_STRING
 
624
PACKAGE_BUGREPORT
 
625
exec_prefix
 
626
prefix
 
627
program_transform_name
 
628
bindir
 
629
sbindir
 
630
libexecdir
 
631
datarootdir
 
632
datadir
 
633
sysconfdir
 
634
sharedstatedir
 
635
localstatedir
 
636
includedir
 
637
oldincludedir
 
638
docdir
 
639
infodir
 
640
htmldir
 
641
dvidir
 
642
pdfdir
 
643
psdir
 
644
libdir
 
645
localedir
 
646
mandir
 
647
DEFS
 
648
ECHO_C
 
649
ECHO_N
 
650
ECHO_T
 
651
LIBS
 
652
build_alias
 
653
host_alias
 
654
target_alias
 
655
ocamlc
 
656
ocamlopt
 
657
ocamlfind
 
658
INSTALL_PROGRAM
 
659
INSTALL_SCRIPT
 
660
INSTALL_DATA
 
661
INSTALL
 
662
CC
 
663
CFLAGS
 
664
LDFLAGS
 
665
CPPFLAGS
 
666
ac_ct_CC
 
667
EXEEXT
 
668
OBJEXT
 
669
CPP
 
670
GREP
 
671
EGREP
 
672
LIBOBJS
 
673
LTLIBOBJS'
315
674
ac_subst_files=''
 
675
      ac_precious_vars='build_alias
 
676
host_alias
 
677
target_alias
 
678
CC
 
679
CFLAGS
 
680
LDFLAGS
 
681
LIBS
 
682
CPPFLAGS
 
683
CPP'
 
684
 
316
685
 
317
686
# Initialize some variables set by options.
318
687
ac_init_help=
339
708
# and all the variables that are supposed to be based on exec_prefix
340
709
# by default will actually change.
341
710
# Use braces instead of parens because sh, perl, etc. also accept them.
 
711
# (The list follows the same order as the GNU Coding Standards.)
342
712
bindir='${exec_prefix}/bin'
343
713
sbindir='${exec_prefix}/sbin'
344
714
libexecdir='${exec_prefix}/libexec'
345
 
datadir='${prefix}/share'
 
715
datarootdir='${prefix}/share'
 
716
datadir='${datarootdir}'
346
717
sysconfdir='${prefix}/etc'
347
718
sharedstatedir='${prefix}/com'
348
719
localstatedir='${prefix}/var'
349
 
libdir='${exec_prefix}/lib'
350
720
includedir='${prefix}/include'
351
721
oldincludedir='/usr/include'
352
 
infodir='${prefix}/info'
353
 
mandir='${prefix}/man'
 
722
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
723
infodir='${datarootdir}/info'
 
724
htmldir='${docdir}'
 
725
dvidir='${docdir}'
 
726
pdfdir='${docdir}'
 
727
psdir='${docdir}'
 
728
libdir='${exec_prefix}/lib'
 
729
localedir='${datarootdir}/locale'
 
730
mandir='${datarootdir}/man'
354
731
 
355
732
ac_prev=
 
733
ac_dashdash=
356
734
for ac_option
357
735
do
358
736
  # If the previous option needs an argument, assign it.
359
737
  if test -n "$ac_prev"; then
360
 
    eval "$ac_prev=\$ac_option"
 
738
    eval $ac_prev=\$ac_option
361
739
    ac_prev=
362
740
    continue
363
741
  fi
364
742
 
365
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
743
  case $ac_option in
 
744
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
745
  *)    ac_optarg=yes ;;
 
746
  esac
366
747
 
367
748
  # Accept the important Cygnus configure options, so we can diagnose typos.
368
749
 
369
 
  case $ac_option in
 
750
  case $ac_dashdash$ac_option in
 
751
  --)
 
752
    ac_dashdash=yes ;;
370
753
 
371
754
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
372
755
    ac_prev=bindir ;;
388
771
  --config-cache | -C)
389
772
    cache_file=config.cache ;;
390
773
 
391
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
774
  -datadir | --datadir | --datadi | --datad)
392
775
    ac_prev=datadir ;;
393
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394
 
  | --da=*)
 
776
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
395
777
    datadir=$ac_optarg ;;
396
778
 
 
779
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
780
  | --dataroo | --dataro | --datar)
 
781
    ac_prev=datarootdir ;;
 
782
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
783
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
784
    datarootdir=$ac_optarg ;;
 
785
 
397
786
  -disable-* | --disable-*)
398
787
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399
788
    # Reject names that are not valid shell variable names.
400
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
789
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
401
790
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402
791
   { (exit 1); exit 1; }; }
403
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404
 
    eval "enable_$ac_feature=no" ;;
 
792
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
793
    eval enable_$ac_feature=no ;;
 
794
 
 
795
  -docdir | --docdir | --docdi | --doc | --do)
 
796
    ac_prev=docdir ;;
 
797
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
798
    docdir=$ac_optarg ;;
 
799
 
 
800
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
801
    ac_prev=dvidir ;;
 
802
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
803
    dvidir=$ac_optarg ;;
405
804
 
406
805
  -enable-* | --enable-*)
407
806
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408
807
    # Reject names that are not valid shell variable names.
409
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
808
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
410
809
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411
810
   { (exit 1); exit 1; }; }
412
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413
 
    case $ac_option in
414
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415
 
      *) ac_optarg=yes ;;
416
 
    esac
417
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
811
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
812
    eval enable_$ac_feature=\$ac_optarg ;;
418
813
 
419
814
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420
815
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
441
836
  -host=* | --host=* | --hos=* | --ho=*)
442
837
    host_alias=$ac_optarg ;;
443
838
 
 
839
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
840
    ac_prev=htmldir ;;
 
841
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
842
  | --ht=*)
 
843
    htmldir=$ac_optarg ;;
 
844
 
444
845
  -includedir | --includedir | --includedi | --included | --include \
445
846
  | --includ | --inclu | --incl | --inc)
446
847
    ac_prev=includedir ;;
465
866
  | --libexe=* | --libex=* | --libe=*)
466
867
    libexecdir=$ac_optarg ;;
467
868
 
 
869
  -localedir | --localedir | --localedi | --localed | --locale)
 
870
    ac_prev=localedir ;;
 
871
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
872
    localedir=$ac_optarg ;;
 
873
 
468
874
  -localstatedir | --localstatedir | --localstatedi | --localstated \
469
 
  | --localstate | --localstat | --localsta | --localst \
470
 
  | --locals | --local | --loca | --loc | --lo)
 
875
  | --localstate | --localstat | --localsta | --localst | --locals)
471
876
    ac_prev=localstatedir ;;
472
877
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
878
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
475
879
    localstatedir=$ac_optarg ;;
476
880
 
477
881
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
536
940
  | --progr-tra=* | --program-tr=* | --program-t=*)
537
941
    program_transform_name=$ac_optarg ;;
538
942
 
 
943
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
944
    ac_prev=pdfdir ;;
 
945
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
946
    pdfdir=$ac_optarg ;;
 
947
 
 
948
  -psdir | --psdir | --psdi | --psd | --ps)
 
949
    ac_prev=psdir ;;
 
950
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
951
    psdir=$ac_optarg ;;
 
952
 
539
953
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540
954
  | -silent | --silent | --silen | --sile | --sil)
541
955
    silent=yes ;;
588
1002
  -with-* | --with-*)
589
1003
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590
1004
    # Reject names that are not valid shell variable names.
591
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1005
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
592
1006
      { echo "$as_me: error: invalid package name: $ac_package" >&2
593
1007
   { (exit 1); exit 1; }; }
594
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
595
 
    case $ac_option in
596
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597
 
      *) ac_optarg=yes ;;
598
 
    esac
599
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1008
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1009
    eval with_$ac_package=\$ac_optarg ;;
600
1010
 
601
1011
  -without-* | --without-*)
602
1012
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603
1013
    # Reject names that are not valid shell variable names.
604
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1014
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
605
1015
      { echo "$as_me: error: invalid package name: $ac_package" >&2
606
1016
   { (exit 1); exit 1; }; }
607
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
608
 
    eval "with_$ac_package=no" ;;
 
1017
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1018
    eval with_$ac_package=no ;;
609
1019
 
610
1020
  --x)
611
1021
    # Obsolete; use --with-x.
636
1046
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637
1047
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638
1048
   { (exit 1); exit 1; }; }
639
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640
 
    eval "$ac_envvar='$ac_optarg'"
 
1049
    eval $ac_envvar=\$ac_optarg
641
1050
    export $ac_envvar ;;
642
1051
 
643
1052
  *)
657
1066
   { (exit 1); exit 1; }; }
658
1067
fi
659
1068
 
660
 
# Be sure to have absolute paths.
661
 
for ac_var in exec_prefix prefix
662
 
do
663
 
  eval ac_val=$`echo $ac_var`
664
 
  case $ac_val in
665
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667
 
   { (exit 1); exit 1; }; };;
668
 
  esac
669
 
done
670
 
 
671
 
# Be sure to have absolute paths.
672
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673
 
              localstatedir libdir includedir oldincludedir infodir mandir
674
 
do
675
 
  eval ac_val=$`echo $ac_var`
676
 
  case $ac_val in
677
 
    [\\/$]* | ?:[\\/]* ) ;;
678
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679
 
   { (exit 1); exit 1; }; };;
680
 
  esac
 
1069
# Be sure to have absolute directory names.
 
1070
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1071
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1072
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1073
                libdir localedir mandir
 
1074
do
 
1075
  eval ac_val=\$$ac_var
 
1076
  case $ac_val in
 
1077
    [\\/$]* | ?:[\\/]* )  continue;;
 
1078
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1079
  esac
 
1080
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1081
   { (exit 1); exit 1; }; }
681
1082
done
682
1083
 
683
1084
# There might be people who depend on the old broken behavior: `$host'
704
1105
test "$silent" = yes && exec 6>/dev/null
705
1106
 
706
1107
 
 
1108
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1109
ac_ls_di=`ls -di .` &&
 
1110
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1111
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1112
   { (exit 1); exit 1; }; }
 
1113
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1114
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1115
   { (exit 1); exit 1; }; }
 
1116
 
 
1117
 
707
1118
# Find the source files, if location was not specified.
708
1119
if test -z "$srcdir"; then
709
1120
  ac_srcdir_defaulted=yes
710
 
  # Try the directory containing this script, then its parent.
711
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1121
  # Try the directory containing this script, then the parent directory.
 
1122
  ac_confdir=`$as_dirname -- "$0" ||
712
1123
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713
1124
         X"$0" : 'X\(//\)[^/]' \| \
714
1125
         X"$0" : 'X\(//\)$' \| \
715
 
         X"$0" : 'X\(/\)' \| \
716
 
         .     : '\(.\)' 2>/dev/null ||
 
1126
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
717
1127
echo X"$0" |
718
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720
 
          /^X\(\/\/\)$/{ s//\1/; q; }
721
 
          /^X\(\/\).*/{ s//\1/; q; }
722
 
          s/.*/./; q'`
 
1128
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1129
            s//\1/
 
1130
            q
 
1131
          }
 
1132
          /^X\(\/\/\)[^/].*/{
 
1133
            s//\1/
 
1134
            q
 
1135
          }
 
1136
          /^X\(\/\/\)$/{
 
1137
            s//\1/
 
1138
            q
 
1139
          }
 
1140
          /^X\(\/\).*/{
 
1141
            s//\1/
 
1142
            q
 
1143
          }
 
1144
          s/.*/./; q'`
723
1145
  srcdir=$ac_confdir
724
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1146
  if test ! -r "$srcdir/$ac_unique_file"; then
725
1147
    srcdir=..
726
1148
  fi
727
1149
else
728
1150
  ac_srcdir_defaulted=no
729
1151
fi
730
 
if test ! -r $srcdir/$ac_unique_file; then
731
 
  if test "$ac_srcdir_defaulted" = yes; then
732
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733
 
   { (exit 1); exit 1; }; }
734
 
  else
735
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736
 
   { (exit 1); exit 1; }; }
737
 
  fi
738
 
fi
739
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741
 
   { (exit 1); exit 1; }; }
742
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743
 
ac_env_build_alias_set=${build_alias+set}
744
 
ac_env_build_alias_value=$build_alias
745
 
ac_cv_env_build_alias_set=${build_alias+set}
746
 
ac_cv_env_build_alias_value=$build_alias
747
 
ac_env_host_alias_set=${host_alias+set}
748
 
ac_env_host_alias_value=$host_alias
749
 
ac_cv_env_host_alias_set=${host_alias+set}
750
 
ac_cv_env_host_alias_value=$host_alias
751
 
ac_env_target_alias_set=${target_alias+set}
752
 
ac_env_target_alias_value=$target_alias
753
 
ac_cv_env_target_alias_set=${target_alias+set}
754
 
ac_cv_env_target_alias_value=$target_alias
755
 
ac_env_CC_set=${CC+set}
756
 
ac_env_CC_value=$CC
757
 
ac_cv_env_CC_set=${CC+set}
758
 
ac_cv_env_CC_value=$CC
759
 
ac_env_CFLAGS_set=${CFLAGS+set}
760
 
ac_env_CFLAGS_value=$CFLAGS
761
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
762
 
ac_cv_env_CFLAGS_value=$CFLAGS
763
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
764
 
ac_env_LDFLAGS_value=$LDFLAGS
765
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
767
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768
 
ac_env_CPPFLAGS_value=$CPPFLAGS
769
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771
 
ac_env_CPP_set=${CPP+set}
772
 
ac_env_CPP_value=$CPP
773
 
ac_cv_env_CPP_set=${CPP+set}
774
 
ac_cv_env_CPP_value=$CPP
 
1152
if test ! -r "$srcdir/$ac_unique_file"; then
 
1153
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1154
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1155
   { (exit 1); exit 1; }; }
 
1156
fi
 
1157
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1158
ac_abs_confdir=`(
 
1159
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1160
   { (exit 1); exit 1; }; }
 
1161
        pwd)`
 
1162
# When building in place, set srcdir=.
 
1163
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1164
  srcdir=.
 
1165
fi
 
1166
# Remove unnecessary trailing slashes from srcdir.
 
1167
# Double slashes in file names in object file debugging info
 
1168
# mess up M-x gdb in Emacs.
 
1169
case $srcdir in
 
1170
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1171
esac
 
1172
for ac_var in $ac_precious_vars; do
 
1173
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1174
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1175
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1176
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1177
done
775
1178
 
776
1179
#
777
1180
# Report the --help message.
780
1183
  # Omit some internal or obsolete options to make the list less imposing.
781
1184
  # This message is too long to be a string in the A/UX 3.1 sh.
782
1185
  cat <<_ACEOF
783
 
\`configure' configures ocaml-sqlite 0.16.0 to adapt to many kinds of systems.
 
1186
\`configure' configures ocaml-sqlite 0.23.0 to adapt to many kinds of systems.
784
1187
 
785
1188
Usage: $0 [OPTION]... [VAR=VALUE]...
786
1189
 
800
1203
  -n, --no-create         do not create output files
801
1204
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
802
1205
 
803
 
_ACEOF
804
 
 
805
 
  cat <<_ACEOF
806
1206
Installation directories:
807
1207
  --prefix=PREFIX         install architecture-independent files in PREFIX
808
1208
                          [$ac_default_prefix]
820
1220
  --bindir=DIR           user executables [EPREFIX/bin]
821
1221
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
822
1222
  --libexecdir=DIR       program executables [EPREFIX/libexec]
823
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
824
1223
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
825
1224
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
826
1225
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
827
1226
  --libdir=DIR           object code libraries [EPREFIX/lib]
828
1227
  --includedir=DIR       C header files [PREFIX/include]
829
1228
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
830
 
  --infodir=DIR          info documentation [PREFIX/info]
831
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1229
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1230
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1231
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1232
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1233
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1234
  --docdir=DIR           documentation root [DATAROOTDIR/doc/ocaml-sqlite]
 
1235
  --htmldir=DIR          html documentation [DOCDIR]
 
1236
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1237
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1238
  --psdir=DIR            ps documentation [DOCDIR]
832
1239
_ACEOF
833
1240
 
834
1241
  cat <<\_ACEOF
837
1244
 
838
1245
if test -n "$ac_init_help"; then
839
1246
  case $ac_init_help in
840
 
     short | recursive ) echo "Configuration of ocaml-sqlite 0.16.0:";;
 
1247
     short | recursive ) echo "Configuration of ocaml-sqlite 0.23.0:";;
841
1248
   esac
842
1249
  cat <<\_ACEOF
843
1250
 
844
1251
Optional Packages:
845
1252
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
846
1253
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
847
 
  --with-sqlite3=PATH   base directory for sqlite
 
1254
  --with-sqlite3=PATH     base directory for sqlite
848
1255
 
849
1256
Some influential environment variables:
850
1257
  CC          C compiler command
851
1258
  CFLAGS      C compiler flags
852
1259
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
853
1260
              nonstandard directory <lib dir>
854
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
855
 
              headers in a nonstandard directory <include dir>
 
1261
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1262
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1263
              you have headers in a nonstandard directory <include dir>
856
1264
  CPP         C preprocessor
857
1265
 
858
1266
Use these variables to override the choices made by `configure' or to help
860
1268
 
861
1269
Report bugs to <markus.mottl@gmail.com>.
862
1270
_ACEOF
 
1271
ac_status=$?
863
1272
fi
864
1273
 
865
1274
if test "$ac_init_help" = "recursive"; then
866
1275
  # If there are subdirs, report their specific --help.
867
 
  ac_popdir=`pwd`
868
1276
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
869
 
    test -d $ac_dir || continue
 
1277
    test -d "$ac_dir" || continue
870
1278
    ac_builddir=.
871
1279
 
872
 
if test "$ac_dir" != .; then
 
1280
case "$ac_dir" in
 
1281
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1282
*)
873
1283
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
874
 
  # A "../" for each directory in $ac_dir_suffix.
875
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
876
 
else
877
 
  ac_dir_suffix= ac_top_builddir=
878
 
fi
 
1284
  # A ".." for each directory in $ac_dir_suffix.
 
1285
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1286
  case $ac_top_builddir_sub in
 
1287
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1288
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1289
  esac ;;
 
1290
esac
 
1291
ac_abs_top_builddir=$ac_pwd
 
1292
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1293
# for backward compatibility:
 
1294
ac_top_builddir=$ac_top_build_prefix
879
1295
 
880
1296
case $srcdir in
881
 
  .)  # No --srcdir option.  We are building in place.
 
1297
  .)  # We are building in place.
882
1298
    ac_srcdir=.
883
 
    if test -z "$ac_top_builddir"; then
884
 
       ac_top_srcdir=.
885
 
    else
886
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
887
 
    fi ;;
888
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1299
    ac_top_srcdir=$ac_top_builddir_sub
 
1300
    ac_abs_top_srcdir=$ac_pwd ;;
 
1301
  [\\/]* | ?:[\\/]* )  # Absolute name.
889
1302
    ac_srcdir=$srcdir$ac_dir_suffix;
890
 
    ac_top_srcdir=$srcdir ;;
891
 
  *) # Relative path.
892
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
893
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
894
 
esac
895
 
 
896
 
# Do not use `cd foo && pwd` to compute absolute paths, because
897
 
# the directories may not exist.
898
 
case `pwd` in
899
 
.) ac_abs_builddir="$ac_dir";;
900
 
*)
901
 
  case "$ac_dir" in
902
 
  .) ac_abs_builddir=`pwd`;;
903
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
904
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
905
 
  esac;;
906
 
esac
907
 
case $ac_abs_builddir in
908
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
909
 
*)
910
 
  case ${ac_top_builddir}. in
911
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
912
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
913
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
914
 
  esac;;
915
 
esac
916
 
case $ac_abs_builddir in
917
 
.) ac_abs_srcdir=$ac_srcdir;;
918
 
*)
919
 
  case $ac_srcdir in
920
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
921
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
922
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
923
 
  esac;;
924
 
esac
925
 
case $ac_abs_builddir in
926
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
927
 
*)
928
 
  case $ac_top_srcdir in
929
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
930
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
931
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
932
 
  esac;;
933
 
esac
934
 
 
935
 
    cd $ac_dir
936
 
    # Check for guested configure; otherwise get Cygnus style configure.
937
 
    if test -f $ac_srcdir/configure.gnu; then
938
 
      echo
939
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
940
 
    elif test -f $ac_srcdir/configure; then
941
 
      echo
942
 
      $SHELL $ac_srcdir/configure  --help=recursive
943
 
    elif test -f $ac_srcdir/configure.ac ||
944
 
           test -f $ac_srcdir/configure.in; then
945
 
      echo
946
 
      $ac_configure --help
 
1303
    ac_top_srcdir=$srcdir
 
1304
    ac_abs_top_srcdir=$srcdir ;;
 
1305
  *) # Relative name.
 
1306
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1307
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1308
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1309
esac
 
1310
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1311
 
 
1312
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1313
    # Check for guested configure.
 
1314
    if test -f "$ac_srcdir/configure.gnu"; then
 
1315
      echo &&
 
1316
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1317
    elif test -f "$ac_srcdir/configure"; then
 
1318
      echo &&
 
1319
      $SHELL "$ac_srcdir/configure" --help=recursive
947
1320
    else
948
1321
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
949
 
    fi
950
 
    cd $ac_popdir
 
1322
    fi || ac_status=$?
 
1323
    cd "$ac_pwd" || { ac_status=$?; break; }
951
1324
  done
952
1325
fi
953
1326
 
954
 
test -n "$ac_init_help" && exit 0
 
1327
test -n "$ac_init_help" && exit $ac_status
955
1328
if $ac_init_version; then
956
1329
  cat <<\_ACEOF
957
 
ocaml-sqlite configure 0.16.0
958
 
generated by GNU Autoconf 2.59
 
1330
ocaml-sqlite configure 0.23.0
 
1331
generated by GNU Autoconf 2.61
959
1332
 
960
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1333
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1334
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
961
1335
This configure script is free software; the Free Software Foundation
962
1336
gives unlimited permission to copy, distribute and modify it.
963
1337
_ACEOF
964
 
  exit 0
 
1338
  exit
965
1339
fi
966
 
exec 5>config.log
967
 
cat >&5 <<_ACEOF
 
1340
cat >config.log <<_ACEOF
968
1341
This file contains any messages produced by compilers while
969
1342
running configure, to aid debugging if configure makes a mistake.
970
1343
 
971
 
It was created by ocaml-sqlite $as_me 0.16.0, which was
972
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1344
It was created by ocaml-sqlite $as_me 0.23.0, which was
 
1345
generated by GNU Autoconf 2.61.  Invocation command line was
973
1346
 
974
1347
  $ $0 $@
975
1348
 
976
1349
_ACEOF
 
1350
exec 5>>config.log
977
1351
{
978
1352
cat <<_ASUNAME
979
1353
## --------- ##
992
1366
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
993
1367
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
994
1368
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
995
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1369
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
996
1370
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
997
1371
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
998
1372
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1006
1380
  test -z "$as_dir" && as_dir=.
1007
1381
  echo "PATH: $as_dir"
1008
1382
done
 
1383
IFS=$as_save_IFS
1009
1384
 
1010
1385
} >&5
1011
1386
 
1027
1402
ac_configure_args=
1028
1403
ac_configure_args0=
1029
1404
ac_configure_args1=
1030
 
ac_sep=
1031
1405
ac_must_keep_next=false
1032
1406
for ac_pass in 1 2
1033
1407
do
1038
1412
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1039
1413
    | -silent | --silent | --silen | --sile | --sil)
1040
1414
      continue ;;
1041
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1415
    *\'*)
1042
1416
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1043
1417
    esac
1044
1418
    case $ac_pass in
1060
1434
          -* ) ac_must_keep_next=true ;;
1061
1435
        esac
1062
1436
      fi
1063
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1064
 
      # Get rid of the leading space.
1065
 
      ac_sep=" "
 
1437
      ac_configure_args="$ac_configure_args '$ac_arg'"
1066
1438
      ;;
1067
1439
    esac
1068
1440
  done
1073
1445
# When interrupted or exit'd, cleanup temporary files, and complete
1074
1446
# config.log.  We remove comments because anyway the quotes in there
1075
1447
# would cause problems or look ugly.
1076
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1077
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1448
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1449
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1078
1450
trap 'exit_status=$?
1079
1451
  # Save into config.log some information that might help in debugging.
1080
1452
  {
1087
1459
_ASBOX
1088
1460
    echo
1089
1461
    # The following way of writing the cache mishandles newlines in values,
1090
 
{
 
1462
(
 
1463
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1464
    eval ac_val=\$$ac_var
 
1465
    case $ac_val in #(
 
1466
    *${as_nl}*)
 
1467
      case $ac_var in #(
 
1468
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1469
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1470
      esac
 
1471
      case $ac_var in #(
 
1472
      _ | IFS | as_nl) ;; #(
 
1473
      *) $as_unset $ac_var ;;
 
1474
      esac ;;
 
1475
    esac
 
1476
  done
1091
1477
  (set) 2>&1 |
1092
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1093
 
    *ac_space=\ *)
 
1478
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1479
    *${as_nl}ac_space=\ *)
1094
1480
      sed -n \
1095
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1096
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1097
 
      ;;
 
1481
        "s/'\''/'\''\\\\'\'''\''/g;
 
1482
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1483
      ;; #(
1098
1484
    *)
1099
 
      sed -n \
1100
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1485
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1101
1486
      ;;
1102
 
    esac;
1103
 
}
 
1487
    esac |
 
1488
    sort
 
1489
)
1104
1490
    echo
1105
1491
 
1106
1492
    cat <<\_ASBOX
1111
1497
    echo
1112
1498
    for ac_var in $ac_subst_vars
1113
1499
    do
1114
 
      eval ac_val=$`echo $ac_var`
1115
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1500
      eval ac_val=\$$ac_var
 
1501
      case $ac_val in
 
1502
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1503
      esac
 
1504
      echo "$ac_var='\''$ac_val'\''"
1116
1505
    done | sort
1117
1506
    echo
1118
1507
 
1119
1508
    if test -n "$ac_subst_files"; then
1120
1509
      cat <<\_ASBOX
1121
 
## ------------- ##
1122
 
## Output files. ##
1123
 
## ------------- ##
 
1510
## ------------------- ##
 
1511
## File substitutions. ##
 
1512
## ------------------- ##
1124
1513
_ASBOX
1125
1514
      echo
1126
1515
      for ac_var in $ac_subst_files
1127
1516
      do
1128
 
        eval ac_val=$`echo $ac_var`
1129
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1517
        eval ac_val=\$$ac_var
 
1518
        case $ac_val in
 
1519
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1520
        esac
 
1521
        echo "$ac_var='\''$ac_val'\''"
1130
1522
      done | sort
1131
1523
      echo
1132
1524
    fi
1138
1530
## ----------- ##
1139
1531
_ASBOX
1140
1532
      echo
1141
 
      sed "/^$/d" confdefs.h | sort
 
1533
      cat confdefs.h
1142
1534
      echo
1143
1535
    fi
1144
1536
    test "$ac_signal" != 0 &&
1145
1537
      echo "$as_me: caught signal $ac_signal"
1146
1538
    echo "$as_me: exit $exit_status"
1147
1539
  } >&5
1148
 
  rm -f core *.core &&
1149
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1540
  rm -f core *.core core.conftest.* &&
 
1541
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1150
1542
    exit $exit_status
1151
 
     ' 0
 
1543
' 0
1152
1544
for ac_signal in 1 2 13 15; do
1153
1545
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1154
1546
done
1155
1547
ac_signal=0
1156
1548
 
1157
1549
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1158
 
rm -rf conftest* confdefs.h
1159
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1160
 
echo >confdefs.h
 
1550
rm -f -r conftest* confdefs.h
1161
1551
 
1162
1552
# Predefined preprocessor variables.
1163
1553
 
1188
1578
 
1189
1579
# Let the site file select an alternate cache file if it wants to.
1190
1580
# Prefer explicitly selected file to automatically selected ones.
1191
 
if test -z "$CONFIG_SITE"; then
1192
 
  if test "x$prefix" != xNONE; then
1193
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1194
 
  else
1195
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1196
 
  fi
 
1581
if test -n "$CONFIG_SITE"; then
 
1582
  set x "$CONFIG_SITE"
 
1583
elif test "x$prefix" != xNONE; then
 
1584
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1585
else
 
1586
  set x "$ac_default_prefix/share/config.site" \
 
1587
        "$ac_default_prefix/etc/config.site"
1197
1588
fi
1198
 
for ac_site_file in $CONFIG_SITE; do
 
1589
shift
 
1590
for ac_site_file
 
1591
do
1199
1592
  if test -r "$ac_site_file"; then
1200
1593
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1201
1594
echo "$as_me: loading site script $ac_site_file" >&6;}
1211
1604
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1212
1605
echo "$as_me: loading cache $cache_file" >&6;}
1213
1606
    case $cache_file in
1214
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1215
 
      *)                      . ./$cache_file;;
 
1607
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1608
      *)                      . "./$cache_file";;
1216
1609
    esac
1217
1610
  fi
1218
1611
else
1224
1617
# Check that the precious variables saved in the cache have kept the same
1225
1618
# value.
1226
1619
ac_cache_corrupted=false
1227
 
for ac_var in `(set) 2>&1 |
1228
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1620
for ac_var in $ac_precious_vars; do
1229
1621
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1230
1622
  eval ac_new_set=\$ac_env_${ac_var}_set
1231
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1232
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1623
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1624
  eval ac_new_val=\$ac_env_${ac_var}_value
1233
1625
  case $ac_old_set,$ac_new_set in
1234
1626
    set,)
1235
1627
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1254
1646
  # Pass precious variables to config.status.
1255
1647
  if test "$ac_new_set" = set; then
1256
1648
    case $ac_new_val in
1257
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1258
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1649
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1259
1650
    *) ac_arg=$ac_var=$ac_new_val ;;
1260
1651
    esac
1261
1652
    case " $ac_configure_args " in
1272
1663
   { (exit 1); exit 1; }; }
1273
1664
fi
1274
1665
 
 
1666
 
 
1667
 
 
1668
 
 
1669
 
 
1670
 
 
1671
 
 
1672
 
 
1673
 
 
1674
 
 
1675
 
 
1676
 
 
1677
 
 
1678
 
 
1679
 
 
1680
 
 
1681
 
 
1682
 
 
1683
 
 
1684
 
 
1685
 
 
1686
 
 
1687
 
 
1688
 
 
1689
 
1275
1690
ac_ext=c
1276
1691
ac_cpp='$CPP $CPPFLAGS'
1277
1692
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1281
1696
 
1282
1697
 
1283
1698
 
1284
 
 
1285
 
 
1286
 
 
1287
 
 
1288
 
 
1289
 
 
1290
 
 
1291
 
 
1292
 
 
1293
 
 
1294
 
 
1295
 
 
1296
 
 
1297
 
 
1298
 
 
1299
 
 
1300
 
 
1301
 
 
1302
 
 
1303
 
 
1304
 
 
1305
 
 
1306
 
 
1307
 
 
1308
 
 
1309
1699
{ echo "$as_me:$LINENO: checking for ocaml compiler and tools..." >&5
1310
1700
echo "$as_me: checking for ocaml compiler and tools..." >&6;}
1311
1701
# Extract the first word of "ocamlc", so it can be a program name with args.
1312
1702
set dummy ocamlc; ac_word=$2
1313
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1314
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1703
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1704
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1315
1705
if test "${ac_cv_prog_ocamlc+set}" = set; then
1316
1706
  echo $ECHO_N "(cached) $ECHO_C" >&6
1317
1707
else
1324
1714
  IFS=$as_save_IFS
1325
1715
  test -z "$as_dir" && as_dir=.
1326
1716
  for ac_exec_ext in '' $ac_executable_extensions; do
1327
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1717
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1328
1718
    ac_cv_prog_ocamlc="ocamlc"
1329
1719
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1330
1720
    break 2
1331
1721
  fi
1332
1722
done
1333
1723
done
 
1724
IFS=$as_save_IFS
1334
1725
 
1335
1726
fi
1336
1727
fi
1337
1728
ocamlc=$ac_cv_prog_ocamlc
1338
1729
if test -n "$ocamlc"; then
1339
 
  echo "$as_me:$LINENO: result: $ocamlc" >&5
1340
 
echo "${ECHO_T}$ocamlc" >&6
 
1730
  { echo "$as_me:$LINENO: result: $ocamlc" >&5
 
1731
echo "${ECHO_T}$ocamlc" >&6; }
1341
1732
else
1342
 
  echo "$as_me:$LINENO: result: no" >&5
1343
 
echo "${ECHO_T}no" >&6
 
1733
  { echo "$as_me:$LINENO: result: no" >&5
 
1734
echo "${ECHO_T}no" >&6; }
1344
1735
fi
1345
1736
 
 
1737
 
1346
1738
# Extract the first word of "ocamlopt", so it can be a program name with args.
1347
1739
set dummy ocamlopt; ac_word=$2
1348
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1349
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1740
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1741
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1350
1742
if test "${ac_cv_prog_ocamlopt+set}" = set; then
1351
1743
  echo $ECHO_N "(cached) $ECHO_C" >&6
1352
1744
else
1359
1751
  IFS=$as_save_IFS
1360
1752
  test -z "$as_dir" && as_dir=.
1361
1753
  for ac_exec_ext in '' $ac_executable_extensions; do
1362
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1754
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1363
1755
    ac_cv_prog_ocamlopt="ocamlopt"
1364
1756
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1365
1757
    break 2
1366
1758
  fi
1367
1759
done
1368
1760
done
 
1761
IFS=$as_save_IFS
1369
1762
 
1370
1763
fi
1371
1764
fi
1372
1765
ocamlopt=$ac_cv_prog_ocamlopt
1373
1766
if test -n "$ocamlopt"; then
1374
 
  echo "$as_me:$LINENO: result: $ocamlopt" >&5
1375
 
echo "${ECHO_T}$ocamlopt" >&6
 
1767
  { echo "$as_me:$LINENO: result: $ocamlopt" >&5
 
1768
echo "${ECHO_T}$ocamlopt" >&6; }
1376
1769
else
1377
 
  echo "$as_me:$LINENO: result: no" >&5
1378
 
echo "${ECHO_T}no" >&6
 
1770
  { echo "$as_me:$LINENO: result: no" >&5
 
1771
echo "${ECHO_T}no" >&6; }
1379
1772
fi
1380
1773
 
 
1774
 
1381
1775
# Extract the first word of "ocamlfind", so it can be a program name with args.
1382
1776
set dummy ocamlfind; ac_word=$2
1383
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1384
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1777
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1778
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1385
1779
if test "${ac_cv_prog_ocamlfind+set}" = set; then
1386
1780
  echo $ECHO_N "(cached) $ECHO_C" >&6
1387
1781
else
1394
1788
  IFS=$as_save_IFS
1395
1789
  test -z "$as_dir" && as_dir=.
1396
1790
  for ac_exec_ext in '' $ac_executable_extensions; do
1397
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1791
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1398
1792
    ac_cv_prog_ocamlfind="ocamlfind"
1399
1793
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1400
1794
    break 2
1401
1795
  fi
1402
1796
done
1403
1797
done
 
1798
IFS=$as_save_IFS
1404
1799
 
1405
1800
fi
1406
1801
fi
1407
1802
ocamlfind=$ac_cv_prog_ocamlfind
1408
1803
if test -n "$ocamlfind"; then
1409
 
  echo "$as_me:$LINENO: result: $ocamlfind" >&5
1410
 
echo "${ECHO_T}$ocamlfind" >&6
 
1804
  { echo "$as_me:$LINENO: result: $ocamlfind" >&5
 
1805
echo "${ECHO_T}$ocamlfind" >&6; }
1411
1806
else
1412
 
  echo "$as_me:$LINENO: result: no" >&5
1413
 
echo "${ECHO_T}no" >&6
 
1807
  { echo "$as_me:$LINENO: result: no" >&5
 
1808
echo "${ECHO_T}no" >&6; }
1414
1809
fi
1415
1810
 
1416
1811
 
 
1812
 
1417
1813
ac_aux_dir=
1418
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1419
 
  if test -f $ac_dir/install-sh; then
 
1814
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1815
  if test -f "$ac_dir/install-sh"; then
1420
1816
    ac_aux_dir=$ac_dir
1421
1817
    ac_install_sh="$ac_aux_dir/install-sh -c"
1422
1818
    break
1423
 
  elif test -f $ac_dir/install.sh; then
 
1819
  elif test -f "$ac_dir/install.sh"; then
1424
1820
    ac_aux_dir=$ac_dir
1425
1821
    ac_install_sh="$ac_aux_dir/install.sh -c"
1426
1822
    break
1427
 
  elif test -f $ac_dir/shtool; then
 
1823
  elif test -f "$ac_dir/shtool"; then
1428
1824
    ac_aux_dir=$ac_dir
1429
1825
    ac_install_sh="$ac_aux_dir/shtool install -c"
1430
1826
    break
1431
1827
  fi
1432
1828
done
1433
1829
if test -z "$ac_aux_dir"; then
1434
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1435
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1830
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1831
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1436
1832
   { (exit 1); exit 1; }; }
1437
1833
fi
1438
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1439
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1440
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
1834
 
 
1835
# These three variables are undocumented and unsupported,
 
1836
# and are intended to be withdrawn in a future Autoconf release.
 
1837
# They can cause serious problems if a builder's source tree is in a directory
 
1838
# whose full name contains unusual characters.
 
1839
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
1840
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
1841
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
1842
 
1441
1843
 
1442
1844
# Find a good install program.  We prefer a C program (faster),
1443
1845
# so one script is as good as another.  But avoid the broken or
1452
1854
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1453
1855
# OS/2's system install, which has a completely different semantic
1454
1856
# ./install, which can be erroneously created by make from ./install.sh.
1455
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1456
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
1857
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
1858
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1457
1859
if test -z "$INSTALL"; then
1458
1860
if test "${ac_cv_path_install+set}" = set; then
1459
1861
  echo $ECHO_N "(cached) $ECHO_C" >&6
1475
1877
    # by default.
1476
1878
    for ac_prog in ginstall scoinst install; do
1477
1879
      for ac_exec_ext in '' $ac_executable_extensions; do
1478
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
1880
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1479
1881
          if test $ac_prog = install &&
1480
1882
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1481
1883
            # AIX install.  It has an incompatible calling convention.
1494
1896
    ;;
1495
1897
esac
1496
1898
done
 
1899
IFS=$as_save_IFS
1497
1900
 
1498
1901
 
1499
1902
fi
1500
1903
  if test "${ac_cv_path_install+set}" = set; then
1501
1904
    INSTALL=$ac_cv_path_install
1502
1905
  else
1503
 
    # As a last resort, use the slow shell script.  We don't cache a
1504
 
    # path for INSTALL within a source directory, because that will
 
1906
    # As a last resort, use the slow shell script.  Don't cache a
 
1907
    # value for INSTALL within a source directory, because that will
1505
1908
    # break other packages using the cache if that directory is
1506
 
    # removed, or if the path is relative.
 
1909
    # removed, or if the value is a relative name.
1507
1910
    INSTALL=$ac_install_sh
1508
1911
  fi
1509
1912
fi
1510
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1511
 
echo "${ECHO_T}$INSTALL" >&6
 
1913
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
1914
echo "${ECHO_T}$INSTALL" >&6; }
1512
1915
 
1513
1916
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1514
1917
# It thinks the first close brace ends the variable substitution.
1530
1933
if test -n "$ac_tool_prefix"; then
1531
1934
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1532
1935
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1533
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1534
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1936
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1937
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1535
1938
if test "${ac_cv_prog_CC+set}" = set; then
1536
1939
  echo $ECHO_N "(cached) $ECHO_C" >&6
1537
1940
else
1544
1947
  IFS=$as_save_IFS
1545
1948
  test -z "$as_dir" && as_dir=.
1546
1949
  for ac_exec_ext in '' $ac_executable_extensions; do
1547
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1950
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1548
1951
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1549
1952
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1550
1953
    break 2
1551
1954
  fi
1552
1955
done
1553
1956
done
 
1957
IFS=$as_save_IFS
1554
1958
 
1555
1959
fi
1556
1960
fi
1557
1961
CC=$ac_cv_prog_CC
1558
1962
if test -n "$CC"; then
1559
 
  echo "$as_me:$LINENO: result: $CC" >&5
1560
 
echo "${ECHO_T}$CC" >&6
 
1963
  { echo "$as_me:$LINENO: result: $CC" >&5
 
1964
echo "${ECHO_T}$CC" >&6; }
1561
1965
else
1562
 
  echo "$as_me:$LINENO: result: no" >&5
1563
 
echo "${ECHO_T}no" >&6
 
1966
  { echo "$as_me:$LINENO: result: no" >&5
 
1967
echo "${ECHO_T}no" >&6; }
1564
1968
fi
 
1969
 
1565
1970
 
1566
1971
fi
1567
1972
if test -z "$ac_cv_prog_CC"; then
1568
1973
  ac_ct_CC=$CC
1569
1974
  # Extract the first word of "gcc", so it can be a program name with args.
1570
1975
set dummy gcc; ac_word=$2
1571
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1572
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1976
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1977
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1573
1978
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1574
1979
  echo $ECHO_N "(cached) $ECHO_C" >&6
1575
1980
else
1582
1987
  IFS=$as_save_IFS
1583
1988
  test -z "$as_dir" && as_dir=.
1584
1989
  for ac_exec_ext in '' $ac_executable_extensions; do
1585
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1990
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1586
1991
    ac_cv_prog_ac_ct_CC="gcc"
1587
1992
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1588
1993
    break 2
1589
1994
  fi
1590
1995
done
1591
1996
done
 
1997
IFS=$as_save_IFS
1592
1998
 
1593
1999
fi
1594
2000
fi
1595
2001
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1596
2002
if test -n "$ac_ct_CC"; then
1597
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1598
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2003
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2004
echo "${ECHO_T}$ac_ct_CC" >&6; }
1599
2005
else
1600
 
  echo "$as_me:$LINENO: result: no" >&5
1601
 
echo "${ECHO_T}no" >&6
 
2006
  { echo "$as_me:$LINENO: result: no" >&5
 
2007
echo "${ECHO_T}no" >&6; }
1602
2008
fi
1603
2009
 
1604
 
  CC=$ac_ct_CC
 
2010
  if test "x$ac_ct_CC" = x; then
 
2011
    CC=""
 
2012
  else
 
2013
    case $cross_compiling:$ac_tool_warned in
 
2014
yes:)
 
2015
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2016
whose name does not start with the host triplet.  If you think this
 
2017
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2018
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2019
whose name does not start with the host triplet.  If you think this
 
2020
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2021
ac_tool_warned=yes ;;
 
2022
esac
 
2023
    CC=$ac_ct_CC
 
2024
  fi
1605
2025
else
1606
2026
  CC="$ac_cv_prog_CC"
1607
2027
fi
1608
2028
 
1609
2029
if test -z "$CC"; then
1610
 
  if test -n "$ac_tool_prefix"; then
1611
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2030
          if test -n "$ac_tool_prefix"; then
 
2031
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1612
2032
set dummy ${ac_tool_prefix}cc; ac_word=$2
1613
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1614
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2033
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2034
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1615
2035
if test "${ac_cv_prog_CC+set}" = set; then
1616
2036
  echo $ECHO_N "(cached) $ECHO_C" >&6
1617
2037
else
1624
2044
  IFS=$as_save_IFS
1625
2045
  test -z "$as_dir" && as_dir=.
1626
2046
  for ac_exec_ext in '' $ac_executable_extensions; do
1627
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2047
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1628
2048
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1629
2049
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1630
2050
    break 2
1631
2051
  fi
1632
2052
done
1633
2053
done
 
2054
IFS=$as_save_IFS
1634
2055
 
1635
2056
fi
1636
2057
fi
1637
2058
CC=$ac_cv_prog_CC
1638
2059
if test -n "$CC"; then
1639
 
  echo "$as_me:$LINENO: result: $CC" >&5
1640
 
echo "${ECHO_T}$CC" >&6
1641
 
else
1642
 
  echo "$as_me:$LINENO: result: no" >&5
1643
 
echo "${ECHO_T}no" >&6
1644
 
fi
1645
 
 
1646
 
fi
1647
 
if test -z "$ac_cv_prog_CC"; then
1648
 
  ac_ct_CC=$CC
1649
 
  # Extract the first word of "cc", so it can be a program name with args.
1650
 
set dummy cc; ac_word=$2
1651
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1652
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1653
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1654
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1655
 
else
1656
 
  if test -n "$ac_ct_CC"; then
1657
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1658
 
else
1659
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1660
 
for as_dir in $PATH
1661
 
do
1662
 
  IFS=$as_save_IFS
1663
 
  test -z "$as_dir" && as_dir=.
1664
 
  for ac_exec_ext in '' $ac_executable_extensions; do
1665
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1666
 
    ac_cv_prog_ac_ct_CC="cc"
1667
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1668
 
    break 2
 
2060
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2061
echo "${ECHO_T}$CC" >&6; }
 
2062
else
 
2063
  { echo "$as_me:$LINENO: result: no" >&5
 
2064
echo "${ECHO_T}no" >&6; }
 
2065
fi
 
2066
 
 
2067
 
1669
2068
  fi
1670
 
done
1671
 
done
1672
 
 
1673
 
fi
1674
 
fi
1675
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1676
 
if test -n "$ac_ct_CC"; then
1677
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1678
 
echo "${ECHO_T}$ac_ct_CC" >&6
1679
 
else
1680
 
  echo "$as_me:$LINENO: result: no" >&5
1681
 
echo "${ECHO_T}no" >&6
1682
 
fi
1683
 
 
1684
 
  CC=$ac_ct_CC
1685
 
else
1686
 
  CC="$ac_cv_prog_CC"
1687
 
fi
1688
 
 
1689
2069
fi
1690
2070
if test -z "$CC"; then
1691
2071
  # Extract the first word of "cc", so it can be a program name with args.
1692
2072
set dummy cc; ac_word=$2
1693
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1694
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2073
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2074
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1695
2075
if test "${ac_cv_prog_CC+set}" = set; then
1696
2076
  echo $ECHO_N "(cached) $ECHO_C" >&6
1697
2077
else
1705
2085
  IFS=$as_save_IFS
1706
2086
  test -z "$as_dir" && as_dir=.
1707
2087
  for ac_exec_ext in '' $ac_executable_extensions; do
1708
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2088
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1709
2089
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1710
2090
       ac_prog_rejected=yes
1711
2091
       continue
1716
2096
  fi
1717
2097
done
1718
2098
done
 
2099
IFS=$as_save_IFS
1719
2100
 
1720
2101
if test $ac_prog_rejected = yes; then
1721
2102
  # We found a bogon in the path, so make sure we never use it.
1733
2114
fi
1734
2115
CC=$ac_cv_prog_CC
1735
2116
if test -n "$CC"; then
1736
 
  echo "$as_me:$LINENO: result: $CC" >&5
1737
 
echo "${ECHO_T}$CC" >&6
 
2117
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2118
echo "${ECHO_T}$CC" >&6; }
1738
2119
else
1739
 
  echo "$as_me:$LINENO: result: no" >&5
1740
 
echo "${ECHO_T}no" >&6
 
2120
  { echo "$as_me:$LINENO: result: no" >&5
 
2121
echo "${ECHO_T}no" >&6; }
1741
2122
fi
 
2123
 
1742
2124
 
1743
2125
fi
1744
2126
if test -z "$CC"; then
1745
2127
  if test -n "$ac_tool_prefix"; then
1746
 
  for ac_prog in cl
 
2128
  for ac_prog in cl.exe
1747
2129
  do
1748
2130
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1749
2131
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1750
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1751
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2132
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2133
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1752
2134
if test "${ac_cv_prog_CC+set}" = set; then
1753
2135
  echo $ECHO_N "(cached) $ECHO_C" >&6
1754
2136
else
1761
2143
  IFS=$as_save_IFS
1762
2144
  test -z "$as_dir" && as_dir=.
1763
2145
  for ac_exec_ext in '' $ac_executable_extensions; do
1764
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2146
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1765
2147
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1766
2148
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1767
2149
    break 2
1768
2150
  fi
1769
2151
done
1770
2152
done
 
2153
IFS=$as_save_IFS
1771
2154
 
1772
2155
fi
1773
2156
fi
1774
2157
CC=$ac_cv_prog_CC
1775
2158
if test -n "$CC"; then
1776
 
  echo "$as_me:$LINENO: result: $CC" >&5
1777
 
echo "${ECHO_T}$CC" >&6
 
2159
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2160
echo "${ECHO_T}$CC" >&6; }
1778
2161
else
1779
 
  echo "$as_me:$LINENO: result: no" >&5
1780
 
echo "${ECHO_T}no" >&6
 
2162
  { echo "$as_me:$LINENO: result: no" >&5
 
2163
echo "${ECHO_T}no" >&6; }
1781
2164
fi
1782
2165
 
 
2166
 
1783
2167
    test -n "$CC" && break
1784
2168
  done
1785
2169
fi
1786
2170
if test -z "$CC"; then
1787
2171
  ac_ct_CC=$CC
1788
 
  for ac_prog in cl
 
2172
  for ac_prog in cl.exe
1789
2173
do
1790
2174
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1791
2175
set dummy $ac_prog; ac_word=$2
1792
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1793
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2176
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2177
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1794
2178
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1795
2179
  echo $ECHO_N "(cached) $ECHO_C" >&6
1796
2180
else
1803
2187
  IFS=$as_save_IFS
1804
2188
  test -z "$as_dir" && as_dir=.
1805
2189
  for ac_exec_ext in '' $ac_executable_extensions; do
1806
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2190
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1807
2191
    ac_cv_prog_ac_ct_CC="$ac_prog"
1808
2192
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1809
2193
    break 2
1810
2194
  fi
1811
2195
done
1812
2196
done
 
2197
IFS=$as_save_IFS
1813
2198
 
1814
2199
fi
1815
2200
fi
1816
2201
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1817
2202
if test -n "$ac_ct_CC"; then
1818
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1819
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2203
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2204
echo "${ECHO_T}$ac_ct_CC" >&6; }
1820
2205
else
1821
 
  echo "$as_me:$LINENO: result: no" >&5
1822
 
echo "${ECHO_T}no" >&6
 
2206
  { echo "$as_me:$LINENO: result: no" >&5
 
2207
echo "${ECHO_T}no" >&6; }
1823
2208
fi
1824
2209
 
 
2210
 
1825
2211
  test -n "$ac_ct_CC" && break
1826
2212
done
1827
2213
 
1828
 
  CC=$ac_ct_CC
 
2214
  if test "x$ac_ct_CC" = x; then
 
2215
    CC=""
 
2216
  else
 
2217
    case $cross_compiling:$ac_tool_warned in
 
2218
yes:)
 
2219
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2220
whose name does not start with the host triplet.  If you think this
 
2221
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2222
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2223
whose name does not start with the host triplet.  If you think this
 
2224
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2225
ac_tool_warned=yes ;;
 
2226
esac
 
2227
    CC=$ac_ct_CC
 
2228
  fi
1829
2229
fi
1830
2230
 
1831
2231
fi
1838
2238
   { (exit 1); exit 1; }; }
1839
2239
 
1840
2240
# Provide some information about the compiler.
1841
 
echo "$as_me:$LINENO:" \
1842
 
     "checking for C compiler version" >&5
 
2241
echo "$as_me:$LINENO: checking for C compiler version" >&5
1843
2242
ac_compiler=`set X $ac_compile; echo $2`
1844
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1845
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
1846
 
  ac_status=$?
1847
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1848
 
  (exit $ac_status); }
1849
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1850
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
1851
 
  ac_status=$?
1852
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1853
 
  (exit $ac_status); }
1854
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1855
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2243
{ (ac_try="$ac_compiler --version >&5"
 
2244
case "(($ac_try" in
 
2245
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2246
  *) ac_try_echo=$ac_try;;
 
2247
esac
 
2248
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2249
  (eval "$ac_compiler --version >&5") 2>&5
 
2250
  ac_status=$?
 
2251
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2252
  (exit $ac_status); }
 
2253
{ (ac_try="$ac_compiler -v >&5"
 
2254
case "(($ac_try" in
 
2255
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2256
  *) ac_try_echo=$ac_try;;
 
2257
esac
 
2258
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2259
  (eval "$ac_compiler -v >&5") 2>&5
 
2260
  ac_status=$?
 
2261
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2262
  (exit $ac_status); }
 
2263
{ (ac_try="$ac_compiler -V >&5"
 
2264
case "(($ac_try" in
 
2265
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2266
  *) ac_try_echo=$ac_try;;
 
2267
esac
 
2268
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2269
  (eval "$ac_compiler -V >&5") 2>&5
1856
2270
  ac_status=$?
1857
2271
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1858
2272
  (exit $ac_status); }
1877
2291
# Try to create an executable without -o first, disregard a.out.
1878
2292
# It will help us diagnose broken compilers, and finding out an intuition
1879
2293
# of exeext.
1880
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1881
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2294
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2295
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
1882
2296
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1883
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1884
 
  (eval $ac_link_default) 2>&5
 
2297
#
 
2298
# List of possible output files, starting from the most likely.
 
2299
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2300
# only as a last resort.  b.out is created by i960 compilers.
 
2301
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2302
#
 
2303
# The IRIX 6 linker writes into existing files which may not be
 
2304
# executable, retaining their permissions.  Remove them first so a
 
2305
# subsequent execution test works.
 
2306
ac_rmfiles=
 
2307
for ac_file in $ac_files
 
2308
do
 
2309
  case $ac_file in
 
2310
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2311
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2312
  esac
 
2313
done
 
2314
rm -f $ac_rmfiles
 
2315
 
 
2316
if { (ac_try="$ac_link_default"
 
2317
case "(($ac_try" in
 
2318
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2319
  *) ac_try_echo=$ac_try;;
 
2320
esac
 
2321
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2322
  (eval "$ac_link_default") 2>&5
1885
2323
  ac_status=$?
1886
2324
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1887
2325
  (exit $ac_status); }; then
1888
 
  # Find the output, starting from the most likely.  This scheme is
1889
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1890
 
# resort.
1891
 
 
1892
 
# Be careful to initialize this variable, since it used to be cached.
1893
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1894
 
ac_cv_exeext=
1895
 
# b.out is created by i960 compilers.
1896
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2326
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2327
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2328
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2329
# so that the user can short-circuit this test for compilers unknown to
 
2330
# Autoconf.
 
2331
for ac_file in $ac_files ''
1897
2332
do
1898
2333
  test -f "$ac_file" || continue
1899
2334
  case $ac_file in
1900
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1901
 
        ;;
1902
 
    conftest.$ac_ext )
1903
 
        # This is the source file.
 
2335
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
1904
2336
        ;;
1905
2337
    [ab].out )
1906
2338
        # We found the default executable, but exeext='' is most
1907
2339
        # certainly right.
1908
2340
        break;;
1909
2341
    *.* )
1910
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1911
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
1912
 
        # but it would be cool to find out if it's true.  Does anybody
1913
 
        # maintain Libtool? --akim.
1914
 
        export ac_cv_exeext
 
2342
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2343
        then :; else
 
2344
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2345
        fi
 
2346
        # We set ac_cv_exeext here because the later test for it is not
 
2347
        # safe: cross compilers may not add the suffix if given an `-o'
 
2348
        # argument, so we may need to know it at that point already.
 
2349
        # Even if this section looks crufty: it has the advantage of
 
2350
        # actually working.
1915
2351
        break;;
1916
2352
    * )
1917
2353
        break;;
1918
2354
  esac
1919
2355
done
 
2356
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2357
 
1920
2358
else
 
2359
  ac_file=''
 
2360
fi
 
2361
 
 
2362
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2363
echo "${ECHO_T}$ac_file" >&6; }
 
2364
if test -z "$ac_file"; then
1921
2365
  echo "$as_me: failed program was:" >&5
1922
2366
sed 's/^/| /' conftest.$ac_ext >&5
1923
2367
 
1929
2373
fi
1930
2374
 
1931
2375
ac_exeext=$ac_cv_exeext
1932
 
echo "$as_me:$LINENO: result: $ac_file" >&5
1933
 
echo "${ECHO_T}$ac_file" >&6
1934
2376
 
1935
 
# Check the compiler produces executables we can run.  If not, either
 
2377
# Check that the compiler produces executables we can run.  If not, either
1936
2378
# the compiler is broken, or we cross compile.
1937
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1938
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2379
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2380
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
1939
2381
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1940
2382
# If not cross compiling, check that we can run a simple program.
1941
2383
if test "$cross_compiling" != yes; then
1942
2384
  if { ac_try='./$ac_file'
1943
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1944
 
  (eval $ac_try) 2>&5
 
2385
  { (case "(($ac_try" in
 
2386
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2387
  *) ac_try_echo=$ac_try;;
 
2388
esac
 
2389
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2390
  (eval "$ac_try") 2>&5
1945
2391
  ac_status=$?
1946
2392
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1947
2393
  (exit $ac_status); }; }; then
1960
2406
    fi
1961
2407
  fi
1962
2408
fi
1963
 
echo "$as_me:$LINENO: result: yes" >&5
1964
 
echo "${ECHO_T}yes" >&6
 
2409
{ echo "$as_me:$LINENO: result: yes" >&5
 
2410
echo "${ECHO_T}yes" >&6; }
1965
2411
 
1966
2412
rm -f a.out a.exe conftest$ac_cv_exeext b.out
1967
2413
ac_clean_files=$ac_clean_files_save
1968
 
# Check the compiler produces executables we can run.  If not, either
 
2414
# Check that the compiler produces executables we can run.  If not, either
1969
2415
# the compiler is broken, or we cross compile.
1970
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1971
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1972
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
1973
 
echo "${ECHO_T}$cross_compiling" >&6
 
2416
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
2417
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
2418
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
2419
echo "${ECHO_T}$cross_compiling" >&6; }
1974
2420
 
1975
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
1976
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1977
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1978
 
  (eval $ac_link) 2>&5
 
2421
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2422
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
2423
if { (ac_try="$ac_link"
 
2424
case "(($ac_try" in
 
2425
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2426
  *) ac_try_echo=$ac_try;;
 
2427
esac
 
2428
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2429
  (eval "$ac_link") 2>&5
1979
2430
  ac_status=$?
1980
2431
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1981
2432
  (exit $ac_status); }; then
1986
2437
for ac_file in conftest.exe conftest conftest.*; do
1987
2438
  test -f "$ac_file" || continue
1988
2439
  case $ac_file in
1989
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
2440
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
1990
2441
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1991
 
          export ac_cv_exeext
1992
2442
          break;;
1993
2443
    * ) break;;
1994
2444
  esac
2002
2452
fi
2003
2453
 
2004
2454
rm -f conftest$ac_cv_exeext
2005
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2006
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
2455
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2456
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2007
2457
 
2008
2458
rm -f conftest.$ac_ext
2009
2459
EXEEXT=$ac_cv_exeext
2010
2460
ac_exeext=$EXEEXT
2011
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2012
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
2461
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2462
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2013
2463
if test "${ac_cv_objext+set}" = set; then
2014
2464
  echo $ECHO_N "(cached) $ECHO_C" >&6
2015
2465
else
2029
2479
}
2030
2480
_ACEOF
2031
2481
rm -f conftest.o conftest.obj
2032
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2033
 
  (eval $ac_compile) 2>&5
 
2482
if { (ac_try="$ac_compile"
 
2483
case "(($ac_try" in
 
2484
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2485
  *) ac_try_echo=$ac_try;;
 
2486
esac
 
2487
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2488
  (eval "$ac_compile") 2>&5
2034
2489
  ac_status=$?
2035
2490
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2036
2491
  (exit $ac_status); }; then
2037
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
2492
  for ac_file in conftest.o conftest.obj conftest.*; do
 
2493
  test -f "$ac_file" || continue;
2038
2494
  case $ac_file in
2039
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
2495
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2040
2496
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2041
2497
       break;;
2042
2498
  esac
2054
2510
 
2055
2511
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2056
2512
fi
2057
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2058
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
2513
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2514
echo "${ECHO_T}$ac_cv_objext" >&6; }
2059
2515
OBJEXT=$ac_cv_objext
2060
2516
ac_objext=$OBJEXT
2061
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2062
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
2517
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
2518
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2063
2519
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2064
2520
  echo $ECHO_N "(cached) $ECHO_C" >&6
2065
2521
else
2082
2538
}
2083
2539
_ACEOF
2084
2540
rm -f conftest.$ac_objext
2085
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2086
 
  (eval $ac_compile) 2>conftest.er1
 
2541
if { (ac_try="$ac_compile"
 
2542
case "(($ac_try" in
 
2543
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2544
  *) ac_try_echo=$ac_try;;
 
2545
esac
 
2546
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2547
  (eval "$ac_compile") 2>conftest.er1
2087
2548
  ac_status=$?
2088
2549
  grep -v '^ *+' conftest.er1 >conftest.err
2089
2550
  rm -f conftest.er1
2090
2551
  cat conftest.err >&5
2091
2552
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2092
 
  (exit $ac_status); } &&
2093
 
         { ac_try='test -z "$ac_c_werror_flag"
2094
 
                         || test ! -s conftest.err'
2095
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2096
 
  (eval $ac_try) 2>&5
2097
 
  ac_status=$?
2098
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2099
 
  (exit $ac_status); }; } &&
2100
 
         { ac_try='test -s conftest.$ac_objext'
2101
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2102
 
  (eval $ac_try) 2>&5
2103
 
  ac_status=$?
2104
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2105
 
  (exit $ac_status); }; }; then
 
2553
  (exit $ac_status); } && {
 
2554
         test -z "$ac_c_werror_flag" ||
 
2555
         test ! -s conftest.err
 
2556
       } && test -s conftest.$ac_objext; then
2106
2557
  ac_compiler_gnu=yes
2107
2558
else
2108
2559
  echo "$as_me: failed program was:" >&5
2109
2560
sed 's/^/| /' conftest.$ac_ext >&5
2110
2561
 
2111
 
ac_compiler_gnu=no
 
2562
        ac_compiler_gnu=no
2112
2563
fi
2113
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2564
 
 
2565
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2114
2566
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2115
2567
 
2116
2568
fi
2117
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2118
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
2569
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
2570
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2119
2571
GCC=`test $ac_compiler_gnu = yes && echo yes`
2120
2572
ac_test_CFLAGS=${CFLAGS+set}
2121
2573
ac_save_CFLAGS=$CFLAGS
2122
 
CFLAGS="-g"
2123
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2124
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
2574
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
2575
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2125
2576
if test "${ac_cv_prog_cc_g+set}" = set; then
2126
2577
  echo $ECHO_N "(cached) $ECHO_C" >&6
2127
2578
else
2128
 
  cat >conftest.$ac_ext <<_ACEOF
2129
 
/* confdefs.h.  */
2130
 
_ACEOF
2131
 
cat confdefs.h >>conftest.$ac_ext
2132
 
cat >>conftest.$ac_ext <<_ACEOF
2133
 
/* end confdefs.h.  */
2134
 
 
2135
 
int
2136
 
main ()
2137
 
{
2138
 
 
2139
 
  ;
2140
 
  return 0;
2141
 
}
2142
 
_ACEOF
2143
 
rm -f conftest.$ac_objext
2144
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2145
 
  (eval $ac_compile) 2>conftest.er1
2146
 
  ac_status=$?
2147
 
  grep -v '^ *+' conftest.er1 >conftest.err
2148
 
  rm -f conftest.er1
2149
 
  cat conftest.err >&5
2150
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151
 
  (exit $ac_status); } &&
2152
 
         { ac_try='test -z "$ac_c_werror_flag"
2153
 
                         || test ! -s conftest.err'
2154
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2155
 
  (eval $ac_try) 2>&5
2156
 
  ac_status=$?
2157
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158
 
  (exit $ac_status); }; } &&
2159
 
         { ac_try='test -s conftest.$ac_objext'
2160
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2161
 
  (eval $ac_try) 2>&5
2162
 
  ac_status=$?
2163
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164
 
  (exit $ac_status); }; }; then
2165
 
  ac_cv_prog_cc_g=yes
2166
 
else
2167
 
  echo "$as_me: failed program was:" >&5
2168
 
sed 's/^/| /' conftest.$ac_ext >&5
2169
 
 
2170
 
ac_cv_prog_cc_g=no
2171
 
fi
2172
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2173
 
fi
2174
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2175
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
2579
  ac_save_c_werror_flag=$ac_c_werror_flag
 
2580
   ac_c_werror_flag=yes
 
2581
   ac_cv_prog_cc_g=no
 
2582
   CFLAGS="-g"
 
2583
   cat >conftest.$ac_ext <<_ACEOF
 
2584
/* confdefs.h.  */
 
2585
_ACEOF
 
2586
cat confdefs.h >>conftest.$ac_ext
 
2587
cat >>conftest.$ac_ext <<_ACEOF
 
2588
/* end confdefs.h.  */
 
2589
 
 
2590
int
 
2591
main ()
 
2592
{
 
2593
 
 
2594
  ;
 
2595
  return 0;
 
2596
}
 
2597
_ACEOF
 
2598
rm -f conftest.$ac_objext
 
2599
if { (ac_try="$ac_compile"
 
2600
case "(($ac_try" in
 
2601
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2602
  *) ac_try_echo=$ac_try;;
 
2603
esac
 
2604
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2605
  (eval "$ac_compile") 2>conftest.er1
 
2606
  ac_status=$?
 
2607
  grep -v '^ *+' conftest.er1 >conftest.err
 
2608
  rm -f conftest.er1
 
2609
  cat conftest.err >&5
 
2610
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2611
  (exit $ac_status); } && {
 
2612
         test -z "$ac_c_werror_flag" ||
 
2613
         test ! -s conftest.err
 
2614
       } && test -s conftest.$ac_objext; then
 
2615
  ac_cv_prog_cc_g=yes
 
2616
else
 
2617
  echo "$as_me: failed program was:" >&5
 
2618
sed 's/^/| /' conftest.$ac_ext >&5
 
2619
 
 
2620
        CFLAGS=""
 
2621
      cat >conftest.$ac_ext <<_ACEOF
 
2622
/* confdefs.h.  */
 
2623
_ACEOF
 
2624
cat confdefs.h >>conftest.$ac_ext
 
2625
cat >>conftest.$ac_ext <<_ACEOF
 
2626
/* end confdefs.h.  */
 
2627
 
 
2628
int
 
2629
main ()
 
2630
{
 
2631
 
 
2632
  ;
 
2633
  return 0;
 
2634
}
 
2635
_ACEOF
 
2636
rm -f conftest.$ac_objext
 
2637
if { (ac_try="$ac_compile"
 
2638
case "(($ac_try" in
 
2639
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2640
  *) ac_try_echo=$ac_try;;
 
2641
esac
 
2642
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2643
  (eval "$ac_compile") 2>conftest.er1
 
2644
  ac_status=$?
 
2645
  grep -v '^ *+' conftest.er1 >conftest.err
 
2646
  rm -f conftest.er1
 
2647
  cat conftest.err >&5
 
2648
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2649
  (exit $ac_status); } && {
 
2650
         test -z "$ac_c_werror_flag" ||
 
2651
         test ! -s conftest.err
 
2652
       } && test -s conftest.$ac_objext; then
 
2653
  :
 
2654
else
 
2655
  echo "$as_me: failed program was:" >&5
 
2656
sed 's/^/| /' conftest.$ac_ext >&5
 
2657
 
 
2658
        ac_c_werror_flag=$ac_save_c_werror_flag
 
2659
         CFLAGS="-g"
 
2660
         cat >conftest.$ac_ext <<_ACEOF
 
2661
/* confdefs.h.  */
 
2662
_ACEOF
 
2663
cat confdefs.h >>conftest.$ac_ext
 
2664
cat >>conftest.$ac_ext <<_ACEOF
 
2665
/* end confdefs.h.  */
 
2666
 
 
2667
int
 
2668
main ()
 
2669
{
 
2670
 
 
2671
  ;
 
2672
  return 0;
 
2673
}
 
2674
_ACEOF
 
2675
rm -f conftest.$ac_objext
 
2676
if { (ac_try="$ac_compile"
 
2677
case "(($ac_try" in
 
2678
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2679
  *) ac_try_echo=$ac_try;;
 
2680
esac
 
2681
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2682
  (eval "$ac_compile") 2>conftest.er1
 
2683
  ac_status=$?
 
2684
  grep -v '^ *+' conftest.er1 >conftest.err
 
2685
  rm -f conftest.er1
 
2686
  cat conftest.err >&5
 
2687
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2688
  (exit $ac_status); } && {
 
2689
         test -z "$ac_c_werror_flag" ||
 
2690
         test ! -s conftest.err
 
2691
       } && test -s conftest.$ac_objext; then
 
2692
  ac_cv_prog_cc_g=yes
 
2693
else
 
2694
  echo "$as_me: failed program was:" >&5
 
2695
sed 's/^/| /' conftest.$ac_ext >&5
 
2696
 
 
2697
 
 
2698
fi
 
2699
 
 
2700
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2701
fi
 
2702
 
 
2703
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2704
fi
 
2705
 
 
2706
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2707
   ac_c_werror_flag=$ac_save_c_werror_flag
 
2708
fi
 
2709
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
2710
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2176
2711
if test "$ac_test_CFLAGS" = set; then
2177
2712
  CFLAGS=$ac_save_CFLAGS
2178
2713
elif test $ac_cv_prog_cc_g = yes; then
2188
2723
    CFLAGS=
2189
2724
  fi
2190
2725
fi
2191
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2192
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2193
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
2726
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
2727
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
2728
if test "${ac_cv_prog_cc_c89+set}" = set; then
2194
2729
  echo $ECHO_N "(cached) $ECHO_C" >&6
2195
2730
else
2196
 
  ac_cv_prog_cc_stdc=no
 
2731
  ac_cv_prog_cc_c89=no
2197
2732
ac_save_CC=$CC
2198
2733
cat >conftest.$ac_ext <<_ACEOF
2199
2734
/* confdefs.h.  */
2227
2762
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2228
2763
   function prototypes and stuff, but not '\xHH' hex character constants.
2229
2764
   These don't provoke an error unfortunately, instead are silently treated
2230
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
2765
   as 'x'.  The following induces an error, until -std is added to get
2231
2766
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2232
2767
   array size at least.  It's necessary to write '\x00'==0 to get something
2233
 
   that's true only with -std1.  */
 
2768
   that's true only with -std.  */
2234
2769
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2235
2770
 
 
2771
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
2772
   inside strings and character constants.  */
 
2773
#define FOO(x) 'x'
 
2774
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
2775
 
2236
2776
int test (int i, double x);
2237
2777
struct s1 {int (*f) (int a);};
2238
2778
struct s2 {int (*f) (double a);};
2247
2787
  return 0;
2248
2788
}
2249
2789
_ACEOF
2250
 
# Don't try gcc -ansi; that turns off useful extensions and
2251
 
# breaks some systems' header files.
2252
 
# AIX                   -qlanglvl=ansi
2253
 
# Ultrix and OSF/1      -std1
2254
 
# HP-UX 10.20 and later -Ae
2255
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2256
 
# SVR4                  -Xc -D__EXTENSIONS__
2257
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
2790
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
2791
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2258
2792
do
2259
2793
  CC="$ac_save_CC $ac_arg"
2260
2794
  rm -f conftest.$ac_objext
2261
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2262
 
  (eval $ac_compile) 2>conftest.er1
 
2795
if { (ac_try="$ac_compile"
 
2796
case "(($ac_try" in
 
2797
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2798
  *) ac_try_echo=$ac_try;;
 
2799
esac
 
2800
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2801
  (eval "$ac_compile") 2>conftest.er1
2263
2802
  ac_status=$?
2264
2803
  grep -v '^ *+' conftest.er1 >conftest.err
2265
2804
  rm -f conftest.er1
2266
2805
  cat conftest.err >&5
2267
2806
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268
 
  (exit $ac_status); } &&
2269
 
         { ac_try='test -z "$ac_c_werror_flag"
2270
 
                         || test ! -s conftest.err'
2271
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2272
 
  (eval $ac_try) 2>&5
2273
 
  ac_status=$?
2274
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275
 
  (exit $ac_status); }; } &&
2276
 
         { ac_try='test -s conftest.$ac_objext'
2277
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2278
 
  (eval $ac_try) 2>&5
2279
 
  ac_status=$?
2280
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281
 
  (exit $ac_status); }; }; then
2282
 
  ac_cv_prog_cc_stdc=$ac_arg
2283
 
break
 
2807
  (exit $ac_status); } && {
 
2808
         test -z "$ac_c_werror_flag" ||
 
2809
         test ! -s conftest.err
 
2810
       } && test -s conftest.$ac_objext; then
 
2811
  ac_cv_prog_cc_c89=$ac_arg
2284
2812
else
2285
2813
  echo "$as_me: failed program was:" >&5
2286
2814
sed 's/^/| /' conftest.$ac_ext >&5
2287
2815
 
 
2816
 
2288
2817
fi
2289
 
rm -f conftest.err conftest.$ac_objext
 
2818
 
 
2819
rm -f core conftest.err conftest.$ac_objext
 
2820
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2290
2821
done
2291
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
2822
rm -f conftest.$ac_ext
2292
2823
CC=$ac_save_CC
2293
2824
 
2294
2825
fi
2295
 
 
2296
 
case "x$ac_cv_prog_cc_stdc" in
2297
 
  x|xno)
2298
 
    echo "$as_me:$LINENO: result: none needed" >&5
2299
 
echo "${ECHO_T}none needed" >&6 ;;
 
2826
# AC_CACHE_VAL
 
2827
case "x$ac_cv_prog_cc_c89" in
 
2828
  x)
 
2829
    { echo "$as_me:$LINENO: result: none needed" >&5
 
2830
echo "${ECHO_T}none needed" >&6; } ;;
 
2831
  xno)
 
2832
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
2833
echo "${ECHO_T}unsupported" >&6; } ;;
2300
2834
  *)
2301
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2302
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2303
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
2835
    CC="$CC $ac_cv_prog_cc_c89"
 
2836
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
2837
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2304
2838
esac
2305
2839
 
2306
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2307
 
# in C++ we need to declare it.  In case someone uses the same compiler
2308
 
# for both compiling C and C++ we need to have the C++ compiler decide
2309
 
# the declaration of exit, since it's the most demanding environment.
2310
 
cat >conftest.$ac_ext <<_ACEOF
2311
 
#ifndef __cplusplus
2312
 
  choke me
2313
 
#endif
2314
 
_ACEOF
2315
 
rm -f conftest.$ac_objext
2316
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2317
 
  (eval $ac_compile) 2>conftest.er1
2318
 
  ac_status=$?
2319
 
  grep -v '^ *+' conftest.er1 >conftest.err
2320
 
  rm -f conftest.er1
2321
 
  cat conftest.err >&5
2322
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323
 
  (exit $ac_status); } &&
2324
 
         { ac_try='test -z "$ac_c_werror_flag"
2325
 
                         || test ! -s conftest.err'
2326
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2327
 
  (eval $ac_try) 2>&5
2328
 
  ac_status=$?
2329
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330
 
  (exit $ac_status); }; } &&
2331
 
         { ac_try='test -s conftest.$ac_objext'
2332
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333
 
  (eval $ac_try) 2>&5
2334
 
  ac_status=$?
2335
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336
 
  (exit $ac_status); }; }; then
2337
 
  for ac_declaration in \
2338
 
   '' \
2339
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2340
 
   'extern "C" void std::exit (int); using std::exit;' \
2341
 
   'extern "C" void exit (int) throw ();' \
2342
 
   'extern "C" void exit (int);' \
2343
 
   'void exit (int);'
2344
 
do
2345
 
  cat >conftest.$ac_ext <<_ACEOF
2346
 
/* confdefs.h.  */
2347
 
_ACEOF
2348
 
cat confdefs.h >>conftest.$ac_ext
2349
 
cat >>conftest.$ac_ext <<_ACEOF
2350
 
/* end confdefs.h.  */
2351
 
$ac_declaration
2352
 
#include <stdlib.h>
2353
 
int
2354
 
main ()
2355
 
{
2356
 
exit (42);
2357
 
  ;
2358
 
  return 0;
2359
 
}
2360
 
_ACEOF
2361
 
rm -f conftest.$ac_objext
2362
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2363
 
  (eval $ac_compile) 2>conftest.er1
2364
 
  ac_status=$?
2365
 
  grep -v '^ *+' conftest.er1 >conftest.err
2366
 
  rm -f conftest.er1
2367
 
  cat conftest.err >&5
2368
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369
 
  (exit $ac_status); } &&
2370
 
         { ac_try='test -z "$ac_c_werror_flag"
2371
 
                         || test ! -s conftest.err'
2372
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2373
 
  (eval $ac_try) 2>&5
2374
 
  ac_status=$?
2375
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376
 
  (exit $ac_status); }; } &&
2377
 
         { ac_try='test -s conftest.$ac_objext'
2378
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2379
 
  (eval $ac_try) 2>&5
2380
 
  ac_status=$?
2381
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382
 
  (exit $ac_status); }; }; then
2383
 
  :
2384
 
else
2385
 
  echo "$as_me: failed program was:" >&5
2386
 
sed 's/^/| /' conftest.$ac_ext >&5
2387
 
 
2388
 
continue
2389
 
fi
2390
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2391
 
  cat >conftest.$ac_ext <<_ACEOF
2392
 
/* confdefs.h.  */
2393
 
_ACEOF
2394
 
cat confdefs.h >>conftest.$ac_ext
2395
 
cat >>conftest.$ac_ext <<_ACEOF
2396
 
/* end confdefs.h.  */
2397
 
$ac_declaration
2398
 
int
2399
 
main ()
2400
 
{
2401
 
exit (42);
2402
 
  ;
2403
 
  return 0;
2404
 
}
2405
 
_ACEOF
2406
 
rm -f conftest.$ac_objext
2407
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2408
 
  (eval $ac_compile) 2>conftest.er1
2409
 
  ac_status=$?
2410
 
  grep -v '^ *+' conftest.er1 >conftest.err
2411
 
  rm -f conftest.er1
2412
 
  cat conftest.err >&5
2413
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414
 
  (exit $ac_status); } &&
2415
 
         { ac_try='test -z "$ac_c_werror_flag"
2416
 
                         || test ! -s conftest.err'
2417
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418
 
  (eval $ac_try) 2>&5
2419
 
  ac_status=$?
2420
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421
 
  (exit $ac_status); }; } &&
2422
 
         { ac_try='test -s conftest.$ac_objext'
2423
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2424
 
  (eval $ac_try) 2>&5
2425
 
  ac_status=$?
2426
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427
 
  (exit $ac_status); }; }; then
2428
 
  break
2429
 
else
2430
 
  echo "$as_me: failed program was:" >&5
2431
 
sed 's/^/| /' conftest.$ac_ext >&5
2432
 
 
2433
 
fi
2434
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2435
 
done
2436
 
rm -f conftest*
2437
 
if test -n "$ac_declaration"; then
2438
 
  echo '#ifdef __cplusplus' >>confdefs.h
2439
 
  echo $ac_declaration      >>confdefs.h
2440
 
  echo '#endif'             >>confdefs.h
2441
 
fi
2442
 
 
2443
 
else
2444
 
  echo "$as_me: failed program was:" >&5
2445
 
sed 's/^/| /' conftest.$ac_ext >&5
2446
 
 
2447
 
fi
2448
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
2840
 
2449
2841
ac_ext=c
2450
2842
ac_cpp='$CPP $CPPFLAGS'
2451
2843
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2461
2853
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2462
2854
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2463
2855
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2464
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2465
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
2856
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
2857
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2466
2858
# On Suns, sometimes $CPP names a directory.
2467
2859
if test -n "$CPP" && test -d "$CPP"; then
2468
2860
  CPP=
2496
2888
#endif
2497
2889
                     Syntax error
2498
2890
_ACEOF
2499
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2500
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2891
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
2892
case "(($ac_try" in
 
2893
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2894
  *) ac_try_echo=$ac_try;;
 
2895
esac
 
2896
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2897
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2501
2898
  ac_status=$?
2502
2899
  grep -v '^ *+' conftest.er1 >conftest.err
2503
2900
  rm -f conftest.er1
2504
2901
  cat conftest.err >&5
2505
2902
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506
 
  (exit $ac_status); } >/dev/null; then
2507
 
  if test -s conftest.err; then
2508
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2509
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2510
 
  else
2511
 
    ac_cpp_err=
2512
 
  fi
2513
 
else
2514
 
  ac_cpp_err=yes
2515
 
fi
2516
 
if test -z "$ac_cpp_err"; then
 
2903
  (exit $ac_status); } >/dev/null && {
 
2904
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
2905
         test ! -s conftest.err
 
2906
       }; then
2517
2907
  :
2518
2908
else
2519
2909
  echo "$as_me: failed program was:" >&5
2522
2912
  # Broken: fails on valid input.
2523
2913
continue
2524
2914
fi
 
2915
 
2525
2916
rm -f conftest.err conftest.$ac_ext
2526
2917
 
2527
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
2918
  # OK, works on sane cases.  Now check whether nonexistent headers
2528
2919
  # can be detected and how.
2529
2920
  cat >conftest.$ac_ext <<_ACEOF
2530
2921
/* confdefs.h.  */
2534
2925
/* end confdefs.h.  */
2535
2926
#include <ac_nonexistent.h>
2536
2927
_ACEOF
2537
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2538
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2928
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
2929
case "(($ac_try" in
 
2930
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2931
  *) ac_try_echo=$ac_try;;
 
2932
esac
 
2933
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2934
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2539
2935
  ac_status=$?
2540
2936
  grep -v '^ *+' conftest.er1 >conftest.err
2541
2937
  rm -f conftest.er1
2542
2938
  cat conftest.err >&5
2543
2939
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544
 
  (exit $ac_status); } >/dev/null; then
2545
 
  if test -s conftest.err; then
2546
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2547
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2548
 
  else
2549
 
    ac_cpp_err=
2550
 
  fi
2551
 
else
2552
 
  ac_cpp_err=yes
2553
 
fi
2554
 
if test -z "$ac_cpp_err"; then
 
2940
  (exit $ac_status); } >/dev/null && {
 
2941
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
2942
         test ! -s conftest.err
 
2943
       }; then
2555
2944
  # Broken: success on invalid input.
2556
2945
continue
2557
2946
else
2562
2951
ac_preproc_ok=:
2563
2952
break
2564
2953
fi
 
2954
 
2565
2955
rm -f conftest.err conftest.$ac_ext
2566
2956
 
2567
2957
done
2579
2969
else
2580
2970
  ac_cv_prog_CPP=$CPP
2581
2971
fi
2582
 
echo "$as_me:$LINENO: result: $CPP" >&5
2583
 
echo "${ECHO_T}$CPP" >&6
 
2972
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
2973
echo "${ECHO_T}$CPP" >&6; }
2584
2974
ac_preproc_ok=false
2585
2975
for ac_c_preproc_warn_flag in '' yes
2586
2976
do
2603
2993
#endif
2604
2994
                     Syntax error
2605
2995
_ACEOF
2606
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2607
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
2996
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
2997
case "(($ac_try" in
 
2998
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2999
  *) ac_try_echo=$ac_try;;
 
3000
esac
 
3001
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3002
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2608
3003
  ac_status=$?
2609
3004
  grep -v '^ *+' conftest.er1 >conftest.err
2610
3005
  rm -f conftest.er1
2611
3006
  cat conftest.err >&5
2612
3007
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613
 
  (exit $ac_status); } >/dev/null; then
2614
 
  if test -s conftest.err; then
2615
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2616
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2617
 
  else
2618
 
    ac_cpp_err=
2619
 
  fi
2620
 
else
2621
 
  ac_cpp_err=yes
2622
 
fi
2623
 
if test -z "$ac_cpp_err"; then
 
3008
  (exit $ac_status); } >/dev/null && {
 
3009
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3010
         test ! -s conftest.err
 
3011
       }; then
2624
3012
  :
2625
3013
else
2626
3014
  echo "$as_me: failed program was:" >&5
2629
3017
  # Broken: fails on valid input.
2630
3018
continue
2631
3019
fi
 
3020
 
2632
3021
rm -f conftest.err conftest.$ac_ext
2633
3022
 
2634
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
3023
  # OK, works on sane cases.  Now check whether nonexistent headers
2635
3024
  # can be detected and how.
2636
3025
  cat >conftest.$ac_ext <<_ACEOF
2637
3026
/* confdefs.h.  */
2641
3030
/* end confdefs.h.  */
2642
3031
#include <ac_nonexistent.h>
2643
3032
_ACEOF
2644
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2645
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3033
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3034
case "(($ac_try" in
 
3035
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3036
  *) ac_try_echo=$ac_try;;
 
3037
esac
 
3038
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3039
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2646
3040
  ac_status=$?
2647
3041
  grep -v '^ *+' conftest.er1 >conftest.err
2648
3042
  rm -f conftest.er1
2649
3043
  cat conftest.err >&5
2650
3044
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651
 
  (exit $ac_status); } >/dev/null; then
2652
 
  if test -s conftest.err; then
2653
 
    ac_cpp_err=$ac_c_preproc_warn_flag
2654
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2655
 
  else
2656
 
    ac_cpp_err=
2657
 
  fi
2658
 
else
2659
 
  ac_cpp_err=yes
2660
 
fi
2661
 
if test -z "$ac_cpp_err"; then
 
3045
  (exit $ac_status); } >/dev/null && {
 
3046
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3047
         test ! -s conftest.err
 
3048
       }; then
2662
3049
  # Broken: success on invalid input.
2663
3050
continue
2664
3051
else
2669
3056
ac_preproc_ok=:
2670
3057
break
2671
3058
fi
 
3059
 
2672
3060
rm -f conftest.err conftest.$ac_ext
2673
3061
 
2674
3062
done
2691
3079
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2692
3080
 
2693
3081
 
2694
 
echo "$as_me:$LINENO: checking for egrep" >&5
2695
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2696
 
if test "${ac_cv_prog_egrep+set}" = set; then
2697
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2698
 
else
2699
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2700
 
    then ac_cv_prog_egrep='grep -E'
2701
 
    else ac_cv_prog_egrep='egrep'
2702
 
    fi
2703
 
fi
2704
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2705
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2706
 
 EGREP=$ac_cv_prog_egrep
2707
 
 
2708
 
 
2709
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2710
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
3082
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3083
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
3084
if test "${ac_cv_path_GREP+set}" = set; then
 
3085
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3086
else
 
3087
  # Extract the first word of "grep ggrep" to use in msg output
 
3088
if test -z "$GREP"; then
 
3089
set dummy grep ggrep; ac_prog_name=$2
 
3090
if test "${ac_cv_path_GREP+set}" = set; then
 
3091
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3092
else
 
3093
  ac_path_GREP_found=false
 
3094
# Loop through the user's path and test for each of PROGNAME-LIST
 
3095
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3096
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3097
do
 
3098
  IFS=$as_save_IFS
 
3099
  test -z "$as_dir" && as_dir=.
 
3100
  for ac_prog in grep ggrep; do
 
3101
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3102
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3103
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3104
    # Check for GNU ac_path_GREP and select it if it is found.
 
3105
  # Check for GNU $ac_path_GREP
 
3106
case `"$ac_path_GREP" --version 2>&1` in
 
3107
*GNU*)
 
3108
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3109
*)
 
3110
  ac_count=0
 
3111
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3112
  while :
 
3113
  do
 
3114
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3115
    mv "conftest.tmp" "conftest.in"
 
3116
    cp "conftest.in" "conftest.nl"
 
3117
    echo 'GREP' >> "conftest.nl"
 
3118
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3119
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3120
    ac_count=`expr $ac_count + 1`
 
3121
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3122
      # Best one so far, save it but keep looking for a better one
 
3123
      ac_cv_path_GREP="$ac_path_GREP"
 
3124
      ac_path_GREP_max=$ac_count
 
3125
    fi
 
3126
    # 10*(2^10) chars as input seems more than enough
 
3127
    test $ac_count -gt 10 && break
 
3128
  done
 
3129
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3130
esac
 
3131
 
 
3132
 
 
3133
    $ac_path_GREP_found && break 3
 
3134
  done
 
3135
done
 
3136
 
 
3137
done
 
3138
IFS=$as_save_IFS
 
3139
 
 
3140
 
 
3141
fi
 
3142
 
 
3143
GREP="$ac_cv_path_GREP"
 
3144
if test -z "$GREP"; then
 
3145
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3146
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3147
   { (exit 1); exit 1; }; }
 
3148
fi
 
3149
 
 
3150
else
 
3151
  ac_cv_path_GREP=$GREP
 
3152
fi
 
3153
 
 
3154
 
 
3155
fi
 
3156
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3157
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3158
 GREP="$ac_cv_path_GREP"
 
3159
 
 
3160
 
 
3161
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
3162
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3163
if test "${ac_cv_path_EGREP+set}" = set; then
 
3164
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3165
else
 
3166
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3167
   then ac_cv_path_EGREP="$GREP -E"
 
3168
   else
 
3169
     # Extract the first word of "egrep" to use in msg output
 
3170
if test -z "$EGREP"; then
 
3171
set dummy egrep; ac_prog_name=$2
 
3172
if test "${ac_cv_path_EGREP+set}" = set; then
 
3173
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3174
else
 
3175
  ac_path_EGREP_found=false
 
3176
# Loop through the user's path and test for each of PROGNAME-LIST
 
3177
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3178
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3179
do
 
3180
  IFS=$as_save_IFS
 
3181
  test -z "$as_dir" && as_dir=.
 
3182
  for ac_prog in egrep; do
 
3183
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3184
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3185
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3186
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3187
  # Check for GNU $ac_path_EGREP
 
3188
case `"$ac_path_EGREP" --version 2>&1` in
 
3189
*GNU*)
 
3190
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3191
*)
 
3192
  ac_count=0
 
3193
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3194
  while :
 
3195
  do
 
3196
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3197
    mv "conftest.tmp" "conftest.in"
 
3198
    cp "conftest.in" "conftest.nl"
 
3199
    echo 'EGREP' >> "conftest.nl"
 
3200
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3201
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3202
    ac_count=`expr $ac_count + 1`
 
3203
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3204
      # Best one so far, save it but keep looking for a better one
 
3205
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3206
      ac_path_EGREP_max=$ac_count
 
3207
    fi
 
3208
    # 10*(2^10) chars as input seems more than enough
 
3209
    test $ac_count -gt 10 && break
 
3210
  done
 
3211
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3212
esac
 
3213
 
 
3214
 
 
3215
    $ac_path_EGREP_found && break 3
 
3216
  done
 
3217
done
 
3218
 
 
3219
done
 
3220
IFS=$as_save_IFS
 
3221
 
 
3222
 
 
3223
fi
 
3224
 
 
3225
EGREP="$ac_cv_path_EGREP"
 
3226
if test -z "$EGREP"; then
 
3227
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3228
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3229
   { (exit 1); exit 1; }; }
 
3230
fi
 
3231
 
 
3232
else
 
3233
  ac_cv_path_EGREP=$EGREP
 
3234
fi
 
3235
 
 
3236
 
 
3237
   fi
 
3238
fi
 
3239
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3240
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
3241
 EGREP="$ac_cv_path_EGREP"
 
3242
 
 
3243
 
 
3244
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
3245
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
2711
3246
if test "${ac_cv_header_stdc+set}" = set; then
2712
3247
  echo $ECHO_N "(cached) $ECHO_C" >&6
2713
3248
else
2731
3266
}
2732
3267
_ACEOF
2733
3268
rm -f conftest.$ac_objext
2734
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2735
 
  (eval $ac_compile) 2>conftest.er1
 
3269
if { (ac_try="$ac_compile"
 
3270
case "(($ac_try" in
 
3271
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3272
  *) ac_try_echo=$ac_try;;
 
3273
esac
 
3274
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3275
  (eval "$ac_compile") 2>conftest.er1
2736
3276
  ac_status=$?
2737
3277
  grep -v '^ *+' conftest.er1 >conftest.err
2738
3278
  rm -f conftest.er1
2739
3279
  cat conftest.err >&5
2740
3280
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741
 
  (exit $ac_status); } &&
2742
 
         { ac_try='test -z "$ac_c_werror_flag"
2743
 
                         || test ! -s conftest.err'
2744
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2745
 
  (eval $ac_try) 2>&5
2746
 
  ac_status=$?
2747
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748
 
  (exit $ac_status); }; } &&
2749
 
         { ac_try='test -s conftest.$ac_objext'
2750
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2751
 
  (eval $ac_try) 2>&5
2752
 
  ac_status=$?
2753
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754
 
  (exit $ac_status); }; }; then
 
3281
  (exit $ac_status); } && {
 
3282
         test -z "$ac_c_werror_flag" ||
 
3283
         test ! -s conftest.err
 
3284
       } && test -s conftest.$ac_objext; then
2755
3285
  ac_cv_header_stdc=yes
2756
3286
else
2757
3287
  echo "$as_me: failed program was:" >&5
2758
3288
sed 's/^/| /' conftest.$ac_ext >&5
2759
3289
 
2760
 
ac_cv_header_stdc=no
 
3290
        ac_cv_header_stdc=no
2761
3291
fi
2762
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3292
 
 
3293
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2763
3294
 
2764
3295
if test $ac_cv_header_stdc = yes; then
2765
3296
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2815
3346
cat >>conftest.$ac_ext <<_ACEOF
2816
3347
/* end confdefs.h.  */
2817
3348
#include <ctype.h>
 
3349
#include <stdlib.h>
2818
3350
#if ((' ' & 0x0FF) == 0x020)
2819
3351
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2820
3352
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2834
3366
  for (i = 0; i < 256; i++)
2835
3367
    if (XOR (islower (i), ISLOWER (i))
2836
3368
        || toupper (i) != TOUPPER (i))
2837
 
      exit(2);
2838
 
  exit (0);
 
3369
      return 2;
 
3370
  return 0;
2839
3371
}
2840
3372
_ACEOF
2841
3373
rm -f conftest$ac_exeext
2842
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2843
 
  (eval $ac_link) 2>&5
 
3374
if { (ac_try="$ac_link"
 
3375
case "(($ac_try" in
 
3376
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3377
  *) ac_try_echo=$ac_try;;
 
3378
esac
 
3379
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3380
  (eval "$ac_link") 2>&5
2844
3381
  ac_status=$?
2845
3382
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846
3383
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2847
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2848
 
  (eval $ac_try) 2>&5
 
3384
  { (case "(($ac_try" in
 
3385
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3386
  *) ac_try_echo=$ac_try;;
 
3387
esac
 
3388
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3389
  (eval "$ac_try") 2>&5
2849
3390
  ac_status=$?
2850
3391
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851
3392
  (exit $ac_status); }; }; then
2858
3399
( exit $ac_status )
2859
3400
ac_cv_header_stdc=no
2860
3401
fi
2861
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2862
 
fi
2863
 
fi
2864
 
fi
2865
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2866
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
3402
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
3403
fi
 
3404
 
 
3405
 
 
3406
fi
 
3407
fi
 
3408
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
3409
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
2867
3410
if test $ac_cv_header_stdc = yes; then
2868
3411
 
2869
3412
cat >>confdefs.h <<\_ACEOF
2877
3420
echo "$as_me: checking libraries..." >&6;}
2878
3421
 
2879
3422
 
2880
 
# Check whether --with-sqlite3 or --without-sqlite3 was given.
 
3423
# Check whether --with-sqlite3 was given.
2881
3424
if test "${with_sqlite3+set}" = set; then
2882
 
  withval="$with_sqlite3"
2883
 
  LIBS="$LIBS -L$withval/lib"
 
3425
  withval=$with_sqlite3; LIBS="$LIBS -L$withval/lib"
2884
3426
   CPPFLAGS="$CPPFLAGS -I$withval/include"
2885
 
fi;
 
3427
fi
 
3428
 
2886
3429
 
2887
3430
{ echo "$as_me:$LINENO: checking for sqlite3 library..." >&5
2888
3431
echo "$as_me: checking for sqlite3 library..." >&6;}
2889
3432
 
2890
 
echo "$as_me:$LINENO: checking for sqlite3_open in -lsqlite3" >&5
2891
 
echo $ECHO_N "checking for sqlite3_open in -lsqlite3... $ECHO_C" >&6
 
3433
{ echo "$as_me:$LINENO: checking for sqlite3_open in -lsqlite3" >&5
 
3434
echo $ECHO_N "checking for sqlite3_open in -lsqlite3... $ECHO_C" >&6; }
2892
3435
if test "${ac_cv_lib_sqlite3_sqlite3_open+set}" = set; then
2893
3436
  echo $ECHO_N "(cached) $ECHO_C" >&6
2894
3437
else
2901
3444
cat >>conftest.$ac_ext <<_ACEOF
2902
3445
/* end confdefs.h.  */
2903
3446
 
2904
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
3447
/* Override any GCC internal prototype to avoid an error.
 
3448
   Use char because int might match the return type of a GCC
 
3449
   builtin and then its argument prototype would still apply.  */
2905
3450
#ifdef __cplusplus
2906
3451
extern "C"
2907
3452
#endif
2908
 
/* We use char because int might match the return type of a gcc2
2909
 
   builtin and then its argument prototype would still apply.  */
2910
3453
char sqlite3_open ();
2911
3454
int
2912
3455
main ()
2913
3456
{
2914
 
sqlite3_open ();
 
3457
return sqlite3_open ();
2915
3458
  ;
2916
3459
  return 0;
2917
3460
}
2918
3461
_ACEOF
2919
3462
rm -f conftest.$ac_objext conftest$ac_exeext
2920
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2921
 
  (eval $ac_link) 2>conftest.er1
 
3463
if { (ac_try="$ac_link"
 
3464
case "(($ac_try" in
 
3465
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3466
  *) ac_try_echo=$ac_try;;
 
3467
esac
 
3468
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3469
  (eval "$ac_link") 2>conftest.er1
2922
3470
  ac_status=$?
2923
3471
  grep -v '^ *+' conftest.er1 >conftest.err
2924
3472
  rm -f conftest.er1
2925
3473
  cat conftest.err >&5
2926
3474
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927
 
  (exit $ac_status); } &&
2928
 
         { ac_try='test -z "$ac_c_werror_flag"
2929
 
                         || test ! -s conftest.err'
2930
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2931
 
  (eval $ac_try) 2>&5
2932
 
  ac_status=$?
2933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934
 
  (exit $ac_status); }; } &&
2935
 
         { ac_try='test -s conftest$ac_exeext'
2936
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937
 
  (eval $ac_try) 2>&5
2938
 
  ac_status=$?
2939
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940
 
  (exit $ac_status); }; }; then
 
3475
  (exit $ac_status); } && {
 
3476
         test -z "$ac_c_werror_flag" ||
 
3477
         test ! -s conftest.err
 
3478
       } && test -s conftest$ac_exeext &&
 
3479
       $as_test_x conftest$ac_exeext; then
2941
3480
  ac_cv_lib_sqlite3_sqlite3_open=yes
2942
3481
else
2943
3482
  echo "$as_me: failed program was:" >&5
2944
3483
sed 's/^/| /' conftest.$ac_ext >&5
2945
3484
 
2946
 
ac_cv_lib_sqlite3_sqlite3_open=no
 
3485
        ac_cv_lib_sqlite3_sqlite3_open=no
2947
3486
fi
2948
 
rm -f conftest.err conftest.$ac_objext \
 
3487
 
 
3488
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2949
3489
      conftest$ac_exeext conftest.$ac_ext
2950
3490
LIBS=$ac_check_lib_save_LIBS
2951
3491
fi
2952
 
echo "$as_me:$LINENO: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
2953
 
echo "${ECHO_T}$ac_cv_lib_sqlite3_sqlite3_open" >&6
 
3492
{ echo "$as_me:$LINENO: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
 
3493
echo "${ECHO_T}$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
2954
3494
if test $ac_cv_lib_sqlite3_sqlite3_open = yes; then
2955
3495
  cat >>confdefs.h <<_ACEOF
2956
3496
#define HAVE_LIBSQLITE3 1
2981
3521
                  inttypes.h stdint.h unistd.h
2982
3522
do
2983
3523
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2984
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
2985
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2986
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
3524
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
3525
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
3526
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
2987
3527
  echo $ECHO_N "(cached) $ECHO_C" >&6
2988
3528
else
2989
3529
  cat >conftest.$ac_ext <<_ACEOF
2997
3537
#include <$ac_header>
2998
3538
_ACEOF
2999
3539
rm -f conftest.$ac_objext
3000
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3001
 
  (eval $ac_compile) 2>conftest.er1
 
3540
if { (ac_try="$ac_compile"
 
3541
case "(($ac_try" in
 
3542
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3543
  *) ac_try_echo=$ac_try;;
 
3544
esac
 
3545
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3546
  (eval "$ac_compile") 2>conftest.er1
3002
3547
  ac_status=$?
3003
3548
  grep -v '^ *+' conftest.er1 >conftest.err
3004
3549
  rm -f conftest.er1
3005
3550
  cat conftest.err >&5
3006
3551
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007
 
  (exit $ac_status); } &&
3008
 
         { ac_try='test -z "$ac_c_werror_flag"
3009
 
                         || test ! -s conftest.err'
3010
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3011
 
  (eval $ac_try) 2>&5
3012
 
  ac_status=$?
3013
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014
 
  (exit $ac_status); }; } &&
3015
 
         { ac_try='test -s conftest.$ac_objext'
3016
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3017
 
  (eval $ac_try) 2>&5
3018
 
  ac_status=$?
3019
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020
 
  (exit $ac_status); }; }; then
 
3552
  (exit $ac_status); } && {
 
3553
         test -z "$ac_c_werror_flag" ||
 
3554
         test ! -s conftest.err
 
3555
       } && test -s conftest.$ac_objext; then
3021
3556
  eval "$as_ac_Header=yes"
3022
3557
else
3023
3558
  echo "$as_me: failed program was:" >&5
3024
3559
sed 's/^/| /' conftest.$ac_ext >&5
3025
3560
 
3026
 
eval "$as_ac_Header=no"
3027
 
fi
3028
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3029
 
fi
3030
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3031
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
3561
        eval "$as_ac_Header=no"
 
3562
fi
 
3563
 
 
3564
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3565
fi
 
3566
ac_res=`eval echo '${'$as_ac_Header'}'`
 
3567
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
3568
echo "${ECHO_T}$ac_res" >&6; }
3032
3569
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3033
3570
  cat >>confdefs.h <<_ACEOF
3034
3571
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3040
3577
 
3041
3578
 
3042
3579
if test "${ac_cv_header_sqlite3_h+set}" = set; then
3043
 
  echo "$as_me:$LINENO: checking for sqlite3.h" >&5
3044
 
echo $ECHO_N "checking for sqlite3.h... $ECHO_C" >&6
 
3580
  { echo "$as_me:$LINENO: checking for sqlite3.h" >&5
 
3581
echo $ECHO_N "checking for sqlite3.h... $ECHO_C" >&6; }
3045
3582
if test "${ac_cv_header_sqlite3_h+set}" = set; then
3046
3583
  echo $ECHO_N "(cached) $ECHO_C" >&6
3047
3584
fi
3048
 
echo "$as_me:$LINENO: result: $ac_cv_header_sqlite3_h" >&5
3049
 
echo "${ECHO_T}$ac_cv_header_sqlite3_h" >&6
 
3585
{ echo "$as_me:$LINENO: result: $ac_cv_header_sqlite3_h" >&5
 
3586
echo "${ECHO_T}$ac_cv_header_sqlite3_h" >&6; }
3050
3587
else
3051
3588
  # Is the header compilable?
3052
 
echo "$as_me:$LINENO: checking sqlite3.h usability" >&5
3053
 
echo $ECHO_N "checking sqlite3.h usability... $ECHO_C" >&6
 
3589
{ echo "$as_me:$LINENO: checking sqlite3.h usability" >&5
 
3590
echo $ECHO_N "checking sqlite3.h usability... $ECHO_C" >&6; }
3054
3591
cat >conftest.$ac_ext <<_ACEOF
3055
3592
/* confdefs.h.  */
3056
3593
_ACEOF
3061
3598
#include <sqlite3.h>
3062
3599
_ACEOF
3063
3600
rm -f conftest.$ac_objext
3064
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3065
 
  (eval $ac_compile) 2>conftest.er1
 
3601
if { (ac_try="$ac_compile"
 
3602
case "(($ac_try" in
 
3603
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3604
  *) ac_try_echo=$ac_try;;
 
3605
esac
 
3606
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3607
  (eval "$ac_compile") 2>conftest.er1
3066
3608
  ac_status=$?
3067
3609
  grep -v '^ *+' conftest.er1 >conftest.err
3068
3610
  rm -f conftest.er1
3069
3611
  cat conftest.err >&5
3070
3612
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071
 
  (exit $ac_status); } &&
3072
 
         { ac_try='test -z "$ac_c_werror_flag"
3073
 
                         || test ! -s conftest.err'
3074
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3075
 
  (eval $ac_try) 2>&5
3076
 
  ac_status=$?
3077
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078
 
  (exit $ac_status); }; } &&
3079
 
         { ac_try='test -s conftest.$ac_objext'
3080
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3081
 
  (eval $ac_try) 2>&5
3082
 
  ac_status=$?
3083
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084
 
  (exit $ac_status); }; }; then
 
3613
  (exit $ac_status); } && {
 
3614
         test -z "$ac_c_werror_flag" ||
 
3615
         test ! -s conftest.err
 
3616
       } && test -s conftest.$ac_objext; then
3085
3617
  ac_header_compiler=yes
3086
3618
else
3087
3619
  echo "$as_me: failed program was:" >&5
3088
3620
sed 's/^/| /' conftest.$ac_ext >&5
3089
3621
 
3090
 
ac_header_compiler=no
 
3622
        ac_header_compiler=no
3091
3623
fi
3092
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3093
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3094
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
3624
 
 
3625
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3626
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
3627
echo "${ECHO_T}$ac_header_compiler" >&6; }
3095
3628
 
3096
3629
# Is the header present?
3097
 
echo "$as_me:$LINENO: checking sqlite3.h presence" >&5
3098
 
echo $ECHO_N "checking sqlite3.h presence... $ECHO_C" >&6
 
3630
{ echo "$as_me:$LINENO: checking sqlite3.h presence" >&5
 
3631
echo $ECHO_N "checking sqlite3.h presence... $ECHO_C" >&6; }
3099
3632
cat >conftest.$ac_ext <<_ACEOF
3100
3633
/* confdefs.h.  */
3101
3634
_ACEOF
3104
3637
/* end confdefs.h.  */
3105
3638
#include <sqlite3.h>
3106
3639
_ACEOF
3107
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3108
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3640
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3641
case "(($ac_try" in
 
3642
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3643
  *) ac_try_echo=$ac_try;;
 
3644
esac
 
3645
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3646
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3109
3647
  ac_status=$?
3110
3648
  grep -v '^ *+' conftest.er1 >conftest.err
3111
3649
  rm -f conftest.er1
3112
3650
  cat conftest.err >&5
3113
3651
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114
 
  (exit $ac_status); } >/dev/null; then
3115
 
  if test -s conftest.err; then
3116
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3117
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3118
 
  else
3119
 
    ac_cpp_err=
3120
 
  fi
3121
 
else
3122
 
  ac_cpp_err=yes
3123
 
fi
3124
 
if test -z "$ac_cpp_err"; then
 
3652
  (exit $ac_status); } >/dev/null && {
 
3653
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3654
         test ! -s conftest.err
 
3655
       }; then
3125
3656
  ac_header_preproc=yes
3126
3657
else
3127
3658
  echo "$as_me: failed program was:" >&5
3129
3660
 
3130
3661
  ac_header_preproc=no
3131
3662
fi
 
3663
 
3132
3664
rm -f conftest.err conftest.$ac_ext
3133
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3134
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
3665
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
3666
echo "${ECHO_T}$ac_header_preproc" >&6; }
3135
3667
 
3136
3668
# So?  What about this header?
3137
3669
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3155
3687
echo "$as_me: WARNING: sqlite3.h: proceeding with the preprocessor's result" >&2;}
3156
3688
    { echo "$as_me:$LINENO: WARNING: sqlite3.h: in the future, the compiler will take precedence" >&5
3157
3689
echo "$as_me: WARNING: sqlite3.h: in the future, the compiler will take precedence" >&2;}
3158
 
    (
3159
 
      cat <<\_ASBOX
 
3690
    ( cat <<\_ASBOX
3160
3691
## ------------------------------------- ##
3161
3692
## Report this to markus.mottl@gmail.com ##
3162
3693
## ------------------------------------- ##
3163
3694
_ASBOX
3164
 
    ) |
3165
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
3695
     ) | sed "s/^/$as_me: WARNING:     /" >&2
3166
3696
    ;;
3167
3697
esac
3168
 
echo "$as_me:$LINENO: checking for sqlite3.h" >&5
3169
 
echo $ECHO_N "checking for sqlite3.h... $ECHO_C" >&6
 
3698
{ echo "$as_me:$LINENO: checking for sqlite3.h" >&5
 
3699
echo $ECHO_N "checking for sqlite3.h... $ECHO_C" >&6; }
3170
3700
if test "${ac_cv_header_sqlite3_h+set}" = set; then
3171
3701
  echo $ECHO_N "(cached) $ECHO_C" >&6
3172
3702
else
3173
3703
  ac_cv_header_sqlite3_h=$ac_header_preproc
3174
3704
fi
3175
 
echo "$as_me:$LINENO: result: $ac_cv_header_sqlite3_h" >&5
3176
 
echo "${ECHO_T}$ac_cv_header_sqlite3_h" >&6
 
3705
{ echo "$as_me:$LINENO: result: $ac_cv_header_sqlite3_h" >&5
 
3706
echo "${ECHO_T}$ac_cv_header_sqlite3_h" >&6; }
3177
3707
 
3178
3708
fi
3179
3709
if test $ac_cv_header_sqlite3_h = yes; then
3190
3720
echo "$as_me: checking for OCaml header files..." >&6;}
3191
3721
CAMLLOC=`$ocamlc -where`
3192
3722
CPPFLAGS="$CPPFLAGS -I$CAMLLOC"
3193
 
          ac_config_files="$ac_config_files Makefile"
 
3723
ac_config_files="$ac_config_files Makefile"
 
3724
 
3194
3725
cat >confcache <<\_ACEOF
3195
3726
# This file is a shell script that caches the results of configure
3196
3727
# tests run on this system so they can be shared between configure
3209
3740
 
3210
3741
# The following way of writing the cache mishandles newlines in values,
3211
3742
# but we know of no workaround that is simple, portable, and efficient.
3212
 
# So, don't put newlines in cache variables' values.
 
3743
# So, we kill variables containing newlines.
3213
3744
# Ultrix sh set writes to stderr and can't be redirected directly,
3214
3745
# and sets the high bit in the cache file unless we assign to the vars.
3215
 
{
 
3746
(
 
3747
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
3748
    eval ac_val=\$$ac_var
 
3749
    case $ac_val in #(
 
3750
    *${as_nl}*)
 
3751
      case $ac_var in #(
 
3752
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
3753
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
3754
      esac
 
3755
      case $ac_var in #(
 
3756
      _ | IFS | as_nl) ;; #(
 
3757
      *) $as_unset $ac_var ;;
 
3758
      esac ;;
 
3759
    esac
 
3760
  done
 
3761
 
3216
3762
  (set) 2>&1 |
3217
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
3218
 
    *ac_space=\ *)
 
3763
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
3764
    *${as_nl}ac_space=\ *)
3219
3765
      # `set' does not quote correctly, so add quotes (double-quote
3220
3766
      # substitution turns \\\\ into \\, and sed turns \\ into \).
3221
3767
      sed -n \
3222
3768
        "s/'/'\\\\''/g;
3223
3769
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3224
 
      ;;
 
3770
      ;; #(
3225
3771
    *)
3226
3772
      # `set' quotes correctly as required by POSIX, so do not add quotes.
3227
 
      sed -n \
3228
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
3773
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3229
3774
      ;;
3230
 
    esac;
3231
 
} |
 
3775
    esac |
 
3776
    sort
 
3777
) |
3232
3778
  sed '
 
3779
     /^ac_cv_env_/b end
3233
3780
     t clear
3234
 
     : clear
 
3781
     :clear
3235
3782
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3236
3783
     t end
3237
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3238
 
     : end' >>confcache
3239
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
3240
 
  if test -w $cache_file; then
3241
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
3784
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
3785
     :end' >>confcache
 
3786
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
3787
  if test -w "$cache_file"; then
 
3788
    test "x$cache_file" != "x/dev/null" &&
 
3789
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
3790
echo "$as_me: updating cache $cache_file" >&6;}
3242
3791
    cat confcache >$cache_file
3243
3792
  else
3244
 
    echo "not updating unwritable cache $cache_file"
 
3793
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
3794
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3245
3795
  fi
3246
3796
fi
3247
3797
rm -f confcache
3250
3800
# Let make expand exec_prefix.
3251
3801
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3252
3802
 
3253
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3254
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3255
 
# trailing colons and then remove the whole line if VPATH becomes empty
3256
 
# (actually we leave an empty line to preserve line numbers).
3257
 
if test "x$srcdir" = x.; then
3258
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
3259
 
s/:*\$(srcdir):*/:/;
3260
 
s/:*\${srcdir}:*/:/;
3261
 
s/:*@srcdir@:*/:/;
3262
 
s/^\([^=]*=[     ]*\):*/\1/;
3263
 
s/:*$//;
3264
 
s/^[^=]*=[       ]*$//;
3265
 
}'
3266
 
fi
3267
 
 
3268
3803
# Transform confdefs.h into DEFS.
3269
3804
# Protect against shell expansion while executing Makefile rules.
3270
3805
# Protect against Makefile macro expansion.
3271
3806
#
3272
3807
# If the first sed substitution is executed (which looks for macros that
3273
 
# take arguments), then we branch to the quote section.  Otherwise,
 
3808
# take arguments), then branch to the quote section.  Otherwise,
3274
3809
# look for a macro that doesn't take arguments.
3275
 
cat >confdef2opt.sed <<\_ACEOF
 
3810
ac_script='
3276
3811
t clear
3277
 
: clear
3278
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
3279
 
t quote
3280
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
3281
 
t quote
3282
 
d
3283
 
: quote
3284
 
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
3285
 
s,\[,\\&,g
3286
 
s,\],\\&,g
3287
 
s,\$,$$,g
3288
 
p
3289
 
_ACEOF
3290
 
# We use echo to avoid assuming a particular line-breaking character.
3291
 
# The extra dot is to prevent the shell from consuming trailing
3292
 
# line-breaks from the sub-command output.  A line-break within
3293
 
# single-quotes doesn't work because, if this script is created in a
3294
 
# platform that uses two characters for line-breaks (e.g., DOS), tr
3295
 
# would break.
3296
 
ac_LF_and_DOT=`echo; echo .`
3297
 
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3298
 
rm -f confdef2opt.sed
 
3812
:clear
 
3813
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
3814
t quote
 
3815
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
3816
t quote
 
3817
b any
 
3818
:quote
 
3819
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
3820
s/\[/\\&/g
 
3821
s/\]/\\&/g
 
3822
s/\$/$$/g
 
3823
H
 
3824
:any
 
3825
${
 
3826
        g
 
3827
        s/^\n//
 
3828
        s/\n/ /g
 
3829
        p
 
3830
}
 
3831
'
 
3832
DEFS=`sed -n "$ac_script" confdefs.h`
3299
3833
 
3300
3834
 
3301
3835
ac_libobjs=
3302
3836
ac_ltlibobjs=
3303
3837
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3304
3838
  # 1. Remove the extension, and $U if already installed.
3305
 
  ac_i=`echo "$ac_i" |
3306
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3307
 
  # 2. Add them.
3308
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3309
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
3839
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
3840
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
3841
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
3842
  #    will be set to the directory where LIBOBJS objects are built.
 
3843
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
3844
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3310
3845
done
3311
3846
LIBOBJS=$ac_libobjs
3312
3847
 
3337
3872
## M4sh Initialization.  ##
3338
3873
## --------------------- ##
3339
3874
 
3340
 
# Be Bourne compatible
 
3875
# Be more Bourne compatible
 
3876
DUALCASE=1; export DUALCASE # for MKS sh
3341
3877
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3342
3878
  emulate sh
3343
3879
  NULLCMD=:
3344
3880
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3345
3881
  # is contrary to our usage.  Disable this feature.
3346
3882
  alias -g '${1+"$@"}'='"$@"'
3347
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3348
 
  set -o posix
3349
 
fi
3350
 
DUALCASE=1; export DUALCASE # for MKS sh
 
3883
  setopt NO_GLOB_SUBST
 
3884
else
 
3885
  case `(set -o) 2>/dev/null` in
 
3886
  *posix*) set -o posix ;;
 
3887
esac
 
3888
 
 
3889
fi
 
3890
 
 
3891
 
 
3892
 
 
3893
 
 
3894
# PATH needs CR
 
3895
# Avoid depending upon Character Ranges.
 
3896
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
3897
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
3898
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
3899
as_cr_digits='0123456789'
 
3900
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
3901
 
 
3902
# The user is always right.
 
3903
if test "${PATH_SEPARATOR+set}" != set; then
 
3904
  echo "#! /bin/sh" >conf$$.sh
 
3905
  echo  "exit 0"   >>conf$$.sh
 
3906
  chmod +x conf$$.sh
 
3907
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
3908
    PATH_SEPARATOR=';'
 
3909
  else
 
3910
    PATH_SEPARATOR=:
 
3911
  fi
 
3912
  rm -f conf$$.sh
 
3913
fi
3351
3914
 
3352
3915
# Support unset when possible.
3353
3916
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3357
3920
fi
3358
3921
 
3359
3922
 
 
3923
# IFS
 
3924
# We need space, tab and new line, in precisely that order.  Quoting is
 
3925
# there to prevent editors from complaining about space-tab.
 
3926
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
3927
# splitting by setting IFS to empty value.)
 
3928
as_nl='
 
3929
'
 
3930
IFS=" ""        $as_nl"
 
3931
 
 
3932
# Find who we are.  Look in the path if we contain no directory separator.
 
3933
case $0 in
 
3934
  *[\\/]* ) as_myself=$0 ;;
 
3935
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3936
for as_dir in $PATH
 
3937
do
 
3938
  IFS=$as_save_IFS
 
3939
  test -z "$as_dir" && as_dir=.
 
3940
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
3941
done
 
3942
IFS=$as_save_IFS
 
3943
 
 
3944
     ;;
 
3945
esac
 
3946
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
3947
# in which case we are not to be found in the path.
 
3948
if test "x$as_myself" = x; then
 
3949
  as_myself=$0
 
3950
fi
 
3951
if test ! -f "$as_myself"; then
 
3952
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
3953
  { (exit 1); exit 1; }
 
3954
fi
 
3955
 
3360
3956
# Work around bugs in pre-3.0 UWIN ksh.
3361
 
$as_unset ENV MAIL MAILPATH
 
3957
for as_var in ENV MAIL MAILPATH
 
3958
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
3959
done
3362
3960
PS1='$ '
3363
3961
PS2='> '
3364
3962
PS4='+ '
3372
3970
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3373
3971
    eval $as_var=C; export $as_var
3374
3972
  else
3375
 
    $as_unset $as_var
 
3973
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3376
3974
  fi
3377
3975
done
3378
3976
 
3379
3977
# Required to use basename.
3380
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
3978
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
3979
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3381
3980
  as_expr=expr
3382
3981
else
3383
3982
  as_expr=false
3384
3983
fi
3385
3984
 
3386
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
3985
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3387
3986
  as_basename=basename
3388
3987
else
3389
3988
  as_basename=false
3391
3990
 
3392
3991
 
3393
3992
# Name of the executable.
3394
 
as_me=`$as_basename "$0" ||
 
3993
as_me=`$as_basename -- "$0" ||
3395
3994
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3396
3995
         X"$0" : 'X\(//\)$' \| \
3397
 
         X"$0" : 'X\(/\)$' \| \
3398
 
         .     : '\(.\)' 2>/dev/null ||
 
3996
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3399
3997
echo X/"$0" |
3400
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3401
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
3402
 
          /^X\/\(\/\).*/{ s//\1/; q; }
3403
 
          s/.*/./; q'`
3404
 
 
3405
 
 
3406
 
# PATH needs CR, and LINENO needs CR and PATH.
3407
 
# Avoid depending upon Character Ranges.
3408
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3409
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3410
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3411
 
as_cr_digits='0123456789'
3412
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
3413
 
 
3414
 
# The user is always right.
3415
 
if test "${PATH_SEPARATOR+set}" != set; then
3416
 
  echo "#! /bin/sh" >conf$$.sh
3417
 
  echo  "exit 0"   >>conf$$.sh
3418
 
  chmod +x conf$$.sh
3419
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3420
 
    PATH_SEPARATOR=';'
3421
 
  else
3422
 
    PATH_SEPARATOR=:
3423
 
  fi
3424
 
  rm -f conf$$.sh
3425
 
fi
3426
 
 
3427
 
 
3428
 
  as_lineno_1=$LINENO
3429
 
  as_lineno_2=$LINENO
3430
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3431
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
3432
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
3433
 
  # Find who we are.  Look in the path if we contain no path at all
3434
 
  # relative or not.
3435
 
  case $0 in
3436
 
    *[\\/]* ) as_myself=$0 ;;
3437
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3438
 
for as_dir in $PATH
3439
 
do
3440
 
  IFS=$as_save_IFS
3441
 
  test -z "$as_dir" && as_dir=.
3442
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3443
 
done
3444
 
 
3445
 
       ;;
3446
 
  esac
3447
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
3448
 
  # in which case we are not to be found in the path.
3449
 
  if test "x$as_myself" = x; then
3450
 
    as_myself=$0
3451
 
  fi
3452
 
  if test ! -f "$as_myself"; then
3453
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3454
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3455
 
   { (exit 1); exit 1; }; }
3456
 
  fi
3457
 
  case $CONFIG_SHELL in
3458
 
  '')
3459
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3460
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3461
 
do
3462
 
  IFS=$as_save_IFS
3463
 
  test -z "$as_dir" && as_dir=.
3464
 
  for as_base in sh bash ksh sh5; do
3465
 
         case $as_dir in
3466
 
         /*)
3467
 
           if ("$as_dir/$as_base" -c '
3468
 
  as_lineno_1=$LINENO
3469
 
  as_lineno_2=$LINENO
3470
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3471
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
3472
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3473
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3474
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3475
 
             CONFIG_SHELL=$as_dir/$as_base
3476
 
             export CONFIG_SHELL
3477
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3478
 
           fi;;
3479
 
         esac
3480
 
       done
3481
 
done
3482
 
;;
3483
 
  esac
 
3998
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
3999
            s//\1/
 
4000
            q
 
4001
          }
 
4002
          /^X\/\(\/\/\)$/{
 
4003
            s//\1/
 
4004
            q
 
4005
          }
 
4006
          /^X\/\(\/\).*/{
 
4007
            s//\1/
 
4008
            q
 
4009
          }
 
4010
          s/.*/./; q'`
 
4011
 
 
4012
# CDPATH.
 
4013
$as_unset CDPATH
 
4014
 
 
4015
 
 
4016
 
 
4017
  as_lineno_1=$LINENO
 
4018
  as_lineno_2=$LINENO
 
4019
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
4020
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3484
4021
 
3485
4022
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3486
4023
  # uniformly replaced by the line number.  The first 'sed' inserts a
3487
 
  # line-number line before each line; the second 'sed' does the real
3488
 
  # work.  The second script uses 'N' to pair each line-number line
3489
 
  # with the numbered line, and appends trailing '-' during
3490
 
  # substitution so that $LINENO is not a special case at line end.
 
4024
  # line-number line after each line using $LINENO; the second 'sed'
 
4025
  # does the real work.  The second script uses 'N' to pair each
 
4026
  # line-number line with the line containing $LINENO, and appends
 
4027
  # trailing '-' during substitution so that $LINENO is not a special
 
4028
  # case at line end.
3491
4029
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3492
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
3493
 
  sed '=' <$as_myself |
 
4030
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
4031
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
4032
  sed -n '
 
4033
    p
 
4034
    /[$]LINENO/=
 
4035
  ' <$as_myself |
3494
4036
    sed '
 
4037
      s/[$]LINENO.*/&-/
 
4038
      t lineno
 
4039
      b
 
4040
      :lineno
3495
4041
      N
3496
 
      s,$,-,
3497
 
      : loop
3498
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
4042
      :loop
 
4043
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3499
4044
      t loop
3500
 
      s,-$,,
3501
 
      s,^['$as_cr_digits']*\n,,
 
4045
      s/-\n.*//
3502
4046
    ' >$as_me.lineno &&
3503
 
  chmod +x $as_me.lineno ||
3504
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3505
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
4047
  chmod +x "$as_me.lineno" ||
 
4048
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3506
4049
   { (exit 1); exit 1; }; }
3507
4050
 
3508
4051
  # Don't try to exec as it changes $[0], causing all sort of problems
3509
4052
  # (the dirname of $[0] is not the place where we might find the
3510
 
  # original and so on.  Autoconf is especially sensible to this).
3511
 
  . ./$as_me.lineno
 
4053
  # original and so on.  Autoconf is especially sensitive to this).
 
4054
  . "./$as_me.lineno"
3512
4055
  # Exit status is that of the last command.
3513
4056
  exit
3514
4057
}
3515
4058
 
3516
4059
 
3517
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3518
 
  *c*,-n*) ECHO_N= ECHO_C='
3519
 
' ECHO_T='      ' ;;
3520
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3521
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
4060
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
4061
  as_dirname=dirname
 
4062
else
 
4063
  as_dirname=false
 
4064
fi
 
4065
 
 
4066
ECHO_C= ECHO_N= ECHO_T=
 
4067
case `echo -n x` in
 
4068
-n*)
 
4069
  case `echo 'x\c'` in
 
4070
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
4071
  *)   ECHO_C='\c';;
 
4072
  esac;;
 
4073
*)
 
4074
  ECHO_N='-n';;
3522
4075
esac
3523
4076
 
3524
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
4077
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
4078
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3525
4079
  as_expr=expr
3526
4080
else
3527
4081
  as_expr=false
3528
4082
fi
3529
4083
 
3530
4084
rm -f conf$$ conf$$.exe conf$$.file
 
4085
if test -d conf$$.dir; then
 
4086
  rm -f conf$$.dir/conf$$.file
 
4087
else
 
4088
  rm -f conf$$.dir
 
4089
  mkdir conf$$.dir
 
4090
fi
3531
4091
echo >conf$$.file
3532
4092
if ln -s conf$$.file conf$$ 2>/dev/null; then
3533
 
  # We could just check for DJGPP; but this test a) works b) is more generic
3534
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3535
 
  if test -f conf$$.exe; then
3536
 
    # Don't use ln at all; we don't have any links
 
4093
  as_ln_s='ln -s'
 
4094
  # ... but there are two gotchas:
 
4095
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
4096
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
4097
  # In both cases, we have to default to `cp -p'.
 
4098
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3537
4099
    as_ln_s='cp -p'
3538
 
  else
3539
 
    as_ln_s='ln -s'
3540
 
  fi
3541
4100
elif ln conf$$.file conf$$ 2>/dev/null; then
3542
4101
  as_ln_s=ln
3543
4102
else
3544
4103
  as_ln_s='cp -p'
3545
4104
fi
3546
 
rm -f conf$$ conf$$.exe conf$$.file
 
4105
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
4106
rmdir conf$$.dir 2>/dev/null
3547
4107
 
3548
4108
if mkdir -p . 2>/dev/null; then
3549
4109
  as_mkdir_p=:
3552
4112
  as_mkdir_p=false
3553
4113
fi
3554
4114
 
3555
 
as_executable_p="test -f"
 
4115
if test -x / >/dev/null 2>&1; then
 
4116
  as_test_x='test -x'
 
4117
else
 
4118
  if ls -dL / >/dev/null 2>&1; then
 
4119
    as_ls_L_option=L
 
4120
  else
 
4121
    as_ls_L_option=
 
4122
  fi
 
4123
  as_test_x='
 
4124
    eval sh -c '\''
 
4125
      if test -d "$1"; then
 
4126
        test -d "$1/.";
 
4127
      else
 
4128
        case $1 in
 
4129
        -*)set "./$1";;
 
4130
        esac;
 
4131
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
4132
        ???[sx]*):;;*)false;;esac;fi
 
4133
    '\'' sh
 
4134
  '
 
4135
fi
 
4136
as_executable_p=$as_test_x
3556
4137
 
3557
4138
# Sed expression to map a string onto a valid CPP name.
3558
4139
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3561
4142
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3562
4143
 
3563
4144
 
3564
 
# IFS
3565
 
# We need space, tab and new line, in precisely that order.
3566
 
as_nl='
3567
 
'
3568
 
IFS="   $as_nl"
3569
 
 
3570
 
# CDPATH.
3571
 
$as_unset CDPATH
3572
 
 
3573
4145
exec 6>&1
3574
4146
 
3575
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
4147
# Save the log message, to keep $[0] and so on meaningful, and to
3576
4148
# report actual input values of CONFIG_FILES etc. instead of their
3577
 
# values after options handling.  Logging --version etc. is OK.
3578
 
exec 5>>config.log
3579
 
{
3580
 
  echo
3581
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3582
 
## Running $as_me. ##
3583
 
_ASBOX
3584
 
} >&5
3585
 
cat >&5 <<_CSEOF
3586
 
 
3587
 
This file was extended by ocaml-sqlite $as_me 0.16.0, which was
3588
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
4149
# values after options handling.
 
4150
ac_log="
 
4151
This file was extended by ocaml-sqlite $as_me 0.23.0, which was
 
4152
generated by GNU Autoconf 2.61.  Invocation command line was
3589
4153
 
3590
4154
  CONFIG_FILES    = $CONFIG_FILES
3591
4155
  CONFIG_HEADERS  = $CONFIG_HEADERS
3593
4157
  CONFIG_COMMANDS = $CONFIG_COMMANDS
3594
4158
  $ $0 $@
3595
4159
 
3596
 
_CSEOF
3597
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3598
 
echo >&5
 
4160
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
4161
"
 
4162
 
3599
4163
_ACEOF
3600
4164
 
 
4165
cat >>$CONFIG_STATUS <<_ACEOF
3601
4166
# Files that config.status was made for.
3602
 
if test -n "$ac_config_files"; then
3603
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3604
 
fi
3605
 
 
3606
 
if test -n "$ac_config_headers"; then
3607
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3608
 
fi
3609
 
 
3610
 
if test -n "$ac_config_links"; then
3611
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3612
 
fi
3613
 
 
3614
 
if test -n "$ac_config_commands"; then
3615
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3616
 
fi
 
4167
config_files="$ac_config_files"
 
4168
 
 
4169
_ACEOF
3617
4170
 
3618
4171
cat >>$CONFIG_STATUS <<\_ACEOF
3619
 
 
3620
4172
ac_cs_usage="\
3621
4173
\`$as_me' instantiates files from templates according to the
3622
4174
current configuration.
3624
4176
Usage: $0 [OPTIONS] [FILE]...
3625
4177
 
3626
4178
  -h, --help       print this help, then exit
3627
 
  -V, --version    print version number, then exit
 
4179
  -V, --version    print version number and configuration settings, then exit
3628
4180
  -q, --quiet      do not print progress messages
3629
4181
  -d, --debug      don't remove temporary files
3630
4182
      --recheck    update $as_me by reconfiguring in the same conditions
3635
4187
$config_files
3636
4188
 
3637
4189
Report bugs to <bug-autoconf@gnu.org>."
 
4190
 
3638
4191
_ACEOF
3639
 
 
3640
4192
cat >>$CONFIG_STATUS <<_ACEOF
3641
4193
ac_cs_version="\\
3642
 
ocaml-sqlite config.status 0.16.0
3643
 
configured by $0, generated by GNU Autoconf 2.59,
3644
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
4194
ocaml-sqlite config.status 0.23.0
 
4195
configured by $0, generated by GNU Autoconf 2.61,
 
4196
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3645
4197
 
3646
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
4198
Copyright (C) 2006 Free Software Foundation, Inc.
3647
4199
This config.status script is free software; the Free Software Foundation
3648
4200
gives unlimited permission to copy, distribute and modify it."
3649
 
srcdir=$srcdir
3650
 
INSTALL="$INSTALL"
 
4201
 
 
4202
ac_pwd='$ac_pwd'
 
4203
srcdir='$srcdir'
 
4204
INSTALL='$INSTALL'
3651
4205
_ACEOF
3652
4206
 
3653
4207
cat >>$CONFIG_STATUS <<\_ACEOF
3658
4212
do
3659
4213
  case $1 in
3660
4214
  --*=*)
3661
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
3662
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
4215
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
4216
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3663
4217
    ac_shift=:
3664
4218
    ;;
3665
 
  -*)
 
4219
  *)
3666
4220
    ac_option=$1
3667
4221
    ac_optarg=$2
3668
4222
    ac_shift=shift
3669
4223
    ;;
3670
 
  *) # This is not an option, so the user has probably given explicit
3671
 
     # arguments.
3672
 
     ac_option=$1
3673
 
     ac_need_defaults=false;;
3674
4224
  esac
3675
4225
 
3676
4226
  case $ac_option in
3677
4227
  # Handling of the options.
3678
 
_ACEOF
3679
 
cat >>$CONFIG_STATUS <<\_ACEOF
3680
4228
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3681
4229
    ac_cs_recheck=: ;;
3682
 
  --version | --vers* | -V )
3683
 
    echo "$ac_cs_version"; exit 0 ;;
3684
 
  --he | --h)
3685
 
    # Conflict between --help and --header
3686
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
3687
 
Try \`$0 --help' for more information." >&5
3688
 
echo "$as_me: error: ambiguous option: $1
3689
 
Try \`$0 --help' for more information." >&2;}
3690
 
   { (exit 1); exit 1; }; };;
3691
 
  --help | --hel | -h )
3692
 
    echo "$ac_cs_usage"; exit 0 ;;
3693
 
  --debug | --d* | -d )
 
4230
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
4231
    echo "$ac_cs_version"; exit ;;
 
4232
  --debug | --debu | --deb | --de | --d | -d )
3694
4233
    debug=: ;;
3695
4234
  --file | --fil | --fi | --f )
3696
4235
    $ac_shift
3697
4236
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3698
4237
    ac_need_defaults=false;;
3699
 
  --header | --heade | --head | --hea )
3700
 
    $ac_shift
3701
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3702
 
    ac_need_defaults=false;;
 
4238
  --he | --h |  --help | --hel | -h )
 
4239
    echo "$ac_cs_usage"; exit ;;
3703
4240
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3704
4241
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3705
4242
    ac_cs_silent=: ;;
3706
4243
 
3707
4244
  # This is an error.
3708
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3709
 
Try \`$0 --help' for more information." >&5
3710
 
echo "$as_me: error: unrecognized option: $1
3711
 
Try \`$0 --help' for more information." >&2;}
 
4245
  -*) { echo "$as_me: error: unrecognized option: $1
 
4246
Try \`$0 --help' for more information." >&2
3712
4247
   { (exit 1); exit 1; }; } ;;
3713
4248
 
3714
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
4249
  *) ac_config_targets="$ac_config_targets $1"
 
4250
     ac_need_defaults=false ;;
3715
4251
 
3716
4252
  esac
3717
4253
  shift
3727
4263
_ACEOF
3728
4264
cat >>$CONFIG_STATUS <<_ACEOF
3729
4265
if \$ac_cs_recheck; then
3730
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3731
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
4266
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
4267
  CONFIG_SHELL=$SHELL
 
4268
  export CONFIG_SHELL
 
4269
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3732
4270
fi
3733
4271
 
3734
4272
_ACEOF
3735
 
 
3736
 
 
3737
 
 
3738
 
 
3739
 
 
3740
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
4273
cat >>$CONFIG_STATUS <<\_ACEOF
 
4274
exec 5>>config.log
 
4275
{
 
4276
  echo
 
4277
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
4278
## Running $as_me. ##
 
4279
_ASBOX
 
4280
  echo "$ac_log"
 
4281
} >&5
 
4282
 
 
4283
_ACEOF
 
4284
cat >>$CONFIG_STATUS <<_ACEOF
 
4285
_ACEOF
 
4286
 
 
4287
cat >>$CONFIG_STATUS <<\_ACEOF
 
4288
 
 
4289
# Handling of arguments.
3741
4290
for ac_config_target in $ac_config_targets
3742
4291
do
3743
 
  case "$ac_config_target" in
3744
 
  # Handling of arguments.
3745
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
4292
  case $ac_config_target in
 
4293
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
4294
 
3746
4295
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3747
4296
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3748
4297
   { (exit 1); exit 1; }; };;
3749
4298
  esac
3750
4299
done
3751
4300
 
 
4301
 
3752
4302
# If the user did not use the arguments to specify the items to instantiate,
3753
4303
# then the envvar interface is used.  Set only those that are not.
3754
4304
# We use the long form for the default assignment because of an extremely
3758
4308
fi
3759
4309
 
3760
4310
# Have a temporary directory for convenience.  Make it in the build tree
3761
 
# simply because there is no reason to put it here, and in addition,
 
4311
# simply because there is no reason against having it here, and in addition,
3762
4312
# creating and moving files from /tmp can sometimes cause problems.
3763
 
# Create a temporary directory, and hook for its removal unless debugging.
 
4313
# Hook for its removal unless debugging.
 
4314
# Note that there is a small window in which the directory will not be cleaned:
 
4315
# after its creation but before its name has been assigned to `$tmp'.
3764
4316
$debug ||
3765
4317
{
3766
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
4318
  tmp=
 
4319
  trap 'exit_status=$?
 
4320
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
4321
' 0
3767
4322
  trap '{ (exit 1); exit 1; }' 1 2 13 15
3768
4323
}
3769
 
 
3770
4324
# Create a (secure) tmp directory for tmp files.
3771
4325
 
3772
4326
{
3773
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
4327
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3774
4328
  test -n "$tmp" && test -d "$tmp"
3775
4329
}  ||
3776
4330
{
3777
 
  tmp=./confstat$$-$RANDOM
3778
 
  (umask 077 && mkdir $tmp)
 
4331
  tmp=./conf$$-$RANDOM
 
4332
  (umask 077 && mkdir "$tmp")
3779
4333
} ||
3780
4334
{
3781
4335
   echo "$me: cannot create a temporary directory in ." >&2
3782
4336
   { (exit 1); exit 1; }
3783
4337
}
3784
4338
 
3785
 
_ACEOF
3786
 
 
3787
 
cat >>$CONFIG_STATUS <<_ACEOF
3788
 
 
3789
4339
#
3790
 
# CONFIG_FILES section.
 
4340
# Set up the sed scripts for CONFIG_FILES section.
3791
4341
#
3792
4342
 
3793
4343
# No need to generate the scripts if there are no CONFIG_FILES.
3794
4344
# This happens for instance when ./config.status config.h
3795
 
if test -n "\$CONFIG_FILES"; then
3796
 
  # Protect against being on the right side of a sed subst in config.status.
3797
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3798
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3799
 
s,@SHELL@,$SHELL,;t t
3800
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3801
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3802
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3803
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3804
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3805
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3806
 
s,@exec_prefix@,$exec_prefix,;t t
3807
 
s,@prefix@,$prefix,;t t
3808
 
s,@program_transform_name@,$program_transform_name,;t t
3809
 
s,@bindir@,$bindir,;t t
3810
 
s,@sbindir@,$sbindir,;t t
3811
 
s,@libexecdir@,$libexecdir,;t t
3812
 
s,@datadir@,$datadir,;t t
3813
 
s,@sysconfdir@,$sysconfdir,;t t
3814
 
s,@sharedstatedir@,$sharedstatedir,;t t
3815
 
s,@localstatedir@,$localstatedir,;t t
3816
 
s,@libdir@,$libdir,;t t
3817
 
s,@includedir@,$includedir,;t t
3818
 
s,@oldincludedir@,$oldincludedir,;t t
3819
 
s,@infodir@,$infodir,;t t
3820
 
s,@mandir@,$mandir,;t t
3821
 
s,@build_alias@,$build_alias,;t t
3822
 
s,@host_alias@,$host_alias,;t t
3823
 
s,@target_alias@,$target_alias,;t t
3824
 
s,@DEFS@,$DEFS,;t t
3825
 
s,@ECHO_C@,$ECHO_C,;t t
3826
 
s,@ECHO_N@,$ECHO_N,;t t
3827
 
s,@ECHO_T@,$ECHO_T,;t t
3828
 
s,@LIBS@,$LIBS,;t t
3829
 
s,@ocamlc@,$ocamlc,;t t
3830
 
s,@ocamlopt@,$ocamlopt,;t t
3831
 
s,@ocamlfind@,$ocamlfind,;t t
3832
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3833
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3834
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3835
 
s,@INSTALL@,$INSTALL,;t t
3836
 
s,@CC@,$CC,;t t
3837
 
s,@CFLAGS@,$CFLAGS,;t t
3838
 
s,@LDFLAGS@,$LDFLAGS,;t t
3839
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
3840
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
3841
 
s,@EXEEXT@,$EXEEXT,;t t
3842
 
s,@OBJEXT@,$OBJEXT,;t t
3843
 
s,@CPP@,$CPP,;t t
3844
 
s,@EGREP@,$EGREP,;t t
3845
 
s,@LIBOBJS@,$LIBOBJS,;t t
3846
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3847
 
CEOF
3848
 
 
3849
 
_ACEOF
3850
 
 
3851
 
  cat >>$CONFIG_STATUS <<\_ACEOF
3852
 
  # Split the substitutions into bite-sized pieces for seds with
3853
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
3854
 
  ac_max_sed_lines=48
3855
 
  ac_sed_frag=1 # Number of current file.
3856
 
  ac_beg=1 # First line for current file.
3857
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
3858
 
  ac_more_lines=:
3859
 
  ac_sed_cmds=
3860
 
  while $ac_more_lines; do
3861
 
    if test $ac_beg -gt 1; then
3862
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3863
 
    else
3864
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3865
 
    fi
3866
 
    if test ! -s $tmp/subs.frag; then
3867
 
      ac_more_lines=false
3868
 
    else
3869
 
      # The purpose of the label and of the branching condition is to
3870
 
      # speed up the sed processing (if there are no `@' at all, there
3871
 
      # is no need to browse any of the substitutions).
3872
 
      # These are the two extra sed commands mentioned above.
3873
 
      (echo ':t
3874
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3875
 
      if test -z "$ac_sed_cmds"; then
3876
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3877
 
      else
3878
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3879
 
      fi
3880
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
3881
 
      ac_beg=$ac_end
3882
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
3883
 
    fi
3884
 
  done
3885
 
  if test -z "$ac_sed_cmds"; then
3886
 
    ac_sed_cmds=cat
 
4345
if test -n "$CONFIG_FILES"; then
 
4346
 
 
4347
_ACEOF
 
4348
 
 
4349
 
 
4350
 
 
4351
ac_delim='%!_!# '
 
4352
for ac_last_try in false false false false false :; do
 
4353
  cat >conf$$subs.sed <<_ACEOF
 
4354
SHELL!$SHELL$ac_delim
 
4355
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
4356
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
4357
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
4358
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
4359
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
4360
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
4361
exec_prefix!$exec_prefix$ac_delim
 
4362
prefix!$prefix$ac_delim
 
4363
program_transform_name!$program_transform_name$ac_delim
 
4364
bindir!$bindir$ac_delim
 
4365
sbindir!$sbindir$ac_delim
 
4366
libexecdir!$libexecdir$ac_delim
 
4367
datarootdir!$datarootdir$ac_delim
 
4368
datadir!$datadir$ac_delim
 
4369
sysconfdir!$sysconfdir$ac_delim
 
4370
sharedstatedir!$sharedstatedir$ac_delim
 
4371
localstatedir!$localstatedir$ac_delim
 
4372
includedir!$includedir$ac_delim
 
4373
oldincludedir!$oldincludedir$ac_delim
 
4374
docdir!$docdir$ac_delim
 
4375
infodir!$infodir$ac_delim
 
4376
htmldir!$htmldir$ac_delim
 
4377
dvidir!$dvidir$ac_delim
 
4378
pdfdir!$pdfdir$ac_delim
 
4379
psdir!$psdir$ac_delim
 
4380
libdir!$libdir$ac_delim
 
4381
localedir!$localedir$ac_delim
 
4382
mandir!$mandir$ac_delim
 
4383
DEFS!$DEFS$ac_delim
 
4384
ECHO_C!$ECHO_C$ac_delim
 
4385
ECHO_N!$ECHO_N$ac_delim
 
4386
ECHO_T!$ECHO_T$ac_delim
 
4387
LIBS!$LIBS$ac_delim
 
4388
build_alias!$build_alias$ac_delim
 
4389
host_alias!$host_alias$ac_delim
 
4390
target_alias!$target_alias$ac_delim
 
4391
ocamlc!$ocamlc$ac_delim
 
4392
ocamlopt!$ocamlopt$ac_delim
 
4393
ocamlfind!$ocamlfind$ac_delim
 
4394
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
4395
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
4396
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
4397
INSTALL!$INSTALL$ac_delim
 
4398
CC!$CC$ac_delim
 
4399
CFLAGS!$CFLAGS$ac_delim
 
4400
LDFLAGS!$LDFLAGS$ac_delim
 
4401
CPPFLAGS!$CPPFLAGS$ac_delim
 
4402
ac_ct_CC!$ac_ct_CC$ac_delim
 
4403
EXEEXT!$EXEEXT$ac_delim
 
4404
OBJEXT!$OBJEXT$ac_delim
 
4405
CPP!$CPP$ac_delim
 
4406
GREP!$GREP$ac_delim
 
4407
EGREP!$EGREP$ac_delim
 
4408
LIBOBJS!$LIBOBJS$ac_delim
 
4409
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
4410
_ACEOF
 
4411
 
 
4412
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 56; then
 
4413
    break
 
4414
  elif $ac_last_try; then
 
4415
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
4416
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
4417
   { (exit 1); exit 1; }; }
 
4418
  else
 
4419
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3887
4420
  fi
 
4421
done
 
4422
 
 
4423
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
4424
if test -n "$ac_eof"; then
 
4425
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
4426
  ac_eof=`expr $ac_eof + 1`
 
4427
fi
 
4428
 
 
4429
cat >>$CONFIG_STATUS <<_ACEOF
 
4430
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
4431
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
4432
_ACEOF
 
4433
sed '
 
4434
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
4435
s/^/s,@/; s/!/@,|#_!!_#|/
 
4436
:n
 
4437
t n
 
4438
s/'"$ac_delim"'$/,g/; t
 
4439
s/$/\\/; p
 
4440
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
4441
' >>$CONFIG_STATUS <conf$$subs.sed
 
4442
rm -f conf$$subs.sed
 
4443
cat >>$CONFIG_STATUS <<_ACEOF
 
4444
:end
 
4445
s/|#_!!_#|//g
 
4446
CEOF$ac_eof
 
4447
_ACEOF
 
4448
 
 
4449
 
 
4450
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
4451
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
4452
# trailing colons and then remove the whole line if VPATH becomes empty
 
4453
# (actually we leave an empty line to preserve line numbers).
 
4454
if test "x$srcdir" = x.; then
 
4455
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
4456
s/:*\$(srcdir):*/:/
 
4457
s/:*\${srcdir}:*/:/
 
4458
s/:*@srcdir@:*/:/
 
4459
s/^\([^=]*=[     ]*\):*/\1/
 
4460
s/:*$//
 
4461
s/^[^=]*=[       ]*$//
 
4462
}'
 
4463
fi
 
4464
 
 
4465
cat >>$CONFIG_STATUS <<\_ACEOF
3888
4466
fi # test -n "$CONFIG_FILES"
3889
4467
 
3890
 
_ACEOF
3891
 
cat >>$CONFIG_STATUS <<\_ACEOF
3892
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3893
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3894
 
  case $ac_file in
3895
 
  - | *:- | *:-:* ) # input from stdin
3896
 
        cat >$tmp/stdin
3897
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3898
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3899
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3900
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3901
 
  * )   ac_file_in=$ac_file.in ;;
3902
 
  esac
3903
 
 
3904
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3905
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
4468
 
 
4469
for ac_tag in  :F $CONFIG_FILES
 
4470
do
 
4471
  case $ac_tag in
 
4472
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
4473
  esac
 
4474
  case $ac_mode$ac_tag in
 
4475
  :[FHL]*:*);;
 
4476
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
4477
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
4478
   { (exit 1); exit 1; }; };;
 
4479
  :[FH]-) ac_tag=-:-;;
 
4480
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
4481
  esac
 
4482
  ac_save_IFS=$IFS
 
4483
  IFS=:
 
4484
  set x $ac_tag
 
4485
  IFS=$ac_save_IFS
 
4486
  shift
 
4487
  ac_file=$1
 
4488
  shift
 
4489
 
 
4490
  case $ac_mode in
 
4491
  :L) ac_source=$1;;
 
4492
  :[FH])
 
4493
    ac_file_inputs=
 
4494
    for ac_f
 
4495
    do
 
4496
      case $ac_f in
 
4497
      -) ac_f="$tmp/stdin";;
 
4498
      *) # Look for the file first in the build tree, then in the source tree
 
4499
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
4500
         # because $ac_f cannot contain `:'.
 
4501
         test -f "$ac_f" ||
 
4502
           case $ac_f in
 
4503
           [\\/$]*) false;;
 
4504
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
4505
           esac ||
 
4506
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
4507
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
4508
   { (exit 1); exit 1; }; };;
 
4509
      esac
 
4510
      ac_file_inputs="$ac_file_inputs $ac_f"
 
4511
    done
 
4512
 
 
4513
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
4514
    # use $as_me), people would be surprised to read:
 
4515
    #    /* config.h.  Generated by config.status.  */
 
4516
    configure_input="Generated from "`IFS=:
 
4517
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
4518
    if test x"$ac_file" != x-; then
 
4519
      configure_input="$ac_file.  $configure_input"
 
4520
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
4521
echo "$as_me: creating $ac_file" >&6;}
 
4522
    fi
 
4523
 
 
4524
    case $ac_tag in
 
4525
    *:-:* | *:-) cat >"$tmp/stdin";;
 
4526
    esac
 
4527
    ;;
 
4528
  esac
 
4529
 
 
4530
  ac_dir=`$as_dirname -- "$ac_file" ||
3906
4531
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3907
4532
         X"$ac_file" : 'X\(//\)[^/]' \| \
3908
4533
         X"$ac_file" : 'X\(//\)$' \| \
3909
 
         X"$ac_file" : 'X\(/\)' \| \
3910
 
         .     : '\(.\)' 2>/dev/null ||
 
4534
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3911
4535
echo X"$ac_file" |
3912
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3913
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3914
 
          /^X\(\/\/\)$/{ s//\1/; q; }
3915
 
          /^X\(\/\).*/{ s//\1/; q; }
3916
 
          s/.*/./; q'`
3917
 
  { if $as_mkdir_p; then
3918
 
    mkdir -p "$ac_dir"
3919
 
  else
3920
 
    as_dir="$ac_dir"
 
4536
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
4537
            s//\1/
 
4538
            q
 
4539
          }
 
4540
          /^X\(\/\/\)[^/].*/{
 
4541
            s//\1/
 
4542
            q
 
4543
          }
 
4544
          /^X\(\/\/\)$/{
 
4545
            s//\1/
 
4546
            q
 
4547
          }
 
4548
          /^X\(\/\).*/{
 
4549
            s//\1/
 
4550
            q
 
4551
          }
 
4552
          s/.*/./; q'`
 
4553
  { as_dir="$ac_dir"
 
4554
  case $as_dir in #(
 
4555
  -*) as_dir=./$as_dir;;
 
4556
  esac
 
4557
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3921
4558
    as_dirs=
3922
 
    while test ! -d "$as_dir"; do
3923
 
      as_dirs="$as_dir $as_dirs"
3924
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
4559
    while :; do
 
4560
      case $as_dir in #(
 
4561
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
4562
      *) as_qdir=$as_dir;;
 
4563
      esac
 
4564
      as_dirs="'$as_qdir' $as_dirs"
 
4565
      as_dir=`$as_dirname -- "$as_dir" ||
3925
4566
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3926
4567
         X"$as_dir" : 'X\(//\)[^/]' \| \
3927
4568
         X"$as_dir" : 'X\(//\)$' \| \
3928
 
         X"$as_dir" : 'X\(/\)' \| \
3929
 
         .     : '\(.\)' 2>/dev/null ||
 
4569
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3930
4570
echo X"$as_dir" |
3931
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3932
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3933
 
          /^X\(\/\/\)$/{ s//\1/; q; }
3934
 
          /^X\(\/\).*/{ s//\1/; q; }
3935
 
          s/.*/./; q'`
 
4571
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
4572
            s//\1/
 
4573
            q
 
4574
          }
 
4575
          /^X\(\/\/\)[^/].*/{
 
4576
            s//\1/
 
4577
            q
 
4578
          }
 
4579
          /^X\(\/\/\)$/{
 
4580
            s//\1/
 
4581
            q
 
4582
          }
 
4583
          /^X\(\/\).*/{
 
4584
            s//\1/
 
4585
            q
 
4586
          }
 
4587
          s/.*/./; q'`
 
4588
      test -d "$as_dir" && break
3936
4589
    done
3937
 
    test ! -n "$as_dirs" || mkdir $as_dirs
3938
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3939
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
4590
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
4591
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
4592
echo "$as_me: error: cannot create directory $as_dir" >&2;}
3940
4593
   { (exit 1); exit 1; }; }; }
3941
 
 
3942
4594
  ac_builddir=.
3943
4595
 
3944
 
if test "$ac_dir" != .; then
 
4596
case "$ac_dir" in
 
4597
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
4598
*)
3945
4599
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3946
 
  # A "../" for each directory in $ac_dir_suffix.
3947
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3948
 
else
3949
 
  ac_dir_suffix= ac_top_builddir=
3950
 
fi
 
4600
  # A ".." for each directory in $ac_dir_suffix.
 
4601
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
4602
  case $ac_top_builddir_sub in
 
4603
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
4604
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
4605
  esac ;;
 
4606
esac
 
4607
ac_abs_top_builddir=$ac_pwd
 
4608
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
4609
# for backward compatibility:
 
4610
ac_top_builddir=$ac_top_build_prefix
3951
4611
 
3952
4612
case $srcdir in
3953
 
  .)  # No --srcdir option.  We are building in place.
 
4613
  .)  # We are building in place.
3954
4614
    ac_srcdir=.
3955
 
    if test -z "$ac_top_builddir"; then
3956
 
       ac_top_srcdir=.
3957
 
    else
3958
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3959
 
    fi ;;
3960
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
4615
    ac_top_srcdir=$ac_top_builddir_sub
 
4616
    ac_abs_top_srcdir=$ac_pwd ;;
 
4617
  [\\/]* | ?:[\\/]* )  # Absolute name.
3961
4618
    ac_srcdir=$srcdir$ac_dir_suffix;
3962
 
    ac_top_srcdir=$srcdir ;;
3963
 
  *) # Relative path.
3964
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3965
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3966
 
esac
3967
 
 
3968
 
# Do not use `cd foo && pwd` to compute absolute paths, because
3969
 
# the directories may not exist.
3970
 
case `pwd` in
3971
 
.) ac_abs_builddir="$ac_dir";;
3972
 
*)
3973
 
  case "$ac_dir" in
3974
 
  .) ac_abs_builddir=`pwd`;;
3975
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3976
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3977
 
  esac;;
3978
 
esac
3979
 
case $ac_abs_builddir in
3980
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
3981
 
*)
3982
 
  case ${ac_top_builddir}. in
3983
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
3984
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3985
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3986
 
  esac;;
3987
 
esac
3988
 
case $ac_abs_builddir in
3989
 
.) ac_abs_srcdir=$ac_srcdir;;
3990
 
*)
3991
 
  case $ac_srcdir in
3992
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
3993
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3994
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3995
 
  esac;;
3996
 
esac
3997
 
case $ac_abs_builddir in
3998
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
3999
 
*)
4000
 
  case $ac_top_srcdir in
4001
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4002
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4003
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4004
 
  esac;;
4005
 
esac
4006
 
 
 
4619
    ac_top_srcdir=$srcdir
 
4620
    ac_abs_top_srcdir=$srcdir ;;
 
4621
  *) # Relative name.
 
4622
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
4623
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
4624
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
4625
esac
 
4626
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
4627
 
 
4628
 
 
4629
  case $ac_mode in
 
4630
  :F)
 
4631
  #
 
4632
  # CONFIG_FILE
 
4633
  #
4007
4634
 
4008
4635
  case $INSTALL in
4009
4636
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4010
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
4637
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4011
4638
  esac
4012
 
 
4013
 
  if test x"$ac_file" != x-; then
4014
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
4015
 
echo "$as_me: creating $ac_file" >&6;}
4016
 
    rm -f "$ac_file"
4017
 
  fi
4018
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
4019
 
  # use $as_me), people would be surprised to read:
4020
 
  #    /* config.h.  Generated by config.status.  */
4021
 
  if test x"$ac_file" = x-; then
4022
 
    configure_input=
4023
 
  else
4024
 
    configure_input="$ac_file.  "
4025
 
  fi
4026
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
4027
 
                                     sed 's,.*/,,'` by configure."
4028
 
 
4029
 
  # First look for the input files in the build tree, otherwise in the
4030
 
  # src tree.
4031
 
  ac_file_inputs=`IFS=:
4032
 
    for f in $ac_file_in; do
4033
 
      case $f in
4034
 
      -) echo $tmp/stdin ;;
4035
 
      [\\/$]*)
4036
 
         # Absolute (can't be DOS-style, as IFS=:)
4037
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4038
 
echo "$as_me: error: cannot find input file: $f" >&2;}
4039
 
   { (exit 1); exit 1; }; }
4040
 
         echo "$f";;
4041
 
      *) # Relative
4042
 
         if test -f "$f"; then
4043
 
           # Build tree
4044
 
           echo "$f"
4045
 
         elif test -f "$srcdir/$f"; then
4046
 
           # Source tree
4047
 
           echo "$srcdir/$f"
4048
 
         else
4049
 
           # /dev/null tree
4050
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4051
 
echo "$as_me: error: cannot find input file: $f" >&2;}
4052
 
   { (exit 1); exit 1; }; }
4053
 
         fi;;
4054
 
      esac
4055
 
    done` || { (exit 1); exit 1; }
4056
 
_ACEOF
 
4639
_ACEOF
 
4640
 
 
4641
cat >>$CONFIG_STATUS <<\_ACEOF
 
4642
# If the template does not know about datarootdir, expand it.
 
4643
# FIXME: This hack should be removed a few years after 2.60.
 
4644
ac_datarootdir_hack=; ac_datarootdir_seen=
 
4645
 
 
4646
case `sed -n '/datarootdir/ {
 
4647
  p
 
4648
  q
 
4649
}
 
4650
/@datadir@/p
 
4651
/@docdir@/p
 
4652
/@infodir@/p
 
4653
/@localedir@/p
 
4654
/@mandir@/p
 
4655
' $ac_file_inputs` in
 
4656
*datarootdir*) ac_datarootdir_seen=yes;;
 
4657
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
4658
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
4659
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
4660
_ACEOF
 
4661
cat >>$CONFIG_STATUS <<_ACEOF
 
4662
  ac_datarootdir_hack='
 
4663
  s&@datadir@&$datadir&g
 
4664
  s&@docdir@&$docdir&g
 
4665
  s&@infodir@&$infodir&g
 
4666
  s&@localedir@&$localedir&g
 
4667
  s&@mandir@&$mandir&g
 
4668
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
4669
esac
 
4670
_ACEOF
 
4671
 
 
4672
# Neutralize VPATH when `$srcdir' = `.'.
 
4673
# Shell code in configure.ac might set extrasub.
 
4674
# FIXME: do we really want to maintain this feature?
4057
4675
cat >>$CONFIG_STATUS <<_ACEOF
4058
4676
  sed "$ac_vpsub
4059
4677
$extrasub
4061
4679
cat >>$CONFIG_STATUS <<\_ACEOF
4062
4680
:t
4063
4681
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4064
 
s,@configure_input@,$configure_input,;t t
4065
 
s,@srcdir@,$ac_srcdir,;t t
4066
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
4067
 
s,@top_srcdir@,$ac_top_srcdir,;t t
4068
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4069
 
s,@builddir@,$ac_builddir,;t t
4070
 
s,@abs_builddir@,$ac_abs_builddir,;t t
4071
 
s,@top_builddir@,$ac_top_builddir,;t t
4072
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4073
 
s,@INSTALL@,$ac_INSTALL,;t t
4074
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4075
 
  rm -f $tmp/stdin
4076
 
  if test x"$ac_file" != x-; then
4077
 
    mv $tmp/out $ac_file
4078
 
  else
4079
 
    cat $tmp/out
4080
 
    rm -f $tmp/out
4081
 
  fi
4082
 
 
4083
 
done
4084
 
_ACEOF
4085
 
 
4086
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
4682
s&@configure_input@&$configure_input&;t t
 
4683
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
4684
s&@srcdir@&$ac_srcdir&;t t
 
4685
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
4686
s&@top_srcdir@&$ac_top_srcdir&;t t
 
4687
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
4688
s&@builddir@&$ac_builddir&;t t
 
4689
s&@abs_builddir@&$ac_abs_builddir&;t t
 
4690
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
4691
s&@INSTALL@&$ac_INSTALL&;t t
 
4692
$ac_datarootdir_hack
 
4693
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
4694
 
 
4695
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
4696
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
4697
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
4698
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
4699
which seems to be undefined.  Please make sure it is defined." >&5
 
4700
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
4701
which seems to be undefined.  Please make sure it is defined." >&2;}
 
4702
 
 
4703
  rm -f "$tmp/stdin"
 
4704
  case $ac_file in
 
4705
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
4706
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
4707
  esac
 
4708
 ;;
 
4709
 
 
4710
 
 
4711
 
 
4712
  esac
 
4713
 
 
4714
done # for ac_tag
 
4715
 
4087
4716
 
4088
4717
{ (exit 0); exit 0; }
4089
4718
_ACEOF
4112
4741
  $ac_cs_success || { (exit 1); exit 1; }
4113
4742
fi
4114
4743
 
4115
 
          ac_config_files="$ac_config_files META"
 
4744
ac_config_files="$ac_config_files META"
 
4745
 
4116
4746
cat >confcache <<\_ACEOF
4117
4747
# This file is a shell script that caches the results of configure
4118
4748
# tests run on this system so they can be shared between configure
4131
4761
 
4132
4762
# The following way of writing the cache mishandles newlines in values,
4133
4763
# but we know of no workaround that is simple, portable, and efficient.
4134
 
# So, don't put newlines in cache variables' values.
 
4764
# So, we kill variables containing newlines.
4135
4765
# Ultrix sh set writes to stderr and can't be redirected directly,
4136
4766
# and sets the high bit in the cache file unless we assign to the vars.
4137
 
{
 
4767
(
 
4768
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
4769
    eval ac_val=\$$ac_var
 
4770
    case $ac_val in #(
 
4771
    *${as_nl}*)
 
4772
      case $ac_var in #(
 
4773
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
4774
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
4775
      esac
 
4776
      case $ac_var in #(
 
4777
      _ | IFS | as_nl) ;; #(
 
4778
      *) $as_unset $ac_var ;;
 
4779
      esac ;;
 
4780
    esac
 
4781
  done
 
4782
 
4138
4783
  (set) 2>&1 |
4139
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
4140
 
    *ac_space=\ *)
 
4784
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
4785
    *${as_nl}ac_space=\ *)
4141
4786
      # `set' does not quote correctly, so add quotes (double-quote
4142
4787
      # substitution turns \\\\ into \\, and sed turns \\ into \).
4143
4788
      sed -n \
4144
4789
        "s/'/'\\\\''/g;
4145
4790
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4146
 
      ;;
 
4791
      ;; #(
4147
4792
    *)
4148
4793
      # `set' quotes correctly as required by POSIX, so do not add quotes.
4149
 
      sed -n \
4150
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
4794
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4151
4795
      ;;
4152
 
    esac;
4153
 
} |
 
4796
    esac |
 
4797
    sort
 
4798
) |
4154
4799
  sed '
 
4800
     /^ac_cv_env_/b end
4155
4801
     t clear
4156
 
     : clear
 
4802
     :clear
4157
4803
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4158
4804
     t end
4159
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4160
 
     : end' >>confcache
4161
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
4162
 
  if test -w $cache_file; then
4163
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
4805
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
4806
     :end' >>confcache
 
4807
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
4808
  if test -w "$cache_file"; then
 
4809
    test "x$cache_file" != "x/dev/null" &&
 
4810
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
4811
echo "$as_me: updating cache $cache_file" >&6;}
4164
4812
    cat confcache >$cache_file
4165
4813
  else
4166
 
    echo "not updating unwritable cache $cache_file"
 
4814
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
4815
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4167
4816
  fi
4168
4817
fi
4169
4818
rm -f confcache
4172
4821
# Let make expand exec_prefix.
4173
4822
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4174
4823
 
4175
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4176
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4177
 
# trailing colons and then remove the whole line if VPATH becomes empty
4178
 
# (actually we leave an empty line to preserve line numbers).
4179
 
if test "x$srcdir" = x.; then
4180
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
4181
 
s/:*\$(srcdir):*/:/;
4182
 
s/:*\${srcdir}:*/:/;
4183
 
s/:*@srcdir@:*/:/;
4184
 
s/^\([^=]*=[     ]*\):*/\1/;
4185
 
s/:*$//;
4186
 
s/^[^=]*=[       ]*$//;
4187
 
}'
4188
 
fi
4189
 
 
4190
4824
# Transform confdefs.h into DEFS.
4191
4825
# Protect against shell expansion while executing Makefile rules.
4192
4826
# Protect against Makefile macro expansion.
4193
4827
#
4194
4828
# If the first sed substitution is executed (which looks for macros that
4195
 
# take arguments), then we branch to the quote section.  Otherwise,
 
4829
# take arguments), then branch to the quote section.  Otherwise,
4196
4830
# look for a macro that doesn't take arguments.
4197
 
cat >confdef2opt.sed <<\_ACEOF
 
4831
ac_script='
4198
4832
t clear
4199
 
: clear
4200
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
4201
 
t quote
4202
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
4203
 
t quote
4204
 
d
4205
 
: quote
4206
 
s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
4207
 
s,\[,\\&,g
4208
 
s,\],\\&,g
4209
 
s,\$,$$,g
4210
 
p
4211
 
_ACEOF
4212
 
# We use echo to avoid assuming a particular line-breaking character.
4213
 
# The extra dot is to prevent the shell from consuming trailing
4214
 
# line-breaks from the sub-command output.  A line-break within
4215
 
# single-quotes doesn't work because, if this script is created in a
4216
 
# platform that uses two characters for line-breaks (e.g., DOS), tr
4217
 
# would break.
4218
 
ac_LF_and_DOT=`echo; echo .`
4219
 
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4220
 
rm -f confdef2opt.sed
 
4833
:clear
 
4834
s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
 
4835
t quote
 
4836
s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
 
4837
t quote
 
4838
b any
 
4839
:quote
 
4840
s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
 
4841
s/\[/\\&/g
 
4842
s/\]/\\&/g
 
4843
s/\$/$$/g
 
4844
H
 
4845
:any
 
4846
${
 
4847
        g
 
4848
        s/^\n//
 
4849
        s/\n/ /g
 
4850
        p
 
4851
}
 
4852
'
 
4853
DEFS=`sed -n "$ac_script" confdefs.h`
4221
4854
 
4222
4855
 
4223
4856
ac_libobjs=
4224
4857
ac_ltlibobjs=
4225
4858
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4226
4859
  # 1. Remove the extension, and $U if already installed.
4227
 
  ac_i=`echo "$ac_i" |
4228
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4229
 
  # 2. Add them.
4230
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4231
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
4860
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
4861
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
4862
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
4863
  #    will be set to the directory where LIBOBJS objects are built.
 
4864
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
4865
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4232
4866
done
4233
4867
LIBOBJS=$ac_libobjs
4234
4868
 
4259
4893
## M4sh Initialization.  ##
4260
4894
## --------------------- ##
4261
4895
 
4262
 
# Be Bourne compatible
 
4896
# Be more Bourne compatible
 
4897
DUALCASE=1; export DUALCASE # for MKS sh
4263
4898
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4264
4899
  emulate sh
4265
4900
  NULLCMD=:
4266
4901
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4267
4902
  # is contrary to our usage.  Disable this feature.
4268
4903
  alias -g '${1+"$@"}'='"$@"'
4269
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4270
 
  set -o posix
4271
 
fi
4272
 
DUALCASE=1; export DUALCASE # for MKS sh
 
4904
  setopt NO_GLOB_SUBST
 
4905
else
 
4906
  case `(set -o) 2>/dev/null` in
 
4907
  *posix*) set -o posix ;;
 
4908
esac
 
4909
 
 
4910
fi
 
4911
 
 
4912
 
 
4913
 
 
4914
 
 
4915
# PATH needs CR
 
4916
# Avoid depending upon Character Ranges.
 
4917
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
4918
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
4919
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
4920
as_cr_digits='0123456789'
 
4921
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
4922
 
 
4923
# The user is always right.
 
4924
if test "${PATH_SEPARATOR+set}" != set; then
 
4925
  echo "#! /bin/sh" >conf$$.sh
 
4926
  echo  "exit 0"   >>conf$$.sh
 
4927
  chmod +x conf$$.sh
 
4928
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
4929
    PATH_SEPARATOR=';'
 
4930
  else
 
4931
    PATH_SEPARATOR=:
 
4932
  fi
 
4933
  rm -f conf$$.sh
 
4934
fi
4273
4935
 
4274
4936
# Support unset when possible.
4275
4937
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4279
4941
fi
4280
4942
 
4281
4943
 
 
4944
# IFS
 
4945
# We need space, tab and new line, in precisely that order.  Quoting is
 
4946
# there to prevent editors from complaining about space-tab.
 
4947
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
4948
# splitting by setting IFS to empty value.)
 
4949
as_nl='
 
4950
'
 
4951
IFS=" ""        $as_nl"
 
4952
 
 
4953
# Find who we are.  Look in the path if we contain no directory separator.
 
4954
case $0 in
 
4955
  *[\\/]* ) as_myself=$0 ;;
 
4956
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4957
for as_dir in $PATH
 
4958
do
 
4959
  IFS=$as_save_IFS
 
4960
  test -z "$as_dir" && as_dir=.
 
4961
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
4962
done
 
4963
IFS=$as_save_IFS
 
4964
 
 
4965
     ;;
 
4966
esac
 
4967
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
4968
# in which case we are not to be found in the path.
 
4969
if test "x$as_myself" = x; then
 
4970
  as_myself=$0
 
4971
fi
 
4972
if test ! -f "$as_myself"; then
 
4973
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
4974
  { (exit 1); exit 1; }
 
4975
fi
 
4976
 
4282
4977
# Work around bugs in pre-3.0 UWIN ksh.
4283
 
$as_unset ENV MAIL MAILPATH
 
4978
for as_var in ENV MAIL MAILPATH
 
4979
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
4980
done
4284
4981
PS1='$ '
4285
4982
PS2='> '
4286
4983
PS4='+ '
4294
4991
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4295
4992
    eval $as_var=C; export $as_var
4296
4993
  else
4297
 
    $as_unset $as_var
 
4994
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4298
4995
  fi
4299
4996
done
4300
4997
 
4301
4998
# Required to use basename.
4302
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
4999
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
5000
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4303
5001
  as_expr=expr
4304
5002
else
4305
5003
  as_expr=false
4306
5004
fi
4307
5005
 
4308
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
5006
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4309
5007
  as_basename=basename
4310
5008
else
4311
5009
  as_basename=false
4313
5011
 
4314
5012
 
4315
5013
# Name of the executable.
4316
 
as_me=`$as_basename "$0" ||
 
5014
as_me=`$as_basename -- "$0" ||
4317
5015
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4318
5016
         X"$0" : 'X\(//\)$' \| \
4319
 
         X"$0" : 'X\(/\)$' \| \
4320
 
         .     : '\(.\)' 2>/dev/null ||
 
5017
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4321
5018
echo X/"$0" |
4322
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4323
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
4324
 
          /^X\/\(\/\).*/{ s//\1/; q; }
4325
 
          s/.*/./; q'`
4326
 
 
4327
 
 
4328
 
# PATH needs CR, and LINENO needs CR and PATH.
4329
 
# Avoid depending upon Character Ranges.
4330
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4331
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4332
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4333
 
as_cr_digits='0123456789'
4334
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
4335
 
 
4336
 
# The user is always right.
4337
 
if test "${PATH_SEPARATOR+set}" != set; then
4338
 
  echo "#! /bin/sh" >conf$$.sh
4339
 
  echo  "exit 0"   >>conf$$.sh
4340
 
  chmod +x conf$$.sh
4341
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4342
 
    PATH_SEPARATOR=';'
4343
 
  else
4344
 
    PATH_SEPARATOR=:
4345
 
  fi
4346
 
  rm -f conf$$.sh
4347
 
fi
4348
 
 
4349
 
 
4350
 
  as_lineno_1=$LINENO
4351
 
  as_lineno_2=$LINENO
4352
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4353
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
4354
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
4355
 
  # Find who we are.  Look in the path if we contain no path at all
4356
 
  # relative or not.
4357
 
  case $0 in
4358
 
    *[\\/]* ) as_myself=$0 ;;
4359
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4360
 
for as_dir in $PATH
4361
 
do
4362
 
  IFS=$as_save_IFS
4363
 
  test -z "$as_dir" && as_dir=.
4364
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4365
 
done
4366
 
 
4367
 
       ;;
4368
 
  esac
4369
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
4370
 
  # in which case we are not to be found in the path.
4371
 
  if test "x$as_myself" = x; then
4372
 
    as_myself=$0
4373
 
  fi
4374
 
  if test ! -f "$as_myself"; then
4375
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4376
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4377
 
   { (exit 1); exit 1; }; }
4378
 
  fi
4379
 
  case $CONFIG_SHELL in
4380
 
  '')
4381
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4382
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4383
 
do
4384
 
  IFS=$as_save_IFS
4385
 
  test -z "$as_dir" && as_dir=.
4386
 
  for as_base in sh bash ksh sh5; do
4387
 
         case $as_dir in
4388
 
         /*)
4389
 
           if ("$as_dir/$as_base" -c '
4390
 
  as_lineno_1=$LINENO
4391
 
  as_lineno_2=$LINENO
4392
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4393
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
4394
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
4395
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4396
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4397
 
             CONFIG_SHELL=$as_dir/$as_base
4398
 
             export CONFIG_SHELL
4399
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4400
 
           fi;;
4401
 
         esac
4402
 
       done
4403
 
done
4404
 
;;
4405
 
  esac
 
5019
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
5020
            s//\1/
 
5021
            q
 
5022
          }
 
5023
          /^X\/\(\/\/\)$/{
 
5024
            s//\1/
 
5025
            q
 
5026
          }
 
5027
          /^X\/\(\/\).*/{
 
5028
            s//\1/
 
5029
            q
 
5030
          }
 
5031
          s/.*/./; q'`
 
5032
 
 
5033
# CDPATH.
 
5034
$as_unset CDPATH
 
5035
 
 
5036
 
 
5037
 
 
5038
  as_lineno_1=$LINENO
 
5039
  as_lineno_2=$LINENO
 
5040
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
5041
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4406
5042
 
4407
5043
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4408
5044
  # uniformly replaced by the line number.  The first 'sed' inserts a
4409
 
  # line-number line before each line; the second 'sed' does the real
4410
 
  # work.  The second script uses 'N' to pair each line-number line
4411
 
  # with the numbered line, and appends trailing '-' during
4412
 
  # substitution so that $LINENO is not a special case at line end.
 
5045
  # line-number line after each line using $LINENO; the second 'sed'
 
5046
  # does the real work.  The second script uses 'N' to pair each
 
5047
  # line-number line with the line containing $LINENO, and appends
 
5048
  # trailing '-' during substitution so that $LINENO is not a special
 
5049
  # case at line end.
4413
5050
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4414
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4415
 
  sed '=' <$as_myself |
 
5051
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
5052
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
5053
  sed -n '
 
5054
    p
 
5055
    /[$]LINENO/=
 
5056
  ' <$as_myself |
4416
5057
    sed '
 
5058
      s/[$]LINENO.*/&-/
 
5059
      t lineno
 
5060
      b
 
5061
      :lineno
4417
5062
      N
4418
 
      s,$,-,
4419
 
      : loop
4420
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
5063
      :loop
 
5064
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4421
5065
      t loop
4422
 
      s,-$,,
4423
 
      s,^['$as_cr_digits']*\n,,
 
5066
      s/-\n.*//
4424
5067
    ' >$as_me.lineno &&
4425
 
  chmod +x $as_me.lineno ||
4426
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4427
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
5068
  chmod +x "$as_me.lineno" ||
 
5069
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4428
5070
   { (exit 1); exit 1; }; }
4429
5071
 
4430
5072
  # Don't try to exec as it changes $[0], causing all sort of problems
4431
5073
  # (the dirname of $[0] is not the place where we might find the
4432
 
  # original and so on.  Autoconf is especially sensible to this).
4433
 
  . ./$as_me.lineno
 
5074
  # original and so on.  Autoconf is especially sensitive to this).
 
5075
  . "./$as_me.lineno"
4434
5076
  # Exit status is that of the last command.
4435
5077
  exit
4436
5078
}
4437
5079
 
4438
5080
 
4439
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4440
 
  *c*,-n*) ECHO_N= ECHO_C='
4441
 
' ECHO_T='      ' ;;
4442
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4443
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
5081
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
5082
  as_dirname=dirname
 
5083
else
 
5084
  as_dirname=false
 
5085
fi
 
5086
 
 
5087
ECHO_C= ECHO_N= ECHO_T=
 
5088
case `echo -n x` in
 
5089
-n*)
 
5090
  case `echo 'x\c'` in
 
5091
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
5092
  *)   ECHO_C='\c';;
 
5093
  esac;;
 
5094
*)
 
5095
  ECHO_N='-n';;
4444
5096
esac
4445
5097
 
4446
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
5098
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
5099
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4447
5100
  as_expr=expr
4448
5101
else
4449
5102
  as_expr=false
4450
5103
fi
4451
5104
 
4452
5105
rm -f conf$$ conf$$.exe conf$$.file
 
5106
if test -d conf$$.dir; then
 
5107
  rm -f conf$$.dir/conf$$.file
 
5108
else
 
5109
  rm -f conf$$.dir
 
5110
  mkdir conf$$.dir
 
5111
fi
4453
5112
echo >conf$$.file
4454
5113
if ln -s conf$$.file conf$$ 2>/dev/null; then
4455
 
  # We could just check for DJGPP; but this test a) works b) is more generic
4456
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4457
 
  if test -f conf$$.exe; then
4458
 
    # Don't use ln at all; we don't have any links
 
5114
  as_ln_s='ln -s'
 
5115
  # ... but there are two gotchas:
 
5116
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
5117
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
5118
  # In both cases, we have to default to `cp -p'.
 
5119
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4459
5120
    as_ln_s='cp -p'
4460
 
  else
4461
 
    as_ln_s='ln -s'
4462
 
  fi
4463
5121
elif ln conf$$.file conf$$ 2>/dev/null; then
4464
5122
  as_ln_s=ln
4465
5123
else
4466
5124
  as_ln_s='cp -p'
4467
5125
fi
4468
 
rm -f conf$$ conf$$.exe conf$$.file
 
5126
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
5127
rmdir conf$$.dir 2>/dev/null
4469
5128
 
4470
5129
if mkdir -p . 2>/dev/null; then
4471
5130
  as_mkdir_p=:
4474
5133
  as_mkdir_p=false
4475
5134
fi
4476
5135
 
4477
 
as_executable_p="test -f"
 
5136
if test -x / >/dev/null 2>&1; then
 
5137
  as_test_x='test -x'
 
5138
else
 
5139
  if ls -dL / >/dev/null 2>&1; then
 
5140
    as_ls_L_option=L
 
5141
  else
 
5142
    as_ls_L_option=
 
5143
  fi
 
5144
  as_test_x='
 
5145
    eval sh -c '\''
 
5146
      if test -d "$1"; then
 
5147
        test -d "$1/.";
 
5148
      else
 
5149
        case $1 in
 
5150
        -*)set "./$1";;
 
5151
        esac;
 
5152
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
5153
        ???[sx]*):;;*)false;;esac;fi
 
5154
    '\'' sh
 
5155
  '
 
5156
fi
 
5157
as_executable_p=$as_test_x
4478
5158
 
4479
5159
# Sed expression to map a string onto a valid CPP name.
4480
5160
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4483
5163
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4484
5164
 
4485
5165
 
4486
 
# IFS
4487
 
# We need space, tab and new line, in precisely that order.
4488
 
as_nl='
4489
 
'
4490
 
IFS="   $as_nl"
4491
 
 
4492
 
# CDPATH.
4493
 
$as_unset CDPATH
4494
 
 
4495
5166
exec 6>&1
4496
5167
 
4497
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
5168
# Save the log message, to keep $[0] and so on meaningful, and to
4498
5169
# report actual input values of CONFIG_FILES etc. instead of their
4499
 
# values after options handling.  Logging --version etc. is OK.
4500
 
exec 5>>config.log
4501
 
{
4502
 
  echo
4503
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4504
 
## Running $as_me. ##
4505
 
_ASBOX
4506
 
} >&5
4507
 
cat >&5 <<_CSEOF
4508
 
 
4509
 
This file was extended by ocaml-sqlite $as_me 0.16.0, which was
4510
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
5170
# values after options handling.
 
5171
ac_log="
 
5172
This file was extended by ocaml-sqlite $as_me 0.23.0, which was
 
5173
generated by GNU Autoconf 2.61.  Invocation command line was
4511
5174
 
4512
5175
  CONFIG_FILES    = $CONFIG_FILES
4513
5176
  CONFIG_HEADERS  = $CONFIG_HEADERS
4515
5178
  CONFIG_COMMANDS = $CONFIG_COMMANDS
4516
5179
  $ $0 $@
4517
5180
 
4518
 
_CSEOF
4519
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4520
 
echo >&5
 
5181
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
5182
"
 
5183
 
4521
5184
_ACEOF
4522
5185
 
 
5186
cat >>$CONFIG_STATUS <<_ACEOF
4523
5187
# Files that config.status was made for.
4524
 
if test -n "$ac_config_files"; then
4525
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4526
 
fi
4527
 
 
4528
 
if test -n "$ac_config_headers"; then
4529
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4530
 
fi
4531
 
 
4532
 
if test -n "$ac_config_links"; then
4533
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4534
 
fi
4535
 
 
4536
 
if test -n "$ac_config_commands"; then
4537
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4538
 
fi
 
5188
config_files="$ac_config_files"
 
5189
 
 
5190
_ACEOF
4539
5191
 
4540
5192
cat >>$CONFIG_STATUS <<\_ACEOF
4541
 
 
4542
5193
ac_cs_usage="\
4543
5194
\`$as_me' instantiates files from templates according to the
4544
5195
current configuration.
4546
5197
Usage: $0 [OPTIONS] [FILE]...
4547
5198
 
4548
5199
  -h, --help       print this help, then exit
4549
 
  -V, --version    print version number, then exit
 
5200
  -V, --version    print version number and configuration settings, then exit
4550
5201
  -q, --quiet      do not print progress messages
4551
5202
  -d, --debug      don't remove temporary files
4552
5203
      --recheck    update $as_me by reconfiguring in the same conditions
4557
5208
$config_files
4558
5209
 
4559
5210
Report bugs to <bug-autoconf@gnu.org>."
 
5211
 
4560
5212
_ACEOF
4561
 
 
4562
5213
cat >>$CONFIG_STATUS <<_ACEOF
4563
5214
ac_cs_version="\\
4564
 
ocaml-sqlite config.status 0.16.0
4565
 
configured by $0, generated by GNU Autoconf 2.59,
4566
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
5215
ocaml-sqlite config.status 0.23.0
 
5216
configured by $0, generated by GNU Autoconf 2.61,
 
5217
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4567
5218
 
4568
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
5219
Copyright (C) 2006 Free Software Foundation, Inc.
4569
5220
This config.status script is free software; the Free Software Foundation
4570
5221
gives unlimited permission to copy, distribute and modify it."
4571
 
srcdir=$srcdir
4572
 
INSTALL="$INSTALL"
 
5222
 
 
5223
ac_pwd='$ac_pwd'
 
5224
srcdir='$srcdir'
 
5225
INSTALL='$INSTALL'
4573
5226
_ACEOF
4574
5227
 
4575
5228
cat >>$CONFIG_STATUS <<\_ACEOF
4580
5233
do
4581
5234
  case $1 in
4582
5235
  --*=*)
4583
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
4584
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
5236
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
5237
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4585
5238
    ac_shift=:
4586
5239
    ;;
4587
 
  -*)
 
5240
  *)
4588
5241
    ac_option=$1
4589
5242
    ac_optarg=$2
4590
5243
    ac_shift=shift
4591
5244
    ;;
4592
 
  *) # This is not an option, so the user has probably given explicit
4593
 
     # arguments.
4594
 
     ac_option=$1
4595
 
     ac_need_defaults=false;;
4596
5245
  esac
4597
5246
 
4598
5247
  case $ac_option in
4599
5248
  # Handling of the options.
4600
 
_ACEOF
4601
 
cat >>$CONFIG_STATUS <<\_ACEOF
4602
5249
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4603
5250
    ac_cs_recheck=: ;;
4604
 
  --version | --vers* | -V )
4605
 
    echo "$ac_cs_version"; exit 0 ;;
4606
 
  --he | --h)
4607
 
    # Conflict between --help and --header
4608
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
4609
 
Try \`$0 --help' for more information." >&5
4610
 
echo "$as_me: error: ambiguous option: $1
4611
 
Try \`$0 --help' for more information." >&2;}
4612
 
   { (exit 1); exit 1; }; };;
4613
 
  --help | --hel | -h )
4614
 
    echo "$ac_cs_usage"; exit 0 ;;
4615
 
  --debug | --d* | -d )
 
5251
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
5252
    echo "$ac_cs_version"; exit ;;
 
5253
  --debug | --debu | --deb | --de | --d | -d )
4616
5254
    debug=: ;;
4617
5255
  --file | --fil | --fi | --f )
4618
5256
    $ac_shift
4619
5257
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4620
5258
    ac_need_defaults=false;;
4621
 
  --header | --heade | --head | --hea )
4622
 
    $ac_shift
4623
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4624
 
    ac_need_defaults=false;;
 
5259
  --he | --h |  --help | --hel | -h )
 
5260
    echo "$ac_cs_usage"; exit ;;
4625
5261
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4626
5262
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4627
5263
    ac_cs_silent=: ;;
4628
5264
 
4629
5265
  # This is an error.
4630
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4631
 
Try \`$0 --help' for more information." >&5
4632
 
echo "$as_me: error: unrecognized option: $1
4633
 
Try \`$0 --help' for more information." >&2;}
 
5266
  -*) { echo "$as_me: error: unrecognized option: $1
 
5267
Try \`$0 --help' for more information." >&2
4634
5268
   { (exit 1); exit 1; }; } ;;
4635
5269
 
4636
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
5270
  *) ac_config_targets="$ac_config_targets $1"
 
5271
     ac_need_defaults=false ;;
4637
5272
 
4638
5273
  esac
4639
5274
  shift
4649
5284
_ACEOF
4650
5285
cat >>$CONFIG_STATUS <<_ACEOF
4651
5286
if \$ac_cs_recheck; then
4652
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4653
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
5287
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
5288
  CONFIG_SHELL=$SHELL
 
5289
  export CONFIG_SHELL
 
5290
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4654
5291
fi
4655
5292
 
4656
5293
_ACEOF
4657
 
 
4658
 
 
4659
 
 
4660
 
 
4661
 
 
4662
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5294
cat >>$CONFIG_STATUS <<\_ACEOF
 
5295
exec 5>>config.log
 
5296
{
 
5297
  echo
 
5298
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
5299
## Running $as_me. ##
 
5300
_ASBOX
 
5301
  echo "$ac_log"
 
5302
} >&5
 
5303
 
 
5304
_ACEOF
 
5305
cat >>$CONFIG_STATUS <<_ACEOF
 
5306
_ACEOF
 
5307
 
 
5308
cat >>$CONFIG_STATUS <<\_ACEOF
 
5309
 
 
5310
# Handling of arguments.
4663
5311
for ac_config_target in $ac_config_targets
4664
5312
do
4665
 
  case "$ac_config_target" in
4666
 
  # Handling of arguments.
4667
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4668
 
  "META" ) CONFIG_FILES="$CONFIG_FILES META" ;;
 
5313
  case $ac_config_target in
 
5314
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
5315
    "META") CONFIG_FILES="$CONFIG_FILES META" ;;
 
5316
 
4669
5317
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4670
5318
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4671
5319
   { (exit 1); exit 1; }; };;
4672
5320
  esac
4673
5321
done
4674
5322
 
 
5323
 
4675
5324
# If the user did not use the arguments to specify the items to instantiate,
4676
5325
# then the envvar interface is used.  Set only those that are not.
4677
5326
# We use the long form for the default assignment because of an extremely
4681
5330
fi
4682
5331
 
4683
5332
# Have a temporary directory for convenience.  Make it in the build tree
4684
 
# simply because there is no reason to put it here, and in addition,
 
5333
# simply because there is no reason against having it here, and in addition,
4685
5334
# creating and moving files from /tmp can sometimes cause problems.
4686
 
# Create a temporary directory, and hook for its removal unless debugging.
 
5335
# Hook for its removal unless debugging.
 
5336
# Note that there is a small window in which the directory will not be cleaned:
 
5337
# after its creation but before its name has been assigned to `$tmp'.
4687
5338
$debug ||
4688
5339
{
4689
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
5340
  tmp=
 
5341
  trap 'exit_status=$?
 
5342
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
5343
' 0
4690
5344
  trap '{ (exit 1); exit 1; }' 1 2 13 15
4691
5345
}
4692
 
 
4693
5346
# Create a (secure) tmp directory for tmp files.
4694
5347
 
4695
5348
{
4696
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
5349
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4697
5350
  test -n "$tmp" && test -d "$tmp"
4698
5351
}  ||
4699
5352
{
4700
 
  tmp=./confstat$$-$RANDOM
4701
 
  (umask 077 && mkdir $tmp)
 
5353
  tmp=./conf$$-$RANDOM
 
5354
  (umask 077 && mkdir "$tmp")
4702
5355
} ||
4703
5356
{
4704
5357
   echo "$me: cannot create a temporary directory in ." >&2
4705
5358
   { (exit 1); exit 1; }
4706
5359
}
4707
5360
 
4708
 
_ACEOF
4709
 
 
4710
 
cat >>$CONFIG_STATUS <<_ACEOF
4711
 
 
4712
5361
#
4713
 
# CONFIG_FILES section.
 
5362
# Set up the sed scripts for CONFIG_FILES section.
4714
5363
#
4715
5364
 
4716
5365
# No need to generate the scripts if there are no CONFIG_FILES.
4717
5366
# This happens for instance when ./config.status config.h
4718
 
if test -n "\$CONFIG_FILES"; then
4719
 
  # Protect against being on the right side of a sed subst in config.status.
4720
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4721
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4722
 
s,@SHELL@,$SHELL,;t t
4723
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4724
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4725
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4726
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4727
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4728
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4729
 
s,@exec_prefix@,$exec_prefix,;t t
4730
 
s,@prefix@,$prefix,;t t
4731
 
s,@program_transform_name@,$program_transform_name,;t t
4732
 
s,@bindir@,$bindir,;t t
4733
 
s,@sbindir@,$sbindir,;t t
4734
 
s,@libexecdir@,$libexecdir,;t t
4735
 
s,@datadir@,$datadir,;t t
4736
 
s,@sysconfdir@,$sysconfdir,;t t
4737
 
s,@sharedstatedir@,$sharedstatedir,;t t
4738
 
s,@localstatedir@,$localstatedir,;t t
4739
 
s,@libdir@,$libdir,;t t
4740
 
s,@includedir@,$includedir,;t t
4741
 
s,@oldincludedir@,$oldincludedir,;t t
4742
 
s,@infodir@,$infodir,;t t
4743
 
s,@mandir@,$mandir,;t t
4744
 
s,@build_alias@,$build_alias,;t t
4745
 
s,@host_alias@,$host_alias,;t t
4746
 
s,@target_alias@,$target_alias,;t t
4747
 
s,@DEFS@,$DEFS,;t t
4748
 
s,@ECHO_C@,$ECHO_C,;t t
4749
 
s,@ECHO_N@,$ECHO_N,;t t
4750
 
s,@ECHO_T@,$ECHO_T,;t t
4751
 
s,@LIBS@,$LIBS,;t t
4752
 
s,@ocamlc@,$ocamlc,;t t
4753
 
s,@ocamlopt@,$ocamlopt,;t t
4754
 
s,@ocamlfind@,$ocamlfind,;t t
4755
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4756
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4757
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4758
 
s,@INSTALL@,$INSTALL,;t t
4759
 
s,@CC@,$CC,;t t
4760
 
s,@CFLAGS@,$CFLAGS,;t t
4761
 
s,@LDFLAGS@,$LDFLAGS,;t t
4762
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
4763
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
4764
 
s,@EXEEXT@,$EXEEXT,;t t
4765
 
s,@OBJEXT@,$OBJEXT,;t t
4766
 
s,@CPP@,$CPP,;t t
4767
 
s,@EGREP@,$EGREP,;t t
4768
 
s,@LIBOBJS@,$LIBOBJS,;t t
4769
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4770
 
CEOF
4771
 
 
4772
 
_ACEOF
4773
 
 
4774
 
  cat >>$CONFIG_STATUS <<\_ACEOF
4775
 
  # Split the substitutions into bite-sized pieces for seds with
4776
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
4777
 
  ac_max_sed_lines=48
4778
 
  ac_sed_frag=1 # Number of current file.
4779
 
  ac_beg=1 # First line for current file.
4780
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
4781
 
  ac_more_lines=:
4782
 
  ac_sed_cmds=
4783
 
  while $ac_more_lines; do
4784
 
    if test $ac_beg -gt 1; then
4785
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4786
 
    else
4787
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4788
 
    fi
4789
 
    if test ! -s $tmp/subs.frag; then
4790
 
      ac_more_lines=false
4791
 
    else
4792
 
      # The purpose of the label and of the branching condition is to
4793
 
      # speed up the sed processing (if there are no `@' at all, there
4794
 
      # is no need to browse any of the substitutions).
4795
 
      # These are the two extra sed commands mentioned above.
4796
 
      (echo ':t
4797
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4798
 
      if test -z "$ac_sed_cmds"; then
4799
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4800
 
      else
4801
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4802
 
      fi
4803
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
4804
 
      ac_beg=$ac_end
4805
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
4806
 
    fi
4807
 
  done
4808
 
  if test -z "$ac_sed_cmds"; then
4809
 
    ac_sed_cmds=cat
 
5367
if test -n "$CONFIG_FILES"; then
 
5368
 
 
5369
_ACEOF
 
5370
 
 
5371
 
 
5372
 
 
5373
ac_delim='%!_!# '
 
5374
for ac_last_try in false false false false false :; do
 
5375
  cat >conf$$subs.sed <<_ACEOF
 
5376
SHELL!$SHELL$ac_delim
 
5377
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
5378
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
5379
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
5380
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
5381
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
5382
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
5383
exec_prefix!$exec_prefix$ac_delim
 
5384
prefix!$prefix$ac_delim
 
5385
program_transform_name!$program_transform_name$ac_delim
 
5386
bindir!$bindir$ac_delim
 
5387
sbindir!$sbindir$ac_delim
 
5388
libexecdir!$libexecdir$ac_delim
 
5389
datarootdir!$datarootdir$ac_delim
 
5390
datadir!$datadir$ac_delim
 
5391
sysconfdir!$sysconfdir$ac_delim
 
5392
sharedstatedir!$sharedstatedir$ac_delim
 
5393
localstatedir!$localstatedir$ac_delim
 
5394
includedir!$includedir$ac_delim
 
5395
oldincludedir!$oldincludedir$ac_delim
 
5396
docdir!$docdir$ac_delim
 
5397
infodir!$infodir$ac_delim
 
5398
htmldir!$htmldir$ac_delim
 
5399
dvidir!$dvidir$ac_delim
 
5400
pdfdir!$pdfdir$ac_delim
 
5401
psdir!$psdir$ac_delim
 
5402
libdir!$libdir$ac_delim
 
5403
localedir!$localedir$ac_delim
 
5404
mandir!$mandir$ac_delim
 
5405
DEFS!$DEFS$ac_delim
 
5406
ECHO_C!$ECHO_C$ac_delim
 
5407
ECHO_N!$ECHO_N$ac_delim
 
5408
ECHO_T!$ECHO_T$ac_delim
 
5409
LIBS!$LIBS$ac_delim
 
5410
build_alias!$build_alias$ac_delim
 
5411
host_alias!$host_alias$ac_delim
 
5412
target_alias!$target_alias$ac_delim
 
5413
ocamlc!$ocamlc$ac_delim
 
5414
ocamlopt!$ocamlopt$ac_delim
 
5415
ocamlfind!$ocamlfind$ac_delim
 
5416
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
5417
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
5418
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
5419
INSTALL!$INSTALL$ac_delim
 
5420
CC!$CC$ac_delim
 
5421
CFLAGS!$CFLAGS$ac_delim
 
5422
LDFLAGS!$LDFLAGS$ac_delim
 
5423
CPPFLAGS!$CPPFLAGS$ac_delim
 
5424
ac_ct_CC!$ac_ct_CC$ac_delim
 
5425
EXEEXT!$EXEEXT$ac_delim
 
5426
OBJEXT!$OBJEXT$ac_delim
 
5427
CPP!$CPP$ac_delim
 
5428
GREP!$GREP$ac_delim
 
5429
EGREP!$EGREP$ac_delim
 
5430
LIBOBJS!$LIBOBJS$ac_delim
 
5431
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
5432
_ACEOF
 
5433
 
 
5434
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 56; then
 
5435
    break
 
5436
  elif $ac_last_try; then
 
5437
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
5438
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
5439
   { (exit 1); exit 1; }; }
 
5440
  else
 
5441
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4810
5442
  fi
 
5443
done
 
5444
 
 
5445
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
5446
if test -n "$ac_eof"; then
 
5447
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
5448
  ac_eof=`expr $ac_eof + 1`
 
5449
fi
 
5450
 
 
5451
cat >>$CONFIG_STATUS <<_ACEOF
 
5452
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
5453
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
5454
_ACEOF
 
5455
sed '
 
5456
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
5457
s/^/s,@/; s/!/@,|#_!!_#|/
 
5458
:n
 
5459
t n
 
5460
s/'"$ac_delim"'$/,g/; t
 
5461
s/$/\\/; p
 
5462
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
5463
' >>$CONFIG_STATUS <conf$$subs.sed
 
5464
rm -f conf$$subs.sed
 
5465
cat >>$CONFIG_STATUS <<_ACEOF
 
5466
:end
 
5467
s/|#_!!_#|//g
 
5468
CEOF$ac_eof
 
5469
_ACEOF
 
5470
 
 
5471
 
 
5472
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
5473
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
5474
# trailing colons and then remove the whole line if VPATH becomes empty
 
5475
# (actually we leave an empty line to preserve line numbers).
 
5476
if test "x$srcdir" = x.; then
 
5477
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
5478
s/:*\$(srcdir):*/:/
 
5479
s/:*\${srcdir}:*/:/
 
5480
s/:*@srcdir@:*/:/
 
5481
s/^\([^=]*=[     ]*\):*/\1/
 
5482
s/:*$//
 
5483
s/^[^=]*=[       ]*$//
 
5484
}'
 
5485
fi
 
5486
 
 
5487
cat >>$CONFIG_STATUS <<\_ACEOF
4811
5488
fi # test -n "$CONFIG_FILES"
4812
5489
 
4813
 
_ACEOF
4814
 
cat >>$CONFIG_STATUS <<\_ACEOF
4815
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4816
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4817
 
  case $ac_file in
4818
 
  - | *:- | *:-:* ) # input from stdin
4819
 
        cat >$tmp/stdin
4820
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4821
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4822
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4823
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4824
 
  * )   ac_file_in=$ac_file.in ;;
4825
 
  esac
4826
 
 
4827
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4828
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
5490
 
 
5491
for ac_tag in  :F $CONFIG_FILES
 
5492
do
 
5493
  case $ac_tag in
 
5494
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
5495
  esac
 
5496
  case $ac_mode$ac_tag in
 
5497
  :[FHL]*:*);;
 
5498
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
5499
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
5500
   { (exit 1); exit 1; }; };;
 
5501
  :[FH]-) ac_tag=-:-;;
 
5502
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
5503
  esac
 
5504
  ac_save_IFS=$IFS
 
5505
  IFS=:
 
5506
  set x $ac_tag
 
5507
  IFS=$ac_save_IFS
 
5508
  shift
 
5509
  ac_file=$1
 
5510
  shift
 
5511
 
 
5512
  case $ac_mode in
 
5513
  :L) ac_source=$1;;
 
5514
  :[FH])
 
5515
    ac_file_inputs=
 
5516
    for ac_f
 
5517
    do
 
5518
      case $ac_f in
 
5519
      -) ac_f="$tmp/stdin";;
 
5520
      *) # Look for the file first in the build tree, then in the source tree
 
5521
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
5522
         # because $ac_f cannot contain `:'.
 
5523
         test -f "$ac_f" ||
 
5524
           case $ac_f in
 
5525
           [\\/$]*) false;;
 
5526
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
5527
           esac ||
 
5528
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
5529
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
5530
   { (exit 1); exit 1; }; };;
 
5531
      esac
 
5532
      ac_file_inputs="$ac_file_inputs $ac_f"
 
5533
    done
 
5534
 
 
5535
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
5536
    # use $as_me), people would be surprised to read:
 
5537
    #    /* config.h.  Generated by config.status.  */
 
5538
    configure_input="Generated from "`IFS=:
 
5539
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
5540
    if test x"$ac_file" != x-; then
 
5541
      configure_input="$ac_file.  $configure_input"
 
5542
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
5543
echo "$as_me: creating $ac_file" >&6;}
 
5544
    fi
 
5545
 
 
5546
    case $ac_tag in
 
5547
    *:-:* | *:-) cat >"$tmp/stdin";;
 
5548
    esac
 
5549
    ;;
 
5550
  esac
 
5551
 
 
5552
  ac_dir=`$as_dirname -- "$ac_file" ||
4829
5553
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4830
5554
         X"$ac_file" : 'X\(//\)[^/]' \| \
4831
5555
         X"$ac_file" : 'X\(//\)$' \| \
4832
 
         X"$ac_file" : 'X\(/\)' \| \
4833
 
         .     : '\(.\)' 2>/dev/null ||
 
5556
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4834
5557
echo X"$ac_file" |
4835
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4836
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4837
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4838
 
          /^X\(\/\).*/{ s//\1/; q; }
4839
 
          s/.*/./; q'`
4840
 
  { if $as_mkdir_p; then
4841
 
    mkdir -p "$ac_dir"
4842
 
  else
4843
 
    as_dir="$ac_dir"
 
5558
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5559
            s//\1/
 
5560
            q
 
5561
          }
 
5562
          /^X\(\/\/\)[^/].*/{
 
5563
            s//\1/
 
5564
            q
 
5565
          }
 
5566
          /^X\(\/\/\)$/{
 
5567
            s//\1/
 
5568
            q
 
5569
          }
 
5570
          /^X\(\/\).*/{
 
5571
            s//\1/
 
5572
            q
 
5573
          }
 
5574
          s/.*/./; q'`
 
5575
  { as_dir="$ac_dir"
 
5576
  case $as_dir in #(
 
5577
  -*) as_dir=./$as_dir;;
 
5578
  esac
 
5579
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4844
5580
    as_dirs=
4845
 
    while test ! -d "$as_dir"; do
4846
 
      as_dirs="$as_dir $as_dirs"
4847
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
5581
    while :; do
 
5582
      case $as_dir in #(
 
5583
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
5584
      *) as_qdir=$as_dir;;
 
5585
      esac
 
5586
      as_dirs="'$as_qdir' $as_dirs"
 
5587
      as_dir=`$as_dirname -- "$as_dir" ||
4848
5588
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4849
5589
         X"$as_dir" : 'X\(//\)[^/]' \| \
4850
5590
         X"$as_dir" : 'X\(//\)$' \| \
4851
 
         X"$as_dir" : 'X\(/\)' \| \
4852
 
         .     : '\(.\)' 2>/dev/null ||
 
5591
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4853
5592
echo X"$as_dir" |
4854
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4855
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4856
 
          /^X\(\/\/\)$/{ s//\1/; q; }
4857
 
          /^X\(\/\).*/{ s//\1/; q; }
4858
 
          s/.*/./; q'`
 
5593
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5594
            s//\1/
 
5595
            q
 
5596
          }
 
5597
          /^X\(\/\/\)[^/].*/{
 
5598
            s//\1/
 
5599
            q
 
5600
          }
 
5601
          /^X\(\/\/\)$/{
 
5602
            s//\1/
 
5603
            q
 
5604
          }
 
5605
          /^X\(\/\).*/{
 
5606
            s//\1/
 
5607
            q
 
5608
          }
 
5609
          s/.*/./; q'`
 
5610
      test -d "$as_dir" && break
4859
5611
    done
4860
 
    test ! -n "$as_dirs" || mkdir $as_dirs
4861
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4862
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
5612
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
5613
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
5614
echo "$as_me: error: cannot create directory $as_dir" >&2;}
4863
5615
   { (exit 1); exit 1; }; }; }
4864
 
 
4865
5616
  ac_builddir=.
4866
5617
 
4867
 
if test "$ac_dir" != .; then
 
5618
case "$ac_dir" in
 
5619
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
5620
*)
4868
5621
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4869
 
  # A "../" for each directory in $ac_dir_suffix.
4870
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4871
 
else
4872
 
  ac_dir_suffix= ac_top_builddir=
4873
 
fi
 
5622
  # A ".." for each directory in $ac_dir_suffix.
 
5623
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
5624
  case $ac_top_builddir_sub in
 
5625
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
5626
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
5627
  esac ;;
 
5628
esac
 
5629
ac_abs_top_builddir=$ac_pwd
 
5630
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
5631
# for backward compatibility:
 
5632
ac_top_builddir=$ac_top_build_prefix
4874
5633
 
4875
5634
case $srcdir in
4876
 
  .)  # No --srcdir option.  We are building in place.
 
5635
  .)  # We are building in place.
4877
5636
    ac_srcdir=.
4878
 
    if test -z "$ac_top_builddir"; then
4879
 
       ac_top_srcdir=.
4880
 
    else
4881
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4882
 
    fi ;;
4883
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
5637
    ac_top_srcdir=$ac_top_builddir_sub
 
5638
    ac_abs_top_srcdir=$ac_pwd ;;
 
5639
  [\\/]* | ?:[\\/]* )  # Absolute name.
4884
5640
    ac_srcdir=$srcdir$ac_dir_suffix;
4885
 
    ac_top_srcdir=$srcdir ;;
4886
 
  *) # Relative path.
4887
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4888
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4889
 
esac
4890
 
 
4891
 
# Do not use `cd foo && pwd` to compute absolute paths, because
4892
 
# the directories may not exist.
4893
 
case `pwd` in
4894
 
.) ac_abs_builddir="$ac_dir";;
4895
 
*)
4896
 
  case "$ac_dir" in
4897
 
  .) ac_abs_builddir=`pwd`;;
4898
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4899
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4900
 
  esac;;
4901
 
esac
4902
 
case $ac_abs_builddir in
4903
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4904
 
*)
4905
 
  case ${ac_top_builddir}. in
4906
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
4907
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4908
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4909
 
  esac;;
4910
 
esac
4911
 
case $ac_abs_builddir in
4912
 
.) ac_abs_srcdir=$ac_srcdir;;
4913
 
*)
4914
 
  case $ac_srcdir in
4915
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
4916
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4917
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4918
 
  esac;;
4919
 
esac
4920
 
case $ac_abs_builddir in
4921
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
4922
 
*)
4923
 
  case $ac_top_srcdir in
4924
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4925
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4926
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4927
 
  esac;;
4928
 
esac
4929
 
 
 
5641
    ac_top_srcdir=$srcdir
 
5642
    ac_abs_top_srcdir=$srcdir ;;
 
5643
  *) # Relative name.
 
5644
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
5645
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
5646
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
5647
esac
 
5648
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
5649
 
 
5650
 
 
5651
  case $ac_mode in
 
5652
  :F)
 
5653
  #
 
5654
  # CONFIG_FILE
 
5655
  #
4930
5656
 
4931
5657
  case $INSTALL in
4932
5658
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4933
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
 
5659
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4934
5660
  esac
4935
 
 
4936
 
  if test x"$ac_file" != x-; then
4937
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
4938
 
echo "$as_me: creating $ac_file" >&6;}
4939
 
    rm -f "$ac_file"
4940
 
  fi
4941
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
4942
 
  # use $as_me), people would be surprised to read:
4943
 
  #    /* config.h.  Generated by config.status.  */
4944
 
  if test x"$ac_file" = x-; then
4945
 
    configure_input=
4946
 
  else
4947
 
    configure_input="$ac_file.  "
4948
 
  fi
4949
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
4950
 
                                     sed 's,.*/,,'` by configure."
4951
 
 
4952
 
  # First look for the input files in the build tree, otherwise in the
4953
 
  # src tree.
4954
 
  ac_file_inputs=`IFS=:
4955
 
    for f in $ac_file_in; do
4956
 
      case $f in
4957
 
      -) echo $tmp/stdin ;;
4958
 
      [\\/$]*)
4959
 
         # Absolute (can't be DOS-style, as IFS=:)
4960
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4961
 
echo "$as_me: error: cannot find input file: $f" >&2;}
4962
 
   { (exit 1); exit 1; }; }
4963
 
         echo "$f";;
4964
 
      *) # Relative
4965
 
         if test -f "$f"; then
4966
 
           # Build tree
4967
 
           echo "$f"
4968
 
         elif test -f "$srcdir/$f"; then
4969
 
           # Source tree
4970
 
           echo "$srcdir/$f"
4971
 
         else
4972
 
           # /dev/null tree
4973
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4974
 
echo "$as_me: error: cannot find input file: $f" >&2;}
4975
 
   { (exit 1); exit 1; }; }
4976
 
         fi;;
4977
 
      esac
4978
 
    done` || { (exit 1); exit 1; }
4979
 
_ACEOF
 
5661
_ACEOF
 
5662
 
 
5663
cat >>$CONFIG_STATUS <<\_ACEOF
 
5664
# If the template does not know about datarootdir, expand it.
 
5665
# FIXME: This hack should be removed a few years after 2.60.
 
5666
ac_datarootdir_hack=; ac_datarootdir_seen=
 
5667
 
 
5668
case `sed -n '/datarootdir/ {
 
5669
  p
 
5670
  q
 
5671
}
 
5672
/@datadir@/p
 
5673
/@docdir@/p
 
5674
/@infodir@/p
 
5675
/@localedir@/p
 
5676
/@mandir@/p
 
5677
' $ac_file_inputs` in
 
5678
*datarootdir*) ac_datarootdir_seen=yes;;
 
5679
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
5680
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
5681
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
5682
_ACEOF
 
5683
cat >>$CONFIG_STATUS <<_ACEOF
 
5684
  ac_datarootdir_hack='
 
5685
  s&@datadir@&$datadir&g
 
5686
  s&@docdir@&$docdir&g
 
5687
  s&@infodir@&$infodir&g
 
5688
  s&@localedir@&$localedir&g
 
5689
  s&@mandir@&$mandir&g
 
5690
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
5691
esac
 
5692
_ACEOF
 
5693
 
 
5694
# Neutralize VPATH when `$srcdir' = `.'.
 
5695
# Shell code in configure.ac might set extrasub.
 
5696
# FIXME: do we really want to maintain this feature?
4980
5697
cat >>$CONFIG_STATUS <<_ACEOF
4981
5698
  sed "$ac_vpsub
4982
5699
$extrasub
4984
5701
cat >>$CONFIG_STATUS <<\_ACEOF
4985
5702
:t
4986
5703
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4987
 
s,@configure_input@,$configure_input,;t t
4988
 
s,@srcdir@,$ac_srcdir,;t t
4989
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
4990
 
s,@top_srcdir@,$ac_top_srcdir,;t t
4991
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4992
 
s,@builddir@,$ac_builddir,;t t
4993
 
s,@abs_builddir@,$ac_abs_builddir,;t t
4994
 
s,@top_builddir@,$ac_top_builddir,;t t
4995
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4996
 
s,@INSTALL@,$ac_INSTALL,;t t
4997
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4998
 
  rm -f $tmp/stdin
4999
 
  if test x"$ac_file" != x-; then
5000
 
    mv $tmp/out $ac_file
5001
 
  else
5002
 
    cat $tmp/out
5003
 
    rm -f $tmp/out
5004
 
  fi
5005
 
 
5006
 
done
5007
 
_ACEOF
5008
 
 
5009
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
5704
s&@configure_input@&$configure_input&;t t
 
5705
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
5706
s&@srcdir@&$ac_srcdir&;t t
 
5707
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
5708
s&@top_srcdir@&$ac_top_srcdir&;t t
 
5709
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
5710
s&@builddir@&$ac_builddir&;t t
 
5711
s&@abs_builddir@&$ac_abs_builddir&;t t
 
5712
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
5713
s&@INSTALL@&$ac_INSTALL&;t t
 
5714
$ac_datarootdir_hack
 
5715
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 
5716
 
 
5717
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
5718
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
5719
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
5720
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
5721
which seems to be undefined.  Please make sure it is defined." >&5
 
5722
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
5723
which seems to be undefined.  Please make sure it is defined." >&2;}
 
5724
 
 
5725
  rm -f "$tmp/stdin"
 
5726
  case $ac_file in
 
5727
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
5728
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
5729
  esac
 
5730
 ;;
 
5731
 
 
5732
 
 
5733
 
 
5734
  esac
 
5735
 
 
5736
done # for ac_tag
 
5737
 
5010
5738
 
5011
5739
{ (exit 0); exit 0; }
5012
5740
_ACEOF