~ubuntu-branches/ubuntu/saucy/sbsigntool/saucy

« back to all changes in this revision

Viewing changes to .pc/efi_arch_ia32.patch/configure

  • Committer: Package Import Robot
  • Author(s): Steve Langasek
  • Date: 2013-08-23 21:07:17 UTC
  • Revision ID: package-import@ubuntu.com-20130823210717-rpsbissvuhtsnewn
Tags: 0.6-0ubuntu4
* debian/patches/efi_arch_ia32.patch: Use AC_CANONICAL_HOST, not uname -m,
  to determine target. Closes LP: #1066038.
* debian/patches/Align-signature-data-to-8-bytes.patch: Align signature
  data to 8 bytes.  This matches the Microsoft signing implementation,
  which enables us to use sbattach to verify the integrity of the binaries
  returned by the SysDev signing service.
* debian/patches/update_checksums.patch: make sure we update the PE checksum
  field as well, also needed for matching the Microsoft signing
  implementation.
* debian/patches/fix-signature-padding.patch: fix calculation of the
  size of our signature data, so that we don't write out extra zeroes
  when we detach a signature.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.69 for sbsigntool 0.6.
4
 
#
5
 
# Report bugs to <jeremy.kerr@canonical.com>.
6
 
#
7
 
#
8
 
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9
 
#
10
 
#
11
 
# This configure script is free software; the Free Software Foundation
12
 
# gives unlimited permission to copy, distribute and modify it.
13
 
## -------------------- ##
14
 
## M4sh Initialization. ##
15
 
## -------------------- ##
16
 
 
17
 
# Be more Bourne compatible
18
 
DUALCASE=1; export DUALCASE # for MKS sh
19
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
 
  emulate sh
21
 
  NULLCMD=:
22
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
 
  # is contrary to our usage.  Disable this feature.
24
 
  alias -g '${1+"$@"}'='"$@"'
25
 
  setopt NO_GLOB_SUBST
26
 
else
27
 
  case `(set -o) 2>/dev/null` in #(
28
 
  *posix*) :
29
 
    set -o posix ;; #(
30
 
  *) :
31
 
     ;;
32
 
esac
33
 
fi
34
 
 
35
 
 
36
 
as_nl='
37
 
'
38
 
export as_nl
39
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
 
# but without wasting forks for bash or zsh.
45
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
 
  as_echo='print -r --'
48
 
  as_echo_n='print -rn --'
49
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
 
  as_echo='printf %s\n'
51
 
  as_echo_n='printf %s'
52
 
else
53
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
 
    as_echo_n='/usr/ucb/echo -n'
56
 
  else
57
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
 
    as_echo_n_body='eval
59
 
      arg=$1;
60
 
      case $arg in #(
61
 
      *"$as_nl"*)
62
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
 
      esac;
65
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
 
    '
67
 
    export as_echo_n_body
68
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
69
 
  fi
70
 
  export as_echo_body
71
 
  as_echo='sh -c $as_echo_body as_echo'
72
 
fi
73
 
 
74
 
# The user is always right.
75
 
if test "${PATH_SEPARATOR+set}" != set; then
76
 
  PATH_SEPARATOR=:
77
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
 
      PATH_SEPARATOR=';'
80
 
  }
81
 
fi
82
 
 
83
 
 
84
 
# IFS
85
 
# We need space, tab and new line, in precisely that order.  Quoting is
86
 
# there to prevent editors from complaining about space-tab.
87
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
 
# splitting by setting IFS to empty value.)
89
 
IFS=" ""        $as_nl"
90
 
 
91
 
# Find who we are.  Look in the path if we contain no directory separator.
92
 
as_myself=
93
 
case $0 in #((
94
 
  *[\\/]* ) as_myself=$0 ;;
95
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96
 
for as_dir in $PATH
97
 
do
98
 
  IFS=$as_save_IFS
99
 
  test -z "$as_dir" && as_dir=.
100
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101
 
  done
102
 
IFS=$as_save_IFS
103
 
 
104
 
     ;;
105
 
esac
106
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
 
# in which case we are not to be found in the path.
108
 
if test "x$as_myself" = x; then
109
 
  as_myself=$0
110
 
fi
111
 
if test ! -f "$as_myself"; then
112
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113
 
  exit 1
114
 
fi
115
 
 
116
 
# Unset variables that we do not need and which cause bugs (e.g. in
117
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118
 
# suppresses any "Segmentation fault" message there.  '((' could
119
 
# trigger a bug in pdksh 5.2.14.
120
 
for as_var in BASH_ENV ENV MAIL MAILPATH
121
 
do eval test x\${$as_var+set} = xset \
122
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
 
done
124
 
PS1='$ '
125
 
PS2='> '
126
 
PS4='+ '
127
 
 
128
 
# NLS nuisances.
129
 
LC_ALL=C
130
 
export LC_ALL
131
 
LANGUAGE=C
132
 
export LANGUAGE
133
 
 
134
 
# CDPATH.
135
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
 
 
137
 
# Use a proper internal environment variable to ensure we don't fall
138
 
  # into an infinite loop, continuously re-executing ourselves.
139
 
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
 
    _as_can_reexec=no; export _as_can_reexec;
141
 
    # We cannot yet assume a decent shell, so we have to provide a
142
 
# neutralization value for shells without unset; and this also
143
 
# works around shells that cannot unset nonexistent variables.
144
 
# Preserve -v and -x to the replacement shell.
145
 
BASH_ENV=/dev/null
146
 
ENV=/dev/null
147
 
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148
 
case $- in # ((((
149
 
  *v*x* | *x*v* ) as_opts=-vx ;;
150
 
  *v* ) as_opts=-v ;;
151
 
  *x* ) as_opts=-x ;;
152
 
  * ) as_opts= ;;
153
 
esac
154
 
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
 
# Admittedly, this is quite paranoid, since all the known shells bail
156
 
# out after a failed `exec'.
157
 
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158
 
as_fn_exit 255
159
 
  fi
160
 
  # We don't want this to propagate to other subprocesses.
161
 
          { _as_can_reexec=; unset _as_can_reexec;}
162
 
if test "x$CONFIG_SHELL" = x; then
163
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164
 
  emulate sh
165
 
  NULLCMD=:
166
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167
 
  # is contrary to our usage.  Disable this feature.
168
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169
 
  setopt NO_GLOB_SUBST
170
 
else
171
 
  case \`(set -o) 2>/dev/null\` in #(
172
 
  *posix*) :
173
 
    set -o posix ;; #(
174
 
  *) :
175
 
     ;;
176
 
esac
177
 
fi
178
 
"
179
 
  as_required="as_fn_return () { (exit \$1); }
180
 
as_fn_success () { as_fn_return 0; }
181
 
as_fn_failure () { as_fn_return 1; }
182
 
as_fn_ret_success () { return 0; }
183
 
as_fn_ret_failure () { return 1; }
184
 
 
185
 
exitcode=0
186
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
 
 
192
 
else
193
 
  exitcode=1; echo positional parameters were not saved.
194
 
fi
195
 
test x\$exitcode = x0 || exit 1
196
 
test -x / || exit 1"
197
 
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198
 
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199
 
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200
 
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
 
test \$(( 1 + 1 )) = 2 || exit 1"
202
 
  if (eval "$as_required") 2>/dev/null; then :
203
 
  as_have_required=yes
204
 
else
205
 
  as_have_required=no
206
 
fi
207
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
 
 
209
 
else
210
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211
 
as_found=false
212
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213
 
do
214
 
  IFS=$as_save_IFS
215
 
  test -z "$as_dir" && as_dir=.
216
 
  as_found=:
217
 
  case $as_dir in #(
218
 
         /*)
219
 
           for as_base in sh bash ksh sh5; do
220
 
             # Try only shells that exist, to save several forks.
221
 
             as_shell=$as_dir/$as_base
222
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224
 
  CONFIG_SHELL=$as_shell as_have_required=yes
225
 
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226
 
  break 2
227
 
fi
228
 
fi
229
 
           done;;
230
 
       esac
231
 
  as_found=false
232
 
done
233
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235
 
  CONFIG_SHELL=$SHELL as_have_required=yes
236
 
fi; }
237
 
IFS=$as_save_IFS
238
 
 
239
 
 
240
 
      if test "x$CONFIG_SHELL" != x; then :
241
 
  export CONFIG_SHELL
242
 
             # We cannot yet assume a decent shell, so we have to provide a
243
 
# neutralization value for shells without unset; and this also
244
 
# works around shells that cannot unset nonexistent variables.
245
 
# Preserve -v and -x to the replacement shell.
246
 
BASH_ENV=/dev/null
247
 
ENV=/dev/null
248
 
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249
 
case $- in # ((((
250
 
  *v*x* | *x*v* ) as_opts=-vx ;;
251
 
  *v* ) as_opts=-v ;;
252
 
  *x* ) as_opts=-x ;;
253
 
  * ) as_opts= ;;
254
 
esac
255
 
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256
 
# Admittedly, this is quite paranoid, since all the known shells bail
257
 
# out after a failed `exec'.
258
 
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259
 
exit 255
260
 
fi
261
 
 
262
 
    if test x$as_have_required = xno; then :
263
 
  $as_echo "$0: This script requires a shell more modern than all"
264
 
  $as_echo "$0: the shells that I found on your system."
265
 
  if test x${ZSH_VERSION+set} = xset ; then
266
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268
 
  else
269
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
270
 
$0: jeremy.kerr@canonical.com about your system, including
271
 
$0: any error possibly output before this message. Then
272
 
$0: install a modern shell, or manually run the script
273
 
$0: under such a shell if you do have one."
274
 
  fi
275
 
  exit 1
276
 
fi
277
 
fi
278
 
fi
279
 
SHELL=${CONFIG_SHELL-/bin/sh}
280
 
export SHELL
281
 
# Unset more variables known to interfere with behavior of common tools.
282
 
CLICOLOR_FORCE= GREP_OPTIONS=
283
 
unset CLICOLOR_FORCE GREP_OPTIONS
284
 
 
285
 
## --------------------- ##
286
 
## M4sh Shell Functions. ##
287
 
## --------------------- ##
288
 
# as_fn_unset VAR
289
 
# ---------------
290
 
# Portably unset VAR.
291
 
as_fn_unset ()
292
 
{
293
 
  { eval $1=; unset $1;}
294
 
}
295
 
as_unset=as_fn_unset
296
 
 
297
 
# as_fn_set_status STATUS
298
 
# -----------------------
299
 
# Set $? to STATUS, without forking.
300
 
as_fn_set_status ()
301
 
{
302
 
  return $1
303
 
} # as_fn_set_status
304
 
 
305
 
# as_fn_exit STATUS
306
 
# -----------------
307
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308
 
as_fn_exit ()
309
 
{
310
 
  set +e
311
 
  as_fn_set_status $1
312
 
  exit $1
313
 
} # as_fn_exit
314
 
 
315
 
# as_fn_mkdir_p
316
 
# -------------
317
 
# Create "$as_dir" as a directory, including parents if necessary.
318
 
as_fn_mkdir_p ()
319
 
{
320
 
 
321
 
  case $as_dir in #(
322
 
  -*) as_dir=./$as_dir;;
323
 
  esac
324
 
  test -d "$as_dir" || eval $as_mkdir_p || {
325
 
    as_dirs=
326
 
    while :; do
327
 
      case $as_dir in #(
328
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329
 
      *) as_qdir=$as_dir;;
330
 
      esac
331
 
      as_dirs="'$as_qdir' $as_dirs"
332
 
      as_dir=`$as_dirname -- "$as_dir" ||
333
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
335
 
         X"$as_dir" : 'X\(//\)$' \| \
336
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337
 
$as_echo X"$as_dir" |
338
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339
 
            s//\1/
340
 
            q
341
 
          }
342
 
          /^X\(\/\/\)[^/].*/{
343
 
            s//\1/
344
 
            q
345
 
          }
346
 
          /^X\(\/\/\)$/{
347
 
            s//\1/
348
 
            q
349
 
          }
350
 
          /^X\(\/\).*/{
351
 
            s//\1/
352
 
            q
353
 
          }
354
 
          s/.*/./; q'`
355
 
      test -d "$as_dir" && break
356
 
    done
357
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
358
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
 
 
360
 
 
361
 
} # as_fn_mkdir_p
362
 
 
363
 
# as_fn_executable_p FILE
364
 
# -----------------------
365
 
# Test if FILE is an executable regular file.
366
 
as_fn_executable_p ()
367
 
{
368
 
  test -f "$1" && test -x "$1"
369
 
} # as_fn_executable_p
370
 
# as_fn_append VAR VALUE
371
 
# ----------------------
372
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
373
 
# advantage of any shell optimizations that allow amortized linear growth over
374
 
# repeated appends, instead of the typical quadratic growth present in naive
375
 
# implementations.
376
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377
 
  eval 'as_fn_append ()
378
 
  {
379
 
    eval $1+=\$2
380
 
  }'
381
 
else
382
 
  as_fn_append ()
383
 
  {
384
 
    eval $1=\$$1\$2
385
 
  }
386
 
fi # as_fn_append
387
 
 
388
 
# as_fn_arith ARG...
389
 
# ------------------
390
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
391
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
392
 
# must be portable across $(()) and expr.
393
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394
 
  eval 'as_fn_arith ()
395
 
  {
396
 
    as_val=$(( $* ))
397
 
  }'
398
 
else
399
 
  as_fn_arith ()
400
 
  {
401
 
    as_val=`expr "$@" || test $? -eq 1`
402
 
  }
403
 
fi # as_fn_arith
404
 
 
405
 
 
406
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
407
 
# ----------------------------------------
408
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410
 
# script with STATUS, using 1 if that was 0.
411
 
as_fn_error ()
412
 
{
413
 
  as_status=$1; test $as_status -eq 0 && as_status=1
414
 
  if test "$4"; then
415
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417
 
  fi
418
 
  $as_echo "$as_me: error: $2" >&2
419
 
  as_fn_exit $as_status
420
 
} # as_fn_error
421
 
 
422
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
423
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
424
 
  as_expr=expr
425
 
else
426
 
  as_expr=false
427
 
fi
428
 
 
429
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430
 
  as_basename=basename
431
 
else
432
 
  as_basename=false
433
 
fi
434
 
 
435
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436
 
  as_dirname=dirname
437
 
else
438
 
  as_dirname=false
439
 
fi
440
 
 
441
 
as_me=`$as_basename -- "$0" ||
442
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443
 
         X"$0" : 'X\(//\)$' \| \
444
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445
 
$as_echo X/"$0" |
446
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
447
 
            s//\1/
448
 
            q
449
 
          }
450
 
          /^X\/\(\/\/\)$/{
451
 
            s//\1/
452
 
            q
453
 
          }
454
 
          /^X\/\(\/\).*/{
455
 
            s//\1/
456
 
            q
457
 
          }
458
 
          s/.*/./; q'`
459
 
 
460
 
# Avoid depending upon Character Ranges.
461
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464
 
as_cr_digits='0123456789'
465
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
466
 
 
467
 
 
468
 
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
469
 
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
470
 
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471
 
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472
 
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
473
 
  sed -n '
474
 
    p
475
 
    /[$]LINENO/=
476
 
  ' <$as_myself |
477
 
    sed '
478
 
      s/[$]LINENO.*/&-/
479
 
      t lineno
480
 
      b
481
 
      :lineno
482
 
      N
483
 
      :loop
484
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485
 
      t loop
486
 
      s/-\n.*//
487
 
    ' >$as_me.lineno &&
488
 
  chmod +x "$as_me.lineno" ||
489
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
 
 
491
 
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492
 
  # already done that, so ensure we don't try to do so again and fall
493
 
  # in an infinite loop.  This has already happened in practice.
494
 
  _as_can_reexec=no; export _as_can_reexec
495
 
  # Don't try to exec as it changes $[0], causing all sort of problems
496
 
  # (the dirname of $[0] is not the place where we might find the
497
 
  # original and so on.  Autoconf is especially sensitive to this).
498
 
  . "./$as_me.lineno"
499
 
  # Exit status is that of the last command.
500
 
  exit
501
 
}
502
 
 
503
 
ECHO_C= ECHO_N= ECHO_T=
504
 
case `echo -n x` in #(((((
505
 
-n*)
506
 
  case `echo 'xy\c'` in
507
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
508
 
  xy)  ECHO_C='\c';;
509
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510
 
       ECHO_T=' ';;
511
 
  esac;;
512
 
*)
513
 
  ECHO_N='-n';;
514
 
esac
515
 
 
516
 
rm -f conf$$ conf$$.exe conf$$.file
517
 
if test -d conf$$.dir; then
518
 
  rm -f conf$$.dir/conf$$.file
519
 
else
520
 
  rm -f conf$$.dir
521
 
  mkdir conf$$.dir 2>/dev/null
522
 
fi
523
 
if (echo >conf$$.file) 2>/dev/null; then
524
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
525
 
    as_ln_s='ln -s'
526
 
    # ... but there are two gotchas:
527
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529
 
    # In both cases, we have to default to `cp -pR'.
530
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531
 
      as_ln_s='cp -pR'
532
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
533
 
    as_ln_s=ln
534
 
  else
535
 
    as_ln_s='cp -pR'
536
 
  fi
537
 
else
538
 
  as_ln_s='cp -pR'
539
 
fi
540
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541
 
rmdir conf$$.dir 2>/dev/null
542
 
 
543
 
if mkdir -p . 2>/dev/null; then
544
 
  as_mkdir_p='mkdir -p "$as_dir"'
545
 
else
546
 
  test -d ./-p && rmdir ./-p
547
 
  as_mkdir_p=false
548
 
fi
549
 
 
550
 
as_test_x='test -x'
551
 
as_executable_p=as_fn_executable_p
552
 
 
553
 
# Sed expression to map a string onto a valid CPP name.
554
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
 
 
556
 
# Sed expression to map a string onto a valid variable name.
557
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
 
 
559
 
 
560
 
test -n "$DJDIR" || exec 7<&0 </dev/null
561
 
exec 6>&1
562
 
 
563
 
# Name of the host.
564
 
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565
 
# so uname gets run too.
566
 
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
 
 
568
 
#
569
 
# Initializations.
570
 
#
571
 
ac_default_prefix=/usr/local
572
 
ac_clean_files=
573
 
ac_config_libobj_dir=.
574
 
LIBOBJS=
575
 
cross_compiling=no
576
 
subdirs=
577
 
MFLAGS=
578
 
MAKEFLAGS=
579
 
 
580
 
# Identity of this package.
581
 
PACKAGE_NAME='sbsigntool'
582
 
PACKAGE_TARNAME='sbsigntool'
583
 
PACKAGE_VERSION='0.6'
584
 
PACKAGE_STRING='sbsigntool 0.6'
585
 
PACKAGE_BUGREPORT='jeremy.kerr@canonical.com'
586
 
PACKAGE_URL=''
587
 
 
588
 
ac_unique_file="src/sbsign.c"
589
 
# Factoring default headers for most tests.
590
 
ac_includes_default="\
591
 
#include <stdio.h>
592
 
#ifdef HAVE_SYS_TYPES_H
593
 
# include <sys/types.h>
594
 
#endif
595
 
#ifdef HAVE_SYS_STAT_H
596
 
# include <sys/stat.h>
597
 
#endif
598
 
#ifdef STDC_HEADERS
599
 
# include <stdlib.h>
600
 
# include <stddef.h>
601
 
#else
602
 
# ifdef HAVE_STDLIB_H
603
 
#  include <stdlib.h>
604
 
# endif
605
 
#endif
606
 
#ifdef HAVE_STRING_H
607
 
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608
 
#  include <memory.h>
609
 
# endif
610
 
# include <string.h>
611
 
#endif
612
 
#ifdef HAVE_STRINGS_H
613
 
# include <strings.h>
614
 
#endif
615
 
#ifdef HAVE_INTTYPES_H
616
 
# include <inttypes.h>
617
 
#endif
618
 
#ifdef HAVE_STDINT_H
619
 
# include <stdint.h>
620
 
#endif
621
 
#ifdef HAVE_UNISTD_H
622
 
# include <unistd.h>
623
 
#endif"
624
 
 
625
 
ac_subst_vars='am__EXEEXT_FALSE
626
 
am__EXEEXT_TRUE
627
 
LTLIBOBJS
628
 
LIBOBJS
629
 
EFI_CPPFLAGS
630
 
uuid_LIBS
631
 
uuid_CFLAGS
632
 
libcrypto_LIBS
633
 
libcrypto_CFLAGS
634
 
PKG_CONFIG_LIBDIR
635
 
PKG_CONFIG_PATH
636
 
PKG_CONFIG
637
 
HELP2MAN
638
 
EGREP
639
 
GREP
640
 
OBJCOPY
641
 
RANLIB
642
 
CPP
643
 
am__fastdepCCAS_FALSE
644
 
am__fastdepCCAS_TRUE
645
 
CCASDEPMODE
646
 
CCASFLAGS
647
 
CCAS
648
 
am__fastdepCC_FALSE
649
 
am__fastdepCC_TRUE
650
 
CCDEPMODE
651
 
am__nodep
652
 
AMDEPBACKSLASH
653
 
AMDEP_FALSE
654
 
AMDEP_TRUE
655
 
am__quote
656
 
am__include
657
 
DEPDIR
658
 
OBJEXT
659
 
EXEEXT
660
 
ac_ct_CC
661
 
CPPFLAGS
662
 
LDFLAGS
663
 
CFLAGS
664
 
CC
665
 
am__untar
666
 
am__tar
667
 
AMTAR
668
 
am__leading_dot
669
 
SET_MAKE
670
 
AWK
671
 
mkdir_p
672
 
MKDIR_P
673
 
INSTALL_STRIP_PROGRAM
674
 
STRIP
675
 
install_sh
676
 
MAKEINFO
677
 
AUTOHEADER
678
 
AUTOMAKE
679
 
AUTOCONF
680
 
ACLOCAL
681
 
VERSION
682
 
PACKAGE
683
 
CYGPATH_W
684
 
am__isrc
685
 
INSTALL_DATA
686
 
INSTALL_SCRIPT
687
 
INSTALL_PROGRAM
688
 
target_alias
689
 
host_alias
690
 
build_alias
691
 
LIBS
692
 
ECHO_T
693
 
ECHO_N
694
 
ECHO_C
695
 
DEFS
696
 
mandir
697
 
localedir
698
 
libdir
699
 
psdir
700
 
pdfdir
701
 
dvidir
702
 
htmldir
703
 
infodir
704
 
docdir
705
 
oldincludedir
706
 
includedir
707
 
localstatedir
708
 
sharedstatedir
709
 
sysconfdir
710
 
datadir
711
 
datarootdir
712
 
libexecdir
713
 
sbindir
714
 
bindir
715
 
program_transform_name
716
 
prefix
717
 
exec_prefix
718
 
PACKAGE_URL
719
 
PACKAGE_BUGREPORT
720
 
PACKAGE_STRING
721
 
PACKAGE_VERSION
722
 
PACKAGE_TARNAME
723
 
PACKAGE_NAME
724
 
PATH_SEPARATOR
725
 
SHELL'
726
 
ac_subst_files=''
727
 
ac_user_opts='
728
 
enable_option_checking
729
 
enable_dependency_tracking
730
 
'
731
 
      ac_precious_vars='build_alias
732
 
host_alias
733
 
target_alias
734
 
CC
735
 
CFLAGS
736
 
LDFLAGS
737
 
LIBS
738
 
CPPFLAGS
739
 
CCAS
740
 
CCASFLAGS
741
 
CPP
742
 
PKG_CONFIG
743
 
PKG_CONFIG_PATH
744
 
PKG_CONFIG_LIBDIR
745
 
libcrypto_CFLAGS
746
 
libcrypto_LIBS
747
 
uuid_CFLAGS
748
 
uuid_LIBS'
749
 
 
750
 
 
751
 
# Initialize some variables set by options.
752
 
ac_init_help=
753
 
ac_init_version=false
754
 
ac_unrecognized_opts=
755
 
ac_unrecognized_sep=
756
 
# The variables have the same names as the options, with
757
 
# dashes changed to underlines.
758
 
cache_file=/dev/null
759
 
exec_prefix=NONE
760
 
no_create=
761
 
no_recursion=
762
 
prefix=NONE
763
 
program_prefix=NONE
764
 
program_suffix=NONE
765
 
program_transform_name=s,x,x,
766
 
silent=
767
 
site=
768
 
srcdir=
769
 
verbose=
770
 
x_includes=NONE
771
 
x_libraries=NONE
772
 
 
773
 
# Installation directory options.
774
 
# These are left unexpanded so users can "make install exec_prefix=/foo"
775
 
# and all the variables that are supposed to be based on exec_prefix
776
 
# by default will actually change.
777
 
# Use braces instead of parens because sh, perl, etc. also accept them.
778
 
# (The list follows the same order as the GNU Coding Standards.)
779
 
bindir='${exec_prefix}/bin'
780
 
sbindir='${exec_prefix}/sbin'
781
 
libexecdir='${exec_prefix}/libexec'
782
 
datarootdir='${prefix}/share'
783
 
datadir='${datarootdir}'
784
 
sysconfdir='${prefix}/etc'
785
 
sharedstatedir='${prefix}/com'
786
 
localstatedir='${prefix}/var'
787
 
includedir='${prefix}/include'
788
 
oldincludedir='/usr/include'
789
 
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
790
 
infodir='${datarootdir}/info'
791
 
htmldir='${docdir}'
792
 
dvidir='${docdir}'
793
 
pdfdir='${docdir}'
794
 
psdir='${docdir}'
795
 
libdir='${exec_prefix}/lib'
796
 
localedir='${datarootdir}/locale'
797
 
mandir='${datarootdir}/man'
798
 
 
799
 
ac_prev=
800
 
ac_dashdash=
801
 
for ac_option
802
 
do
803
 
  # If the previous option needs an argument, assign it.
804
 
  if test -n "$ac_prev"; then
805
 
    eval $ac_prev=\$ac_option
806
 
    ac_prev=
807
 
    continue
808
 
  fi
809
 
 
810
 
  case $ac_option in
811
 
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
812
 
  *=)   ac_optarg= ;;
813
 
  *)    ac_optarg=yes ;;
814
 
  esac
815
 
 
816
 
  # Accept the important Cygnus configure options, so we can diagnose typos.
817
 
 
818
 
  case $ac_dashdash$ac_option in
819
 
  --)
820
 
    ac_dashdash=yes ;;
821
 
 
822
 
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
823
 
    ac_prev=bindir ;;
824
 
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
825
 
    bindir=$ac_optarg ;;
826
 
 
827
 
  -build | --build | --buil | --bui | --bu)
828
 
    ac_prev=build_alias ;;
829
 
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
830
 
    build_alias=$ac_optarg ;;
831
 
 
832
 
  -cache-file | --cache-file | --cache-fil | --cache-fi \
833
 
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
834
 
    ac_prev=cache_file ;;
835
 
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
836
 
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
837
 
    cache_file=$ac_optarg ;;
838
 
 
839
 
  --config-cache | -C)
840
 
    cache_file=config.cache ;;
841
 
 
842
 
  -datadir | --datadir | --datadi | --datad)
843
 
    ac_prev=datadir ;;
844
 
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
845
 
    datadir=$ac_optarg ;;
846
 
 
847
 
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
848
 
  | --dataroo | --dataro | --datar)
849
 
    ac_prev=datarootdir ;;
850
 
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
851
 
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
852
 
    datarootdir=$ac_optarg ;;
853
 
 
854
 
  -disable-* | --disable-*)
855
 
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
856
 
    # Reject names that are not valid shell variable names.
857
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858
 
      as_fn_error $? "invalid feature name: $ac_useropt"
859
 
    ac_useropt_orig=$ac_useropt
860
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861
 
    case $ac_user_opts in
862
 
      *"
863
 
"enable_$ac_useropt"
864
 
"*) ;;
865
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
866
 
         ac_unrecognized_sep=', ';;
867
 
    esac
868
 
    eval enable_$ac_useropt=no ;;
869
 
 
870
 
  -docdir | --docdir | --docdi | --doc | --do)
871
 
    ac_prev=docdir ;;
872
 
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
873
 
    docdir=$ac_optarg ;;
874
 
 
875
 
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
876
 
    ac_prev=dvidir ;;
877
 
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
878
 
    dvidir=$ac_optarg ;;
879
 
 
880
 
  -enable-* | --enable-*)
881
 
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
882
 
    # Reject names that are not valid shell variable names.
883
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884
 
      as_fn_error $? "invalid feature name: $ac_useropt"
885
 
    ac_useropt_orig=$ac_useropt
886
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887
 
    case $ac_user_opts in
888
 
      *"
889
 
"enable_$ac_useropt"
890
 
"*) ;;
891
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
892
 
         ac_unrecognized_sep=', ';;
893
 
    esac
894
 
    eval enable_$ac_useropt=\$ac_optarg ;;
895
 
 
896
 
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
897
 
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
898
 
  | --exec | --exe | --ex)
899
 
    ac_prev=exec_prefix ;;
900
 
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
901
 
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
902
 
  | --exec=* | --exe=* | --ex=*)
903
 
    exec_prefix=$ac_optarg ;;
904
 
 
905
 
  -gas | --gas | --ga | --g)
906
 
    # Obsolete; use --with-gas.
907
 
    with_gas=yes ;;
908
 
 
909
 
  -help | --help | --hel | --he | -h)
910
 
    ac_init_help=long ;;
911
 
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
912
 
    ac_init_help=recursive ;;
913
 
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
914
 
    ac_init_help=short ;;
915
 
 
916
 
  -host | --host | --hos | --ho)
917
 
    ac_prev=host_alias ;;
918
 
  -host=* | --host=* | --hos=* | --ho=*)
919
 
    host_alias=$ac_optarg ;;
920
 
 
921
 
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
922
 
    ac_prev=htmldir ;;
923
 
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
924
 
  | --ht=*)
925
 
    htmldir=$ac_optarg ;;
926
 
 
927
 
  -includedir | --includedir | --includedi | --included | --include \
928
 
  | --includ | --inclu | --incl | --inc)
929
 
    ac_prev=includedir ;;
930
 
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
931
 
  | --includ=* | --inclu=* | --incl=* | --inc=*)
932
 
    includedir=$ac_optarg ;;
933
 
 
934
 
  -infodir | --infodir | --infodi | --infod | --info | --inf)
935
 
    ac_prev=infodir ;;
936
 
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
937
 
    infodir=$ac_optarg ;;
938
 
 
939
 
  -libdir | --libdir | --libdi | --libd)
940
 
    ac_prev=libdir ;;
941
 
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
942
 
    libdir=$ac_optarg ;;
943
 
 
944
 
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
945
 
  | --libexe | --libex | --libe)
946
 
    ac_prev=libexecdir ;;
947
 
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
948
 
  | --libexe=* | --libex=* | --libe=*)
949
 
    libexecdir=$ac_optarg ;;
950
 
 
951
 
  -localedir | --localedir | --localedi | --localed | --locale)
952
 
    ac_prev=localedir ;;
953
 
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
954
 
    localedir=$ac_optarg ;;
955
 
 
956
 
  -localstatedir | --localstatedir | --localstatedi | --localstated \
957
 
  | --localstate | --localstat | --localsta | --localst | --locals)
958
 
    ac_prev=localstatedir ;;
959
 
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
960
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
961
 
    localstatedir=$ac_optarg ;;
962
 
 
963
 
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
964
 
    ac_prev=mandir ;;
965
 
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
966
 
    mandir=$ac_optarg ;;
967
 
 
968
 
  -nfp | --nfp | --nf)
969
 
    # Obsolete; use --without-fp.
970
 
    with_fp=no ;;
971
 
 
972
 
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
973
 
  | --no-cr | --no-c | -n)
974
 
    no_create=yes ;;
975
 
 
976
 
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
977
 
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
978
 
    no_recursion=yes ;;
979
 
 
980
 
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
981
 
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
982
 
  | --oldin | --oldi | --old | --ol | --o)
983
 
    ac_prev=oldincludedir ;;
984
 
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
985
 
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
986
 
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
987
 
    oldincludedir=$ac_optarg ;;
988
 
 
989
 
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
990
 
    ac_prev=prefix ;;
991
 
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
992
 
    prefix=$ac_optarg ;;
993
 
 
994
 
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
995
 
  | --program-pre | --program-pr | --program-p)
996
 
    ac_prev=program_prefix ;;
997
 
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
998
 
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
999
 
    program_prefix=$ac_optarg ;;
1000
 
 
1001
 
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1002
 
  | --program-suf | --program-su | --program-s)
1003
 
    ac_prev=program_suffix ;;
1004
 
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1005
 
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1006
 
    program_suffix=$ac_optarg ;;
1007
 
 
1008
 
  -program-transform-name | --program-transform-name \
1009
 
  | --program-transform-nam | --program-transform-na \
1010
 
  | --program-transform-n | --program-transform- \
1011
 
  | --program-transform | --program-transfor \
1012
 
  | --program-transfo | --program-transf \
1013
 
  | --program-trans | --program-tran \
1014
 
  | --progr-tra | --program-tr | --program-t)
1015
 
    ac_prev=program_transform_name ;;
1016
 
  -program-transform-name=* | --program-transform-name=* \
1017
 
  | --program-transform-nam=* | --program-transform-na=* \
1018
 
  | --program-transform-n=* | --program-transform-=* \
1019
 
  | --program-transform=* | --program-transfor=* \
1020
 
  | --program-transfo=* | --program-transf=* \
1021
 
  | --program-trans=* | --program-tran=* \
1022
 
  | --progr-tra=* | --program-tr=* | --program-t=*)
1023
 
    program_transform_name=$ac_optarg ;;
1024
 
 
1025
 
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1026
 
    ac_prev=pdfdir ;;
1027
 
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1028
 
    pdfdir=$ac_optarg ;;
1029
 
 
1030
 
  -psdir | --psdir | --psdi | --psd | --ps)
1031
 
    ac_prev=psdir ;;
1032
 
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1033
 
    psdir=$ac_optarg ;;
1034
 
 
1035
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1036
 
  | -silent | --silent | --silen | --sile | --sil)
1037
 
    silent=yes ;;
1038
 
 
1039
 
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1040
 
    ac_prev=sbindir ;;
1041
 
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1042
 
  | --sbi=* | --sb=*)
1043
 
    sbindir=$ac_optarg ;;
1044
 
 
1045
 
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1046
 
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1047
 
  | --sharedst | --shareds | --shared | --share | --shar \
1048
 
  | --sha | --sh)
1049
 
    ac_prev=sharedstatedir ;;
1050
 
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1051
 
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1052
 
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1053
 
  | --sha=* | --sh=*)
1054
 
    sharedstatedir=$ac_optarg ;;
1055
 
 
1056
 
  -site | --site | --sit)
1057
 
    ac_prev=site ;;
1058
 
  -site=* | --site=* | --sit=*)
1059
 
    site=$ac_optarg ;;
1060
 
 
1061
 
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1062
 
    ac_prev=srcdir ;;
1063
 
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1064
 
    srcdir=$ac_optarg ;;
1065
 
 
1066
 
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1067
 
  | --syscon | --sysco | --sysc | --sys | --sy)
1068
 
    ac_prev=sysconfdir ;;
1069
 
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1070
 
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1071
 
    sysconfdir=$ac_optarg ;;
1072
 
 
1073
 
  -target | --target | --targe | --targ | --tar | --ta | --t)
1074
 
    ac_prev=target_alias ;;
1075
 
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1076
 
    target_alias=$ac_optarg ;;
1077
 
 
1078
 
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1079
 
    verbose=yes ;;
1080
 
 
1081
 
  -version | --version | --versio | --versi | --vers | -V)
1082
 
    ac_init_version=: ;;
1083
 
 
1084
 
  -with-* | --with-*)
1085
 
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1086
 
    # Reject names that are not valid shell variable names.
1087
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1088
 
      as_fn_error $? "invalid package name: $ac_useropt"
1089
 
    ac_useropt_orig=$ac_useropt
1090
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1091
 
    case $ac_user_opts in
1092
 
      *"
1093
 
"with_$ac_useropt"
1094
 
"*) ;;
1095
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1096
 
         ac_unrecognized_sep=', ';;
1097
 
    esac
1098
 
    eval with_$ac_useropt=\$ac_optarg ;;
1099
 
 
1100
 
  -without-* | --without-*)
1101
 
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1102
 
    # Reject names that are not valid shell variable names.
1103
 
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1104
 
      as_fn_error $? "invalid package name: $ac_useropt"
1105
 
    ac_useropt_orig=$ac_useropt
1106
 
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107
 
    case $ac_user_opts in
1108
 
      *"
1109
 
"with_$ac_useropt"
1110
 
"*) ;;
1111
 
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1112
 
         ac_unrecognized_sep=', ';;
1113
 
    esac
1114
 
    eval with_$ac_useropt=no ;;
1115
 
 
1116
 
  --x)
1117
 
    # Obsolete; use --with-x.
1118
 
    with_x=yes ;;
1119
 
 
1120
 
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1121
 
  | --x-incl | --x-inc | --x-in | --x-i)
1122
 
    ac_prev=x_includes ;;
1123
 
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1124
 
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1125
 
    x_includes=$ac_optarg ;;
1126
 
 
1127
 
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1128
 
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1129
 
    ac_prev=x_libraries ;;
1130
 
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1131
 
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1132
 
    x_libraries=$ac_optarg ;;
1133
 
 
1134
 
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1135
 
Try \`$0 --help' for more information"
1136
 
    ;;
1137
 
 
1138
 
  *=*)
1139
 
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1140
 
    # Reject names that are not valid shell variable names.
1141
 
    case $ac_envvar in #(
1142
 
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1143
 
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1144
 
    esac
1145
 
    eval $ac_envvar=\$ac_optarg
1146
 
    export $ac_envvar ;;
1147
 
 
1148
 
  *)
1149
 
    # FIXME: should be removed in autoconf 3.0.
1150
 
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1151
 
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1152
 
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1153
 
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1154
 
    ;;
1155
 
 
1156
 
  esac
1157
 
done
1158
 
 
1159
 
if test -n "$ac_prev"; then
1160
 
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1161
 
  as_fn_error $? "missing argument to $ac_option"
1162
 
fi
1163
 
 
1164
 
if test -n "$ac_unrecognized_opts"; then
1165
 
  case $enable_option_checking in
1166
 
    no) ;;
1167
 
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1168
 
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1169
 
  esac
1170
 
fi
1171
 
 
1172
 
# Check all directory arguments for consistency.
1173
 
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1174
 
                datadir sysconfdir sharedstatedir localstatedir includedir \
1175
 
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1176
 
                libdir localedir mandir
1177
 
do
1178
 
  eval ac_val=\$$ac_var
1179
 
  # Remove trailing slashes.
1180
 
  case $ac_val in
1181
 
    */ )
1182
 
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1183
 
      eval $ac_var=\$ac_val;;
1184
 
  esac
1185
 
  # Be sure to have absolute directory names.
1186
 
  case $ac_val in
1187
 
    [\\/$]* | ?:[\\/]* )  continue;;
1188
 
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1189
 
  esac
1190
 
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1191
 
done
1192
 
 
1193
 
# There might be people who depend on the old broken behavior: `$host'
1194
 
# used to hold the argument of --host etc.
1195
 
# FIXME: To remove some day.
1196
 
build=$build_alias
1197
 
host=$host_alias
1198
 
target=$target_alias
1199
 
 
1200
 
# FIXME: To remove some day.
1201
 
if test "x$host_alias" != x; then
1202
 
  if test "x$build_alias" = x; then
1203
 
    cross_compiling=maybe
1204
 
  elif test "x$build_alias" != "x$host_alias"; then
1205
 
    cross_compiling=yes
1206
 
  fi
1207
 
fi
1208
 
 
1209
 
ac_tool_prefix=
1210
 
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1211
 
 
1212
 
test "$silent" = yes && exec 6>/dev/null
1213
 
 
1214
 
 
1215
 
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1216
 
ac_ls_di=`ls -di .` &&
1217
 
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1218
 
  as_fn_error $? "working directory cannot be determined"
1219
 
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220
 
  as_fn_error $? "pwd does not report name of working directory"
1221
 
 
1222
 
 
1223
 
# Find the source files, if location was not specified.
1224
 
if test -z "$srcdir"; then
1225
 
  ac_srcdir_defaulted=yes
1226
 
  # Try the directory containing this script, then the parent directory.
1227
 
  ac_confdir=`$as_dirname -- "$as_myself" ||
1228
 
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1229
 
         X"$as_myself" : 'X\(//\)[^/]' \| \
1230
 
         X"$as_myself" : 'X\(//\)$' \| \
1231
 
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1232
 
$as_echo X"$as_myself" |
1233
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1234
 
            s//\1/
1235
 
            q
1236
 
          }
1237
 
          /^X\(\/\/\)[^/].*/{
1238
 
            s//\1/
1239
 
            q
1240
 
          }
1241
 
          /^X\(\/\/\)$/{
1242
 
            s//\1/
1243
 
            q
1244
 
          }
1245
 
          /^X\(\/\).*/{
1246
 
            s//\1/
1247
 
            q
1248
 
          }
1249
 
          s/.*/./; q'`
1250
 
  srcdir=$ac_confdir
1251
 
  if test ! -r "$srcdir/$ac_unique_file"; then
1252
 
    srcdir=..
1253
 
  fi
1254
 
else
1255
 
  ac_srcdir_defaulted=no
1256
 
fi
1257
 
if test ! -r "$srcdir/$ac_unique_file"; then
1258
 
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1259
 
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1260
 
fi
1261
 
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1262
 
ac_abs_confdir=`(
1263
 
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1264
 
        pwd)`
1265
 
# When building in place, set srcdir=.
1266
 
if test "$ac_abs_confdir" = "$ac_pwd"; then
1267
 
  srcdir=.
1268
 
fi
1269
 
# Remove unnecessary trailing slashes from srcdir.
1270
 
# Double slashes in file names in object file debugging info
1271
 
# mess up M-x gdb in Emacs.
1272
 
case $srcdir in
1273
 
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1274
 
esac
1275
 
for ac_var in $ac_precious_vars; do
1276
 
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1277
 
  eval ac_env_${ac_var}_value=\$${ac_var}
1278
 
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1279
 
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1280
 
done
1281
 
 
1282
 
#
1283
 
# Report the --help message.
1284
 
#
1285
 
if test "$ac_init_help" = "long"; then
1286
 
  # Omit some internal or obsolete options to make the list less imposing.
1287
 
  # This message is too long to be a string in the A/UX 3.1 sh.
1288
 
  cat <<_ACEOF
1289
 
\`configure' configures sbsigntool 0.6 to adapt to many kinds of systems.
1290
 
 
1291
 
Usage: $0 [OPTION]... [VAR=VALUE]...
1292
 
 
1293
 
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1294
 
VAR=VALUE.  See below for descriptions of some of the useful variables.
1295
 
 
1296
 
Defaults for the options are specified in brackets.
1297
 
 
1298
 
Configuration:
1299
 
  -h, --help              display this help and exit
1300
 
      --help=short        display options specific to this package
1301
 
      --help=recursive    display the short help of all the included packages
1302
 
  -V, --version           display version information and exit
1303
 
  -q, --quiet, --silent   do not print \`checking ...' messages
1304
 
      --cache-file=FILE   cache test results in FILE [disabled]
1305
 
  -C, --config-cache      alias for \`--cache-file=config.cache'
1306
 
  -n, --no-create         do not create output files
1307
 
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1308
 
 
1309
 
Installation directories:
1310
 
  --prefix=PREFIX         install architecture-independent files in PREFIX
1311
 
                          [$ac_default_prefix]
1312
 
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1313
 
                          [PREFIX]
1314
 
 
1315
 
By default, \`make install' will install all the files in
1316
 
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1317
 
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1318
 
for instance \`--prefix=\$HOME'.
1319
 
 
1320
 
For better control, use the options below.
1321
 
 
1322
 
Fine tuning of the installation directories:
1323
 
  --bindir=DIR            user executables [EPREFIX/bin]
1324
 
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1325
 
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1326
 
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1327
 
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1328
 
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1329
 
  --libdir=DIR            object code libraries [EPREFIX/lib]
1330
 
  --includedir=DIR        C header files [PREFIX/include]
1331
 
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1332
 
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1333
 
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1334
 
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1335
 
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1336
 
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1337
 
  --docdir=DIR            documentation root [DATAROOTDIR/doc/sbsigntool]
1338
 
  --htmldir=DIR           html documentation [DOCDIR]
1339
 
  --dvidir=DIR            dvi documentation [DOCDIR]
1340
 
  --pdfdir=DIR            pdf documentation [DOCDIR]
1341
 
  --psdir=DIR             ps documentation [DOCDIR]
1342
 
_ACEOF
1343
 
 
1344
 
  cat <<\_ACEOF
1345
 
 
1346
 
Program names:
1347
 
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1348
 
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1349
 
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1350
 
_ACEOF
1351
 
fi
1352
 
 
1353
 
if test -n "$ac_init_help"; then
1354
 
  case $ac_init_help in
1355
 
     short | recursive ) echo "Configuration of sbsigntool 0.6:";;
1356
 
   esac
1357
 
  cat <<\_ACEOF
1358
 
 
1359
 
Optional Features:
1360
 
  --disable-option-checking  ignore unrecognized --enable/--with options
1361
 
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1362
 
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1363
 
  --disable-dependency-tracking  speeds up one-time build
1364
 
  --enable-dependency-tracking   do not reject slow dependency extractors
1365
 
 
1366
 
Some influential environment variables:
1367
 
  CC          C compiler command
1368
 
  CFLAGS      C compiler flags
1369
 
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1370
 
              nonstandard directory <lib dir>
1371
 
  LIBS        libraries to pass to the linker, e.g. -l<library>
1372
 
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1373
 
              you have headers in a nonstandard directory <include dir>
1374
 
  CCAS        assembler compiler command (defaults to CC)
1375
 
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1376
 
  CPP         C preprocessor
1377
 
  PKG_CONFIG  path to pkg-config utility
1378
 
  PKG_CONFIG_PATH
1379
 
              directories to add to pkg-config's search path
1380
 
  PKG_CONFIG_LIBDIR
1381
 
              path overriding pkg-config's built-in search path
1382
 
  libcrypto_CFLAGS
1383
 
              C compiler flags for libcrypto, overriding pkg-config
1384
 
  libcrypto_LIBS
1385
 
              linker flags for libcrypto, overriding pkg-config
1386
 
  uuid_CFLAGS C compiler flags for uuid, overriding pkg-config
1387
 
  uuid_LIBS   linker flags for uuid, overriding pkg-config
1388
 
 
1389
 
Use these variables to override the choices made by `configure' or to help
1390
 
it to find libraries and programs with nonstandard names/locations.
1391
 
 
1392
 
Report bugs to <jeremy.kerr@canonical.com>.
1393
 
_ACEOF
1394
 
ac_status=$?
1395
 
fi
1396
 
 
1397
 
if test "$ac_init_help" = "recursive"; then
1398
 
  # If there are subdirs, report their specific --help.
1399
 
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1400
 
    test -d "$ac_dir" ||
1401
 
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1402
 
      continue
1403
 
    ac_builddir=.
1404
 
 
1405
 
case "$ac_dir" in
1406
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1407
 
*)
1408
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1409
 
  # A ".." for each directory in $ac_dir_suffix.
1410
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1411
 
  case $ac_top_builddir_sub in
1412
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1414
 
  esac ;;
1415
 
esac
1416
 
ac_abs_top_builddir=$ac_pwd
1417
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1418
 
# for backward compatibility:
1419
 
ac_top_builddir=$ac_top_build_prefix
1420
 
 
1421
 
case $srcdir in
1422
 
  .)  # We are building in place.
1423
 
    ac_srcdir=.
1424
 
    ac_top_srcdir=$ac_top_builddir_sub
1425
 
    ac_abs_top_srcdir=$ac_pwd ;;
1426
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
1427
 
    ac_srcdir=$srcdir$ac_dir_suffix;
1428
 
    ac_top_srcdir=$srcdir
1429
 
    ac_abs_top_srcdir=$srcdir ;;
1430
 
  *) # Relative name.
1431
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1432
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1433
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1434
 
esac
1435
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1436
 
 
1437
 
    cd "$ac_dir" || { ac_status=$?; continue; }
1438
 
    # Check for guested configure.
1439
 
    if test -f "$ac_srcdir/configure.gnu"; then
1440
 
      echo &&
1441
 
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1442
 
    elif test -f "$ac_srcdir/configure"; then
1443
 
      echo &&
1444
 
      $SHELL "$ac_srcdir/configure" --help=recursive
1445
 
    else
1446
 
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1447
 
    fi || ac_status=$?
1448
 
    cd "$ac_pwd" || { ac_status=$?; break; }
1449
 
  done
1450
 
fi
1451
 
 
1452
 
test -n "$ac_init_help" && exit $ac_status
1453
 
if $ac_init_version; then
1454
 
  cat <<\_ACEOF
1455
 
sbsigntool configure 0.6
1456
 
generated by GNU Autoconf 2.69
1457
 
 
1458
 
Copyright (C) 2012 Free Software Foundation, Inc.
1459
 
This configure script is free software; the Free Software Foundation
1460
 
gives unlimited permission to copy, distribute and modify it.
1461
 
_ACEOF
1462
 
  exit
1463
 
fi
1464
 
 
1465
 
## ------------------------ ##
1466
 
## Autoconf initialization. ##
1467
 
## ------------------------ ##
1468
 
 
1469
 
# ac_fn_c_try_compile LINENO
1470
 
# --------------------------
1471
 
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1472
 
ac_fn_c_try_compile ()
1473
 
{
1474
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1475
 
  rm -f conftest.$ac_objext
1476
 
  if { { ac_try="$ac_compile"
1477
 
case "(($ac_try" in
1478
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1479
 
  *) ac_try_echo=$ac_try;;
1480
 
esac
1481
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1482
 
$as_echo "$ac_try_echo"; } >&5
1483
 
  (eval "$ac_compile") 2>conftest.err
1484
 
  ac_status=$?
1485
 
  if test -s conftest.err; then
1486
 
    grep -v '^ *+' conftest.err >conftest.er1
1487
 
    cat conftest.er1 >&5
1488
 
    mv -f conftest.er1 conftest.err
1489
 
  fi
1490
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1491
 
  test $ac_status = 0; } && {
1492
 
         test -z "$ac_c_werror_flag" ||
1493
 
         test ! -s conftest.err
1494
 
       } && test -s conftest.$ac_objext; then :
1495
 
  ac_retval=0
1496
 
else
1497
 
  $as_echo "$as_me: failed program was:" >&5
1498
 
sed 's/^/| /' conftest.$ac_ext >&5
1499
 
 
1500
 
        ac_retval=1
1501
 
fi
1502
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1503
 
  as_fn_set_status $ac_retval
1504
 
 
1505
 
} # ac_fn_c_try_compile
1506
 
 
1507
 
# ac_fn_c_try_cpp LINENO
1508
 
# ----------------------
1509
 
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1510
 
ac_fn_c_try_cpp ()
1511
 
{
1512
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1513
 
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1514
 
case "(($ac_try" in
1515
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1516
 
  *) ac_try_echo=$ac_try;;
1517
 
esac
1518
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1519
 
$as_echo "$ac_try_echo"; } >&5
1520
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1521
 
  ac_status=$?
1522
 
  if test -s conftest.err; then
1523
 
    grep -v '^ *+' conftest.err >conftest.er1
1524
 
    cat conftest.er1 >&5
1525
 
    mv -f conftest.er1 conftest.err
1526
 
  fi
1527
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1528
 
  test $ac_status = 0; } > conftest.i && {
1529
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1530
 
         test ! -s conftest.err
1531
 
       }; then :
1532
 
  ac_retval=0
1533
 
else
1534
 
  $as_echo "$as_me: failed program was:" >&5
1535
 
sed 's/^/| /' conftest.$ac_ext >&5
1536
 
 
1537
 
    ac_retval=1
1538
 
fi
1539
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1540
 
  as_fn_set_status $ac_retval
1541
 
 
1542
 
} # ac_fn_c_try_cpp
1543
 
 
1544
 
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1545
 
# -------------------------------------------------------
1546
 
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1547
 
# the include files in INCLUDES and setting the cache variable VAR
1548
 
# accordingly.
1549
 
ac_fn_c_check_header_mongrel ()
1550
 
{
1551
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1552
 
  if eval \${$3+:} false; then :
1553
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1554
 
$as_echo_n "checking for $2... " >&6; }
1555
 
if eval \${$3+:} false; then :
1556
 
  $as_echo_n "(cached) " >&6
1557
 
fi
1558
 
eval ac_res=\$$3
1559
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1560
 
$as_echo "$ac_res" >&6; }
1561
 
else
1562
 
  # Is the header compilable?
1563
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1564
 
$as_echo_n "checking $2 usability... " >&6; }
1565
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1566
 
/* end confdefs.h.  */
1567
 
$4
1568
 
#include <$2>
1569
 
_ACEOF
1570
 
if ac_fn_c_try_compile "$LINENO"; then :
1571
 
  ac_header_compiler=yes
1572
 
else
1573
 
  ac_header_compiler=no
1574
 
fi
1575
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1576
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1577
 
$as_echo "$ac_header_compiler" >&6; }
1578
 
 
1579
 
# Is the header present?
1580
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1581
 
$as_echo_n "checking $2 presence... " >&6; }
1582
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1583
 
/* end confdefs.h.  */
1584
 
#include <$2>
1585
 
_ACEOF
1586
 
if ac_fn_c_try_cpp "$LINENO"; then :
1587
 
  ac_header_preproc=yes
1588
 
else
1589
 
  ac_header_preproc=no
1590
 
fi
1591
 
rm -f conftest.err conftest.i conftest.$ac_ext
1592
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1593
 
$as_echo "$ac_header_preproc" >&6; }
1594
 
 
1595
 
# So?  What about this header?
1596
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1597
 
  yes:no: )
1598
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1599
 
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1600
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1601
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1602
 
    ;;
1603
 
  no:yes:* )
1604
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1605
 
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1606
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1607
 
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1608
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1609
 
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1610
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1611
 
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1612
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1613
 
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1614
 
( $as_echo "## ---------------------------------------- ##
1615
 
## Report this to jeremy.kerr@canonical.com ##
1616
 
## ---------------------------------------- ##"
1617
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
1618
 
    ;;
1619
 
esac
1620
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1621
 
$as_echo_n "checking for $2... " >&6; }
1622
 
if eval \${$3+:} false; then :
1623
 
  $as_echo_n "(cached) " >&6
1624
 
else
1625
 
  eval "$3=\$ac_header_compiler"
1626
 
fi
1627
 
eval ac_res=\$$3
1628
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1629
 
$as_echo "$ac_res" >&6; }
1630
 
fi
1631
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1632
 
 
1633
 
} # ac_fn_c_check_header_mongrel
1634
 
 
1635
 
# ac_fn_c_try_run LINENO
1636
 
# ----------------------
1637
 
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1638
 
# that executables *can* be run.
1639
 
ac_fn_c_try_run ()
1640
 
{
1641
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642
 
  if { { ac_try="$ac_link"
1643
 
case "(($ac_try" in
1644
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1645
 
  *) ac_try_echo=$ac_try;;
1646
 
esac
1647
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648
 
$as_echo "$ac_try_echo"; } >&5
1649
 
  (eval "$ac_link") 2>&5
1650
 
  ac_status=$?
1651
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652
 
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1653
 
  { { case "(($ac_try" in
1654
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1655
 
  *) ac_try_echo=$ac_try;;
1656
 
esac
1657
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658
 
$as_echo "$ac_try_echo"; } >&5
1659
 
  (eval "$ac_try") 2>&5
1660
 
  ac_status=$?
1661
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662
 
  test $ac_status = 0; }; }; then :
1663
 
  ac_retval=0
1664
 
else
1665
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
1666
 
       $as_echo "$as_me: failed program was:" >&5
1667
 
sed 's/^/| /' conftest.$ac_ext >&5
1668
 
 
1669
 
       ac_retval=$ac_status
1670
 
fi
1671
 
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1672
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673
 
  as_fn_set_status $ac_retval
1674
 
 
1675
 
} # ac_fn_c_try_run
1676
 
 
1677
 
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1678
 
# -------------------------------------------------------
1679
 
# Tests whether HEADER exists and can be compiled using the include files in
1680
 
# INCLUDES, setting the cache variable VAR accordingly.
1681
 
ac_fn_c_check_header_compile ()
1682
 
{
1683
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1685
 
$as_echo_n "checking for $2... " >&6; }
1686
 
if eval \${$3+:} false; then :
1687
 
  $as_echo_n "(cached) " >&6
1688
 
else
1689
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1690
 
/* end confdefs.h.  */
1691
 
$4
1692
 
#include <$2>
1693
 
_ACEOF
1694
 
if ac_fn_c_try_compile "$LINENO"; then :
1695
 
  eval "$3=yes"
1696
 
else
1697
 
  eval "$3=no"
1698
 
fi
1699
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1700
 
fi
1701
 
eval ac_res=\$$3
1702
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1703
 
$as_echo "$ac_res" >&6; }
1704
 
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705
 
 
1706
 
} # ac_fn_c_check_header_compile
1707
 
cat >config.log <<_ACEOF
1708
 
This file contains any messages produced by compilers while
1709
 
running configure, to aid debugging if configure makes a mistake.
1710
 
 
1711
 
It was created by sbsigntool $as_me 0.6, which was
1712
 
generated by GNU Autoconf 2.69.  Invocation command line was
1713
 
 
1714
 
  $ $0 $@
1715
 
 
1716
 
_ACEOF
1717
 
exec 5>>config.log
1718
 
{
1719
 
cat <<_ASUNAME
1720
 
## --------- ##
1721
 
## Platform. ##
1722
 
## --------- ##
1723
 
 
1724
 
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1725
 
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1726
 
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1727
 
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1728
 
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1729
 
 
1730
 
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1731
 
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1732
 
 
1733
 
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1734
 
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1735
 
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1736
 
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1737
 
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1738
 
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1739
 
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1740
 
 
1741
 
_ASUNAME
1742
 
 
1743
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1744
 
for as_dir in $PATH
1745
 
do
1746
 
  IFS=$as_save_IFS
1747
 
  test -z "$as_dir" && as_dir=.
1748
 
    $as_echo "PATH: $as_dir"
1749
 
  done
1750
 
IFS=$as_save_IFS
1751
 
 
1752
 
} >&5
1753
 
 
1754
 
cat >&5 <<_ACEOF
1755
 
 
1756
 
 
1757
 
## ----------- ##
1758
 
## Core tests. ##
1759
 
## ----------- ##
1760
 
 
1761
 
_ACEOF
1762
 
 
1763
 
 
1764
 
# Keep a trace of the command line.
1765
 
# Strip out --no-create and --no-recursion so they do not pile up.
1766
 
# Strip out --silent because we don't want to record it for future runs.
1767
 
# Also quote any args containing shell meta-characters.
1768
 
# Make two passes to allow for proper duplicate-argument suppression.
1769
 
ac_configure_args=
1770
 
ac_configure_args0=
1771
 
ac_configure_args1=
1772
 
ac_must_keep_next=false
1773
 
for ac_pass in 1 2
1774
 
do
1775
 
  for ac_arg
1776
 
  do
1777
 
    case $ac_arg in
1778
 
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1779
 
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1780
 
    | -silent | --silent | --silen | --sile | --sil)
1781
 
      continue ;;
1782
 
    *\'*)
1783
 
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1784
 
    esac
1785
 
    case $ac_pass in
1786
 
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1787
 
    2)
1788
 
      as_fn_append ac_configure_args1 " '$ac_arg'"
1789
 
      if test $ac_must_keep_next = true; then
1790
 
        ac_must_keep_next=false # Got value, back to normal.
1791
 
      else
1792
 
        case $ac_arg in
1793
 
          *=* | --config-cache | -C | -disable-* | --disable-* \
1794
 
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1795
 
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1796
 
          | -with-* | --with-* | -without-* | --without-* | --x)
1797
 
            case "$ac_configure_args0 " in
1798
 
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1799
 
            esac
1800
 
            ;;
1801
 
          -* ) ac_must_keep_next=true ;;
1802
 
        esac
1803
 
      fi
1804
 
      as_fn_append ac_configure_args " '$ac_arg'"
1805
 
      ;;
1806
 
    esac
1807
 
  done
1808
 
done
1809
 
{ ac_configure_args0=; unset ac_configure_args0;}
1810
 
{ ac_configure_args1=; unset ac_configure_args1;}
1811
 
 
1812
 
# When interrupted or exit'd, cleanup temporary files, and complete
1813
 
# config.log.  We remove comments because anyway the quotes in there
1814
 
# would cause problems or look ugly.
1815
 
# WARNING: Use '\'' to represent an apostrophe within the trap.
1816
 
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1817
 
trap 'exit_status=$?
1818
 
  # Save into config.log some information that might help in debugging.
1819
 
  {
1820
 
    echo
1821
 
 
1822
 
    $as_echo "## ---------------- ##
1823
 
## Cache variables. ##
1824
 
## ---------------- ##"
1825
 
    echo
1826
 
    # The following way of writing the cache mishandles newlines in values,
1827
 
(
1828
 
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1829
 
    eval ac_val=\$$ac_var
1830
 
    case $ac_val in #(
1831
 
    *${as_nl}*)
1832
 
      case $ac_var in #(
1833
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1834
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1835
 
      esac
1836
 
      case $ac_var in #(
1837
 
      _ | IFS | as_nl) ;; #(
1838
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1839
 
      *) { eval $ac_var=; unset $ac_var;} ;;
1840
 
      esac ;;
1841
 
    esac
1842
 
  done
1843
 
  (set) 2>&1 |
1844
 
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1845
 
    *${as_nl}ac_space=\ *)
1846
 
      sed -n \
1847
 
        "s/'\''/'\''\\\\'\'''\''/g;
1848
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1849
 
      ;; #(
1850
 
    *)
1851
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1852
 
      ;;
1853
 
    esac |
1854
 
    sort
1855
 
)
1856
 
    echo
1857
 
 
1858
 
    $as_echo "## ----------------- ##
1859
 
## Output variables. ##
1860
 
## ----------------- ##"
1861
 
    echo
1862
 
    for ac_var in $ac_subst_vars
1863
 
    do
1864
 
      eval ac_val=\$$ac_var
1865
 
      case $ac_val in
1866
 
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1867
 
      esac
1868
 
      $as_echo "$ac_var='\''$ac_val'\''"
1869
 
    done | sort
1870
 
    echo
1871
 
 
1872
 
    if test -n "$ac_subst_files"; then
1873
 
      $as_echo "## ------------------- ##
1874
 
## File substitutions. ##
1875
 
## ------------------- ##"
1876
 
      echo
1877
 
      for ac_var in $ac_subst_files
1878
 
      do
1879
 
        eval ac_val=\$$ac_var
1880
 
        case $ac_val in
1881
 
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1882
 
        esac
1883
 
        $as_echo "$ac_var='\''$ac_val'\''"
1884
 
      done | sort
1885
 
      echo
1886
 
    fi
1887
 
 
1888
 
    if test -s confdefs.h; then
1889
 
      $as_echo "## ----------- ##
1890
 
## confdefs.h. ##
1891
 
## ----------- ##"
1892
 
      echo
1893
 
      cat confdefs.h
1894
 
      echo
1895
 
    fi
1896
 
    test "$ac_signal" != 0 &&
1897
 
      $as_echo "$as_me: caught signal $ac_signal"
1898
 
    $as_echo "$as_me: exit $exit_status"
1899
 
  } >&5
1900
 
  rm -f core *.core core.conftest.* &&
1901
 
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1902
 
    exit $exit_status
1903
 
' 0
1904
 
for ac_signal in 1 2 13 15; do
1905
 
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1906
 
done
1907
 
ac_signal=0
1908
 
 
1909
 
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1910
 
rm -f -r conftest* confdefs.h
1911
 
 
1912
 
$as_echo "/* confdefs.h */" > confdefs.h
1913
 
 
1914
 
# Predefined preprocessor variables.
1915
 
 
1916
 
cat >>confdefs.h <<_ACEOF
1917
 
#define PACKAGE_NAME "$PACKAGE_NAME"
1918
 
_ACEOF
1919
 
 
1920
 
cat >>confdefs.h <<_ACEOF
1921
 
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1922
 
_ACEOF
1923
 
 
1924
 
cat >>confdefs.h <<_ACEOF
1925
 
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1926
 
_ACEOF
1927
 
 
1928
 
cat >>confdefs.h <<_ACEOF
1929
 
#define PACKAGE_STRING "$PACKAGE_STRING"
1930
 
_ACEOF
1931
 
 
1932
 
cat >>confdefs.h <<_ACEOF
1933
 
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1934
 
_ACEOF
1935
 
 
1936
 
cat >>confdefs.h <<_ACEOF
1937
 
#define PACKAGE_URL "$PACKAGE_URL"
1938
 
_ACEOF
1939
 
 
1940
 
 
1941
 
# Let the site file select an alternate cache file if it wants to.
1942
 
# Prefer an explicitly selected file to automatically selected ones.
1943
 
ac_site_file1=NONE
1944
 
ac_site_file2=NONE
1945
 
if test -n "$CONFIG_SITE"; then
1946
 
  # We do not want a PATH search for config.site.
1947
 
  case $CONFIG_SITE in #((
1948
 
    -*)  ac_site_file1=./$CONFIG_SITE;;
1949
 
    */*) ac_site_file1=$CONFIG_SITE;;
1950
 
    *)   ac_site_file1=./$CONFIG_SITE;;
1951
 
  esac
1952
 
elif test "x$prefix" != xNONE; then
1953
 
  ac_site_file1=$prefix/share/config.site
1954
 
  ac_site_file2=$prefix/etc/config.site
1955
 
else
1956
 
  ac_site_file1=$ac_default_prefix/share/config.site
1957
 
  ac_site_file2=$ac_default_prefix/etc/config.site
1958
 
fi
1959
 
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1960
 
do
1961
 
  test "x$ac_site_file" = xNONE && continue
1962
 
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1963
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1964
 
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1965
 
    sed 's/^/| /' "$ac_site_file" >&5
1966
 
    . "$ac_site_file" \
1967
 
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1968
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1969
 
as_fn_error $? "failed to load site script $ac_site_file
1970
 
See \`config.log' for more details" "$LINENO" 5; }
1971
 
  fi
1972
 
done
1973
 
 
1974
 
if test -r "$cache_file"; then
1975
 
  # Some versions of bash will fail to source /dev/null (special files
1976
 
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1977
 
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1978
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1979
 
$as_echo "$as_me: loading cache $cache_file" >&6;}
1980
 
    case $cache_file in
1981
 
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1982
 
      *)                      . "./$cache_file";;
1983
 
    esac
1984
 
  fi
1985
 
else
1986
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1987
 
$as_echo "$as_me: creating cache $cache_file" >&6;}
1988
 
  >$cache_file
1989
 
fi
1990
 
 
1991
 
# Check that the precious variables saved in the cache have kept the same
1992
 
# value.
1993
 
ac_cache_corrupted=false
1994
 
for ac_var in $ac_precious_vars; do
1995
 
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1996
 
  eval ac_new_set=\$ac_env_${ac_var}_set
1997
 
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1998
 
  eval ac_new_val=\$ac_env_${ac_var}_value
1999
 
  case $ac_old_set,$ac_new_set in
2000
 
    set,)
2001
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2002
 
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2003
 
      ac_cache_corrupted=: ;;
2004
 
    ,set)
2005
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2006
 
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2007
 
      ac_cache_corrupted=: ;;
2008
 
    ,);;
2009
 
    *)
2010
 
      if test "x$ac_old_val" != "x$ac_new_val"; then
2011
 
        # differences in whitespace do not lead to failure.
2012
 
        ac_old_val_w=`echo x $ac_old_val`
2013
 
        ac_new_val_w=`echo x $ac_new_val`
2014
 
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2015
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2016
 
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2017
 
          ac_cache_corrupted=:
2018
 
        else
2019
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2020
 
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2021
 
          eval $ac_var=\$ac_old_val
2022
 
        fi
2023
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2024
 
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2025
 
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2026
 
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2027
 
      fi;;
2028
 
  esac
2029
 
  # Pass precious variables to config.status.
2030
 
  if test "$ac_new_set" = set; then
2031
 
    case $ac_new_val in
2032
 
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2033
 
    *) ac_arg=$ac_var=$ac_new_val ;;
2034
 
    esac
2035
 
    case " $ac_configure_args " in
2036
 
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2037
 
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2038
 
    esac
2039
 
  fi
2040
 
done
2041
 
if $ac_cache_corrupted; then
2042
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2043
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2044
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2045
 
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2046
 
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2047
 
fi
2048
 
## -------------------- ##
2049
 
## Main body of script. ##
2050
 
## -------------------- ##
2051
 
 
2052
 
ac_ext=c
2053
 
ac_cpp='$CPP $CPPFLAGS'
2054
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2055
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2056
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2057
 
 
2058
 
 
2059
 
 
2060
 
am__api_version='1.11'
2061
 
 
2062
 
ac_aux_dir=
2063
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2064
 
  if test -f "$ac_dir/install-sh"; then
2065
 
    ac_aux_dir=$ac_dir
2066
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2067
 
    break
2068
 
  elif test -f "$ac_dir/install.sh"; then
2069
 
    ac_aux_dir=$ac_dir
2070
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2071
 
    break
2072
 
  elif test -f "$ac_dir/shtool"; then
2073
 
    ac_aux_dir=$ac_dir
2074
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2075
 
    break
2076
 
  fi
2077
 
done
2078
 
if test -z "$ac_aux_dir"; then
2079
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2080
 
fi
2081
 
 
2082
 
# These three variables are undocumented and unsupported,
2083
 
# and are intended to be withdrawn in a future Autoconf release.
2084
 
# They can cause serious problems if a builder's source tree is in a directory
2085
 
# whose full name contains unusual characters.
2086
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2087
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2088
 
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2089
 
 
2090
 
 
2091
 
# Find a good install program.  We prefer a C program (faster),
2092
 
# so one script is as good as another.  But avoid the broken or
2093
 
# incompatible versions:
2094
 
# SysV /etc/install, /usr/sbin/install
2095
 
# SunOS /usr/etc/install
2096
 
# IRIX /sbin/install
2097
 
# AIX /bin/install
2098
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
2099
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2100
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2101
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2102
 
# OS/2's system install, which has a completely different semantic
2103
 
# ./install, which can be erroneously created by make from ./install.sh.
2104
 
# Reject install programs that cannot install multiple files.
2105
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2106
 
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2107
 
if test -z "$INSTALL"; then
2108
 
if ${ac_cv_path_install+:} false; then :
2109
 
  $as_echo_n "(cached) " >&6
2110
 
else
2111
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2112
 
for as_dir in $PATH
2113
 
do
2114
 
  IFS=$as_save_IFS
2115
 
  test -z "$as_dir" && as_dir=.
2116
 
    # Account for people who put trailing slashes in PATH elements.
2117
 
case $as_dir/ in #((
2118
 
  ./ | .// | /[cC]/* | \
2119
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2120
 
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2121
 
  /usr/ucb/* ) ;;
2122
 
  *)
2123
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
2124
 
    # Don't use installbsd from OSF since it installs stuff as root
2125
 
    # by default.
2126
 
    for ac_prog in ginstall scoinst install; do
2127
 
      for ac_exec_ext in '' $ac_executable_extensions; do
2128
 
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2129
 
          if test $ac_prog = install &&
2130
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2131
 
            # AIX install.  It has an incompatible calling convention.
2132
 
            :
2133
 
          elif test $ac_prog = install &&
2134
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2135
 
            # program-specific install script used by HP pwplus--don't use.
2136
 
            :
2137
 
          else
2138
 
            rm -rf conftest.one conftest.two conftest.dir
2139
 
            echo one > conftest.one
2140
 
            echo two > conftest.two
2141
 
            mkdir conftest.dir
2142
 
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2143
 
              test -s conftest.one && test -s conftest.two &&
2144
 
              test -s conftest.dir/conftest.one &&
2145
 
              test -s conftest.dir/conftest.two
2146
 
            then
2147
 
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2148
 
              break 3
2149
 
            fi
2150
 
          fi
2151
 
        fi
2152
 
      done
2153
 
    done
2154
 
    ;;
2155
 
esac
2156
 
 
2157
 
  done
2158
 
IFS=$as_save_IFS
2159
 
 
2160
 
rm -rf conftest.one conftest.two conftest.dir
2161
 
 
2162
 
fi
2163
 
  if test "${ac_cv_path_install+set}" = set; then
2164
 
    INSTALL=$ac_cv_path_install
2165
 
  else
2166
 
    # As a last resort, use the slow shell script.  Don't cache a
2167
 
    # value for INSTALL within a source directory, because that will
2168
 
    # break other packages using the cache if that directory is
2169
 
    # removed, or if the value is a relative name.
2170
 
    INSTALL=$ac_install_sh
2171
 
  fi
2172
 
fi
2173
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2174
 
$as_echo "$INSTALL" >&6; }
2175
 
 
2176
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2177
 
# It thinks the first close brace ends the variable substitution.
2178
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2179
 
 
2180
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2181
 
 
2182
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2183
 
 
2184
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2185
 
$as_echo_n "checking whether build environment is sane... " >&6; }
2186
 
# Just in case
2187
 
sleep 1
2188
 
echo timestamp > conftest.file
2189
 
# Reject unsafe characters in $srcdir or the absolute working directory
2190
 
# name.  Accept space and tab only in the latter.
2191
 
am_lf='
2192
 
'
2193
 
case `pwd` in
2194
 
  *[\\\"\#\$\&\'\`$am_lf]*)
2195
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2196
 
esac
2197
 
case $srcdir in
2198
 
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2199
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2200
 
esac
2201
 
 
2202
 
# Do `set' in a subshell so we don't clobber the current shell's
2203
 
# arguments.  Must try -L first in case configure is actually a
2204
 
# symlink; some systems play weird games with the mod time of symlinks
2205
 
# (eg FreeBSD returns the mod time of the symlink's containing
2206
 
# directory).
2207
 
if (
2208
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2209
 
   if test "$*" = "X"; then
2210
 
      # -L didn't work.
2211
 
      set X `ls -t "$srcdir/configure" conftest.file`
2212
 
   fi
2213
 
   rm -f conftest.file
2214
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2215
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2216
 
 
2217
 
      # If neither matched, then we have a broken ls.  This can happen
2218
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2219
 
      # broken ls alias from the environment.  This has actually
2220
 
      # happened.  Such a system could not be considered "sane".
2221
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2222
 
alias in your environment" "$LINENO" 5
2223
 
   fi
2224
 
 
2225
 
   test "$2" = conftest.file
2226
 
   )
2227
 
then
2228
 
   # Ok.
2229
 
   :
2230
 
else
2231
 
   as_fn_error $? "newly created file is older than distributed files!
2232
 
Check your system clock" "$LINENO" 5
2233
 
fi
2234
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2235
 
$as_echo "yes" >&6; }
2236
 
test "$program_prefix" != NONE &&
2237
 
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2238
 
# Use a double $ so make ignores it.
2239
 
test "$program_suffix" != NONE &&
2240
 
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2241
 
# Double any \ or $.
2242
 
# By default was `s,x,x', remove it if useless.
2243
 
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2244
 
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2245
 
 
2246
 
# expand $ac_aux_dir to an absolute path
2247
 
am_aux_dir=`cd $ac_aux_dir && pwd`
2248
 
 
2249
 
if test x"${MISSING+set}" != xset; then
2250
 
  case $am_aux_dir in
2251
 
  *\ * | *\     *)
2252
 
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2253
 
  *)
2254
 
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2255
 
  esac
2256
 
fi
2257
 
# Use eval to expand $SHELL
2258
 
if eval "$MISSING --run true"; then
2259
 
  am_missing_run="$MISSING --run "
2260
 
else
2261
 
  am_missing_run=
2262
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2263
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2264
 
fi
2265
 
 
2266
 
if test x"${install_sh}" != xset; then
2267
 
  case $am_aux_dir in
2268
 
  *\ * | *\     *)
2269
 
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2270
 
  *)
2271
 
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2272
 
  esac
2273
 
fi
2274
 
 
2275
 
# Installed binaries are usually stripped using `strip' when the user
2276
 
# run `make install-strip'.  However `strip' might not be the right
2277
 
# tool to use in cross-compilation environments, therefore Automake
2278
 
# will honor the `STRIP' environment variable to overrule this program.
2279
 
if test "$cross_compiling" != no; then
2280
 
  if test -n "$ac_tool_prefix"; then
2281
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2282
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2283
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2284
 
$as_echo_n "checking for $ac_word... " >&6; }
2285
 
if ${ac_cv_prog_STRIP+:} false; then :
2286
 
  $as_echo_n "(cached) " >&6
2287
 
else
2288
 
  if test -n "$STRIP"; then
2289
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2290
 
else
2291
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2292
 
for as_dir in $PATH
2293
 
do
2294
 
  IFS=$as_save_IFS
2295
 
  test -z "$as_dir" && as_dir=.
2296
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2297
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2298
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2299
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2300
 
    break 2
2301
 
  fi
2302
 
done
2303
 
  done
2304
 
IFS=$as_save_IFS
2305
 
 
2306
 
fi
2307
 
fi
2308
 
STRIP=$ac_cv_prog_STRIP
2309
 
if test -n "$STRIP"; then
2310
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2311
 
$as_echo "$STRIP" >&6; }
2312
 
else
2313
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2314
 
$as_echo "no" >&6; }
2315
 
fi
2316
 
 
2317
 
 
2318
 
fi
2319
 
if test -z "$ac_cv_prog_STRIP"; then
2320
 
  ac_ct_STRIP=$STRIP
2321
 
  # Extract the first word of "strip", so it can be a program name with args.
2322
 
set dummy strip; ac_word=$2
2323
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2324
 
$as_echo_n "checking for $ac_word... " >&6; }
2325
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2326
 
  $as_echo_n "(cached) " >&6
2327
 
else
2328
 
  if test -n "$ac_ct_STRIP"; then
2329
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2330
 
else
2331
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332
 
for as_dir in $PATH
2333
 
do
2334
 
  IFS=$as_save_IFS
2335
 
  test -z "$as_dir" && as_dir=.
2336
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2337
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2338
 
    ac_cv_prog_ac_ct_STRIP="strip"
2339
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2340
 
    break 2
2341
 
  fi
2342
 
done
2343
 
  done
2344
 
IFS=$as_save_IFS
2345
 
 
2346
 
fi
2347
 
fi
2348
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2349
 
if test -n "$ac_ct_STRIP"; then
2350
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2351
 
$as_echo "$ac_ct_STRIP" >&6; }
2352
 
else
2353
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2354
 
$as_echo "no" >&6; }
2355
 
fi
2356
 
 
2357
 
  if test "x$ac_ct_STRIP" = x; then
2358
 
    STRIP=":"
2359
 
  else
2360
 
    case $cross_compiling:$ac_tool_warned in
2361
 
yes:)
2362
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2363
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2364
 
ac_tool_warned=yes ;;
2365
 
esac
2366
 
    STRIP=$ac_ct_STRIP
2367
 
  fi
2368
 
else
2369
 
  STRIP="$ac_cv_prog_STRIP"
2370
 
fi
2371
 
 
2372
 
fi
2373
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2374
 
 
2375
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2376
 
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2377
 
if test -z "$MKDIR_P"; then
2378
 
  if ${ac_cv_path_mkdir+:} false; then :
2379
 
  $as_echo_n "(cached) " >&6
2380
 
else
2381
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2382
 
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2383
 
do
2384
 
  IFS=$as_save_IFS
2385
 
  test -z "$as_dir" && as_dir=.
2386
 
    for ac_prog in mkdir gmkdir; do
2387
 
         for ac_exec_ext in '' $ac_executable_extensions; do
2388
 
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2389
 
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2390
 
             'mkdir (GNU coreutils) '* | \
2391
 
             'mkdir (coreutils) '* | \
2392
 
             'mkdir (fileutils) '4.1*)
2393
 
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2394
 
               break 3;;
2395
 
           esac
2396
 
         done
2397
 
       done
2398
 
  done
2399
 
IFS=$as_save_IFS
2400
 
 
2401
 
fi
2402
 
 
2403
 
  test -d ./--version && rmdir ./--version
2404
 
  if test "${ac_cv_path_mkdir+set}" = set; then
2405
 
    MKDIR_P="$ac_cv_path_mkdir -p"
2406
 
  else
2407
 
    # As a last resort, use the slow shell script.  Don't cache a
2408
 
    # value for MKDIR_P within a source directory, because that will
2409
 
    # break other packages using the cache if that directory is
2410
 
    # removed, or if the value is a relative name.
2411
 
    MKDIR_P="$ac_install_sh -d"
2412
 
  fi
2413
 
fi
2414
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2415
 
$as_echo "$MKDIR_P" >&6; }
2416
 
 
2417
 
mkdir_p="$MKDIR_P"
2418
 
case $mkdir_p in
2419
 
  [\\/$]* | ?:[\\/]*) ;;
2420
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2421
 
esac
2422
 
 
2423
 
for ac_prog in gawk mawk nawk awk
2424
 
do
2425
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2426
 
set dummy $ac_prog; ac_word=$2
2427
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2428
 
$as_echo_n "checking for $ac_word... " >&6; }
2429
 
if ${ac_cv_prog_AWK+:} false; then :
2430
 
  $as_echo_n "(cached) " >&6
2431
 
else
2432
 
  if test -n "$AWK"; then
2433
 
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2434
 
else
2435
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2436
 
for as_dir in $PATH
2437
 
do
2438
 
  IFS=$as_save_IFS
2439
 
  test -z "$as_dir" && as_dir=.
2440
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2441
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2442
 
    ac_cv_prog_AWK="$ac_prog"
2443
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2444
 
    break 2
2445
 
  fi
2446
 
done
2447
 
  done
2448
 
IFS=$as_save_IFS
2449
 
 
2450
 
fi
2451
 
fi
2452
 
AWK=$ac_cv_prog_AWK
2453
 
if test -n "$AWK"; then
2454
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2455
 
$as_echo "$AWK" >&6; }
2456
 
else
2457
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2458
 
$as_echo "no" >&6; }
2459
 
fi
2460
 
 
2461
 
 
2462
 
  test -n "$AWK" && break
2463
 
done
2464
 
 
2465
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2466
 
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2467
 
set x ${MAKE-make}
2468
 
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2469
 
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2470
 
  $as_echo_n "(cached) " >&6
2471
 
else
2472
 
  cat >conftest.make <<\_ACEOF
2473
 
SHELL = /bin/sh
2474
 
all:
2475
 
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2476
 
_ACEOF
2477
 
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2478
 
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2479
 
  *@@@%%%=?*=@@@%%%*)
2480
 
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2481
 
  *)
2482
 
    eval ac_cv_prog_make_${ac_make}_set=no;;
2483
 
esac
2484
 
rm -f conftest.make
2485
 
fi
2486
 
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2487
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2488
 
$as_echo "yes" >&6; }
2489
 
  SET_MAKE=
2490
 
else
2491
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2492
 
$as_echo "no" >&6; }
2493
 
  SET_MAKE="MAKE=${MAKE-make}"
2494
 
fi
2495
 
 
2496
 
rm -rf .tst 2>/dev/null
2497
 
mkdir .tst 2>/dev/null
2498
 
if test -d .tst; then
2499
 
  am__leading_dot=.
2500
 
else
2501
 
  am__leading_dot=_
2502
 
fi
2503
 
rmdir .tst 2>/dev/null
2504
 
 
2505
 
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2506
 
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2507
 
  # is not polluted with repeated "-I."
2508
 
  am__isrc=' -I$(srcdir)'
2509
 
  # test to see if srcdir already configured
2510
 
  if test -f $srcdir/config.status; then
2511
 
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2512
 
  fi
2513
 
fi
2514
 
 
2515
 
# test whether we have cygpath
2516
 
if test -z "$CYGPATH_W"; then
2517
 
  if (cygpath --version) >/dev/null 2>/dev/null; then
2518
 
    CYGPATH_W='cygpath -w'
2519
 
  else
2520
 
    CYGPATH_W=echo
2521
 
  fi
2522
 
fi
2523
 
 
2524
 
 
2525
 
# Define the identity of the package.
2526
 
 PACKAGE='sbsigntool'
2527
 
 VERSION='0.6'
2528
 
 
2529
 
 
2530
 
cat >>confdefs.h <<_ACEOF
2531
 
#define PACKAGE "$PACKAGE"
2532
 
_ACEOF
2533
 
 
2534
 
 
2535
 
cat >>confdefs.h <<_ACEOF
2536
 
#define VERSION "$VERSION"
2537
 
_ACEOF
2538
 
 
2539
 
# Some tools Automake needs.
2540
 
 
2541
 
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2542
 
 
2543
 
 
2544
 
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2545
 
 
2546
 
 
2547
 
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2548
 
 
2549
 
 
2550
 
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2551
 
 
2552
 
 
2553
 
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2554
 
 
2555
 
# We need awk for the "check" target.  The system "awk" is bad on
2556
 
# some platforms.
2557
 
# Always define AMTAR for backward compatibility.  Yes, it's still used
2558
 
# in the wild :-(  We should find a proper way to deprecate it ...
2559
 
AMTAR='$${TAR-tar}'
2560
 
 
2561
 
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2562
 
 
2563
 
 
2564
 
 
2565
 
 
2566
 
 
2567
 
 
2568
 
 
2569
 
 
2570
 
ac_config_headers="$ac_config_headers config.h"
2571
 
 
2572
 
 
2573
 
 
2574
 
DEPDIR="${am__leading_dot}deps"
2575
 
 
2576
 
ac_config_commands="$ac_config_commands depfiles"
2577
 
 
2578
 
 
2579
 
am_make=${MAKE-make}
2580
 
cat > confinc << 'END'
2581
 
am__doit:
2582
 
        @echo this is the am__doit target
2583
 
.PHONY: am__doit
2584
 
END
2585
 
# If we don't find an include directive, just comment out the code.
2586
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2587
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2588
 
am__include="#"
2589
 
am__quote=
2590
 
_am_result=none
2591
 
# First try GNU make style include.
2592
 
echo "include confinc" > confmf
2593
 
# Ignore all kinds of additional output from `make'.
2594
 
case `$am_make -s -f confmf 2> /dev/null` in #(
2595
 
*the\ am__doit\ target*)
2596
 
  am__include=include
2597
 
  am__quote=
2598
 
  _am_result=GNU
2599
 
  ;;
2600
 
esac
2601
 
# Now try BSD make style include.
2602
 
if test "$am__include" = "#"; then
2603
 
   echo '.include "confinc"' > confmf
2604
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
2605
 
   *the\ am__doit\ target*)
2606
 
     am__include=.include
2607
 
     am__quote="\""
2608
 
     _am_result=BSD
2609
 
     ;;
2610
 
   esac
2611
 
fi
2612
 
 
2613
 
 
2614
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2615
 
$as_echo "$_am_result" >&6; }
2616
 
rm -f confinc confmf
2617
 
 
2618
 
# Check whether --enable-dependency-tracking was given.
2619
 
if test "${enable_dependency_tracking+set}" = set; then :
2620
 
  enableval=$enable_dependency_tracking;
2621
 
fi
2622
 
 
2623
 
if test "x$enable_dependency_tracking" != xno; then
2624
 
  am_depcomp="$ac_aux_dir/depcomp"
2625
 
  AMDEPBACKSLASH='\'
2626
 
  am__nodep='_no'
2627
 
fi
2628
 
 if test "x$enable_dependency_tracking" != xno; then
2629
 
  AMDEP_TRUE=
2630
 
  AMDEP_FALSE='#'
2631
 
else
2632
 
  AMDEP_TRUE='#'
2633
 
  AMDEP_FALSE=
2634
 
fi
2635
 
 
2636
 
 
2637
 
ac_ext=c
2638
 
ac_cpp='$CPP $CPPFLAGS'
2639
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2640
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2641
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2642
 
if test -n "$ac_tool_prefix"; then
2643
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2644
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2645
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2646
 
$as_echo_n "checking for $ac_word... " >&6; }
2647
 
if ${ac_cv_prog_CC+:} false; then :
2648
 
  $as_echo_n "(cached) " >&6
2649
 
else
2650
 
  if test -n "$CC"; then
2651
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2652
 
else
2653
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654
 
for as_dir in $PATH
2655
 
do
2656
 
  IFS=$as_save_IFS
2657
 
  test -z "$as_dir" && as_dir=.
2658
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2659
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2660
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2661
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2662
 
    break 2
2663
 
  fi
2664
 
done
2665
 
  done
2666
 
IFS=$as_save_IFS
2667
 
 
2668
 
fi
2669
 
fi
2670
 
CC=$ac_cv_prog_CC
2671
 
if test -n "$CC"; then
2672
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2673
 
$as_echo "$CC" >&6; }
2674
 
else
2675
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2676
 
$as_echo "no" >&6; }
2677
 
fi
2678
 
 
2679
 
 
2680
 
fi
2681
 
if test -z "$ac_cv_prog_CC"; then
2682
 
  ac_ct_CC=$CC
2683
 
  # Extract the first word of "gcc", so it can be a program name with args.
2684
 
set dummy gcc; ac_word=$2
2685
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2686
 
$as_echo_n "checking for $ac_word... " >&6; }
2687
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2688
 
  $as_echo_n "(cached) " >&6
2689
 
else
2690
 
  if test -n "$ac_ct_CC"; then
2691
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2692
 
else
2693
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694
 
for as_dir in $PATH
2695
 
do
2696
 
  IFS=$as_save_IFS
2697
 
  test -z "$as_dir" && as_dir=.
2698
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2699
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2700
 
    ac_cv_prog_ac_ct_CC="gcc"
2701
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2702
 
    break 2
2703
 
  fi
2704
 
done
2705
 
  done
2706
 
IFS=$as_save_IFS
2707
 
 
2708
 
fi
2709
 
fi
2710
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2711
 
if test -n "$ac_ct_CC"; then
2712
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2713
 
$as_echo "$ac_ct_CC" >&6; }
2714
 
else
2715
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2716
 
$as_echo "no" >&6; }
2717
 
fi
2718
 
 
2719
 
  if test "x$ac_ct_CC" = x; then
2720
 
    CC=""
2721
 
  else
2722
 
    case $cross_compiling:$ac_tool_warned in
2723
 
yes:)
2724
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2725
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2726
 
ac_tool_warned=yes ;;
2727
 
esac
2728
 
    CC=$ac_ct_CC
2729
 
  fi
2730
 
else
2731
 
  CC="$ac_cv_prog_CC"
2732
 
fi
2733
 
 
2734
 
if test -z "$CC"; then
2735
 
          if test -n "$ac_tool_prefix"; then
2736
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2737
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
2738
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2739
 
$as_echo_n "checking for $ac_word... " >&6; }
2740
 
if ${ac_cv_prog_CC+:} false; then :
2741
 
  $as_echo_n "(cached) " >&6
2742
 
else
2743
 
  if test -n "$CC"; then
2744
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2745
 
else
2746
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2747
 
for as_dir in $PATH
2748
 
do
2749
 
  IFS=$as_save_IFS
2750
 
  test -z "$as_dir" && as_dir=.
2751
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2752
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2753
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2754
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2755
 
    break 2
2756
 
  fi
2757
 
done
2758
 
  done
2759
 
IFS=$as_save_IFS
2760
 
 
2761
 
fi
2762
 
fi
2763
 
CC=$ac_cv_prog_CC
2764
 
if test -n "$CC"; then
2765
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2766
 
$as_echo "$CC" >&6; }
2767
 
else
2768
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2769
 
$as_echo "no" >&6; }
2770
 
fi
2771
 
 
2772
 
 
2773
 
  fi
2774
 
fi
2775
 
if test -z "$CC"; then
2776
 
  # Extract the first word of "cc", so it can be a program name with args.
2777
 
set dummy cc; ac_word=$2
2778
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2779
 
$as_echo_n "checking for $ac_word... " >&6; }
2780
 
if ${ac_cv_prog_CC+:} false; then :
2781
 
  $as_echo_n "(cached) " >&6
2782
 
else
2783
 
  if test -n "$CC"; then
2784
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2785
 
else
2786
 
  ac_prog_rejected=no
2787
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2788
 
for as_dir in $PATH
2789
 
do
2790
 
  IFS=$as_save_IFS
2791
 
  test -z "$as_dir" && as_dir=.
2792
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2793
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2794
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2795
 
       ac_prog_rejected=yes
2796
 
       continue
2797
 
     fi
2798
 
    ac_cv_prog_CC="cc"
2799
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2800
 
    break 2
2801
 
  fi
2802
 
done
2803
 
  done
2804
 
IFS=$as_save_IFS
2805
 
 
2806
 
if test $ac_prog_rejected = yes; then
2807
 
  # We found a bogon in the path, so make sure we never use it.
2808
 
  set dummy $ac_cv_prog_CC
2809
 
  shift
2810
 
  if test $# != 0; then
2811
 
    # We chose a different compiler from the bogus one.
2812
 
    # However, it has the same basename, so the bogon will be chosen
2813
 
    # first if we set CC to just the basename; use the full file name.
2814
 
    shift
2815
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2816
 
  fi
2817
 
fi
2818
 
fi
2819
 
fi
2820
 
CC=$ac_cv_prog_CC
2821
 
if test -n "$CC"; then
2822
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2823
 
$as_echo "$CC" >&6; }
2824
 
else
2825
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2826
 
$as_echo "no" >&6; }
2827
 
fi
2828
 
 
2829
 
 
2830
 
fi
2831
 
if test -z "$CC"; then
2832
 
  if test -n "$ac_tool_prefix"; then
2833
 
  for ac_prog in cl.exe
2834
 
  do
2835
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2836
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2837
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2838
 
$as_echo_n "checking for $ac_word... " >&6; }
2839
 
if ${ac_cv_prog_CC+:} false; then :
2840
 
  $as_echo_n "(cached) " >&6
2841
 
else
2842
 
  if test -n "$CC"; then
2843
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
2844
 
else
2845
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2846
 
for as_dir in $PATH
2847
 
do
2848
 
  IFS=$as_save_IFS
2849
 
  test -z "$as_dir" && as_dir=.
2850
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2851
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2852
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2853
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2854
 
    break 2
2855
 
  fi
2856
 
done
2857
 
  done
2858
 
IFS=$as_save_IFS
2859
 
 
2860
 
fi
2861
 
fi
2862
 
CC=$ac_cv_prog_CC
2863
 
if test -n "$CC"; then
2864
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2865
 
$as_echo "$CC" >&6; }
2866
 
else
2867
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868
 
$as_echo "no" >&6; }
2869
 
fi
2870
 
 
2871
 
 
2872
 
    test -n "$CC" && break
2873
 
  done
2874
 
fi
2875
 
if test -z "$CC"; then
2876
 
  ac_ct_CC=$CC
2877
 
  for ac_prog in cl.exe
2878
 
do
2879
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2880
 
set dummy $ac_prog; ac_word=$2
2881
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882
 
$as_echo_n "checking for $ac_word... " >&6; }
2883
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2884
 
  $as_echo_n "(cached) " >&6
2885
 
else
2886
 
  if test -n "$ac_ct_CC"; then
2887
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2888
 
else
2889
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2890
 
for as_dir in $PATH
2891
 
do
2892
 
  IFS=$as_save_IFS
2893
 
  test -z "$as_dir" && as_dir=.
2894
 
    for ac_exec_ext in '' $ac_executable_extensions; do
2895
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2896
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
2897
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2898
 
    break 2
2899
 
  fi
2900
 
done
2901
 
  done
2902
 
IFS=$as_save_IFS
2903
 
 
2904
 
fi
2905
 
fi
2906
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2907
 
if test -n "$ac_ct_CC"; then
2908
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2909
 
$as_echo "$ac_ct_CC" >&6; }
2910
 
else
2911
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912
 
$as_echo "no" >&6; }
2913
 
fi
2914
 
 
2915
 
 
2916
 
  test -n "$ac_ct_CC" && break
2917
 
done
2918
 
 
2919
 
  if test "x$ac_ct_CC" = x; then
2920
 
    CC=""
2921
 
  else
2922
 
    case $cross_compiling:$ac_tool_warned in
2923
 
yes:)
2924
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2925
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2926
 
ac_tool_warned=yes ;;
2927
 
esac
2928
 
    CC=$ac_ct_CC
2929
 
  fi
2930
 
fi
2931
 
 
2932
 
fi
2933
 
 
2934
 
 
2935
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2936
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2937
 
as_fn_error $? "no acceptable C compiler found in \$PATH
2938
 
See \`config.log' for more details" "$LINENO" 5; }
2939
 
 
2940
 
# Provide some information about the compiler.
2941
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2942
 
set X $ac_compile
2943
 
ac_compiler=$2
2944
 
for ac_option in --version -v -V -qversion; do
2945
 
  { { ac_try="$ac_compiler $ac_option >&5"
2946
 
case "(($ac_try" in
2947
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948
 
  *) ac_try_echo=$ac_try;;
2949
 
esac
2950
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2951
 
$as_echo "$ac_try_echo"; } >&5
2952
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2953
 
  ac_status=$?
2954
 
  if test -s conftest.err; then
2955
 
    sed '10a\
2956
 
... rest of stderr output deleted ...
2957
 
         10q' conftest.err >conftest.er1
2958
 
    cat conftest.er1 >&5
2959
 
  fi
2960
 
  rm -f conftest.er1 conftest.err
2961
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2962
 
  test $ac_status = 0; }
2963
 
done
2964
 
 
2965
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2966
 
/* end confdefs.h.  */
2967
 
 
2968
 
int
2969
 
main ()
2970
 
{
2971
 
 
2972
 
  ;
2973
 
  return 0;
2974
 
}
2975
 
_ACEOF
2976
 
ac_clean_files_save=$ac_clean_files
2977
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2978
 
# Try to create an executable without -o first, disregard a.out.
2979
 
# It will help us diagnose broken compilers, and finding out an intuition
2980
 
# of exeext.
2981
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2982
 
$as_echo_n "checking whether the C compiler works... " >&6; }
2983
 
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2984
 
 
2985
 
# The possible output files:
2986
 
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2987
 
 
2988
 
ac_rmfiles=
2989
 
for ac_file in $ac_files
2990
 
do
2991
 
  case $ac_file in
2992
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2993
 
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2994
 
  esac
2995
 
done
2996
 
rm -f $ac_rmfiles
2997
 
 
2998
 
if { { ac_try="$ac_link_default"
2999
 
case "(($ac_try" in
3000
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3001
 
  *) ac_try_echo=$ac_try;;
3002
 
esac
3003
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3004
 
$as_echo "$ac_try_echo"; } >&5
3005
 
  (eval "$ac_link_default") 2>&5
3006
 
  ac_status=$?
3007
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3008
 
  test $ac_status = 0; }; then :
3009
 
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3010
 
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3011
 
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3012
 
# so that the user can short-circuit this test for compilers unknown to
3013
 
# Autoconf.
3014
 
for ac_file in $ac_files ''
3015
 
do
3016
 
  test -f "$ac_file" || continue
3017
 
  case $ac_file in
3018
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3019
 
        ;;
3020
 
    [ab].out )
3021
 
        # We found the default executable, but exeext='' is most
3022
 
        # certainly right.
3023
 
        break;;
3024
 
    *.* )
3025
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3026
 
        then :; else
3027
 
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3028
 
        fi
3029
 
        # We set ac_cv_exeext here because the later test for it is not
3030
 
        # safe: cross compilers may not add the suffix if given an `-o'
3031
 
        # argument, so we may need to know it at that point already.
3032
 
        # Even if this section looks crufty: it has the advantage of
3033
 
        # actually working.
3034
 
        break;;
3035
 
    * )
3036
 
        break;;
3037
 
  esac
3038
 
done
3039
 
test "$ac_cv_exeext" = no && ac_cv_exeext=
3040
 
 
3041
 
else
3042
 
  ac_file=''
3043
 
fi
3044
 
if test -z "$ac_file"; then :
3045
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3046
 
$as_echo "no" >&6; }
3047
 
$as_echo "$as_me: failed program was:" >&5
3048
 
sed 's/^/| /' conftest.$ac_ext >&5
3049
 
 
3050
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3051
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3052
 
as_fn_error 77 "C compiler cannot create executables
3053
 
See \`config.log' for more details" "$LINENO" 5; }
3054
 
else
3055
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3056
 
$as_echo "yes" >&6; }
3057
 
fi
3058
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3059
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
3060
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3061
 
$as_echo "$ac_file" >&6; }
3062
 
ac_exeext=$ac_cv_exeext
3063
 
 
3064
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3065
 
ac_clean_files=$ac_clean_files_save
3066
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3067
 
$as_echo_n "checking for suffix of executables... " >&6; }
3068
 
if { { ac_try="$ac_link"
3069
 
case "(($ac_try" in
3070
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3071
 
  *) ac_try_echo=$ac_try;;
3072
 
esac
3073
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3074
 
$as_echo "$ac_try_echo"; } >&5
3075
 
  (eval "$ac_link") 2>&5
3076
 
  ac_status=$?
3077
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3078
 
  test $ac_status = 0; }; then :
3079
 
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3080
 
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3081
 
# work properly (i.e., refer to `conftest.exe'), while it won't with
3082
 
# `rm'.
3083
 
for ac_file in conftest.exe conftest conftest.*; do
3084
 
  test -f "$ac_file" || continue
3085
 
  case $ac_file in
3086
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3087
 
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3088
 
          break;;
3089
 
    * ) break;;
3090
 
  esac
3091
 
done
3092
 
else
3093
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3094
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3095
 
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3096
 
See \`config.log' for more details" "$LINENO" 5; }
3097
 
fi
3098
 
rm -f conftest conftest$ac_cv_exeext
3099
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3100
 
$as_echo "$ac_cv_exeext" >&6; }
3101
 
 
3102
 
rm -f conftest.$ac_ext
3103
 
EXEEXT=$ac_cv_exeext
3104
 
ac_exeext=$EXEEXT
3105
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106
 
/* end confdefs.h.  */
3107
 
#include <stdio.h>
3108
 
int
3109
 
main ()
3110
 
{
3111
 
FILE *f = fopen ("conftest.out", "w");
3112
 
 return ferror (f) || fclose (f) != 0;
3113
 
 
3114
 
  ;
3115
 
  return 0;
3116
 
}
3117
 
_ACEOF
3118
 
ac_clean_files="$ac_clean_files conftest.out"
3119
 
# Check that the compiler produces executables we can run.  If not, either
3120
 
# the compiler is broken, or we cross compile.
3121
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3122
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3123
 
if test "$cross_compiling" != yes; then
3124
 
  { { ac_try="$ac_link"
3125
 
case "(($ac_try" in
3126
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3127
 
  *) ac_try_echo=$ac_try;;
3128
 
esac
3129
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3130
 
$as_echo "$ac_try_echo"; } >&5
3131
 
  (eval "$ac_link") 2>&5
3132
 
  ac_status=$?
3133
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3134
 
  test $ac_status = 0; }
3135
 
  if { ac_try='./conftest$ac_cv_exeext'
3136
 
  { { case "(($ac_try" in
3137
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138
 
  *) ac_try_echo=$ac_try;;
3139
 
esac
3140
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3141
 
$as_echo "$ac_try_echo"; } >&5
3142
 
  (eval "$ac_try") 2>&5
3143
 
  ac_status=$?
3144
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3145
 
  test $ac_status = 0; }; }; then
3146
 
    cross_compiling=no
3147
 
  else
3148
 
    if test "$cross_compiling" = maybe; then
3149
 
        cross_compiling=yes
3150
 
    else
3151
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3152
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3153
 
as_fn_error $? "cannot run C compiled programs.
3154
 
If you meant to cross compile, use \`--host'.
3155
 
See \`config.log' for more details" "$LINENO" 5; }
3156
 
    fi
3157
 
  fi
3158
 
fi
3159
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3160
 
$as_echo "$cross_compiling" >&6; }
3161
 
 
3162
 
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3163
 
ac_clean_files=$ac_clean_files_save
3164
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3165
 
$as_echo_n "checking for suffix of object files... " >&6; }
3166
 
if ${ac_cv_objext+:} false; then :
3167
 
  $as_echo_n "(cached) " >&6
3168
 
else
3169
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3170
 
/* end confdefs.h.  */
3171
 
 
3172
 
int
3173
 
main ()
3174
 
{
3175
 
 
3176
 
  ;
3177
 
  return 0;
3178
 
}
3179
 
_ACEOF
3180
 
rm -f conftest.o conftest.obj
3181
 
if { { ac_try="$ac_compile"
3182
 
case "(($ac_try" in
3183
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3184
 
  *) ac_try_echo=$ac_try;;
3185
 
esac
3186
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3187
 
$as_echo "$ac_try_echo"; } >&5
3188
 
  (eval "$ac_compile") 2>&5
3189
 
  ac_status=$?
3190
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3191
 
  test $ac_status = 0; }; then :
3192
 
  for ac_file in conftest.o conftest.obj conftest.*; do
3193
 
  test -f "$ac_file" || continue;
3194
 
  case $ac_file in
3195
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3196
 
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3197
 
       break;;
3198
 
  esac
3199
 
done
3200
 
else
3201
 
  $as_echo "$as_me: failed program was:" >&5
3202
 
sed 's/^/| /' conftest.$ac_ext >&5
3203
 
 
3204
 
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3205
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3206
 
as_fn_error $? "cannot compute suffix of object files: cannot compile
3207
 
See \`config.log' for more details" "$LINENO" 5; }
3208
 
fi
3209
 
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3210
 
fi
3211
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3212
 
$as_echo "$ac_cv_objext" >&6; }
3213
 
OBJEXT=$ac_cv_objext
3214
 
ac_objext=$OBJEXT
3215
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3216
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3217
 
if ${ac_cv_c_compiler_gnu+:} false; then :
3218
 
  $as_echo_n "(cached) " >&6
3219
 
else
3220
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3221
 
/* end confdefs.h.  */
3222
 
 
3223
 
int
3224
 
main ()
3225
 
{
3226
 
#ifndef __GNUC__
3227
 
       choke me
3228
 
#endif
3229
 
 
3230
 
  ;
3231
 
  return 0;
3232
 
}
3233
 
_ACEOF
3234
 
if ac_fn_c_try_compile "$LINENO"; then :
3235
 
  ac_compiler_gnu=yes
3236
 
else
3237
 
  ac_compiler_gnu=no
3238
 
fi
3239
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3240
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3241
 
 
3242
 
fi
3243
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3244
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3245
 
if test $ac_compiler_gnu = yes; then
3246
 
  GCC=yes
3247
 
else
3248
 
  GCC=
3249
 
fi
3250
 
ac_test_CFLAGS=${CFLAGS+set}
3251
 
ac_save_CFLAGS=$CFLAGS
3252
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3253
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3254
 
if ${ac_cv_prog_cc_g+:} false; then :
3255
 
  $as_echo_n "(cached) " >&6
3256
 
else
3257
 
  ac_save_c_werror_flag=$ac_c_werror_flag
3258
 
   ac_c_werror_flag=yes
3259
 
   ac_cv_prog_cc_g=no
3260
 
   CFLAGS="-g"
3261
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262
 
/* end confdefs.h.  */
3263
 
 
3264
 
int
3265
 
main ()
3266
 
{
3267
 
 
3268
 
  ;
3269
 
  return 0;
3270
 
}
3271
 
_ACEOF
3272
 
if ac_fn_c_try_compile "$LINENO"; then :
3273
 
  ac_cv_prog_cc_g=yes
3274
 
else
3275
 
  CFLAGS=""
3276
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277
 
/* end confdefs.h.  */
3278
 
 
3279
 
int
3280
 
main ()
3281
 
{
3282
 
 
3283
 
  ;
3284
 
  return 0;
3285
 
}
3286
 
_ACEOF
3287
 
if ac_fn_c_try_compile "$LINENO"; then :
3288
 
 
3289
 
else
3290
 
  ac_c_werror_flag=$ac_save_c_werror_flag
3291
 
         CFLAGS="-g"
3292
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293
 
/* end confdefs.h.  */
3294
 
 
3295
 
int
3296
 
main ()
3297
 
{
3298
 
 
3299
 
  ;
3300
 
  return 0;
3301
 
}
3302
 
_ACEOF
3303
 
if ac_fn_c_try_compile "$LINENO"; then :
3304
 
  ac_cv_prog_cc_g=yes
3305
 
fi
3306
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307
 
fi
3308
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3309
 
fi
3310
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311
 
   ac_c_werror_flag=$ac_save_c_werror_flag
3312
 
fi
3313
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3314
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
3315
 
if test "$ac_test_CFLAGS" = set; then
3316
 
  CFLAGS=$ac_save_CFLAGS
3317
 
elif test $ac_cv_prog_cc_g = yes; then
3318
 
  if test "$GCC" = yes; then
3319
 
    CFLAGS="-g -O2"
3320
 
  else
3321
 
    CFLAGS="-g"
3322
 
  fi
3323
 
else
3324
 
  if test "$GCC" = yes; then
3325
 
    CFLAGS="-O2"
3326
 
  else
3327
 
    CFLAGS=
3328
 
  fi
3329
 
fi
3330
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3331
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3332
 
if ${ac_cv_prog_cc_c89+:} false; then :
3333
 
  $as_echo_n "(cached) " >&6
3334
 
else
3335
 
  ac_cv_prog_cc_c89=no
3336
 
ac_save_CC=$CC
3337
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338
 
/* end confdefs.h.  */
3339
 
#include <stdarg.h>
3340
 
#include <stdio.h>
3341
 
struct stat;
3342
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3343
 
struct buf { int x; };
3344
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3345
 
static char *e (p, i)
3346
 
     char **p;
3347
 
     int i;
3348
 
{
3349
 
  return p[i];
3350
 
}
3351
 
static char *f (char * (*g) (char **, int), char **p, ...)
3352
 
{
3353
 
  char *s;
3354
 
  va_list v;
3355
 
  va_start (v,p);
3356
 
  s = g (p, va_arg (v,int));
3357
 
  va_end (v);
3358
 
  return s;
3359
 
}
3360
 
 
3361
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3362
 
   function prototypes and stuff, but not '\xHH' hex character constants.
3363
 
   These don't provoke an error unfortunately, instead are silently treated
3364
 
   as 'x'.  The following induces an error, until -std is added to get
3365
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3366
 
   array size at least.  It's necessary to write '\x00'==0 to get something
3367
 
   that's true only with -std.  */
3368
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3369
 
 
3370
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3371
 
   inside strings and character constants.  */
3372
 
#define FOO(x) 'x'
3373
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3374
 
 
3375
 
int test (int i, double x);
3376
 
struct s1 {int (*f) (int a);};
3377
 
struct s2 {int (*f) (double a);};
3378
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3379
 
int argc;
3380
 
char **argv;
3381
 
int
3382
 
main ()
3383
 
{
3384
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3385
 
  ;
3386
 
  return 0;
3387
 
}
3388
 
_ACEOF
3389
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3390
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3391
 
do
3392
 
  CC="$ac_save_CC $ac_arg"
3393
 
  if ac_fn_c_try_compile "$LINENO"; then :
3394
 
  ac_cv_prog_cc_c89=$ac_arg
3395
 
fi
3396
 
rm -f core conftest.err conftest.$ac_objext
3397
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3398
 
done
3399
 
rm -f conftest.$ac_ext
3400
 
CC=$ac_save_CC
3401
 
 
3402
 
fi
3403
 
# AC_CACHE_VAL
3404
 
case "x$ac_cv_prog_cc_c89" in
3405
 
  x)
3406
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3407
 
$as_echo "none needed" >&6; } ;;
3408
 
  xno)
3409
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3410
 
$as_echo "unsupported" >&6; } ;;
3411
 
  *)
3412
 
    CC="$CC $ac_cv_prog_cc_c89"
3413
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3414
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3415
 
esac
3416
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
3417
 
 
3418
 
fi
3419
 
 
3420
 
ac_ext=c
3421
 
ac_cpp='$CPP $CPPFLAGS'
3422
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3423
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3424
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3425
 
 
3426
 
depcc="$CC"   am_compiler_list=
3427
 
 
3428
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3429
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3430
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3431
 
  $as_echo_n "(cached) " >&6
3432
 
else
3433
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3434
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3435
 
  # making bogus files that we don't know about and never remove.  For
3436
 
  # instance it was reported that on HP-UX the gcc test will end up
3437
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3438
 
  # in D'.
3439
 
  rm -rf conftest.dir
3440
 
  mkdir conftest.dir
3441
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3442
 
  # using a relative directory.
3443
 
  cp "$am_depcomp" conftest.dir
3444
 
  cd conftest.dir
3445
 
  # We will build objects and dependencies in a subdirectory because
3446
 
  # it helps to detect inapplicable dependency modes.  For instance
3447
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3448
 
  # side effect of compilation, but ICC will put the dependencies in
3449
 
  # the current directory while Tru64 will put them in the object
3450
 
  # directory.
3451
 
  mkdir sub
3452
 
 
3453
 
  am_cv_CC_dependencies_compiler_type=none
3454
 
  if test "$am_compiler_list" = ""; then
3455
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3456
 
  fi
3457
 
  am__universal=false
3458
 
  case " $depcc " in #(
3459
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3460
 
     esac
3461
 
 
3462
 
  for depmode in $am_compiler_list; do
3463
 
    # Setup a source with many dependencies, because some compilers
3464
 
    # like to wrap large dependency lists on column 80 (with \), and
3465
 
    # we should not choose a depcomp mode which is confused by this.
3466
 
    #
3467
 
    # We need to recreate these files for each test, as the compiler may
3468
 
    # overwrite some of them when testing with obscure command lines.
3469
 
    # This happens at least with the AIX C compiler.
3470
 
    : > sub/conftest.c
3471
 
    for i in 1 2 3 4 5 6; do
3472
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3473
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3474
 
      # Solaris 8's {/usr,}/bin/sh.
3475
 
      touch sub/conftst$i.h
3476
 
    done
3477
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3478
 
 
3479
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3480
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3481
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3482
 
    # versions had trouble with output in subdirs
3483
 
    am__obj=sub/conftest.${OBJEXT-o}
3484
 
    am__minus_obj="-o $am__obj"
3485
 
    case $depmode in
3486
 
    gcc)
3487
 
      # This depmode causes a compiler race in universal mode.
3488
 
      test "$am__universal" = false || continue
3489
 
      ;;
3490
 
    nosideeffect)
3491
 
      # after this tag, mechanisms are not by side-effect, so they'll
3492
 
      # only be used when explicitly requested
3493
 
      if test "x$enable_dependency_tracking" = xyes; then
3494
 
        continue
3495
 
      else
3496
 
        break
3497
 
      fi
3498
 
      ;;
3499
 
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3500
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3501
 
      # not run yet.  These depmodes are late enough in the game, and
3502
 
      # so weak that their functioning should not be impacted.
3503
 
      am__obj=conftest.${OBJEXT-o}
3504
 
      am__minus_obj=
3505
 
      ;;
3506
 
    none) break ;;
3507
 
    esac
3508
 
    if depmode=$depmode \
3509
 
       source=sub/conftest.c object=$am__obj \
3510
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3511
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3512
 
         >/dev/null 2>conftest.err &&
3513
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3514
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3515
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3516
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3517
 
      # icc doesn't choke on unknown options, it will just issue warnings
3518
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3519
 
      # that says an option was ignored or not supported.
3520
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3521
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3522
 
      # The diagnosis changed in icc 8.0:
3523
 
      #   icc: Command line remark: option '-MP' not supported
3524
 
      if (grep 'ignoring option' conftest.err ||
3525
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3526
 
        am_cv_CC_dependencies_compiler_type=$depmode
3527
 
        break
3528
 
      fi
3529
 
    fi
3530
 
  done
3531
 
 
3532
 
  cd ..
3533
 
  rm -rf conftest.dir
3534
 
else
3535
 
  am_cv_CC_dependencies_compiler_type=none
3536
 
fi
3537
 
 
3538
 
fi
3539
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3540
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3541
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3542
 
 
3543
 
 if
3544
 
  test "x$enable_dependency_tracking" != xno \
3545
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3546
 
  am__fastdepCC_TRUE=
3547
 
  am__fastdepCC_FALSE='#'
3548
 
else
3549
 
  am__fastdepCC_TRUE='#'
3550
 
  am__fastdepCC_FALSE=
3551
 
fi
3552
 
 
3553
 
 
3554
 
# By default we simply use the C compiler to build assembly code.
3555
 
 
3556
 
test "${CCAS+set}" = set || CCAS=$CC
3557
 
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3558
 
 
3559
 
 
3560
 
 
3561
 
depcc="$CCAS"   am_compiler_list=
3562
 
 
3563
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3564
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
3565
 
if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
3566
 
  $as_echo_n "(cached) " >&6
3567
 
else
3568
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3569
 
  # We make a subdir and do the tests there.  Otherwise we can end up
3570
 
  # making bogus files that we don't know about and never remove.  For
3571
 
  # instance it was reported that on HP-UX the gcc test will end up
3572
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3573
 
  # in D'.
3574
 
  rm -rf conftest.dir
3575
 
  mkdir conftest.dir
3576
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
3577
 
  # using a relative directory.
3578
 
  cp "$am_depcomp" conftest.dir
3579
 
  cd conftest.dir
3580
 
  # We will build objects and dependencies in a subdirectory because
3581
 
  # it helps to detect inapplicable dependency modes.  For instance
3582
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
3583
 
  # side effect of compilation, but ICC will put the dependencies in
3584
 
  # the current directory while Tru64 will put them in the object
3585
 
  # directory.
3586
 
  mkdir sub
3587
 
 
3588
 
  am_cv_CCAS_dependencies_compiler_type=none
3589
 
  if test "$am_compiler_list" = ""; then
3590
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3591
 
  fi
3592
 
  am__universal=false
3593
 
 
3594
 
 
3595
 
  for depmode in $am_compiler_list; do
3596
 
    # Setup a source with many dependencies, because some compilers
3597
 
    # like to wrap large dependency lists on column 80 (with \), and
3598
 
    # we should not choose a depcomp mode which is confused by this.
3599
 
    #
3600
 
    # We need to recreate these files for each test, as the compiler may
3601
 
    # overwrite some of them when testing with obscure command lines.
3602
 
    # This happens at least with the AIX C compiler.
3603
 
    : > sub/conftest.c
3604
 
    for i in 1 2 3 4 5 6; do
3605
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3606
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3607
 
      # Solaris 8's {/usr,}/bin/sh.
3608
 
      touch sub/conftst$i.h
3609
 
    done
3610
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3611
 
 
3612
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3613
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3614
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3615
 
    # versions had trouble with output in subdirs
3616
 
    am__obj=sub/conftest.${OBJEXT-o}
3617
 
    am__minus_obj="-o $am__obj"
3618
 
    case $depmode in
3619
 
    gcc)
3620
 
      # This depmode causes a compiler race in universal mode.
3621
 
      test "$am__universal" = false || continue
3622
 
      ;;
3623
 
    nosideeffect)
3624
 
      # after this tag, mechanisms are not by side-effect, so they'll
3625
 
      # only be used when explicitly requested
3626
 
      if test "x$enable_dependency_tracking" = xyes; then
3627
 
        continue
3628
 
      else
3629
 
        break
3630
 
      fi
3631
 
      ;;
3632
 
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3633
 
      # This compiler won't grok `-c -o', but also, the minuso test has
3634
 
      # not run yet.  These depmodes are late enough in the game, and
3635
 
      # so weak that their functioning should not be impacted.
3636
 
      am__obj=conftest.${OBJEXT-o}
3637
 
      am__minus_obj=
3638
 
      ;;
3639
 
    none) break ;;
3640
 
    esac
3641
 
    if depmode=$depmode \
3642
 
       source=sub/conftest.c object=$am__obj \
3643
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3644
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3645
 
         >/dev/null 2>conftest.err &&
3646
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3647
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3648
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3649
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3650
 
      # icc doesn't choke on unknown options, it will just issue warnings
3651
 
      # or remarks (even with -Werror).  So we grep stderr for any message
3652
 
      # that says an option was ignored or not supported.
3653
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3654
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
3655
 
      # The diagnosis changed in icc 8.0:
3656
 
      #   icc: Command line remark: option '-MP' not supported
3657
 
      if (grep 'ignoring option' conftest.err ||
3658
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3659
 
        am_cv_CCAS_dependencies_compiler_type=$depmode
3660
 
        break
3661
 
      fi
3662
 
    fi
3663
 
  done
3664
 
 
3665
 
  cd ..
3666
 
  rm -rf conftest.dir
3667
 
else
3668
 
  am_cv_CCAS_dependencies_compiler_type=none
3669
 
fi
3670
 
 
3671
 
fi
3672
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
3673
 
$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
3674
 
CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
3675
 
 
3676
 
 if
3677
 
  test "x$enable_dependency_tracking" != xno \
3678
 
  && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
3679
 
  am__fastdepCCAS_TRUE=
3680
 
  am__fastdepCCAS_FALSE='#'
3681
 
else
3682
 
  am__fastdepCCAS_TRUE='#'
3683
 
  am__fastdepCCAS_FALSE=
3684
 
fi
3685
 
 
3686
 
 
3687
 
ac_ext=c
3688
 
ac_cpp='$CPP $CPPFLAGS'
3689
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3690
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3691
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3692
 
if test -n "$ac_tool_prefix"; then
3693
 
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3694
 
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3695
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3696
 
$as_echo_n "checking for $ac_word... " >&6; }
3697
 
if ${ac_cv_prog_CC+:} false; then :
3698
 
  $as_echo_n "(cached) " >&6
3699
 
else
3700
 
  if test -n "$CC"; then
3701
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3702
 
else
3703
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3704
 
for as_dir in $PATH
3705
 
do
3706
 
  IFS=$as_save_IFS
3707
 
  test -z "$as_dir" && as_dir=.
3708
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3709
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3710
 
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3711
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3712
 
    break 2
3713
 
  fi
3714
 
done
3715
 
  done
3716
 
IFS=$as_save_IFS
3717
 
 
3718
 
fi
3719
 
fi
3720
 
CC=$ac_cv_prog_CC
3721
 
if test -n "$CC"; then
3722
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3723
 
$as_echo "$CC" >&6; }
3724
 
else
3725
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726
 
$as_echo "no" >&6; }
3727
 
fi
3728
 
 
3729
 
 
3730
 
fi
3731
 
if test -z "$ac_cv_prog_CC"; then
3732
 
  ac_ct_CC=$CC
3733
 
  # Extract the first word of "gcc", so it can be a program name with args.
3734
 
set dummy gcc; ac_word=$2
3735
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3736
 
$as_echo_n "checking for $ac_word... " >&6; }
3737
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3738
 
  $as_echo_n "(cached) " >&6
3739
 
else
3740
 
  if test -n "$ac_ct_CC"; then
3741
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3742
 
else
3743
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3744
 
for as_dir in $PATH
3745
 
do
3746
 
  IFS=$as_save_IFS
3747
 
  test -z "$as_dir" && as_dir=.
3748
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3749
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3750
 
    ac_cv_prog_ac_ct_CC="gcc"
3751
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3752
 
    break 2
3753
 
  fi
3754
 
done
3755
 
  done
3756
 
IFS=$as_save_IFS
3757
 
 
3758
 
fi
3759
 
fi
3760
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3761
 
if test -n "$ac_ct_CC"; then
3762
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3763
 
$as_echo "$ac_ct_CC" >&6; }
3764
 
else
3765
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3766
 
$as_echo "no" >&6; }
3767
 
fi
3768
 
 
3769
 
  if test "x$ac_ct_CC" = x; then
3770
 
    CC=""
3771
 
  else
3772
 
    case $cross_compiling:$ac_tool_warned in
3773
 
yes:)
3774
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3775
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3776
 
ac_tool_warned=yes ;;
3777
 
esac
3778
 
    CC=$ac_ct_CC
3779
 
  fi
3780
 
else
3781
 
  CC="$ac_cv_prog_CC"
3782
 
fi
3783
 
 
3784
 
if test -z "$CC"; then
3785
 
          if test -n "$ac_tool_prefix"; then
3786
 
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3787
 
set dummy ${ac_tool_prefix}cc; ac_word=$2
3788
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789
 
$as_echo_n "checking for $ac_word... " >&6; }
3790
 
if ${ac_cv_prog_CC+:} false; then :
3791
 
  $as_echo_n "(cached) " >&6
3792
 
else
3793
 
  if test -n "$CC"; then
3794
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3795
 
else
3796
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3797
 
for as_dir in $PATH
3798
 
do
3799
 
  IFS=$as_save_IFS
3800
 
  test -z "$as_dir" && as_dir=.
3801
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3802
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3803
 
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3804
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805
 
    break 2
3806
 
  fi
3807
 
done
3808
 
  done
3809
 
IFS=$as_save_IFS
3810
 
 
3811
 
fi
3812
 
fi
3813
 
CC=$ac_cv_prog_CC
3814
 
if test -n "$CC"; then
3815
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3816
 
$as_echo "$CC" >&6; }
3817
 
else
3818
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819
 
$as_echo "no" >&6; }
3820
 
fi
3821
 
 
3822
 
 
3823
 
  fi
3824
 
fi
3825
 
if test -z "$CC"; then
3826
 
  # Extract the first word of "cc", so it can be a program name with args.
3827
 
set dummy cc; ac_word=$2
3828
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3829
 
$as_echo_n "checking for $ac_word... " >&6; }
3830
 
if ${ac_cv_prog_CC+:} false; then :
3831
 
  $as_echo_n "(cached) " >&6
3832
 
else
3833
 
  if test -n "$CC"; then
3834
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3835
 
else
3836
 
  ac_prog_rejected=no
3837
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838
 
for as_dir in $PATH
3839
 
do
3840
 
  IFS=$as_save_IFS
3841
 
  test -z "$as_dir" && as_dir=.
3842
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3843
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3844
 
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3845
 
       ac_prog_rejected=yes
3846
 
       continue
3847
 
     fi
3848
 
    ac_cv_prog_CC="cc"
3849
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3850
 
    break 2
3851
 
  fi
3852
 
done
3853
 
  done
3854
 
IFS=$as_save_IFS
3855
 
 
3856
 
if test $ac_prog_rejected = yes; then
3857
 
  # We found a bogon in the path, so make sure we never use it.
3858
 
  set dummy $ac_cv_prog_CC
3859
 
  shift
3860
 
  if test $# != 0; then
3861
 
    # We chose a different compiler from the bogus one.
3862
 
    # However, it has the same basename, so the bogon will be chosen
3863
 
    # first if we set CC to just the basename; use the full file name.
3864
 
    shift
3865
 
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3866
 
  fi
3867
 
fi
3868
 
fi
3869
 
fi
3870
 
CC=$ac_cv_prog_CC
3871
 
if test -n "$CC"; then
3872
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3873
 
$as_echo "$CC" >&6; }
3874
 
else
3875
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3876
 
$as_echo "no" >&6; }
3877
 
fi
3878
 
 
3879
 
 
3880
 
fi
3881
 
if test -z "$CC"; then
3882
 
  if test -n "$ac_tool_prefix"; then
3883
 
  for ac_prog in cl.exe
3884
 
  do
3885
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3886
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3887
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3888
 
$as_echo_n "checking for $ac_word... " >&6; }
3889
 
if ${ac_cv_prog_CC+:} false; then :
3890
 
  $as_echo_n "(cached) " >&6
3891
 
else
3892
 
  if test -n "$CC"; then
3893
 
  ac_cv_prog_CC="$CC" # Let the user override the test.
3894
 
else
3895
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3896
 
for as_dir in $PATH
3897
 
do
3898
 
  IFS=$as_save_IFS
3899
 
  test -z "$as_dir" && as_dir=.
3900
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3901
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3902
 
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3903
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3904
 
    break 2
3905
 
  fi
3906
 
done
3907
 
  done
3908
 
IFS=$as_save_IFS
3909
 
 
3910
 
fi
3911
 
fi
3912
 
CC=$ac_cv_prog_CC
3913
 
if test -n "$CC"; then
3914
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3915
 
$as_echo "$CC" >&6; }
3916
 
else
3917
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3918
 
$as_echo "no" >&6; }
3919
 
fi
3920
 
 
3921
 
 
3922
 
    test -n "$CC" && break
3923
 
  done
3924
 
fi
3925
 
if test -z "$CC"; then
3926
 
  ac_ct_CC=$CC
3927
 
  for ac_prog in cl.exe
3928
 
do
3929
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3930
 
set dummy $ac_prog; ac_word=$2
3931
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932
 
$as_echo_n "checking for $ac_word... " >&6; }
3933
 
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3934
 
  $as_echo_n "(cached) " >&6
3935
 
else
3936
 
  if test -n "$ac_ct_CC"; then
3937
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3938
 
else
3939
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3940
 
for as_dir in $PATH
3941
 
do
3942
 
  IFS=$as_save_IFS
3943
 
  test -z "$as_dir" && as_dir=.
3944
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3945
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3946
 
    ac_cv_prog_ac_ct_CC="$ac_prog"
3947
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3948
 
    break 2
3949
 
  fi
3950
 
done
3951
 
  done
3952
 
IFS=$as_save_IFS
3953
 
 
3954
 
fi
3955
 
fi
3956
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3957
 
if test -n "$ac_ct_CC"; then
3958
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3959
 
$as_echo "$ac_ct_CC" >&6; }
3960
 
else
3961
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962
 
$as_echo "no" >&6; }
3963
 
fi
3964
 
 
3965
 
 
3966
 
  test -n "$ac_ct_CC" && break
3967
 
done
3968
 
 
3969
 
  if test "x$ac_ct_CC" = x; then
3970
 
    CC=""
3971
 
  else
3972
 
    case $cross_compiling:$ac_tool_warned in
3973
 
yes:)
3974
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3975
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3976
 
ac_tool_warned=yes ;;
3977
 
esac
3978
 
    CC=$ac_ct_CC
3979
 
  fi
3980
 
fi
3981
 
 
3982
 
fi
3983
 
 
3984
 
 
3985
 
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987
 
as_fn_error $? "no acceptable C compiler found in \$PATH
3988
 
See \`config.log' for more details" "$LINENO" 5; }
3989
 
 
3990
 
# Provide some information about the compiler.
3991
 
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3992
 
set X $ac_compile
3993
 
ac_compiler=$2
3994
 
for ac_option in --version -v -V -qversion; do
3995
 
  { { ac_try="$ac_compiler $ac_option >&5"
3996
 
case "(($ac_try" in
3997
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998
 
  *) ac_try_echo=$ac_try;;
3999
 
esac
4000
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4001
 
$as_echo "$ac_try_echo"; } >&5
4002
 
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4003
 
  ac_status=$?
4004
 
  if test -s conftest.err; then
4005
 
    sed '10a\
4006
 
... rest of stderr output deleted ...
4007
 
         10q' conftest.err >conftest.er1
4008
 
    cat conftest.er1 >&5
4009
 
  fi
4010
 
  rm -f conftest.er1 conftest.err
4011
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012
 
  test $ac_status = 0; }
4013
 
done
4014
 
 
4015
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4016
 
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4017
 
if ${ac_cv_c_compiler_gnu+:} false; then :
4018
 
  $as_echo_n "(cached) " >&6
4019
 
else
4020
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021
 
/* end confdefs.h.  */
4022
 
 
4023
 
int
4024
 
main ()
4025
 
{
4026
 
#ifndef __GNUC__
4027
 
       choke me
4028
 
#endif
4029
 
 
4030
 
  ;
4031
 
  return 0;
4032
 
}
4033
 
_ACEOF
4034
 
if ac_fn_c_try_compile "$LINENO"; then :
4035
 
  ac_compiler_gnu=yes
4036
 
else
4037
 
  ac_compiler_gnu=no
4038
 
fi
4039
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4040
 
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4041
 
 
4042
 
fi
4043
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4044
 
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4045
 
if test $ac_compiler_gnu = yes; then
4046
 
  GCC=yes
4047
 
else
4048
 
  GCC=
4049
 
fi
4050
 
ac_test_CFLAGS=${CFLAGS+set}
4051
 
ac_save_CFLAGS=$CFLAGS
4052
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4053
 
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4054
 
if ${ac_cv_prog_cc_g+:} false; then :
4055
 
  $as_echo_n "(cached) " >&6
4056
 
else
4057
 
  ac_save_c_werror_flag=$ac_c_werror_flag
4058
 
   ac_c_werror_flag=yes
4059
 
   ac_cv_prog_cc_g=no
4060
 
   CFLAGS="-g"
4061
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4062
 
/* end confdefs.h.  */
4063
 
 
4064
 
int
4065
 
main ()
4066
 
{
4067
 
 
4068
 
  ;
4069
 
  return 0;
4070
 
}
4071
 
_ACEOF
4072
 
if ac_fn_c_try_compile "$LINENO"; then :
4073
 
  ac_cv_prog_cc_g=yes
4074
 
else
4075
 
  CFLAGS=""
4076
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077
 
/* end confdefs.h.  */
4078
 
 
4079
 
int
4080
 
main ()
4081
 
{
4082
 
 
4083
 
  ;
4084
 
  return 0;
4085
 
}
4086
 
_ACEOF
4087
 
if ac_fn_c_try_compile "$LINENO"; then :
4088
 
 
4089
 
else
4090
 
  ac_c_werror_flag=$ac_save_c_werror_flag
4091
 
         CFLAGS="-g"
4092
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4093
 
/* end confdefs.h.  */
4094
 
 
4095
 
int
4096
 
main ()
4097
 
{
4098
 
 
4099
 
  ;
4100
 
  return 0;
4101
 
}
4102
 
_ACEOF
4103
 
if ac_fn_c_try_compile "$LINENO"; then :
4104
 
  ac_cv_prog_cc_g=yes
4105
 
fi
4106
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107
 
fi
4108
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4109
 
fi
4110
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4111
 
   ac_c_werror_flag=$ac_save_c_werror_flag
4112
 
fi
4113
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4114
 
$as_echo "$ac_cv_prog_cc_g" >&6; }
4115
 
if test "$ac_test_CFLAGS" = set; then
4116
 
  CFLAGS=$ac_save_CFLAGS
4117
 
elif test $ac_cv_prog_cc_g = yes; then
4118
 
  if test "$GCC" = yes; then
4119
 
    CFLAGS="-g -O2"
4120
 
  else
4121
 
    CFLAGS="-g"
4122
 
  fi
4123
 
else
4124
 
  if test "$GCC" = yes; then
4125
 
    CFLAGS="-O2"
4126
 
  else
4127
 
    CFLAGS=
4128
 
  fi
4129
 
fi
4130
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4131
 
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4132
 
if ${ac_cv_prog_cc_c89+:} false; then :
4133
 
  $as_echo_n "(cached) " >&6
4134
 
else
4135
 
  ac_cv_prog_cc_c89=no
4136
 
ac_save_CC=$CC
4137
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138
 
/* end confdefs.h.  */
4139
 
#include <stdarg.h>
4140
 
#include <stdio.h>
4141
 
struct stat;
4142
 
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4143
 
struct buf { int x; };
4144
 
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4145
 
static char *e (p, i)
4146
 
     char **p;
4147
 
     int i;
4148
 
{
4149
 
  return p[i];
4150
 
}
4151
 
static char *f (char * (*g) (char **, int), char **p, ...)
4152
 
{
4153
 
  char *s;
4154
 
  va_list v;
4155
 
  va_start (v,p);
4156
 
  s = g (p, va_arg (v,int));
4157
 
  va_end (v);
4158
 
  return s;
4159
 
}
4160
 
 
4161
 
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4162
 
   function prototypes and stuff, but not '\xHH' hex character constants.
4163
 
   These don't provoke an error unfortunately, instead are silently treated
4164
 
   as 'x'.  The following induces an error, until -std is added to get
4165
 
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4166
 
   array size at least.  It's necessary to write '\x00'==0 to get something
4167
 
   that's true only with -std.  */
4168
 
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4169
 
 
4170
 
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4171
 
   inside strings and character constants.  */
4172
 
#define FOO(x) 'x'
4173
 
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4174
 
 
4175
 
int test (int i, double x);
4176
 
struct s1 {int (*f) (int a);};
4177
 
struct s2 {int (*f) (double a);};
4178
 
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4179
 
int argc;
4180
 
char **argv;
4181
 
int
4182
 
main ()
4183
 
{
4184
 
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4185
 
  ;
4186
 
  return 0;
4187
 
}
4188
 
_ACEOF
4189
 
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4190
 
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4191
 
do
4192
 
  CC="$ac_save_CC $ac_arg"
4193
 
  if ac_fn_c_try_compile "$LINENO"; then :
4194
 
  ac_cv_prog_cc_c89=$ac_arg
4195
 
fi
4196
 
rm -f core conftest.err conftest.$ac_objext
4197
 
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4198
 
done
4199
 
rm -f conftest.$ac_ext
4200
 
CC=$ac_save_CC
4201
 
 
4202
 
fi
4203
 
# AC_CACHE_VAL
4204
 
case "x$ac_cv_prog_cc_c89" in
4205
 
  x)
4206
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4207
 
$as_echo "none needed" >&6; } ;;
4208
 
  xno)
4209
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4210
 
$as_echo "unsupported" >&6; } ;;
4211
 
  *)
4212
 
    CC="$CC $ac_cv_prog_cc_c89"
4213
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4214
 
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4215
 
esac
4216
 
if test "x$ac_cv_prog_cc_c89" != xno; then :
4217
 
 
4218
 
fi
4219
 
 
4220
 
ac_ext=c
4221
 
ac_cpp='$CPP $CPPFLAGS'
4222
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4223
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4224
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4225
 
 
4226
 
depcc="$CC"   am_compiler_list=
4227
 
 
4228
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4229
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
4230
 
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4231
 
  $as_echo_n "(cached) " >&6
4232
 
else
4233
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4234
 
  # We make a subdir and do the tests there.  Otherwise we can end up
4235
 
  # making bogus files that we don't know about and never remove.  For
4236
 
  # instance it was reported that on HP-UX the gcc test will end up
4237
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4238
 
  # in D'.
4239
 
  rm -rf conftest.dir
4240
 
  mkdir conftest.dir
4241
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
4242
 
  # using a relative directory.
4243
 
  cp "$am_depcomp" conftest.dir
4244
 
  cd conftest.dir
4245
 
  # We will build objects and dependencies in a subdirectory because
4246
 
  # it helps to detect inapplicable dependency modes.  For instance
4247
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
4248
 
  # side effect of compilation, but ICC will put the dependencies in
4249
 
  # the current directory while Tru64 will put them in the object
4250
 
  # directory.
4251
 
  mkdir sub
4252
 
 
4253
 
  am_cv_CC_dependencies_compiler_type=none
4254
 
  if test "$am_compiler_list" = ""; then
4255
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4256
 
  fi
4257
 
  am__universal=false
4258
 
  case " $depcc " in #(
4259
 
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4260
 
     esac
4261
 
 
4262
 
  for depmode in $am_compiler_list; do
4263
 
    # Setup a source with many dependencies, because some compilers
4264
 
    # like to wrap large dependency lists on column 80 (with \), and
4265
 
    # we should not choose a depcomp mode which is confused by this.
4266
 
    #
4267
 
    # We need to recreate these files for each test, as the compiler may
4268
 
    # overwrite some of them when testing with obscure command lines.
4269
 
    # This happens at least with the AIX C compiler.
4270
 
    : > sub/conftest.c
4271
 
    for i in 1 2 3 4 5 6; do
4272
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4273
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4274
 
      # Solaris 8's {/usr,}/bin/sh.
4275
 
      touch sub/conftst$i.h
4276
 
    done
4277
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4278
 
 
4279
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4280
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4281
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
4282
 
    # versions had trouble with output in subdirs
4283
 
    am__obj=sub/conftest.${OBJEXT-o}
4284
 
    am__minus_obj="-o $am__obj"
4285
 
    case $depmode in
4286
 
    gcc)
4287
 
      # This depmode causes a compiler race in universal mode.
4288
 
      test "$am__universal" = false || continue
4289
 
      ;;
4290
 
    nosideeffect)
4291
 
      # after this tag, mechanisms are not by side-effect, so they'll
4292
 
      # only be used when explicitly requested
4293
 
      if test "x$enable_dependency_tracking" = xyes; then
4294
 
        continue
4295
 
      else
4296
 
        break
4297
 
      fi
4298
 
      ;;
4299
 
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4300
 
      # This compiler won't grok `-c -o', but also, the minuso test has
4301
 
      # not run yet.  These depmodes are late enough in the game, and
4302
 
      # so weak that their functioning should not be impacted.
4303
 
      am__obj=conftest.${OBJEXT-o}
4304
 
      am__minus_obj=
4305
 
      ;;
4306
 
    none) break ;;
4307
 
    esac
4308
 
    if depmode=$depmode \
4309
 
       source=sub/conftest.c object=$am__obj \
4310
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4311
 
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4312
 
         >/dev/null 2>conftest.err &&
4313
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4314
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4315
 
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4316
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4317
 
      # icc doesn't choke on unknown options, it will just issue warnings
4318
 
      # or remarks (even with -Werror).  So we grep stderr for any message
4319
 
      # that says an option was ignored or not supported.
4320
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4321
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
4322
 
      # The diagnosis changed in icc 8.0:
4323
 
      #   icc: Command line remark: option '-MP' not supported
4324
 
      if (grep 'ignoring option' conftest.err ||
4325
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4326
 
        am_cv_CC_dependencies_compiler_type=$depmode
4327
 
        break
4328
 
      fi
4329
 
    fi
4330
 
  done
4331
 
 
4332
 
  cd ..
4333
 
  rm -rf conftest.dir
4334
 
else
4335
 
  am_cv_CC_dependencies_compiler_type=none
4336
 
fi
4337
 
 
4338
 
fi
4339
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4340
 
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4341
 
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4342
 
 
4343
 
 if
4344
 
  test "x$enable_dependency_tracking" != xno \
4345
 
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4346
 
  am__fastdepCC_TRUE=
4347
 
  am__fastdepCC_FALSE='#'
4348
 
else
4349
 
  am__fastdepCC_TRUE='#'
4350
 
  am__fastdepCC_FALSE=
4351
 
fi
4352
 
 
4353
 
 
4354
 
if test "x$CC" != xcc; then
4355
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4356
 
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4357
 
else
4358
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4359
 
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4360
 
fi
4361
 
set dummy $CC; ac_cc=`$as_echo "$2" |
4362
 
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4363
 
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4364
 
  $as_echo_n "(cached) " >&6
4365
 
else
4366
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4367
 
/* end confdefs.h.  */
4368
 
 
4369
 
int
4370
 
main ()
4371
 
{
4372
 
 
4373
 
  ;
4374
 
  return 0;
4375
 
}
4376
 
_ACEOF
4377
 
# Make sure it works both with $CC and with simple cc.
4378
 
# We do the test twice because some compilers refuse to overwrite an
4379
 
# existing .o file with -o, though they will create one.
4380
 
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4381
 
rm -f conftest2.*
4382
 
if { { case "(($ac_try" in
4383
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4384
 
  *) ac_try_echo=$ac_try;;
4385
 
esac
4386
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4387
 
$as_echo "$ac_try_echo"; } >&5
4388
 
  (eval "$ac_try") 2>&5
4389
 
  ac_status=$?
4390
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4391
 
  test $ac_status = 0; } &&
4392
 
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
4393
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4394
 
  *) ac_try_echo=$ac_try;;
4395
 
esac
4396
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4397
 
$as_echo "$ac_try_echo"; } >&5
4398
 
  (eval "$ac_try") 2>&5
4399
 
  ac_status=$?
4400
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4401
 
  test $ac_status = 0; };
4402
 
then
4403
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4404
 
  if test "x$CC" != xcc; then
4405
 
    # Test first that cc exists at all.
4406
 
    if { ac_try='cc -c conftest.$ac_ext >&5'
4407
 
  { { case "(($ac_try" in
4408
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4409
 
  *) ac_try_echo=$ac_try;;
4410
 
esac
4411
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4412
 
$as_echo "$ac_try_echo"; } >&5
4413
 
  (eval "$ac_try") 2>&5
4414
 
  ac_status=$?
4415
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4416
 
  test $ac_status = 0; }; }; then
4417
 
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4418
 
      rm -f conftest2.*
4419
 
      if { { case "(($ac_try" in
4420
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4421
 
  *) ac_try_echo=$ac_try;;
4422
 
esac
4423
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4424
 
$as_echo "$ac_try_echo"; } >&5
4425
 
  (eval "$ac_try") 2>&5
4426
 
  ac_status=$?
4427
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4428
 
  test $ac_status = 0; } &&
4429
 
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
4430
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4431
 
  *) ac_try_echo=$ac_try;;
4432
 
esac
4433
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4434
 
$as_echo "$ac_try_echo"; } >&5
4435
 
  (eval "$ac_try") 2>&5
4436
 
  ac_status=$?
4437
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4438
 
  test $ac_status = 0; };
4439
 
      then
4440
 
        # cc works too.
4441
 
        :
4442
 
      else
4443
 
        # cc exists but doesn't like -o.
4444
 
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
4445
 
      fi
4446
 
    fi
4447
 
  fi
4448
 
else
4449
 
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
4450
 
fi
4451
 
rm -f core conftest*
4452
 
 
4453
 
fi
4454
 
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4455
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4456
 
$as_echo "yes" >&6; }
4457
 
else
4458
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459
 
$as_echo "no" >&6; }
4460
 
 
4461
 
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4462
 
 
4463
 
fi
4464
 
 
4465
 
# FIXME: we rely on the cache variable name because
4466
 
# there is no other way.
4467
 
set dummy $CC
4468
 
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4469
 
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4470
 
if test "$am_t" != yes; then
4471
 
   # Losing compiler, so override with the script.
4472
 
   # FIXME: It is wrong to rewrite CC.
4473
 
   # But if we don't then we get into trouble of one sort or another.
4474
 
   # A longer-term fix would be to have automake use am__CC in this case,
4475
 
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4476
 
   CC="$am_aux_dir/compile $CC"
4477
 
fi
4478
 
 
4479
 
 
4480
 
ac_ext=c
4481
 
ac_cpp='$CPP $CPPFLAGS'
4482
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4483
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4484
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4485
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4486
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4487
 
# On Suns, sometimes $CPP names a directory.
4488
 
if test -n "$CPP" && test -d "$CPP"; then
4489
 
  CPP=
4490
 
fi
4491
 
if test -z "$CPP"; then
4492
 
  if ${ac_cv_prog_CPP+:} false; then :
4493
 
  $as_echo_n "(cached) " >&6
4494
 
else
4495
 
      # Double quotes because CPP needs to be expanded
4496
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4497
 
    do
4498
 
      ac_preproc_ok=false
4499
 
for ac_c_preproc_warn_flag in '' yes
4500
 
do
4501
 
  # Use a header file that comes with gcc, so configuring glibc
4502
 
  # with a fresh cross-compiler works.
4503
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4504
 
  # <limits.h> exists even on freestanding compilers.
4505
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4506
 
  # not just through cpp. "Syntax error" is here to catch this case.
4507
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508
 
/* end confdefs.h.  */
4509
 
#ifdef __STDC__
4510
 
# include <limits.h>
4511
 
#else
4512
 
# include <assert.h>
4513
 
#endif
4514
 
                     Syntax error
4515
 
_ACEOF
4516
 
if ac_fn_c_try_cpp "$LINENO"; then :
4517
 
 
4518
 
else
4519
 
  # Broken: fails on valid input.
4520
 
continue
4521
 
fi
4522
 
rm -f conftest.err conftest.i conftest.$ac_ext
4523
 
 
4524
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4525
 
  # can be detected and how.
4526
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527
 
/* end confdefs.h.  */
4528
 
#include <ac_nonexistent.h>
4529
 
_ACEOF
4530
 
if ac_fn_c_try_cpp "$LINENO"; then :
4531
 
  # Broken: success on invalid input.
4532
 
continue
4533
 
else
4534
 
  # Passes both tests.
4535
 
ac_preproc_ok=:
4536
 
break
4537
 
fi
4538
 
rm -f conftest.err conftest.i conftest.$ac_ext
4539
 
 
4540
 
done
4541
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4542
 
rm -f conftest.i conftest.err conftest.$ac_ext
4543
 
if $ac_preproc_ok; then :
4544
 
  break
4545
 
fi
4546
 
 
4547
 
    done
4548
 
    ac_cv_prog_CPP=$CPP
4549
 
 
4550
 
fi
4551
 
  CPP=$ac_cv_prog_CPP
4552
 
else
4553
 
  ac_cv_prog_CPP=$CPP
4554
 
fi
4555
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4556
 
$as_echo "$CPP" >&6; }
4557
 
ac_preproc_ok=false
4558
 
for ac_c_preproc_warn_flag in '' yes
4559
 
do
4560
 
  # Use a header file that comes with gcc, so configuring glibc
4561
 
  # with a fresh cross-compiler works.
4562
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4563
 
  # <limits.h> exists even on freestanding compilers.
4564
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4565
 
  # not just through cpp. "Syntax error" is here to catch this case.
4566
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567
 
/* end confdefs.h.  */
4568
 
#ifdef __STDC__
4569
 
# include <limits.h>
4570
 
#else
4571
 
# include <assert.h>
4572
 
#endif
4573
 
                     Syntax error
4574
 
_ACEOF
4575
 
if ac_fn_c_try_cpp "$LINENO"; then :
4576
 
 
4577
 
else
4578
 
  # Broken: fails on valid input.
4579
 
continue
4580
 
fi
4581
 
rm -f conftest.err conftest.i conftest.$ac_ext
4582
 
 
4583
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4584
 
  # can be detected and how.
4585
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4586
 
/* end confdefs.h.  */
4587
 
#include <ac_nonexistent.h>
4588
 
_ACEOF
4589
 
if ac_fn_c_try_cpp "$LINENO"; then :
4590
 
  # Broken: success on invalid input.
4591
 
continue
4592
 
else
4593
 
  # Passes both tests.
4594
 
ac_preproc_ok=:
4595
 
break
4596
 
fi
4597
 
rm -f conftest.err conftest.i conftest.$ac_ext
4598
 
 
4599
 
done
4600
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4601
 
rm -f conftest.i conftest.err conftest.$ac_ext
4602
 
if $ac_preproc_ok; then :
4603
 
 
4604
 
else
4605
 
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4606
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4607
 
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4608
 
See \`config.log' for more details" "$LINENO" 5; }
4609
 
fi
4610
 
 
4611
 
ac_ext=c
4612
 
ac_cpp='$CPP $CPPFLAGS'
4613
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4616
 
 
4617
 
if test -n "$ac_tool_prefix"; then
4618
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4619
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4620
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4621
 
$as_echo_n "checking for $ac_word... " >&6; }
4622
 
if ${ac_cv_prog_RANLIB+:} false; then :
4623
 
  $as_echo_n "(cached) " >&6
4624
 
else
4625
 
  if test -n "$RANLIB"; then
4626
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4627
 
else
4628
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4629
 
for as_dir in $PATH
4630
 
do
4631
 
  IFS=$as_save_IFS
4632
 
  test -z "$as_dir" && as_dir=.
4633
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4634
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4635
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4636
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4637
 
    break 2
4638
 
  fi
4639
 
done
4640
 
  done
4641
 
IFS=$as_save_IFS
4642
 
 
4643
 
fi
4644
 
fi
4645
 
RANLIB=$ac_cv_prog_RANLIB
4646
 
if test -n "$RANLIB"; then
4647
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4648
 
$as_echo "$RANLIB" >&6; }
4649
 
else
4650
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4651
 
$as_echo "no" >&6; }
4652
 
fi
4653
 
 
4654
 
 
4655
 
fi
4656
 
if test -z "$ac_cv_prog_RANLIB"; then
4657
 
  ac_ct_RANLIB=$RANLIB
4658
 
  # Extract the first word of "ranlib", so it can be a program name with args.
4659
 
set dummy ranlib; ac_word=$2
4660
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4661
 
$as_echo_n "checking for $ac_word... " >&6; }
4662
 
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4663
 
  $as_echo_n "(cached) " >&6
4664
 
else
4665
 
  if test -n "$ac_ct_RANLIB"; then
4666
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4667
 
else
4668
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4669
 
for as_dir in $PATH
4670
 
do
4671
 
  IFS=$as_save_IFS
4672
 
  test -z "$as_dir" && as_dir=.
4673
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4674
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4675
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
4676
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4677
 
    break 2
4678
 
  fi
4679
 
done
4680
 
  done
4681
 
IFS=$as_save_IFS
4682
 
 
4683
 
fi
4684
 
fi
4685
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4686
 
if test -n "$ac_ct_RANLIB"; then
4687
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4688
 
$as_echo "$ac_ct_RANLIB" >&6; }
4689
 
else
4690
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691
 
$as_echo "no" >&6; }
4692
 
fi
4693
 
 
4694
 
  if test "x$ac_ct_RANLIB" = x; then
4695
 
    RANLIB=":"
4696
 
  else
4697
 
    case $cross_compiling:$ac_tool_warned in
4698
 
yes:)
4699
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4700
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4701
 
ac_tool_warned=yes ;;
4702
 
esac
4703
 
    RANLIB=$ac_ct_RANLIB
4704
 
  fi
4705
 
else
4706
 
  RANLIB="$ac_cv_prog_RANLIB"
4707
 
fi
4708
 
 
4709
 
 
4710
 
 
4711
 
if test -n "$ac_tool_prefix"; then
4712
 
  # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4713
 
set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4714
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4715
 
$as_echo_n "checking for $ac_word... " >&6; }
4716
 
if ${ac_cv_prog_OBJCOPY+:} false; then :
4717
 
  $as_echo_n "(cached) " >&6
4718
 
else
4719
 
  if test -n "$OBJCOPY"; then
4720
 
  ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4721
 
else
4722
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4723
 
for as_dir in $PATH
4724
 
do
4725
 
  IFS=$as_save_IFS
4726
 
  test -z "$as_dir" && as_dir=.
4727
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4728
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4729
 
    ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4730
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4731
 
    break 2
4732
 
  fi
4733
 
done
4734
 
  done
4735
 
IFS=$as_save_IFS
4736
 
 
4737
 
fi
4738
 
fi
4739
 
OBJCOPY=$ac_cv_prog_OBJCOPY
4740
 
if test -n "$OBJCOPY"; then
4741
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
4742
 
$as_echo "$OBJCOPY" >&6; }
4743
 
else
4744
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4745
 
$as_echo "no" >&6; }
4746
 
fi
4747
 
 
4748
 
 
4749
 
fi
4750
 
if test -z "$ac_cv_prog_OBJCOPY"; then
4751
 
  ac_ct_OBJCOPY=$OBJCOPY
4752
 
  # Extract the first word of "objcopy", so it can be a program name with args.
4753
 
set dummy objcopy; ac_word=$2
4754
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4755
 
$as_echo_n "checking for $ac_word... " >&6; }
4756
 
if ${ac_cv_prog_ac_ct_OBJCOPY+:} false; then :
4757
 
  $as_echo_n "(cached) " >&6
4758
 
else
4759
 
  if test -n "$ac_ct_OBJCOPY"; then
4760
 
  ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4761
 
else
4762
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4763
 
for as_dir in $PATH
4764
 
do
4765
 
  IFS=$as_save_IFS
4766
 
  test -z "$as_dir" && as_dir=.
4767
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4768
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4769
 
    ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4770
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4771
 
    break 2
4772
 
  fi
4773
 
done
4774
 
  done
4775
 
IFS=$as_save_IFS
4776
 
 
4777
 
fi
4778
 
fi
4779
 
ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4780
 
if test -n "$ac_ct_OBJCOPY"; then
4781
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
4782
 
$as_echo "$ac_ct_OBJCOPY" >&6; }
4783
 
else
4784
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4785
 
$as_echo "no" >&6; }
4786
 
fi
4787
 
 
4788
 
  if test "x$ac_ct_OBJCOPY" = x; then
4789
 
    OBJCOPY=""
4790
 
  else
4791
 
    case $cross_compiling:$ac_tool_warned in
4792
 
yes:)
4793
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4794
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4795
 
ac_tool_warned=yes ;;
4796
 
esac
4797
 
    OBJCOPY=$ac_ct_OBJCOPY
4798
 
  fi
4799
 
else
4800
 
  OBJCOPY="$ac_cv_prog_OBJCOPY"
4801
 
fi
4802
 
 
4803
 
if test -n "$ac_tool_prefix"; then
4804
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4805
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
4806
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4807
 
$as_echo_n "checking for $ac_word... " >&6; }
4808
 
if ${ac_cv_prog_STRIP+:} false; then :
4809
 
  $as_echo_n "(cached) " >&6
4810
 
else
4811
 
  if test -n "$STRIP"; then
4812
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4813
 
else
4814
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4815
 
for as_dir in $PATH
4816
 
do
4817
 
  IFS=$as_save_IFS
4818
 
  test -z "$as_dir" && as_dir=.
4819
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4820
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4821
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4822
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4823
 
    break 2
4824
 
  fi
4825
 
done
4826
 
  done
4827
 
IFS=$as_save_IFS
4828
 
 
4829
 
fi
4830
 
fi
4831
 
STRIP=$ac_cv_prog_STRIP
4832
 
if test -n "$STRIP"; then
4833
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4834
 
$as_echo "$STRIP" >&6; }
4835
 
else
4836
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4837
 
$as_echo "no" >&6; }
4838
 
fi
4839
 
 
4840
 
 
4841
 
fi
4842
 
if test -z "$ac_cv_prog_STRIP"; then
4843
 
  ac_ct_STRIP=$STRIP
4844
 
  # Extract the first word of "strip", so it can be a program name with args.
4845
 
set dummy strip; ac_word=$2
4846
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4847
 
$as_echo_n "checking for $ac_word... " >&6; }
4848
 
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4849
 
  $as_echo_n "(cached) " >&6
4850
 
else
4851
 
  if test -n "$ac_ct_STRIP"; then
4852
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4853
 
else
4854
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4855
 
for as_dir in $PATH
4856
 
do
4857
 
  IFS=$as_save_IFS
4858
 
  test -z "$as_dir" && as_dir=.
4859
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4860
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4861
 
    ac_cv_prog_ac_ct_STRIP="strip"
4862
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4863
 
    break 2
4864
 
  fi
4865
 
done
4866
 
  done
4867
 
IFS=$as_save_IFS
4868
 
 
4869
 
fi
4870
 
fi
4871
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4872
 
if test -n "$ac_ct_STRIP"; then
4873
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4874
 
$as_echo "$ac_ct_STRIP" >&6; }
4875
 
else
4876
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4877
 
$as_echo "no" >&6; }
4878
 
fi
4879
 
 
4880
 
  if test "x$ac_ct_STRIP" = x; then
4881
 
    STRIP=""
4882
 
  else
4883
 
    case $cross_compiling:$ac_tool_warned in
4884
 
yes:)
4885
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4886
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4887
 
ac_tool_warned=yes ;;
4888
 
esac
4889
 
    STRIP=$ac_ct_STRIP
4890
 
  fi
4891
 
else
4892
 
  STRIP="$ac_cv_prog_STRIP"
4893
 
fi
4894
 
 
4895
 
 
4896
 
 
4897
 
 
4898
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4899
 
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4900
 
if ${ac_cv_path_GREP+:} false; then :
4901
 
  $as_echo_n "(cached) " >&6
4902
 
else
4903
 
  if test -z "$GREP"; then
4904
 
  ac_path_GREP_found=false
4905
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4906
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4907
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4908
 
do
4909
 
  IFS=$as_save_IFS
4910
 
  test -z "$as_dir" && as_dir=.
4911
 
    for ac_prog in grep ggrep; do
4912
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4913
 
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4914
 
      as_fn_executable_p "$ac_path_GREP" || continue
4915
 
# Check for GNU ac_path_GREP and select it if it is found.
4916
 
  # Check for GNU $ac_path_GREP
4917
 
case `"$ac_path_GREP" --version 2>&1` in
4918
 
*GNU*)
4919
 
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4920
 
*)
4921
 
  ac_count=0
4922
 
  $as_echo_n 0123456789 >"conftest.in"
4923
 
  while :
4924
 
  do
4925
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4926
 
    mv "conftest.tmp" "conftest.in"
4927
 
    cp "conftest.in" "conftest.nl"
4928
 
    $as_echo 'GREP' >> "conftest.nl"
4929
 
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4930
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4931
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4932
 
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4933
 
      # Best one so far, save it but keep looking for a better one
4934
 
      ac_cv_path_GREP="$ac_path_GREP"
4935
 
      ac_path_GREP_max=$ac_count
4936
 
    fi
4937
 
    # 10*(2^10) chars as input seems more than enough
4938
 
    test $ac_count -gt 10 && break
4939
 
  done
4940
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4941
 
esac
4942
 
 
4943
 
      $ac_path_GREP_found && break 3
4944
 
    done
4945
 
  done
4946
 
  done
4947
 
IFS=$as_save_IFS
4948
 
  if test -z "$ac_cv_path_GREP"; then
4949
 
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4950
 
  fi
4951
 
else
4952
 
  ac_cv_path_GREP=$GREP
4953
 
fi
4954
 
 
4955
 
fi
4956
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4957
 
$as_echo "$ac_cv_path_GREP" >&6; }
4958
 
 GREP="$ac_cv_path_GREP"
4959
 
 
4960
 
 
4961
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4962
 
$as_echo_n "checking for egrep... " >&6; }
4963
 
if ${ac_cv_path_EGREP+:} false; then :
4964
 
  $as_echo_n "(cached) " >&6
4965
 
else
4966
 
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4967
 
   then ac_cv_path_EGREP="$GREP -E"
4968
 
   else
4969
 
     if test -z "$EGREP"; then
4970
 
  ac_path_EGREP_found=false
4971
 
  # Loop through the user's path and test for each of PROGNAME-LIST
4972
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4973
 
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4974
 
do
4975
 
  IFS=$as_save_IFS
4976
 
  test -z "$as_dir" && as_dir=.
4977
 
    for ac_prog in egrep; do
4978
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4979
 
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4980
 
      as_fn_executable_p "$ac_path_EGREP" || continue
4981
 
# Check for GNU ac_path_EGREP and select it if it is found.
4982
 
  # Check for GNU $ac_path_EGREP
4983
 
case `"$ac_path_EGREP" --version 2>&1` in
4984
 
*GNU*)
4985
 
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4986
 
*)
4987
 
  ac_count=0
4988
 
  $as_echo_n 0123456789 >"conftest.in"
4989
 
  while :
4990
 
  do
4991
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4992
 
    mv "conftest.tmp" "conftest.in"
4993
 
    cp "conftest.in" "conftest.nl"
4994
 
    $as_echo 'EGREP' >> "conftest.nl"
4995
 
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4996
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4997
 
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4998
 
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4999
 
      # Best one so far, save it but keep looking for a better one
5000
 
      ac_cv_path_EGREP="$ac_path_EGREP"
5001
 
      ac_path_EGREP_max=$ac_count
5002
 
    fi
5003
 
    # 10*(2^10) chars as input seems more than enough
5004
 
    test $ac_count -gt 10 && break
5005
 
  done
5006
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5007
 
esac
5008
 
 
5009
 
      $ac_path_EGREP_found && break 3
5010
 
    done
5011
 
  done
5012
 
  done
5013
 
IFS=$as_save_IFS
5014
 
  if test -z "$ac_cv_path_EGREP"; then
5015
 
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5016
 
  fi
5017
 
else
5018
 
  ac_cv_path_EGREP=$EGREP
5019
 
fi
5020
 
 
5021
 
   fi
5022
 
fi
5023
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5024
 
$as_echo "$ac_cv_path_EGREP" >&6; }
5025
 
 EGREP="$ac_cv_path_EGREP"
5026
 
 
5027
 
 
5028
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5029
 
$as_echo_n "checking for ANSI C header files... " >&6; }
5030
 
if ${ac_cv_header_stdc+:} false; then :
5031
 
  $as_echo_n "(cached) " >&6
5032
 
else
5033
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5034
 
/* end confdefs.h.  */
5035
 
#include <stdlib.h>
5036
 
#include <stdarg.h>
5037
 
#include <string.h>
5038
 
#include <float.h>
5039
 
 
5040
 
int
5041
 
main ()
5042
 
{
5043
 
 
5044
 
  ;
5045
 
  return 0;
5046
 
}
5047
 
_ACEOF
5048
 
if ac_fn_c_try_compile "$LINENO"; then :
5049
 
  ac_cv_header_stdc=yes
5050
 
else
5051
 
  ac_cv_header_stdc=no
5052
 
fi
5053
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5054
 
 
5055
 
if test $ac_cv_header_stdc = yes; then
5056
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5057
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5058
 
/* end confdefs.h.  */
5059
 
#include <string.h>
5060
 
 
5061
 
_ACEOF
5062
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5063
 
  $EGREP "memchr" >/dev/null 2>&1; then :
5064
 
 
5065
 
else
5066
 
  ac_cv_header_stdc=no
5067
 
fi
5068
 
rm -f conftest*
5069
 
 
5070
 
fi
5071
 
 
5072
 
if test $ac_cv_header_stdc = yes; then
5073
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5074
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5075
 
/* end confdefs.h.  */
5076
 
#include <stdlib.h>
5077
 
 
5078
 
_ACEOF
5079
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5080
 
  $EGREP "free" >/dev/null 2>&1; then :
5081
 
 
5082
 
else
5083
 
  ac_cv_header_stdc=no
5084
 
fi
5085
 
rm -f conftest*
5086
 
 
5087
 
fi
5088
 
 
5089
 
if test $ac_cv_header_stdc = yes; then
5090
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5091
 
  if test "$cross_compiling" = yes; then :
5092
 
  :
5093
 
else
5094
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5095
 
/* end confdefs.h.  */
5096
 
#include <ctype.h>
5097
 
#include <stdlib.h>
5098
 
#if ((' ' & 0x0FF) == 0x020)
5099
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5100
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5101
 
#else
5102
 
# define ISLOWER(c) \
5103
 
                   (('a' <= (c) && (c) <= 'i') \
5104
 
                     || ('j' <= (c) && (c) <= 'r') \
5105
 
                     || ('s' <= (c) && (c) <= 'z'))
5106
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5107
 
#endif
5108
 
 
5109
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5110
 
int
5111
 
main ()
5112
 
{
5113
 
  int i;
5114
 
  for (i = 0; i < 256; i++)
5115
 
    if (XOR (islower (i), ISLOWER (i))
5116
 
        || toupper (i) != TOUPPER (i))
5117
 
      return 2;
5118
 
  return 0;
5119
 
}
5120
 
_ACEOF
5121
 
if ac_fn_c_try_run "$LINENO"; then :
5122
 
 
5123
 
else
5124
 
  ac_cv_header_stdc=no
5125
 
fi
5126
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5127
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
5128
 
fi
5129
 
 
5130
 
fi
5131
 
fi
5132
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5133
 
$as_echo "$ac_cv_header_stdc" >&6; }
5134
 
if test $ac_cv_header_stdc = yes; then
5135
 
 
5136
 
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5137
 
 
5138
 
fi
5139
 
 
5140
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5141
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5142
 
                  inttypes.h stdint.h unistd.h
5143
 
do :
5144
 
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5145
 
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5146
 
"
5147
 
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5148
 
  cat >>confdefs.h <<_ACEOF
5149
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5150
 
_ACEOF
5151
 
 
5152
 
fi
5153
 
 
5154
 
done
5155
 
 
5156
 
 
5157
 
ac_fn_c_check_header_mongrel "$LINENO" "bfd.h" "ac_cv_header_bfd_h" "$ac_includes_default"
5158
 
if test "x$ac_cv_header_bfd_h" = xyes; then :
5159
 
 
5160
 
else
5161
 
  as_fn_error $? "bfd.h not found.
5162
 
bfd.h is usually distributed in a binutils development package." "$LINENO" 5
5163
 
fi
5164
 
 
5165
 
 
5166
 
 
5167
 
if test $cross_compiling = no; then
5168
 
 
5169
 
HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
5170
 
 
5171
 
else
5172
 
  HELP2MAN=:
5173
 
fi
5174
 
 
5175
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system endianness" >&5
5176
 
$as_echo_n "checking build system endianness... " >&6; }
5177
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5178
 
/* end confdefs.h.  */
5179
 
#include <endian.h>
5180
 
int
5181
 
main ()
5182
 
{
5183
 
#if __BYTE_ORDER != __LITTLE_ENDIAN
5184
 
                   #error
5185
 
                   #endif
5186
 
  ;
5187
 
  return 0;
5188
 
}
5189
 
_ACEOF
5190
 
if ac_fn_c_try_cpp "$LINENO"; then :
5191
 
  endian=little
5192
 
  little_endian=1
5193
 
  big_endian=0
5194
 
fi
5195
 
rm -f conftest.err conftest.i conftest.$ac_ext
5196
 
 
5197
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5198
 
/* end confdefs.h.  */
5199
 
#include <endian.h>
5200
 
int
5201
 
main ()
5202
 
{
5203
 
#if __BYTE_ORDER != __BIG_ENDIAN
5204
 
                   #error
5205
 
                   #endif
5206
 
  ;
5207
 
  return 0;
5208
 
}
5209
 
_ACEOF
5210
 
if ac_fn_c_try_cpp "$LINENO"; then :
5211
 
  endian=big
5212
 
  little_endian=0
5213
 
  big_endian=1
5214
 
fi
5215
 
rm -f conftest.err conftest.i conftest.$ac_ext
5216
 
 
5217
 
 
5218
 
if test x"$endian" != "xbig" -a x"$endian" != "xlittle"; then
5219
 
  as_fn_error $? "Can't determine endianness; is endian.h present?" "$LINENO" 5
5220
 
fi
5221
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $endian" >&5
5222
 
$as_echo "$endian" >&6; }
5223
 
 
5224
 
cat >>confdefs.h <<_ACEOF
5225
 
#define HAVE_LITTLE_ENDIAN $little_endian
5226
 
_ACEOF
5227
 
 
5228
 
 
5229
 
cat >>confdefs.h <<_ACEOF
5230
 
#define HAVE_BIG_ENDIAN $big_endian
5231
 
_ACEOF
5232
 
 
5233
 
 
5234
 
 
5235
 
 
5236
 
 
5237
 
 
5238
 
 
5239
 
 
5240
 
 
5241
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5242
 
        if test -n "$ac_tool_prefix"; then
5243
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5244
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5245
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5246
 
$as_echo_n "checking for $ac_word... " >&6; }
5247
 
if ${ac_cv_path_PKG_CONFIG+:} false; then :
5248
 
  $as_echo_n "(cached) " >&6
5249
 
else
5250
 
  case $PKG_CONFIG in
5251
 
  [\\/]* | ?:[\\/]*)
5252
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5253
 
  ;;
5254
 
  *)
5255
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256
 
for as_dir in $PATH
5257
 
do
5258
 
  IFS=$as_save_IFS
5259
 
  test -z "$as_dir" && as_dir=.
5260
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5261
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5262
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5263
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5264
 
    break 2
5265
 
  fi
5266
 
done
5267
 
  done
5268
 
IFS=$as_save_IFS
5269
 
 
5270
 
  ;;
5271
 
esac
5272
 
fi
5273
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5274
 
if test -n "$PKG_CONFIG"; then
5275
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5276
 
$as_echo "$PKG_CONFIG" >&6; }
5277
 
else
5278
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5279
 
$as_echo "no" >&6; }
5280
 
fi
5281
 
 
5282
 
 
5283
 
fi
5284
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
5285
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
5286
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
5287
 
set dummy pkg-config; ac_word=$2
5288
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5289
 
$as_echo_n "checking for $ac_word... " >&6; }
5290
 
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5291
 
  $as_echo_n "(cached) " >&6
5292
 
else
5293
 
  case $ac_pt_PKG_CONFIG in
5294
 
  [\\/]* | ?:[\\/]*)
5295
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5296
 
  ;;
5297
 
  *)
5298
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5299
 
for as_dir in $PATH
5300
 
do
5301
 
  IFS=$as_save_IFS
5302
 
  test -z "$as_dir" && as_dir=.
5303
 
    for ac_exec_ext in '' $ac_executable_extensions; do
5304
 
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5305
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5306
 
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5307
 
    break 2
5308
 
  fi
5309
 
done
5310
 
  done
5311
 
IFS=$as_save_IFS
5312
 
 
5313
 
  ;;
5314
 
esac
5315
 
fi
5316
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5317
 
if test -n "$ac_pt_PKG_CONFIG"; then
5318
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5319
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
5320
 
else
5321
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5322
 
$as_echo "no" >&6; }
5323
 
fi
5324
 
 
5325
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
5326
 
    PKG_CONFIG=""
5327
 
  else
5328
 
    case $cross_compiling:$ac_tool_warned in
5329
 
yes:)
5330
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5331
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5332
 
ac_tool_warned=yes ;;
5333
 
esac
5334
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
5335
 
  fi
5336
 
else
5337
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5338
 
fi
5339
 
 
5340
 
fi
5341
 
if test -n "$PKG_CONFIG"; then
5342
 
        _pkg_min_version=0.9.0
5343
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5344
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5345
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5346
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5347
 
$as_echo "yes" >&6; }
5348
 
        else
5349
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5350
 
$as_echo "no" >&6; }
5351
 
                PKG_CONFIG=""
5352
 
        fi
5353
 
fi
5354
 
 
5355
 
pkg_failed=no
5356
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcrypto" >&5
5357
 
$as_echo_n "checking for libcrypto... " >&6; }
5358
 
 
5359
 
if test -n "$libcrypto_CFLAGS"; then
5360
 
    pkg_cv_libcrypto_CFLAGS="$libcrypto_CFLAGS"
5361
 
 elif test -n "$PKG_CONFIG"; then
5362
 
    if test -n "$PKG_CONFIG" && \
5363
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto\""; } >&5
5364
 
  ($PKG_CONFIG --exists --print-errors "libcrypto") 2>&5
5365
 
  ac_status=$?
5366
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5367
 
  test $ac_status = 0; }; then
5368
 
  pkg_cv_libcrypto_CFLAGS=`$PKG_CONFIG --cflags "libcrypto" 2>/dev/null`
5369
 
                      test "x$?" != "x0" && pkg_failed=yes
5370
 
else
5371
 
  pkg_failed=yes
5372
 
fi
5373
 
 else
5374
 
    pkg_failed=untried
5375
 
fi
5376
 
if test -n "$libcrypto_LIBS"; then
5377
 
    pkg_cv_libcrypto_LIBS="$libcrypto_LIBS"
5378
 
 elif test -n "$PKG_CONFIG"; then
5379
 
    if test -n "$PKG_CONFIG" && \
5380
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto\""; } >&5
5381
 
  ($PKG_CONFIG --exists --print-errors "libcrypto") 2>&5
5382
 
  ac_status=$?
5383
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5384
 
  test $ac_status = 0; }; then
5385
 
  pkg_cv_libcrypto_LIBS=`$PKG_CONFIG --libs "libcrypto" 2>/dev/null`
5386
 
                      test "x$?" != "x0" && pkg_failed=yes
5387
 
else
5388
 
  pkg_failed=yes
5389
 
fi
5390
 
 else
5391
 
    pkg_failed=untried
5392
 
fi
5393
 
 
5394
 
 
5395
 
 
5396
 
if test $pkg_failed = yes; then
5397
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398
 
$as_echo "no" >&6; }
5399
 
 
5400
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5401
 
        _pkg_short_errors_supported=yes
5402
 
else
5403
 
        _pkg_short_errors_supported=no
5404
 
fi
5405
 
        if test $_pkg_short_errors_supported = yes; then
5406
 
                libcrypto_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto" 2>&1`
5407
 
        else
5408
 
                libcrypto_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto" 2>&1`
5409
 
        fi
5410
 
        # Put the nasty error message in config.log where it belongs
5411
 
        echo "$libcrypto_PKG_ERRORS" >&5
5412
 
 
5413
 
        as_fn_error $? "libcrypto (from the OpenSSL package) is required" "$LINENO" 5
5414
 
elif test $pkg_failed = untried; then
5415
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416
 
$as_echo "no" >&6; }
5417
 
        as_fn_error $? "libcrypto (from the OpenSSL package) is required" "$LINENO" 5
5418
 
else
5419
 
        libcrypto_CFLAGS=$pkg_cv_libcrypto_CFLAGS
5420
 
        libcrypto_LIBS=$pkg_cv_libcrypto_LIBS
5421
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5422
 
$as_echo "yes" >&6; }
5423
 
 
5424
 
fi
5425
 
 
5426
 
 
5427
 
pkg_failed=no
5428
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid" >&5
5429
 
$as_echo_n "checking for uuid... " >&6; }
5430
 
 
5431
 
if test -n "$uuid_CFLAGS"; then
5432
 
    pkg_cv_uuid_CFLAGS="$uuid_CFLAGS"
5433
 
 elif test -n "$PKG_CONFIG"; then
5434
 
    if test -n "$PKG_CONFIG" && \
5435
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
5436
 
  ($PKG_CONFIG --exists --print-errors "uuid") 2>&5
5437
 
  ac_status=$?
5438
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5439
 
  test $ac_status = 0; }; then
5440
 
  pkg_cv_uuid_CFLAGS=`$PKG_CONFIG --cflags "uuid" 2>/dev/null`
5441
 
                      test "x$?" != "x0" && pkg_failed=yes
5442
 
else
5443
 
  pkg_failed=yes
5444
 
fi
5445
 
 else
5446
 
    pkg_failed=untried
5447
 
fi
5448
 
if test -n "$uuid_LIBS"; then
5449
 
    pkg_cv_uuid_LIBS="$uuid_LIBS"
5450
 
 elif test -n "$PKG_CONFIG"; then
5451
 
    if test -n "$PKG_CONFIG" && \
5452
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
5453
 
  ($PKG_CONFIG --exists --print-errors "uuid") 2>&5
5454
 
  ac_status=$?
5455
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5456
 
  test $ac_status = 0; }; then
5457
 
  pkg_cv_uuid_LIBS=`$PKG_CONFIG --libs "uuid" 2>/dev/null`
5458
 
                      test "x$?" != "x0" && pkg_failed=yes
5459
 
else
5460
 
  pkg_failed=yes
5461
 
fi
5462
 
 else
5463
 
    pkg_failed=untried
5464
 
fi
5465
 
 
5466
 
 
5467
 
 
5468
 
if test $pkg_failed = yes; then
5469
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5470
 
$as_echo "no" >&6; }
5471
 
 
5472
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5473
 
        _pkg_short_errors_supported=yes
5474
 
else
5475
 
        _pkg_short_errors_supported=no
5476
 
fi
5477
 
        if test $_pkg_short_errors_supported = yes; then
5478
 
                uuid_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid" 2>&1`
5479
 
        else
5480
 
                uuid_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid" 2>&1`
5481
 
        fi
5482
 
        # Put the nasty error message in config.log where it belongs
5483
 
        echo "$uuid_PKG_ERRORS" >&5
5484
 
 
5485
 
        as_fn_error $? "libuuid (from the uuid package) is required" "$LINENO" 5
5486
 
elif test $pkg_failed = untried; then
5487
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488
 
$as_echo "no" >&6; }
5489
 
        as_fn_error $? "libuuid (from the uuid package) is required" "$LINENO" 5
5490
 
else
5491
 
        uuid_CFLAGS=$pkg_cv_uuid_CFLAGS
5492
 
        uuid_LIBS=$pkg_cv_uuid_LIBS
5493
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5494
 
$as_echo "yes" >&6; }
5495
 
 
5496
 
fi
5497
 
 
5498
 
EFI_ARCH=$(uname -m)
5499
 
EFI_CPPFLAGS="-I/usr/include/efi -I/usr/include/efi/$EFI_ARCH \
5500
 
 -DEFI_FUNCTION_WRAPPER"
5501
 
CPPFLAGS_save="$CPPFLAGS"
5502
 
CPPFLAGS="$CPPFLAGS $EFI_CPPFLAGS"
5503
 
for ac_header in efi.h
5504
 
do :
5505
 
  ac_fn_c_check_header_compile "$LINENO" "efi.h" "ac_cv_header_efi_h" "$EFI_INCLUDES
5506
 
"
5507
 
if test "x$ac_cv_header_efi_h" = xyes; then :
5508
 
  cat >>confdefs.h <<_ACEOF
5509
 
#define HAVE_EFI_H 1
5510
 
_ACEOF
5511
 
 
5512
 
fi
5513
 
 
5514
 
done
5515
 
 
5516
 
CPPFLAGS="$CPPFLAGS_save"
5517
 
EFI_CPPFLAGS=$EFI_CPPFLAGS
5518
 
 
5519
 
 
5520
 
ac_config_files="$ac_config_files Makefile src/Makefile lib/ccan/Makefile docs/Makefile tests/Makefile"
5521
 
 
5522
 
cat >confcache <<\_ACEOF
5523
 
# This file is a shell script that caches the results of configure
5524
 
# tests run on this system so they can be shared between configure
5525
 
# scripts and configure runs, see configure's option --config-cache.
5526
 
# It is not useful on other systems.  If it contains results you don't
5527
 
# want to keep, you may remove or edit it.
5528
 
#
5529
 
# config.status only pays attention to the cache file if you give it
5530
 
# the --recheck option to rerun configure.
5531
 
#
5532
 
# `ac_cv_env_foo' variables (set or unset) will be overridden when
5533
 
# loading this file, other *unset* `ac_cv_foo' will be assigned the
5534
 
# following values.
5535
 
 
5536
 
_ACEOF
5537
 
 
5538
 
# The following way of writing the cache mishandles newlines in values,
5539
 
# but we know of no workaround that is simple, portable, and efficient.
5540
 
# So, we kill variables containing newlines.
5541
 
# Ultrix sh set writes to stderr and can't be redirected directly,
5542
 
# and sets the high bit in the cache file unless we assign to the vars.
5543
 
(
5544
 
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5545
 
    eval ac_val=\$$ac_var
5546
 
    case $ac_val in #(
5547
 
    *${as_nl}*)
5548
 
      case $ac_var in #(
5549
 
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5550
 
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5551
 
      esac
5552
 
      case $ac_var in #(
5553
 
      _ | IFS | as_nl) ;; #(
5554
 
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5555
 
      *) { eval $ac_var=; unset $ac_var;} ;;
5556
 
      esac ;;
5557
 
    esac
5558
 
  done
5559
 
 
5560
 
  (set) 2>&1 |
5561
 
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5562
 
    *${as_nl}ac_space=\ *)
5563
 
      # `set' does not quote correctly, so add quotes: double-quote
5564
 
      # substitution turns \\\\ into \\, and sed turns \\ into \.
5565
 
      sed -n \
5566
 
        "s/'/'\\\\''/g;
5567
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5568
 
      ;; #(
5569
 
    *)
5570
 
      # `set' quotes correctly as required by POSIX, so do not add quotes.
5571
 
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5572
 
      ;;
5573
 
    esac |
5574
 
    sort
5575
 
) |
5576
 
  sed '
5577
 
     /^ac_cv_env_/b end
5578
 
     t clear
5579
 
     :clear
5580
 
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5581
 
     t end
5582
 
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5583
 
     :end' >>confcache
5584
 
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5585
 
  if test -w "$cache_file"; then
5586
 
    if test "x$cache_file" != "x/dev/null"; then
5587
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5588
 
$as_echo "$as_me: updating cache $cache_file" >&6;}
5589
 
      if test ! -f "$cache_file" || test -h "$cache_file"; then
5590
 
        cat confcache >"$cache_file"
5591
 
      else
5592
 
        case $cache_file in #(
5593
 
        */* | ?:*)
5594
 
          mv -f confcache "$cache_file"$$ &&
5595
 
          mv -f "$cache_file"$$ "$cache_file" ;; #(
5596
 
        *)
5597
 
          mv -f confcache "$cache_file" ;;
5598
 
        esac
5599
 
      fi
5600
 
    fi
5601
 
  else
5602
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5603
 
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5604
 
  fi
5605
 
fi
5606
 
rm -f confcache
5607
 
 
5608
 
test "x$prefix" = xNONE && prefix=$ac_default_prefix
5609
 
# Let make expand exec_prefix.
5610
 
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5611
 
 
5612
 
DEFS=-DHAVE_CONFIG_H
5613
 
 
5614
 
ac_libobjs=
5615
 
ac_ltlibobjs=
5616
 
U=
5617
 
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5618
 
  # 1. Remove the extension, and $U if already installed.
5619
 
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5620
 
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5621
 
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5622
 
  #    will be set to the directory where LIBOBJS objects are built.
5623
 
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5624
 
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5625
 
done
5626
 
LIBOBJS=$ac_libobjs
5627
 
 
5628
 
LTLIBOBJS=$ac_ltlibobjs
5629
 
 
5630
 
 
5631
 
 if test -n "$EXEEXT"; then
5632
 
  am__EXEEXT_TRUE=
5633
 
  am__EXEEXT_FALSE='#'
5634
 
else
5635
 
  am__EXEEXT_TRUE='#'
5636
 
  am__EXEEXT_FALSE=
5637
 
fi
5638
 
 
5639
 
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5640
 
  as_fn_error $? "conditional \"AMDEP\" was never defined.
5641
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5642
 
fi
5643
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5644
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5645
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5646
 
fi
5647
 
if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
5648
 
  as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
5649
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5650
 
fi
5651
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5652
 
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5653
 
Usually this means the macro was only invoked conditionally." "$LINENO" 5
5654
 
fi
5655
 
 
5656
 
: "${CONFIG_STATUS=./config.status}"
5657
 
ac_write_fail=0
5658
 
ac_clean_files_save=$ac_clean_files
5659
 
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5660
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5661
 
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5662
 
as_write_fail=0
5663
 
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5664
 
#! $SHELL
5665
 
# Generated by $as_me.
5666
 
# Run this file to recreate the current configuration.
5667
 
# Compiler output produced by configure, useful for debugging
5668
 
# configure, is in config.log if it exists.
5669
 
 
5670
 
debug=false
5671
 
ac_cs_recheck=false
5672
 
ac_cs_silent=false
5673
 
 
5674
 
SHELL=\${CONFIG_SHELL-$SHELL}
5675
 
export SHELL
5676
 
_ASEOF
5677
 
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5678
 
## -------------------- ##
5679
 
## M4sh Initialization. ##
5680
 
## -------------------- ##
5681
 
 
5682
 
# Be more Bourne compatible
5683
 
DUALCASE=1; export DUALCASE # for MKS sh
5684
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5685
 
  emulate sh
5686
 
  NULLCMD=:
5687
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5688
 
  # is contrary to our usage.  Disable this feature.
5689
 
  alias -g '${1+"$@"}'='"$@"'
5690
 
  setopt NO_GLOB_SUBST
5691
 
else
5692
 
  case `(set -o) 2>/dev/null` in #(
5693
 
  *posix*) :
5694
 
    set -o posix ;; #(
5695
 
  *) :
5696
 
     ;;
5697
 
esac
5698
 
fi
5699
 
 
5700
 
 
5701
 
as_nl='
5702
 
'
5703
 
export as_nl
5704
 
# Printing a long string crashes Solaris 7 /usr/bin/printf.
5705
 
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5706
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5707
 
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5708
 
# Prefer a ksh shell builtin over an external printf program on Solaris,
5709
 
# but without wasting forks for bash or zsh.
5710
 
if test -z "$BASH_VERSION$ZSH_VERSION" \
5711
 
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5712
 
  as_echo='print -r --'
5713
 
  as_echo_n='print -rn --'
5714
 
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5715
 
  as_echo='printf %s\n'
5716
 
  as_echo_n='printf %s'
5717
 
else
5718
 
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5719
 
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5720
 
    as_echo_n='/usr/ucb/echo -n'
5721
 
  else
5722
 
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5723
 
    as_echo_n_body='eval
5724
 
      arg=$1;
5725
 
      case $arg in #(
5726
 
      *"$as_nl"*)
5727
 
        expr "X$arg" : "X\\(.*\\)$as_nl";
5728
 
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5729
 
      esac;
5730
 
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5731
 
    '
5732
 
    export as_echo_n_body
5733
 
    as_echo_n='sh -c $as_echo_n_body as_echo'
5734
 
  fi
5735
 
  export as_echo_body
5736
 
  as_echo='sh -c $as_echo_body as_echo'
5737
 
fi
5738
 
 
5739
 
# The user is always right.
5740
 
if test "${PATH_SEPARATOR+set}" != set; then
5741
 
  PATH_SEPARATOR=:
5742
 
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5743
 
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5744
 
      PATH_SEPARATOR=';'
5745
 
  }
5746
 
fi
5747
 
 
5748
 
 
5749
 
# IFS
5750
 
# We need space, tab and new line, in precisely that order.  Quoting is
5751
 
# there to prevent editors from complaining about space-tab.
5752
 
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5753
 
# splitting by setting IFS to empty value.)
5754
 
IFS=" ""        $as_nl"
5755
 
 
5756
 
# Find who we are.  Look in the path if we contain no directory separator.
5757
 
as_myself=
5758
 
case $0 in #((
5759
 
  *[\\/]* ) as_myself=$0 ;;
5760
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761
 
for as_dir in $PATH
5762
 
do
5763
 
  IFS=$as_save_IFS
5764
 
  test -z "$as_dir" && as_dir=.
5765
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5766
 
  done
5767
 
IFS=$as_save_IFS
5768
 
 
5769
 
     ;;
5770
 
esac
5771
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
5772
 
# in which case we are not to be found in the path.
5773
 
if test "x$as_myself" = x; then
5774
 
  as_myself=$0
5775
 
fi
5776
 
if test ! -f "$as_myself"; then
5777
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5778
 
  exit 1
5779
 
fi
5780
 
 
5781
 
# Unset variables that we do not need and which cause bugs (e.g. in
5782
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5783
 
# suppresses any "Segmentation fault" message there.  '((' could
5784
 
# trigger a bug in pdksh 5.2.14.
5785
 
for as_var in BASH_ENV ENV MAIL MAILPATH
5786
 
do eval test x\${$as_var+set} = xset \
5787
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5788
 
done
5789
 
PS1='$ '
5790
 
PS2='> '
5791
 
PS4='+ '
5792
 
 
5793
 
# NLS nuisances.
5794
 
LC_ALL=C
5795
 
export LC_ALL
5796
 
LANGUAGE=C
5797
 
export LANGUAGE
5798
 
 
5799
 
# CDPATH.
5800
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5801
 
 
5802
 
 
5803
 
# as_fn_error STATUS ERROR [LINENO LOG_FD]
5804
 
# ----------------------------------------
5805
 
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5806
 
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5807
 
# script with STATUS, using 1 if that was 0.
5808
 
as_fn_error ()
5809
 
{
5810
 
  as_status=$1; test $as_status -eq 0 && as_status=1
5811
 
  if test "$4"; then
5812
 
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5813
 
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5814
 
  fi
5815
 
  $as_echo "$as_me: error: $2" >&2
5816
 
  as_fn_exit $as_status
5817
 
} # as_fn_error
5818
 
 
5819
 
 
5820
 
# as_fn_set_status STATUS
5821
 
# -----------------------
5822
 
# Set $? to STATUS, without forking.
5823
 
as_fn_set_status ()
5824
 
{
5825
 
  return $1
5826
 
} # as_fn_set_status
5827
 
 
5828
 
# as_fn_exit STATUS
5829
 
# -----------------
5830
 
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5831
 
as_fn_exit ()
5832
 
{
5833
 
  set +e
5834
 
  as_fn_set_status $1
5835
 
  exit $1
5836
 
} # as_fn_exit
5837
 
 
5838
 
# as_fn_unset VAR
5839
 
# ---------------
5840
 
# Portably unset VAR.
5841
 
as_fn_unset ()
5842
 
{
5843
 
  { eval $1=; unset $1;}
5844
 
}
5845
 
as_unset=as_fn_unset
5846
 
# as_fn_append VAR VALUE
5847
 
# ----------------------
5848
 
# Append the text in VALUE to the end of the definition contained in VAR. Take
5849
 
# advantage of any shell optimizations that allow amortized linear growth over
5850
 
# repeated appends, instead of the typical quadratic growth present in naive
5851
 
# implementations.
5852
 
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5853
 
  eval 'as_fn_append ()
5854
 
  {
5855
 
    eval $1+=\$2
5856
 
  }'
5857
 
else
5858
 
  as_fn_append ()
5859
 
  {
5860
 
    eval $1=\$$1\$2
5861
 
  }
5862
 
fi # as_fn_append
5863
 
 
5864
 
# as_fn_arith ARG...
5865
 
# ------------------
5866
 
# Perform arithmetic evaluation on the ARGs, and store the result in the
5867
 
# global $as_val. Take advantage of shells that can avoid forks. The arguments
5868
 
# must be portable across $(()) and expr.
5869
 
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5870
 
  eval 'as_fn_arith ()
5871
 
  {
5872
 
    as_val=$(( $* ))
5873
 
  }'
5874
 
else
5875
 
  as_fn_arith ()
5876
 
  {
5877
 
    as_val=`expr "$@" || test $? -eq 1`
5878
 
  }
5879
 
fi # as_fn_arith
5880
 
 
5881
 
 
5882
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
5883
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5884
 
  as_expr=expr
5885
 
else
5886
 
  as_expr=false
5887
 
fi
5888
 
 
5889
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5890
 
  as_basename=basename
5891
 
else
5892
 
  as_basename=false
5893
 
fi
5894
 
 
5895
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5896
 
  as_dirname=dirname
5897
 
else
5898
 
  as_dirname=false
5899
 
fi
5900
 
 
5901
 
as_me=`$as_basename -- "$0" ||
5902
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5903
 
         X"$0" : 'X\(//\)$' \| \
5904
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5905
 
$as_echo X/"$0" |
5906
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
5907
 
            s//\1/
5908
 
            q
5909
 
          }
5910
 
          /^X\/\(\/\/\)$/{
5911
 
            s//\1/
5912
 
            q
5913
 
          }
5914
 
          /^X\/\(\/\).*/{
5915
 
            s//\1/
5916
 
            q
5917
 
          }
5918
 
          s/.*/./; q'`
5919
 
 
5920
 
# Avoid depending upon Character Ranges.
5921
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5922
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5923
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5924
 
as_cr_digits='0123456789'
5925
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
5926
 
 
5927
 
ECHO_C= ECHO_N= ECHO_T=
5928
 
case `echo -n x` in #(((((
5929
 
-n*)
5930
 
  case `echo 'xy\c'` in
5931
 
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5932
 
  xy)  ECHO_C='\c';;
5933
 
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5934
 
       ECHO_T=' ';;
5935
 
  esac;;
5936
 
*)
5937
 
  ECHO_N='-n';;
5938
 
esac
5939
 
 
5940
 
rm -f conf$$ conf$$.exe conf$$.file
5941
 
if test -d conf$$.dir; then
5942
 
  rm -f conf$$.dir/conf$$.file
5943
 
else
5944
 
  rm -f conf$$.dir
5945
 
  mkdir conf$$.dir 2>/dev/null
5946
 
fi
5947
 
if (echo >conf$$.file) 2>/dev/null; then
5948
 
  if ln -s conf$$.file conf$$ 2>/dev/null; then
5949
 
    as_ln_s='ln -s'
5950
 
    # ... but there are two gotchas:
5951
 
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5952
 
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5953
 
    # In both cases, we have to default to `cp -pR'.
5954
 
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5955
 
      as_ln_s='cp -pR'
5956
 
  elif ln conf$$.file conf$$ 2>/dev/null; then
5957
 
    as_ln_s=ln
5958
 
  else
5959
 
    as_ln_s='cp -pR'
5960
 
  fi
5961
 
else
5962
 
  as_ln_s='cp -pR'
5963
 
fi
5964
 
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5965
 
rmdir conf$$.dir 2>/dev/null
5966
 
 
5967
 
 
5968
 
# as_fn_mkdir_p
5969
 
# -------------
5970
 
# Create "$as_dir" as a directory, including parents if necessary.
5971
 
as_fn_mkdir_p ()
5972
 
{
5973
 
 
5974
 
  case $as_dir in #(
5975
 
  -*) as_dir=./$as_dir;;
5976
 
  esac
5977
 
  test -d "$as_dir" || eval $as_mkdir_p || {
5978
 
    as_dirs=
5979
 
    while :; do
5980
 
      case $as_dir in #(
5981
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5982
 
      *) as_qdir=$as_dir;;
5983
 
      esac
5984
 
      as_dirs="'$as_qdir' $as_dirs"
5985
 
      as_dir=`$as_dirname -- "$as_dir" ||
5986
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5987
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
5988
 
         X"$as_dir" : 'X\(//\)$' \| \
5989
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5990
 
$as_echo X"$as_dir" |
5991
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5992
 
            s//\1/
5993
 
            q
5994
 
          }
5995
 
          /^X\(\/\/\)[^/].*/{
5996
 
            s//\1/
5997
 
            q
5998
 
          }
5999
 
          /^X\(\/\/\)$/{
6000
 
            s//\1/
6001
 
            q
6002
 
          }
6003
 
          /^X\(\/\).*/{
6004
 
            s//\1/
6005
 
            q
6006
 
          }
6007
 
          s/.*/./; q'`
6008
 
      test -d "$as_dir" && break
6009
 
    done
6010
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
6011
 
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6012
 
 
6013
 
 
6014
 
} # as_fn_mkdir_p
6015
 
if mkdir -p . 2>/dev/null; then
6016
 
  as_mkdir_p='mkdir -p "$as_dir"'
6017
 
else
6018
 
  test -d ./-p && rmdir ./-p
6019
 
  as_mkdir_p=false
6020
 
fi
6021
 
 
6022
 
 
6023
 
# as_fn_executable_p FILE
6024
 
# -----------------------
6025
 
# Test if FILE is an executable regular file.
6026
 
as_fn_executable_p ()
6027
 
{
6028
 
  test -f "$1" && test -x "$1"
6029
 
} # as_fn_executable_p
6030
 
as_test_x='test -x'
6031
 
as_executable_p=as_fn_executable_p
6032
 
 
6033
 
# Sed expression to map a string onto a valid CPP name.
6034
 
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6035
 
 
6036
 
# Sed expression to map a string onto a valid variable name.
6037
 
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6038
 
 
6039
 
 
6040
 
exec 6>&1
6041
 
## ----------------------------------- ##
6042
 
## Main body of $CONFIG_STATUS script. ##
6043
 
## ----------------------------------- ##
6044
 
_ASEOF
6045
 
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6046
 
 
6047
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6048
 
# Save the log message, to keep $0 and so on meaningful, and to
6049
 
# report actual input values of CONFIG_FILES etc. instead of their
6050
 
# values after options handling.
6051
 
ac_log="
6052
 
This file was extended by sbsigntool $as_me 0.6, which was
6053
 
generated by GNU Autoconf 2.69.  Invocation command line was
6054
 
 
6055
 
  CONFIG_FILES    = $CONFIG_FILES
6056
 
  CONFIG_HEADERS  = $CONFIG_HEADERS
6057
 
  CONFIG_LINKS    = $CONFIG_LINKS
6058
 
  CONFIG_COMMANDS = $CONFIG_COMMANDS
6059
 
  $ $0 $@
6060
 
 
6061
 
on `(hostname || uname -n) 2>/dev/null | sed 1q`
6062
 
"
6063
 
 
6064
 
_ACEOF
6065
 
 
6066
 
case $ac_config_files in *"
6067
 
"*) set x $ac_config_files; shift; ac_config_files=$*;;
6068
 
esac
6069
 
 
6070
 
case $ac_config_headers in *"
6071
 
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6072
 
esac
6073
 
 
6074
 
 
6075
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6076
 
# Files that config.status was made for.
6077
 
config_files="$ac_config_files"
6078
 
config_headers="$ac_config_headers"
6079
 
config_commands="$ac_config_commands"
6080
 
 
6081
 
_ACEOF
6082
 
 
6083
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6084
 
ac_cs_usage="\
6085
 
\`$as_me' instantiates files and other configuration actions
6086
 
from templates according to the current configuration.  Unless the files
6087
 
and actions are specified as TAGs, all are instantiated by default.
6088
 
 
6089
 
Usage: $0 [OPTION]... [TAG]...
6090
 
 
6091
 
  -h, --help       print this help, then exit
6092
 
  -V, --version    print version number and configuration settings, then exit
6093
 
      --config     print configuration, then exit
6094
 
  -q, --quiet, --silent
6095
 
                   do not print progress messages
6096
 
  -d, --debug      don't remove temporary files
6097
 
      --recheck    update $as_me by reconfiguring in the same conditions
6098
 
      --file=FILE[:TEMPLATE]
6099
 
                   instantiate the configuration file FILE
6100
 
      --header=FILE[:TEMPLATE]
6101
 
                   instantiate the configuration header FILE
6102
 
 
6103
 
Configuration files:
6104
 
$config_files
6105
 
 
6106
 
Configuration headers:
6107
 
$config_headers
6108
 
 
6109
 
Configuration commands:
6110
 
$config_commands
6111
 
 
6112
 
Report bugs to <jeremy.kerr@canonical.com>."
6113
 
 
6114
 
_ACEOF
6115
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6116
 
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6117
 
ac_cs_version="\\
6118
 
sbsigntool config.status 0.6
6119
 
configured by $0, generated by GNU Autoconf 2.69,
6120
 
  with options \\"\$ac_cs_config\\"
6121
 
 
6122
 
Copyright (C) 2012 Free Software Foundation, Inc.
6123
 
This config.status script is free software; the Free Software Foundation
6124
 
gives unlimited permission to copy, distribute and modify it."
6125
 
 
6126
 
ac_pwd='$ac_pwd'
6127
 
srcdir='$srcdir'
6128
 
INSTALL='$INSTALL'
6129
 
MKDIR_P='$MKDIR_P'
6130
 
AWK='$AWK'
6131
 
test -n "\$AWK" || AWK=awk
6132
 
_ACEOF
6133
 
 
6134
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6135
 
# The default lists apply if the user does not specify any file.
6136
 
ac_need_defaults=:
6137
 
while test $# != 0
6138
 
do
6139
 
  case $1 in
6140
 
  --*=?*)
6141
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6142
 
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6143
 
    ac_shift=:
6144
 
    ;;
6145
 
  --*=)
6146
 
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6147
 
    ac_optarg=
6148
 
    ac_shift=:
6149
 
    ;;
6150
 
  *)
6151
 
    ac_option=$1
6152
 
    ac_optarg=$2
6153
 
    ac_shift=shift
6154
 
    ;;
6155
 
  esac
6156
 
 
6157
 
  case $ac_option in
6158
 
  # Handling of the options.
6159
 
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6160
 
    ac_cs_recheck=: ;;
6161
 
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6162
 
    $as_echo "$ac_cs_version"; exit ;;
6163
 
  --config | --confi | --conf | --con | --co | --c )
6164
 
    $as_echo "$ac_cs_config"; exit ;;
6165
 
  --debug | --debu | --deb | --de | --d | -d )
6166
 
    debug=: ;;
6167
 
  --file | --fil | --fi | --f )
6168
 
    $ac_shift
6169
 
    case $ac_optarg in
6170
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6171
 
    '') as_fn_error $? "missing file argument" ;;
6172
 
    esac
6173
 
    as_fn_append CONFIG_FILES " '$ac_optarg'"
6174
 
    ac_need_defaults=false;;
6175
 
  --header | --heade | --head | --hea )
6176
 
    $ac_shift
6177
 
    case $ac_optarg in
6178
 
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6179
 
    esac
6180
 
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6181
 
    ac_need_defaults=false;;
6182
 
  --he | --h)
6183
 
    # Conflict between --help and --header
6184
 
    as_fn_error $? "ambiguous option: \`$1'
6185
 
Try \`$0 --help' for more information.";;
6186
 
  --help | --hel | -h )
6187
 
    $as_echo "$ac_cs_usage"; exit ;;
6188
 
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6189
 
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6190
 
    ac_cs_silent=: ;;
6191
 
 
6192
 
  # This is an error.
6193
 
  -*) as_fn_error $? "unrecognized option: \`$1'
6194
 
Try \`$0 --help' for more information." ;;
6195
 
 
6196
 
  *) as_fn_append ac_config_targets " $1"
6197
 
     ac_need_defaults=false ;;
6198
 
 
6199
 
  esac
6200
 
  shift
6201
 
done
6202
 
 
6203
 
ac_configure_extra_args=
6204
 
 
6205
 
if $ac_cs_silent; then
6206
 
  exec 6>/dev/null
6207
 
  ac_configure_extra_args="$ac_configure_extra_args --silent"
6208
 
fi
6209
 
 
6210
 
_ACEOF
6211
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6212
 
if \$ac_cs_recheck; then
6213
 
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6214
 
  shift
6215
 
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6216
 
  CONFIG_SHELL='$SHELL'
6217
 
  export CONFIG_SHELL
6218
 
  exec "\$@"
6219
 
fi
6220
 
 
6221
 
_ACEOF
6222
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6223
 
exec 5>>config.log
6224
 
{
6225
 
  echo
6226
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6227
 
## Running $as_me. ##
6228
 
_ASBOX
6229
 
  $as_echo "$ac_log"
6230
 
} >&5
6231
 
 
6232
 
_ACEOF
6233
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6234
 
#
6235
 
# INIT-COMMANDS
6236
 
#
6237
 
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6238
 
 
6239
 
_ACEOF
6240
 
 
6241
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6242
 
 
6243
 
# Handling of arguments.
6244
 
for ac_config_target in $ac_config_targets
6245
 
do
6246
 
  case $ac_config_target in
6247
 
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6248
 
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6249
 
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6250
 
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6251
 
    "lib/ccan/Makefile") CONFIG_FILES="$CONFIG_FILES lib/ccan/Makefile" ;;
6252
 
    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
6253
 
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
6254
 
 
6255
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6256
 
  esac
6257
 
done
6258
 
 
6259
 
 
6260
 
# If the user did not use the arguments to specify the items to instantiate,
6261
 
# then the envvar interface is used.  Set only those that are not.
6262
 
# We use the long form for the default assignment because of an extremely
6263
 
# bizarre bug on SunOS 4.1.3.
6264
 
if $ac_need_defaults; then
6265
 
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6266
 
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6267
 
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6268
 
fi
6269
 
 
6270
 
# Have a temporary directory for convenience.  Make it in the build tree
6271
 
# simply because there is no reason against having it here, and in addition,
6272
 
# creating and moving files from /tmp can sometimes cause problems.
6273
 
# Hook for its removal unless debugging.
6274
 
# Note that there is a small window in which the directory will not be cleaned:
6275
 
# after its creation but before its name has been assigned to `$tmp'.
6276
 
$debug ||
6277
 
{
6278
 
  tmp= ac_tmp=
6279
 
  trap 'exit_status=$?
6280
 
  : "${ac_tmp:=$tmp}"
6281
 
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6282
 
' 0
6283
 
  trap 'as_fn_exit 1' 1 2 13 15
6284
 
}
6285
 
# Create a (secure) tmp directory for tmp files.
6286
 
 
6287
 
{
6288
 
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6289
 
  test -d "$tmp"
6290
 
}  ||
6291
 
{
6292
 
  tmp=./conf$$-$RANDOM
6293
 
  (umask 077 && mkdir "$tmp")
6294
 
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6295
 
ac_tmp=$tmp
6296
 
 
6297
 
# Set up the scripts for CONFIG_FILES section.
6298
 
# No need to generate them if there are no CONFIG_FILES.
6299
 
# This happens for instance with `./config.status config.h'.
6300
 
if test -n "$CONFIG_FILES"; then
6301
 
 
6302
 
 
6303
 
ac_cr=`echo X | tr X '\015'`
6304
 
# On cygwin, bash can eat \r inside `` if the user requested igncr.
6305
 
# But we know of no other shell where ac_cr would be empty at this
6306
 
# point, so we can use a bashism as a fallback.
6307
 
if test "x$ac_cr" = x; then
6308
 
  eval ac_cr=\$\'\\r\'
6309
 
fi
6310
 
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6311
 
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6312
 
  ac_cs_awk_cr='\\r'
6313
 
else
6314
 
  ac_cs_awk_cr=$ac_cr
6315
 
fi
6316
 
 
6317
 
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6318
 
_ACEOF
6319
 
 
6320
 
 
6321
 
{
6322
 
  echo "cat >conf$$subs.awk <<_ACEOF" &&
6323
 
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6324
 
  echo "_ACEOF"
6325
 
} >conf$$subs.sh ||
6326
 
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6327
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6328
 
ac_delim='%!_!# '
6329
 
for ac_last_try in false false false false false :; do
6330
 
  . ./conf$$subs.sh ||
6331
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6332
 
 
6333
 
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6334
 
  if test $ac_delim_n = $ac_delim_num; then
6335
 
    break
6336
 
  elif $ac_last_try; then
6337
 
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6338
 
  else
6339
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6340
 
  fi
6341
 
done
6342
 
rm -f conf$$subs.sh
6343
 
 
6344
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6345
 
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6346
 
_ACEOF
6347
 
sed -n '
6348
 
h
6349
 
s/^/S["/; s/!.*/"]=/
6350
 
p
6351
 
g
6352
 
s/^[^!]*!//
6353
 
:repl
6354
 
t repl
6355
 
s/'"$ac_delim"'$//
6356
 
t delim
6357
 
:nl
6358
 
h
6359
 
s/\(.\{148\}\)..*/\1/
6360
 
t more1
6361
 
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6362
 
p
6363
 
n
6364
 
b repl
6365
 
:more1
6366
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6367
 
p
6368
 
g
6369
 
s/.\{148\}//
6370
 
t nl
6371
 
:delim
6372
 
h
6373
 
s/\(.\{148\}\)..*/\1/
6374
 
t more2
6375
 
s/["\\]/\\&/g; s/^/"/; s/$/"/
6376
 
p
6377
 
b
6378
 
:more2
6379
 
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6380
 
p
6381
 
g
6382
 
s/.\{148\}//
6383
 
t delim
6384
 
' <conf$$subs.awk | sed '
6385
 
/^[^""]/{
6386
 
  N
6387
 
  s/\n//
6388
 
}
6389
 
' >>$CONFIG_STATUS || ac_write_fail=1
6390
 
rm -f conf$$subs.awk
6391
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6392
 
_ACAWK
6393
 
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6394
 
  for (key in S) S_is_set[key] = 1
6395
 
  FS = ""
6396
 
 
6397
 
}
6398
 
{
6399
 
  line = $ 0
6400
 
  nfields = split(line, field, "@")
6401
 
  substed = 0
6402
 
  len = length(field[1])
6403
 
  for (i = 2; i < nfields; i++) {
6404
 
    key = field[i]
6405
 
    keylen = length(key)
6406
 
    if (S_is_set[key]) {
6407
 
      value = S[key]
6408
 
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6409
 
      len += length(value) + length(field[++i])
6410
 
      substed = 1
6411
 
    } else
6412
 
      len += 1 + keylen
6413
 
  }
6414
 
 
6415
 
  print line
6416
 
}
6417
 
 
6418
 
_ACAWK
6419
 
_ACEOF
6420
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6421
 
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6422
 
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6423
 
else
6424
 
  cat
6425
 
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6426
 
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6427
 
_ACEOF
6428
 
 
6429
 
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6430
 
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6431
 
# trailing colons and then remove the whole line if VPATH becomes empty
6432
 
# (actually we leave an empty line to preserve line numbers).
6433
 
if test "x$srcdir" = x.; then
6434
 
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
6435
 
h
6436
 
s///
6437
 
s/^/:/
6438
 
s/[      ]*$/:/
6439
 
s/:\$(srcdir):/:/g
6440
 
s/:\${srcdir}:/:/g
6441
 
s/:@srcdir@:/:/g
6442
 
s/^:*//
6443
 
s/:*$//
6444
 
x
6445
 
s/\(=[   ]*\).*/\1/
6446
 
G
6447
 
s/\n//
6448
 
s/^[^=]*=[       ]*$//
6449
 
}'
6450
 
fi
6451
 
 
6452
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6453
 
fi # test -n "$CONFIG_FILES"
6454
 
 
6455
 
# Set up the scripts for CONFIG_HEADERS section.
6456
 
# No need to generate them if there are no CONFIG_HEADERS.
6457
 
# This happens for instance with `./config.status Makefile'.
6458
 
if test -n "$CONFIG_HEADERS"; then
6459
 
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6460
 
BEGIN {
6461
 
_ACEOF
6462
 
 
6463
 
# Transform confdefs.h into an awk script `defines.awk', embedded as
6464
 
# here-document in config.status, that substitutes the proper values into
6465
 
# config.h.in to produce config.h.
6466
 
 
6467
 
# Create a delimiter string that does not exist in confdefs.h, to ease
6468
 
# handling of long lines.
6469
 
ac_delim='%!_!# '
6470
 
for ac_last_try in false false :; do
6471
 
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6472
 
  if test -z "$ac_tt"; then
6473
 
    break
6474
 
  elif $ac_last_try; then
6475
 
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6476
 
  else
6477
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6478
 
  fi
6479
 
done
6480
 
 
6481
 
# For the awk script, D is an array of macro values keyed by name,
6482
 
# likewise P contains macro parameters if any.  Preserve backslash
6483
 
# newline sequences.
6484
 
 
6485
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6486
 
sed -n '
6487
 
s/.\{148\}/&'"$ac_delim"'/g
6488
 
t rset
6489
 
:rset
6490
 
s/^[     ]*#[    ]*define[       ][      ]*/ /
6491
 
t def
6492
 
d
6493
 
:def
6494
 
s/\\$//
6495
 
t bsnl
6496
 
s/["\\]/\\&/g
6497
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6498
 
D["\1"]=" \3"/p
6499
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
6500
 
d
6501
 
:bsnl
6502
 
s/["\\]/\\&/g
6503
 
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6504
 
D["\1"]=" \3\\\\\\n"\\/p
6505
 
t cont
6506
 
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6507
 
t cont
6508
 
d
6509
 
:cont
6510
 
n
6511
 
s/.\{148\}/&'"$ac_delim"'/g
6512
 
t clear
6513
 
:clear
6514
 
s/\\$//
6515
 
t bsnlc
6516
 
s/["\\]/\\&/g; s/^/"/; s/$/"/p
6517
 
d
6518
 
:bsnlc
6519
 
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6520
 
b cont
6521
 
' <confdefs.h | sed '
6522
 
s/'"$ac_delim"'/"\\\
6523
 
"/g' >>$CONFIG_STATUS || ac_write_fail=1
6524
 
 
6525
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6526
 
  for (key in D) D_is_set[key] = 1
6527
 
  FS = ""
6528
 
}
6529
 
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6530
 
  line = \$ 0
6531
 
  split(line, arg, " ")
6532
 
  if (arg[1] == "#") {
6533
 
    defundef = arg[2]
6534
 
    mac1 = arg[3]
6535
 
  } else {
6536
 
    defundef = substr(arg[1], 2)
6537
 
    mac1 = arg[2]
6538
 
  }
6539
 
  split(mac1, mac2, "(") #)
6540
 
  macro = mac2[1]
6541
 
  prefix = substr(line, 1, index(line, defundef) - 1)
6542
 
  if (D_is_set[macro]) {
6543
 
    # Preserve the white space surrounding the "#".
6544
 
    print prefix "define", macro P[macro] D[macro]
6545
 
    next
6546
 
  } else {
6547
 
    # Replace #undef with comments.  This is necessary, for example,
6548
 
    # in the case of _POSIX_SOURCE, which is predefined and required
6549
 
    # on some systems where configure will not decide to define it.
6550
 
    if (defundef == "undef") {
6551
 
      print "/*", prefix defundef, macro, "*/"
6552
 
      next
6553
 
    }
6554
 
  }
6555
 
}
6556
 
{ print }
6557
 
_ACAWK
6558
 
_ACEOF
6559
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6560
 
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6561
 
fi # test -n "$CONFIG_HEADERS"
6562
 
 
6563
 
 
6564
 
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6565
 
shift
6566
 
for ac_tag
6567
 
do
6568
 
  case $ac_tag in
6569
 
  :[FHLC]) ac_mode=$ac_tag; continue;;
6570
 
  esac
6571
 
  case $ac_mode$ac_tag in
6572
 
  :[FHL]*:*);;
6573
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6574
 
  :[FH]-) ac_tag=-:-;;
6575
 
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6576
 
  esac
6577
 
  ac_save_IFS=$IFS
6578
 
  IFS=:
6579
 
  set x $ac_tag
6580
 
  IFS=$ac_save_IFS
6581
 
  shift
6582
 
  ac_file=$1
6583
 
  shift
6584
 
 
6585
 
  case $ac_mode in
6586
 
  :L) ac_source=$1;;
6587
 
  :[FH])
6588
 
    ac_file_inputs=
6589
 
    for ac_f
6590
 
    do
6591
 
      case $ac_f in
6592
 
      -) ac_f="$ac_tmp/stdin";;
6593
 
      *) # Look for the file first in the build tree, then in the source tree
6594
 
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
6595
 
         # because $ac_f cannot contain `:'.
6596
 
         test -f "$ac_f" ||
6597
 
           case $ac_f in
6598
 
           [\\/$]*) false;;
6599
 
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6600
 
           esac ||
6601
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6602
 
      esac
6603
 
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6604
 
      as_fn_append ac_file_inputs " '$ac_f'"
6605
 
    done
6606
 
 
6607
 
    # Let's still pretend it is `configure' which instantiates (i.e., don't
6608
 
    # use $as_me), people would be surprised to read:
6609
 
    #    /* config.h.  Generated by config.status.  */
6610
 
    configure_input='Generated from '`
6611
 
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6612
 
        `' by configure.'
6613
 
    if test x"$ac_file" != x-; then
6614
 
      configure_input="$ac_file.  $configure_input"
6615
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6616
 
$as_echo "$as_me: creating $ac_file" >&6;}
6617
 
    fi
6618
 
    # Neutralize special characters interpreted by sed in replacement strings.
6619
 
    case $configure_input in #(
6620
 
    *\&* | *\|* | *\\* )
6621
 
       ac_sed_conf_input=`$as_echo "$configure_input" |
6622
 
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
6623
 
    *) ac_sed_conf_input=$configure_input;;
6624
 
    esac
6625
 
 
6626
 
    case $ac_tag in
6627
 
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
6628
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6629
 
    esac
6630
 
    ;;
6631
 
  esac
6632
 
 
6633
 
  ac_dir=`$as_dirname -- "$ac_file" ||
6634
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6635
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
6636
 
         X"$ac_file" : 'X\(//\)$' \| \
6637
 
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6638
 
$as_echo X"$ac_file" |
6639
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6640
 
            s//\1/
6641
 
            q
6642
 
          }
6643
 
          /^X\(\/\/\)[^/].*/{
6644
 
            s//\1/
6645
 
            q
6646
 
          }
6647
 
          /^X\(\/\/\)$/{
6648
 
            s//\1/
6649
 
            q
6650
 
          }
6651
 
          /^X\(\/\).*/{
6652
 
            s//\1/
6653
 
            q
6654
 
          }
6655
 
          s/.*/./; q'`
6656
 
  as_dir="$ac_dir"; as_fn_mkdir_p
6657
 
  ac_builddir=.
6658
 
 
6659
 
case "$ac_dir" in
6660
 
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6661
 
*)
6662
 
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6663
 
  # A ".." for each directory in $ac_dir_suffix.
6664
 
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6665
 
  case $ac_top_builddir_sub in
6666
 
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6667
 
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6668
 
  esac ;;
6669
 
esac
6670
 
ac_abs_top_builddir=$ac_pwd
6671
 
ac_abs_builddir=$ac_pwd$ac_dir_suffix
6672
 
# for backward compatibility:
6673
 
ac_top_builddir=$ac_top_build_prefix
6674
 
 
6675
 
case $srcdir in
6676
 
  .)  # We are building in place.
6677
 
    ac_srcdir=.
6678
 
    ac_top_srcdir=$ac_top_builddir_sub
6679
 
    ac_abs_top_srcdir=$ac_pwd ;;
6680
 
  [\\/]* | ?:[\\/]* )  # Absolute name.
6681
 
    ac_srcdir=$srcdir$ac_dir_suffix;
6682
 
    ac_top_srcdir=$srcdir
6683
 
    ac_abs_top_srcdir=$srcdir ;;
6684
 
  *) # Relative name.
6685
 
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6686
 
    ac_top_srcdir=$ac_top_build_prefix$srcdir
6687
 
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6688
 
esac
6689
 
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6690
 
 
6691
 
 
6692
 
  case $ac_mode in
6693
 
  :F)
6694
 
  #
6695
 
  # CONFIG_FILE
6696
 
  #
6697
 
 
6698
 
  case $INSTALL in
6699
 
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6700
 
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6701
 
  esac
6702
 
  ac_MKDIR_P=$MKDIR_P
6703
 
  case $MKDIR_P in
6704
 
  [\\/$]* | ?:[\\/]* ) ;;
6705
 
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6706
 
  esac
6707
 
_ACEOF
6708
 
 
6709
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6710
 
# If the template does not know about datarootdir, expand it.
6711
 
# FIXME: This hack should be removed a few years after 2.60.
6712
 
ac_datarootdir_hack=; ac_datarootdir_seen=
6713
 
ac_sed_dataroot='
6714
 
/datarootdir/ {
6715
 
  p
6716
 
  q
6717
 
}
6718
 
/@datadir@/p
6719
 
/@docdir@/p
6720
 
/@infodir@/p
6721
 
/@localedir@/p
6722
 
/@mandir@/p'
6723
 
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6724
 
*datarootdir*) ac_datarootdir_seen=yes;;
6725
 
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6726
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6727
 
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6728
 
_ACEOF
6729
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6730
 
  ac_datarootdir_hack='
6731
 
  s&@datadir@&$datadir&g
6732
 
  s&@docdir@&$docdir&g
6733
 
  s&@infodir@&$infodir&g
6734
 
  s&@localedir@&$localedir&g
6735
 
  s&@mandir@&$mandir&g
6736
 
  s&\\\${datarootdir}&$datarootdir&g' ;;
6737
 
esac
6738
 
_ACEOF
6739
 
 
6740
 
# Neutralize VPATH when `$srcdir' = `.'.
6741
 
# Shell code in configure.ac might set extrasub.
6742
 
# FIXME: do we really want to maintain this feature?
6743
 
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6744
 
ac_sed_extra="$ac_vpsub
6745
 
$extrasub
6746
 
_ACEOF
6747
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6748
 
:t
6749
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6750
 
s|@configure_input@|$ac_sed_conf_input|;t t
6751
 
s&@top_builddir@&$ac_top_builddir_sub&;t t
6752
 
s&@top_build_prefix@&$ac_top_build_prefix&;t t
6753
 
s&@srcdir@&$ac_srcdir&;t t
6754
 
s&@abs_srcdir@&$ac_abs_srcdir&;t t
6755
 
s&@top_srcdir@&$ac_top_srcdir&;t t
6756
 
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6757
 
s&@builddir@&$ac_builddir&;t t
6758
 
s&@abs_builddir@&$ac_abs_builddir&;t t
6759
 
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6760
 
s&@INSTALL@&$ac_INSTALL&;t t
6761
 
s&@MKDIR_P@&$ac_MKDIR_P&;t t
6762
 
$ac_datarootdir_hack
6763
 
"
6764
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6765
 
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6766
 
 
6767
 
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6768
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6769
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
6770
 
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
6771
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6772
 
which seems to be undefined.  Please make sure it is defined" >&5
6773
 
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6774
 
which seems to be undefined.  Please make sure it is defined" >&2;}
6775
 
 
6776
 
  rm -f "$ac_tmp/stdin"
6777
 
  case $ac_file in
6778
 
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6779
 
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6780
 
  esac \
6781
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6782
 
 ;;
6783
 
  :H)
6784
 
  #
6785
 
  # CONFIG_HEADER
6786
 
  #
6787
 
  if test x"$ac_file" != x-; then
6788
 
    {
6789
 
      $as_echo "/* $configure_input  */" \
6790
 
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6791
 
    } >"$ac_tmp/config.h" \
6792
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6793
 
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6794
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6795
 
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6796
 
    else
6797
 
      rm -f "$ac_file"
6798
 
      mv "$ac_tmp/config.h" "$ac_file" \
6799
 
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6800
 
    fi
6801
 
  else
6802
 
    $as_echo "/* $configure_input  */" \
6803
 
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6804
 
      || as_fn_error $? "could not create -" "$LINENO" 5
6805
 
  fi
6806
 
# Compute "$ac_file"'s index in $config_headers.
6807
 
_am_arg="$ac_file"
6808
 
_am_stamp_count=1
6809
 
for _am_header in $config_headers :; do
6810
 
  case $_am_header in
6811
 
    $_am_arg | $_am_arg:* )
6812
 
      break ;;
6813
 
    * )
6814
 
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6815
 
  esac
6816
 
done
6817
 
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6818
 
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6819
 
         X"$_am_arg" : 'X\(//\)[^/]' \| \
6820
 
         X"$_am_arg" : 'X\(//\)$' \| \
6821
 
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6822
 
$as_echo X"$_am_arg" |
6823
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6824
 
            s//\1/
6825
 
            q
6826
 
          }
6827
 
          /^X\(\/\/\)[^/].*/{
6828
 
            s//\1/
6829
 
            q
6830
 
          }
6831
 
          /^X\(\/\/\)$/{
6832
 
            s//\1/
6833
 
            q
6834
 
          }
6835
 
          /^X\(\/\).*/{
6836
 
            s//\1/
6837
 
            q
6838
 
          }
6839
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
6840
 
 ;;
6841
 
 
6842
 
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6843
 
$as_echo "$as_me: executing $ac_file commands" >&6;}
6844
 
 ;;
6845
 
  esac
6846
 
 
6847
 
 
6848
 
  case $ac_file$ac_mode in
6849
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6850
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
6851
 
  # are listed without --file.  Let's play safe and only enable the eval
6852
 
  # if we detect the quoting.
6853
 
  case $CONFIG_FILES in
6854
 
  *\'*) eval set x "$CONFIG_FILES" ;;
6855
 
  *)   set x $CONFIG_FILES ;;
6856
 
  esac
6857
 
  shift
6858
 
  for mf
6859
 
  do
6860
 
    # Strip MF so we end up with the name of the file.
6861
 
    mf=`echo "$mf" | sed -e 's/:.*$//'`
6862
 
    # Check whether this is an Automake generated Makefile or not.
6863
 
    # We used to match only the files named `Makefile.in', but
6864
 
    # some people rename them; so instead we look at the file content.
6865
 
    # Grep'ing the first line is not enough: some people post-process
6866
 
    # each Makefile.in and add a new line on top of each file to say so.
6867
 
    # Grep'ing the whole file is not good either: AIX grep has a line
6868
 
    # limit of 2048, but all sed's we know have understand at least 4000.
6869
 
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6870
 
      dirpart=`$as_dirname -- "$mf" ||
6871
 
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6872
 
         X"$mf" : 'X\(//\)[^/]' \| \
6873
 
         X"$mf" : 'X\(//\)$' \| \
6874
 
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6875
 
$as_echo X"$mf" |
6876
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6877
 
            s//\1/
6878
 
            q
6879
 
          }
6880
 
          /^X\(\/\/\)[^/].*/{
6881
 
            s//\1/
6882
 
            q
6883
 
          }
6884
 
          /^X\(\/\/\)$/{
6885
 
            s//\1/
6886
 
            q
6887
 
          }
6888
 
          /^X\(\/\).*/{
6889
 
            s//\1/
6890
 
            q
6891
 
          }
6892
 
          s/.*/./; q'`
6893
 
    else
6894
 
      continue
6895
 
    fi
6896
 
    # Extract the definition of DEPDIR, am__include, and am__quote
6897
 
    # from the Makefile without running `make'.
6898
 
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6899
 
    test -z "$DEPDIR" && continue
6900
 
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6901
 
    test -z "am__include" && continue
6902
 
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6903
 
    # When using ansi2knr, U may be empty or an underscore; expand it
6904
 
    U=`sed -n 's/^U = //p' < "$mf"`
6905
 
    # Find all dependency output files, they are included files with
6906
 
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6907
 
    # simplest approach to changing $(DEPDIR) to its actual value in the
6908
 
    # expansion.
6909
 
    for file in `sed -n "
6910
 
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6911
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6912
 
      # Make sure the directory exists.
6913
 
      test -f "$dirpart/$file" && continue
6914
 
      fdir=`$as_dirname -- "$file" ||
6915
 
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6916
 
         X"$file" : 'X\(//\)[^/]' \| \
6917
 
         X"$file" : 'X\(//\)$' \| \
6918
 
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6919
 
$as_echo X"$file" |
6920
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6921
 
            s//\1/
6922
 
            q
6923
 
          }
6924
 
          /^X\(\/\/\)[^/].*/{
6925
 
            s//\1/
6926
 
            q
6927
 
          }
6928
 
          /^X\(\/\/\)$/{
6929
 
            s//\1/
6930
 
            q
6931
 
          }
6932
 
          /^X\(\/\).*/{
6933
 
            s//\1/
6934
 
            q
6935
 
          }
6936
 
          s/.*/./; q'`
6937
 
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
6938
 
      # echo "creating $dirpart/$file"
6939
 
      echo '# dummy' > "$dirpart/$file"
6940
 
    done
6941
 
  done
6942
 
}
6943
 
 ;;
6944
 
 
6945
 
  esac
6946
 
done # for ac_tag
6947
 
 
6948
 
 
6949
 
as_fn_exit 0
6950
 
_ACEOF
6951
 
ac_clean_files=$ac_clean_files_save
6952
 
 
6953
 
test $ac_write_fail = 0 ||
6954
 
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6955
 
 
6956
 
 
6957
 
# configure is writing to config.log, and then calls config.status.
6958
 
# config.status does its own redirection, appending to config.log.
6959
 
# Unfortunately, on DOS this fails, as config.log is still kept open
6960
 
# by configure, so config.status won't be able to write to it; its
6961
 
# output is simply discarded.  So we exec the FD to /dev/null,
6962
 
# effectively closing config.log, so it can be properly (re)opened and
6963
 
# appended to by config.status.  When coming back to configure, we
6964
 
# need to make the FD available again.
6965
 
if test "$no_create" != yes; then
6966
 
  ac_cs_success=:
6967
 
  ac_config_status_args=
6968
 
  test "$silent" = yes &&
6969
 
    ac_config_status_args="$ac_config_status_args --quiet"
6970
 
  exec 5>/dev/null
6971
 
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6972
 
  exec 5>>config.log
6973
 
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6974
 
  # would make configure fail if this is the last instruction.
6975
 
  $ac_cs_success || as_fn_exit 1
6976
 
fi
6977
 
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6978
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6979
 
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6980
 
fi
6981