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