1@%:@! /bin/sh
2@%:@ Guess values for system-dependent variables and create Makefiles.
3@%:@ Generated by GNU Autoconf 2.69 for libbn 0.1.
4@%:@
5@%:@
6@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7@%:@
8@%:@
9@%:@ This configure script is free software; the Free Software Foundation
10@%:@ gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in @%:@(
26  *posix*) :
27    set -o posix ;; @%:@(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in @%:@(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in @%:@((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in @%:@ ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in @%:@(
170  *posix*) :
171    set -o posix ;; @%:@(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1"
200  if (eval "$as_required") 2>/dev/null; then :
201  as_have_required=yes
202else
203  as_have_required=no
204fi
205  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207else
208  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209as_found=false
210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211do
212  IFS=$as_save_IFS
213  test -z "$as_dir" && as_dir=.
214  as_found=:
215  case $as_dir in @%:@(
216	 /*)
217	   for as_base in sh bash ksh sh5; do
218	     # Try only shells that exist, to save several forks.
219	     as_shell=$as_dir/$as_base
220	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222  CONFIG_SHELL=$as_shell as_have_required=yes
223		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  break 2
225fi
226fi
227	   done;;
228       esac
229  as_found=false
230done
231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233  CONFIG_SHELL=$SHELL as_have_required=yes
234fi; }
235IFS=$as_save_IFS
236
237
238      if test "x$CONFIG_SHELL" != x; then :
239  export CONFIG_SHELL
240             # We cannot yet assume a decent shell, so we have to provide a
241# neutralization value for shells without unset; and this also
242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
244BASH_ENV=/dev/null
245ENV=/dev/null
246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247case $- in @%:@ ((((
248  *v*x* | *x*v* ) as_opts=-vx ;;
249  *v* ) as_opts=-v ;;
250  *x* ) as_opts=-x ;;
251  * ) as_opts= ;;
252esac
253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
258fi
259
260    if test x$as_have_required = xno; then :
261  $as_echo "$0: This script requires a shell more modern than all"
262  $as_echo "$0: the shells that I found on your system."
263  if test x${ZSH_VERSION+set} = xset ; then
264    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266  else
267    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268$0: including any error possibly output before this
269$0: message. Then install a modern shell, or manually run
270$0: the script under such a shell if you do have one."
271  fi
272  exit 1
273fi
274fi
275fi
276SHELL=${CONFIG_SHELL-/bin/sh}
277export SHELL
278# Unset more variables known to interfere with behavior of common tools.
279CLICOLOR_FORCE= GREP_OPTIONS=
280unset CLICOLOR_FORCE GREP_OPTIONS
281
282## --------------------- ##
283## M4sh Shell Functions. ##
284## --------------------- ##
285@%:@ as_fn_unset VAR
286@%:@ ---------------
287@%:@ Portably unset VAR.
288as_fn_unset ()
289{
290  { eval $1=; unset $1;}
291}
292as_unset=as_fn_unset
293
294@%:@ as_fn_set_status STATUS
295@%:@ -----------------------
296@%:@ Set @S|@? to STATUS, without forking.
297as_fn_set_status ()
298{
299  return $1
300} @%:@ as_fn_set_status
301
302@%:@ as_fn_exit STATUS
303@%:@ -----------------
304@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305as_fn_exit ()
306{
307  set +e
308  as_fn_set_status $1
309  exit $1
310} @%:@ as_fn_exit
311
312@%:@ as_fn_mkdir_p
313@%:@ -------------
314@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
315as_fn_mkdir_p ()
316{
317
318  case $as_dir in #(
319  -*) as_dir=./$as_dir;;
320  esac
321  test -d "$as_dir" || eval $as_mkdir_p || {
322    as_dirs=
323    while :; do
324      case $as_dir in #(
325      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326      *) as_qdir=$as_dir;;
327      esac
328      as_dirs="'$as_qdir' $as_dirs"
329      as_dir=`$as_dirname -- "$as_dir" ||
330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331	 X"$as_dir" : 'X\(//\)[^/]' \| \
332	 X"$as_dir" : 'X\(//\)$' \| \
333	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334$as_echo X"$as_dir" |
335    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336	    s//\1/
337	    q
338	  }
339	  /^X\(\/\/\)[^/].*/{
340	    s//\1/
341	    q
342	  }
343	  /^X\(\/\/\)$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\).*/{
348	    s//\1/
349	    q
350	  }
351	  s/.*/./; q'`
352      test -d "$as_dir" && break
353    done
354    test -z "$as_dirs" || eval "mkdir $as_dirs"
355  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358} @%:@ as_fn_mkdir_p
359
360@%:@ as_fn_executable_p FILE
361@%:@ -----------------------
362@%:@ Test if FILE is an executable regular file.
363as_fn_executable_p ()
364{
365  test -f "$1" && test -x "$1"
366} @%:@ as_fn_executable_p
367@%:@ as_fn_append VAR VALUE
368@%:@ ----------------------
369@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
370@%:@ advantage of any shell optimizations that allow amortized linear growth over
371@%:@ repeated appends, instead of the typical quadratic growth present in naive
372@%:@ implementations.
373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374  eval 'as_fn_append ()
375  {
376    eval $1+=\$2
377  }'
378else
379  as_fn_append ()
380  {
381    eval $1=\$$1\$2
382  }
383fi # as_fn_append
384
385@%:@ as_fn_arith ARG...
386@%:@ ------------------
387@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
388@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
389@%:@ must be portable across @S|@(()) and expr.
390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391  eval 'as_fn_arith ()
392  {
393    as_val=$(( $* ))
394  }'
395else
396  as_fn_arith ()
397  {
398    as_val=`expr "$@" || test $? -eq 1`
399  }
400fi # as_fn_arith
401
402
403@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
404@%:@ ----------------------------------------
405@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407@%:@ script with STATUS, using 1 if that was 0.
408as_fn_error ()
409{
410  as_status=$1; test $as_status -eq 0 && as_status=1
411  if test "$4"; then
412    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414  fi
415  $as_echo "$as_me: error: $2" >&2
416  as_fn_exit $as_status
417} @%:@ as_fn_error
418
419if expr a : '\(a\)' >/dev/null 2>&1 &&
420   test "X`expr 00001 : '.*\(...\)'`" = X001; then
421  as_expr=expr
422else
423  as_expr=false
424fi
425
426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427  as_basename=basename
428else
429  as_basename=false
430fi
431
432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433  as_dirname=dirname
434else
435  as_dirname=false
436fi
437
438as_me=`$as_basename -- "$0" ||
439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440	 X"$0" : 'X\(//\)$' \| \
441	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442$as_echo X/"$0" |
443    sed '/^.*\/\([^/][^/]*\)\/*$/{
444	    s//\1/
445	    q
446	  }
447	  /^X\/\(\/\/\)$/{
448	    s//\1/
449	    q
450	  }
451	  /^X\/\(\/\).*/{
452	    s//\1/
453	    q
454	  }
455	  s/.*/./; q'`
456
457# Avoid depending upon Character Ranges.
458as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461as_cr_digits='0123456789'
462as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465  as_lineno_1=$LINENO as_lineno_1a=$LINENO
466  as_lineno_2=$LINENO as_lineno_2a=$LINENO
467  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
470  sed -n '
471    p
472    /[$]LINENO/=
473  ' <$as_myself |
474    sed '
475      s/[$]LINENO.*/&-/
476      t lineno
477      b
478      :lineno
479      N
480      :loop
481      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482      t loop
483      s/-\n.*//
484    ' >$as_me.lineno &&
485  chmod +x "$as_me.lineno" ||
486    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487
488  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489  # already done that, so ensure we don't try to do so again and fall
490  # in an infinite loop.  This has already happened in practice.
491  _as_can_reexec=no; export _as_can_reexec
492  # Don't try to exec as it changes $[0], causing all sort of problems
493  # (the dirname of $[0] is not the place where we might find the
494  # original and so on.  Autoconf is especially sensitive to this).
495  . "./$as_me.lineno"
496  # Exit status is that of the last command.
497  exit
498}
499
500ECHO_C= ECHO_N= ECHO_T=
501case `echo -n x` in @%:@(((((
502-n*)
503  case `echo 'xy\c'` in
504  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
505  xy)  ECHO_C='\c';;
506  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
507       ECHO_T='	';;
508  esac;;
509*)
510  ECHO_N='-n';;
511esac
512
513rm -f conf$$ conf$$.exe conf$$.file
514if test -d conf$$.dir; then
515  rm -f conf$$.dir/conf$$.file
516else
517  rm -f conf$$.dir
518  mkdir conf$$.dir 2>/dev/null
519fi
520if (echo >conf$$.file) 2>/dev/null; then
521  if ln -s conf$$.file conf$$ 2>/dev/null; then
522    as_ln_s='ln -s'
523    # ... but there are two gotchas:
524    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526    # In both cases, we have to default to `cp -pR'.
527    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528      as_ln_s='cp -pR'
529  elif ln conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s=ln
531  else
532    as_ln_s='cp -pR'
533  fi
534else
535  as_ln_s='cp -pR'
536fi
537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538rmdir conf$$.dir 2>/dev/null
539
540if mkdir -p . 2>/dev/null; then
541  as_mkdir_p='mkdir -p "$as_dir"'
542else
543  test -d ./-p && rmdir ./-p
544  as_mkdir_p=false
545fi
546
547as_test_x='test -x'
548as_executable_p=as_fn_executable_p
549
550# Sed expression to map a string onto a valid CPP name.
551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553# Sed expression to map a string onto a valid variable name.
554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557test -n "$DJDIR" || exec 7<&0 </dev/null
558exec 6>&1
559
560# Name of the host.
561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562# so uname gets run too.
563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565#
566# Initializations.
567#
568ac_default_prefix=/usr/local
569ac_clean_files=
570ac_config_libobj_dir=.
571LIB@&t@OBJS=
572cross_compiling=no
573subdirs=
574MFLAGS=
575MAKEFLAGS=
576
577# Identity of this package.
578PACKAGE_NAME='libbn'
579PACKAGE_TARNAME='libbn'
580PACKAGE_VERSION='0.1'
581PACKAGE_STRING='libbn 0.1'
582PACKAGE_BUGREPORT=''
583PACKAGE_URL=''
584
585# Factoring default headers for most tests.
586ac_includes_default="\
587#include <stdio.h>
588#ifdef HAVE_SYS_TYPES_H
589# include <sys/types.h>
590#endif
591#ifdef HAVE_SYS_STAT_H
592# include <sys/stat.h>
593#endif
594#ifdef STDC_HEADERS
595# include <stdlib.h>
596# include <stddef.h>
597#else
598# ifdef HAVE_STDLIB_H
599#  include <stdlib.h>
600# endif
601#endif
602#ifdef HAVE_STRING_H
603# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
604#  include <memory.h>
605# endif
606# include <string.h>
607#endif
608#ifdef HAVE_STRINGS_H
609# include <strings.h>
610#endif
611#ifdef HAVE_INTTYPES_H
612# include <inttypes.h>
613#endif
614#ifdef HAVE_STDINT_H
615# include <stdint.h>
616#endif
617#ifdef HAVE_UNISTD_H
618# include <unistd.h>
619#endif"
620
621ac_subst_vars='LTLIBOBJS
622LIB@&t@OBJS
623EGREP
624GREP
625CPP
626OBJEXT
627EXEEXT
628ac_ct_CC
629CPPFLAGS
630LDFLAGS
631CFLAGS
632RANLIB
633WARN
634TUNE
635GCCMAGIC2
636GCCMAGIC1
637CC
638target_alias
639host_alias
640build_alias
641LIBS
642ECHO_T
643ECHO_N
644ECHO_C
645DEFS
646mandir
647localedir
648libdir
649psdir
650pdfdir
651dvidir
652htmldir
653infodir
654docdir
655oldincludedir
656includedir
657runstatedir
658localstatedir
659sharedstatedir
660sysconfdir
661datadir
662datarootdir
663libexecdir
664sbindir
665bindir
666program_transform_name
667prefix
668exec_prefix
669PACKAGE_URL
670PACKAGE_BUGREPORT
671PACKAGE_STRING
672PACKAGE_VERSION
673PACKAGE_TARNAME
674PACKAGE_NAME
675PATH_SEPARATOR
676SHELL'
677ac_subst_files=''
678ac_user_opts='
679enable_option_checking
680'
681      ac_precious_vars='build_alias
682host_alias
683target_alias
684CC
685CFLAGS
686LDFLAGS
687LIBS
688CPPFLAGS
689CPP'
690
691
692# Initialize some variables set by options.
693ac_init_help=
694ac_init_version=false
695ac_unrecognized_opts=
696ac_unrecognized_sep=
697# The variables have the same names as the options, with
698# dashes changed to underlines.
699cache_file=/dev/null
700exec_prefix=NONE
701no_create=
702no_recursion=
703prefix=NONE
704program_prefix=NONE
705program_suffix=NONE
706program_transform_name=s,x,x,
707silent=
708site=
709srcdir=
710verbose=
711x_includes=NONE
712x_libraries=NONE
713
714# Installation directory options.
715# These are left unexpanded so users can "make install exec_prefix=/foo"
716# and all the variables that are supposed to be based on exec_prefix
717# by default will actually change.
718# Use braces instead of parens because sh, perl, etc. also accept them.
719# (The list follows the same order as the GNU Coding Standards.)
720bindir='${exec_prefix}/bin'
721sbindir='${exec_prefix}/sbin'
722libexecdir='${exec_prefix}/libexec'
723datarootdir='${prefix}/share'
724datadir='${datarootdir}'
725sysconfdir='${prefix}/etc'
726sharedstatedir='${prefix}/com'
727localstatedir='${prefix}/var'
728runstatedir='${localstatedir}/run'
729includedir='${prefix}/include'
730oldincludedir='/usr/include'
731docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
732infodir='${datarootdir}/info'
733htmldir='${docdir}'
734dvidir='${docdir}'
735pdfdir='${docdir}'
736psdir='${docdir}'
737libdir='${exec_prefix}/lib'
738localedir='${datarootdir}/locale'
739mandir='${datarootdir}/man'
740
741ac_prev=
742ac_dashdash=
743for ac_option
744do
745  # If the previous option needs an argument, assign it.
746  if test -n "$ac_prev"; then
747    eval $ac_prev=\$ac_option
748    ac_prev=
749    continue
750  fi
751
752  case $ac_option in
753  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
754  *=)   ac_optarg= ;;
755  *)    ac_optarg=yes ;;
756  esac
757
758  # Accept the important Cygnus configure options, so we can diagnose typos.
759
760  case $ac_dashdash$ac_option in
761  --)
762    ac_dashdash=yes ;;
763
764  -bindir | --bindir | --bindi | --bind | --bin | --bi)
765    ac_prev=bindir ;;
766  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
767    bindir=$ac_optarg ;;
768
769  -build | --build | --buil | --bui | --bu)
770    ac_prev=build_alias ;;
771  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
772    build_alias=$ac_optarg ;;
773
774  -cache-file | --cache-file | --cache-fil | --cache-fi \
775  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
776    ac_prev=cache_file ;;
777  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
778  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
779    cache_file=$ac_optarg ;;
780
781  --config-cache | -C)
782    cache_file=config.cache ;;
783
784  -datadir | --datadir | --datadi | --datad)
785    ac_prev=datadir ;;
786  -datadir=* | --datadir=* | --datadi=* | --datad=*)
787    datadir=$ac_optarg ;;
788
789  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
790  | --dataroo | --dataro | --datar)
791    ac_prev=datarootdir ;;
792  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
793  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
794    datarootdir=$ac_optarg ;;
795
796  -disable-* | --disable-*)
797    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
798    # Reject names that are not valid shell variable names.
799    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
800      as_fn_error $? "invalid feature name: $ac_useropt"
801    ac_useropt_orig=$ac_useropt
802    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
803    case $ac_user_opts in
804      *"
805"enable_$ac_useropt"
806"*) ;;
807      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
808	 ac_unrecognized_sep=', ';;
809    esac
810    eval enable_$ac_useropt=no ;;
811
812  -docdir | --docdir | --docdi | --doc | --do)
813    ac_prev=docdir ;;
814  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
815    docdir=$ac_optarg ;;
816
817  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
818    ac_prev=dvidir ;;
819  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
820    dvidir=$ac_optarg ;;
821
822  -enable-* | --enable-*)
823    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
824    # Reject names that are not valid shell variable names.
825    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
826      as_fn_error $? "invalid feature name: $ac_useropt"
827    ac_useropt_orig=$ac_useropt
828    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829    case $ac_user_opts in
830      *"
831"enable_$ac_useropt"
832"*) ;;
833      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
834	 ac_unrecognized_sep=', ';;
835    esac
836    eval enable_$ac_useropt=\$ac_optarg ;;
837
838  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
839  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
840  | --exec | --exe | --ex)
841    ac_prev=exec_prefix ;;
842  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
843  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
844  | --exec=* | --exe=* | --ex=*)
845    exec_prefix=$ac_optarg ;;
846
847  -gas | --gas | --ga | --g)
848    # Obsolete; use --with-gas.
849    with_gas=yes ;;
850
851  -help | --help | --hel | --he | -h)
852    ac_init_help=long ;;
853  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
854    ac_init_help=recursive ;;
855  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
856    ac_init_help=short ;;
857
858  -host | --host | --hos | --ho)
859    ac_prev=host_alias ;;
860  -host=* | --host=* | --hos=* | --ho=*)
861    host_alias=$ac_optarg ;;
862
863  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
864    ac_prev=htmldir ;;
865  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
866  | --ht=*)
867    htmldir=$ac_optarg ;;
868
869  -includedir | --includedir | --includedi | --included | --include \
870  | --includ | --inclu | --incl | --inc)
871    ac_prev=includedir ;;
872  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
873  | --includ=* | --inclu=* | --incl=* | --inc=*)
874    includedir=$ac_optarg ;;
875
876  -infodir | --infodir | --infodi | --infod | --info | --inf)
877    ac_prev=infodir ;;
878  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
879    infodir=$ac_optarg ;;
880
881  -libdir | --libdir | --libdi | --libd)
882    ac_prev=libdir ;;
883  -libdir=* | --libdir=* | --libdi=* | --libd=*)
884    libdir=$ac_optarg ;;
885
886  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
887  | --libexe | --libex | --libe)
888    ac_prev=libexecdir ;;
889  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
890  | --libexe=* | --libex=* | --libe=*)
891    libexecdir=$ac_optarg ;;
892
893  -localedir | --localedir | --localedi | --localed | --locale)
894    ac_prev=localedir ;;
895  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
896    localedir=$ac_optarg ;;
897
898  -localstatedir | --localstatedir | --localstatedi | --localstated \
899  | --localstate | --localstat | --localsta | --localst | --locals)
900    ac_prev=localstatedir ;;
901  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
902  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
903    localstatedir=$ac_optarg ;;
904
905  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
906    ac_prev=mandir ;;
907  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
908    mandir=$ac_optarg ;;
909
910  -nfp | --nfp | --nf)
911    # Obsolete; use --without-fp.
912    with_fp=no ;;
913
914  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
915  | --no-cr | --no-c | -n)
916    no_create=yes ;;
917
918  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
919  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
920    no_recursion=yes ;;
921
922  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
923  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
924  | --oldin | --oldi | --old | --ol | --o)
925    ac_prev=oldincludedir ;;
926  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
927  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
928  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
929    oldincludedir=$ac_optarg ;;
930
931  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
932    ac_prev=prefix ;;
933  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
934    prefix=$ac_optarg ;;
935
936  -program-prefix | --program-prefix | --program-prefi | --program-pref \
937  | --program-pre | --program-pr | --program-p)
938    ac_prev=program_prefix ;;
939  -program-prefix=* | --program-prefix=* | --program-prefi=* \
940  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
941    program_prefix=$ac_optarg ;;
942
943  -program-suffix | --program-suffix | --program-suffi | --program-suff \
944  | --program-suf | --program-su | --program-s)
945    ac_prev=program_suffix ;;
946  -program-suffix=* | --program-suffix=* | --program-suffi=* \
947  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
948    program_suffix=$ac_optarg ;;
949
950  -program-transform-name | --program-transform-name \
951  | --program-transform-nam | --program-transform-na \
952  | --program-transform-n | --program-transform- \
953  | --program-transform | --program-transfor \
954  | --program-transfo | --program-transf \
955  | --program-trans | --program-tran \
956  | --progr-tra | --program-tr | --program-t)
957    ac_prev=program_transform_name ;;
958  -program-transform-name=* | --program-transform-name=* \
959  | --program-transform-nam=* | --program-transform-na=* \
960  | --program-transform-n=* | --program-transform-=* \
961  | --program-transform=* | --program-transfor=* \
962  | --program-transfo=* | --program-transf=* \
963  | --program-trans=* | --program-tran=* \
964  | --progr-tra=* | --program-tr=* | --program-t=*)
965    program_transform_name=$ac_optarg ;;
966
967  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
968    ac_prev=pdfdir ;;
969  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
970    pdfdir=$ac_optarg ;;
971
972  -psdir | --psdir | --psdi | --psd | --ps)
973    ac_prev=psdir ;;
974  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
975    psdir=$ac_optarg ;;
976
977  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
978  | -silent | --silent | --silen | --sile | --sil)
979    silent=yes ;;
980
981  -runstatedir | --runstatedir | --runstatedi | --runstated \
982  | --runstate | --runstat | --runsta | --runst | --runs \
983  | --run | --ru | --r)
984    ac_prev=runstatedir ;;
985  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
986  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
987  | --run=* | --ru=* | --r=*)
988    runstatedir=$ac_optarg ;;
989
990  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
991    ac_prev=sbindir ;;
992  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
993  | --sbi=* | --sb=*)
994    sbindir=$ac_optarg ;;
995
996  -sharedstatedir | --sharedstatedir | --sharedstatedi \
997  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
998  | --sharedst | --shareds | --shared | --share | --shar \
999  | --sha | --sh)
1000    ac_prev=sharedstatedir ;;
1001  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1002  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1003  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1004  | --sha=* | --sh=*)
1005    sharedstatedir=$ac_optarg ;;
1006
1007  -site | --site | --sit)
1008    ac_prev=site ;;
1009  -site=* | --site=* | --sit=*)
1010    site=$ac_optarg ;;
1011
1012  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1013    ac_prev=srcdir ;;
1014  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1015    srcdir=$ac_optarg ;;
1016
1017  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1018  | --syscon | --sysco | --sysc | --sys | --sy)
1019    ac_prev=sysconfdir ;;
1020  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1021  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1022    sysconfdir=$ac_optarg ;;
1023
1024  -target | --target | --targe | --targ | --tar | --ta | --t)
1025    ac_prev=target_alias ;;
1026  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1027    target_alias=$ac_optarg ;;
1028
1029  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1030    verbose=yes ;;
1031
1032  -version | --version | --versio | --versi | --vers | -V)
1033    ac_init_version=: ;;
1034
1035  -with-* | --with-*)
1036    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1037    # Reject names that are not valid shell variable names.
1038    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1039      as_fn_error $? "invalid package name: $ac_useropt"
1040    ac_useropt_orig=$ac_useropt
1041    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042    case $ac_user_opts in
1043      *"
1044"with_$ac_useropt"
1045"*) ;;
1046      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1047	 ac_unrecognized_sep=', ';;
1048    esac
1049    eval with_$ac_useropt=\$ac_optarg ;;
1050
1051  -without-* | --without-*)
1052    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1053    # Reject names that are not valid shell variable names.
1054    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055      as_fn_error $? "invalid package name: $ac_useropt"
1056    ac_useropt_orig=$ac_useropt
1057    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058    case $ac_user_opts in
1059      *"
1060"with_$ac_useropt"
1061"*) ;;
1062      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1063	 ac_unrecognized_sep=', ';;
1064    esac
1065    eval with_$ac_useropt=no ;;
1066
1067  --x)
1068    # Obsolete; use --with-x.
1069    with_x=yes ;;
1070
1071  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1072  | --x-incl | --x-inc | --x-in | --x-i)
1073    ac_prev=x_includes ;;
1074  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1075  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1076    x_includes=$ac_optarg ;;
1077
1078  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1079  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1080    ac_prev=x_libraries ;;
1081  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1082  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1083    x_libraries=$ac_optarg ;;
1084
1085  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1086Try \`$0 --help' for more information"
1087    ;;
1088
1089  *=*)
1090    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1091    # Reject names that are not valid shell variable names.
1092    case $ac_envvar in #(
1093      '' | [0-9]* | *[!_$as_cr_alnum]* )
1094      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1095    esac
1096    eval $ac_envvar=\$ac_optarg
1097    export $ac_envvar ;;
1098
1099  *)
1100    # FIXME: should be removed in autoconf 3.0.
1101    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1102    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1103      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1104    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1105    ;;
1106
1107  esac
1108done
1109
1110if test -n "$ac_prev"; then
1111  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1112  as_fn_error $? "missing argument to $ac_option"
1113fi
1114
1115if test -n "$ac_unrecognized_opts"; then
1116  case $enable_option_checking in
1117    no) ;;
1118    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1119    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1120  esac
1121fi
1122
1123# Check all directory arguments for consistency.
1124for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1125		datadir sysconfdir sharedstatedir localstatedir includedir \
1126		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1127		libdir localedir mandir runstatedir
1128do
1129  eval ac_val=\$$ac_var
1130  # Remove trailing slashes.
1131  case $ac_val in
1132    */ )
1133      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1134      eval $ac_var=\$ac_val;;
1135  esac
1136  # Be sure to have absolute directory names.
1137  case $ac_val in
1138    [\\/$]* | ?:[\\/]* )  continue;;
1139    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1140  esac
1141  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1142done
1143
1144# There might be people who depend on the old broken behavior: `$host'
1145# used to hold the argument of --host etc.
1146# FIXME: To remove some day.
1147build=$build_alias
1148host=$host_alias
1149target=$target_alias
1150
1151# FIXME: To remove some day.
1152if test "x$host_alias" != x; then
1153  if test "x$build_alias" = x; then
1154    cross_compiling=maybe
1155  elif test "x$build_alias" != "x$host_alias"; then
1156    cross_compiling=yes
1157  fi
1158fi
1159
1160ac_tool_prefix=
1161test -n "$host_alias" && ac_tool_prefix=$host_alias-
1162
1163test "$silent" = yes && exec 6>/dev/null
1164
1165
1166ac_pwd=`pwd` && test -n "$ac_pwd" &&
1167ac_ls_di=`ls -di .` &&
1168ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1169  as_fn_error $? "working directory cannot be determined"
1170test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1171  as_fn_error $? "pwd does not report name of working directory"
1172
1173
1174# Find the source files, if location was not specified.
1175if test -z "$srcdir"; then
1176  ac_srcdir_defaulted=yes
1177  # Try the directory containing this script, then the parent directory.
1178  ac_confdir=`$as_dirname -- "$as_myself" ||
1179$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1180	 X"$as_myself" : 'X\(//\)[^/]' \| \
1181	 X"$as_myself" : 'X\(//\)$' \| \
1182	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1183$as_echo X"$as_myself" |
1184    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1185	    s//\1/
1186	    q
1187	  }
1188	  /^X\(\/\/\)[^/].*/{
1189	    s//\1/
1190	    q
1191	  }
1192	  /^X\(\/\/\)$/{
1193	    s//\1/
1194	    q
1195	  }
1196	  /^X\(\/\).*/{
1197	    s//\1/
1198	    q
1199	  }
1200	  s/.*/./; q'`
1201  srcdir=$ac_confdir
1202  if test ! -r "$srcdir/$ac_unique_file"; then
1203    srcdir=..
1204  fi
1205else
1206  ac_srcdir_defaulted=no
1207fi
1208if test ! -r "$srcdir/$ac_unique_file"; then
1209  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1210  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1211fi
1212ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1213ac_abs_confdir=`(
1214	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1215	pwd)`
1216# When building in place, set srcdir=.
1217if test "$ac_abs_confdir" = "$ac_pwd"; then
1218  srcdir=.
1219fi
1220# Remove unnecessary trailing slashes from srcdir.
1221# Double slashes in file names in object file debugging info
1222# mess up M-x gdb in Emacs.
1223case $srcdir in
1224*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1225esac
1226for ac_var in $ac_precious_vars; do
1227  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1228  eval ac_env_${ac_var}_value=\$${ac_var}
1229  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1230  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1231done
1232
1233#
1234# Report the --help message.
1235#
1236if test "$ac_init_help" = "long"; then
1237  # Omit some internal or obsolete options to make the list less imposing.
1238  # This message is too long to be a string in the A/UX 3.1 sh.
1239  cat <<_ACEOF
1240\`configure' configures libbn 0.1 to adapt to many kinds of systems.
1241
1242Usage: $0 [OPTION]... [VAR=VALUE]...
1243
1244To assign environment variables (e.g., CC, CFLAGS...), specify them as
1245VAR=VALUE.  See below for descriptions of some of the useful variables.
1246
1247Defaults for the options are specified in brackets.
1248
1249Configuration:
1250  -h, --help              display this help and exit
1251      --help=short        display options specific to this package
1252      --help=recursive    display the short help of all the included packages
1253  -V, --version           display version information and exit
1254  -q, --quiet, --silent   do not print \`checking ...' messages
1255      --cache-file=FILE   cache test results in FILE [disabled]
1256  -C, --config-cache      alias for \`--cache-file=config.cache'
1257  -n, --no-create         do not create output files
1258      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1259
1260Installation directories:
1261  --prefix=PREFIX         install architecture-independent files in PREFIX
1262                          @<:@@S|@ac_default_prefix@:>@
1263  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1264                          @<:@PREFIX@:>@
1265
1266By default, \`make install' will install all the files in
1267\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1268an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1269for instance \`--prefix=\$HOME'.
1270
1271For better control, use the options below.
1272
1273Fine tuning of the installation directories:
1274  --bindir=DIR            user executables [EPREFIX/bin]
1275  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1276  --libexecdir=DIR        program executables [EPREFIX/libexec]
1277  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1278  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1279  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1280  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1281  --libdir=DIR            object code libraries [EPREFIX/lib]
1282  --includedir=DIR        C header files [PREFIX/include]
1283  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1284  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1285  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1286  --infodir=DIR           info documentation [DATAROOTDIR/info]
1287  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1288  --mandir=DIR            man documentation [DATAROOTDIR/man]
1289  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/libbn@:>@
1290  --htmldir=DIR           html documentation [DOCDIR]
1291  --dvidir=DIR            dvi documentation [DOCDIR]
1292  --pdfdir=DIR            pdf documentation [DOCDIR]
1293  --psdir=DIR             ps documentation [DOCDIR]
1294_ACEOF
1295
1296  cat <<\_ACEOF
1297_ACEOF
1298fi
1299
1300if test -n "$ac_init_help"; then
1301  case $ac_init_help in
1302     short | recursive ) echo "Configuration of libbn 0.1:";;
1303   esac
1304  cat <<\_ACEOF
1305
1306Some influential environment variables:
1307  CC          C compiler command
1308  CFLAGS      C compiler flags
1309  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1310              nonstandard directory <lib dir>
1311  LIBS        libraries to pass to the linker, e.g. -l<library>
1312  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1313              you have headers in a nonstandard directory <include dir>
1314  CPP         C preprocessor
1315
1316Use these variables to override the choices made by `configure' or to help
1317it to find libraries and programs with nonstandard names/locations.
1318
1319Report bugs to the package provider.
1320_ACEOF
1321ac_status=$?
1322fi
1323
1324if test "$ac_init_help" = "recursive"; then
1325  # If there are subdirs, report their specific --help.
1326  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1327    test -d "$ac_dir" ||
1328      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1329      continue
1330    ac_builddir=.
1331
1332case "$ac_dir" in
1333.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1334*)
1335  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1336  # A ".." for each directory in $ac_dir_suffix.
1337  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1338  case $ac_top_builddir_sub in
1339  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1340  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1341  esac ;;
1342esac
1343ac_abs_top_builddir=$ac_pwd
1344ac_abs_builddir=$ac_pwd$ac_dir_suffix
1345# for backward compatibility:
1346ac_top_builddir=$ac_top_build_prefix
1347
1348case $srcdir in
1349  .)  # We are building in place.
1350    ac_srcdir=.
1351    ac_top_srcdir=$ac_top_builddir_sub
1352    ac_abs_top_srcdir=$ac_pwd ;;
1353  [\\/]* | ?:[\\/]* )  # Absolute name.
1354    ac_srcdir=$srcdir$ac_dir_suffix;
1355    ac_top_srcdir=$srcdir
1356    ac_abs_top_srcdir=$srcdir ;;
1357  *) # Relative name.
1358    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1359    ac_top_srcdir=$ac_top_build_prefix$srcdir
1360    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1361esac
1362ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1363
1364    cd "$ac_dir" || { ac_status=$?; continue; }
1365    # Check for guested configure.
1366    if test -f "$ac_srcdir/configure.gnu"; then
1367      echo &&
1368      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1369    elif test -f "$ac_srcdir/configure"; then
1370      echo &&
1371      $SHELL "$ac_srcdir/configure" --help=recursive
1372    else
1373      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1374    fi || ac_status=$?
1375    cd "$ac_pwd" || { ac_status=$?; break; }
1376  done
1377fi
1378
1379test -n "$ac_init_help" && exit $ac_status
1380if $ac_init_version; then
1381  cat <<\_ACEOF
1382libbn configure 0.1
1383generated by GNU Autoconf 2.69
1384
1385Copyright (C) 2012 Free Software Foundation, Inc.
1386This configure script is free software; the Free Software Foundation
1387gives unlimited permission to copy, distribute and modify it.
1388_ACEOF
1389  exit
1390fi
1391
1392## ------------------------ ##
1393## Autoconf initialization. ##
1394## ------------------------ ##
1395
1396@%:@ ac_fn_c_try_compile LINENO
1397@%:@ --------------------------
1398@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1399ac_fn_c_try_compile ()
1400{
1401  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1402  rm -f conftest.$ac_objext
1403  if { { ac_try="$ac_compile"
1404case "(($ac_try" in
1405  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1406  *) ac_try_echo=$ac_try;;
1407esac
1408eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1409$as_echo "$ac_try_echo"; } >&5
1410  (eval "$ac_compile") 2>conftest.err
1411  ac_status=$?
1412  if test -s conftest.err; then
1413    grep -v '^ *+' conftest.err >conftest.er1
1414    cat conftest.er1 >&5
1415    mv -f conftest.er1 conftest.err
1416  fi
1417  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1418  test $ac_status = 0; } && {
1419	 test -z "$ac_c_werror_flag" ||
1420	 test ! -s conftest.err
1421       } && test -s conftest.$ac_objext; then :
1422  ac_retval=0
1423else
1424  $as_echo "$as_me: failed program was:" >&5
1425sed 's/^/| /' conftest.$ac_ext >&5
1426
1427	ac_retval=1
1428fi
1429  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1430  as_fn_set_status $ac_retval
1431
1432} @%:@ ac_fn_c_try_compile
1433
1434@%:@ ac_fn_c_try_cpp LINENO
1435@%:@ ----------------------
1436@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1437ac_fn_c_try_cpp ()
1438{
1439  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1440  if { { ac_try="$ac_cpp conftest.$ac_ext"
1441case "(($ac_try" in
1442  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1443  *) ac_try_echo=$ac_try;;
1444esac
1445eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1446$as_echo "$ac_try_echo"; } >&5
1447  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1448  ac_status=$?
1449  if test -s conftest.err; then
1450    grep -v '^ *+' conftest.err >conftest.er1
1451    cat conftest.er1 >&5
1452    mv -f conftest.er1 conftest.err
1453  fi
1454  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1455  test $ac_status = 0; } > conftest.i && {
1456	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1457	 test ! -s conftest.err
1458       }; then :
1459  ac_retval=0
1460else
1461  $as_echo "$as_me: failed program was:" >&5
1462sed 's/^/| /' conftest.$ac_ext >&5
1463
1464    ac_retval=1
1465fi
1466  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1467  as_fn_set_status $ac_retval
1468
1469} @%:@ ac_fn_c_try_cpp
1470
1471@%:@ ac_fn_c_try_run LINENO
1472@%:@ ----------------------
1473@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1474@%:@ that executables *can* be run.
1475ac_fn_c_try_run ()
1476{
1477  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1478  if { { ac_try="$ac_link"
1479case "(($ac_try" in
1480  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1481  *) ac_try_echo=$ac_try;;
1482esac
1483eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1484$as_echo "$ac_try_echo"; } >&5
1485  (eval "$ac_link") 2>&5
1486  ac_status=$?
1487  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1488  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1489  { { case "(($ac_try" in
1490  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1491  *) ac_try_echo=$ac_try;;
1492esac
1493eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1494$as_echo "$ac_try_echo"; } >&5
1495  (eval "$ac_try") 2>&5
1496  ac_status=$?
1497  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1498  test $ac_status = 0; }; }; then :
1499  ac_retval=0
1500else
1501  $as_echo "$as_me: program exited with status $ac_status" >&5
1502       $as_echo "$as_me: failed program was:" >&5
1503sed 's/^/| /' conftest.$ac_ext >&5
1504
1505       ac_retval=$ac_status
1506fi
1507  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1508  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1509  as_fn_set_status $ac_retval
1510
1511} @%:@ ac_fn_c_try_run
1512
1513@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1514@%:@ -------------------------------------------------------
1515@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1516@%:@ the include files in INCLUDES and setting the cache variable VAR
1517@%:@ accordingly.
1518ac_fn_c_check_header_mongrel ()
1519{
1520  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1521  if eval \${$3+:} false; then :
1522  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1523$as_echo_n "checking for $2... " >&6; }
1524if eval \${$3+:} false; then :
1525  $as_echo_n "(cached) " >&6
1526fi
1527eval ac_res=\$$3
1528	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1529$as_echo "$ac_res" >&6; }
1530else
1531  # Is the header compilable?
1532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1533$as_echo_n "checking $2 usability... " >&6; }
1534cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1535/* end confdefs.h.  */
1536$4
1537@%:@include <$2>
1538_ACEOF
1539if ac_fn_c_try_compile "$LINENO"; then :
1540  ac_header_compiler=yes
1541else
1542  ac_header_compiler=no
1543fi
1544rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1546$as_echo "$ac_header_compiler" >&6; }
1547
1548# Is the header present?
1549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1550$as_echo_n "checking $2 presence... " >&6; }
1551cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1552/* end confdefs.h.  */
1553@%:@include <$2>
1554_ACEOF
1555if ac_fn_c_try_cpp "$LINENO"; then :
1556  ac_header_preproc=yes
1557else
1558  ac_header_preproc=no
1559fi
1560rm -f conftest.err conftest.i conftest.$ac_ext
1561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1562$as_echo "$ac_header_preproc" >&6; }
1563
1564# So?  What about this header?
1565case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1566  yes:no: )
1567    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1568$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1569    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1570$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1571    ;;
1572  no:yes:* )
1573    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1574$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1575    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1576$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1577    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1578$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1579    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1580$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1581    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1582$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1583    ;;
1584esac
1585  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1586$as_echo_n "checking for $2... " >&6; }
1587if eval \${$3+:} false; then :
1588  $as_echo_n "(cached) " >&6
1589else
1590  eval "$3=\$ac_header_compiler"
1591fi
1592eval ac_res=\$$3
1593	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1594$as_echo "$ac_res" >&6; }
1595fi
1596  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1597
1598} @%:@ ac_fn_c_check_header_mongrel
1599
1600@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1601@%:@ -------------------------------------------------------
1602@%:@ Tests whether HEADER exists and can be compiled using the include files in
1603@%:@ INCLUDES, setting the cache variable VAR accordingly.
1604ac_fn_c_check_header_compile ()
1605{
1606  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1608$as_echo_n "checking for $2... " >&6; }
1609if eval \${$3+:} false; then :
1610  $as_echo_n "(cached) " >&6
1611else
1612  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1613/* end confdefs.h.  */
1614$4
1615@%:@include <$2>
1616_ACEOF
1617if ac_fn_c_try_compile "$LINENO"; then :
1618  eval "$3=yes"
1619else
1620  eval "$3=no"
1621fi
1622rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1623fi
1624eval ac_res=\$$3
1625	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1626$as_echo "$ac_res" >&6; }
1627  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1628
1629} @%:@ ac_fn_c_check_header_compile
1630
1631@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1632@%:@ -------------------------------------------
1633@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1634@%:@ variable VAR accordingly.
1635ac_fn_c_check_type ()
1636{
1637  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1638  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1639$as_echo_n "checking for $2... " >&6; }
1640if eval \${$3+:} false; then :
1641  $as_echo_n "(cached) " >&6
1642else
1643  eval "$3=no"
1644  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1645/* end confdefs.h.  */
1646$4
1647int
1648main ()
1649{
1650if (sizeof ($2))
1651	 return 0;
1652  ;
1653  return 0;
1654}
1655_ACEOF
1656if ac_fn_c_try_compile "$LINENO"; then :
1657  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1658/* end confdefs.h.  */
1659$4
1660int
1661main ()
1662{
1663if (sizeof (($2)))
1664	    return 0;
1665  ;
1666  return 0;
1667}
1668_ACEOF
1669if ac_fn_c_try_compile "$LINENO"; then :
1670
1671else
1672  eval "$3=yes"
1673fi
1674rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1675fi
1676rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1677fi
1678eval ac_res=\$$3
1679	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1680$as_echo "$ac_res" >&6; }
1681  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682
1683} @%:@ ac_fn_c_check_type
1684
1685@%:@ ac_fn_c_try_link LINENO
1686@%:@ -----------------------
1687@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1688ac_fn_c_try_link ()
1689{
1690  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691  rm -f conftest.$ac_objext conftest$ac_exeext
1692  if { { ac_try="$ac_link"
1693case "(($ac_try" in
1694  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1695  *) ac_try_echo=$ac_try;;
1696esac
1697eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698$as_echo "$ac_try_echo"; } >&5
1699  (eval "$ac_link") 2>conftest.err
1700  ac_status=$?
1701  if test -s conftest.err; then
1702    grep -v '^ *+' conftest.err >conftest.er1
1703    cat conftest.er1 >&5
1704    mv -f conftest.er1 conftest.err
1705  fi
1706  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707  test $ac_status = 0; } && {
1708	 test -z "$ac_c_werror_flag" ||
1709	 test ! -s conftest.err
1710       } && test -s conftest$ac_exeext && {
1711	 test "$cross_compiling" = yes ||
1712	 test -x conftest$ac_exeext
1713       }; then :
1714  ac_retval=0
1715else
1716  $as_echo "$as_me: failed program was:" >&5
1717sed 's/^/| /' conftest.$ac_ext >&5
1718
1719	ac_retval=1
1720fi
1721  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1722  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1723  # interfere with the next link command; also delete a directory that is
1724  # left behind by Apple's compiler.  We do this before executing the actions.
1725  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727  as_fn_set_status $ac_retval
1728
1729} @%:@ ac_fn_c_try_link
1730
1731@%:@ ac_fn_c_check_func LINENO FUNC VAR
1732@%:@ ----------------------------------
1733@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1734ac_fn_c_check_func ()
1735{
1736  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1738$as_echo_n "checking for $2... " >&6; }
1739if eval \${$3+:} false; then :
1740  $as_echo_n "(cached) " >&6
1741else
1742  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1743/* end confdefs.h.  */
1744/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1745   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1746#define $2 innocuous_$2
1747
1748/* System header to define __stub macros and hopefully few prototypes,
1749    which can conflict with char $2 (); below.
1750    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1751    <limits.h> exists even on freestanding compilers.  */
1752
1753#ifdef __STDC__
1754# include <limits.h>
1755#else
1756# include <assert.h>
1757#endif
1758
1759#undef $2
1760
1761/* Override any GCC internal prototype to avoid an error.
1762   Use char because int might match the return type of a GCC
1763   builtin and then its argument prototype would still apply.  */
1764#ifdef __cplusplus
1765extern "C"
1766#endif
1767char $2 ();
1768/* The GNU C library defines this for functions which it implements
1769    to always fail with ENOSYS.  Some functions are actually named
1770    something starting with __ and the normal name is an alias.  */
1771#if defined __stub_$2 || defined __stub___$2
1772choke me
1773#endif
1774
1775int
1776main ()
1777{
1778return $2 ();
1779  ;
1780  return 0;
1781}
1782_ACEOF
1783if ac_fn_c_try_link "$LINENO"; then :
1784  eval "$3=yes"
1785else
1786  eval "$3=no"
1787fi
1788rm -f core conftest.err conftest.$ac_objext \
1789    conftest$ac_exeext conftest.$ac_ext
1790fi
1791eval ac_res=\$$3
1792	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793$as_echo "$ac_res" >&6; }
1794  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795
1796} @%:@ ac_fn_c_check_func
1797cat >config.log <<_ACEOF
1798This file contains any messages produced by compilers while
1799running configure, to aid debugging if configure makes a mistake.
1800
1801It was created by libbn $as_me 0.1, which was
1802generated by GNU Autoconf 2.69.  Invocation command line was
1803
1804  $ $0 $@
1805
1806_ACEOF
1807exec 5>>config.log
1808{
1809cat <<_ASUNAME
1810## --------- ##
1811## Platform. ##
1812## --------- ##
1813
1814hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1815uname -m = `(uname -m) 2>/dev/null || echo unknown`
1816uname -r = `(uname -r) 2>/dev/null || echo unknown`
1817uname -s = `(uname -s) 2>/dev/null || echo unknown`
1818uname -v = `(uname -v) 2>/dev/null || echo unknown`
1819
1820/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1821/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1822
1823/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1824/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1825/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1826/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1827/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1828/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1829/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1830
1831_ASUNAME
1832
1833as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1834for as_dir in $PATH
1835do
1836  IFS=$as_save_IFS
1837  test -z "$as_dir" && as_dir=.
1838    $as_echo "PATH: $as_dir"
1839  done
1840IFS=$as_save_IFS
1841
1842} >&5
1843
1844cat >&5 <<_ACEOF
1845
1846
1847## ----------- ##
1848## Core tests. ##
1849## ----------- ##
1850
1851_ACEOF
1852
1853
1854# Keep a trace of the command line.
1855# Strip out --no-create and --no-recursion so they do not pile up.
1856# Strip out --silent because we don't want to record it for future runs.
1857# Also quote any args containing shell meta-characters.
1858# Make two passes to allow for proper duplicate-argument suppression.
1859ac_configure_args=
1860ac_configure_args0=
1861ac_configure_args1=
1862ac_must_keep_next=false
1863for ac_pass in 1 2
1864do
1865  for ac_arg
1866  do
1867    case $ac_arg in
1868    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1869    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1870    | -silent | --silent | --silen | --sile | --sil)
1871      continue ;;
1872    *\'*)
1873      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1874    esac
1875    case $ac_pass in
1876    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1877    2)
1878      as_fn_append ac_configure_args1 " '$ac_arg'"
1879      if test $ac_must_keep_next = true; then
1880	ac_must_keep_next=false # Got value, back to normal.
1881      else
1882	case $ac_arg in
1883	  *=* | --config-cache | -C | -disable-* | --disable-* \
1884	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1885	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1886	  | -with-* | --with-* | -without-* | --without-* | --x)
1887	    case "$ac_configure_args0 " in
1888	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1889	    esac
1890	    ;;
1891	  -* ) ac_must_keep_next=true ;;
1892	esac
1893      fi
1894      as_fn_append ac_configure_args " '$ac_arg'"
1895      ;;
1896    esac
1897  done
1898done
1899{ ac_configure_args0=; unset ac_configure_args0;}
1900{ ac_configure_args1=; unset ac_configure_args1;}
1901
1902# When interrupted or exit'd, cleanup temporary files, and complete
1903# config.log.  We remove comments because anyway the quotes in there
1904# would cause problems or look ugly.
1905# WARNING: Use '\'' to represent an apostrophe within the trap.
1906# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1907trap 'exit_status=$?
1908  # Save into config.log some information that might help in debugging.
1909  {
1910    echo
1911
1912    $as_echo "## ---------------- ##
1913## Cache variables. ##
1914## ---------------- ##"
1915    echo
1916    # The following way of writing the cache mishandles newlines in values,
1917(
1918  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1919    eval ac_val=\$$ac_var
1920    case $ac_val in #(
1921    *${as_nl}*)
1922      case $ac_var in #(
1923      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1924$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1925      esac
1926      case $ac_var in #(
1927      _ | IFS | as_nl) ;; #(
1928      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1929      *) { eval $ac_var=; unset $ac_var;} ;;
1930      esac ;;
1931    esac
1932  done
1933  (set) 2>&1 |
1934    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1935    *${as_nl}ac_space=\ *)
1936      sed -n \
1937	"s/'\''/'\''\\\\'\'''\''/g;
1938	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1939      ;; #(
1940    *)
1941      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1942      ;;
1943    esac |
1944    sort
1945)
1946    echo
1947
1948    $as_echo "## ----------------- ##
1949## Output variables. ##
1950## ----------------- ##"
1951    echo
1952    for ac_var in $ac_subst_vars
1953    do
1954      eval ac_val=\$$ac_var
1955      case $ac_val in
1956      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1957      esac
1958      $as_echo "$ac_var='\''$ac_val'\''"
1959    done | sort
1960    echo
1961
1962    if test -n "$ac_subst_files"; then
1963      $as_echo "## ------------------- ##
1964## File substitutions. ##
1965## ------------------- ##"
1966      echo
1967      for ac_var in $ac_subst_files
1968      do
1969	eval ac_val=\$$ac_var
1970	case $ac_val in
1971	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1972	esac
1973	$as_echo "$ac_var='\''$ac_val'\''"
1974      done | sort
1975      echo
1976    fi
1977
1978    if test -s confdefs.h; then
1979      $as_echo "## ----------- ##
1980## confdefs.h. ##
1981## ----------- ##"
1982      echo
1983      cat confdefs.h
1984      echo
1985    fi
1986    test "$ac_signal" != 0 &&
1987      $as_echo "$as_me: caught signal $ac_signal"
1988    $as_echo "$as_me: exit $exit_status"
1989  } >&5
1990  rm -f core *.core core.conftest.* &&
1991    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1992    exit $exit_status
1993' 0
1994for ac_signal in 1 2 13 15; do
1995  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1996done
1997ac_signal=0
1998
1999# confdefs.h avoids OS command line length limits that DEFS can exceed.
2000rm -f -r conftest* confdefs.h
2001
2002$as_echo "/* confdefs.h */" > confdefs.h
2003
2004# Predefined preprocessor variables.
2005
2006cat >>confdefs.h <<_ACEOF
2007@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2008_ACEOF
2009
2010cat >>confdefs.h <<_ACEOF
2011@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2012_ACEOF
2013
2014cat >>confdefs.h <<_ACEOF
2015@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2016_ACEOF
2017
2018cat >>confdefs.h <<_ACEOF
2019@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2020_ACEOF
2021
2022cat >>confdefs.h <<_ACEOF
2023@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2024_ACEOF
2025
2026cat >>confdefs.h <<_ACEOF
2027@%:@define PACKAGE_URL "$PACKAGE_URL"
2028_ACEOF
2029
2030
2031# Let the site file select an alternate cache file if it wants to.
2032# Prefer an explicitly selected file to automatically selected ones.
2033ac_site_file1=NONE
2034ac_site_file2=NONE
2035if test -n "$CONFIG_SITE"; then
2036  # We do not want a PATH search for config.site.
2037  case $CONFIG_SITE in @%:@((
2038    -*)  ac_site_file1=./$CONFIG_SITE;;
2039    */*) ac_site_file1=$CONFIG_SITE;;
2040    *)   ac_site_file1=./$CONFIG_SITE;;
2041  esac
2042elif test "x$prefix" != xNONE; then
2043  ac_site_file1=$prefix/share/config.site
2044  ac_site_file2=$prefix/etc/config.site
2045else
2046  ac_site_file1=$ac_default_prefix/share/config.site
2047  ac_site_file2=$ac_default_prefix/etc/config.site
2048fi
2049for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2050do
2051  test "x$ac_site_file" = xNONE && continue
2052  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2053    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2054$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2055    sed 's/^/| /' "$ac_site_file" >&5
2056    . "$ac_site_file" \
2057      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2058$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2059as_fn_error $? "failed to load site script $ac_site_file
2060See \`config.log' for more details" "$LINENO" 5; }
2061  fi
2062done
2063
2064if test -r "$cache_file"; then
2065  # Some versions of bash will fail to source /dev/null (special files
2066  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2067  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2068    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2069$as_echo "$as_me: loading cache $cache_file" >&6;}
2070    case $cache_file in
2071      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2072      *)                      . "./$cache_file";;
2073    esac
2074  fi
2075else
2076  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2077$as_echo "$as_me: creating cache $cache_file" >&6;}
2078  >$cache_file
2079fi
2080
2081# Check that the precious variables saved in the cache have kept the same
2082# value.
2083ac_cache_corrupted=false
2084for ac_var in $ac_precious_vars; do
2085  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2086  eval ac_new_set=\$ac_env_${ac_var}_set
2087  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2088  eval ac_new_val=\$ac_env_${ac_var}_value
2089  case $ac_old_set,$ac_new_set in
2090    set,)
2091      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2092$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2093      ac_cache_corrupted=: ;;
2094    ,set)
2095      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2096$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2097      ac_cache_corrupted=: ;;
2098    ,);;
2099    *)
2100      if test "x$ac_old_val" != "x$ac_new_val"; then
2101	# differences in whitespace do not lead to failure.
2102	ac_old_val_w=`echo x $ac_old_val`
2103	ac_new_val_w=`echo x $ac_new_val`
2104	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2105	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2106$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2107	  ac_cache_corrupted=:
2108	else
2109	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2110$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2111	  eval $ac_var=\$ac_old_val
2112	fi
2113	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2114$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2115	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2116$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2117      fi;;
2118  esac
2119  # Pass precious variables to config.status.
2120  if test "$ac_new_set" = set; then
2121    case $ac_new_val in
2122    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2123    *) ac_arg=$ac_var=$ac_new_val ;;
2124    esac
2125    case " $ac_configure_args " in
2126      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2127      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2128    esac
2129  fi
2130done
2131if $ac_cache_corrupted; then
2132  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2133$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2134  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2135$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2136  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2137fi
2138## -------------------- ##
2139## Main body of script. ##
2140## -------------------- ##
2141
2142ac_ext=c
2143ac_cpp='$CPP $CPPFLAGS'
2144ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2145ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2146ac_compiler_gnu=$ac_cv_c_compiler_gnu
2147
2148
2149
2150ac_config_headers="$ac_config_headers bnconfig.h:bnconfig.hin"
2151
2152
2153
2154# Find a compiler to use.
2155# Check 1) The $CC environment varaible, 2) egcc, 3) gcc, 4) acc, and 5) cc.
2156# This deals with brain-damaged Sun systems that place a bogus cc or
2157# acc executable in the $PATH, which just prints an error and exit.
2158# We deal with this by actually trying to compile a trivial test program.
2159if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
2160  { $as_echo "$as_me:${as_lineno-$LINENO}: checking For C compiler (cached)" >&5
2161$as_echo_n "checking For C compiler (cached)... " >&6; }
2162  CC="$ac_cv_prog_CC"
2163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2164$as_echo "$CC" >&6; }
2165elif test -n "$CC"; then
2166  ac_cv_prog_CC="$CC" # Let the user override the test.
2167  { $as_echo "$as_me:${as_lineno-$LINENO}: checking For C compiler" >&5
2168$as_echo_n "checking For C compiler... " >&6; }
2169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2170$as_echo "$CC" >&6; }
2171else
2172  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2173  echo 'main(){return 0;}' > conftest.$ac_ext
2174  for ac_prog in egcc gcc acc cc; do
2175# Extract the first word of "$ac_prog", so it can be a program name with args.
2176    set dummy $ac_prog; ac_word=$2
2177    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2178$as_echo_n "checking for $ac_word... " >&6; }
2179    for ac_dir in $PATH; do
2180      test -z "$ac_dir" && ac_dir=.
2181      if test -x "$ac_dir/$ac_word"; then
2182        CC="$ac_prog"
2183        if eval $ac_compile; then
2184          ac_cv_prog_CC="$ac_prog"
2185        fi
2186        break
2187      fi
2188    done
2189    CC="$ac_cv_prog_CC"
2190    if test -n "$CC"; then
2191      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_dir/$CC" >&5
2192$as_echo "$ac_dir/$CC" >&6; }
2193      break;
2194    fi
2195    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2196$as_echo "no" >&6; }
2197  done
2198  if test ! -n "$CC"; then
2199    as_fn_error $? "no C compiler found" "$LINENO" 5
2200  fi
2201  IFS="$ac_save_ifs"
2202  rm -f conftest*
2203fi
2204
2205
2206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU CC" >&5
2207$as_echo_n "checking whether we are using GNU CC... " >&6; }
2208if ${ac_cv_c_compiler_gnu+:} false; then :
2209  $as_echo_n "(cached) " >&6
2210else
2211  cat > conftest.c <<EOF
2212#ifdef __GNUC__
2213  yes;
2214#endif
2215EOF
2216if ${CC-cc} -E conftest.c 2>&5 | egrep yes >/dev/null 2>&1; then
2217  ac_cv_c_compiler_gnu=yes
2218else
2219  ac_cv_c_compiler_gnu=no
2220fi
2221fi
2222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2223$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2224
2225if test $ac_cv_c_compiler_gnu = yes; then
2226  if test "${CFLAGS+set}" != set; then
2227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC-cc} accepts -g" >&5
2228$as_echo_n "checking whether ${CC-cc} accepts -g... " >&6; }
2229if ${ac_cv_prog_gcc_g+:} false; then :
2230  $as_echo_n "(cached) " >&6
2231else
2232  echo 'void f(){}' > conftest.c
2233if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
2234  ac_cv_prog_gcc_g=yes
2235else
2236  ac_cv_prog_gcc_g=no
2237fi
2238rm -f conftest*
2239
2240fi
2241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_g" >&5
2242$as_echo "$ac_cv_prog_gcc_g" >&6; }
2243  fi
2244
2245  # If we're using GCC, perform some Deep Magic to enable the result to
2246  # link cleanly with code compiled with a compiler that doesn't understand
2247  # GCC's support library (-lgcc).  Do a link, to relocatable object form,
2248  # with just -lgcc.  If it's not GCC, do the normal -c thing.
2249  # These substitutions are used in the Makefile to force that behaviour.
2250  GCCMAGIC1='-Wl,-r -nostdlib'
2251  GCCMAGIC2=-lgcc
2252else
2253  GCCMAGIC1=-c
2254  GCCMAGIC2=
2255fi
2256#  newer gcc on debian 9 doesn't support this, and we don't need it here as its an embedded lib so we will disable this explicitly
2257GCCMAGIC1=-c
2258GCCMAGIC2=
2259
2260
2261
2262# Now, figure out the CFLAGS we want.  If the user didn't *ask*
2263# for CFLAGS, we're going to use some ideas of our own.
2264if test "${CFLAGS+set}" != set; then
2265
2266# First, remember one useful thing that was just figured out,
2267# namely whether the compiler can take -g with -O.  (Most compilers
2268# seem to do the opposite of what I want here - if you give both, -g
2269# overrides and disables optimization.)  This is only done for
2270# gcc at the moment, and the no/yes combination is possible but
2271# misleading
2272if test $ac_cv_c_compiler_gnu$ac_cv_prog_gcc_g = yesyes; then
2273  CFLAGS=-g
2274else
2275  CFLAGS=""
2276fi
2277
2278# Now, the whole raison d'e^tre of this library is that it's *fast*.
2279# So we are *not* happy with autoconf's normal conservative compilation
2280# flags.  Try to figure out what kind the compiler we're using and soup
2281# things up a bit.  Also turn on warnings if possible.
2282# If it's GCC, crank up optimization to -O6, and try to add some
2283# -m options, too.
2284# Otherwise, it gets even more ad-hoc, but the test below works for the
2285# SunPro C compiler and cranks it up to maximum optimization.
2286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for useful tuning options (\$TUNE)" >&5
2287$as_echo_n "checking for useful tuning options (\$TUNE)... " >&6; }
2288if test $ac_cv_c_compiler_gnu = yes; then
2289  : ${WARN="-Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings"}
2290  if test "${TUNE+set}" != set; then
2291    TUNE=-O6
2292    case `$CC -v 2>&1` in
2293    *gcc-lib/sparc-*)
2294	# Try to use the architecture-detecting tool with SunPro CC.
2295	if bn_tune=`(fpversion -foption) 2>/dev/null`; then
2296	  if test "$bn_tune" = xcg92 || test "$bn_tune" = cg92; then
2297	    TUNE="$TUNE -mv8"
2298	  elif test "$bn_tune" != xcg89 && test "$bn_tune" != cg89; then
2299	    TUNE="$TUNE -mv8"
2300	    bn_tune_guess=yes
2301	  fi
2302	else
2303	  TUNE="$TUNE -mv8"
2304	  bn_tune_guess=yes
2305	fi
2306    esac
2307  fi
2308elif $CC -flags 2>&1 | grep SunSoft >/dev/null 2>&1; then
2309  if test "${WARN+set}" != set; then
2310    if $CC -flags 2>&1 | grep 'checking' | grep '^-vc' > /dev/null 2>&1; then
2311      WARN=-vc
2312    elif $CC -flags 2>&1 | grep 'checking' | grep '^-v ' > /dev/null 2>&1; then
2313      WARN=-v
2314    fi
2315    if $CC -flags 2>&1 | grep '^-xstrconst' > /dev/null 2>&1; then
2316      WARN="${WARN}${WARN+ }-xstrconst"
2317    fi
2318  fi
2319  # SunPro C compiler - now grok version and platform
2320  if test "${TUNE+set}" != set; then
2321    if $CC -flags 2>&1 | grep '^-xO.*5' >/dev/null 2>&1; then
2322      TUNE=-xO5
2323    else
2324      TUNE=-xO4
2325    fi
2326    # Architecture: -native iv avail., else as fpversion says, else guess -mv8
2327    if $CC -flags 2>&1 | grep '^-native' >/dev/null 2>&1; then
2328      TUNE="$TUNE -native"
2329    elif bn_tune=`(fpversion -foption) 2>/dev/null`; then
2330      TUNE="$TUNE -$bn_tune"
2331    elif $CC -flags 2>&1 | grep '^-xcg92' >/dev/null 2>&1; then
2332      TUNE="$TUNE -xcg92"
2333      bn_tune_guess=yes
2334    fi
2335  fi
2336fi
2337bn_tune_set=${TUNE+set}
2338# If nothing better is available, turn on -O
2339: ${TUNE=-O}
2340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TUNE-none}" >&5
2341$as_echo "${TUNE-none}" >&6; }
2342if test "$bn_tune_set" != set; then
2343  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: not optimizing heavily - try setting \$CFLAGS" >&5
2344$as_echo "$as_me: WARNING: not optimizing heavily - try setting \$CFLAGS" >&2;}
2345elif test "$bn_tune_guess" = yes; then
2346  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: architecture guessed.  If incorrect, use explicit \$TUNE." >&5
2347$as_echo "$as_me: WARNING: architecture guessed.  If incorrect, use explicit \$TUNE." >&2;}
2348fi
2349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for useful warning options (\$WARN)" >&5
2350$as_echo_n "checking for useful warning options (\$WARN)... " >&6; }
2351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN-none}" >&5
2352$as_echo "${WARN-none}" >&6; }
2353fi
2354# ^^ End of "$(CFLAGS+set)" != set condition
2355
2356
2357
2358# Find "ranlib".  Sone systems don't have or need ranlib.  If so,
2359# ":" (do nothing) is used instead.
2360if test -n "$ac_tool_prefix"; then
2361  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2362set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2364$as_echo_n "checking for $ac_word... " >&6; }
2365if ${ac_cv_prog_RANLIB+:} false; then :
2366  $as_echo_n "(cached) " >&6
2367else
2368  if test -n "$RANLIB"; then
2369  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2370else
2371as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372for as_dir in $PATH
2373do
2374  IFS=$as_save_IFS
2375  test -z "$as_dir" && as_dir=.
2376    for ac_exec_ext in '' $ac_executable_extensions; do
2377  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2378    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2379    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2380    break 2
2381  fi
2382done
2383  done
2384IFS=$as_save_IFS
2385
2386fi
2387fi
2388RANLIB=$ac_cv_prog_RANLIB
2389if test -n "$RANLIB"; then
2390  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2391$as_echo "$RANLIB" >&6; }
2392else
2393  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2394$as_echo "no" >&6; }
2395fi
2396
2397
2398fi
2399if test -z "$ac_cv_prog_RANLIB"; then
2400  ac_ct_RANLIB=$RANLIB
2401  # Extract the first word of "ranlib", so it can be a program name with args.
2402set dummy ranlib; ac_word=$2
2403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2404$as_echo_n "checking for $ac_word... " >&6; }
2405if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
2406  $as_echo_n "(cached) " >&6
2407else
2408  if test -n "$ac_ct_RANLIB"; then
2409  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2410else
2411as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412for as_dir in $PATH
2413do
2414  IFS=$as_save_IFS
2415  test -z "$as_dir" && as_dir=.
2416    for ac_exec_ext in '' $ac_executable_extensions; do
2417  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2418    ac_cv_prog_ac_ct_RANLIB="ranlib"
2419    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2420    break 2
2421  fi
2422done
2423  done
2424IFS=$as_save_IFS
2425
2426fi
2427fi
2428ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2429if test -n "$ac_ct_RANLIB"; then
2430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2431$as_echo "$ac_ct_RANLIB" >&6; }
2432else
2433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2434$as_echo "no" >&6; }
2435fi
2436
2437  if test "x$ac_ct_RANLIB" = x; then
2438    RANLIB=":"
2439  else
2440    case $cross_compiling:$ac_tool_warned in
2441yes:)
2442{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2443$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2444ac_tool_warned=yes ;;
2445esac
2446    RANLIB=$ac_ct_RANLIB
2447  fi
2448else
2449  RANLIB="$ac_cv_prog_RANLIB"
2450fi
2451
2452
2453
2454ac_ext=c
2455ac_cpp='$CPP $CPPFLAGS'
2456ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2457ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2458ac_compiler_gnu=$ac_cv_c_compiler_gnu
2459if test -n "$ac_tool_prefix"; then
2460  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2461set dummy ${ac_tool_prefix}gcc; ac_word=$2
2462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2463$as_echo_n "checking for $ac_word... " >&6; }
2464if ${ac_cv_prog_CC+:} false; then :
2465  $as_echo_n "(cached) " >&6
2466else
2467  if test -n "$CC"; then
2468  ac_cv_prog_CC="$CC" # Let the user override the test.
2469else
2470as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2471for as_dir in $PATH
2472do
2473  IFS=$as_save_IFS
2474  test -z "$as_dir" && as_dir=.
2475    for ac_exec_ext in '' $ac_executable_extensions; do
2476  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2477    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2478    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2479    break 2
2480  fi
2481done
2482  done
2483IFS=$as_save_IFS
2484
2485fi
2486fi
2487CC=$ac_cv_prog_CC
2488if test -n "$CC"; then
2489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2490$as_echo "$CC" >&6; }
2491else
2492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2493$as_echo "no" >&6; }
2494fi
2495
2496
2497fi
2498if test -z "$ac_cv_prog_CC"; then
2499  ac_ct_CC=$CC
2500  # Extract the first word of "gcc", so it can be a program name with args.
2501set dummy gcc; ac_word=$2
2502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2503$as_echo_n "checking for $ac_word... " >&6; }
2504if ${ac_cv_prog_ac_ct_CC+:} false; then :
2505  $as_echo_n "(cached) " >&6
2506else
2507  if test -n "$ac_ct_CC"; then
2508  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2509else
2510as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511for as_dir in $PATH
2512do
2513  IFS=$as_save_IFS
2514  test -z "$as_dir" && as_dir=.
2515    for ac_exec_ext in '' $ac_executable_extensions; do
2516  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2517    ac_cv_prog_ac_ct_CC="gcc"
2518    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2519    break 2
2520  fi
2521done
2522  done
2523IFS=$as_save_IFS
2524
2525fi
2526fi
2527ac_ct_CC=$ac_cv_prog_ac_ct_CC
2528if test -n "$ac_ct_CC"; then
2529  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2530$as_echo "$ac_ct_CC" >&6; }
2531else
2532  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2533$as_echo "no" >&6; }
2534fi
2535
2536  if test "x$ac_ct_CC" = x; then
2537    CC=""
2538  else
2539    case $cross_compiling:$ac_tool_warned in
2540yes:)
2541{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2542$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2543ac_tool_warned=yes ;;
2544esac
2545    CC=$ac_ct_CC
2546  fi
2547else
2548  CC="$ac_cv_prog_CC"
2549fi
2550
2551if test -z "$CC"; then
2552          if test -n "$ac_tool_prefix"; then
2553    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2554set dummy ${ac_tool_prefix}cc; ac_word=$2
2555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2556$as_echo_n "checking for $ac_word... " >&6; }
2557if ${ac_cv_prog_CC+:} false; then :
2558  $as_echo_n "(cached) " >&6
2559else
2560  if test -n "$CC"; then
2561  ac_cv_prog_CC="$CC" # Let the user override the test.
2562else
2563as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2564for as_dir in $PATH
2565do
2566  IFS=$as_save_IFS
2567  test -z "$as_dir" && as_dir=.
2568    for ac_exec_ext in '' $ac_executable_extensions; do
2569  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2570    ac_cv_prog_CC="${ac_tool_prefix}cc"
2571    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2572    break 2
2573  fi
2574done
2575  done
2576IFS=$as_save_IFS
2577
2578fi
2579fi
2580CC=$ac_cv_prog_CC
2581if test -n "$CC"; then
2582  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2583$as_echo "$CC" >&6; }
2584else
2585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2586$as_echo "no" >&6; }
2587fi
2588
2589
2590  fi
2591fi
2592if test -z "$CC"; then
2593  # Extract the first word of "cc", so it can be a program name with args.
2594set dummy cc; ac_word=$2
2595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2596$as_echo_n "checking for $ac_word... " >&6; }
2597if ${ac_cv_prog_CC+:} false; then :
2598  $as_echo_n "(cached) " >&6
2599else
2600  if test -n "$CC"; then
2601  ac_cv_prog_CC="$CC" # Let the user override the test.
2602else
2603  ac_prog_rejected=no
2604as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2605for as_dir in $PATH
2606do
2607  IFS=$as_save_IFS
2608  test -z "$as_dir" && as_dir=.
2609    for ac_exec_ext in '' $ac_executable_extensions; do
2610  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2611    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2612       ac_prog_rejected=yes
2613       continue
2614     fi
2615    ac_cv_prog_CC="cc"
2616    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2617    break 2
2618  fi
2619done
2620  done
2621IFS=$as_save_IFS
2622
2623if test $ac_prog_rejected = yes; then
2624  # We found a bogon in the path, so make sure we never use it.
2625  set dummy $ac_cv_prog_CC
2626  shift
2627  if test $@%:@ != 0; then
2628    # We chose a different compiler from the bogus one.
2629    # However, it has the same basename, so the bogon will be chosen
2630    # first if we set CC to just the basename; use the full file name.
2631    shift
2632    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2633  fi
2634fi
2635fi
2636fi
2637CC=$ac_cv_prog_CC
2638if test -n "$CC"; then
2639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2640$as_echo "$CC" >&6; }
2641else
2642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2643$as_echo "no" >&6; }
2644fi
2645
2646
2647fi
2648if test -z "$CC"; then
2649  if test -n "$ac_tool_prefix"; then
2650  for ac_prog in cl.exe
2651  do
2652    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2653set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2655$as_echo_n "checking for $ac_word... " >&6; }
2656if ${ac_cv_prog_CC+:} false; then :
2657  $as_echo_n "(cached) " >&6
2658else
2659  if test -n "$CC"; then
2660  ac_cv_prog_CC="$CC" # Let the user override the test.
2661else
2662as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2663for as_dir in $PATH
2664do
2665  IFS=$as_save_IFS
2666  test -z "$as_dir" && as_dir=.
2667    for ac_exec_ext in '' $ac_executable_extensions; do
2668  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2669    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2670    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2671    break 2
2672  fi
2673done
2674  done
2675IFS=$as_save_IFS
2676
2677fi
2678fi
2679CC=$ac_cv_prog_CC
2680if test -n "$CC"; then
2681  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2682$as_echo "$CC" >&6; }
2683else
2684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2685$as_echo "no" >&6; }
2686fi
2687
2688
2689    test -n "$CC" && break
2690  done
2691fi
2692if test -z "$CC"; then
2693  ac_ct_CC=$CC
2694  for ac_prog in cl.exe
2695do
2696  # Extract the first word of "$ac_prog", so it can be a program name with args.
2697set dummy $ac_prog; ac_word=$2
2698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2699$as_echo_n "checking for $ac_word... " >&6; }
2700if ${ac_cv_prog_ac_ct_CC+:} false; then :
2701  $as_echo_n "(cached) " >&6
2702else
2703  if test -n "$ac_ct_CC"; then
2704  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2705else
2706as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707for as_dir in $PATH
2708do
2709  IFS=$as_save_IFS
2710  test -z "$as_dir" && as_dir=.
2711    for ac_exec_ext in '' $ac_executable_extensions; do
2712  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2713    ac_cv_prog_ac_ct_CC="$ac_prog"
2714    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2715    break 2
2716  fi
2717done
2718  done
2719IFS=$as_save_IFS
2720
2721fi
2722fi
2723ac_ct_CC=$ac_cv_prog_ac_ct_CC
2724if test -n "$ac_ct_CC"; then
2725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2726$as_echo "$ac_ct_CC" >&6; }
2727else
2728  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2729$as_echo "no" >&6; }
2730fi
2731
2732
2733  test -n "$ac_ct_CC" && break
2734done
2735
2736  if test "x$ac_ct_CC" = x; then
2737    CC=""
2738  else
2739    case $cross_compiling:$ac_tool_warned in
2740yes:)
2741{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2742$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2743ac_tool_warned=yes ;;
2744esac
2745    CC=$ac_ct_CC
2746  fi
2747fi
2748
2749fi
2750
2751
2752test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2753$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2754as_fn_error $? "no acceptable C compiler found in \$PATH
2755See \`config.log' for more details" "$LINENO" 5; }
2756
2757# Provide some information about the compiler.
2758$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2759set X $ac_compile
2760ac_compiler=$2
2761for ac_option in --version -v -V -qversion; do
2762  { { ac_try="$ac_compiler $ac_option >&5"
2763case "(($ac_try" in
2764  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2765  *) ac_try_echo=$ac_try;;
2766esac
2767eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2768$as_echo "$ac_try_echo"; } >&5
2769  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2770  ac_status=$?
2771  if test -s conftest.err; then
2772    sed '10a\
2773... rest of stderr output deleted ...
2774         10q' conftest.err >conftest.er1
2775    cat conftest.er1 >&5
2776  fi
2777  rm -f conftest.er1 conftest.err
2778  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2779  test $ac_status = 0; }
2780done
2781
2782cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2783/* end confdefs.h.  */
2784
2785int
2786main ()
2787{
2788
2789  ;
2790  return 0;
2791}
2792_ACEOF
2793ac_clean_files_save=$ac_clean_files
2794ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2795# Try to create an executable without -o first, disregard a.out.
2796# It will help us diagnose broken compilers, and finding out an intuition
2797# of exeext.
2798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2799$as_echo_n "checking whether the C compiler works... " >&6; }
2800ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2801
2802# The possible output files:
2803ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2804
2805ac_rmfiles=
2806for ac_file in $ac_files
2807do
2808  case $ac_file in
2809    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2810    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2811  esac
2812done
2813rm -f $ac_rmfiles
2814
2815if { { ac_try="$ac_link_default"
2816case "(($ac_try" in
2817  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2818  *) ac_try_echo=$ac_try;;
2819esac
2820eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2821$as_echo "$ac_try_echo"; } >&5
2822  (eval "$ac_link_default") 2>&5
2823  ac_status=$?
2824  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2825  test $ac_status = 0; }; then :
2826  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2827# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2828# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2829# so that the user can short-circuit this test for compilers unknown to
2830# Autoconf.
2831for ac_file in $ac_files ''
2832do
2833  test -f "$ac_file" || continue
2834  case $ac_file in
2835    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2836	;;
2837    [ab].out )
2838	# We found the default executable, but exeext='' is most
2839	# certainly right.
2840	break;;
2841    *.* )
2842	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2843	then :; else
2844	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2845	fi
2846	# We set ac_cv_exeext here because the later test for it is not
2847	# safe: cross compilers may not add the suffix if given an `-o'
2848	# argument, so we may need to know it at that point already.
2849	# Even if this section looks crufty: it has the advantage of
2850	# actually working.
2851	break;;
2852    * )
2853	break;;
2854  esac
2855done
2856test "$ac_cv_exeext" = no && ac_cv_exeext=
2857
2858else
2859  ac_file=''
2860fi
2861if test -z "$ac_file"; then :
2862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2863$as_echo "no" >&6; }
2864$as_echo "$as_me: failed program was:" >&5
2865sed 's/^/| /' conftest.$ac_ext >&5
2866
2867{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2868$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2869as_fn_error 77 "C compiler cannot create executables
2870See \`config.log' for more details" "$LINENO" 5; }
2871else
2872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2873$as_echo "yes" >&6; }
2874fi
2875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2876$as_echo_n "checking for C compiler default output file name... " >&6; }
2877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2878$as_echo "$ac_file" >&6; }
2879ac_exeext=$ac_cv_exeext
2880
2881rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2882ac_clean_files=$ac_clean_files_save
2883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2884$as_echo_n "checking for suffix of executables... " >&6; }
2885if { { ac_try="$ac_link"
2886case "(($ac_try" in
2887  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2888  *) ac_try_echo=$ac_try;;
2889esac
2890eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2891$as_echo "$ac_try_echo"; } >&5
2892  (eval "$ac_link") 2>&5
2893  ac_status=$?
2894  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2895  test $ac_status = 0; }; then :
2896  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2897# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2898# work properly (i.e., refer to `conftest.exe'), while it won't with
2899# `rm'.
2900for ac_file in conftest.exe conftest conftest.*; do
2901  test -f "$ac_file" || continue
2902  case $ac_file in
2903    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2904    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2905	  break;;
2906    * ) break;;
2907  esac
2908done
2909else
2910  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2911$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2912as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2913See \`config.log' for more details" "$LINENO" 5; }
2914fi
2915rm -f conftest conftest$ac_cv_exeext
2916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2917$as_echo "$ac_cv_exeext" >&6; }
2918
2919rm -f conftest.$ac_ext
2920EXEEXT=$ac_cv_exeext
2921ac_exeext=$EXEEXT
2922cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2923/* end confdefs.h.  */
2924@%:@include <stdio.h>
2925int
2926main ()
2927{
2928FILE *f = fopen ("conftest.out", "w");
2929 return ferror (f) || fclose (f) != 0;
2930
2931  ;
2932  return 0;
2933}
2934_ACEOF
2935ac_clean_files="$ac_clean_files conftest.out"
2936# Check that the compiler produces executables we can run.  If not, either
2937# the compiler is broken, or we cross compile.
2938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2939$as_echo_n "checking whether we are cross compiling... " >&6; }
2940if test "$cross_compiling" != yes; then
2941  { { ac_try="$ac_link"
2942case "(($ac_try" in
2943  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2944  *) ac_try_echo=$ac_try;;
2945esac
2946eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2947$as_echo "$ac_try_echo"; } >&5
2948  (eval "$ac_link") 2>&5
2949  ac_status=$?
2950  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2951  test $ac_status = 0; }
2952  if { ac_try='./conftest$ac_cv_exeext'
2953  { { case "(($ac_try" in
2954  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2955  *) ac_try_echo=$ac_try;;
2956esac
2957eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2958$as_echo "$ac_try_echo"; } >&5
2959  (eval "$ac_try") 2>&5
2960  ac_status=$?
2961  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2962  test $ac_status = 0; }; }; then
2963    cross_compiling=no
2964  else
2965    if test "$cross_compiling" = maybe; then
2966	cross_compiling=yes
2967    else
2968	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2969$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2970as_fn_error $? "cannot run C compiled programs.
2971If you meant to cross compile, use \`--host'.
2972See \`config.log' for more details" "$LINENO" 5; }
2973    fi
2974  fi
2975fi
2976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2977$as_echo "$cross_compiling" >&6; }
2978
2979rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2980ac_clean_files=$ac_clean_files_save
2981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2982$as_echo_n "checking for suffix of object files... " >&6; }
2983if ${ac_cv_objext+:} false; then :
2984  $as_echo_n "(cached) " >&6
2985else
2986  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2987/* end confdefs.h.  */
2988
2989int
2990main ()
2991{
2992
2993  ;
2994  return 0;
2995}
2996_ACEOF
2997rm -f conftest.o conftest.obj
2998if { { ac_try="$ac_compile"
2999case "(($ac_try" in
3000  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3001  *) ac_try_echo=$ac_try;;
3002esac
3003eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3004$as_echo "$ac_try_echo"; } >&5
3005  (eval "$ac_compile") 2>&5
3006  ac_status=$?
3007  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3008  test $ac_status = 0; }; then :
3009  for ac_file in conftest.o conftest.obj conftest.*; do
3010  test -f "$ac_file" || continue;
3011  case $ac_file in
3012    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3013    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3014       break;;
3015  esac
3016done
3017else
3018  $as_echo "$as_me: failed program was:" >&5
3019sed 's/^/| /' conftest.$ac_ext >&5
3020
3021{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3022$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3023as_fn_error $? "cannot compute suffix of object files: cannot compile
3024See \`config.log' for more details" "$LINENO" 5; }
3025fi
3026rm -f conftest.$ac_cv_objext conftest.$ac_ext
3027fi
3028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3029$as_echo "$ac_cv_objext" >&6; }
3030OBJEXT=$ac_cv_objext
3031ac_objext=$OBJEXT
3032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3033$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3034if ${ac_cv_c_compiler_gnu+:} false; then :
3035  $as_echo_n "(cached) " >&6
3036else
3037  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3038/* end confdefs.h.  */
3039
3040int
3041main ()
3042{
3043#ifndef __GNUC__
3044       choke me
3045#endif
3046
3047  ;
3048  return 0;
3049}
3050_ACEOF
3051if ac_fn_c_try_compile "$LINENO"; then :
3052  ac_compiler_gnu=yes
3053else
3054  ac_compiler_gnu=no
3055fi
3056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3057ac_cv_c_compiler_gnu=$ac_compiler_gnu
3058
3059fi
3060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3061$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3062if test $ac_compiler_gnu = yes; then
3063  GCC=yes
3064else
3065  GCC=
3066fi
3067ac_test_CFLAGS=${CFLAGS+set}
3068ac_save_CFLAGS=$CFLAGS
3069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3070$as_echo_n "checking whether $CC accepts -g... " >&6; }
3071if ${ac_cv_prog_cc_g+:} false; then :
3072  $as_echo_n "(cached) " >&6
3073else
3074  ac_save_c_werror_flag=$ac_c_werror_flag
3075   ac_c_werror_flag=yes
3076   ac_cv_prog_cc_g=no
3077   CFLAGS="-g"
3078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3079/* end confdefs.h.  */
3080
3081int
3082main ()
3083{
3084
3085  ;
3086  return 0;
3087}
3088_ACEOF
3089if ac_fn_c_try_compile "$LINENO"; then :
3090  ac_cv_prog_cc_g=yes
3091else
3092  CFLAGS=""
3093      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3094/* end confdefs.h.  */
3095
3096int
3097main ()
3098{
3099
3100  ;
3101  return 0;
3102}
3103_ACEOF
3104if ac_fn_c_try_compile "$LINENO"; then :
3105
3106else
3107  ac_c_werror_flag=$ac_save_c_werror_flag
3108	 CFLAGS="-g"
3109	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3110/* end confdefs.h.  */
3111
3112int
3113main ()
3114{
3115
3116  ;
3117  return 0;
3118}
3119_ACEOF
3120if ac_fn_c_try_compile "$LINENO"; then :
3121  ac_cv_prog_cc_g=yes
3122fi
3123rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3124fi
3125rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3126fi
3127rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3128   ac_c_werror_flag=$ac_save_c_werror_flag
3129fi
3130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3131$as_echo "$ac_cv_prog_cc_g" >&6; }
3132if test "$ac_test_CFLAGS" = set; then
3133  CFLAGS=$ac_save_CFLAGS
3134elif test $ac_cv_prog_cc_g = yes; then
3135  if test "$GCC" = yes; then
3136    CFLAGS="-g -O2"
3137  else
3138    CFLAGS="-g"
3139  fi
3140else
3141  if test "$GCC" = yes; then
3142    CFLAGS="-O2"
3143  else
3144    CFLAGS=
3145  fi
3146fi
3147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3148$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3149if ${ac_cv_prog_cc_c89+:} false; then :
3150  $as_echo_n "(cached) " >&6
3151else
3152  ac_cv_prog_cc_c89=no
3153ac_save_CC=$CC
3154cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3155/* end confdefs.h.  */
3156#include <stdarg.h>
3157#include <stdio.h>
3158struct stat;
3159/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3160struct buf { int x; };
3161FILE * (*rcsopen) (struct buf *, struct stat *, int);
3162static char *e (p, i)
3163     char **p;
3164     int i;
3165{
3166  return p[i];
3167}
3168static char *f (char * (*g) (char **, int), char **p, ...)
3169{
3170  char *s;
3171  va_list v;
3172  va_start (v,p);
3173  s = g (p, va_arg (v,int));
3174  va_end (v);
3175  return s;
3176}
3177
3178/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3179   function prototypes and stuff, but not '\xHH' hex character constants.
3180   These don't provoke an error unfortunately, instead are silently treated
3181   as 'x'.  The following induces an error, until -std is added to get
3182   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3183   array size at least.  It's necessary to write '\x00'==0 to get something
3184   that's true only with -std.  */
3185int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3186
3187/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3188   inside strings and character constants.  */
3189#define FOO(x) 'x'
3190int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3191
3192int test (int i, double x);
3193struct s1 {int (*f) (int a);};
3194struct s2 {int (*f) (double a);};
3195int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3196int argc;
3197char **argv;
3198int
3199main ()
3200{
3201return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3202  ;
3203  return 0;
3204}
3205_ACEOF
3206for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3207	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3208do
3209  CC="$ac_save_CC $ac_arg"
3210  if ac_fn_c_try_compile "$LINENO"; then :
3211  ac_cv_prog_cc_c89=$ac_arg
3212fi
3213rm -f core conftest.err conftest.$ac_objext
3214  test "x$ac_cv_prog_cc_c89" != "xno" && break
3215done
3216rm -f conftest.$ac_ext
3217CC=$ac_save_CC
3218
3219fi
3220# AC_CACHE_VAL
3221case "x$ac_cv_prog_cc_c89" in
3222  x)
3223    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3224$as_echo "none needed" >&6; } ;;
3225  xno)
3226    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3227$as_echo "unsupported" >&6; } ;;
3228  *)
3229    CC="$CC $ac_cv_prog_cc_c89"
3230    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3231$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3232esac
3233if test "x$ac_cv_prog_cc_c89" != xno; then :
3234
3235fi
3236
3237ac_ext=c
3238ac_cpp='$CPP $CPPFLAGS'
3239ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3240ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3241ac_compiler_gnu=$ac_cv_c_compiler_gnu
3242
3243
3244ac_ext=c
3245ac_cpp='$CPP $CPPFLAGS'
3246ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3247ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3248ac_compiler_gnu=$ac_cv_c_compiler_gnu
3249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3250$as_echo_n "checking how to run the C preprocessor... " >&6; }
3251# On Suns, sometimes $CPP names a directory.
3252if test -n "$CPP" && test -d "$CPP"; then
3253  CPP=
3254fi
3255if test -z "$CPP"; then
3256  if ${ac_cv_prog_CPP+:} false; then :
3257  $as_echo_n "(cached) " >&6
3258else
3259      # Double quotes because CPP needs to be expanded
3260    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3261    do
3262      ac_preproc_ok=false
3263for ac_c_preproc_warn_flag in '' yes
3264do
3265  # Use a header file that comes with gcc, so configuring glibc
3266  # with a fresh cross-compiler works.
3267  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3268  # <limits.h> exists even on freestanding compilers.
3269  # On the NeXT, cc -E runs the code through the compiler's parser,
3270  # not just through cpp. "Syntax error" is here to catch this case.
3271  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3272/* end confdefs.h.  */
3273@%:@ifdef __STDC__
3274@%:@ include <limits.h>
3275@%:@else
3276@%:@ include <assert.h>
3277@%:@endif
3278		     Syntax error
3279_ACEOF
3280if ac_fn_c_try_cpp "$LINENO"; then :
3281
3282else
3283  # Broken: fails on valid input.
3284continue
3285fi
3286rm -f conftest.err conftest.i conftest.$ac_ext
3287
3288  # OK, works on sane cases.  Now check whether nonexistent headers
3289  # can be detected and how.
3290  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291/* end confdefs.h.  */
3292@%:@include <ac_nonexistent.h>
3293_ACEOF
3294if ac_fn_c_try_cpp "$LINENO"; then :
3295  # Broken: success on invalid input.
3296continue
3297else
3298  # Passes both tests.
3299ac_preproc_ok=:
3300break
3301fi
3302rm -f conftest.err conftest.i conftest.$ac_ext
3303
3304done
3305# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3306rm -f conftest.i conftest.err conftest.$ac_ext
3307if $ac_preproc_ok; then :
3308  break
3309fi
3310
3311    done
3312    ac_cv_prog_CPP=$CPP
3313
3314fi
3315  CPP=$ac_cv_prog_CPP
3316else
3317  ac_cv_prog_CPP=$CPP
3318fi
3319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3320$as_echo "$CPP" >&6; }
3321ac_preproc_ok=false
3322for ac_c_preproc_warn_flag in '' yes
3323do
3324  # Use a header file that comes with gcc, so configuring glibc
3325  # with a fresh cross-compiler works.
3326  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3327  # <limits.h> exists even on freestanding compilers.
3328  # On the NeXT, cc -E runs the code through the compiler's parser,
3329  # not just through cpp. "Syntax error" is here to catch this case.
3330  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3331/* end confdefs.h.  */
3332@%:@ifdef __STDC__
3333@%:@ include <limits.h>
3334@%:@else
3335@%:@ include <assert.h>
3336@%:@endif
3337		     Syntax error
3338_ACEOF
3339if ac_fn_c_try_cpp "$LINENO"; then :
3340
3341else
3342  # Broken: fails on valid input.
3343continue
3344fi
3345rm -f conftest.err conftest.i conftest.$ac_ext
3346
3347  # OK, works on sane cases.  Now check whether nonexistent headers
3348  # can be detected and how.
3349  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350/* end confdefs.h.  */
3351@%:@include <ac_nonexistent.h>
3352_ACEOF
3353if ac_fn_c_try_cpp "$LINENO"; then :
3354  # Broken: success on invalid input.
3355continue
3356else
3357  # Passes both tests.
3358ac_preproc_ok=:
3359break
3360fi
3361rm -f conftest.err conftest.i conftest.$ac_ext
3362
3363done
3364# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3365rm -f conftest.i conftest.err conftest.$ac_ext
3366if $ac_preproc_ok; then :
3367
3368else
3369  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3370$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3371as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3372See \`config.log' for more details" "$LINENO" 5; }
3373fi
3374
3375ac_ext=c
3376ac_cpp='$CPP $CPPFLAGS'
3377ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3378ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3379ac_compiler_gnu=$ac_cv_c_compiler_gnu
3380
3381
3382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3383$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3384if ${ac_cv_path_GREP+:} false; then :
3385  $as_echo_n "(cached) " >&6
3386else
3387  if test -z "$GREP"; then
3388  ac_path_GREP_found=false
3389  # Loop through the user's path and test for each of PROGNAME-LIST
3390  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3391for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3392do
3393  IFS=$as_save_IFS
3394  test -z "$as_dir" && as_dir=.
3395    for ac_prog in grep ggrep; do
3396    for ac_exec_ext in '' $ac_executable_extensions; do
3397      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3398      as_fn_executable_p "$ac_path_GREP" || continue
3399# Check for GNU ac_path_GREP and select it if it is found.
3400  # Check for GNU $ac_path_GREP
3401case `"$ac_path_GREP" --version 2>&1` in
3402*GNU*)
3403  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3404*)
3405  ac_count=0
3406  $as_echo_n 0123456789 >"conftest.in"
3407  while :
3408  do
3409    cat "conftest.in" "conftest.in" >"conftest.tmp"
3410    mv "conftest.tmp" "conftest.in"
3411    cp "conftest.in" "conftest.nl"
3412    $as_echo 'GREP' >> "conftest.nl"
3413    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3414    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3415    as_fn_arith $ac_count + 1 && ac_count=$as_val
3416    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3417      # Best one so far, save it but keep looking for a better one
3418      ac_cv_path_GREP="$ac_path_GREP"
3419      ac_path_GREP_max=$ac_count
3420    fi
3421    # 10*(2^10) chars as input seems more than enough
3422    test $ac_count -gt 10 && break
3423  done
3424  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3425esac
3426
3427      $ac_path_GREP_found && break 3
3428    done
3429  done
3430  done
3431IFS=$as_save_IFS
3432  if test -z "$ac_cv_path_GREP"; then
3433    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3434  fi
3435else
3436  ac_cv_path_GREP=$GREP
3437fi
3438
3439fi
3440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3441$as_echo "$ac_cv_path_GREP" >&6; }
3442 GREP="$ac_cv_path_GREP"
3443
3444
3445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3446$as_echo_n "checking for egrep... " >&6; }
3447if ${ac_cv_path_EGREP+:} false; then :
3448  $as_echo_n "(cached) " >&6
3449else
3450  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3451   then ac_cv_path_EGREP="$GREP -E"
3452   else
3453     if test -z "$EGREP"; then
3454  ac_path_EGREP_found=false
3455  # Loop through the user's path and test for each of PROGNAME-LIST
3456  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3457for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3458do
3459  IFS=$as_save_IFS
3460  test -z "$as_dir" && as_dir=.
3461    for ac_prog in egrep; do
3462    for ac_exec_ext in '' $ac_executable_extensions; do
3463      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3464      as_fn_executable_p "$ac_path_EGREP" || continue
3465# Check for GNU ac_path_EGREP and select it if it is found.
3466  # Check for GNU $ac_path_EGREP
3467case `"$ac_path_EGREP" --version 2>&1` in
3468*GNU*)
3469  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3470*)
3471  ac_count=0
3472  $as_echo_n 0123456789 >"conftest.in"
3473  while :
3474  do
3475    cat "conftest.in" "conftest.in" >"conftest.tmp"
3476    mv "conftest.tmp" "conftest.in"
3477    cp "conftest.in" "conftest.nl"
3478    $as_echo 'EGREP' >> "conftest.nl"
3479    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3480    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3481    as_fn_arith $ac_count + 1 && ac_count=$as_val
3482    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3483      # Best one so far, save it but keep looking for a better one
3484      ac_cv_path_EGREP="$ac_path_EGREP"
3485      ac_path_EGREP_max=$ac_count
3486    fi
3487    # 10*(2^10) chars as input seems more than enough
3488    test $ac_count -gt 10 && break
3489  done
3490  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3491esac
3492
3493      $ac_path_EGREP_found && break 3
3494    done
3495  done
3496  done
3497IFS=$as_save_IFS
3498  if test -z "$ac_cv_path_EGREP"; then
3499    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3500  fi
3501else
3502  ac_cv_path_EGREP=$EGREP
3503fi
3504
3505   fi
3506fi
3507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3508$as_echo "$ac_cv_path_EGREP" >&6; }
3509 EGREP="$ac_cv_path_EGREP"
3510
3511
3512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3513$as_echo_n "checking for ANSI C header files... " >&6; }
3514if ${ac_cv_header_stdc+:} false; then :
3515  $as_echo_n "(cached) " >&6
3516else
3517  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518/* end confdefs.h.  */
3519#include <stdlib.h>
3520#include <stdarg.h>
3521#include <string.h>
3522#include <float.h>
3523
3524int
3525main ()
3526{
3527
3528  ;
3529  return 0;
3530}
3531_ACEOF
3532if ac_fn_c_try_compile "$LINENO"; then :
3533  ac_cv_header_stdc=yes
3534else
3535  ac_cv_header_stdc=no
3536fi
3537rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538
3539if test $ac_cv_header_stdc = yes; then
3540  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3541  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3542/* end confdefs.h.  */
3543#include <string.h>
3544
3545_ACEOF
3546if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3547  $EGREP "memchr" >/dev/null 2>&1; then :
3548
3549else
3550  ac_cv_header_stdc=no
3551fi
3552rm -f conftest*
3553
3554fi
3555
3556if test $ac_cv_header_stdc = yes; then
3557  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3558  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559/* end confdefs.h.  */
3560#include <stdlib.h>
3561
3562_ACEOF
3563if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3564  $EGREP "free" >/dev/null 2>&1; then :
3565
3566else
3567  ac_cv_header_stdc=no
3568fi
3569rm -f conftest*
3570
3571fi
3572
3573if test $ac_cv_header_stdc = yes; then
3574  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3575  if test "$cross_compiling" = yes; then :
3576  :
3577else
3578  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579/* end confdefs.h.  */
3580#include <ctype.h>
3581#include <stdlib.h>
3582#if ((' ' & 0x0FF) == 0x020)
3583# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3584# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3585#else
3586# define ISLOWER(c) \
3587		   (('a' <= (c) && (c) <= 'i') \
3588		     || ('j' <= (c) && (c) <= 'r') \
3589		     || ('s' <= (c) && (c) <= 'z'))
3590# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3591#endif
3592
3593#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3594int
3595main ()
3596{
3597  int i;
3598  for (i = 0; i < 256; i++)
3599    if (XOR (islower (i), ISLOWER (i))
3600	|| toupper (i) != TOUPPER (i))
3601      return 2;
3602  return 0;
3603}
3604_ACEOF
3605if ac_fn_c_try_run "$LINENO"; then :
3606
3607else
3608  ac_cv_header_stdc=no
3609fi
3610rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3611  conftest.$ac_objext conftest.beam conftest.$ac_ext
3612fi
3613
3614fi
3615fi
3616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3617$as_echo "$ac_cv_header_stdc" >&6; }
3618if test $ac_cv_header_stdc = yes; then
3619
3620$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
3621
3622fi
3623
3624
3625if test $ac_cv_header_stdc = yes; then
3626  $as_echo "@%:@define HAVE_ASSERT_H 1" >>confdefs.h
3627
3628  $as_echo "@%:@define HAVE_LIMITS_H 1" >>confdefs.h
3629
3630  $as_echo "@%:@define HAVE_STDLIB_H 1" >>confdefs.h
3631
3632  $as_echo "@%:@define HAVE_STRING_H 1" >>confdefs.h
3633
3634
3635else	# If non-ANSI, check for other brokenness.
3636
3637# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3638for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3639		  inttypes.h stdint.h unistd.h
3640do :
3641  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3642ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3643"
3644if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3645  cat >>confdefs.h <<_ACEOF
3646@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3647_ACEOF
3648
3649fi
3650
3651done
3652
3653
3654for ac_header in assert.h limits.h stdlib.h string.h
3655do :
3656  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3657ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3658if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3659  cat >>confdefs.h <<_ACEOF
3660@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3661_ACEOF
3662
3663fi
3664
3665done
3666
3667
3668fi
3669# ^^ End of non-ANSI header brokenness tests (first part)
3670
3671# Check that we have <sys/time.h> explicitly.
3672for ac_header in sys/time.h
3673do :
3674  ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
3675if test "x$ac_cv_header_sys_time_h" = xyes; then :
3676  cat >>confdefs.h <<_ACEOF
3677@%:@define HAVE_SYS_TIME_H 1
3678_ACEOF
3679
3680fi
3681
3682done
3683
3684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
3685$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
3686if ${ac_cv_header_time+:} false; then :
3687  $as_echo_n "(cached) " >&6
3688else
3689  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690/* end confdefs.h.  */
3691#include <sys/types.h>
3692#include <sys/time.h>
3693#include <time.h>
3694
3695int
3696main ()
3697{
3698if ((struct tm *) 0)
3699return 0;
3700  ;
3701  return 0;
3702}
3703_ACEOF
3704if ac_fn_c_try_compile "$LINENO"; then :
3705  ac_cv_header_time=yes
3706else
3707  ac_cv_header_time=no
3708fi
3709rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3710fi
3711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
3712$as_echo "$ac_cv_header_time" >&6; }
3713if test $ac_cv_header_time = yes; then
3714
3715$as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
3716
3717fi
3718
3719
3720# Verify that the compiler supports const, and that it works.
3721# A number of compilers sort of support const, but they have bugs
3722# that will prevent valid programs from compiling.
3723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3724$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3725if ${ac_cv_c_const+:} false; then :
3726  $as_echo_n "(cached) " >&6
3727else
3728  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729/* end confdefs.h.  */
3730
3731int
3732main ()
3733{
3734
3735#ifndef __cplusplus
3736  /* Ultrix mips cc rejects this sort of thing.  */
3737  typedef int charset[2];
3738  const charset cs = { 0, 0 };
3739  /* SunOS 4.1.1 cc rejects this.  */
3740  char const *const *pcpcc;
3741  char **ppc;
3742  /* NEC SVR4.0.2 mips cc rejects this.  */
3743  struct point {int x, y;};
3744  static struct point const zero = {0,0};
3745  /* AIX XL C 1.02.0.0 rejects this.
3746     It does not let you subtract one const X* pointer from another in
3747     an arm of an if-expression whose if-part is not a constant
3748     expression */
3749  const char *g = "string";
3750  pcpcc = &g + (g ? g-g : 0);
3751  /* HPUX 7.0 cc rejects these. */
3752  ++pcpcc;
3753  ppc = (char**) pcpcc;
3754  pcpcc = (char const *const *) ppc;
3755  { /* SCO 3.2v4 cc rejects this sort of thing.  */
3756    char tx;
3757    char *t = &tx;
3758    char const *s = 0 ? (char *) 0 : (char const *) 0;
3759
3760    *t++ = 0;
3761    if (s) return 0;
3762  }
3763  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
3764    int x[] = {25, 17};
3765    const int *foo = &x[0];
3766    ++foo;
3767  }
3768  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3769    typedef const int *iptr;
3770    iptr p = 0;
3771    ++p;
3772  }
3773  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
3774       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3775    struct s { int j; const int *ap[3]; } bx;
3776    struct s *b = &bx; b->j = 5;
3777  }
3778  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3779    const int foo = 10;
3780    if (!foo) return 0;
3781  }
3782  return !cs[0] && !zero.x;
3783#endif
3784
3785  ;
3786  return 0;
3787}
3788_ACEOF
3789if ac_fn_c_try_compile "$LINENO"; then :
3790  ac_cv_c_const=yes
3791else
3792  ac_cv_c_const=no
3793fi
3794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3795fi
3796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3797$as_echo "$ac_cv_c_const" >&6; }
3798if test $ac_cv_c_const = no; then
3799
3800$as_echo "@%:@define const /**/" >>confdefs.h
3801
3802fi
3803
3804
3805# See if we have size_t.  (If not, define it as unsigned.)
3806ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
3807if test "x$ac_cv_type_size_t" = xyes; then :
3808
3809else
3810
3811cat >>confdefs.h <<_ACEOF
3812@%:@define size_t unsigned int
3813_ACEOF
3814
3815fi
3816
3817
3818for ac_func in clock_gettime gethrvtime getrusage
3819do :
3820  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3821ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3822if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
3823  cat >>confdefs.h <<_ACEOF
3824@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3825_ACEOF
3826
3827fi
3828done
3829
3830
3831# If we don't have ANSI C, see if a few functions are missing that
3832# we've noticed the lack of before.
3833if test $ac_cv_header_stdc = yes; then
3834  $as_echo "@%:@define HAVE_CLOCK 1" >>confdefs.h
3835
3836  $as_echo "@%:@define HAVE_TIME 1" >>confdefs.h
3837
3838  $as_echo "@%:@define HAVE_MEMMOVE 1" >>confdefs.h
3839
3840  $as_echo "@%:@define HAVE_MEMCPY 1" >>confdefs.h
3841
3842else
3843for ac_func in clock time memmove memcpy
3844do :
3845  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3846ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3847if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
3848  cat >>confdefs.h <<_ACEOF
3849@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3850_ACEOF
3851
3852fi
3853done
3854
3855fi
3856# ^^ End of non-ANSI header brokenness tests (second part)
3857
3858# libzrtp - fix it back
3859#AC_OUTPUT_SUBDIRS(test)
3860
3861# The big bang!  Produce the output files.  This is config.cache, and
3862# config.status, which builds the config.h file and a long list of
3863# Makefiles.
3864ac_config_files="$ac_config_files Makefile"
3865
3866cat >confcache <<\_ACEOF
3867# This file is a shell script that caches the results of configure
3868# tests run on this system so they can be shared between configure
3869# scripts and configure runs, see configure's option --config-cache.
3870# It is not useful on other systems.  If it contains results you don't
3871# want to keep, you may remove or edit it.
3872#
3873# config.status only pays attention to the cache file if you give it
3874# the --recheck option to rerun configure.
3875#
3876# `ac_cv_env_foo' variables (set or unset) will be overridden when
3877# loading this file, other *unset* `ac_cv_foo' will be assigned the
3878# following values.
3879
3880_ACEOF
3881
3882# The following way of writing the cache mishandles newlines in values,
3883# but we know of no workaround that is simple, portable, and efficient.
3884# So, we kill variables containing newlines.
3885# Ultrix sh set writes to stderr and can't be redirected directly,
3886# and sets the high bit in the cache file unless we assign to the vars.
3887(
3888  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3889    eval ac_val=\$$ac_var
3890    case $ac_val in #(
3891    *${as_nl}*)
3892      case $ac_var in #(
3893      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3894$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3895      esac
3896      case $ac_var in #(
3897      _ | IFS | as_nl) ;; #(
3898      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3899      *) { eval $ac_var=; unset $ac_var;} ;;
3900      esac ;;
3901    esac
3902  done
3903
3904  (set) 2>&1 |
3905    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3906    *${as_nl}ac_space=\ *)
3907      # `set' does not quote correctly, so add quotes: double-quote
3908      # substitution turns \\\\ into \\, and sed turns \\ into \.
3909      sed -n \
3910	"s/'/'\\\\''/g;
3911	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3912      ;; #(
3913    *)
3914      # `set' quotes correctly as required by POSIX, so do not add quotes.
3915      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3916      ;;
3917    esac |
3918    sort
3919) |
3920  sed '
3921     /^ac_cv_env_/b end
3922     t clear
3923     :clear
3924     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3925     t end
3926     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3927     :end' >>confcache
3928if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3929  if test -w "$cache_file"; then
3930    if test "x$cache_file" != "x/dev/null"; then
3931      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3932$as_echo "$as_me: updating cache $cache_file" >&6;}
3933      if test ! -f "$cache_file" || test -h "$cache_file"; then
3934	cat confcache >"$cache_file"
3935      else
3936        case $cache_file in #(
3937        */* | ?:*)
3938	  mv -f confcache "$cache_file"$$ &&
3939	  mv -f "$cache_file"$$ "$cache_file" ;; #(
3940        *)
3941	  mv -f confcache "$cache_file" ;;
3942	esac
3943      fi
3944    fi
3945  else
3946    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3947$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3948  fi
3949fi
3950rm -f confcache
3951
3952test "x$prefix" = xNONE && prefix=$ac_default_prefix
3953# Let make expand exec_prefix.
3954test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3955
3956DEFS=-DHAVE_CONFIG_H
3957
3958ac_libobjs=
3959ac_ltlibobjs=
3960U=
3961for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
3962  # 1. Remove the extension, and $U if already installed.
3963  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3964  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3965  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3966  #    will be set to the directory where LIBOBJS objects are built.
3967  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3968  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3969done
3970LIB@&t@OBJS=$ac_libobjs
3971
3972LTLIBOBJS=$ac_ltlibobjs
3973
3974
3975
3976: "${CONFIG_STATUS=./config.status}"
3977ac_write_fail=0
3978ac_clean_files_save=$ac_clean_files
3979ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3980{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3981$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3982as_write_fail=0
3983cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3984#! $SHELL
3985# Generated by $as_me.
3986# Run this file to recreate the current configuration.
3987# Compiler output produced by configure, useful for debugging
3988# configure, is in config.log if it exists.
3989
3990debug=false
3991ac_cs_recheck=false
3992ac_cs_silent=false
3993
3994SHELL=\${CONFIG_SHELL-$SHELL}
3995export SHELL
3996_ASEOF
3997cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3998## -------------------- ##
3999## M4sh Initialization. ##
4000## -------------------- ##
4001
4002# Be more Bourne compatible
4003DUALCASE=1; export DUALCASE # for MKS sh
4004if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4005  emulate sh
4006  NULLCMD=:
4007  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4008  # is contrary to our usage.  Disable this feature.
4009  alias -g '${1+"$@"}'='"$@"'
4010  setopt NO_GLOB_SUBST
4011else
4012  case `(set -o) 2>/dev/null` in @%:@(
4013  *posix*) :
4014    set -o posix ;; @%:@(
4015  *) :
4016     ;;
4017esac
4018fi
4019
4020
4021as_nl='
4022'
4023export as_nl
4024# Printing a long string crashes Solaris 7 /usr/bin/printf.
4025as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4026as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4027as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4028# Prefer a ksh shell builtin over an external printf program on Solaris,
4029# but without wasting forks for bash or zsh.
4030if test -z "$BASH_VERSION$ZSH_VERSION" \
4031    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4032  as_echo='print -r --'
4033  as_echo_n='print -rn --'
4034elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4035  as_echo='printf %s\n'
4036  as_echo_n='printf %s'
4037else
4038  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4039    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4040    as_echo_n='/usr/ucb/echo -n'
4041  else
4042    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4043    as_echo_n_body='eval
4044      arg=$1;
4045      case $arg in @%:@(
4046      *"$as_nl"*)
4047	expr "X$arg" : "X\\(.*\\)$as_nl";
4048	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4049      esac;
4050      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4051    '
4052    export as_echo_n_body
4053    as_echo_n='sh -c $as_echo_n_body as_echo'
4054  fi
4055  export as_echo_body
4056  as_echo='sh -c $as_echo_body as_echo'
4057fi
4058
4059# The user is always right.
4060if test "${PATH_SEPARATOR+set}" != set; then
4061  PATH_SEPARATOR=:
4062  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4063    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4064      PATH_SEPARATOR=';'
4065  }
4066fi
4067
4068
4069# IFS
4070# We need space, tab and new line, in precisely that order.  Quoting is
4071# there to prevent editors from complaining about space-tab.
4072# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4073# splitting by setting IFS to empty value.)
4074IFS=" ""	$as_nl"
4075
4076# Find who we are.  Look in the path if we contain no directory separator.
4077as_myself=
4078case $0 in @%:@((
4079  *[\\/]* ) as_myself=$0 ;;
4080  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4081for as_dir in $PATH
4082do
4083  IFS=$as_save_IFS
4084  test -z "$as_dir" && as_dir=.
4085    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4086  done
4087IFS=$as_save_IFS
4088
4089     ;;
4090esac
4091# We did not find ourselves, most probably we were run as `sh COMMAND'
4092# in which case we are not to be found in the path.
4093if test "x$as_myself" = x; then
4094  as_myself=$0
4095fi
4096if test ! -f "$as_myself"; then
4097  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4098  exit 1
4099fi
4100
4101# Unset variables that we do not need and which cause bugs (e.g. in
4102# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4103# suppresses any "Segmentation fault" message there.  '((' could
4104# trigger a bug in pdksh 5.2.14.
4105for as_var in BASH_ENV ENV MAIL MAILPATH
4106do eval test x\${$as_var+set} = xset \
4107  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4108done
4109PS1='$ '
4110PS2='> '
4111PS4='+ '
4112
4113# NLS nuisances.
4114LC_ALL=C
4115export LC_ALL
4116LANGUAGE=C
4117export LANGUAGE
4118
4119# CDPATH.
4120(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4121
4122
4123@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
4124@%:@ ----------------------------------------
4125@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4126@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4127@%:@ script with STATUS, using 1 if that was 0.
4128as_fn_error ()
4129{
4130  as_status=$1; test $as_status -eq 0 && as_status=1
4131  if test "$4"; then
4132    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4133    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4134  fi
4135  $as_echo "$as_me: error: $2" >&2
4136  as_fn_exit $as_status
4137} @%:@ as_fn_error
4138
4139
4140@%:@ as_fn_set_status STATUS
4141@%:@ -----------------------
4142@%:@ Set @S|@? to STATUS, without forking.
4143as_fn_set_status ()
4144{
4145  return $1
4146} @%:@ as_fn_set_status
4147
4148@%:@ as_fn_exit STATUS
4149@%:@ -----------------
4150@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4151as_fn_exit ()
4152{
4153  set +e
4154  as_fn_set_status $1
4155  exit $1
4156} @%:@ as_fn_exit
4157
4158@%:@ as_fn_unset VAR
4159@%:@ ---------------
4160@%:@ Portably unset VAR.
4161as_fn_unset ()
4162{
4163  { eval $1=; unset $1;}
4164}
4165as_unset=as_fn_unset
4166@%:@ as_fn_append VAR VALUE
4167@%:@ ----------------------
4168@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
4169@%:@ advantage of any shell optimizations that allow amortized linear growth over
4170@%:@ repeated appends, instead of the typical quadratic growth present in naive
4171@%:@ implementations.
4172if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4173  eval 'as_fn_append ()
4174  {
4175    eval $1+=\$2
4176  }'
4177else
4178  as_fn_append ()
4179  {
4180    eval $1=\$$1\$2
4181  }
4182fi # as_fn_append
4183
4184@%:@ as_fn_arith ARG...
4185@%:@ ------------------
4186@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
4187@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
4188@%:@ must be portable across @S|@(()) and expr.
4189if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4190  eval 'as_fn_arith ()
4191  {
4192    as_val=$(( $* ))
4193  }'
4194else
4195  as_fn_arith ()
4196  {
4197    as_val=`expr "$@" || test $? -eq 1`
4198  }
4199fi # as_fn_arith
4200
4201
4202if expr a : '\(a\)' >/dev/null 2>&1 &&
4203   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4204  as_expr=expr
4205else
4206  as_expr=false
4207fi
4208
4209if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4210  as_basename=basename
4211else
4212  as_basename=false
4213fi
4214
4215if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4216  as_dirname=dirname
4217else
4218  as_dirname=false
4219fi
4220
4221as_me=`$as_basename -- "$0" ||
4222$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4223	 X"$0" : 'X\(//\)$' \| \
4224	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4225$as_echo X/"$0" |
4226    sed '/^.*\/\([^/][^/]*\)\/*$/{
4227	    s//\1/
4228	    q
4229	  }
4230	  /^X\/\(\/\/\)$/{
4231	    s//\1/
4232	    q
4233	  }
4234	  /^X\/\(\/\).*/{
4235	    s//\1/
4236	    q
4237	  }
4238	  s/.*/./; q'`
4239
4240# Avoid depending upon Character Ranges.
4241as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4242as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4243as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4244as_cr_digits='0123456789'
4245as_cr_alnum=$as_cr_Letters$as_cr_digits
4246
4247ECHO_C= ECHO_N= ECHO_T=
4248case `echo -n x` in @%:@(((((
4249-n*)
4250  case `echo 'xy\c'` in
4251  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4252  xy)  ECHO_C='\c';;
4253  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4254       ECHO_T='	';;
4255  esac;;
4256*)
4257  ECHO_N='-n';;
4258esac
4259
4260rm -f conf$$ conf$$.exe conf$$.file
4261if test -d conf$$.dir; then
4262  rm -f conf$$.dir/conf$$.file
4263else
4264  rm -f conf$$.dir
4265  mkdir conf$$.dir 2>/dev/null
4266fi
4267if (echo >conf$$.file) 2>/dev/null; then
4268  if ln -s conf$$.file conf$$ 2>/dev/null; then
4269    as_ln_s='ln -s'
4270    # ... but there are two gotchas:
4271    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4272    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4273    # In both cases, we have to default to `cp -pR'.
4274    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4275      as_ln_s='cp -pR'
4276  elif ln conf$$.file conf$$ 2>/dev/null; then
4277    as_ln_s=ln
4278  else
4279    as_ln_s='cp -pR'
4280  fi
4281else
4282  as_ln_s='cp -pR'
4283fi
4284rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4285rmdir conf$$.dir 2>/dev/null
4286
4287
4288@%:@ as_fn_mkdir_p
4289@%:@ -------------
4290@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
4291as_fn_mkdir_p ()
4292{
4293
4294  case $as_dir in #(
4295  -*) as_dir=./$as_dir;;
4296  esac
4297  test -d "$as_dir" || eval $as_mkdir_p || {
4298    as_dirs=
4299    while :; do
4300      case $as_dir in #(
4301      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4302      *) as_qdir=$as_dir;;
4303      esac
4304      as_dirs="'$as_qdir' $as_dirs"
4305      as_dir=`$as_dirname -- "$as_dir" ||
4306$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4307	 X"$as_dir" : 'X\(//\)[^/]' \| \
4308	 X"$as_dir" : 'X\(//\)$' \| \
4309	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4310$as_echo X"$as_dir" |
4311    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4312	    s//\1/
4313	    q
4314	  }
4315	  /^X\(\/\/\)[^/].*/{
4316	    s//\1/
4317	    q
4318	  }
4319	  /^X\(\/\/\)$/{
4320	    s//\1/
4321	    q
4322	  }
4323	  /^X\(\/\).*/{
4324	    s//\1/
4325	    q
4326	  }
4327	  s/.*/./; q'`
4328      test -d "$as_dir" && break
4329    done
4330    test -z "$as_dirs" || eval "mkdir $as_dirs"
4331  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4332
4333
4334} @%:@ as_fn_mkdir_p
4335if mkdir -p . 2>/dev/null; then
4336  as_mkdir_p='mkdir -p "$as_dir"'
4337else
4338  test -d ./-p && rmdir ./-p
4339  as_mkdir_p=false
4340fi
4341
4342
4343@%:@ as_fn_executable_p FILE
4344@%:@ -----------------------
4345@%:@ Test if FILE is an executable regular file.
4346as_fn_executable_p ()
4347{
4348  test -f "$1" && test -x "$1"
4349} @%:@ as_fn_executable_p
4350as_test_x='test -x'
4351as_executable_p=as_fn_executable_p
4352
4353# Sed expression to map a string onto a valid CPP name.
4354as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4355
4356# Sed expression to map a string onto a valid variable name.
4357as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4358
4359
4360exec 6>&1
4361## ----------------------------------- ##
4362## Main body of $CONFIG_STATUS script. ##
4363## ----------------------------------- ##
4364_ASEOF
4365test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4366
4367cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4368# Save the log message, to keep $0 and so on meaningful, and to
4369# report actual input values of CONFIG_FILES etc. instead of their
4370# values after options handling.
4371ac_log="
4372This file was extended by libbn $as_me 0.1, which was
4373generated by GNU Autoconf 2.69.  Invocation command line was
4374
4375  CONFIG_FILES    = $CONFIG_FILES
4376  CONFIG_HEADERS  = $CONFIG_HEADERS
4377  CONFIG_LINKS    = $CONFIG_LINKS
4378  CONFIG_COMMANDS = $CONFIG_COMMANDS
4379  $ $0 $@
4380
4381on `(hostname || uname -n) 2>/dev/null | sed 1q`
4382"
4383
4384_ACEOF
4385
4386case $ac_config_files in *"
4387"*) set x $ac_config_files; shift; ac_config_files=$*;;
4388esac
4389
4390case $ac_config_headers in *"
4391"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4392esac
4393
4394
4395cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4396# Files that config.status was made for.
4397config_files="$ac_config_files"
4398config_headers="$ac_config_headers"
4399
4400_ACEOF
4401
4402cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4403ac_cs_usage="\
4404\`$as_me' instantiates files and other configuration actions
4405from templates according to the current configuration.  Unless the files
4406and actions are specified as TAGs, all are instantiated by default.
4407
4408Usage: $0 [OPTION]... [TAG]...
4409
4410  -h, --help       print this help, then exit
4411  -V, --version    print version number and configuration settings, then exit
4412      --config     print configuration, then exit
4413  -q, --quiet, --silent
4414                   do not print progress messages
4415  -d, --debug      don't remove temporary files
4416      --recheck    update $as_me by reconfiguring in the same conditions
4417      --file=FILE[:TEMPLATE]
4418                   instantiate the configuration file FILE
4419      --header=FILE[:TEMPLATE]
4420                   instantiate the configuration header FILE
4421
4422Configuration files:
4423$config_files
4424
4425Configuration headers:
4426$config_headers
4427
4428Report bugs to the package provider."
4429
4430_ACEOF
4431cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4432ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4433ac_cs_version="\\
4434libbn config.status 0.1
4435configured by $0, generated by GNU Autoconf 2.69,
4436  with options \\"\$ac_cs_config\\"
4437
4438Copyright (C) 2012 Free Software Foundation, Inc.
4439This config.status script is free software; the Free Software Foundation
4440gives unlimited permission to copy, distribute and modify it."
4441
4442ac_pwd='$ac_pwd'
4443srcdir='$srcdir'
4444test -n "\$AWK" || AWK=awk
4445_ACEOF
4446
4447cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4448# The default lists apply if the user does not specify any file.
4449ac_need_defaults=:
4450while test $# != 0
4451do
4452  case $1 in
4453  --*=?*)
4454    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4455    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4456    ac_shift=:
4457    ;;
4458  --*=)
4459    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4460    ac_optarg=
4461    ac_shift=:
4462    ;;
4463  *)
4464    ac_option=$1
4465    ac_optarg=$2
4466    ac_shift=shift
4467    ;;
4468  esac
4469
4470  case $ac_option in
4471  # Handling of the options.
4472  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4473    ac_cs_recheck=: ;;
4474  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4475    $as_echo "$ac_cs_version"; exit ;;
4476  --config | --confi | --conf | --con | --co | --c )
4477    $as_echo "$ac_cs_config"; exit ;;
4478  --debug | --debu | --deb | --de | --d | -d )
4479    debug=: ;;
4480  --file | --fil | --fi | --f )
4481    $ac_shift
4482    case $ac_optarg in
4483    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4484    '') as_fn_error $? "missing file argument" ;;
4485    esac
4486    as_fn_append CONFIG_FILES " '$ac_optarg'"
4487    ac_need_defaults=false;;
4488  --header | --heade | --head | --hea )
4489    $ac_shift
4490    case $ac_optarg in
4491    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4492    esac
4493    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4494    ac_need_defaults=false;;
4495  --he | --h)
4496    # Conflict between --help and --header
4497    as_fn_error $? "ambiguous option: \`$1'
4498Try \`$0 --help' for more information.";;
4499  --help | --hel | -h )
4500    $as_echo "$ac_cs_usage"; exit ;;
4501  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4502  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4503    ac_cs_silent=: ;;
4504
4505  # This is an error.
4506  -*) as_fn_error $? "unrecognized option: \`$1'
4507Try \`$0 --help' for more information." ;;
4508
4509  *) as_fn_append ac_config_targets " $1"
4510     ac_need_defaults=false ;;
4511
4512  esac
4513  shift
4514done
4515
4516ac_configure_extra_args=
4517
4518if $ac_cs_silent; then
4519  exec 6>/dev/null
4520  ac_configure_extra_args="$ac_configure_extra_args --silent"
4521fi
4522
4523_ACEOF
4524cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4525if \$ac_cs_recheck; then
4526  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4527  shift
4528  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4529  CONFIG_SHELL='$SHELL'
4530  export CONFIG_SHELL
4531  exec "\$@"
4532fi
4533
4534_ACEOF
4535cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4536exec 5>>config.log
4537{
4538  echo
4539  sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
4540@%:@@%:@ Running $as_me. @%:@@%:@
4541_ASBOX
4542  $as_echo "$ac_log"
4543} >&5
4544
4545_ACEOF
4546cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4547_ACEOF
4548
4549cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4550
4551# Handling of arguments.
4552for ac_config_target in $ac_config_targets
4553do
4554  case $ac_config_target in
4555    "bnconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS bnconfig.h:bnconfig.hin" ;;
4556    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4557
4558  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4559  esac
4560done
4561
4562
4563# If the user did not use the arguments to specify the items to instantiate,
4564# then the envvar interface is used.  Set only those that are not.
4565# We use the long form for the default assignment because of an extremely
4566# bizarre bug on SunOS 4.1.3.
4567if $ac_need_defaults; then
4568  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4569  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4570fi
4571
4572# Have a temporary directory for convenience.  Make it in the build tree
4573# simply because there is no reason against having it here, and in addition,
4574# creating and moving files from /tmp can sometimes cause problems.
4575# Hook for its removal unless debugging.
4576# Note that there is a small window in which the directory will not be cleaned:
4577# after its creation but before its name has been assigned to `$tmp'.
4578$debug ||
4579{
4580  tmp= ac_tmp=
4581  trap 'exit_status=$?
4582  : "${ac_tmp:=$tmp}"
4583  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4584' 0
4585  trap 'as_fn_exit 1' 1 2 13 15
4586}
4587# Create a (secure) tmp directory for tmp files.
4588
4589{
4590  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4591  test -d "$tmp"
4592}  ||
4593{
4594  tmp=./conf$$-$RANDOM
4595  (umask 077 && mkdir "$tmp")
4596} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4597ac_tmp=$tmp
4598
4599# Set up the scripts for CONFIG_FILES section.
4600# No need to generate them if there are no CONFIG_FILES.
4601# This happens for instance with `./config.status config.h'.
4602if test -n "$CONFIG_FILES"; then
4603
4604
4605ac_cr=`echo X | tr X '\015'`
4606# On cygwin, bash can eat \r inside `` if the user requested igncr.
4607# But we know of no other shell where ac_cr would be empty at this
4608# point, so we can use a bashism as a fallback.
4609if test "x$ac_cr" = x; then
4610  eval ac_cr=\$\'\\r\'
4611fi
4612ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4613if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4614  ac_cs_awk_cr='\\r'
4615else
4616  ac_cs_awk_cr=$ac_cr
4617fi
4618
4619echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4620_ACEOF
4621
4622
4623{
4624  echo "cat >conf$$subs.awk <<_ACEOF" &&
4625  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4626  echo "_ACEOF"
4627} >conf$$subs.sh ||
4628  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4629ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4630ac_delim='%!_!# '
4631for ac_last_try in false false false false false :; do
4632  . ./conf$$subs.sh ||
4633    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4634
4635  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4636  if test $ac_delim_n = $ac_delim_num; then
4637    break
4638  elif $ac_last_try; then
4639    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4640  else
4641    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4642  fi
4643done
4644rm -f conf$$subs.sh
4645
4646cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4647cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4648_ACEOF
4649sed -n '
4650h
4651s/^/S["/; s/!.*/"]=/
4652p
4653g
4654s/^[^!]*!//
4655:repl
4656t repl
4657s/'"$ac_delim"'$//
4658t delim
4659:nl
4660h
4661s/\(.\{148\}\)..*/\1/
4662t more1
4663s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4664p
4665n
4666b repl
4667:more1
4668s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4669p
4670g
4671s/.\{148\}//
4672t nl
4673:delim
4674h
4675s/\(.\{148\}\)..*/\1/
4676t more2
4677s/["\\]/\\&/g; s/^/"/; s/$/"/
4678p
4679b
4680:more2
4681s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4682p
4683g
4684s/.\{148\}//
4685t delim
4686' <conf$$subs.awk | sed '
4687/^[^""]/{
4688  N
4689  s/\n//
4690}
4691' >>$CONFIG_STATUS || ac_write_fail=1
4692rm -f conf$$subs.awk
4693cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4694_ACAWK
4695cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4696  for (key in S) S_is_set[key] = 1
4697  FS = ""
4698
4699}
4700{
4701  line = $ 0
4702  nfields = split(line, field, "@")
4703  substed = 0
4704  len = length(field[1])
4705  for (i = 2; i < nfields; i++) {
4706    key = field[i]
4707    keylen = length(key)
4708    if (S_is_set[key]) {
4709      value = S[key]
4710      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4711      len += length(value) + length(field[++i])
4712      substed = 1
4713    } else
4714      len += 1 + keylen
4715  }
4716
4717  print line
4718}
4719
4720_ACAWK
4721_ACEOF
4722cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4723if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4724  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4725else
4726  cat
4727fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4728  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4729_ACEOF
4730
4731# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4732# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4733# trailing colons and then remove the whole line if VPATH becomes empty
4734# (actually we leave an empty line to preserve line numbers).
4735if test "x$srcdir" = x.; then
4736  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
4737h
4738s///
4739s/^/:/
4740s/[	 ]*$/:/
4741s/:\$(srcdir):/:/g
4742s/:\${srcdir}:/:/g
4743s/:@srcdir@:/:/g
4744s/^:*//
4745s/:*$//
4746x
4747s/\(=[	 ]*\).*/\1/
4748G
4749s/\n//
4750s/^[^=]*=[	 ]*$//
4751}'
4752fi
4753
4754cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4755fi # test -n "$CONFIG_FILES"
4756
4757# Set up the scripts for CONFIG_HEADERS section.
4758# No need to generate them if there are no CONFIG_HEADERS.
4759# This happens for instance with `./config.status Makefile'.
4760if test -n "$CONFIG_HEADERS"; then
4761cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4762BEGIN {
4763_ACEOF
4764
4765# Transform confdefs.h into an awk script `defines.awk', embedded as
4766# here-document in config.status, that substitutes the proper values into
4767# config.h.in to produce config.h.
4768
4769# Create a delimiter string that does not exist in confdefs.h, to ease
4770# handling of long lines.
4771ac_delim='%!_!# '
4772for ac_last_try in false false :; do
4773  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4774  if test -z "$ac_tt"; then
4775    break
4776  elif $ac_last_try; then
4777    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4778  else
4779    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4780  fi
4781done
4782
4783# For the awk script, D is an array of macro values keyed by name,
4784# likewise P contains macro parameters if any.  Preserve backslash
4785# newline sequences.
4786
4787ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4788sed -n '
4789s/.\{148\}/&'"$ac_delim"'/g
4790t rset
4791:rset
4792s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
4793t def
4794d
4795:def
4796s/\\$//
4797t bsnl
4798s/["\\]/\\&/g
4799s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
4800D["\1"]=" \3"/p
4801s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
4802d
4803:bsnl
4804s/["\\]/\\&/g
4805s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
4806D["\1"]=" \3\\\\\\n"\\/p
4807t cont
4808s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4809t cont
4810d
4811:cont
4812n
4813s/.\{148\}/&'"$ac_delim"'/g
4814t clear
4815:clear
4816s/\\$//
4817t bsnlc
4818s/["\\]/\\&/g; s/^/"/; s/$/"/p
4819d
4820:bsnlc
4821s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4822b cont
4823' <confdefs.h | sed '
4824s/'"$ac_delim"'/"\\\
4825"/g' >>$CONFIG_STATUS || ac_write_fail=1
4826
4827cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4828  for (key in D) D_is_set[key] = 1
4829  FS = ""
4830}
4831/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4832  line = \$ 0
4833  split(line, arg, " ")
4834  if (arg[1] == "#") {
4835    defundef = arg[2]
4836    mac1 = arg[3]
4837  } else {
4838    defundef = substr(arg[1], 2)
4839    mac1 = arg[2]
4840  }
4841  split(mac1, mac2, "(") #)
4842  macro = mac2[1]
4843  prefix = substr(line, 1, index(line, defundef) - 1)
4844  if (D_is_set[macro]) {
4845    # Preserve the white space surrounding the "#".
4846    print prefix "define", macro P[macro] D[macro]
4847    next
4848  } else {
4849    # Replace #undef with comments.  This is necessary, for example,
4850    # in the case of _POSIX_SOURCE, which is predefined and required
4851    # on some systems where configure will not decide to define it.
4852    if (defundef == "undef") {
4853      print "/*", prefix defundef, macro, "*/"
4854      next
4855    }
4856  }
4857}
4858{ print }
4859_ACAWK
4860_ACEOF
4861cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4862  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4863fi # test -n "$CONFIG_HEADERS"
4864
4865
4866eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
4867shift
4868for ac_tag
4869do
4870  case $ac_tag in
4871  :[FHLC]) ac_mode=$ac_tag; continue;;
4872  esac
4873  case $ac_mode$ac_tag in
4874  :[FHL]*:*);;
4875  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4876  :[FH]-) ac_tag=-:-;;
4877  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4878  esac
4879  ac_save_IFS=$IFS
4880  IFS=:
4881  set x $ac_tag
4882  IFS=$ac_save_IFS
4883  shift
4884  ac_file=$1
4885  shift
4886
4887  case $ac_mode in
4888  :L) ac_source=$1;;
4889  :[FH])
4890    ac_file_inputs=
4891    for ac_f
4892    do
4893      case $ac_f in
4894      -) ac_f="$ac_tmp/stdin";;
4895      *) # Look for the file first in the build tree, then in the source tree
4896	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4897	 # because $ac_f cannot contain `:'.
4898	 test -f "$ac_f" ||
4899	   case $ac_f in
4900	   [\\/$]*) false;;
4901	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4902	   esac ||
4903	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4904      esac
4905      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4906      as_fn_append ac_file_inputs " '$ac_f'"
4907    done
4908
4909    # Let's still pretend it is `configure' which instantiates (i.e., don't
4910    # use $as_me), people would be surprised to read:
4911    #    /* config.h.  Generated by config.status.  */
4912    configure_input='Generated from '`
4913	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4914	`' by configure.'
4915    if test x"$ac_file" != x-; then
4916      configure_input="$ac_file.  $configure_input"
4917      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4918$as_echo "$as_me: creating $ac_file" >&6;}
4919    fi
4920    # Neutralize special characters interpreted by sed in replacement strings.
4921    case $configure_input in #(
4922    *\&* | *\|* | *\\* )
4923       ac_sed_conf_input=`$as_echo "$configure_input" |
4924       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4925    *) ac_sed_conf_input=$configure_input;;
4926    esac
4927
4928    case $ac_tag in
4929    *:-:* | *:-) cat >"$ac_tmp/stdin" \
4930      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4931    esac
4932    ;;
4933  esac
4934
4935  ac_dir=`$as_dirname -- "$ac_file" ||
4936$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4937	 X"$ac_file" : 'X\(//\)[^/]' \| \
4938	 X"$ac_file" : 'X\(//\)$' \| \
4939	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4940$as_echo X"$ac_file" |
4941    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4942	    s//\1/
4943	    q
4944	  }
4945	  /^X\(\/\/\)[^/].*/{
4946	    s//\1/
4947	    q
4948	  }
4949	  /^X\(\/\/\)$/{
4950	    s//\1/
4951	    q
4952	  }
4953	  /^X\(\/\).*/{
4954	    s//\1/
4955	    q
4956	  }
4957	  s/.*/./; q'`
4958  as_dir="$ac_dir"; as_fn_mkdir_p
4959  ac_builddir=.
4960
4961case "$ac_dir" in
4962.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4963*)
4964  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4965  # A ".." for each directory in $ac_dir_suffix.
4966  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4967  case $ac_top_builddir_sub in
4968  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4969  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4970  esac ;;
4971esac
4972ac_abs_top_builddir=$ac_pwd
4973ac_abs_builddir=$ac_pwd$ac_dir_suffix
4974# for backward compatibility:
4975ac_top_builddir=$ac_top_build_prefix
4976
4977case $srcdir in
4978  .)  # We are building in place.
4979    ac_srcdir=.
4980    ac_top_srcdir=$ac_top_builddir_sub
4981    ac_abs_top_srcdir=$ac_pwd ;;
4982  [\\/]* | ?:[\\/]* )  # Absolute name.
4983    ac_srcdir=$srcdir$ac_dir_suffix;
4984    ac_top_srcdir=$srcdir
4985    ac_abs_top_srcdir=$srcdir ;;
4986  *) # Relative name.
4987    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4988    ac_top_srcdir=$ac_top_build_prefix$srcdir
4989    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4990esac
4991ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4992
4993
4994  case $ac_mode in
4995  :F)
4996  #
4997  # CONFIG_FILE
4998  #
4999
5000_ACEOF
5001
5002cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5003# If the template does not know about datarootdir, expand it.
5004# FIXME: This hack should be removed a few years after 2.60.
5005ac_datarootdir_hack=; ac_datarootdir_seen=
5006ac_sed_dataroot='
5007/datarootdir/ {
5008  p
5009  q
5010}
5011/@datadir@/p
5012/@docdir@/p
5013/@infodir@/p
5014/@localedir@/p
5015/@mandir@/p'
5016case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5017*datarootdir*) ac_datarootdir_seen=yes;;
5018*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5019  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5020$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5021_ACEOF
5022cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5023  ac_datarootdir_hack='
5024  s&@datadir@&$datadir&g
5025  s&@docdir@&$docdir&g
5026  s&@infodir@&$infodir&g
5027  s&@localedir@&$localedir&g
5028  s&@mandir@&$mandir&g
5029  s&\\\${datarootdir}&$datarootdir&g' ;;
5030esac
5031_ACEOF
5032
5033# Neutralize VPATH when `$srcdir' = `.'.
5034# Shell code in configure.ac might set extrasub.
5035# FIXME: do we really want to maintain this feature?
5036cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5037ac_sed_extra="$ac_vpsub
5038$extrasub
5039_ACEOF
5040cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5041:t
5042/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5043s|@configure_input@|$ac_sed_conf_input|;t t
5044s&@top_builddir@&$ac_top_builddir_sub&;t t
5045s&@top_build_prefix@&$ac_top_build_prefix&;t t
5046s&@srcdir@&$ac_srcdir&;t t
5047s&@abs_srcdir@&$ac_abs_srcdir&;t t
5048s&@top_srcdir@&$ac_top_srcdir&;t t
5049s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5050s&@builddir@&$ac_builddir&;t t
5051s&@abs_builddir@&$ac_abs_builddir&;t t
5052s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5053$ac_datarootdir_hack
5054"
5055eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5056  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5057
5058test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5059  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5060  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
5061      "$ac_tmp/out"`; test -z "$ac_out"; } &&
5062  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5063which seems to be undefined.  Please make sure it is defined" >&5
5064$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5065which seems to be undefined.  Please make sure it is defined" >&2;}
5066
5067  rm -f "$ac_tmp/stdin"
5068  case $ac_file in
5069  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5070  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5071  esac \
5072  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5073 ;;
5074  :H)
5075  #
5076  # CONFIG_HEADER
5077  #
5078  if test x"$ac_file" != x-; then
5079    {
5080      $as_echo "/* $configure_input  */" \
5081      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5082    } >"$ac_tmp/config.h" \
5083      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5084    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5085      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5086$as_echo "$as_me: $ac_file is unchanged" >&6;}
5087    else
5088      rm -f "$ac_file"
5089      mv "$ac_tmp/config.h" "$ac_file" \
5090	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
5091    fi
5092  else
5093    $as_echo "/* $configure_input  */" \
5094      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5095      || as_fn_error $? "could not create -" "$LINENO" 5
5096  fi
5097 ;;
5098
5099
5100  esac
5101
5102done # for ac_tag
5103
5104
5105as_fn_exit 0
5106_ACEOF
5107ac_clean_files=$ac_clean_files_save
5108
5109test $ac_write_fail = 0 ||
5110  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5111
5112
5113# configure is writing to config.log, and then calls config.status.
5114# config.status does its own redirection, appending to config.log.
5115# Unfortunately, on DOS this fails, as config.log is still kept open
5116# by configure, so config.status won't be able to write to it; its
5117# output is simply discarded.  So we exec the FD to /dev/null,
5118# effectively closing config.log, so it can be properly (re)opened and
5119# appended to by config.status.  When coming back to configure, we
5120# need to make the FD available again.
5121if test "$no_create" != yes; then
5122  ac_cs_success=:
5123  ac_config_status_args=
5124  test "$silent" = yes &&
5125    ac_config_status_args="$ac_config_status_args --quiet"
5126  exec 5>/dev/null
5127  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5128  exec 5>>config.log
5129  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5130  # would make configure fail if this is the last instruction.
5131  $ac_cs_success || as_fn_exit 1
5132fi
5133if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5134  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5135$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5136fi
5137
5138
5139echo
5140echo bnlib is now configured for a generic installation.
5141echo If you with assembly-language support, edit the Makefile according
5142echo to the instructions in README.bn.
5143