~ubuntu-branches/ubuntu/oneiric/squid3/oneiric-security

« back to all changes in this revision

Viewing changes to lib/libTrie/configure

  • Committer: Bazaar Package Importer
  • Author(s): Mahyuddin Susanto
  • Date: 2011-02-15 18:46:13 UTC
  • mfrom: (21.2.4 sid)
  • Revision ID: james.westby@ubuntu.com-20110215184613-1u3dh5sz4i055flk
Tags: 3.1.10-1ubuntu1
* Merge from debian unstable. (LP: #719283)  Remaining changes:
  - debian/patches/18-fix-ftbfs-binutils-gold.dpatch: Add library linker into
    LIBS instead to LDFLAGS to fixing FTBFS binutils-gold.
* Drop Ubuntu configuration for ufw which landed in Debian and sync it: 
  - debian/squid3.ufw.profile.

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.62 for libTrie 0.1.
 
3
# Generated by GNU Autoconf 2.68 for libTrie 0.1.
4
4
#
5
5
# Report bugs to <rbtcollins@squid-cache.org>.
6
6
#
 
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
 
11
#
 
12
#
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
14
18
 
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
22
  emulate sh
19
23
  NULLCMD=:
20
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22
26
  alias -g '${1+"$@"}'='"$@"'
23
27
  setopt NO_GLOB_SUBST
24
28
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
27
34
esac
28
 
 
29
35
fi
30
36
 
31
37
 
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
38
as_nl='
43
39
'
44
40
export as_nl
46
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
52
  as_echo='printf %s\n'
51
53
  as_echo_n='printf %s'
52
54
else
57
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
60
    as_echo_n_body='eval
59
61
      arg=$1;
60
 
      case $arg in
 
62
      case $arg in #(
61
63
      *"$as_nl"*)
62
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
82
  }
81
83
fi
82
84
 
83
 
# Support unset when possible.
84
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85
 
  as_unset=unset
86
 
else
87
 
  as_unset=false
88
 
fi
89
 
 
90
85
 
91
86
# IFS
92
87
# We need space, tab and new line, in precisely that order.  Quoting is
96
91
IFS=" ""        $as_nl"
97
92
 
98
93
# Find who we are.  Look in the path if we contain no directory separator.
99
 
case $0 in
 
94
as_myself=
 
95
case $0 in #((
100
96
  *[\\/]* ) as_myself=$0 ;;
101
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
98
for as_dir in $PATH
103
99
do
104
100
  IFS=$as_save_IFS
105
101
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
102
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
103
  done
108
104
IFS=$as_save_IFS
109
105
 
110
106
     ;;
116
112
fi
117
113
if test ! -f "$as_myself"; then
118
114
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
115
  exit 1
120
116
fi
121
117
 
122
 
# Work around bugs in pre-3.0 UWIN ksh.
123
 
for as_var in ENV MAIL MAILPATH
124
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
118
# Unset variables that we do not need and which cause bugs (e.g. in
 
119
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
120
# suppresses any "Segmentation fault" message there.  '((' could
 
121
# trigger a bug in pdksh 5.2.14.
 
122
for as_var in BASH_ENV ENV MAIL MAILPATH
 
123
do eval test x\${$as_var+set} = xset \
 
124
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
125
done
126
126
PS1='$ '
127
127
PS2='> '
133
133
LANGUAGE=C
134
134
export LANGUAGE
135
135
 
136
 
# Required to use basename.
137
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139
 
  as_expr=expr
140
 
else
141
 
  as_expr=false
142
 
fi
143
 
 
144
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145
 
  as_basename=basename
146
 
else
147
 
  as_basename=false
148
 
fi
149
 
 
150
 
 
151
 
# Name of the executable.
152
 
as_me=`$as_basename -- "$0" ||
153
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
 
         X"$0" : 'X\(//\)$' \| \
155
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
 
$as_echo X/"$0" |
157
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
158
 
            s//\1/
159
 
            q
160
 
          }
161
 
          /^X\/\(\/\/\)$/{
162
 
            s//\1/
163
 
            q
164
 
          }
165
 
          /^X\/\(\/\).*/{
166
 
            s//\1/
167
 
            q
168
 
          }
169
 
          s/.*/./; q'`
170
 
 
171
136
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
138
 
175
139
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
140
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
141
  emulate sh
 
142
  NULLCMD=:
 
143
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
144
  # is contrary to our usage.  Disable this feature.
 
145
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
146
  setopt NO_GLOB_SUBST
 
147
else
 
148
  case \`(set -o) 2>/dev/null\` in #(
 
149
  *posix*) :
 
150
    set -o posix ;; #(
 
151
  *) :
 
152
     ;;
 
153
esac
 
154
fi
 
155
"
 
156
  as_required="as_fn_return () { (exit \$1); }
 
157
as_fn_success () { as_fn_return 0; }
 
158
as_fn_failure () { as_fn_return 1; }
 
159
as_fn_ret_success () { return 0; }
 
160
as_fn_ret_failure () { return 1; }
 
161
 
 
162
exitcode=0
 
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
168
 
 
169
else
 
170
  exitcode=1; echo positional parameters were not saved.
 
171
fi
 
172
test x\$exitcode = x0 || exit 1"
 
173
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
177
test \$(( 1 + 1 )) = 2 || exit 1"
 
178
  if (eval "$as_required") 2>/dev/null; then :
177
179
  as_have_required=yes
178
180
else
179
181
  as_have_required=no
180
182
fi
181
 
 
182
 
  if test $as_have_required = yes &&     (eval ":
183
 
(as_func_return () {
184
 
  (exit \$1)
185
 
}
186
 
as_func_success () {
187
 
  as_func_return 0
188
 
}
189
 
as_func_failure () {
190
 
  as_func_return 1
191
 
}
192
 
as_func_ret_success () {
193
 
  return 0
194
 
}
195
 
as_func_ret_failure () {
196
 
  return 1
197
 
}
198
 
 
199
 
exitcode=0
200
 
if as_func_success; then
201
 
  :
202
 
else
203
 
  exitcode=1
204
 
  echo as_func_success failed.
205
 
fi
206
 
 
207
 
if as_func_failure; then
208
 
  exitcode=1
209
 
  echo as_func_failure succeeded.
210
 
fi
211
 
 
212
 
if as_func_ret_success; then
213
 
  :
214
 
else
215
 
  exitcode=1
216
 
  echo as_func_ret_success failed.
217
 
fi
218
 
 
219
 
if as_func_ret_failure; then
220
 
  exitcode=1
221
 
  echo as_func_ret_failure succeeded.
222
 
fi
223
 
 
224
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225
 
  :
226
 
else
227
 
  exitcode=1
228
 
  echo positional parameters were not saved.
229
 
fi
230
 
 
231
 
test \$exitcode = 0) || { (exit 1); exit 1; }
232
 
 
233
 
(
234
 
  as_lineno_1=\$LINENO
235
 
  as_lineno_2=\$LINENO
236
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
 
") 2> /dev/null; then
239
 
  :
240
 
else
241
 
  as_candidate_shells=
242
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
183
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
184
 
 
185
else
 
186
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
187
as_found=false
243
188
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
189
do
245
190
  IFS=$as_save_IFS
246
191
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
192
  as_found=:
 
193
  case $as_dir in #(
248
194
         /*)
249
195
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
196
             # Try only shells that exist, to save several forks.
 
197
             as_shell=$as_dir/$as_base
 
198
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
199
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
200
  CONFIG_SHELL=$as_shell as_have_required=yes
 
201
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
202
  break 2
 
203
fi
 
204
fi
251
205
           done;;
252
206
       esac
 
207
  as_found=false
253
208
done
 
209
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
210
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
211
  CONFIG_SHELL=$SHELL as_have_required=yes
 
212
fi; }
254
213
IFS=$as_save_IFS
255
214
 
256
215
 
257
 
      for as_shell in $as_candidate_shells $SHELL; do
258
 
         # Try only shells that exist, to save several forks.
259
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
_ASEOF
278
 
}; then
279
 
  CONFIG_SHELL=$as_shell
280
 
               as_have_required=yes
281
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
282
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
 
  emulate sh
284
 
  NULLCMD=:
285
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
 
  # is contrary to our usage.  Disable this feature.
287
 
  alias -g '${1+"$@"}'='"$@"'
288
 
  setopt NO_GLOB_SUBST
289
 
else
290
 
  case `(set -o) 2>/dev/null` in
291
 
  *posix*) set -o posix ;;
292
 
esac
293
 
 
294
 
fi
295
 
 
296
 
 
297
 
:
298
 
(as_func_return () {
299
 
  (exit $1)
300
 
}
301
 
as_func_success () {
302
 
  as_func_return 0
303
 
}
304
 
as_func_failure () {
305
 
  as_func_return 1
306
 
}
307
 
as_func_ret_success () {
308
 
  return 0
309
 
}
310
 
as_func_ret_failure () {
311
 
  return 1
312
 
}
313
 
 
314
 
exitcode=0
315
 
if as_func_success; then
316
 
  :
317
 
else
318
 
  exitcode=1
319
 
  echo as_func_success failed.
320
 
fi
321
 
 
322
 
if as_func_failure; then
323
 
  exitcode=1
324
 
  echo as_func_failure succeeded.
325
 
fi
326
 
 
327
 
if as_func_ret_success; then
328
 
  :
329
 
else
330
 
  exitcode=1
331
 
  echo as_func_ret_success failed.
332
 
fi
333
 
 
334
 
if as_func_ret_failure; then
335
 
  exitcode=1
336
 
  echo as_func_ret_failure succeeded.
337
 
fi
338
 
 
339
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
340
 
  :
341
 
else
342
 
  exitcode=1
343
 
  echo positional parameters were not saved.
344
 
fi
345
 
 
346
 
test $exitcode = 0) || { (exit 1); exit 1; }
347
 
 
348
 
(
349
 
  as_lineno_1=$LINENO
350
 
  as_lineno_2=$LINENO
351
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
352
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
 
 
354
 
_ASEOF
355
 
}; then
356
 
  break
357
 
fi
358
 
 
359
 
fi
360
 
 
361
 
      done
362
 
 
363
 
      if test "x$CONFIG_SHELL" != x; then
364
 
  for as_var in BASH_ENV ENV
365
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
 
        done
 
216
      if test "x$CONFIG_SHELL" != x; then :
 
217
  # We cannot yet assume a decent shell, so we have to provide a
 
218
        # neutralization value for shells without unset; and this also
 
219
        # works around shells that cannot unset nonexistent variables.
 
220
        # Preserve -v and -x to the replacement shell.
 
221
        BASH_ENV=/dev/null
 
222
        ENV=/dev/null
 
223
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
224
        export CONFIG_SHELL
368
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
 
fi
370
 
 
371
 
 
372
 
    if test $as_have_required = no; then
373
 
  echo This script requires a shell more modern than all the
374
 
      echo shells that I found on your system.  Please install a
375
 
      echo modern shell, or manually run the script under such a
376
 
      echo shell if you do have one.
377
 
      { (exit 1); exit 1; }
378
 
fi
379
 
 
380
 
 
381
 
fi
382
 
 
383
 
fi
384
 
 
385
 
 
386
 
 
387
 
(eval "as_func_return () {
388
 
  (exit \$1)
389
 
}
390
 
as_func_success () {
391
 
  as_func_return 0
392
 
}
393
 
as_func_failure () {
394
 
  as_func_return 1
395
 
}
396
 
as_func_ret_success () {
397
 
  return 0
398
 
}
399
 
as_func_ret_failure () {
400
 
  return 1
401
 
}
402
 
 
403
 
exitcode=0
404
 
if as_func_success; then
405
 
  :
406
 
else
407
 
  exitcode=1
408
 
  echo as_func_success failed.
409
 
fi
410
 
 
411
 
if as_func_failure; then
412
 
  exitcode=1
413
 
  echo as_func_failure succeeded.
414
 
fi
415
 
 
416
 
if as_func_ret_success; then
417
 
  :
418
 
else
419
 
  exitcode=1
420
 
  echo as_func_ret_success failed.
421
 
fi
422
 
 
423
 
if as_func_ret_failure; then
424
 
  exitcode=1
425
 
  echo as_func_ret_failure succeeded.
426
 
fi
427
 
 
428
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429
 
  :
430
 
else
431
 
  exitcode=1
432
 
  echo positional parameters were not saved.
433
 
fi
434
 
 
435
 
test \$exitcode = 0") || {
436
 
  echo No shell found that supports shell functions.
437
 
  echo Please tell bug-autoconf@gnu.org about your system,
438
 
  echo including any error possibly output before this message.
439
 
  echo This can help us improve future autoconf versions.
440
 
  echo Configuration will now proceed without shell functions.
441
 
}
442
 
 
443
 
 
444
 
 
445
 
  as_lineno_1=$LINENO
446
 
  as_lineno_2=$LINENO
447
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
448
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
 
 
450
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
452
 
  # line-number line after each line using $LINENO; the second 'sed'
453
 
  # does the real work.  The second script uses 'N' to pair each
454
 
  # line-number line with the line containing $LINENO, and appends
455
 
  # trailing '-' during substitution so that $LINENO is not a special
456
 
  # case at line end.
457
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
225
        case $- in # ((((
 
226
          *v*x* | *x*v* ) as_opts=-vx ;;
 
227
          *v* ) as_opts=-v ;;
 
228
          *x* ) as_opts=-x ;;
 
229
          * ) as_opts= ;;
 
230
        esac
 
231
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
232
fi
 
233
 
 
234
    if test x$as_have_required = xno; then :
 
235
  $as_echo "$0: This script requires a shell more modern than all"
 
236
  $as_echo "$0: the shells that I found on your system."
 
237
  if test x${ZSH_VERSION+set} = xset ; then
 
238
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
239
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
240
  else
 
241
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
242
$0: rbtcollins@squid-cache.org about your system, including
 
243
$0: any error possibly output before this message. Then
 
244
$0: install a modern shell, or manually run the script
 
245
$0: under such a shell if you do have one."
 
246
  fi
 
247
  exit 1
 
248
fi
 
249
fi
 
250
fi
 
251
SHELL=${CONFIG_SHELL-/bin/sh}
 
252
export SHELL
 
253
# Unset more variables known to interfere with behavior of common tools.
 
254
CLICOLOR_FORCE= GREP_OPTIONS=
 
255
unset CLICOLOR_FORCE GREP_OPTIONS
 
256
 
 
257
## --------------------- ##
 
258
## M4sh Shell Functions. ##
 
259
## --------------------- ##
 
260
# as_fn_unset VAR
 
261
# ---------------
 
262
# Portably unset VAR.
 
263
as_fn_unset ()
 
264
{
 
265
  { eval $1=; unset $1;}
 
266
}
 
267
as_unset=as_fn_unset
 
268
 
 
269
# as_fn_set_status STATUS
 
270
# -----------------------
 
271
# Set $? to STATUS, without forking.
 
272
as_fn_set_status ()
 
273
{
 
274
  return $1
 
275
} # as_fn_set_status
 
276
 
 
277
# as_fn_exit STATUS
 
278
# -----------------
 
279
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
280
as_fn_exit ()
 
281
{
 
282
  set +e
 
283
  as_fn_set_status $1
 
284
  exit $1
 
285
} # as_fn_exit
 
286
 
 
287
# as_fn_mkdir_p
 
288
# -------------
 
289
# Create "$as_dir" as a directory, including parents if necessary.
 
290
as_fn_mkdir_p ()
 
291
{
 
292
 
 
293
  case $as_dir in #(
 
294
  -*) as_dir=./$as_dir;;
 
295
  esac
 
296
  test -d "$as_dir" || eval $as_mkdir_p || {
 
297
    as_dirs=
 
298
    while :; do
 
299
      case $as_dir in #(
 
300
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
301
      *) as_qdir=$as_dir;;
 
302
      esac
 
303
      as_dirs="'$as_qdir' $as_dirs"
 
304
      as_dir=`$as_dirname -- "$as_dir" ||
 
305
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
306
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
307
         X"$as_dir" : 'X\(//\)$' \| \
 
308
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
309
$as_echo X"$as_dir" |
 
310
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
311
            s//\1/
 
312
            q
 
313
          }
 
314
          /^X\(\/\/\)[^/].*/{
 
315
            s//\1/
 
316
            q
 
317
          }
 
318
          /^X\(\/\/\)$/{
 
319
            s//\1/
 
320
            q
 
321
          }
 
322
          /^X\(\/\).*/{
 
323
            s//\1/
 
324
            q
 
325
          }
 
326
          s/.*/./; q'`
 
327
      test -d "$as_dir" && break
 
328
    done
 
329
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
330
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
331
 
 
332
 
 
333
} # as_fn_mkdir_p
 
334
# as_fn_append VAR VALUE
 
335
# ----------------------
 
336
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
337
# advantage of any shell optimizations that allow amortized linear growth over
 
338
# repeated appends, instead of the typical quadratic growth present in naive
 
339
# implementations.
 
340
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
341
  eval 'as_fn_append ()
 
342
  {
 
343
    eval $1+=\$2
 
344
  }'
 
345
else
 
346
  as_fn_append ()
 
347
  {
 
348
    eval $1=\$$1\$2
 
349
  }
 
350
fi # as_fn_append
 
351
 
 
352
# as_fn_arith ARG...
 
353
# ------------------
 
354
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
355
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
356
# must be portable across $(()) and expr.
 
357
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
358
  eval 'as_fn_arith ()
 
359
  {
 
360
    as_val=$(( $* ))
 
361
  }'
 
362
else
 
363
  as_fn_arith ()
 
364
  {
 
365
    as_val=`expr "$@" || test $? -eq 1`
 
366
  }
 
367
fi # as_fn_arith
 
368
 
 
369
 
 
370
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
371
# ----------------------------------------
 
372
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
373
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
374
# script with STATUS, using 1 if that was 0.
 
375
as_fn_error ()
 
376
{
 
377
  as_status=$1; test $as_status -eq 0 && as_status=1
 
378
  if test "$4"; then
 
379
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
380
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
381
  fi
 
382
  $as_echo "$as_me: error: $2" >&2
 
383
  as_fn_exit $as_status
 
384
} # as_fn_error
 
385
 
 
386
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
387
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
388
  as_expr=expr
 
389
else
 
390
  as_expr=false
 
391
fi
 
392
 
 
393
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
394
  as_basename=basename
 
395
else
 
396
  as_basename=false
 
397
fi
 
398
 
 
399
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
400
  as_dirname=dirname
 
401
else
 
402
  as_dirname=false
 
403
fi
 
404
 
 
405
as_me=`$as_basename -- "$0" ||
 
406
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
407
         X"$0" : 'X\(//\)$' \| \
 
408
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
409
$as_echo X/"$0" |
 
410
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
411
            s//\1/
 
412
            q
 
413
          }
 
414
          /^X\/\(\/\/\)$/{
 
415
            s//\1/
 
416
            q
 
417
          }
 
418
          /^X\/\(\/\).*/{
 
419
            s//\1/
 
420
            q
 
421
          }
 
422
          s/.*/./; q'`
 
423
 
 
424
# Avoid depending upon Character Ranges.
 
425
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
426
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
427
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
428
as_cr_digits='0123456789'
 
429
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
430
 
 
431
 
 
432
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
433
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
434
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
435
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
436
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
437
  sed -n '
461
438
    p
462
439
    /[$]LINENO/=
473
450
      s/-\n.*//
474
451
    ' >$as_me.lineno &&
475
452
  chmod +x "$as_me.lineno" ||
476
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
 
   { (exit 1); exit 1; }; }
 
453
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
454
 
479
455
  # Don't try to exec as it changes $[0], causing all sort of problems
480
456
  # (the dirname of $[0] is not the place where we might find the
484
460
  exit
485
461
}
486
462
 
487
 
 
488
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489
 
  as_dirname=dirname
490
 
else
491
 
  as_dirname=false
492
 
fi
493
 
 
494
463
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
464
case `echo -n x` in #(((((
496
465
-n*)
497
 
  case `echo 'x\c'` in
 
466
  case `echo 'xy\c'` in
498
467
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
468
  xy)  ECHO_C='\c';;
 
469
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
470
       ECHO_T=' ';;
500
471
  esac;;
501
472
*)
502
473
  ECHO_N='-n';;
503
474
esac
504
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506
 
  as_expr=expr
507
 
else
508
 
  as_expr=false
509
 
fi
510
475
 
511
476
rm -f conf$$ conf$$.exe conf$$.file
512
477
if test -d conf$$.dir; then
536
501
rmdir conf$$.dir 2>/dev/null
537
502
 
538
503
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
504
  as_mkdir_p='mkdir -p "$as_dir"'
540
505
else
541
506
  test -d ./-p && rmdir ./-p
542
507
  as_mkdir_p=false
555
520
      if test -d "$1"; then
556
521
        test -d "$1/.";
557
522
      else
558
 
        case $1 in
 
523
        case $1 in #(
559
524
        -*)set "./$1";;
560
525
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
526
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
527
        ???[sx]*):;;*)false;;esac;fi
563
528
    '\'' sh
564
529
  '
572
537
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
538
 
574
539
 
575
 
 
576
 
exec 7<&0 </dev/null 6>&1
 
540
test -n "$DJDIR" || exec 7<&0 </dev/null
 
541
exec 6>&1
577
542
 
578
543
# Name of the host.
579
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
544
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
580
545
# so uname gets run too.
581
546
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
547
 
591
556
subdirs=
592
557
MFLAGS=
593
558
MAKEFLAGS=
594
 
SHELL=${CONFIG_SHELL-/bin/sh}
595
559
 
596
560
# Identity of this package.
597
561
PACKAGE_NAME='libTrie'
599
563
PACKAGE_VERSION='0.1'
600
564
PACKAGE_STRING='libTrie 0.1'
601
565
PACKAGE_BUGREPORT='rbtcollins@squid-cache.org'
 
566
PACKAGE_URL=''
602
567
 
603
568
ac_unique_file="src/Trie.cc"
604
569
# Factoring default headers for most tests.
637
602
# include <unistd.h>
638
603
#endif"
639
604
 
640
 
ac_subst_vars='SHELL
 
605
ac_subst_vars='am__EXEEXT_FALSE
 
606
am__EXEEXT_TRUE
 
607
LTLIBOBJS
 
608
LIBOBJS
 
609
EGREP
 
610
GREP
 
611
CXXCPP
 
612
TRIE_CXXFLAGS
 
613
TRIE_CFLAGS
 
614
RANLIB
 
615
MAINT
 
616
MAINTAINER_MODE_FALSE
 
617
MAINTAINER_MODE_TRUE
 
618
am__fastdepCXX_FALSE
 
619
am__fastdepCXX_TRUE
 
620
CXXDEPMODE
 
621
am__fastdepCC_FALSE
 
622
am__fastdepCC_TRUE
 
623
CCDEPMODE
 
624
AMDEPBACKSLASH
 
625
AMDEP_FALSE
 
626
AMDEP_TRUE
 
627
am__quote
 
628
am__include
 
629
DEPDIR
 
630
am__untar
 
631
am__tar
 
632
AMTAR
 
633
am__leading_dot
 
634
AWK
 
635
mkdir_p
 
636
MKDIR_P
 
637
INSTALL_STRIP_PROGRAM
 
638
STRIP
 
639
install_sh
 
640
MAKEINFO
 
641
AUTOHEADER
 
642
AUTOMAKE
 
643
AUTOCONF
 
644
ACLOCAL
 
645
VERSION
 
646
PACKAGE
 
647
CYGPATH_W
 
648
am__isrc
 
649
INSTALL_DATA
 
650
INSTALL_SCRIPT
 
651
INSTALL_PROGRAM
 
652
SET_MAKE
 
653
ac_ct_CC
 
654
CFLAGS
 
655
CC
 
656
OBJEXT
 
657
EXEEXT
 
658
ac_ct_CXX
 
659
CPPFLAGS
 
660
LDFLAGS
 
661
CXXFLAGS
 
662
CXX
 
663
target_alias
 
664
host_alias
 
665
build_alias
 
666
LIBS
 
667
ECHO_T
 
668
ECHO_N
 
669
ECHO_C
 
670
DEFS
 
671
mandir
 
672
localedir
 
673
libdir
 
674
psdir
 
675
pdfdir
 
676
dvidir
 
677
htmldir
 
678
infodir
 
679
docdir
 
680
oldincludedir
 
681
includedir
 
682
localstatedir
 
683
sharedstatedir
 
684
sysconfdir
 
685
datadir
 
686
datarootdir
 
687
libexecdir
 
688
sbindir
 
689
bindir
 
690
program_transform_name
 
691
prefix
 
692
exec_prefix
 
693
PACKAGE_URL
 
694
PACKAGE_BUGREPORT
 
695
PACKAGE_STRING
 
696
PACKAGE_VERSION
 
697
PACKAGE_TARNAME
 
698
PACKAGE_NAME
641
699
PATH_SEPARATOR
642
 
PACKAGE_NAME
643
 
PACKAGE_TARNAME
644
 
PACKAGE_VERSION
645
 
PACKAGE_STRING
646
 
PACKAGE_BUGREPORT
647
 
exec_prefix
648
 
prefix
649
 
program_transform_name
650
 
bindir
651
 
sbindir
652
 
libexecdir
653
 
datarootdir
654
 
datadir
655
 
sysconfdir
656
 
sharedstatedir
657
 
localstatedir
658
 
includedir
659
 
oldincludedir
660
 
docdir
661
 
infodir
662
 
htmldir
663
 
dvidir
664
 
pdfdir
665
 
psdir
666
 
libdir
667
 
localedir
668
 
mandir
669
 
DEFS
670
 
ECHO_C
671
 
ECHO_N
672
 
ECHO_T
673
 
LIBS
674
 
build_alias
675
 
host_alias
676
 
target_alias
677
 
CXX
678
 
CXXFLAGS
679
 
LDFLAGS
680
 
CPPFLAGS
681
 
ac_ct_CXX
682
 
EXEEXT
683
 
OBJEXT
684
 
CC
685
 
CFLAGS
686
 
ac_ct_CC
687
 
SET_MAKE
688
 
INSTALL_PROGRAM
689
 
INSTALL_SCRIPT
690
 
INSTALL_DATA
691
 
am__isrc
692
 
CYGPATH_W
693
 
PACKAGE
694
 
VERSION
695
 
ACLOCAL
696
 
AUTOCONF
697
 
AUTOMAKE
698
 
AUTOHEADER
699
 
MAKEINFO
700
 
install_sh
701
 
STRIP
702
 
INSTALL_STRIP_PROGRAM
703
 
MKDIR_P
704
 
mkdir_p
705
 
AWK
706
 
am__leading_dot
707
 
AMTAR
708
 
am__tar
709
 
am__untar
710
 
DEPDIR
711
 
am__include
712
 
am__quote
713
 
AMDEP_TRUE
714
 
AMDEP_FALSE
715
 
AMDEPBACKSLASH
716
 
CCDEPMODE
717
 
am__fastdepCC_TRUE
718
 
am__fastdepCC_FALSE
719
 
CXXDEPMODE
720
 
am__fastdepCXX_TRUE
721
 
am__fastdepCXX_FALSE
722
 
MAINTAINER_MODE_TRUE
723
 
MAINTAINER_MODE_FALSE
724
 
MAINT
725
 
RANLIB
726
 
TRIE_CFLAGS
727
 
TRIE_CXXFLAGS
728
 
CXXCPP
729
 
GREP
730
 
EGREP
731
 
LIBOBJS
732
 
LTLIBOBJS'
 
700
SHELL'
733
701
ac_subst_files=''
734
702
ac_user_opts='
735
703
enable_option_checking
749
717
CCC
750
718
CC
751
719
CFLAGS
752
 
CXXCPP'
 
720
LDFLAGS
 
721
LIBS
 
722
CPPFLAGS
 
723
CXXCPP
 
724
CPPFLAGS'
753
725
 
754
726
 
755
727
# Initialize some variables set by options.
812
784
  fi
813
785
 
814
786
  case $ac_option in
815
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
816
 
  *)    ac_optarg=yes ;;
 
787
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
788
  *=)   ac_optarg= ;;
 
789
  *)    ac_optarg=yes ;;
817
790
  esac
818
791
 
819
792
  # Accept the important Cygnus configure options, so we can diagnose typos.
858
831
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
859
832
    # Reject names that are not valid shell variable names.
860
833
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
861
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
862
 
   { (exit 1); exit 1; }; }
 
834
      as_fn_error $? "invalid feature name: $ac_useropt"
863
835
    ac_useropt_orig=$ac_useropt
864
836
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
865
837
    case $ac_user_opts in
885
857
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
886
858
    # Reject names that are not valid shell variable names.
887
859
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
888
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
889
 
   { (exit 1); exit 1; }; }
 
860
      as_fn_error $? "invalid feature name: $ac_useropt"
890
861
    ac_useropt_orig=$ac_useropt
891
862
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892
863
    case $ac_user_opts in
1090
1061
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1091
1062
    # Reject names that are not valid shell variable names.
1092
1063
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1094
 
   { (exit 1); exit 1; }; }
 
1064
      as_fn_error $? "invalid package name: $ac_useropt"
1095
1065
    ac_useropt_orig=$ac_useropt
1096
1066
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097
1067
    case $ac_user_opts in
1107
1077
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1108
1078
    # Reject names that are not valid shell variable names.
1109
1079
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1110
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1111
 
   { (exit 1); exit 1; }; }
 
1080
      as_fn_error $? "invalid package name: $ac_useropt"
1112
1081
    ac_useropt_orig=$ac_useropt
1113
1082
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1114
1083
    case $ac_user_opts in
1138
1107
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1139
1108
    x_libraries=$ac_optarg ;;
1140
1109
 
1141
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1142
 
Try \`$0 --help' for more information." >&2
1143
 
   { (exit 1); exit 1; }; }
 
1110
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1111
Try \`$0 --help' for more information"
1144
1112
    ;;
1145
1113
 
1146
1114
  *=*)
1147
1115
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1148
1116
    # Reject names that are not valid shell variable names.
1149
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1150
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1151
 
   { (exit 1); exit 1; }; }
 
1117
    case $ac_envvar in #(
 
1118
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1119
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1120
    esac
1152
1121
    eval $ac_envvar=\$ac_optarg
1153
1122
    export $ac_envvar ;;
1154
1123
 
1157
1126
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1158
1127
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1159
1128
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1160
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1129
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1161
1130
    ;;
1162
1131
 
1163
1132
  esac
1165
1134
 
1166
1135
if test -n "$ac_prev"; then
1167
1136
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1168
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1169
 
   { (exit 1); exit 1; }; }
 
1137
  as_fn_error $? "missing argument to $ac_option"
1170
1138
fi
1171
1139
 
1172
1140
if test -n "$ac_unrecognized_opts"; then
1173
1141
  case $enable_option_checking in
1174
1142
    no) ;;
1175
 
    fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1176
 
   { (exit 1); exit 1; }; } ;;
1177
 
    *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1143
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1144
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1178
1145
  esac
1179
1146
fi
1180
1147
 
1196
1163
    [\\/$]* | ?:[\\/]* )  continue;;
1197
1164
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1198
1165
  esac
1199
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1200
 
   { (exit 1); exit 1; }; }
 
1166
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1201
1167
done
1202
1168
 
1203
1169
# There might be people who depend on the old broken behavior: `$host'
1211
1177
if test "x$host_alias" != x; then
1212
1178
  if test "x$build_alias" = x; then
1213
1179
    cross_compiling=maybe
1214
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1215
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1180
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1181
    If a cross compiler is detected then cross compile mode will be used" >&2
1216
1182
  elif test "x$build_alias" != "x$host_alias"; then
1217
1183
    cross_compiling=yes
1218
1184
  fi
1227
1193
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1228
1194
ac_ls_di=`ls -di .` &&
1229
1195
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1230
 
  { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1231
 
   { (exit 1); exit 1; }; }
 
1196
  as_fn_error $? "working directory cannot be determined"
1232
1197
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1233
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1234
 
   { (exit 1); exit 1; }; }
 
1198
  as_fn_error $? "pwd does not report name of working directory"
1235
1199
 
1236
1200
 
1237
1201
# Find the source files, if location was not specified.
1270
1234
fi
1271
1235
if test ! -r "$srcdir/$ac_unique_file"; then
1272
1236
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1273
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1274
 
   { (exit 1); exit 1; }; }
 
1237
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1275
1238
fi
1276
1239
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1277
1240
ac_abs_confdir=`(
1278
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1279
 
   { (exit 1); exit 1; }; }
 
1241
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1280
1242
        pwd)`
1281
1243
# When building in place, set srcdir=.
1282
1244
if test "$ac_abs_confdir" = "$ac_pwd"; then
1316
1278
      --help=short        display options specific to this package
1317
1279
      --help=recursive    display the short help of all the included packages
1318
1280
  -V, --version           display version information and exit
1319
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1281
  -q, --quiet, --silent   do not print \`checking ...' messages
1320
1282
      --cache-file=FILE   cache test results in FILE [disabled]
1321
1283
  -C, --config-cache      alias for \`--cache-file=config.cache'
1322
1284
  -n, --no-create         do not create output files
1402
1364
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1403
1365
              nonstandard directory <lib dir>
1404
1366
  LIBS        libraries to pass to the linker, e.g. -l<library>
1405
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1367
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1406
1368
              you have headers in a nonstandard directory <include dir>
1407
1369
  CC          C compiler command
1408
1370
  CFLAGS      C compiler flags
1475
1437
if $ac_init_version; then
1476
1438
  cat <<\_ACEOF
1477
1439
libTrie configure 0.1
1478
 
generated by GNU Autoconf 2.62
 
1440
generated by GNU Autoconf 2.68
1479
1441
 
1480
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1481
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1442
Copyright (C) 2010 Free Software Foundation, Inc.
1482
1443
This configure script is free software; the Free Software Foundation
1483
1444
gives unlimited permission to copy, distribute and modify it.
1484
1445
_ACEOF
1485
1446
  exit
1486
1447
fi
 
1448
 
 
1449
## ------------------------ ##
 
1450
## Autoconf initialization. ##
 
1451
## ------------------------ ##
 
1452
 
 
1453
# ac_fn_cxx_try_compile LINENO
 
1454
# ----------------------------
 
1455
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1456
ac_fn_cxx_try_compile ()
 
1457
{
 
1458
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1459
  rm -f conftest.$ac_objext
 
1460
  if { { ac_try="$ac_compile"
 
1461
case "(($ac_try" in
 
1462
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1463
  *) ac_try_echo=$ac_try;;
 
1464
esac
 
1465
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1466
$as_echo "$ac_try_echo"; } >&5
 
1467
  (eval "$ac_compile") 2>conftest.err
 
1468
  ac_status=$?
 
1469
  if test -s conftest.err; then
 
1470
    grep -v '^ *+' conftest.err >conftest.er1
 
1471
    cat conftest.er1 >&5
 
1472
    mv -f conftest.er1 conftest.err
 
1473
  fi
 
1474
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1475
  test $ac_status = 0; } && {
 
1476
         test -z "$ac_cxx_werror_flag" ||
 
1477
         test ! -s conftest.err
 
1478
       } && test -s conftest.$ac_objext; then :
 
1479
  ac_retval=0
 
1480
else
 
1481
  $as_echo "$as_me: failed program was:" >&5
 
1482
sed 's/^/| /' conftest.$ac_ext >&5
 
1483
 
 
1484
        ac_retval=1
 
1485
fi
 
1486
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1487
  as_fn_set_status $ac_retval
 
1488
 
 
1489
} # ac_fn_cxx_try_compile
 
1490
 
 
1491
# ac_fn_c_try_compile LINENO
 
1492
# --------------------------
 
1493
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1494
ac_fn_c_try_compile ()
 
1495
{
 
1496
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1497
  rm -f conftest.$ac_objext
 
1498
  if { { ac_try="$ac_compile"
 
1499
case "(($ac_try" in
 
1500
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1501
  *) ac_try_echo=$ac_try;;
 
1502
esac
 
1503
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1504
$as_echo "$ac_try_echo"; } >&5
 
1505
  (eval "$ac_compile") 2>conftest.err
 
1506
  ac_status=$?
 
1507
  if test -s conftest.err; then
 
1508
    grep -v '^ *+' conftest.err >conftest.er1
 
1509
    cat conftest.er1 >&5
 
1510
    mv -f conftest.er1 conftest.err
 
1511
  fi
 
1512
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1513
  test $ac_status = 0; } && {
 
1514
         test -z "$ac_c_werror_flag" ||
 
1515
         test ! -s conftest.err
 
1516
       } && test -s conftest.$ac_objext; then :
 
1517
  ac_retval=0
 
1518
else
 
1519
  $as_echo "$as_me: failed program was:" >&5
 
1520
sed 's/^/| /' conftest.$ac_ext >&5
 
1521
 
 
1522
        ac_retval=1
 
1523
fi
 
1524
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1525
  as_fn_set_status $ac_retval
 
1526
 
 
1527
} # ac_fn_c_try_compile
 
1528
 
 
1529
# ac_fn_cxx_try_cpp LINENO
 
1530
# ------------------------
 
1531
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1532
ac_fn_cxx_try_cpp ()
 
1533
{
 
1534
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1535
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1536
case "(($ac_try" in
 
1537
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1538
  *) ac_try_echo=$ac_try;;
 
1539
esac
 
1540
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1541
$as_echo "$ac_try_echo"; } >&5
 
1542
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1543
  ac_status=$?
 
1544
  if test -s conftest.err; then
 
1545
    grep -v '^ *+' conftest.err >conftest.er1
 
1546
    cat conftest.er1 >&5
 
1547
    mv -f conftest.er1 conftest.err
 
1548
  fi
 
1549
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1550
  test $ac_status = 0; } > conftest.i && {
 
1551
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
1552
         test ! -s conftest.err
 
1553
       }; then :
 
1554
  ac_retval=0
 
1555
else
 
1556
  $as_echo "$as_me: failed program was:" >&5
 
1557
sed 's/^/| /' conftest.$ac_ext >&5
 
1558
 
 
1559
    ac_retval=1
 
1560
fi
 
1561
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1562
  as_fn_set_status $ac_retval
 
1563
 
 
1564
} # ac_fn_cxx_try_cpp
 
1565
 
 
1566
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1567
# ---------------------------------------------------------
 
1568
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1569
# the include files in INCLUDES and setting the cache variable VAR
 
1570
# accordingly.
 
1571
ac_fn_cxx_check_header_mongrel ()
 
1572
{
 
1573
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1574
  if eval \${$3+:} false; then :
 
1575
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1576
$as_echo_n "checking for $2... " >&6; }
 
1577
if eval \${$3+:} false; then :
 
1578
  $as_echo_n "(cached) " >&6
 
1579
fi
 
1580
eval ac_res=\$$3
 
1581
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1582
$as_echo "$ac_res" >&6; }
 
1583
else
 
1584
  # Is the header compilable?
 
1585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1586
$as_echo_n "checking $2 usability... " >&6; }
 
1587
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1588
/* end confdefs.h.  */
 
1589
$4
 
1590
#include <$2>
 
1591
_ACEOF
 
1592
if ac_fn_cxx_try_compile "$LINENO"; then :
 
1593
  ac_header_compiler=yes
 
1594
else
 
1595
  ac_header_compiler=no
 
1596
fi
 
1597
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1599
$as_echo "$ac_header_compiler" >&6; }
 
1600
 
 
1601
# Is the header present?
 
1602
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1603
$as_echo_n "checking $2 presence... " >&6; }
 
1604
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1605
/* end confdefs.h.  */
 
1606
#include <$2>
 
1607
_ACEOF
 
1608
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
1609
  ac_header_preproc=yes
 
1610
else
 
1611
  ac_header_preproc=no
 
1612
fi
 
1613
rm -f conftest.err conftest.i conftest.$ac_ext
 
1614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1615
$as_echo "$ac_header_preproc" >&6; }
 
1616
 
 
1617
# So?  What about this header?
 
1618
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
 
1619
  yes:no: )
 
1620
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1621
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1622
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1623
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1624
    ;;
 
1625
  no:yes:* )
 
1626
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1627
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1628
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1629
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1630
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1631
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1632
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1633
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1634
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1635
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1636
( $as_echo "## ----------------------------------------- ##
 
1637
## Report this to rbtcollins@squid-cache.org ##
 
1638
## ----------------------------------------- ##"
 
1639
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
1640
    ;;
 
1641
esac
 
1642
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1643
$as_echo_n "checking for $2... " >&6; }
 
1644
if eval \${$3+:} false; then :
 
1645
  $as_echo_n "(cached) " >&6
 
1646
else
 
1647
  eval "$3=\$ac_header_compiler"
 
1648
fi
 
1649
eval ac_res=\$$3
 
1650
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1651
$as_echo "$ac_res" >&6; }
 
1652
fi
 
1653
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1654
 
 
1655
} # ac_fn_cxx_check_header_mongrel
 
1656
 
 
1657
# ac_fn_cxx_try_run LINENO
 
1658
# ------------------------
 
1659
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1660
# that executables *can* be run.
 
1661
ac_fn_cxx_try_run ()
 
1662
{
 
1663
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1664
  if { { ac_try="$ac_link"
 
1665
case "(($ac_try" in
 
1666
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1667
  *) ac_try_echo=$ac_try;;
 
1668
esac
 
1669
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1670
$as_echo "$ac_try_echo"; } >&5
 
1671
  (eval "$ac_link") 2>&5
 
1672
  ac_status=$?
 
1673
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1674
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1675
  { { case "(($ac_try" in
 
1676
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1677
  *) ac_try_echo=$ac_try;;
 
1678
esac
 
1679
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1680
$as_echo "$ac_try_echo"; } >&5
 
1681
  (eval "$ac_try") 2>&5
 
1682
  ac_status=$?
 
1683
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1684
  test $ac_status = 0; }; }; then :
 
1685
  ac_retval=0
 
1686
else
 
1687
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1688
       $as_echo "$as_me: failed program was:" >&5
 
1689
sed 's/^/| /' conftest.$ac_ext >&5
 
1690
 
 
1691
       ac_retval=$ac_status
 
1692
fi
 
1693
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1694
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1695
  as_fn_set_status $ac_retval
 
1696
 
 
1697
} # ac_fn_cxx_try_run
 
1698
 
 
1699
# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
 
1700
# ---------------------------------------------------------
 
1701
# Tests whether HEADER exists and can be compiled using the include files in
 
1702
# INCLUDES, setting the cache variable VAR accordingly.
 
1703
ac_fn_cxx_check_header_compile ()
 
1704
{
 
1705
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1706
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1707
$as_echo_n "checking for $2... " >&6; }
 
1708
if eval \${$3+:} false; then :
 
1709
  $as_echo_n "(cached) " >&6
 
1710
else
 
1711
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1712
/* end confdefs.h.  */
 
1713
$4
 
1714
#include <$2>
 
1715
_ACEOF
 
1716
if ac_fn_cxx_try_compile "$LINENO"; then :
 
1717
  eval "$3=yes"
 
1718
else
 
1719
  eval "$3=no"
 
1720
fi
 
1721
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1722
fi
 
1723
eval ac_res=\$$3
 
1724
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1725
$as_echo "$ac_res" >&6; }
 
1726
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1727
 
 
1728
} # ac_fn_cxx_check_header_compile
 
1729
 
 
1730
# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
 
1731
# ---------------------------------------------
 
1732
# Tests whether TYPE exists after having included INCLUDES, setting cache
 
1733
# variable VAR accordingly.
 
1734
ac_fn_cxx_check_type ()
 
1735
{
 
1736
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1737
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1738
$as_echo_n "checking for $2... " >&6; }
 
1739
if eval \${$3+:} false; then :
 
1740
  $as_echo_n "(cached) " >&6
 
1741
else
 
1742
  eval "$3=no"
 
1743
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1744
/* end confdefs.h.  */
 
1745
$4
 
1746
int
 
1747
main ()
 
1748
{
 
1749
if (sizeof ($2))
 
1750
         return 0;
 
1751
  ;
 
1752
  return 0;
 
1753
}
 
1754
_ACEOF
 
1755
if ac_fn_cxx_try_compile "$LINENO"; then :
 
1756
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1757
/* end confdefs.h.  */
 
1758
$4
 
1759
int
 
1760
main ()
 
1761
{
 
1762
if (sizeof (($2)))
 
1763
            return 0;
 
1764
  ;
 
1765
  return 0;
 
1766
}
 
1767
_ACEOF
 
1768
if ac_fn_cxx_try_compile "$LINENO"; then :
 
1769
 
 
1770
else
 
1771
  eval "$3=yes"
 
1772
fi
 
1773
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1774
fi
 
1775
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1776
fi
 
1777
eval ac_res=\$$3
 
1778
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1779
$as_echo "$ac_res" >&6; }
 
1780
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1781
 
 
1782
} # ac_fn_cxx_check_type
1487
1783
cat >config.log <<_ACEOF
1488
1784
This file contains any messages produced by compilers while
1489
1785
running configure, to aid debugging if configure makes a mistake.
1490
1786
 
1491
1787
It was created by libTrie $as_me 0.1, which was
1492
 
generated by GNU Autoconf 2.62.  Invocation command line was
 
1788
generated by GNU Autoconf 2.68.  Invocation command line was
1493
1789
 
1494
1790
  $ $0 $@
1495
1791
 
1525
1821
do
1526
1822
  IFS=$as_save_IFS
1527
1823
  test -z "$as_dir" && as_dir=.
1528
 
  $as_echo "PATH: $as_dir"
1529
 
done
 
1824
    $as_echo "PATH: $as_dir"
 
1825
  done
1530
1826
IFS=$as_save_IFS
1531
1827
 
1532
1828
} >&5
1563
1859
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1564
1860
    esac
1565
1861
    case $ac_pass in
1566
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1862
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1567
1863
    2)
1568
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1864
      as_fn_append ac_configure_args1 " '$ac_arg'"
1569
1865
      if test $ac_must_keep_next = true; then
1570
1866
        ac_must_keep_next=false # Got value, back to normal.
1571
1867
      else
1581
1877
          -* ) ac_must_keep_next=true ;;
1582
1878
        esac
1583
1879
      fi
1584
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1880
      as_fn_append ac_configure_args " '$ac_arg'"
1585
1881
      ;;
1586
1882
    esac
1587
1883
  done
1588
1884
done
1589
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1590
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1885
{ ac_configure_args0=; unset ac_configure_args0;}
 
1886
{ ac_configure_args1=; unset ac_configure_args1;}
1591
1887
 
1592
1888
# When interrupted or exit'd, cleanup temporary files, and complete
1593
1889
# config.log.  We remove comments because anyway the quotes in there
1599
1895
  {
1600
1896
    echo
1601
1897
 
1602
 
    cat <<\_ASBOX
1603
 
## ---------------- ##
 
1898
    $as_echo "## ---------------- ##
1604
1899
## Cache variables. ##
1605
 
## ---------------- ##
1606
 
_ASBOX
 
1900
## ---------------- ##"
1607
1901
    echo
1608
1902
    # The following way of writing the cache mishandles newlines in values,
1609
1903
(
1612
1906
    case $ac_val in #(
1613
1907
    *${as_nl}*)
1614
1908
      case $ac_var in #(
1615
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1616
 
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1909
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
1910
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1617
1911
      esac
1618
1912
      case $ac_var in #(
1619
1913
      _ | IFS | as_nl) ;; #(
1620
1914
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1621
 
      *) $as_unset $ac_var ;;
 
1915
      *) { eval $ac_var=; unset $ac_var;} ;;
1622
1916
      esac ;;
1623
1917
    esac
1624
1918
  done
1637
1931
)
1638
1932
    echo
1639
1933
 
1640
 
    cat <<\_ASBOX
1641
 
## ----------------- ##
 
1934
    $as_echo "## ----------------- ##
1642
1935
## Output variables. ##
1643
 
## ----------------- ##
1644
 
_ASBOX
 
1936
## ----------------- ##"
1645
1937
    echo
1646
1938
    for ac_var in $ac_subst_vars
1647
1939
    do
1654
1946
    echo
1655
1947
 
1656
1948
    if test -n "$ac_subst_files"; then
1657
 
      cat <<\_ASBOX
1658
 
## ------------------- ##
 
1949
      $as_echo "## ------------------- ##
1659
1950
## File substitutions. ##
1660
 
## ------------------- ##
1661
 
_ASBOX
 
1951
## ------------------- ##"
1662
1952
      echo
1663
1953
      for ac_var in $ac_subst_files
1664
1954
      do
1672
1962
    fi
1673
1963
 
1674
1964
    if test -s confdefs.h; then
1675
 
      cat <<\_ASBOX
1676
 
## ----------- ##
 
1965
      $as_echo "## ----------- ##
1677
1966
## confdefs.h. ##
1678
 
## ----------- ##
1679
 
_ASBOX
 
1967
## ----------- ##"
1680
1968
      echo
1681
1969
      cat confdefs.h
1682
1970
      echo
1690
1978
    exit $exit_status
1691
1979
' 0
1692
1980
for ac_signal in 1 2 13 15; do
1693
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
1981
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1694
1982
done
1695
1983
ac_signal=0
1696
1984
 
1697
1985
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1698
1986
rm -f -r conftest* confdefs.h
1699
1987
 
 
1988
$as_echo "/* confdefs.h */" > confdefs.h
 
1989
 
1700
1990
# Predefined preprocessor variables.
1701
1991
 
1702
1992
cat >>confdefs.h <<_ACEOF
1703
1993
#define PACKAGE_NAME "$PACKAGE_NAME"
1704
1994
_ACEOF
1705
1995
 
1706
 
 
1707
1996
cat >>confdefs.h <<_ACEOF
1708
1997
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1709
1998
_ACEOF
1710
1999
 
1711
 
 
1712
2000
cat >>confdefs.h <<_ACEOF
1713
2001
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1714
2002
_ACEOF
1715
2003
 
1716
 
 
1717
2004
cat >>confdefs.h <<_ACEOF
1718
2005
#define PACKAGE_STRING "$PACKAGE_STRING"
1719
2006
_ACEOF
1720
2007
 
1721
 
 
1722
2008
cat >>confdefs.h <<_ACEOF
1723
2009
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1724
2010
_ACEOF
1725
2011
 
 
2012
cat >>confdefs.h <<_ACEOF
 
2013
#define PACKAGE_URL "$PACKAGE_URL"
 
2014
_ACEOF
 
2015
 
1726
2016
 
1727
2017
# Let the site file select an alternate cache file if it wants to.
1728
2018
# Prefer an explicitly selected file to automatically selected ones.
1729
2019
ac_site_file1=NONE
1730
2020
ac_site_file2=NONE
1731
2021
if test -n "$CONFIG_SITE"; then
1732
 
  ac_site_file1=$CONFIG_SITE
 
2022
  # We do not want a PATH search for config.site.
 
2023
  case $CONFIG_SITE in #((
 
2024
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2025
    */*) ac_site_file1=$CONFIG_SITE;;
 
2026
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2027
  esac
1733
2028
elif test "x$prefix" != xNONE; then
1734
2029
  ac_site_file1=$prefix/share/config.site
1735
2030
  ac_site_file2=$prefix/etc/config.site
1740
2035
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1741
2036
do
1742
2037
  test "x$ac_site_file" = xNONE && continue
1743
 
  if test -r "$ac_site_file"; then
1744
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2038
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2039
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1745
2040
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1746
2041
    sed 's/^/| /' "$ac_site_file" >&5
1747
 
    . "$ac_site_file"
 
2042
    . "$ac_site_file" \
 
2043
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2044
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2045
as_fn_error $? "failed to load site script $ac_site_file
 
2046
See \`config.log' for more details" "$LINENO" 5; }
1748
2047
  fi
1749
2048
done
1750
2049
 
1751
2050
if test -r "$cache_file"; then
1752
 
  # Some versions of bash will fail to source /dev/null (special
1753
 
  # files actually), so we avoid doing that.
1754
 
  if test -f "$cache_file"; then
1755
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2051
  # Some versions of bash will fail to source /dev/null (special files
 
2052
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2053
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2054
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1756
2055
$as_echo "$as_me: loading cache $cache_file" >&6;}
1757
2056
    case $cache_file in
1758
2057
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1760
2059
    esac
1761
2060
  fi
1762
2061
else
1763
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2062
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1764
2063
$as_echo "$as_me: creating cache $cache_file" >&6;}
1765
2064
  >$cache_file
1766
2065
fi
1775
2074
  eval ac_new_val=\$ac_env_${ac_var}_value
1776
2075
  case $ac_old_set,$ac_new_set in
1777
2076
    set,)
1778
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2077
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1779
2078
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1780
2079
      ac_cache_corrupted=: ;;
1781
2080
    ,set)
1782
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2081
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1783
2082
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1784
2083
      ac_cache_corrupted=: ;;
1785
2084
    ,);;
1789
2088
        ac_old_val_w=`echo x $ac_old_val`
1790
2089
        ac_new_val_w=`echo x $ac_new_val`
1791
2090
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1792
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2091
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1793
2092
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1794
2093
          ac_cache_corrupted=:
1795
2094
        else
1796
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2095
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1797
2096
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1798
2097
          eval $ac_var=\$ac_old_val
1799
2098
        fi
1800
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2099
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1801
2100
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1802
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2101
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1803
2102
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1804
2103
      fi;;
1805
2104
  esac
1811
2110
    esac
1812
2111
    case " $ac_configure_args " in
1813
2112
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1814
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2113
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1815
2114
    esac
1816
2115
  fi
1817
2116
done
1818
2117
if $ac_cache_corrupted; then
1819
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2118
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2119
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2120
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1820
2121
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1821
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1822
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1823
 
   { (exit 1); exit 1; }; }
 
2122
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1824
2123
fi
1825
 
 
1826
 
 
1827
 
 
1828
 
 
1829
 
 
1830
 
 
1831
 
 
1832
 
 
1833
 
 
1834
 
 
1835
 
 
1836
 
 
1837
 
 
1838
 
 
1839
 
 
1840
 
 
1841
 
 
1842
 
 
1843
 
 
1844
 
 
1845
 
 
1846
 
 
1847
 
 
1848
 
 
 
2124
## -------------------- ##
 
2125
## Main body of script. ##
 
2126
## -------------------- ##
1849
2127
 
1850
2128
ac_ext=c
1851
2129
ac_cpp='$CPP $CPPFLAGS'
1874
2152
  fi
1875
2153
done
1876
2154
if test -z "$ac_aux_dir"; then
1877
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cfgaux \"$srcdir\"/cfgaux" >&5
1878
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in cfgaux \"$srcdir\"/cfgaux" >&2;}
1879
 
   { (exit 1); exit 1; }; }
 
2155
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cfgaux \"$srcdir\"/cfgaux" "$LINENO" 5
1880
2156
fi
1881
2157
 
1882
2158
# These three variables are undocumented and unsupported,
1892
2168
SquidInline="yes"
1893
2169
 
1894
2170
# Check whether --enable-optimizations was given.
1895
 
if test "${enable_optimizations+set}" = set; then
 
2171
if test "${enable_optimizations+set}" = set; then :
1896
2172
  enableval=$enable_optimizations;  if test "$enableval" = "no" ; then
1897
 
        { $as_echo "$as_me:$LINENO: Disabling compiler optimizations (-O flag)" >&5
 
2173
        { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling compiler optimizations (-O flag)" >&5
1898
2174
$as_echo "$as_me: Disabling compiler optimizations (-O flag)" >&6;}
1899
2175
        CFLAGS="`echo $CFLAGS | sed -e 's/-O[0-9]*//'`"
1900
2176
        CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-O[0-9]*//'`"
1905
2181
 
1906
2182
 
1907
2183
# Check whether --enable-inline was given.
1908
 
if test "${enable_inline+set}" = set; then
 
2184
if test "${enable_inline+set}" = set; then :
1909
2185
  enableval=$enable_inline;  if test "$enableval" = "no" ; then
1910
2186
     SquidInline="no"
1911
2187
   fi
1915
2191
 
1916
2192
if test "$SquidInline" = "yes" ; then
1917
2193
 
1918
 
cat >>confdefs.h <<\_ACEOF
1919
 
#define _SQUID_INLINE_ inline
1920
 
_ACEOF
1921
 
 
1922
 
 
1923
 
cat >>confdefs.h <<\_ACEOF
1924
 
#define _USE_INLINE_ /**/
1925
 
_ACEOF
 
2194
$as_echo "#define _SQUID_INLINE_ inline" >>confdefs.h
 
2195
 
 
2196
 
 
2197
$as_echo "#define _USE_INLINE_ /**/" >>confdefs.h
1926
2198
 
1927
2199
else
1928
 
    { $as_echo "$as_me:$LINENO: Inlining optimization disabled" >&5
 
2200
    { $as_echo "$as_me:${as_lineno-$LINENO}: Inlining optimization disabled" >&5
1929
2201
$as_echo "$as_me: Inlining optimization disabled" >&6;}
1930
2202
 
1931
 
cat >>confdefs.h <<\_ACEOF
1932
 
#define _SQUID_INLINE_ /**/
1933
 
_ACEOF
 
2203
$as_echo "#define _SQUID_INLINE_ /**/" >>confdefs.h
1934
2204
 
1935
2205
fi
1936
2206
 
1950
2220
  do
1951
2221
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1952
2222
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1953
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1954
2224
$as_echo_n "checking for $ac_word... " >&6; }
1955
 
if test "${ac_cv_prog_CXX+set}" = set; then
 
2225
if ${ac_cv_prog_CXX+:} false; then :
1956
2226
  $as_echo_n "(cached) " >&6
1957
2227
else
1958
2228
  if test -n "$CXX"; then
1963
2233
do
1964
2234
  IFS=$as_save_IFS
1965
2235
  test -z "$as_dir" && as_dir=.
1966
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2236
    for ac_exec_ext in '' $ac_executable_extensions; do
1967
2237
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1968
2238
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1969
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2239
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1970
2240
    break 2
1971
2241
  fi
1972
2242
done
1973
 
done
 
2243
  done
1974
2244
IFS=$as_save_IFS
1975
2245
 
1976
2246
fi
1977
2247
fi
1978
2248
CXX=$ac_cv_prog_CXX
1979
2249
if test -n "$CXX"; then
1980
 
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
2250
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
1981
2251
$as_echo "$CXX" >&6; }
1982
2252
else
1983
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2253
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1984
2254
$as_echo "no" >&6; }
1985
2255
fi
1986
2256
 
1994
2264
do
1995
2265
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1996
2266
set dummy $ac_prog; ac_word=$2
1997
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1998
2268
$as_echo_n "checking for $ac_word... " >&6; }
1999
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
2269
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2000
2270
  $as_echo_n "(cached) " >&6
2001
2271
else
2002
2272
  if test -n "$ac_ct_CXX"; then
2007
2277
do
2008
2278
  IFS=$as_save_IFS
2009
2279
  test -z "$as_dir" && as_dir=.
2010
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2280
    for ac_exec_ext in '' $ac_executable_extensions; do
2011
2281
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2012
2282
    ac_cv_prog_ac_ct_CXX="$ac_prog"
2013
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2283
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2014
2284
    break 2
2015
2285
  fi
2016
2286
done
2017
 
done
 
2287
  done
2018
2288
IFS=$as_save_IFS
2019
2289
 
2020
2290
fi
2021
2291
fi
2022
2292
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2023
2293
if test -n "$ac_ct_CXX"; then
2024
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
2294
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2025
2295
$as_echo "$ac_ct_CXX" >&6; }
2026
2296
else
2027
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2297
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2028
2298
$as_echo "no" >&6; }
2029
2299
fi
2030
2300
 
2037
2307
  else
2038
2308
    case $cross_compiling:$ac_tool_warned in
2039
2309
yes:)
2040
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2041
 
whose name does not start with the host triplet.  If you think this
2042
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2043
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2044
 
whose name does not start with the host triplet.  If you think this
2045
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2310
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2311
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2046
2312
ac_tool_warned=yes ;;
2047
2313
esac
2048
2314
    CXX=$ac_ct_CXX
2052
2318
  fi
2053
2319
fi
2054
2320
# Provide some information about the compiler.
2055
 
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
2321
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2056
2322
set X $ac_compile
2057
2323
ac_compiler=$2
2058
 
{ (ac_try="$ac_compiler --version >&5"
2059
 
case "(($ac_try" in
2060
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2061
 
  *) ac_try_echo=$ac_try;;
2062
 
esac
2063
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2064
 
$as_echo "$ac_try_echo") >&5
2065
 
  (eval "$ac_compiler --version >&5") 2>&5
2066
 
  ac_status=$?
2067
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2068
 
  (exit $ac_status); }
2069
 
{ (ac_try="$ac_compiler -v >&5"
2070
 
case "(($ac_try" in
2071
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2072
 
  *) ac_try_echo=$ac_try;;
2073
 
esac
2074
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2075
 
$as_echo "$ac_try_echo") >&5
2076
 
  (eval "$ac_compiler -v >&5") 2>&5
2077
 
  ac_status=$?
2078
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2079
 
  (exit $ac_status); }
2080
 
{ (ac_try="$ac_compiler -V >&5"
2081
 
case "(($ac_try" in
2082
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2083
 
  *) ac_try_echo=$ac_try;;
2084
 
esac
2085
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2086
 
$as_echo "$ac_try_echo") >&5
2087
 
  (eval "$ac_compiler -V >&5") 2>&5
2088
 
  ac_status=$?
2089
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090
 
  (exit $ac_status); }
 
2324
for ac_option in --version -v -V -qversion; do
 
2325
  { { ac_try="$ac_compiler $ac_option >&5"
 
2326
case "(($ac_try" in
 
2327
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2328
  *) ac_try_echo=$ac_try;;
 
2329
esac
 
2330
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2331
$as_echo "$ac_try_echo"; } >&5
 
2332
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
2333
  ac_status=$?
 
2334
  if test -s conftest.err; then
 
2335
    sed '10a\
 
2336
... rest of stderr output deleted ...
 
2337
         10q' conftest.err >conftest.er1
 
2338
    cat conftest.er1 >&5
 
2339
  fi
 
2340
  rm -f conftest.er1 conftest.err
 
2341
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2342
  test $ac_status = 0; }
 
2343
done
2091
2344
 
2092
 
cat >conftest.$ac_ext <<_ACEOF
2093
 
/* confdefs.h.  */
2094
 
_ACEOF
2095
 
cat confdefs.h >>conftest.$ac_ext
2096
 
cat >>conftest.$ac_ext <<_ACEOF
 
2345
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2097
2346
/* end confdefs.h.  */
2098
2347
 
2099
2348
int
2109
2358
# Try to create an executable without -o first, disregard a.out.
2110
2359
# It will help us diagnose broken compilers, and finding out an intuition
2111
2360
# of exeext.
2112
 
{ $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2113
 
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
 
2361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
 
2362
$as_echo_n "checking whether the C++ compiler works... " >&6; }
2114
2363
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2115
2364
 
2116
2365
# The possible output files:
2126
2375
done
2127
2376
rm -f $ac_rmfiles
2128
2377
 
2129
 
if { (ac_try="$ac_link_default"
 
2378
if { { ac_try="$ac_link_default"
2130
2379
case "(($ac_try" in
2131
2380
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2132
2381
  *) ac_try_echo=$ac_try;;
2133
2382
esac
2134
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2135
 
$as_echo "$ac_try_echo") >&5
 
2383
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2384
$as_echo "$ac_try_echo"; } >&5
2136
2385
  (eval "$ac_link_default") 2>&5
2137
2386
  ac_status=$?
2138
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2139
 
  (exit $ac_status); }; then
 
2387
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2388
  test $ac_status = 0; }; then :
2140
2389
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2141
2390
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2142
2391
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2153
2402
        # certainly right.
2154
2403
        break;;
2155
2404
    *.* )
2156
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2405
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2157
2406
        then :; else
2158
2407
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2159
2408
        fi
2172
2421
else
2173
2422
  ac_file=''
2174
2423
fi
 
2424
if test -z "$ac_file"; then :
 
2425
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2426
$as_echo "no" >&6; }
 
2427
$as_echo "$as_me: failed program was:" >&5
 
2428
sed 's/^/| /' conftest.$ac_ext >&5
2175
2429
 
2176
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
2430
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2431
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2432
as_fn_error 77 "C++ compiler cannot create executables
 
2433
See \`config.log' for more details" "$LINENO" 5; }
 
2434
else
 
2435
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2436
$as_echo "yes" >&6; }
 
2437
fi
 
2438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
 
2439
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
 
2440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2177
2441
$as_echo "$ac_file" >&6; }
2178
 
if test -z "$ac_file"; then
2179
 
  $as_echo "$as_me: failed program was:" >&5
2180
 
sed 's/^/| /' conftest.$ac_ext >&5
2181
 
 
2182
 
{ { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2183
 
See \`config.log' for more details." >&5
2184
 
$as_echo "$as_me: error: C++ compiler cannot create executables
2185
 
See \`config.log' for more details." >&2;}
2186
 
   { (exit 77); exit 77; }; }
2187
 
fi
2188
 
 
2189
2442
ac_exeext=$ac_cv_exeext
2190
2443
 
2191
 
# Check that the compiler produces executables we can run.  If not, either
2192
 
# the compiler is broken, or we cross compile.
2193
 
{ $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2194
 
$as_echo_n "checking whether the C++ compiler works... " >&6; }
2195
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2196
 
# If not cross compiling, check that we can run a simple program.
2197
 
if test "$cross_compiling" != yes; then
2198
 
  if { ac_try='./$ac_file'
2199
 
  { (case "(($ac_try" in
2200
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2201
 
  *) ac_try_echo=$ac_try;;
2202
 
esac
2203
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2204
 
$as_echo "$ac_try_echo") >&5
2205
 
  (eval "$ac_try") 2>&5
2206
 
  ac_status=$?
2207
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208
 
  (exit $ac_status); }; }; then
2209
 
    cross_compiling=no
2210
 
  else
2211
 
    if test "$cross_compiling" = maybe; then
2212
 
        cross_compiling=yes
2213
 
    else
2214
 
        { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2215
 
If you meant to cross compile, use \`--host'.
2216
 
See \`config.log' for more details." >&5
2217
 
$as_echo "$as_me: error: cannot run C++ compiled programs.
2218
 
If you meant to cross compile, use \`--host'.
2219
 
See \`config.log' for more details." >&2;}
2220
 
   { (exit 1); exit 1; }; }
2221
 
    fi
2222
 
  fi
2223
 
fi
2224
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2225
 
$as_echo "yes" >&6; }
2226
 
 
2227
2444
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2228
2445
ac_clean_files=$ac_clean_files_save
2229
 
# Check that the compiler produces executables we can run.  If not, either
2230
 
# the compiler is broken, or we cross compile.
2231
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2232
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
2233
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2234
 
$as_echo "$cross_compiling" >&6; }
2235
 
 
2236
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
2446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2237
2447
$as_echo_n "checking for suffix of executables... " >&6; }
2238
 
if { (ac_try="$ac_link"
 
2448
if { { ac_try="$ac_link"
2239
2449
case "(($ac_try" in
2240
2450
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2241
2451
  *) ac_try_echo=$ac_try;;
2242
2452
esac
2243
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2244
 
$as_echo "$ac_try_echo") >&5
 
2453
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2454
$as_echo "$ac_try_echo"; } >&5
2245
2455
  (eval "$ac_link") 2>&5
2246
2456
  ac_status=$?
2247
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248
 
  (exit $ac_status); }; then
 
2457
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2458
  test $ac_status = 0; }; then :
2249
2459
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2250
2460
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2251
2461
# work properly (i.e., refer to `conftest.exe'), while it won't with
2260
2470
  esac
2261
2471
done
2262
2472
else
2263
 
  { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2264
 
See \`config.log' for more details." >&5
2265
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2266
 
See \`config.log' for more details." >&2;}
2267
 
   { (exit 1); exit 1; }; }
 
2473
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2474
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2475
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
2476
See \`config.log' for more details" "$LINENO" 5; }
2268
2477
fi
2269
 
 
2270
 
rm -f conftest$ac_cv_exeext
2271
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
2478
rm -f conftest conftest$ac_cv_exeext
 
2479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2272
2480
$as_echo "$ac_cv_exeext" >&6; }
2273
2481
 
2274
2482
rm -f conftest.$ac_ext
2275
2483
EXEEXT=$ac_cv_exeext
2276
2484
ac_exeext=$EXEEXT
2277
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
2485
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2486
/* end confdefs.h.  */
 
2487
#include <stdio.h>
 
2488
int
 
2489
main ()
 
2490
{
 
2491
FILE *f = fopen ("conftest.out", "w");
 
2492
 return ferror (f) || fclose (f) != 0;
 
2493
 
 
2494
  ;
 
2495
  return 0;
 
2496
}
 
2497
_ACEOF
 
2498
ac_clean_files="$ac_clean_files conftest.out"
 
2499
# Check that the compiler produces executables we can run.  If not, either
 
2500
# the compiler is broken, or we cross compile.
 
2501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
2502
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
2503
if test "$cross_compiling" != yes; then
 
2504
  { { ac_try="$ac_link"
 
2505
case "(($ac_try" in
 
2506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2507
  *) ac_try_echo=$ac_try;;
 
2508
esac
 
2509
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2510
$as_echo "$ac_try_echo"; } >&5
 
2511
  (eval "$ac_link") 2>&5
 
2512
  ac_status=$?
 
2513
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2514
  test $ac_status = 0; }
 
2515
  if { ac_try='./conftest$ac_cv_exeext'
 
2516
  { { case "(($ac_try" in
 
2517
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2518
  *) ac_try_echo=$ac_try;;
 
2519
esac
 
2520
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2521
$as_echo "$ac_try_echo"; } >&5
 
2522
  (eval "$ac_try") 2>&5
 
2523
  ac_status=$?
 
2524
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2525
  test $ac_status = 0; }; }; then
 
2526
    cross_compiling=no
 
2527
  else
 
2528
    if test "$cross_compiling" = maybe; then
 
2529
        cross_compiling=yes
 
2530
    else
 
2531
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2532
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2533
as_fn_error $? "cannot run C++ compiled programs.
 
2534
If you meant to cross compile, use \`--host'.
 
2535
See \`config.log' for more details" "$LINENO" 5; }
 
2536
    fi
 
2537
  fi
 
2538
fi
 
2539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
2540
$as_echo "$cross_compiling" >&6; }
 
2541
 
 
2542
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
2543
ac_clean_files=$ac_clean_files_save
 
2544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2278
2545
$as_echo_n "checking for suffix of object files... " >&6; }
2279
 
if test "${ac_cv_objext+set}" = set; then
 
2546
if ${ac_cv_objext+:} false; then :
2280
2547
  $as_echo_n "(cached) " >&6
2281
2548
else
2282
 
  cat >conftest.$ac_ext <<_ACEOF
2283
 
/* confdefs.h.  */
2284
 
_ACEOF
2285
 
cat confdefs.h >>conftest.$ac_ext
2286
 
cat >>conftest.$ac_ext <<_ACEOF
 
2549
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2287
2550
/* end confdefs.h.  */
2288
2551
 
2289
2552
int
2295
2558
}
2296
2559
_ACEOF
2297
2560
rm -f conftest.o conftest.obj
2298
 
if { (ac_try="$ac_compile"
 
2561
if { { ac_try="$ac_compile"
2299
2562
case "(($ac_try" in
2300
2563
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2301
2564
  *) ac_try_echo=$ac_try;;
2302
2565
esac
2303
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2304
 
$as_echo "$ac_try_echo") >&5
 
2566
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2567
$as_echo "$ac_try_echo"; } >&5
2305
2568
  (eval "$ac_compile") 2>&5
2306
2569
  ac_status=$?
2307
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308
 
  (exit $ac_status); }; then
 
2570
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2571
  test $ac_status = 0; }; then :
2309
2572
  for ac_file in conftest.o conftest.obj conftest.*; do
2310
2573
  test -f "$ac_file" || continue;
2311
2574
  case $ac_file in
2318
2581
  $as_echo "$as_me: failed program was:" >&5
2319
2582
sed 's/^/| /' conftest.$ac_ext >&5
2320
2583
 
2321
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2322
 
See \`config.log' for more details." >&5
2323
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2324
 
See \`config.log' for more details." >&2;}
2325
 
   { (exit 1); exit 1; }; }
 
2584
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2585
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2586
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
2587
See \`config.log' for more details" "$LINENO" 5; }
2326
2588
fi
2327
 
 
2328
2589
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2329
2590
fi
2330
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
2591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2331
2592
$as_echo "$ac_cv_objext" >&6; }
2332
2593
OBJEXT=$ac_cv_objext
2333
2594
ac_objext=$OBJEXT
2334
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
2595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
2335
2596
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
2336
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
2597
if ${ac_cv_cxx_compiler_gnu+:} false; then :
2337
2598
  $as_echo_n "(cached) " >&6
2338
2599
else
2339
 
  cat >conftest.$ac_ext <<_ACEOF
2340
 
/* confdefs.h.  */
2341
 
_ACEOF
2342
 
cat confdefs.h >>conftest.$ac_ext
2343
 
cat >>conftest.$ac_ext <<_ACEOF
 
2600
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2344
2601
/* end confdefs.h.  */
2345
2602
 
2346
2603
int
2354
2611
  return 0;
2355
2612
}
2356
2613
_ACEOF
2357
 
rm -f conftest.$ac_objext
2358
 
if { (ac_try="$ac_compile"
2359
 
case "(($ac_try" in
2360
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2361
 
  *) ac_try_echo=$ac_try;;
2362
 
esac
2363
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2364
 
$as_echo "$ac_try_echo") >&5
2365
 
  (eval "$ac_compile") 2>conftest.er1
2366
 
  ac_status=$?
2367
 
  grep -v '^ *+' conftest.er1 >conftest.err
2368
 
  rm -f conftest.er1
2369
 
  cat conftest.err >&5
2370
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371
 
  (exit $ac_status); } && {
2372
 
         test -z "$ac_cxx_werror_flag" ||
2373
 
         test ! -s conftest.err
2374
 
       } && test -s conftest.$ac_objext; then
 
2614
if ac_fn_cxx_try_compile "$LINENO"; then :
2375
2615
  ac_compiler_gnu=yes
2376
2616
else
2377
 
  $as_echo "$as_me: failed program was:" >&5
2378
 
sed 's/^/| /' conftest.$ac_ext >&5
2379
 
 
2380
 
        ac_compiler_gnu=no
 
2617
  ac_compiler_gnu=no
2381
2618
fi
2382
 
 
2383
2619
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2384
2620
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2385
2621
 
2386
2622
fi
2387
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
2623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
2388
2624
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
2389
2625
if test $ac_compiler_gnu = yes; then
2390
2626
  GXX=yes
2393
2629
fi
2394
2630
ac_test_CXXFLAGS=${CXXFLAGS+set}
2395
2631
ac_save_CXXFLAGS=$CXXFLAGS
2396
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
2632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
2397
2633
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
2398
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
 
2634
if ${ac_cv_prog_cxx_g+:} false; then :
2399
2635
  $as_echo_n "(cached) " >&6
2400
2636
else
2401
2637
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2402
2638
   ac_cxx_werror_flag=yes
2403
2639
   ac_cv_prog_cxx_g=no
2404
2640
   CXXFLAGS="-g"
2405
 
   cat >conftest.$ac_ext <<_ACEOF
2406
 
/* confdefs.h.  */
2407
 
_ACEOF
2408
 
cat confdefs.h >>conftest.$ac_ext
2409
 
cat >>conftest.$ac_ext <<_ACEOF
 
2641
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2410
2642
/* end confdefs.h.  */
2411
2643
 
2412
2644
int
2417
2649
  return 0;
2418
2650
}
2419
2651
_ACEOF
2420
 
rm -f conftest.$ac_objext
2421
 
if { (ac_try="$ac_compile"
2422
 
case "(($ac_try" in
2423
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2424
 
  *) ac_try_echo=$ac_try;;
2425
 
esac
2426
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2427
 
$as_echo "$ac_try_echo") >&5
2428
 
  (eval "$ac_compile") 2>conftest.er1
2429
 
  ac_status=$?
2430
 
  grep -v '^ *+' conftest.er1 >conftest.err
2431
 
  rm -f conftest.er1
2432
 
  cat conftest.err >&5
2433
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434
 
  (exit $ac_status); } && {
2435
 
         test -z "$ac_cxx_werror_flag" ||
2436
 
         test ! -s conftest.err
2437
 
       } && test -s conftest.$ac_objext; then
 
2652
if ac_fn_cxx_try_compile "$LINENO"; then :
2438
2653
  ac_cv_prog_cxx_g=yes
2439
2654
else
2440
 
  $as_echo "$as_me: failed program was:" >&5
2441
 
sed 's/^/| /' conftest.$ac_ext >&5
2442
 
 
2443
 
        CXXFLAGS=""
2444
 
      cat >conftest.$ac_ext <<_ACEOF
2445
 
/* confdefs.h.  */
2446
 
_ACEOF
2447
 
cat confdefs.h >>conftest.$ac_ext
2448
 
cat >>conftest.$ac_ext <<_ACEOF
 
2655
  CXXFLAGS=""
 
2656
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449
2657
/* end confdefs.h.  */
2450
2658
 
2451
2659
int
2456
2664
  return 0;
2457
2665
}
2458
2666
_ACEOF
2459
 
rm -f conftest.$ac_objext
2460
 
if { (ac_try="$ac_compile"
2461
 
case "(($ac_try" in
2462
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2463
 
  *) ac_try_echo=$ac_try;;
2464
 
esac
2465
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2466
 
$as_echo "$ac_try_echo") >&5
2467
 
  (eval "$ac_compile") 2>conftest.er1
2468
 
  ac_status=$?
2469
 
  grep -v '^ *+' conftest.er1 >conftest.err
2470
 
  rm -f conftest.er1
2471
 
  cat conftest.err >&5
2472
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473
 
  (exit $ac_status); } && {
2474
 
         test -z "$ac_cxx_werror_flag" ||
2475
 
         test ! -s conftest.err
2476
 
       } && test -s conftest.$ac_objext; then
2477
 
  :
 
2667
if ac_fn_cxx_try_compile "$LINENO"; then :
 
2668
 
2478
2669
else
2479
 
  $as_echo "$as_me: failed program was:" >&5
2480
 
sed 's/^/| /' conftest.$ac_ext >&5
2481
 
 
2482
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
2670
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2483
2671
         CXXFLAGS="-g"
2484
 
         cat >conftest.$ac_ext <<_ACEOF
2485
 
/* confdefs.h.  */
2486
 
_ACEOF
2487
 
cat confdefs.h >>conftest.$ac_ext
2488
 
cat >>conftest.$ac_ext <<_ACEOF
 
2672
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2489
2673
/* end confdefs.h.  */
2490
2674
 
2491
2675
int
2496
2680
  return 0;
2497
2681
}
2498
2682
_ACEOF
2499
 
rm -f conftest.$ac_objext
2500
 
if { (ac_try="$ac_compile"
2501
 
case "(($ac_try" in
2502
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2503
 
  *) ac_try_echo=$ac_try;;
2504
 
esac
2505
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2506
 
$as_echo "$ac_try_echo") >&5
2507
 
  (eval "$ac_compile") 2>conftest.er1
2508
 
  ac_status=$?
2509
 
  grep -v '^ *+' conftest.er1 >conftest.err
2510
 
  rm -f conftest.er1
2511
 
  cat conftest.err >&5
2512
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513
 
  (exit $ac_status); } && {
2514
 
         test -z "$ac_cxx_werror_flag" ||
2515
 
         test ! -s conftest.err
2516
 
       } && test -s conftest.$ac_objext; then
 
2683
if ac_fn_cxx_try_compile "$LINENO"; then :
2517
2684
  ac_cv_prog_cxx_g=yes
2518
 
else
2519
 
  $as_echo "$as_me: failed program was:" >&5
2520
 
sed 's/^/| /' conftest.$ac_ext >&5
2521
 
 
2522
 
 
2523
 
fi
2524
 
 
2525
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2526
 
fi
2527
 
 
2528
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2529
 
fi
2530
 
 
 
2685
fi
 
2686
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2687
fi
 
2688
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2689
fi
2531
2690
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2532
2691
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2533
2692
fi
2534
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
2693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
2535
2694
$as_echo "$ac_cv_prog_cxx_g" >&6; }
2536
2695
if test "$ac_test_CXXFLAGS" = set; then
2537
2696
  CXXFLAGS=$ac_save_CXXFLAGS
2562
2721
if test -n "$ac_tool_prefix"; then
2563
2722
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2564
2723
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2565
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2724
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566
2725
$as_echo_n "checking for $ac_word... " >&6; }
2567
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2726
if ${ac_cv_prog_CC+:} false; then :
2568
2727
  $as_echo_n "(cached) " >&6
2569
2728
else
2570
2729
  if test -n "$CC"; then
2575
2734
do
2576
2735
  IFS=$as_save_IFS
2577
2736
  test -z "$as_dir" && as_dir=.
2578
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2737
    for ac_exec_ext in '' $ac_executable_extensions; do
2579
2738
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2580
2739
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2581
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2740
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2582
2741
    break 2
2583
2742
  fi
2584
2743
done
2585
 
done
 
2744
  done
2586
2745
IFS=$as_save_IFS
2587
2746
 
2588
2747
fi
2589
2748
fi
2590
2749
CC=$ac_cv_prog_CC
2591
2750
if test -n "$CC"; then
2592
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2751
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2593
2752
$as_echo "$CC" >&6; }
2594
2753
else
2595
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2754
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2596
2755
$as_echo "no" >&6; }
2597
2756
fi
2598
2757
 
2602
2761
  ac_ct_CC=$CC
2603
2762
  # Extract the first word of "gcc", so it can be a program name with args.
2604
2763
set dummy gcc; ac_word=$2
2605
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2764
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606
2765
$as_echo_n "checking for $ac_word... " >&6; }
2607
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2766
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2608
2767
  $as_echo_n "(cached) " >&6
2609
2768
else
2610
2769
  if test -n "$ac_ct_CC"; then
2615
2774
do
2616
2775
  IFS=$as_save_IFS
2617
2776
  test -z "$as_dir" && as_dir=.
2618
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2777
    for ac_exec_ext in '' $ac_executable_extensions; do
2619
2778
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2620
2779
    ac_cv_prog_ac_ct_CC="gcc"
2621
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2780
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2622
2781
    break 2
2623
2782
  fi
2624
2783
done
2625
 
done
 
2784
  done
2626
2785
IFS=$as_save_IFS
2627
2786
 
2628
2787
fi
2629
2788
fi
2630
2789
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2631
2790
if test -n "$ac_ct_CC"; then
2632
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2791
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2633
2792
$as_echo "$ac_ct_CC" >&6; }
2634
2793
else
2635
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2794
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636
2795
$as_echo "no" >&6; }
2637
2796
fi
2638
2797
 
2641
2800
  else
2642
2801
    case $cross_compiling:$ac_tool_warned in
2643
2802
yes:)
2644
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2645
 
whose name does not start with the host triplet.  If you think this
2646
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2647
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2648
 
whose name does not start with the host triplet.  If you think this
2649
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2803
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2804
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2650
2805
ac_tool_warned=yes ;;
2651
2806
esac
2652
2807
    CC=$ac_ct_CC
2659
2814
          if test -n "$ac_tool_prefix"; then
2660
2815
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2661
2816
set dummy ${ac_tool_prefix}cc; ac_word=$2
2662
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2663
2818
$as_echo_n "checking for $ac_word... " >&6; }
2664
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2819
if ${ac_cv_prog_CC+:} false; then :
2665
2820
  $as_echo_n "(cached) " >&6
2666
2821
else
2667
2822
  if test -n "$CC"; then
2672
2827
do
2673
2828
  IFS=$as_save_IFS
2674
2829
  test -z "$as_dir" && as_dir=.
2675
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2830
    for ac_exec_ext in '' $ac_executable_extensions; do
2676
2831
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2677
2832
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2678
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2833
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2679
2834
    break 2
2680
2835
  fi
2681
2836
done
2682
 
done
 
2837
  done
2683
2838
IFS=$as_save_IFS
2684
2839
 
2685
2840
fi
2686
2841
fi
2687
2842
CC=$ac_cv_prog_CC
2688
2843
if test -n "$CC"; then
2689
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2844
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2690
2845
$as_echo "$CC" >&6; }
2691
2846
else
2692
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2847
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2693
2848
$as_echo "no" >&6; }
2694
2849
fi
2695
2850
 
2699
2854
if test -z "$CC"; then
2700
2855
  # Extract the first word of "cc", so it can be a program name with args.
2701
2856
set dummy cc; ac_word=$2
2702
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2703
2858
$as_echo_n "checking for $ac_word... " >&6; }
2704
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2859
if ${ac_cv_prog_CC+:} false; then :
2705
2860
  $as_echo_n "(cached) " >&6
2706
2861
else
2707
2862
  if test -n "$CC"; then
2713
2868
do
2714
2869
  IFS=$as_save_IFS
2715
2870
  test -z "$as_dir" && as_dir=.
2716
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2871
    for ac_exec_ext in '' $ac_executable_extensions; do
2717
2872
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2718
2873
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2719
2874
       ac_prog_rejected=yes
2720
2875
       continue
2721
2876
     fi
2722
2877
    ac_cv_prog_CC="cc"
2723
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2878
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2724
2879
    break 2
2725
2880
  fi
2726
2881
done
2727
 
done
 
2882
  done
2728
2883
IFS=$as_save_IFS
2729
2884
 
2730
2885
if test $ac_prog_rejected = yes; then
2743
2898
fi
2744
2899
CC=$ac_cv_prog_CC
2745
2900
if test -n "$CC"; then
2746
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2901
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2747
2902
$as_echo "$CC" >&6; }
2748
2903
else
2749
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2904
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2750
2905
$as_echo "no" >&6; }
2751
2906
fi
2752
2907
 
2758
2913
  do
2759
2914
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2760
2915
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2761
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762
2917
$as_echo_n "checking for $ac_word... " >&6; }
2763
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2918
if ${ac_cv_prog_CC+:} false; then :
2764
2919
  $as_echo_n "(cached) " >&6
2765
2920
else
2766
2921
  if test -n "$CC"; then
2771
2926
do
2772
2927
  IFS=$as_save_IFS
2773
2928
  test -z "$as_dir" && as_dir=.
2774
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2929
    for ac_exec_ext in '' $ac_executable_extensions; do
2775
2930
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2776
2931
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2777
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2932
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2778
2933
    break 2
2779
2934
  fi
2780
2935
done
2781
 
done
 
2936
  done
2782
2937
IFS=$as_save_IFS
2783
2938
 
2784
2939
fi
2785
2940
fi
2786
2941
CC=$ac_cv_prog_CC
2787
2942
if test -n "$CC"; then
2788
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2943
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2789
2944
$as_echo "$CC" >&6; }
2790
2945
else
2791
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2946
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792
2947
$as_echo "no" >&6; }
2793
2948
fi
2794
2949
 
2802
2957
do
2803
2958
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2804
2959
set dummy $ac_prog; ac_word=$2
2805
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806
2961
$as_echo_n "checking for $ac_word... " >&6; }
2807
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2962
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2808
2963
  $as_echo_n "(cached) " >&6
2809
2964
else
2810
2965
  if test -n "$ac_ct_CC"; then
2815
2970
do
2816
2971
  IFS=$as_save_IFS
2817
2972
  test -z "$as_dir" && as_dir=.
2818
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2973
    for ac_exec_ext in '' $ac_executable_extensions; do
2819
2974
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820
2975
    ac_cv_prog_ac_ct_CC="$ac_prog"
2821
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2976
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2822
2977
    break 2
2823
2978
  fi
2824
2979
done
2825
 
done
 
2980
  done
2826
2981
IFS=$as_save_IFS
2827
2982
 
2828
2983
fi
2829
2984
fi
2830
2985
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2831
2986
if test -n "$ac_ct_CC"; then
2832
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2987
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2833
2988
$as_echo "$ac_ct_CC" >&6; }
2834
2989
else
2835
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2990
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836
2991
$as_echo "no" >&6; }
2837
2992
fi
2838
2993
 
2845
3000
  else
2846
3001
    case $cross_compiling:$ac_tool_warned in
2847
3002
yes:)
2848
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2849
 
whose name does not start with the host triplet.  If you think this
2850
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2851
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2852
 
whose name does not start with the host triplet.  If you think this
2853
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3003
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3004
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2854
3005
ac_tool_warned=yes ;;
2855
3006
esac
2856
3007
    CC=$ac_ct_CC
2860
3011
fi
2861
3012
 
2862
3013
 
2863
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2864
 
See \`config.log' for more details." >&5
2865
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2866
 
See \`config.log' for more details." >&2;}
2867
 
   { (exit 1); exit 1; }; }
 
3014
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3015
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3016
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3017
See \`config.log' for more details" "$LINENO" 5; }
2868
3018
 
2869
3019
# Provide some information about the compiler.
2870
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3020
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2871
3021
set X $ac_compile
2872
3022
ac_compiler=$2
2873
 
{ (ac_try="$ac_compiler --version >&5"
2874
 
case "(($ac_try" in
2875
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876
 
  *) ac_try_echo=$ac_try;;
2877
 
esac
2878
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2879
 
$as_echo "$ac_try_echo") >&5
2880
 
  (eval "$ac_compiler --version >&5") 2>&5
2881
 
  ac_status=$?
2882
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883
 
  (exit $ac_status); }
2884
 
{ (ac_try="$ac_compiler -v >&5"
2885
 
case "(($ac_try" in
2886
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2887
 
  *) ac_try_echo=$ac_try;;
2888
 
esac
2889
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2890
 
$as_echo "$ac_try_echo") >&5
2891
 
  (eval "$ac_compiler -v >&5") 2>&5
2892
 
  ac_status=$?
2893
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894
 
  (exit $ac_status); }
2895
 
{ (ac_try="$ac_compiler -V >&5"
2896
 
case "(($ac_try" in
2897
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2898
 
  *) ac_try_echo=$ac_try;;
2899
 
esac
2900
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2901
 
$as_echo "$ac_try_echo") >&5
2902
 
  (eval "$ac_compiler -V >&5") 2>&5
2903
 
  ac_status=$?
2904
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905
 
  (exit $ac_status); }
 
3023
for ac_option in --version -v -V -qversion; do
 
3024
  { { ac_try="$ac_compiler $ac_option >&5"
 
3025
case "(($ac_try" in
 
3026
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3027
  *) ac_try_echo=$ac_try;;
 
3028
esac
 
3029
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3030
$as_echo "$ac_try_echo"; } >&5
 
3031
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3032
  ac_status=$?
 
3033
  if test -s conftest.err; then
 
3034
    sed '10a\
 
3035
... rest of stderr output deleted ...
 
3036
         10q' conftest.err >conftest.er1
 
3037
    cat conftest.er1 >&5
 
3038
  fi
 
3039
  rm -f conftest.er1 conftest.err
 
3040
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3041
  test $ac_status = 0; }
 
3042
done
2906
3043
 
2907
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2908
3045
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2909
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3046
if ${ac_cv_c_compiler_gnu+:} false; then :
2910
3047
  $as_echo_n "(cached) " >&6
2911
3048
else
2912
 
  cat >conftest.$ac_ext <<_ACEOF
2913
 
/* confdefs.h.  */
2914
 
_ACEOF
2915
 
cat confdefs.h >>conftest.$ac_ext
2916
 
cat >>conftest.$ac_ext <<_ACEOF
 
3049
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2917
3050
/* end confdefs.h.  */
2918
3051
 
2919
3052
int
2927
3060
  return 0;
2928
3061
}
2929
3062
_ACEOF
2930
 
rm -f conftest.$ac_objext
2931
 
if { (ac_try="$ac_compile"
2932
 
case "(($ac_try" in
2933
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934
 
  *) ac_try_echo=$ac_try;;
2935
 
esac
2936
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2937
 
$as_echo "$ac_try_echo") >&5
2938
 
  (eval "$ac_compile") 2>conftest.er1
2939
 
  ac_status=$?
2940
 
  grep -v '^ *+' conftest.er1 >conftest.err
2941
 
  rm -f conftest.er1
2942
 
  cat conftest.err >&5
2943
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944
 
  (exit $ac_status); } && {
2945
 
         test -z "$ac_c_werror_flag" ||
2946
 
         test ! -s conftest.err
2947
 
       } && test -s conftest.$ac_objext; then
 
3063
if ac_fn_c_try_compile "$LINENO"; then :
2948
3064
  ac_compiler_gnu=yes
2949
3065
else
2950
 
  $as_echo "$as_me: failed program was:" >&5
2951
 
sed 's/^/| /' conftest.$ac_ext >&5
2952
 
 
2953
 
        ac_compiler_gnu=no
 
3066
  ac_compiler_gnu=no
2954
3067
fi
2955
 
 
2956
3068
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2957
3069
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2958
3070
 
2959
3071
fi
2960
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2961
3073
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2962
3074
if test $ac_compiler_gnu = yes; then
2963
3075
  GCC=yes
2966
3078
fi
2967
3079
ac_test_CFLAGS=${CFLAGS+set}
2968
3080
ac_save_CFLAGS=$CFLAGS
2969
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3081
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2970
3082
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2971
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3083
if ${ac_cv_prog_cc_g+:} false; then :
2972
3084
  $as_echo_n "(cached) " >&6
2973
3085
else
2974
3086
  ac_save_c_werror_flag=$ac_c_werror_flag
2975
3087
   ac_c_werror_flag=yes
2976
3088
   ac_cv_prog_cc_g=no
2977
3089
   CFLAGS="-g"
2978
 
   cat >conftest.$ac_ext <<_ACEOF
2979
 
/* confdefs.h.  */
2980
 
_ACEOF
2981
 
cat confdefs.h >>conftest.$ac_ext
2982
 
cat >>conftest.$ac_ext <<_ACEOF
 
3090
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983
3091
/* end confdefs.h.  */
2984
3092
 
2985
3093
int
2990
3098
  return 0;
2991
3099
}
2992
3100
_ACEOF
2993
 
rm -f conftest.$ac_objext
2994
 
if { (ac_try="$ac_compile"
2995
 
case "(($ac_try" in
2996
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2997
 
  *) ac_try_echo=$ac_try;;
2998
 
esac
2999
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3000
 
$as_echo "$ac_try_echo") >&5
3001
 
  (eval "$ac_compile") 2>conftest.er1
3002
 
  ac_status=$?
3003
 
  grep -v '^ *+' conftest.er1 >conftest.err
3004
 
  rm -f conftest.er1
3005
 
  cat conftest.err >&5
3006
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007
 
  (exit $ac_status); } && {
3008
 
         test -z "$ac_c_werror_flag" ||
3009
 
         test ! -s conftest.err
3010
 
       } && test -s conftest.$ac_objext; then
 
3101
if ac_fn_c_try_compile "$LINENO"; then :
3011
3102
  ac_cv_prog_cc_g=yes
3012
3103
else
3013
 
  $as_echo "$as_me: failed program was:" >&5
3014
 
sed 's/^/| /' conftest.$ac_ext >&5
3015
 
 
3016
 
        CFLAGS=""
3017
 
      cat >conftest.$ac_ext <<_ACEOF
3018
 
/* confdefs.h.  */
3019
 
_ACEOF
3020
 
cat confdefs.h >>conftest.$ac_ext
3021
 
cat >>conftest.$ac_ext <<_ACEOF
 
3104
  CFLAGS=""
 
3105
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3022
3106
/* end confdefs.h.  */
3023
3107
 
3024
3108
int
3029
3113
  return 0;
3030
3114
}
3031
3115
_ACEOF
3032
 
rm -f conftest.$ac_objext
3033
 
if { (ac_try="$ac_compile"
3034
 
case "(($ac_try" in
3035
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3036
 
  *) ac_try_echo=$ac_try;;
3037
 
esac
3038
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3039
 
$as_echo "$ac_try_echo") >&5
3040
 
  (eval "$ac_compile") 2>conftest.er1
3041
 
  ac_status=$?
3042
 
  grep -v '^ *+' conftest.er1 >conftest.err
3043
 
  rm -f conftest.er1
3044
 
  cat conftest.err >&5
3045
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046
 
  (exit $ac_status); } && {
3047
 
         test -z "$ac_c_werror_flag" ||
3048
 
         test ! -s conftest.err
3049
 
       } && test -s conftest.$ac_objext; then
3050
 
  :
 
3116
if ac_fn_c_try_compile "$LINENO"; then :
 
3117
 
3051
3118
else
3052
 
  $as_echo "$as_me: failed program was:" >&5
3053
 
sed 's/^/| /' conftest.$ac_ext >&5
3054
 
 
3055
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3119
  ac_c_werror_flag=$ac_save_c_werror_flag
3056
3120
         CFLAGS="-g"
3057
 
         cat >conftest.$ac_ext <<_ACEOF
3058
 
/* confdefs.h.  */
3059
 
_ACEOF
3060
 
cat confdefs.h >>conftest.$ac_ext
3061
 
cat >>conftest.$ac_ext <<_ACEOF
 
3121
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062
3122
/* end confdefs.h.  */
3063
3123
 
3064
3124
int
3069
3129
  return 0;
3070
3130
}
3071
3131
_ACEOF
3072
 
rm -f conftest.$ac_objext
3073
 
if { (ac_try="$ac_compile"
3074
 
case "(($ac_try" in
3075
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3076
 
  *) ac_try_echo=$ac_try;;
3077
 
esac
3078
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3079
 
$as_echo "$ac_try_echo") >&5
3080
 
  (eval "$ac_compile") 2>conftest.er1
3081
 
  ac_status=$?
3082
 
  grep -v '^ *+' conftest.er1 >conftest.err
3083
 
  rm -f conftest.er1
3084
 
  cat conftest.err >&5
3085
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086
 
  (exit $ac_status); } && {
3087
 
         test -z "$ac_c_werror_flag" ||
3088
 
         test ! -s conftest.err
3089
 
       } && test -s conftest.$ac_objext; then
 
3132
if ac_fn_c_try_compile "$LINENO"; then :
3090
3133
  ac_cv_prog_cc_g=yes
3091
 
else
3092
 
  $as_echo "$as_me: failed program was:" >&5
3093
 
sed 's/^/| /' conftest.$ac_ext >&5
3094
 
 
3095
 
 
3096
 
fi
3097
 
 
3098
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3099
 
fi
3100
 
 
3101
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3102
 
fi
3103
 
 
 
3134
fi
 
3135
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3136
fi
 
3137
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3138
fi
3104
3139
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3105
3140
   ac_c_werror_flag=$ac_save_c_werror_flag
3106
3141
fi
3107
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3142
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3108
3143
$as_echo "$ac_cv_prog_cc_g" >&6; }
3109
3144
if test "$ac_test_CFLAGS" = set; then
3110
3145
  CFLAGS=$ac_save_CFLAGS
3121
3156
    CFLAGS=
3122
3157
  fi
3123
3158
fi
3124
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3125
3160
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3126
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3161
if ${ac_cv_prog_cc_c89+:} false; then :
3127
3162
  $as_echo_n "(cached) " >&6
3128
3163
else
3129
3164
  ac_cv_prog_cc_c89=no
3130
3165
ac_save_CC=$CC
3131
 
cat >conftest.$ac_ext <<_ACEOF
3132
 
/* confdefs.h.  */
3133
 
_ACEOF
3134
 
cat confdefs.h >>conftest.$ac_ext
3135
 
cat >>conftest.$ac_ext <<_ACEOF
 
3166
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3136
3167
/* end confdefs.h.  */
3137
3168
#include <stdarg.h>
3138
3169
#include <stdio.h>
3189
3220
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3190
3221
do
3191
3222
  CC="$ac_save_CC $ac_arg"
3192
 
  rm -f conftest.$ac_objext
3193
 
if { (ac_try="$ac_compile"
3194
 
case "(($ac_try" in
3195
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3196
 
  *) ac_try_echo=$ac_try;;
3197
 
esac
3198
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3199
 
$as_echo "$ac_try_echo") >&5
3200
 
  (eval "$ac_compile") 2>conftest.er1
3201
 
  ac_status=$?
3202
 
  grep -v '^ *+' conftest.er1 >conftest.err
3203
 
  rm -f conftest.er1
3204
 
  cat conftest.err >&5
3205
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206
 
  (exit $ac_status); } && {
3207
 
         test -z "$ac_c_werror_flag" ||
3208
 
         test ! -s conftest.err
3209
 
       } && test -s conftest.$ac_objext; then
 
3223
  if ac_fn_c_try_compile "$LINENO"; then :
3210
3224
  ac_cv_prog_cc_c89=$ac_arg
3211
 
else
3212
 
  $as_echo "$as_me: failed program was:" >&5
3213
 
sed 's/^/| /' conftest.$ac_ext >&5
3214
 
 
3215
 
 
3216
3225
fi
3217
 
 
3218
3226
rm -f core conftest.err conftest.$ac_objext
3219
3227
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3220
3228
done
3225
3233
# AC_CACHE_VAL
3226
3234
case "x$ac_cv_prog_cc_c89" in
3227
3235
  x)
3228
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3236
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3229
3237
$as_echo "none needed" >&6; } ;;
3230
3238
  xno)
3231
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3239
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3232
3240
$as_echo "unsupported" >&6; } ;;
3233
3241
  *)
3234
3242
    CC="$CC $ac_cv_prog_cc_c89"
3235
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3243
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3236
3244
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3237
3245
esac
 
3246
if test "x$ac_cv_prog_cc_c89" != xno; then :
3238
3247
 
 
3248
fi
3239
3249
 
3240
3250
ac_ext=c
3241
3251
ac_cpp='$CPP $CPPFLAGS'
3249
3259
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3250
3260
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3251
3261
 
3252
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3262
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3253
3263
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3254
3264
set x ${MAKE-make}
3255
3265
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3256
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
3266
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3257
3267
  $as_echo_n "(cached) " >&6
3258
3268
else
3259
3269
  cat >conftest.make <<\_ACEOF
3261
3271
all:
3262
3272
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3263
3273
_ACEOF
3264
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
3274
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3265
3275
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3266
3276
  *@@@%%%=?*=@@@%%%*)
3267
3277
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3271
3281
rm -f conftest.make
3272
3282
fi
3273
3283
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3274
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
3284
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3275
3285
$as_echo "yes" >&6; }
3276
3286
  SET_MAKE=
3277
3287
else
3278
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3288
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3279
3289
$as_echo "no" >&6; }
3280
3290
  SET_MAKE="MAKE=${MAKE-make}"
3281
3291
fi
3282
3292
 
3283
3293
# for old automakes - like squid-cache.orgs!
3284
 
am__api_version='1.10'
 
3294
am__api_version='1.11'
3285
3295
 
3286
3296
# Find a good install program.  We prefer a C program (faster),
3287
3297
# so one script is as good as another.  But avoid the broken or
3297
3307
# OS/2's system install, which has a completely different semantic
3298
3308
# ./install, which can be erroneously created by make from ./install.sh.
3299
3309
# Reject install programs that cannot install multiple files.
3300
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
3310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3301
3311
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3302
3312
if test -z "$INSTALL"; then
3303
 
if test "${ac_cv_path_install+set}" = set; then
 
3313
if ${ac_cv_path_install+:} false; then :
3304
3314
  $as_echo_n "(cached) " >&6
3305
3315
else
3306
3316
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3308
3318
do
3309
3319
  IFS=$as_save_IFS
3310
3320
  test -z "$as_dir" && as_dir=.
3311
 
  # Account for people who put trailing slashes in PATH elements.
3312
 
case $as_dir/ in
3313
 
  ./ | .// | /cC/* | \
 
3321
    # Account for people who put trailing slashes in PATH elements.
 
3322
case $as_dir/ in #((
 
3323
  ./ | .// | /[cC]/* | \
3314
3324
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3315
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
3325
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3316
3326
  /usr/ucb/* ) ;;
3317
3327
  *)
3318
3328
    # OSF1 and SCO ODT 3.0 have their own names for install.
3349
3359
    ;;
3350
3360
esac
3351
3361
 
3352
 
done
 
3362
  done
3353
3363
IFS=$as_save_IFS
3354
3364
 
3355
3365
rm -rf conftest.one conftest.two conftest.dir
3365
3375
    INSTALL=$ac_install_sh
3366
3376
  fi
3367
3377
fi
3368
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
3378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3369
3379
$as_echo "$INSTALL" >&6; }
3370
3380
 
3371
3381
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3376
3386
 
3377
3387
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3378
3388
 
3379
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
3389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3380
3390
$as_echo_n "checking whether build environment is sane... " >&6; }
3381
3391
# Just in case
3382
3392
sleep 1
3383
3393
echo timestamp > conftest.file
 
3394
# Reject unsafe characters in $srcdir or the absolute working directory
 
3395
# name.  Accept space and tab only in the latter.
 
3396
am_lf='
 
3397
'
 
3398
case `pwd` in
 
3399
  *[\\\"\#\$\&\'\`$am_lf]*)
 
3400
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
3401
esac
 
3402
case $srcdir in
 
3403
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
3404
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
3405
esac
 
3406
 
3384
3407
# Do `set' in a subshell so we don't clobber the current shell's
3385
3408
# arguments.  Must try -L first in case configure is actually a
3386
3409
# symlink; some systems play weird games with the mod time of symlinks
3387
3410
# (eg FreeBSD returns the mod time of the symlink's containing
3388
3411
# directory).
3389
3412
if (
3390
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
3413
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3391
3414
   if test "$*" = "X"; then
3392
3415
      # -L didn't work.
3393
 
      set X `ls -t $srcdir/configure conftest.file`
 
3416
      set X `ls -t "$srcdir/configure" conftest.file`
3394
3417
   fi
3395
3418
   rm -f conftest.file
3396
3419
   if test "$*" != "X $srcdir/configure conftest.file" \
3400
3423
      # if, for instance, CONFIG_SHELL is bash and it inherits a
3401
3424
      # broken ls alias from the environment.  This has actually
3402
3425
      # happened.  Such a system could not be considered "sane".
3403
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
3404
 
alias in your environment" >&5
3405
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
3406
 
alias in your environment" >&2;}
3407
 
   { (exit 1); exit 1; }; }
 
3426
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
3427
alias in your environment" "$LINENO" 5
3408
3428
   fi
3409
3429
 
3410
3430
   test "$2" = conftest.file
3413
3433
   # Ok.
3414
3434
   :
3415
3435
else
3416
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3417
 
Check your system clock" >&5
3418
 
$as_echo "$as_me: error: newly created file is older than distributed files!
3419
 
Check your system clock" >&2;}
3420
 
   { (exit 1); exit 1; }; }
 
3436
   as_fn_error $? "newly created file is older than distributed files!
 
3437
Check your system clock" "$LINENO" 5
3421
3438
fi
3422
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3423
3440
$as_echo "yes" >&6; }
3424
3441
test "$program_prefix" != NONE &&
3425
3442
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3434
3451
# expand $ac_aux_dir to an absolute path
3435
3452
am_aux_dir=`cd $ac_aux_dir && pwd`
3436
3453
 
3437
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
3454
if test x"${MISSING+set}" != xset; then
 
3455
  case $am_aux_dir in
 
3456
  *\ * | *\     *)
 
3457
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
3458
  *)
 
3459
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
3460
  esac
 
3461
fi
3438
3462
# Use eval to expand $SHELL
3439
3463
if eval "$MISSING --run true"; then
3440
3464
  am_missing_run="$MISSING --run "
3441
3465
else
3442
3466
  am_missing_run=
3443
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
3467
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3444
3468
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3445
3469
fi
3446
3470
 
3447
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
3471
if test x"${install_sh}" != xset; then
 
3472
  case $am_aux_dir in
 
3473
  *\ * | *\     *)
 
3474
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
3475
  *)
 
3476
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
3477
  esac
 
3478
fi
 
3479
 
 
3480
# Installed binaries are usually stripped using `strip' when the user
 
3481
# run `make install-strip'.  However `strip' might not be the right
 
3482
# tool to use in cross-compilation environments, therefore Automake
 
3483
# will honor the `STRIP' environment variable to overrule this program.
 
3484
if test "$cross_compiling" != no; then
 
3485
  if test -n "$ac_tool_prefix"; then
 
3486
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
3487
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
3488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3489
$as_echo_n "checking for $ac_word... " >&6; }
 
3490
if ${ac_cv_prog_STRIP+:} false; then :
 
3491
  $as_echo_n "(cached) " >&6
 
3492
else
 
3493
  if test -n "$STRIP"; then
 
3494
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
3495
else
 
3496
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3497
for as_dir in $PATH
 
3498
do
 
3499
  IFS=$as_save_IFS
 
3500
  test -z "$as_dir" && as_dir=.
 
3501
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3502
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3503
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
3504
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3505
    break 2
 
3506
  fi
 
3507
done
 
3508
  done
 
3509
IFS=$as_save_IFS
 
3510
 
 
3511
fi
 
3512
fi
 
3513
STRIP=$ac_cv_prog_STRIP
 
3514
if test -n "$STRIP"; then
 
3515
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
3516
$as_echo "$STRIP" >&6; }
 
3517
else
 
3518
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3519
$as_echo "no" >&6; }
 
3520
fi
 
3521
 
 
3522
 
 
3523
fi
 
3524
if test -z "$ac_cv_prog_STRIP"; then
 
3525
  ac_ct_STRIP=$STRIP
 
3526
  # Extract the first word of "strip", so it can be a program name with args.
 
3527
set dummy strip; ac_word=$2
 
3528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3529
$as_echo_n "checking for $ac_word... " >&6; }
 
3530
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
3531
  $as_echo_n "(cached) " >&6
 
3532
else
 
3533
  if test -n "$ac_ct_STRIP"; then
 
3534
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
3535
else
 
3536
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3537
for as_dir in $PATH
 
3538
do
 
3539
  IFS=$as_save_IFS
 
3540
  test -z "$as_dir" && as_dir=.
 
3541
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3542
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3543
    ac_cv_prog_ac_ct_STRIP="strip"
 
3544
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3545
    break 2
 
3546
  fi
 
3547
done
 
3548
  done
 
3549
IFS=$as_save_IFS
 
3550
 
 
3551
fi
 
3552
fi
 
3553
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
3554
if test -n "$ac_ct_STRIP"; then
 
3555
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
3556
$as_echo "$ac_ct_STRIP" >&6; }
 
3557
else
 
3558
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3559
$as_echo "no" >&6; }
 
3560
fi
 
3561
 
 
3562
  if test "x$ac_ct_STRIP" = x; then
 
3563
    STRIP=":"
 
3564
  else
 
3565
    case $cross_compiling:$ac_tool_warned in
 
3566
yes:)
 
3567
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3568
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3569
ac_tool_warned=yes ;;
 
3570
esac
 
3571
    STRIP=$ac_ct_STRIP
 
3572
  fi
 
3573
else
 
3574
  STRIP="$ac_cv_prog_STRIP"
 
3575
fi
 
3576
 
 
3577
fi
 
3578
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
3579
 
 
3580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3448
3581
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3449
3582
if test -z "$MKDIR_P"; then
3450
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
3583
  if ${ac_cv_path_mkdir+:} false; then :
3451
3584
  $as_echo_n "(cached) " >&6
3452
3585
else
3453
3586
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3455
3588
do
3456
3589
  IFS=$as_save_IFS
3457
3590
  test -z "$as_dir" && as_dir=.
3458
 
  for ac_prog in mkdir gmkdir; do
 
3591
    for ac_prog in mkdir gmkdir; do
3459
3592
         for ac_exec_ext in '' $ac_executable_extensions; do
3460
3593
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3461
3594
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3467
3600
           esac
3468
3601
         done
3469
3602
       done
3470
 
done
 
3603
  done
3471
3604
IFS=$as_save_IFS
3472
3605
 
3473
3606
fi
3474
3607
 
 
3608
  test -d ./--version && rmdir ./--version
3475
3609
  if test "${ac_cv_path_mkdir+set}" = set; then
3476
3610
    MKDIR_P="$ac_cv_path_mkdir -p"
3477
3611
  else
3479
3613
    # value for MKDIR_P within a source directory, because that will
3480
3614
    # break other packages using the cache if that directory is
3481
3615
    # removed, or if the value is a relative name.
3482
 
    test -d ./--version && rmdir ./--version
3483
3616
    MKDIR_P="$ac_install_sh -d"
3484
3617
  fi
3485
3618
fi
3486
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
3619
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3487
3620
$as_echo "$MKDIR_P" >&6; }
3488
3621
 
3489
3622
mkdir_p="$MKDIR_P"
3496
3629
do
3497
3630
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3498
3631
set dummy $ac_prog; ac_word=$2
3499
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3500
3633
$as_echo_n "checking for $ac_word... " >&6; }
3501
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
3634
if ${ac_cv_prog_AWK+:} false; then :
3502
3635
  $as_echo_n "(cached) " >&6
3503
3636
else
3504
3637
  if test -n "$AWK"; then
3509
3642
do
3510
3643
  IFS=$as_save_IFS
3511
3644
  test -z "$as_dir" && as_dir=.
3512
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3645
    for ac_exec_ext in '' $ac_executable_extensions; do
3513
3646
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3514
3647
    ac_cv_prog_AWK="$ac_prog"
3515
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3648
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3516
3649
    break 2
3517
3650
  fi
3518
3651
done
3519
 
done
 
3652
  done
3520
3653
IFS=$as_save_IFS
3521
3654
 
3522
3655
fi
3523
3656
fi
3524
3657
AWK=$ac_cv_prog_AWK
3525
3658
if test -n "$AWK"; then
3526
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
3659
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3527
3660
$as_echo "$AWK" >&6; }
3528
3661
else
3529
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3662
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3530
3663
$as_echo "no" >&6; }
3531
3664
fi
3532
3665
 
3551
3684
am_make=${MAKE-make}
3552
3685
cat > confinc << 'END'
3553
3686
am__doit:
3554
 
        @echo done
 
3687
        @echo this is the am__doit target
3555
3688
.PHONY: am__doit
3556
3689
END
3557
3690
# If we don't find an include directive, just comment out the code.
3558
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3559
3692
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3560
3693
am__include="#"
3561
3694
am__quote=
3562
3695
_am_result=none
3563
3696
# First try GNU make style include.
3564
3697
echo "include confinc" > confmf
3565
 
# We grep out `Entering directory' and `Leaving directory'
3566
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3567
 
# In particular we don't look at `^make:' because GNU make might
3568
 
# be invoked under some other name (usually "gmake"), in which
3569
 
# case it prints its new name instead of `make'.
3570
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3571
 
   am__include=include
3572
 
   am__quote=
3573
 
   _am_result=GNU
3574
 
fi
 
3698
# Ignore all kinds of additional output from `make'.
 
3699
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3700
*the\ am__doit\ target*)
 
3701
  am__include=include
 
3702
  am__quote=
 
3703
  _am_result=GNU
 
3704
  ;;
 
3705
esac
3575
3706
# Now try BSD make style include.
3576
3707
if test "$am__include" = "#"; then
3577
3708
   echo '.include "confinc"' > confmf
3578
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3579
 
      am__include=.include
3580
 
      am__quote="\""
3581
 
      _am_result=BSD
3582
 
   fi
 
3709
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3710
   *the\ am__doit\ target*)
 
3711
     am__include=.include
 
3712
     am__quote="\""
 
3713
     _am_result=BSD
 
3714
     ;;
 
3715
   esac
3583
3716
fi
3584
3717
 
3585
3718
 
3586
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3719
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3587
3720
$as_echo "$_am_result" >&6; }
3588
3721
rm -f confinc confmf
3589
3722
 
3590
3723
# Check whether --enable-dependency-tracking was given.
3591
 
if test "${enable_dependency_tracking+set}" = set; then
 
3724
if test "${enable_dependency_tracking+set}" = set; then :
3592
3725
  enableval=$enable_dependency_tracking;
3593
3726
fi
3594
3727
 
3611
3744
  am__isrc=' -I$(srcdir)'
3612
3745
  # test to see if srcdir already configured
3613
3746
  if test -f $srcdir/config.status; then
3614
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3615
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3616
 
   { (exit 1); exit 1; }; }
 
3747
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3617
3748
  fi
3618
3749
fi
3619
3750
 
3657
3788
 
3658
3789
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3659
3790
 
3660
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
3661
 
 
3662
 
# Installed binaries are usually stripped using `strip' when the user
3663
 
# run `make install-strip'.  However `strip' might not be the right
3664
 
# tool to use in cross-compilation environments, therefore Automake
3665
 
# will honor the `STRIP' environment variable to overrule this program.
3666
 
if test "$cross_compiling" != no; then
3667
 
  if test -n "$ac_tool_prefix"; then
3668
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3669
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
3670
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3671
 
$as_echo_n "checking for $ac_word... " >&6; }
3672
 
if test "${ac_cv_prog_STRIP+set}" = set; then
3673
 
  $as_echo_n "(cached) " >&6
3674
 
else
3675
 
  if test -n "$STRIP"; then
3676
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3677
 
else
3678
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3679
 
for as_dir in $PATH
3680
 
do
3681
 
  IFS=$as_save_IFS
3682
 
  test -z "$as_dir" && as_dir=.
3683
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3684
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3685
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3686
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3687
 
    break 2
3688
 
  fi
3689
 
done
3690
 
done
3691
 
IFS=$as_save_IFS
3692
 
 
3693
 
fi
3694
 
fi
3695
 
STRIP=$ac_cv_prog_STRIP
3696
 
if test -n "$STRIP"; then
3697
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
3698
 
$as_echo "$STRIP" >&6; }
3699
 
else
3700
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
3701
 
$as_echo "no" >&6; }
3702
 
fi
3703
 
 
3704
 
 
3705
 
fi
3706
 
if test -z "$ac_cv_prog_STRIP"; then
3707
 
  ac_ct_STRIP=$STRIP
3708
 
  # Extract the first word of "strip", so it can be a program name with args.
3709
 
set dummy strip; ac_word=$2
3710
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3711
 
$as_echo_n "checking for $ac_word... " >&6; }
3712
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3713
 
  $as_echo_n "(cached) " >&6
3714
 
else
3715
 
  if test -n "$ac_ct_STRIP"; then
3716
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3717
 
else
3718
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719
 
for as_dir in $PATH
3720
 
do
3721
 
  IFS=$as_save_IFS
3722
 
  test -z "$as_dir" && as_dir=.
3723
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3724
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3725
 
    ac_cv_prog_ac_ct_STRIP="strip"
3726
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3727
 
    break 2
3728
 
  fi
3729
 
done
3730
 
done
3731
 
IFS=$as_save_IFS
3732
 
 
3733
 
fi
3734
 
fi
3735
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3736
 
if test -n "$ac_ct_STRIP"; then
3737
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3738
 
$as_echo "$ac_ct_STRIP" >&6; }
3739
 
else
3740
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
3741
 
$as_echo "no" >&6; }
3742
 
fi
3743
 
 
3744
 
  if test "x$ac_ct_STRIP" = x; then
3745
 
    STRIP=":"
3746
 
  else
3747
 
    case $cross_compiling:$ac_tool_warned in
3748
 
yes:)
3749
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3750
 
whose name does not start with the host triplet.  If you think this
3751
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3752
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3753
 
whose name does not start with the host triplet.  If you think this
3754
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3755
 
ac_tool_warned=yes ;;
3756
 
esac
3757
 
    STRIP=$ac_ct_STRIP
3758
 
  fi
3759
 
else
3760
 
  STRIP="$ac_cv_prog_STRIP"
3761
 
fi
3762
 
 
3763
 
fi
3764
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3765
 
 
3766
3791
# We need awk for the "check" target.  The system "awk" is bad on
3767
3792
# some platforms.
3768
3793
# Always define AMTAR for backward compatibility.
3776
3801
 
3777
3802
depcc="$CC"   am_compiler_list=
3778
3803
 
3779
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3780
3805
$as_echo_n "checking dependency style of $depcc... " >&6; }
3781
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3806
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3782
3807
  $as_echo_n "(cached) " >&6
3783
3808
else
3784
3809
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3804
3829
  if test "$am_compiler_list" = ""; then
3805
3830
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3806
3831
  fi
 
3832
  am__universal=false
 
3833
  case " $depcc " in #(
 
3834
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3835
     esac
 
3836
 
3807
3837
  for depmode in $am_compiler_list; do
3808
3838
    # Setup a source with many dependencies, because some compilers
3809
3839
    # like to wrap large dependency lists on column 80 (with \), and
3821
3851
    done
3822
3852
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3823
3853
 
 
3854
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3855
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3856
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3857
    # versions had trouble with output in subdirs
 
3858
    am__obj=sub/conftest.${OBJEXT-o}
 
3859
    am__minus_obj="-o $am__obj"
3824
3860
    case $depmode in
 
3861
    gcc)
 
3862
      # This depmode causes a compiler race in universal mode.
 
3863
      test "$am__universal" = false || continue
 
3864
      ;;
3825
3865
    nosideeffect)
3826
3866
      # after this tag, mechanisms are not by side-effect, so they'll
3827
3867
      # only be used when explicitly requested
3831
3871
        break
3832
3872
      fi
3833
3873
      ;;
 
3874
    msvisualcpp | msvcmsys)
 
3875
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3876
      # not run yet.  These depmodes are late enough in the game, and
 
3877
      # so weak that their functioning should not be impacted.
 
3878
      am__obj=conftest.${OBJEXT-o}
 
3879
      am__minus_obj=
 
3880
      ;;
3834
3881
    none) break ;;
3835
3882
    esac
3836
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3837
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3838
 
    # handle `-M -o', and we need to detect this.
3839
3883
    if depmode=$depmode \
3840
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3884
       source=sub/conftest.c object=$am__obj \
3841
3885
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3842
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3886
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3843
3887
         >/dev/null 2>conftest.err &&
3844
3888
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3845
3889
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3846
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3890
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3847
3891
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3848
3892
      # icc doesn't choke on unknown options, it will just issue warnings
3849
3893
      # or remarks (even with -Werror).  So we grep stderr for any message
3867
3911
fi
3868
3912
 
3869
3913
fi
3870
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3871
3915
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3872
3916
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3873
3917
 
3884
3928
 
3885
3929
depcc="$CXX"  am_compiler_list=
3886
3930
 
3887
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3931
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3888
3932
$as_echo_n "checking dependency style of $depcc... " >&6; }
3889
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 
3933
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3890
3934
  $as_echo_n "(cached) " >&6
3891
3935
else
3892
3936
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3912
3956
  if test "$am_compiler_list" = ""; then
3913
3957
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3914
3958
  fi
 
3959
  am__universal=false
 
3960
  case " $depcc " in #(
 
3961
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3962
     esac
 
3963
 
3915
3964
  for depmode in $am_compiler_list; do
3916
3965
    # Setup a source with many dependencies, because some compilers
3917
3966
    # like to wrap large dependency lists on column 80 (with \), and
3929
3978
    done
3930
3979
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3931
3980
 
 
3981
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3982
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3983
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3984
    # versions had trouble with output in subdirs
 
3985
    am__obj=sub/conftest.${OBJEXT-o}
 
3986
    am__minus_obj="-o $am__obj"
3932
3987
    case $depmode in
 
3988
    gcc)
 
3989
      # This depmode causes a compiler race in universal mode.
 
3990
      test "$am__universal" = false || continue
 
3991
      ;;
3933
3992
    nosideeffect)
3934
3993
      # after this tag, mechanisms are not by side-effect, so they'll
3935
3994
      # only be used when explicitly requested
3939
3998
        break
3940
3999
      fi
3941
4000
      ;;
 
4001
    msvisualcpp | msvcmsys)
 
4002
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4003
      # not run yet.  These depmodes are late enough in the game, and
 
4004
      # so weak that their functioning should not be impacted.
 
4005
      am__obj=conftest.${OBJEXT-o}
 
4006
      am__minus_obj=
 
4007
      ;;
3942
4008
    none) break ;;
3943
4009
    esac
3944
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3945
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3946
 
    # handle `-M -o', and we need to detect this.
3947
4010
    if depmode=$depmode \
3948
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4011
       source=sub/conftest.c object=$am__obj \
3949
4012
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3950
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4013
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3951
4014
         >/dev/null 2>conftest.err &&
3952
4015
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3953
4016
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3954
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4017
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3955
4018
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3956
4019
      # icc doesn't choke on unknown options, it will just issue warnings
3957
4020
      # or remarks (even with -Werror).  So we grep stderr for any message
3975
4038
fi
3976
4039
 
3977
4040
fi
3978
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
4041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3979
4042
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3980
4043
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3981
4044
 
3991
4054
 
3992
4055
 
3993
4056
 
3994
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
4057
 
 
4058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3995
4059
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3996
4060
    # Check whether --enable-maintainer-mode was given.
3997
 
if test "${enable_maintainer_mode+set}" = set; then
 
4061
if test "${enable_maintainer_mode+set}" = set; then :
3998
4062
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3999
4063
else
4000
4064
  USE_MAINTAINER_MODE=no
4001
4065
fi
4002
4066
 
4003
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
4067
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4004
4068
$as_echo "$USE_MAINTAINER_MODE" >&6; }
4005
4069
   if test $USE_MAINTAINER_MODE = yes; then
4006
4070
  MAINTAINER_MODE_TRUE=
4016
4080
if test -n "$ac_tool_prefix"; then
4017
4081
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4018
4082
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4019
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4020
4084
$as_echo_n "checking for $ac_word... " >&6; }
4021
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
4085
if ${ac_cv_prog_RANLIB+:} false; then :
4022
4086
  $as_echo_n "(cached) " >&6
4023
4087
else
4024
4088
  if test -n "$RANLIB"; then
4029
4093
do
4030
4094
  IFS=$as_save_IFS
4031
4095
  test -z "$as_dir" && as_dir=.
4032
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4096
    for ac_exec_ext in '' $ac_executable_extensions; do
4033
4097
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4034
4098
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4035
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4099
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4036
4100
    break 2
4037
4101
  fi
4038
4102
done
4039
 
done
 
4103
  done
4040
4104
IFS=$as_save_IFS
4041
4105
 
4042
4106
fi
4043
4107
fi
4044
4108
RANLIB=$ac_cv_prog_RANLIB
4045
4109
if test -n "$RANLIB"; then
4046
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
4110
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4047
4111
$as_echo "$RANLIB" >&6; }
4048
4112
else
4049
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4113
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4050
4114
$as_echo "no" >&6; }
4051
4115
fi
4052
4116
 
4056
4120
  ac_ct_RANLIB=$RANLIB
4057
4121
  # Extract the first word of "ranlib", so it can be a program name with args.
4058
4122
set dummy ranlib; ac_word=$2
4059
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4060
4124
$as_echo_n "checking for $ac_word... " >&6; }
4061
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
4125
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4062
4126
  $as_echo_n "(cached) " >&6
4063
4127
else
4064
4128
  if test -n "$ac_ct_RANLIB"; then
4069
4133
do
4070
4134
  IFS=$as_save_IFS
4071
4135
  test -z "$as_dir" && as_dir=.
4072
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4136
    for ac_exec_ext in '' $ac_executable_extensions; do
4073
4137
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4074
4138
    ac_cv_prog_ac_ct_RANLIB="ranlib"
4075
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4139
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4076
4140
    break 2
4077
4141
  fi
4078
4142
done
4079
 
done
 
4143
  done
4080
4144
IFS=$as_save_IFS
4081
4145
 
4082
4146
fi
4083
4147
fi
4084
4148
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4085
4149
if test -n "$ac_ct_RANLIB"; then
4086
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
4150
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4087
4151
$as_echo "$ac_ct_RANLIB" >&6; }
4088
4152
else
4089
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4153
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4090
4154
$as_echo "no" >&6; }
4091
4155
fi
4092
4156
 
4095
4159
  else
4096
4160
    case $cross_compiling:$ac_tool_warned in
4097
4161
yes:)
4098
 
{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4099
 
whose name does not start with the host triplet.  If you think this
4100
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4101
 
$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4102
 
whose name does not start with the host triplet.  If you think this
4103
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4162
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4163
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4104
4164
ac_tool_warned=yes ;;
4105
4165
esac
4106
4166
    RANLIB=$ac_ct_RANLIB
4121
4181
if test "$GCC" = "yes" ; then
4122
4182
 
4123
4183
 if test "$GCC" = "yes"; then
4124
 
  { $as_echo "$as_me:$LINENO: checking whether compiler accepts -fhuge-objects" >&5
 
4184
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts -fhuge-objects" >&5
4125
4185
$as_echo_n "checking whether compiler accepts -fhuge-objects... " >&6; }
4126
 
  if test "${ac_cv_test_checkforhugeobjects+set}" = set; then
 
4186
  if ${ac_cv_test_checkforhugeobjects+:} false; then :
4127
4187
  $as_echo_n "(cached) " >&6
4128
4188
else
4129
4189
 
4141
4201
 
4142
4202
fi
4143
4203
 # end of CACHE_VAL
4144
 
  { $as_echo "$as_me:$LINENO: result: ${ac_cv_test_checkforhugeobjects}" >&5
 
4204
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_test_checkforhugeobjects}" >&5
4145
4205
$as_echo "${ac_cv_test_checkforhugeobjects}" >&6; }
4146
4206
 
4147
4207
  if test "X${ac_cv_test_checkforhugeobjects}" != Xno
4165
4225
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4166
4226
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4167
4227
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4168
 
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
4228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4169
4229
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4170
4230
if test -z "$CXXCPP"; then
4171
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
 
4231
  if ${ac_cv_prog_CXXCPP+:} false; then :
4172
4232
  $as_echo_n "(cached) " >&6
4173
4233
else
4174
4234
      # Double quotes because CXXCPP needs to be expanded
4183
4243
  # <limits.h> exists even on freestanding compilers.
4184
4244
  # On the NeXT, cc -E runs the code through the compiler's parser,
4185
4245
  # not just through cpp. "Syntax error" is here to catch this case.
4186
 
  cat >conftest.$ac_ext <<_ACEOF
4187
 
/* confdefs.h.  */
4188
 
_ACEOF
4189
 
cat confdefs.h >>conftest.$ac_ext
4190
 
cat >>conftest.$ac_ext <<_ACEOF
 
4246
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4191
4247
/* end confdefs.h.  */
4192
4248
#ifdef __STDC__
4193
4249
# include <limits.h>
4196
4252
#endif
4197
4253
                     Syntax error
4198
4254
_ACEOF
4199
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4200
 
case "(($ac_try" in
4201
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4202
 
  *) ac_try_echo=$ac_try;;
4203
 
esac
4204
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4205
 
$as_echo "$ac_try_echo") >&5
4206
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4207
 
  ac_status=$?
4208
 
  grep -v '^ *+' conftest.er1 >conftest.err
4209
 
  rm -f conftest.er1
4210
 
  cat conftest.err >&5
4211
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212
 
  (exit $ac_status); } >/dev/null && {
4213
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4214
 
         test ! -s conftest.err
4215
 
       }; then
4216
 
  :
 
4255
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
4256
 
4217
4257
else
4218
 
  $as_echo "$as_me: failed program was:" >&5
4219
 
sed 's/^/| /' conftest.$ac_ext >&5
4220
 
 
4221
4258
  # Broken: fails on valid input.
4222
4259
continue
4223
4260
fi
4224
 
 
4225
 
rm -f conftest.err conftest.$ac_ext
 
4261
rm -f conftest.err conftest.i conftest.$ac_ext
4226
4262
 
4227
4263
  # OK, works on sane cases.  Now check whether nonexistent headers
4228
4264
  # can be detected and how.
4229
 
  cat >conftest.$ac_ext <<_ACEOF
4230
 
/* confdefs.h.  */
4231
 
_ACEOF
4232
 
cat confdefs.h >>conftest.$ac_ext
4233
 
cat >>conftest.$ac_ext <<_ACEOF
 
4265
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234
4266
/* end confdefs.h.  */
4235
4267
#include <ac_nonexistent.h>
4236
4268
_ACEOF
4237
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4238
 
case "(($ac_try" in
4239
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4240
 
  *) ac_try_echo=$ac_try;;
4241
 
esac
4242
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4243
 
$as_echo "$ac_try_echo") >&5
4244
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4245
 
  ac_status=$?
4246
 
  grep -v '^ *+' conftest.er1 >conftest.err
4247
 
  rm -f conftest.er1
4248
 
  cat conftest.err >&5
4249
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250
 
  (exit $ac_status); } >/dev/null && {
4251
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4252
 
         test ! -s conftest.err
4253
 
       }; then
 
4269
if ac_fn_cxx_try_cpp "$LINENO"; then :
4254
4270
  # Broken: success on invalid input.
4255
4271
continue
4256
4272
else
4257
 
  $as_echo "$as_me: failed program was:" >&5
4258
 
sed 's/^/| /' conftest.$ac_ext >&5
4259
 
 
4260
4273
  # Passes both tests.
4261
4274
ac_preproc_ok=:
4262
4275
break
4263
4276
fi
4264
 
 
4265
 
rm -f conftest.err conftest.$ac_ext
 
4277
rm -f conftest.err conftest.i conftest.$ac_ext
4266
4278
 
4267
4279
done
4268
4280
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4269
 
rm -f conftest.err conftest.$ac_ext
4270
 
if $ac_preproc_ok; then
 
4281
rm -f conftest.i conftest.err conftest.$ac_ext
 
4282
if $ac_preproc_ok; then :
4271
4283
  break
4272
4284
fi
4273
4285
 
4279
4291
else
4280
4292
  ac_cv_prog_CXXCPP=$CXXCPP
4281
4293
fi
4282
 
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
4294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4283
4295
$as_echo "$CXXCPP" >&6; }
4284
4296
ac_preproc_ok=false
4285
4297
for ac_cxx_preproc_warn_flag in '' yes
4290
4302
  # <limits.h> exists even on freestanding compilers.
4291
4303
  # On the NeXT, cc -E runs the code through the compiler's parser,
4292
4304
  # not just through cpp. "Syntax error" is here to catch this case.
4293
 
  cat >conftest.$ac_ext <<_ACEOF
4294
 
/* confdefs.h.  */
4295
 
_ACEOF
4296
 
cat confdefs.h >>conftest.$ac_ext
4297
 
cat >>conftest.$ac_ext <<_ACEOF
 
4305
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298
4306
/* end confdefs.h.  */
4299
4307
#ifdef __STDC__
4300
4308
# include <limits.h>
4303
4311
#endif
4304
4312
                     Syntax error
4305
4313
_ACEOF
4306
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4307
 
case "(($ac_try" in
4308
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4309
 
  *) ac_try_echo=$ac_try;;
4310
 
esac
4311
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4312
 
$as_echo "$ac_try_echo") >&5
4313
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4314
 
  ac_status=$?
4315
 
  grep -v '^ *+' conftest.er1 >conftest.err
4316
 
  rm -f conftest.er1
4317
 
  cat conftest.err >&5
4318
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319
 
  (exit $ac_status); } >/dev/null && {
4320
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4321
 
         test ! -s conftest.err
4322
 
       }; then
4323
 
  :
 
4314
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
4315
 
4324
4316
else
4325
 
  $as_echo "$as_me: failed program was:" >&5
4326
 
sed 's/^/| /' conftest.$ac_ext >&5
4327
 
 
4328
4317
  # Broken: fails on valid input.
4329
4318
continue
4330
4319
fi
4331
 
 
4332
 
rm -f conftest.err conftest.$ac_ext
 
4320
rm -f conftest.err conftest.i conftest.$ac_ext
4333
4321
 
4334
4322
  # OK, works on sane cases.  Now check whether nonexistent headers
4335
4323
  # can be detected and how.
4336
 
  cat >conftest.$ac_ext <<_ACEOF
4337
 
/* confdefs.h.  */
4338
 
_ACEOF
4339
 
cat confdefs.h >>conftest.$ac_ext
4340
 
cat >>conftest.$ac_ext <<_ACEOF
 
4324
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4341
4325
/* end confdefs.h.  */
4342
4326
#include <ac_nonexistent.h>
4343
4327
_ACEOF
4344
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4345
 
case "(($ac_try" in
4346
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4347
 
  *) ac_try_echo=$ac_try;;
4348
 
esac
4349
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4350
 
$as_echo "$ac_try_echo") >&5
4351
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4352
 
  ac_status=$?
4353
 
  grep -v '^ *+' conftest.er1 >conftest.err
4354
 
  rm -f conftest.er1
4355
 
  cat conftest.err >&5
4356
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357
 
  (exit $ac_status); } >/dev/null && {
4358
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4359
 
         test ! -s conftest.err
4360
 
       }; then
 
4328
if ac_fn_cxx_try_cpp "$LINENO"; then :
4361
4329
  # Broken: success on invalid input.
4362
4330
continue
4363
4331
else
4364
 
  $as_echo "$as_me: failed program was:" >&5
4365
 
sed 's/^/| /' conftest.$ac_ext >&5
4366
 
 
4367
4332
  # Passes both tests.
4368
4333
ac_preproc_ok=:
4369
4334
break
4370
4335
fi
4371
 
 
4372
 
rm -f conftest.err conftest.$ac_ext
 
4336
rm -f conftest.err conftest.i conftest.$ac_ext
4373
4337
 
4374
4338
done
4375
4339
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4376
 
rm -f conftest.err conftest.$ac_ext
4377
 
if $ac_preproc_ok; then
4378
 
  :
 
4340
rm -f conftest.i conftest.err conftest.$ac_ext
 
4341
if $ac_preproc_ok; then :
 
4342
 
4379
4343
else
4380
 
  { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4381
 
See \`config.log' for more details." >&5
4382
 
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4383
 
See \`config.log' for more details." >&2;}
4384
 
   { (exit 1); exit 1; }; }
 
4344
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4345
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4346
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
 
4347
See \`config.log' for more details" "$LINENO" 5; }
4385
4348
fi
4386
4349
 
4387
4350
ac_ext=cpp
4391
4354
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4392
4355
 
4393
4356
 
4394
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4395
4358
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4396
 
if test "${ac_cv_path_GREP+set}" = set; then
 
4359
if ${ac_cv_path_GREP+:} false; then :
4397
4360
  $as_echo_n "(cached) " >&6
4398
4361
else
4399
4362
  if test -z "$GREP"; then
4404
4367
do
4405
4368
  IFS=$as_save_IFS
4406
4369
  test -z "$as_dir" && as_dir=.
4407
 
  for ac_prog in grep ggrep; do
 
4370
    for ac_prog in grep ggrep; do
4408
4371
    for ac_exec_ext in '' $ac_executable_extensions; do
4409
4372
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4410
4373
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4424
4387
    $as_echo 'GREP' >> "conftest.nl"
4425
4388
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4426
4389
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4427
 
    ac_count=`expr $ac_count + 1`
 
4390
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4428
4391
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4429
4392
      # Best one so far, save it but keep looking for a better one
4430
4393
      ac_cv_path_GREP="$ac_path_GREP"
4439
4402
      $ac_path_GREP_found && break 3
4440
4403
    done
4441
4404
  done
4442
 
done
 
4405
  done
4443
4406
IFS=$as_save_IFS
4444
4407
  if test -z "$ac_cv_path_GREP"; then
4445
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4446
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4447
 
   { (exit 1); exit 1; }; }
 
4408
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4448
4409
  fi
4449
4410
else
4450
4411
  ac_cv_path_GREP=$GREP
4451
4412
fi
4452
4413
 
4453
4414
fi
4454
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4415
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4455
4416
$as_echo "$ac_cv_path_GREP" >&6; }
4456
4417
 GREP="$ac_cv_path_GREP"
4457
4418
 
4458
4419
 
4459
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4460
4421
$as_echo_n "checking for egrep... " >&6; }
4461
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
4422
if ${ac_cv_path_EGREP+:} false; then :
4462
4423
  $as_echo_n "(cached) " >&6
4463
4424
else
4464
4425
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4472
4433
do
4473
4434
  IFS=$as_save_IFS
4474
4435
  test -z "$as_dir" && as_dir=.
4475
 
  for ac_prog in egrep; do
 
4436
    for ac_prog in egrep; do
4476
4437
    for ac_exec_ext in '' $ac_executable_extensions; do
4477
4438
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4478
4439
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4492
4453
    $as_echo 'EGREP' >> "conftest.nl"
4493
4454
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4494
4455
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4495
 
    ac_count=`expr $ac_count + 1`
 
4456
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4496
4457
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4497
4458
      # Best one so far, save it but keep looking for a better one
4498
4459
      ac_cv_path_EGREP="$ac_path_EGREP"
4507
4468
      $ac_path_EGREP_found && break 3
4508
4469
    done
4509
4470
  done
4510
 
done
 
4471
  done
4511
4472
IFS=$as_save_IFS
4512
4473
  if test -z "$ac_cv_path_EGREP"; then
4513
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4514
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4515
 
   { (exit 1); exit 1; }; }
 
4474
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4516
4475
  fi
4517
4476
else
4518
4477
  ac_cv_path_EGREP=$EGREP
4520
4479
 
4521
4480
   fi
4522
4481
fi
4523
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4524
4483
$as_echo "$ac_cv_path_EGREP" >&6; }
4525
4484
 EGREP="$ac_cv_path_EGREP"
4526
4485
 
4527
4486
 
4528
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4529
4488
$as_echo_n "checking for ANSI C header files... " >&6; }
4530
 
if test "${ac_cv_header_stdc+set}" = set; then
 
4489
if ${ac_cv_header_stdc+:} false; then :
4531
4490
  $as_echo_n "(cached) " >&6
4532
4491
else
4533
 
  cat >conftest.$ac_ext <<_ACEOF
4534
 
/* confdefs.h.  */
4535
 
_ACEOF
4536
 
cat confdefs.h >>conftest.$ac_ext
4537
 
cat >>conftest.$ac_ext <<_ACEOF
 
4492
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4538
4493
/* end confdefs.h.  */
4539
4494
#include <stdlib.h>
4540
4495
#include <stdarg.h>
4549
4504
  return 0;
4550
4505
}
4551
4506
_ACEOF
4552
 
rm -f conftest.$ac_objext
4553
 
if { (ac_try="$ac_compile"
4554
 
case "(($ac_try" in
4555
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4556
 
  *) ac_try_echo=$ac_try;;
4557
 
esac
4558
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4559
 
$as_echo "$ac_try_echo") >&5
4560
 
  (eval "$ac_compile") 2>conftest.er1
4561
 
  ac_status=$?
4562
 
  grep -v '^ *+' conftest.er1 >conftest.err
4563
 
  rm -f conftest.er1
4564
 
  cat conftest.err >&5
4565
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566
 
  (exit $ac_status); } && {
4567
 
         test -z "$ac_cxx_werror_flag" ||
4568
 
         test ! -s conftest.err
4569
 
       } && test -s conftest.$ac_objext; then
 
4507
if ac_fn_cxx_try_compile "$LINENO"; then :
4570
4508
  ac_cv_header_stdc=yes
4571
4509
else
4572
 
  $as_echo "$as_me: failed program was:" >&5
4573
 
sed 's/^/| /' conftest.$ac_ext >&5
4574
 
 
4575
 
        ac_cv_header_stdc=no
 
4510
  ac_cv_header_stdc=no
4576
4511
fi
4577
 
 
4578
4512
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4579
4513
 
4580
4514
if test $ac_cv_header_stdc = yes; then
4581
4515
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4582
 
  cat >conftest.$ac_ext <<_ACEOF
4583
 
/* confdefs.h.  */
4584
 
_ACEOF
4585
 
cat confdefs.h >>conftest.$ac_ext
4586
 
cat >>conftest.$ac_ext <<_ACEOF
 
4516
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587
4517
/* end confdefs.h.  */
4588
4518
#include <string.h>
4589
4519
 
4590
4520
_ACEOF
4591
4521
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4592
 
  $EGREP "memchr" >/dev/null 2>&1; then
4593
 
  :
 
4522
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4523
 
4594
4524
else
4595
4525
  ac_cv_header_stdc=no
4596
4526
fi
4600
4530
 
4601
4531
if test $ac_cv_header_stdc = yes; then
4602
4532
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4603
 
  cat >conftest.$ac_ext <<_ACEOF
4604
 
/* confdefs.h.  */
4605
 
_ACEOF
4606
 
cat confdefs.h >>conftest.$ac_ext
4607
 
cat >>conftest.$ac_ext <<_ACEOF
 
4533
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4608
4534
/* end confdefs.h.  */
4609
4535
#include <stdlib.h>
4610
4536
 
4611
4537
_ACEOF
4612
4538
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4613
 
  $EGREP "free" >/dev/null 2>&1; then
4614
 
  :
 
4539
  $EGREP "free" >/dev/null 2>&1; then :
 
4540
 
4615
4541
else
4616
4542
  ac_cv_header_stdc=no
4617
4543
fi
4621
4547
 
4622
4548
if test $ac_cv_header_stdc = yes; then
4623
4549
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4624
 
  if test "$cross_compiling" = yes; then
 
4550
  if test "$cross_compiling" = yes; then :
4625
4551
  :
4626
4552
else
4627
 
  cat >conftest.$ac_ext <<_ACEOF
4628
 
/* confdefs.h.  */
4629
 
_ACEOF
4630
 
cat confdefs.h >>conftest.$ac_ext
4631
 
cat >>conftest.$ac_ext <<_ACEOF
 
4553
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632
4554
/* end confdefs.h.  */
4633
4555
#include <ctype.h>
4634
4556
#include <stdlib.h>
4655
4577
  return 0;
4656
4578
}
4657
4579
_ACEOF
4658
 
rm -f conftest$ac_exeext
4659
 
if { (ac_try="$ac_link"
4660
 
case "(($ac_try" in
4661
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4662
 
  *) ac_try_echo=$ac_try;;
4663
 
esac
4664
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4665
 
$as_echo "$ac_try_echo") >&5
4666
 
  (eval "$ac_link") 2>&5
4667
 
  ac_status=$?
4668
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4670
 
  { (case "(($ac_try" in
4671
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4672
 
  *) ac_try_echo=$ac_try;;
4673
 
esac
4674
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4675
 
$as_echo "$ac_try_echo") >&5
4676
 
  (eval "$ac_try") 2>&5
4677
 
  ac_status=$?
4678
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679
 
  (exit $ac_status); }; }; then
4680
 
  :
 
4580
if ac_fn_cxx_try_run "$LINENO"; then :
 
4581
 
4681
4582
else
4682
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
4683
 
$as_echo "$as_me: failed program was:" >&5
4684
 
sed 's/^/| /' conftest.$ac_ext >&5
4685
 
 
4686
 
( exit $ac_status )
4687
 
ac_cv_header_stdc=no
4688
 
fi
4689
 
rm -rf conftest.dSYM
4690
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4691
 
fi
4692
 
 
4693
 
 
4694
 
fi
4695
 
fi
4696
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4583
  ac_cv_header_stdc=no
 
4584
fi
 
4585
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4586
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4587
fi
 
4588
 
 
4589
fi
 
4590
fi
 
4591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4697
4592
$as_echo "$ac_cv_header_stdc" >&6; }
4698
4593
if test $ac_cv_header_stdc = yes; then
4699
4594
 
4700
 
cat >>confdefs.h <<\_ACEOF
4701
 
#define STDC_HEADERS 1
4702
 
_ACEOF
 
4595
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4703
4596
 
4704
4597
fi
4705
4598
 
4706
4599
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4707
 
 
4708
 
 
4709
 
 
4710
 
 
4711
 
 
4712
 
 
4713
 
 
4714
 
 
4715
 
 
4716
4600
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4717
4601
                  inttypes.h stdint.h unistd.h
4718
 
do
4719
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4720
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4721
 
$as_echo_n "checking for $ac_header... " >&6; }
4722
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4723
 
  $as_echo_n "(cached) " >&6
4724
 
else
4725
 
  cat >conftest.$ac_ext <<_ACEOF
4726
 
/* confdefs.h.  */
4727
 
_ACEOF
4728
 
cat confdefs.h >>conftest.$ac_ext
4729
 
cat >>conftest.$ac_ext <<_ACEOF
4730
 
/* end confdefs.h.  */
4731
 
$ac_includes_default
4732
 
 
4733
 
#include <$ac_header>
4734
 
_ACEOF
4735
 
rm -f conftest.$ac_objext
4736
 
if { (ac_try="$ac_compile"
4737
 
case "(($ac_try" in
4738
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4739
 
  *) ac_try_echo=$ac_try;;
4740
 
esac
4741
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4742
 
$as_echo "$ac_try_echo") >&5
4743
 
  (eval "$ac_compile") 2>conftest.er1
4744
 
  ac_status=$?
4745
 
  grep -v '^ *+' conftest.er1 >conftest.err
4746
 
  rm -f conftest.er1
4747
 
  cat conftest.err >&5
4748
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749
 
  (exit $ac_status); } && {
4750
 
         test -z "$ac_cxx_werror_flag" ||
4751
 
         test ! -s conftest.err
4752
 
       } && test -s conftest.$ac_objext; then
4753
 
  eval "$as_ac_Header=yes"
4754
 
else
4755
 
  $as_echo "$as_me: failed program was:" >&5
4756
 
sed 's/^/| /' conftest.$ac_ext >&5
4757
 
 
4758
 
        eval "$as_ac_Header=no"
4759
 
fi
4760
 
 
4761
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4762
 
fi
4763
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4764
 
                 $as_echo "$as_val"'`
4765
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4766
 
$as_echo "$ac_res" >&6; }
4767
 
if test `eval 'as_val=${'$as_ac_Header'}
4768
 
                 $as_echo "$as_val"'` = yes; then
 
4602
do :
 
4603
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4604
ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4605
"
 
4606
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4769
4607
  cat >>confdefs.h <<_ACEOF
4770
4608
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4771
4609
_ACEOF
4775
4613
done
4776
4614
 
4777
4615
 
4778
 
 
4779
4616
for ac_header in \
4780
4617
        iostream \
4781
4618
 
4782
 
do
4783
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4784
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4785
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4786
 
$as_echo_n "checking for $ac_header... " >&6; }
4787
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4788
 
  $as_echo_n "(cached) " >&6
4789
 
fi
4790
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4791
 
                 $as_echo "$as_val"'`
4792
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4793
 
$as_echo "$ac_res" >&6; }
4794
 
else
4795
 
  # Is the header compilable?
4796
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4797
 
$as_echo_n "checking $ac_header usability... " >&6; }
4798
 
cat >conftest.$ac_ext <<_ACEOF
4799
 
/* confdefs.h.  */
4800
 
_ACEOF
4801
 
cat confdefs.h >>conftest.$ac_ext
4802
 
cat >>conftest.$ac_ext <<_ACEOF
4803
 
/* end confdefs.h.  */
4804
 
$ac_includes_default
4805
 
#include <$ac_header>
4806
 
_ACEOF
4807
 
rm -f conftest.$ac_objext
4808
 
if { (ac_try="$ac_compile"
4809
 
case "(($ac_try" in
4810
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4811
 
  *) ac_try_echo=$ac_try;;
4812
 
esac
4813
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4814
 
$as_echo "$ac_try_echo") >&5
4815
 
  (eval "$ac_compile") 2>conftest.er1
4816
 
  ac_status=$?
4817
 
  grep -v '^ *+' conftest.er1 >conftest.err
4818
 
  rm -f conftest.er1
4819
 
  cat conftest.err >&5
4820
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821
 
  (exit $ac_status); } && {
4822
 
         test -z "$ac_cxx_werror_flag" ||
4823
 
         test ! -s conftest.err
4824
 
       } && test -s conftest.$ac_objext; then
4825
 
  ac_header_compiler=yes
4826
 
else
4827
 
  $as_echo "$as_me: failed program was:" >&5
4828
 
sed 's/^/| /' conftest.$ac_ext >&5
4829
 
 
4830
 
        ac_header_compiler=no
4831
 
fi
4832
 
 
4833
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4834
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4835
 
$as_echo "$ac_header_compiler" >&6; }
4836
 
 
4837
 
# Is the header present?
4838
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4839
 
$as_echo_n "checking $ac_header presence... " >&6; }
4840
 
cat >conftest.$ac_ext <<_ACEOF
4841
 
/* confdefs.h.  */
4842
 
_ACEOF
4843
 
cat confdefs.h >>conftest.$ac_ext
4844
 
cat >>conftest.$ac_ext <<_ACEOF
4845
 
/* end confdefs.h.  */
4846
 
#include <$ac_header>
4847
 
_ACEOF
4848
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4849
 
case "(($ac_try" in
4850
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4851
 
  *) ac_try_echo=$ac_try;;
4852
 
esac
4853
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4854
 
$as_echo "$ac_try_echo") >&5
4855
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4856
 
  ac_status=$?
4857
 
  grep -v '^ *+' conftest.er1 >conftest.err
4858
 
  rm -f conftest.er1
4859
 
  cat conftest.err >&5
4860
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861
 
  (exit $ac_status); } >/dev/null && {
4862
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4863
 
         test ! -s conftest.err
4864
 
       }; then
4865
 
  ac_header_preproc=yes
4866
 
else
4867
 
  $as_echo "$as_me: failed program was:" >&5
4868
 
sed 's/^/| /' conftest.$ac_ext >&5
4869
 
 
4870
 
  ac_header_preproc=no
4871
 
fi
4872
 
 
4873
 
rm -f conftest.err conftest.$ac_ext
4874
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4875
 
$as_echo "$ac_header_preproc" >&6; }
4876
 
 
4877
 
# So?  What about this header?
4878
 
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4879
 
  yes:no: )
4880
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4881
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4882
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4883
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4884
 
    ac_header_preproc=yes
4885
 
    ;;
4886
 
  no:yes:* )
4887
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4888
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4889
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4890
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4891
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4892
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4893
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4894
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4895
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4896
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4897
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4898
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4899
 
    ( cat <<\_ASBOX
4900
 
## ----------------------------------------- ##
4901
 
## Report this to rbtcollins@squid-cache.org ##
4902
 
## ----------------------------------------- ##
4903
 
_ASBOX
4904
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4905
 
    ;;
4906
 
esac
4907
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4908
 
$as_echo_n "checking for $ac_header... " >&6; }
4909
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4910
 
  $as_echo_n "(cached) " >&6
4911
 
else
4912
 
  eval "$as_ac_Header=\$ac_header_preproc"
4913
 
fi
4914
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4915
 
                 $as_echo "$as_val"'`
4916
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4917
 
$as_echo "$ac_res" >&6; }
4918
 
 
4919
 
fi
4920
 
if test `eval 'as_val=${'$as_ac_Header'}
4921
 
                 $as_echo "$as_val"'` = yes; then
 
4619
do :
 
4620
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4621
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
4622
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4922
4623
  cat >>confdefs.h <<_ACEOF
4923
4624
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4924
4625
_ACEOF
4929
4630
 
4930
4631
 
4931
4632
# Checks for typedefs, structures, and compiler characteristics.
4932
 
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
4633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4933
4634
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4934
 
if test "${ac_cv_c_const+set}" = set; then
 
4635
if ${ac_cv_c_const+:} false; then :
4935
4636
  $as_echo_n "(cached) " >&6
4936
4637
else
4937
 
  cat >conftest.$ac_ext <<_ACEOF
4938
 
/* confdefs.h.  */
4939
 
_ACEOF
4940
 
cat confdefs.h >>conftest.$ac_ext
4941
 
cat >>conftest.$ac_ext <<_ACEOF
 
4638
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942
4639
/* end confdefs.h.  */
4943
4640
 
4944
4641
int
4998
4695
  return 0;
4999
4696
}
5000
4697
_ACEOF
5001
 
rm -f conftest.$ac_objext
5002
 
if { (ac_try="$ac_compile"
5003
 
case "(($ac_try" in
5004
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5005
 
  *) ac_try_echo=$ac_try;;
5006
 
esac
5007
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5008
 
$as_echo "$ac_try_echo") >&5
5009
 
  (eval "$ac_compile") 2>conftest.er1
5010
 
  ac_status=$?
5011
 
  grep -v '^ *+' conftest.er1 >conftest.err
5012
 
  rm -f conftest.er1
5013
 
  cat conftest.err >&5
5014
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015
 
  (exit $ac_status); } && {
5016
 
         test -z "$ac_cxx_werror_flag" ||
5017
 
         test ! -s conftest.err
5018
 
       } && test -s conftest.$ac_objext; then
 
4698
if ac_fn_cxx_try_compile "$LINENO"; then :
5019
4699
  ac_cv_c_const=yes
5020
4700
else
5021
 
  $as_echo "$as_me: failed program was:" >&5
5022
 
sed 's/^/| /' conftest.$ac_ext >&5
5023
 
 
5024
 
        ac_cv_c_const=no
 
4701
  ac_cv_c_const=no
5025
4702
fi
5026
 
 
5027
4703
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5028
4704
fi
5029
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
4705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5030
4706
$as_echo "$ac_cv_c_const" >&6; }
5031
4707
if test $ac_cv_c_const = no; then
5032
4708
 
5033
 
cat >>confdefs.h <<\_ACEOF
5034
 
#define const /**/
5035
 
_ACEOF
5036
 
 
5037
 
fi
5038
 
 
5039
 
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
5040
 
$as_echo_n "checking for size_t... " >&6; }
5041
 
if test "${ac_cv_type_size_t+set}" = set; then
5042
 
  $as_echo_n "(cached) " >&6
5043
 
else
5044
 
  ac_cv_type_size_t=no
5045
 
cat >conftest.$ac_ext <<_ACEOF
5046
 
/* confdefs.h.  */
5047
 
_ACEOF
5048
 
cat confdefs.h >>conftest.$ac_ext
5049
 
cat >>conftest.$ac_ext <<_ACEOF
5050
 
/* end confdefs.h.  */
5051
 
$ac_includes_default
5052
 
int
5053
 
main ()
5054
 
{
5055
 
if (sizeof (size_t))
5056
 
       return 0;
5057
 
  ;
5058
 
  return 0;
5059
 
}
5060
 
_ACEOF
5061
 
rm -f conftest.$ac_objext
5062
 
if { (ac_try="$ac_compile"
5063
 
case "(($ac_try" in
5064
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5065
 
  *) ac_try_echo=$ac_try;;
5066
 
esac
5067
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5068
 
$as_echo "$ac_try_echo") >&5
5069
 
  (eval "$ac_compile") 2>conftest.er1
5070
 
  ac_status=$?
5071
 
  grep -v '^ *+' conftest.er1 >conftest.err
5072
 
  rm -f conftest.er1
5073
 
  cat conftest.err >&5
5074
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075
 
  (exit $ac_status); } && {
5076
 
         test -z "$ac_cxx_werror_flag" ||
5077
 
         test ! -s conftest.err
5078
 
       } && test -s conftest.$ac_objext; then
5079
 
  cat >conftest.$ac_ext <<_ACEOF
5080
 
/* confdefs.h.  */
5081
 
_ACEOF
5082
 
cat confdefs.h >>conftest.$ac_ext
5083
 
cat >>conftest.$ac_ext <<_ACEOF
5084
 
/* end confdefs.h.  */
5085
 
$ac_includes_default
5086
 
int
5087
 
main ()
5088
 
{
5089
 
if (sizeof ((size_t)))
5090
 
          return 0;
5091
 
  ;
5092
 
  return 0;
5093
 
}
5094
 
_ACEOF
5095
 
rm -f conftest.$ac_objext
5096
 
if { (ac_try="$ac_compile"
5097
 
case "(($ac_try" in
5098
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5099
 
  *) ac_try_echo=$ac_try;;
5100
 
esac
5101
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5102
 
$as_echo "$ac_try_echo") >&5
5103
 
  (eval "$ac_compile") 2>conftest.er1
5104
 
  ac_status=$?
5105
 
  grep -v '^ *+' conftest.er1 >conftest.err
5106
 
  rm -f conftest.er1
5107
 
  cat conftest.err >&5
5108
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109
 
  (exit $ac_status); } && {
5110
 
         test -z "$ac_cxx_werror_flag" ||
5111
 
         test ! -s conftest.err
5112
 
       } && test -s conftest.$ac_objext; then
5113
 
  :
5114
 
else
5115
 
  $as_echo "$as_me: failed program was:" >&5
5116
 
sed 's/^/| /' conftest.$ac_ext >&5
5117
 
 
5118
 
        ac_cv_type_size_t=yes
5119
 
fi
5120
 
 
5121
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5122
 
else
5123
 
  $as_echo "$as_me: failed program was:" >&5
5124
 
sed 's/^/| /' conftest.$ac_ext >&5
5125
 
 
5126
 
 
5127
 
fi
5128
 
 
5129
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5130
 
fi
5131
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5132
 
$as_echo "$ac_cv_type_size_t" >&6; }
5133
 
if test $ac_cv_type_size_t = yes; then
5134
 
  :
 
4709
$as_echo "#define const /**/" >>confdefs.h
 
4710
 
 
4711
fi
 
4712
 
 
4713
ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 
4714
if test "x$ac_cv_type_size_t" = xyes; then :
 
4715
 
5135
4716
else
5136
4717
 
5137
4718
cat >>confdefs.h <<_ACEOF
5172
4753
    case $ac_val in #(
5173
4754
    *${as_nl}*)
5174
4755
      case $ac_var in #(
5175
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5176
 
$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
4756
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
4757
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5177
4758
      esac
5178
4759
      case $ac_var in #(
5179
4760
      _ | IFS | as_nl) ;; #(
5180
4761
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5181
 
      *) $as_unset $ac_var ;;
 
4762
      *) { eval $ac_var=; unset $ac_var;} ;;
5182
4763
      esac ;;
5183
4764
    esac
5184
4765
  done
5186
4767
  (set) 2>&1 |
5187
4768
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5188
4769
    *${as_nl}ac_space=\ *)
5189
 
      # `set' does not quote correctly, so add quotes (double-quote
5190
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
4770
      # `set' does not quote correctly, so add quotes: double-quote
 
4771
      # substitution turns \\\\ into \\, and sed turns \\ into \.
5191
4772
      sed -n \
5192
4773
        "s/'/'\\\\''/g;
5193
4774
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5209
4790
     :end' >>confcache
5210
4791
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5211
4792
  if test -w "$cache_file"; then
5212
 
    test "x$cache_file" != "x/dev/null" &&
5213
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
4793
    if test "x$cache_file" != "x/dev/null"; then
 
4794
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5214
4795
$as_echo "$as_me: updating cache $cache_file" >&6;}
5215
 
    cat confcache >$cache_file
 
4796
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
4797
        cat confcache >"$cache_file"
 
4798
      else
 
4799
        case $cache_file in #(
 
4800
        */* | ?:*)
 
4801
          mv -f confcache "$cache_file"$$ &&
 
4802
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
4803
        *)
 
4804
          mv -f confcache "$cache_file" ;;
 
4805
        esac
 
4806
      fi
 
4807
    fi
5216
4808
  else
5217
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
4809
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5218
4810
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5219
4811
  fi
5220
4812
fi
5228
4820
 
5229
4821
ac_libobjs=
5230
4822
ac_ltlibobjs=
 
4823
U=
5231
4824
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5232
4825
  # 1. Remove the extension, and $U if already installed.
5233
4826
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5234
4827
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5235
4828
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5236
4829
  #    will be set to the directory where LIBOBJS objects are built.
5237
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5238
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
4830
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
4831
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5239
4832
done
5240
4833
LIBOBJS=$ac_libobjs
5241
4834
 
5243
4836
 
5244
4837
 
5245
4838
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5246
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5247
 
Usually this means the macro was only invoked conditionally." >&5
5248
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5249
 
Usually this means the macro was only invoked conditionally." >&2;}
5250
 
   { (exit 1); exit 1; }; }
 
4839
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
4840
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5251
4841
fi
5252
4842
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5253
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5254
 
Usually this means the macro was only invoked conditionally." >&5
5255
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5256
 
Usually this means the macro was only invoked conditionally." >&2;}
5257
 
   { (exit 1); exit 1; }; }
 
4843
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
4844
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5258
4845
fi
5259
4846
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5260
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5261
 
Usually this means the macro was only invoked conditionally." >&5
5262
 
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5263
 
Usually this means the macro was only invoked conditionally." >&2;}
5264
 
   { (exit 1); exit 1; }; }
5265
 
fi
 
4847
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 
4848
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
4849
fi
 
4850
 if test -n "$EXEEXT"; then
 
4851
  am__EXEEXT_TRUE=
 
4852
  am__EXEEXT_FALSE='#'
 
4853
else
 
4854
  am__EXEEXT_TRUE='#'
 
4855
  am__EXEEXT_FALSE=
 
4856
fi
 
4857
 
5266
4858
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5267
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5268
 
Usually this means the macro was only invoked conditionally." >&5
5269
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5270
 
Usually this means the macro was only invoked conditionally." >&2;}
5271
 
   { (exit 1); exit 1; }; }
 
4859
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
4860
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5272
4861
fi
5273
4862
 
5274
 
: ${CONFIG_STATUS=./config.status}
 
4863
: "${CONFIG_STATUS=./config.status}"
5275
4864
ac_write_fail=0
5276
4865
ac_clean_files_save=$ac_clean_files
5277
4866
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5278
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
4867
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5279
4868
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5280
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
4869
as_write_fail=0
 
4870
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5281
4871
#! $SHELL
5282
4872
# Generated by $as_me.
5283
4873
# Run this file to recreate the current configuration.
5287
4877
debug=false
5288
4878
ac_cs_recheck=false
5289
4879
ac_cs_silent=false
 
4880
 
5290
4881
SHELL=\${CONFIG_SHELL-$SHELL}
5291
 
_ACEOF
5292
 
 
5293
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5294
 
## --------------------- ##
5295
 
## M4sh Initialization.  ##
5296
 
## --------------------- ##
 
4882
export SHELL
 
4883
_ASEOF
 
4884
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
4885
## -------------------- ##
 
4886
## M4sh Initialization. ##
 
4887
## -------------------- ##
5297
4888
 
5298
4889
# Be more Bourne compatible
5299
4890
DUALCASE=1; export DUALCASE # for MKS sh
5300
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
4891
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5301
4892
  emulate sh
5302
4893
  NULLCMD=:
5303
4894
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5305
4896
  alias -g '${1+"$@"}'='"$@"'
5306
4897
  setopt NO_GLOB_SUBST
5307
4898
else
5308
 
  case `(set -o) 2>/dev/null` in
5309
 
  *posix*) set -o posix ;;
 
4899
  case `(set -o) 2>/dev/null` in #(
 
4900
  *posix*) :
 
4901
    set -o posix ;; #(
 
4902
  *) :
 
4903
     ;;
5310
4904
esac
5311
 
 
5312
4905
fi
5313
4906
 
5314
4907
 
5315
 
 
5316
 
 
5317
 
# PATH needs CR
5318
 
# Avoid depending upon Character Ranges.
5319
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5320
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5321
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5322
 
as_cr_digits='0123456789'
5323
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
5324
 
 
5325
4908
as_nl='
5326
4909
'
5327
4910
export as_nl
5329
4912
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5330
4913
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5331
4914
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5332
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
4915
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
4916
# but without wasting forks for bash or zsh.
 
4917
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
4918
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
4919
  as_echo='print -r --'
 
4920
  as_echo_n='print -rn --'
 
4921
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5333
4922
  as_echo='printf %s\n'
5334
4923
  as_echo_n='printf %s'
5335
4924
else
5340
4929
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5341
4930
    as_echo_n_body='eval
5342
4931
      arg=$1;
5343
 
      case $arg in
 
4932
      case $arg in #(
5344
4933
      *"$as_nl"*)
5345
4934
        expr "X$arg" : "X\\(.*\\)$as_nl";
5346
4935
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5363
4952
  }
5364
4953
fi
5365
4954
 
5366
 
# Support unset when possible.
5367
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5368
 
  as_unset=unset
5369
 
else
5370
 
  as_unset=false
5371
 
fi
5372
 
 
5373
4955
 
5374
4956
# IFS
5375
4957
# We need space, tab and new line, in precisely that order.  Quoting is
5379
4961
IFS=" ""        $as_nl"
5380
4962
 
5381
4963
# Find who we are.  Look in the path if we contain no directory separator.
5382
 
case $0 in
 
4964
as_myself=
 
4965
case $0 in #((
5383
4966
  *[\\/]* ) as_myself=$0 ;;
5384
4967
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385
4968
for as_dir in $PATH
5386
4969
do
5387
4970
  IFS=$as_save_IFS
5388
4971
  test -z "$as_dir" && as_dir=.
5389
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5390
 
done
 
4972
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
4973
  done
5391
4974
IFS=$as_save_IFS
5392
4975
 
5393
4976
     ;;
5399
4982
fi
5400
4983
if test ! -f "$as_myself"; then
5401
4984
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5402
 
  { (exit 1); exit 1; }
 
4985
  exit 1
5403
4986
fi
5404
4987
 
5405
 
# Work around bugs in pre-3.0 UWIN ksh.
5406
 
for as_var in ENV MAIL MAILPATH
5407
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
4988
# Unset variables that we do not need and which cause bugs (e.g. in
 
4989
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
4990
# suppresses any "Segmentation fault" message there.  '((' could
 
4991
# trigger a bug in pdksh 5.2.14.
 
4992
for as_var in BASH_ENV ENV MAIL MAILPATH
 
4993
do eval test x\${$as_var+set} = xset \
 
4994
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5408
4995
done
5409
4996
PS1='$ '
5410
4997
PS2='> '
5416
5003
LANGUAGE=C
5417
5004
export LANGUAGE
5418
5005
 
5419
 
# Required to use basename.
 
5006
# CDPATH.
 
5007
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
5008
 
 
5009
 
 
5010
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
5011
# ----------------------------------------
 
5012
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
5013
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
5014
# script with STATUS, using 1 if that was 0.
 
5015
as_fn_error ()
 
5016
{
 
5017
  as_status=$1; test $as_status -eq 0 && as_status=1
 
5018
  if test "$4"; then
 
5019
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
5020
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
5021
  fi
 
5022
  $as_echo "$as_me: error: $2" >&2
 
5023
  as_fn_exit $as_status
 
5024
} # as_fn_error
 
5025
 
 
5026
 
 
5027
# as_fn_set_status STATUS
 
5028
# -----------------------
 
5029
# Set $? to STATUS, without forking.
 
5030
as_fn_set_status ()
 
5031
{
 
5032
  return $1
 
5033
} # as_fn_set_status
 
5034
 
 
5035
# as_fn_exit STATUS
 
5036
# -----------------
 
5037
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
5038
as_fn_exit ()
 
5039
{
 
5040
  set +e
 
5041
  as_fn_set_status $1
 
5042
  exit $1
 
5043
} # as_fn_exit
 
5044
 
 
5045
# as_fn_unset VAR
 
5046
# ---------------
 
5047
# Portably unset VAR.
 
5048
as_fn_unset ()
 
5049
{
 
5050
  { eval $1=; unset $1;}
 
5051
}
 
5052
as_unset=as_fn_unset
 
5053
# as_fn_append VAR VALUE
 
5054
# ----------------------
 
5055
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
5056
# advantage of any shell optimizations that allow amortized linear growth over
 
5057
# repeated appends, instead of the typical quadratic growth present in naive
 
5058
# implementations.
 
5059
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
5060
  eval 'as_fn_append ()
 
5061
  {
 
5062
    eval $1+=\$2
 
5063
  }'
 
5064
else
 
5065
  as_fn_append ()
 
5066
  {
 
5067
    eval $1=\$$1\$2
 
5068
  }
 
5069
fi # as_fn_append
 
5070
 
 
5071
# as_fn_arith ARG...
 
5072
# ------------------
 
5073
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
5074
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
5075
# must be portable across $(()) and expr.
 
5076
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
5077
  eval 'as_fn_arith ()
 
5078
  {
 
5079
    as_val=$(( $* ))
 
5080
  }'
 
5081
else
 
5082
  as_fn_arith ()
 
5083
  {
 
5084
    as_val=`expr "$@" || test $? -eq 1`
 
5085
  }
 
5086
fi # as_fn_arith
 
5087
 
 
5088
 
5420
5089
if expr a : '\(a\)' >/dev/null 2>&1 &&
5421
5090
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5422
5091
  as_expr=expr
5430
5099
  as_basename=false
5431
5100
fi
5432
5101
 
 
5102
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
5103
  as_dirname=dirname
 
5104
else
 
5105
  as_dirname=false
 
5106
fi
5433
5107
 
5434
 
# Name of the executable.
5435
5108
as_me=`$as_basename -- "$0" ||
5436
5109
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5437
5110
         X"$0" : 'X\(//\)$' \| \
5451
5124
          }
5452
5125
          s/.*/./; q'`
5453
5126
 
5454
 
# CDPATH.
5455
 
$as_unset CDPATH
5456
 
 
5457
 
 
5458
 
 
5459
 
  as_lineno_1=$LINENO
5460
 
  as_lineno_2=$LINENO
5461
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
5462
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5463
 
 
5464
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5465
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
5466
 
  # line-number line after each line using $LINENO; the second 'sed'
5467
 
  # does the real work.  The second script uses 'N' to pair each
5468
 
  # line-number line with the line containing $LINENO, and appends
5469
 
  # trailing '-' during substitution so that $LINENO is not a special
5470
 
  # case at line end.
5471
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5472
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
5473
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
5474
 
  sed -n '
5475
 
    p
5476
 
    /[$]LINENO/=
5477
 
  ' <$as_myself |
5478
 
    sed '
5479
 
      s/[$]LINENO.*/&-/
5480
 
      t lineno
5481
 
      b
5482
 
      :lineno
5483
 
      N
5484
 
      :loop
5485
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5486
 
      t loop
5487
 
      s/-\n.*//
5488
 
    ' >$as_me.lineno &&
5489
 
  chmod +x "$as_me.lineno" ||
5490
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5491
 
   { (exit 1); exit 1; }; }
5492
 
 
5493
 
  # Don't try to exec as it changes $[0], causing all sort of problems
5494
 
  # (the dirname of $[0] is not the place where we might find the
5495
 
  # original and so on.  Autoconf is especially sensitive to this).
5496
 
  . "./$as_me.lineno"
5497
 
  # Exit status is that of the last command.
5498
 
  exit
5499
 
}
5500
 
 
5501
 
 
5502
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5503
 
  as_dirname=dirname
5504
 
else
5505
 
  as_dirname=false
5506
 
fi
 
5127
# Avoid depending upon Character Ranges.
 
5128
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
5129
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
5130
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
5131
as_cr_digits='0123456789'
 
5132
as_cr_alnum=$as_cr_Letters$as_cr_digits
5507
5133
 
5508
5134
ECHO_C= ECHO_N= ECHO_T=
5509
 
case `echo -n x` in
 
5135
case `echo -n x` in #(((((
5510
5136
-n*)
5511
 
  case `echo 'x\c'` in
 
5137
  case `echo 'xy\c'` in
5512
5138
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5513
 
  *)   ECHO_C='\c';;
 
5139
  xy)  ECHO_C='\c';;
 
5140
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
5141
       ECHO_T=' ';;
5514
5142
  esac;;
5515
5143
*)
5516
5144
  ECHO_N='-n';;
5517
5145
esac
5518
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
5519
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5520
 
  as_expr=expr
5521
 
else
5522
 
  as_expr=false
5523
 
fi
5524
5146
 
5525
5147
rm -f conf$$ conf$$.exe conf$$.file
5526
5148
if test -d conf$$.dir; then
5549
5171
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5550
5172
rmdir conf$$.dir 2>/dev/null
5551
5173
 
 
5174
 
 
5175
# as_fn_mkdir_p
 
5176
# -------------
 
5177
# Create "$as_dir" as a directory, including parents if necessary.
 
5178
as_fn_mkdir_p ()
 
5179
{
 
5180
 
 
5181
  case $as_dir in #(
 
5182
  -*) as_dir=./$as_dir;;
 
5183
  esac
 
5184
  test -d "$as_dir" || eval $as_mkdir_p || {
 
5185
    as_dirs=
 
5186
    while :; do
 
5187
      case $as_dir in #(
 
5188
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
5189
      *) as_qdir=$as_dir;;
 
5190
      esac
 
5191
      as_dirs="'$as_qdir' $as_dirs"
 
5192
      as_dir=`$as_dirname -- "$as_dir" ||
 
5193
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
5194
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
5195
         X"$as_dir" : 'X\(//\)$' \| \
 
5196
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
5197
$as_echo X"$as_dir" |
 
5198
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
5199
            s//\1/
 
5200
            q
 
5201
          }
 
5202
          /^X\(\/\/\)[^/].*/{
 
5203
            s//\1/
 
5204
            q
 
5205
          }
 
5206
          /^X\(\/\/\)$/{
 
5207
            s//\1/
 
5208
            q
 
5209
          }
 
5210
          /^X\(\/\).*/{
 
5211
            s//\1/
 
5212
            q
 
5213
          }
 
5214
          s/.*/./; q'`
 
5215
      test -d "$as_dir" && break
 
5216
    done
 
5217
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
5218
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
5219
 
 
5220
 
 
5221
} # as_fn_mkdir_p
5552
5222
if mkdir -p . 2>/dev/null; then
5553
 
  as_mkdir_p=:
 
5223
  as_mkdir_p='mkdir -p "$as_dir"'
5554
5224
else
5555
5225
  test -d ./-p && rmdir ./-p
5556
5226
  as_mkdir_p=false
5569
5239
      if test -d "$1"; then
5570
5240
        test -d "$1/.";
5571
5241
      else
5572
 
        case $1 in
 
5242
        case $1 in #(
5573
5243
        -*)set "./$1";;
5574
5244
        esac;
5575
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
5245
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5576
5246
        ???[sx]*):;;*)false;;esac;fi
5577
5247
    '\'' sh
5578
5248
  '
5587
5257
 
5588
5258
 
5589
5259
exec 6>&1
 
5260
## ----------------------------------- ##
 
5261
## Main body of $CONFIG_STATUS script. ##
 
5262
## ----------------------------------- ##
 
5263
_ASEOF
 
5264
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5590
5265
 
5591
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
5266
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
5267
# Save the log message, to keep $0 and so on meaningful, and to
5592
5268
# report actual input values of CONFIG_FILES etc. instead of their
5593
5269
# values after options handling.
5594
5270
ac_log="
5595
5271
This file was extended by libTrie $as_me 0.1, which was
5596
 
generated by GNU Autoconf 2.62.  Invocation command line was
 
5272
generated by GNU Autoconf 2.68.  Invocation command line was
5597
5273
 
5598
5274
  CONFIG_FILES    = $CONFIG_FILES
5599
5275
  CONFIG_HEADERS  = $CONFIG_HEADERS
5606
5282
 
5607
5283
_ACEOF
5608
5284
 
 
5285
case $ac_config_files in *"
 
5286
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
5287
esac
 
5288
 
 
5289
case $ac_config_headers in *"
 
5290
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
5291
esac
 
5292
 
 
5293
 
5609
5294
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5610
5295
# Files that config.status was made for.
5611
5296
config_files="$ac_config_files"
5616
5301
 
5617
5302
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5618
5303
ac_cs_usage="\
5619
 
\`$as_me' instantiates files from templates according to the
5620
 
current configuration.
 
5304
\`$as_me' instantiates files and other configuration actions
 
5305
from templates according to the current configuration.  Unless the files
 
5306
and actions are specified as TAGs, all are instantiated by default.
5621
5307
 
5622
 
Usage: $0 [OPTIONS] [FILE]...
 
5308
Usage: $0 [OPTION]... [TAG]...
5623
5309
 
5624
5310
  -h, --help       print this help, then exit
5625
5311
  -V, --version    print version number and configuration settings, then exit
5626
 
  -q, --quiet      do not print progress messages
 
5312
      --config     print configuration, then exit
 
5313
  -q, --quiet, --silent
 
5314
                   do not print progress messages
5627
5315
  -d, --debug      don't remove temporary files
5628
5316
      --recheck    update $as_me by reconfiguring in the same conditions
5629
 
  --file=FILE[:TEMPLATE]
 
5317
      --file=FILE[:TEMPLATE]
5630
5318
                   instantiate the configuration file FILE
5631
 
  --header=FILE[:TEMPLATE]
 
5319
      --header=FILE[:TEMPLATE]
5632
5320
                   instantiate the configuration header FILE
5633
5321
 
5634
5322
Configuration files:
5640
5328
Configuration commands:
5641
5329
$config_commands
5642
5330
 
5643
 
Report bugs to <bug-autoconf@gnu.org>."
 
5331
Report bugs to <rbtcollins@squid-cache.org>."
5644
5332
 
5645
5333
_ACEOF
5646
5334
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
5335
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5647
5336
ac_cs_version="\\
5648
5337
libTrie config.status 0.1
5649
 
configured by $0, generated by GNU Autoconf 2.62,
5650
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
5338
configured by $0, generated by GNU Autoconf 2.68,
 
5339
  with options \\"\$ac_cs_config\\"
5651
5340
 
5652
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
5341
Copyright (C) 2010 Free Software Foundation, Inc.
5653
5342
This config.status script is free software; the Free Software Foundation
5654
5343
gives unlimited permission to copy, distribute and modify it."
5655
5344
 
5667
5356
while test $# != 0
5668
5357
do
5669
5358
  case $1 in
5670
 
  --*=*)
 
5359
  --*=?*)
5671
5360
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5672
5361
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5673
5362
    ac_shift=:
5674
5363
    ;;
 
5364
  --*=)
 
5365
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
5366
    ac_optarg=
 
5367
    ac_shift=:
 
5368
    ;;
5675
5369
  *)
5676
5370
    ac_option=$1
5677
5371
    ac_optarg=$2
5685
5379
    ac_cs_recheck=: ;;
5686
5380
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5687
5381
    $as_echo "$ac_cs_version"; exit ;;
 
5382
  --config | --confi | --conf | --con | --co | --c )
 
5383
    $as_echo "$ac_cs_config"; exit ;;
5688
5384
  --debug | --debu | --deb | --de | --d | -d )
5689
5385
    debug=: ;;
5690
5386
  --file | --fil | --fi | --f )
5691
5387
    $ac_shift
5692
5388
    case $ac_optarg in
5693
5389
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
5390
    '') as_fn_error $? "missing file argument" ;;
5694
5391
    esac
5695
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
5392
    as_fn_append CONFIG_FILES " '$ac_optarg'"
5696
5393
    ac_need_defaults=false;;
5697
5394
  --header | --heade | --head | --hea )
5698
5395
    $ac_shift
5699
5396
    case $ac_optarg in
5700
5397
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5701
5398
    esac
5702
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
5399
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5703
5400
    ac_need_defaults=false;;
5704
5401
  --he | --h)
5705
5402
    # Conflict between --help and --header
5706
 
    { $as_echo "$as_me: error: ambiguous option: $1
5707
 
Try \`$0 --help' for more information." >&2
5708
 
   { (exit 1); exit 1; }; };;
 
5403
    as_fn_error $? "ambiguous option: \`$1'
 
5404
Try \`$0 --help' for more information.";;
5709
5405
  --help | --hel | -h )
5710
5406
    $as_echo "$ac_cs_usage"; exit ;;
5711
5407
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5713
5409
    ac_cs_silent=: ;;
5714
5410
 
5715
5411
  # This is an error.
5716
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
5717
 
Try \`$0 --help' for more information." >&2
5718
 
   { (exit 1); exit 1; }; } ;;
 
5412
  -*) as_fn_error $? "unrecognized option: \`$1'
 
5413
Try \`$0 --help' for more information." ;;
5719
5414
 
5720
 
  *) ac_config_targets="$ac_config_targets $1"
 
5415
  *) as_fn_append ac_config_targets " $1"
5721
5416
     ac_need_defaults=false ;;
5722
5417
 
5723
5418
  esac
5775
5470
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5776
5471
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
5777
5472
 
5778
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5779
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5780
 
   { (exit 1); exit 1; }; };;
 
5473
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5781
5474
  esac
5782
5475
done
5783
5476
 
5800
5493
# after its creation but before its name has been assigned to `$tmp'.
5801
5494
$debug ||
5802
5495
{
5803
 
  tmp=
 
5496
  tmp= ac_tmp=
5804
5497
  trap 'exit_status=$?
5805
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
5498
  : "${ac_tmp:=$tmp}"
 
5499
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5806
5500
' 0
5807
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
5501
  trap 'as_fn_exit 1' 1 2 13 15
5808
5502
}
5809
5503
# Create a (secure) tmp directory for tmp files.
5810
5504
 
5811
5505
{
5812
5506
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5813
 
  test -n "$tmp" && test -d "$tmp"
 
5507
  test -d "$tmp"
5814
5508
}  ||
5815
5509
{
5816
5510
  tmp=./conf$$-$RANDOM
5817
5511
  (umask 077 && mkdir "$tmp")
5818
 
} ||
5819
 
{
5820
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
5821
 
   { (exit 1); exit 1; }
5822
 
}
 
5512
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
5513
ac_tmp=$tmp
5823
5514
 
5824
5515
# Set up the scripts for CONFIG_FILES section.
5825
5516
# No need to generate them if there are no CONFIG_FILES.
5827
5518
if test -n "$CONFIG_FILES"; then
5828
5519
 
5829
5520
 
5830
 
ac_cr='
 
 
b"'"
 
5521
ac_cr=`echo X | tr X '\015'`
 
5522
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
5523
# But we know of no other shell where ac_cr would be empty at this
 
5524
# point, so we can use a bashism as a fallback.
 
5525
if test "x$ac_cr" = x; then
 
5526
  eval ac_cr=\$\'\\r\'
 
5527
fi
5831
5528
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5832
5529
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5833
5530
  ac_cs_awk_cr='\\r'
5835
5532
  ac_cs_awk_cr=$ac_cr
5836
5533
fi
5837
5534
 
5838
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
5535
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5839
5536
_ACEOF
5840
5537
 
5841
5538
 
5844
5541
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5845
5542
  echo "_ACEOF"
5846
5543
} >conf$$subs.sh ||
5847
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5848
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5849
 
   { (exit 1); exit 1; }; }
5850
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
5544
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
5545
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5851
5546
ac_delim='%!_!# '
5852
5547
for ac_last_try in false false false false false :; do
5853
5548
  . ./conf$$subs.sh ||
5854
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5855
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5856
 
   { (exit 1); exit 1; }; }
 
5549
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5857
5550
 
5858
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
 
5551
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
5552
  if test $ac_delim_n = $ac_delim_num; then
5859
5553
    break
5860
5554
  elif $ac_last_try; then
5861
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5862
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5863
 
   { (exit 1); exit 1; }; }
 
5555
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5864
5556
  else
5865
5557
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5866
5558
  fi
5868
5560
rm -f conf$$subs.sh
5869
5561
 
5870
5562
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5871
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
5563
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5872
5564
_ACEOF
5873
5565
sed -n '
5874
5566
h
5882
5574
t delim
5883
5575
:nl
5884
5576
h
5885
 
s/\(.\{148\}\).*/\1/
 
5577
s/\(.\{148\}\)..*/\1/
5886
5578
t more1
5887
5579
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5888
5580
p
5896
5588
t nl
5897
5589
:delim
5898
5590
h
5899
 
s/\(.\{148\}\).*/\1/
 
5591
s/\(.\{148\}\)..*/\1/
5900
5592
t more2
5901
5593
s/["\\]/\\&/g; s/^/"/; s/$/"/
5902
5594
p
5916
5608
rm -f conf$$subs.awk
5917
5609
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5918
5610
_ACAWK
5919
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
5611
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5920
5612
  for (key in S) S_is_set[key] = 1
5921
5613
  FS = ""
5922
5614
 
5948
5640
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5949
5641
else
5950
5642
  cat
5951
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5952
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5953
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
5954
 
   { (exit 1); exit 1; }; }
 
5643
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
5644
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5955
5645
_ACEOF
5956
5646
 
5957
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5958
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
5647
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
5648
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5959
5649
# trailing colons and then remove the whole line if VPATH becomes empty
5960
5650
# (actually we leave an empty line to preserve line numbers).
5961
5651
if test "x$srcdir" = x.; then
5962
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
5963
 
s/:*\$(srcdir):*/:/
5964
 
s/:*\${srcdir}:*/:/
5965
 
s/:*@srcdir@:*/:/
5966
 
s/^\([^=]*=[     ]*\):*/\1/
 
5652
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
5653
h
 
5654
s///
 
5655
s/^/:/
 
5656
s/[      ]*$/:/
 
5657
s/:\$(srcdir):/:/g
 
5658
s/:\${srcdir}:/:/g
 
5659
s/:@srcdir@:/:/g
 
5660
s/^:*//
5967
5661
s/:*$//
 
5662
x
 
5663
s/\(=[   ]*\).*/\1/
 
5664
G
 
5665
s/\n//
5968
5666
s/^[^=]*=[       ]*$//
5969
5667
}'
5970
5668
fi
5976
5674
# No need to generate them if there are no CONFIG_HEADERS.
5977
5675
# This happens for instance with `./config.status Makefile'.
5978
5676
if test -n "$CONFIG_HEADERS"; then
5979
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
5677
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5980
5678
BEGIN {
5981
5679
_ACEOF
5982
5680
 
5988
5686
# handling of long lines.
5989
5687
ac_delim='%!_!# '
5990
5688
for ac_last_try in false false :; do
5991
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5992
 
  if test -z "$ac_t"; then
 
5689
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
5690
  if test -z "$ac_tt"; then
5993
5691
    break
5994
5692
  elif $ac_last_try; then
5995
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
5996
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
5997
 
   { (exit 1); exit 1; }; }
 
5693
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5998
5694
  else
5999
5695
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6000
5696
  fi
6060
5756
  }
6061
5757
  split(mac1, mac2, "(") #)
6062
5758
  macro = mac2[1]
 
5759
  prefix = substr(line, 1, index(line, defundef) - 1)
6063
5760
  if (D_is_set[macro]) {
6064
5761
    # Preserve the white space surrounding the "#".
6065
 
    prefix = substr(line, 1, index(line, defundef) - 1)
6066
5762
    print prefix "define", macro P[macro] D[macro]
6067
5763
    next
6068
5764
  } else {
6070
5766
    # in the case of _POSIX_SOURCE, which is predefined and required
6071
5767
    # on some systems where configure will not decide to define it.
6072
5768
    if (defundef == "undef") {
6073
 
      print "/*", line, "*/"
 
5769
      print "/*", prefix defundef, macro, "*/"
6074
5770
      next
6075
5771
    }
6076
5772
  }
6079
5775
_ACAWK
6080
5776
_ACEOF
6081
5777
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6082
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6083
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6084
 
   { (exit 1); exit 1; }; }
 
5778
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6085
5779
fi # test -n "$CONFIG_HEADERS"
6086
5780
 
6087
5781
 
6094
5788
  esac
6095
5789
  case $ac_mode$ac_tag in
6096
5790
  :[FHL]*:*);;
6097
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6098
 
$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6099
 
   { (exit 1); exit 1; }; };;
 
5791
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6100
5792
  :[FH]-) ac_tag=-:-;;
6101
5793
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6102
5794
  esac
6115
5807
    for ac_f
6116
5808
    do
6117
5809
      case $ac_f in
6118
 
      -) ac_f="$tmp/stdin";;
 
5810
      -) ac_f="$ac_tmp/stdin";;
6119
5811
      *) # Look for the file first in the build tree, then in the source tree
6120
5812
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
6121
5813
         # because $ac_f cannot contain `:'.
6124
5816
           [\\/$]*) false;;
6125
5817
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6126
5818
           esac ||
6127
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6128
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6129
 
   { (exit 1); exit 1; }; };;
 
5819
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6130
5820
      esac
6131
5821
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6132
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
5822
      as_fn_append ac_file_inputs " '$ac_f'"
6133
5823
    done
6134
5824
 
6135
5825
    # Let's still pretend it is `configure' which instantiates (i.e., don't
6140
5830
        `' by configure.'
6141
5831
    if test x"$ac_file" != x-; then
6142
5832
      configure_input="$ac_file.  $configure_input"
6143
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
5833
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6144
5834
$as_echo "$as_me: creating $ac_file" >&6;}
6145
5835
    fi
6146
5836
    # Neutralize special characters interpreted by sed in replacement strings.
6152
5842
    esac
6153
5843
 
6154
5844
    case $ac_tag in
6155
 
    *:-:* | *:-) cat >"$tmp/stdin" \
6156
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6157
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6158
 
   { (exit 1); exit 1; }; } ;;
 
5845
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
5846
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6159
5847
    esac
6160
5848
    ;;
6161
5849
  esac
6183
5871
            q
6184
5872
          }
6185
5873
          s/.*/./; q'`
6186
 
  { as_dir="$ac_dir"
6187
 
  case $as_dir in #(
6188
 
  -*) as_dir=./$as_dir;;
6189
 
  esac
6190
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6191
 
    as_dirs=
6192
 
    while :; do
6193
 
      case $as_dir in #(
6194
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6195
 
      *) as_qdir=$as_dir;;
6196
 
      esac
6197
 
      as_dirs="'$as_qdir' $as_dirs"
6198
 
      as_dir=`$as_dirname -- "$as_dir" ||
6199
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6200
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
6201
 
         X"$as_dir" : 'X\(//\)$' \| \
6202
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6203
 
$as_echo X"$as_dir" |
6204
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6205
 
            s//\1/
6206
 
            q
6207
 
          }
6208
 
          /^X\(\/\/\)[^/].*/{
6209
 
            s//\1/
6210
 
            q
6211
 
          }
6212
 
          /^X\(\/\/\)$/{
6213
 
            s//\1/
6214
 
            q
6215
 
          }
6216
 
          /^X\(\/\).*/{
6217
 
            s//\1/
6218
 
            q
6219
 
          }
6220
 
          s/.*/./; q'`
6221
 
      test -d "$as_dir" && break
6222
 
    done
6223
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
6224
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6225
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6226
 
   { (exit 1); exit 1; }; }; }
 
5874
  as_dir="$ac_dir"; as_fn_mkdir_p
6227
5875
  ac_builddir=.
6228
5876
 
6229
5877
case "$ac_dir" in
6280
5928
# If the template does not know about datarootdir, expand it.
6281
5929
# FIXME: This hack should be removed a few years after 2.60.
6282
5930
ac_datarootdir_hack=; ac_datarootdir_seen=
6283
 
 
6284
5931
ac_sed_dataroot='
6285
5932
/datarootdir/ {
6286
5933
  p
6290
5937
/@docdir@/p
6291
5938
/@infodir@/p
6292
5939
/@localedir@/p
6293
 
/@mandir@/p
6294
 
'
 
5940
/@mandir@/p'
6295
5941
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6296
5942
*datarootdir*) ac_datarootdir_seen=yes;;
6297
5943
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6298
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
5944
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6299
5945
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6300
5946
_ACEOF
6301
5947
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6305
5951
  s&@infodir@&$infodir&g
6306
5952
  s&@localedir@&$localedir&g
6307
5953
  s&@mandir@&$mandir&g
6308
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
5954
  s&\\\${datarootdir}&$datarootdir&g' ;;
6309
5955
esac
6310
5956
_ACEOF
6311
5957
 
6333
5979
s&@MKDIR_P@&$ac_MKDIR_P&;t t
6334
5980
$ac_datarootdir_hack
6335
5981
"
6336
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6337
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6338
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6339
 
   { (exit 1); exit 1; }; }
 
5982
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
5983
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6340
5984
 
6341
5985
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6342
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6343
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6344
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6345
 
which seems to be undefined.  Please make sure it is defined." >&5
 
5986
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
5987
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
5988
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
5989
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
5990
which seems to be undefined.  Please make sure it is defined" >&5
6346
5991
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6347
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
5992
which seems to be undefined.  Please make sure it is defined" >&2;}
6348
5993
 
6349
 
  rm -f "$tmp/stdin"
 
5994
  rm -f "$ac_tmp/stdin"
6350
5995
  case $ac_file in
6351
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
6352
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
5996
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
5997
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6353
5998
  esac \
6354
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6355
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6356
 
   { (exit 1); exit 1; }; }
 
5999
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6357
6000
 ;;
6358
6001
  :H)
6359
6002
  #
6362
6005
  if test x"$ac_file" != x-; then
6363
6006
    {
6364
6007
      $as_echo "/* $configure_input  */" \
6365
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6366
 
    } >"$tmp/config.h" \
6367
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6368
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6369
 
   { (exit 1); exit 1; }; }
6370
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6371
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
6008
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
6009
    } >"$ac_tmp/config.h" \
 
6010
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
6011
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
6012
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6372
6013
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6373
6014
    else
6374
6015
      rm -f "$ac_file"
6375
 
      mv "$tmp/config.h" "$ac_file" \
6376
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6377
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6378
 
   { (exit 1); exit 1; }; }
 
6016
      mv "$ac_tmp/config.h" "$ac_file" \
 
6017
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6379
6018
    fi
6380
6019
  else
6381
6020
    $as_echo "/* $configure_input  */" \
6382
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6383
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6384
 
$as_echo "$as_me: error: could not create -" >&2;}
6385
 
   { (exit 1); exit 1; }; }
 
6021
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
6022
      || as_fn_error $? "could not create -" "$LINENO" 5
6386
6023
  fi
6387
6024
# Compute "$ac_file"'s index in $config_headers.
6388
6025
_am_arg="$ac_file"
6420
6057
          s/.*/./; q'`/stamp-h$_am_stamp_count
6421
6058
 ;;
6422
6059
 
6423
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
6060
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6424
6061
$as_echo "$as_me: executing $ac_file commands" >&6;}
6425
6062
 ;;
6426
6063
  esac
6427
6064
 
6428
6065
 
6429
6066
  case $ac_file$ac_mode in
6430
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6431
 
  # Strip MF so we end up with the name of the file.
6432
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
6433
 
  # Check whether this is an Automake generated Makefile or not.
6434
 
  # We used to match only the files named `Makefile.in', but
6435
 
  # some people rename them; so instead we look at the file content.
6436
 
  # Grep'ing the first line is not enough: some people post-process
6437
 
  # each Makefile.in and add a new line on top of each file to say so.
6438
 
  # Grep'ing the whole file is not good either: AIX grep has a line
6439
 
  # limit of 2048, but all sed's we know have understand at least 4000.
6440
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6441
 
    dirpart=`$as_dirname -- "$mf" ||
 
6067
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
6068
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
6069
  # are listed without --file.  Let's play safe and only enable the eval
 
6070
  # if we detect the quoting.
 
6071
  case $CONFIG_FILES in
 
6072
  *\'*) eval set x "$CONFIG_FILES" ;;
 
6073
  *)   set x $CONFIG_FILES ;;
 
6074
  esac
 
6075
  shift
 
6076
  for mf
 
6077
  do
 
6078
    # Strip MF so we end up with the name of the file.
 
6079
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
6080
    # Check whether this is an Automake generated Makefile or not.
 
6081
    # We used to match only the files named `Makefile.in', but
 
6082
    # some people rename them; so instead we look at the file content.
 
6083
    # Grep'ing the first line is not enough: some people post-process
 
6084
    # each Makefile.in and add a new line on top of each file to say so.
 
6085
    # Grep'ing the whole file is not good either: AIX grep has a line
 
6086
    # limit of 2048, but all sed's we know have understand at least 4000.
 
6087
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
6088
      dirpart=`$as_dirname -- "$mf" ||
6442
6089
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6443
6090
         X"$mf" : 'X\(//\)[^/]' \| \
6444
6091
         X"$mf" : 'X\(//\)$' \| \
6461
6108
            q
6462
6109
          }
6463
6110
          s/.*/./; q'`
6464
 
  else
6465
 
    continue
6466
 
  fi
6467
 
  # Extract the definition of DEPDIR, am__include, and am__quote
6468
 
  # from the Makefile without running `make'.
6469
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6470
 
  test -z "$DEPDIR" && continue
6471
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
6472
 
  test -z "am__include" && continue
6473
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6474
 
  # When using ansi2knr, U may be empty or an underscore; expand it
6475
 
  U=`sed -n 's/^U = //p' < "$mf"`
6476
 
  # Find all dependency output files, they are included files with
6477
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
6478
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
6479
 
  # expansion.
6480
 
  for file in `sed -n "
6481
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6482
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6483
 
    # Make sure the directory exists.
6484
 
    test -f "$dirpart/$file" && continue
6485
 
    fdir=`$as_dirname -- "$file" ||
 
6111
    else
 
6112
      continue
 
6113
    fi
 
6114
    # Extract the definition of DEPDIR, am__include, and am__quote
 
6115
    # from the Makefile without running `make'.
 
6116
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
6117
    test -z "$DEPDIR" && continue
 
6118
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
6119
    test -z "am__include" && continue
 
6120
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
6121
    # When using ansi2knr, U may be empty or an underscore; expand it
 
6122
    U=`sed -n 's/^U = //p' < "$mf"`
 
6123
    # Find all dependency output files, they are included files with
 
6124
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
6125
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
6126
    # expansion.
 
6127
    for file in `sed -n "
 
6128
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
6129
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
6130
      # Make sure the directory exists.
 
6131
      test -f "$dirpart/$file" && continue
 
6132
      fdir=`$as_dirname -- "$file" ||
6486
6133
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6487
6134
         X"$file" : 'X\(//\)[^/]' \| \
6488
6135
         X"$file" : 'X\(//\)$' \| \
6505
6152
            q
6506
6153
          }
6507
6154
          s/.*/./; q'`
6508
 
    { as_dir=$dirpart/$fdir
6509
 
  case $as_dir in #(
6510
 
  -*) as_dir=./$as_dir;;
6511
 
  esac
6512
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6513
 
    as_dirs=
6514
 
    while :; do
6515
 
      case $as_dir in #(
6516
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6517
 
      *) as_qdir=$as_dir;;
6518
 
      esac
6519
 
      as_dirs="'$as_qdir' $as_dirs"
6520
 
      as_dir=`$as_dirname -- "$as_dir" ||
6521
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6522
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
6523
 
         X"$as_dir" : 'X\(//\)$' \| \
6524
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6525
 
$as_echo X"$as_dir" |
6526
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6527
 
            s//\1/
6528
 
            q
6529
 
          }
6530
 
          /^X\(\/\/\)[^/].*/{
6531
 
            s//\1/
6532
 
            q
6533
 
          }
6534
 
          /^X\(\/\/\)$/{
6535
 
            s//\1/
6536
 
            q
6537
 
          }
6538
 
          /^X\(\/\).*/{
6539
 
            s//\1/
6540
 
            q
6541
 
          }
6542
 
          s/.*/./; q'`
6543
 
      test -d "$as_dir" && break
 
6155
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
6156
      # echo "creating $dirpart/$file"
 
6157
      echo '# dummy' > "$dirpart/$file"
6544
6158
    done
6545
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
6546
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6547
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6548
 
   { (exit 1); exit 1; }; }; }
6549
 
    # echo "creating $dirpart/$file"
6550
 
    echo '# dummy' > "$dirpart/$file"
6551
6159
  done
6552
 
done
 
6160
}
6553
6161
 ;;
6554
6162
 
6555
6163
  esac
6556
6164
done # for ac_tag
6557
6165
 
6558
6166
 
6559
 
{ (exit 0); exit 0; }
 
6167
as_fn_exit 0
6560
6168
_ACEOF
6561
 
chmod +x $CONFIG_STATUS
6562
6169
ac_clean_files=$ac_clean_files_save
6563
6170
 
6564
6171
test $ac_write_fail = 0 ||
6565
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6566
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6567
 
   { (exit 1); exit 1; }; }
 
6172
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6568
6173
 
6569
6174
 
6570
6175
# configure is writing to config.log, and then calls config.status.
6585
6190
  exec 5>>config.log
6586
6191
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6587
6192
  # would make configure fail if this is the last instruction.
6588
 
  $ac_cs_success || { (exit 1); exit 1; }
 
6193
  $ac_cs_success || as_fn_exit 1
6589
6194
fi
6590
6195
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6591
 
  { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
6592
 
$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
 
6196
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
6197
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6593
6198
fi
6594
6199