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