configure revision 1.1
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/cdefs.h 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	clock_gettime getenv_r posix_memalign memalign aligned_alloc	\
3797	arc4random_buf getsubopt fsync_range __quotactl
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
3880cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881/* end confdefs.h.  */
3882
3883/* Override any GCC internal prototype to avoid an error.
3884   Use char because int might match the return type of a GCC
3885   builtin and then its argument prototype would still apply.  */
3886#ifdef __cplusplus
3887extern "C"
3888#endif
3889char clock_gettime ();
3890int
3891main ()
3892{
3893return clock_gettime ();
3894  ;
3895  return 0;
3896}
3897_ACEOF
3898if ac_fn_c_try_link "$LINENO"; then :
3899
3900else
3901  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
3902$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
3903if ${ac_cv_lib_rt_clock_gettime+:} false; then :
3904  $as_echo_n "(cached) " >&6
3905else
3906  ac_check_lib_save_LIBS=$LIBS
3907LIBS="-lrt  $LIBS"
3908cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909/* end confdefs.h.  */
3910
3911/* Override any GCC internal prototype to avoid an error.
3912   Use char because int might match the return type of a GCC
3913   builtin and then its argument prototype would still apply.  */
3914#ifdef __cplusplus
3915extern "C"
3916#endif
3917char clock_gettime ();
3918int
3919main ()
3920{
3921return clock_gettime ();
3922  ;
3923  return 0;
3924}
3925_ACEOF
3926if ac_fn_c_try_link "$LINENO"; then :
3927  ac_cv_lib_rt_clock_gettime=yes
3928else
3929  ac_cv_lib_rt_clock_gettime=no
3930fi
3931rm -f core conftest.err conftest.$ac_objext \
3932    conftest$ac_exeext conftest.$ac_ext
3933LIBS=$ac_check_lib_save_LIBS
3934fi
3935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
3936$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
3937if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
3938  cat >>confdefs.h <<_ACEOF
3939#define HAVE_LIBRT 1
3940_ACEOF
3941
3942  LIBS="-lrt $LIBS"
3943
3944fi
3945
3946
3947fi
3948rm -f core conftest.err conftest.$ac_objext \
3949    conftest$ac_exeext conftest.$ac_ext
3950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlinfo in -ldl" >&5
3951$as_echo_n "checking for dlinfo in -ldl... " >&6; }
3952if ${ac_cv_lib_dl_dlinfo+:} false; then :
3953  $as_echo_n "(cached) " >&6
3954else
3955  ac_check_lib_save_LIBS=$LIBS
3956LIBS="-ldl  $LIBS"
3957cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3958/* end confdefs.h.  */
3959
3960/* Override any GCC internal prototype to avoid an error.
3961   Use char because int might match the return type of a GCC
3962   builtin and then its argument prototype would still apply.  */
3963#ifdef __cplusplus
3964extern "C"
3965#endif
3966char dlinfo ();
3967int
3968main ()
3969{
3970return dlinfo ();
3971  ;
3972  return 0;
3973}
3974_ACEOF
3975if ac_fn_c_try_link "$LINENO"; then :
3976  ac_cv_lib_dl_dlinfo=yes
3977else
3978  ac_cv_lib_dl_dlinfo=no
3979fi
3980rm -f core conftest.err conftest.$ac_objext \
3981    conftest$ac_exeext conftest.$ac_ext
3982LIBS=$ac_check_lib_save_LIBS
3983fi
3984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlinfo" >&5
3985$as_echo "$ac_cv_lib_dl_dlinfo" >&6; }
3986if test "x$ac_cv_lib_dl_dlinfo" = xyes; then :
3987
3988$as_echo "#define HAVE_DLINFO 1" >>confdefs.h
3989
3990else
3991  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3992/* end confdefs.h.  */
3993
3994/* Override any GCC internal prototype to avoid an error.
3995   Use char because int might match the return type of a GCC
3996   builtin and then its argument prototype would still apply.  */
3997#ifdef __cplusplus
3998extern "C"
3999#endif
4000char dlinfo ();
4001int
4002main ()
4003{
4004return dlinfo ();
4005  ;
4006  return 0;
4007}
4008_ACEOF
4009if ac_fn_c_try_link "$LINENO"; then :
4010
4011$as_echo "#define HAVE_DLINFO 1" >>confdefs.h
4012
4013fi
4014rm -f core conftest.err conftest.$ac_objext \
4015    conftest$ac_exeext conftest.$ac_ext
4016fi
4017
4018
4019ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#include <netinet/in.h>
4020"
4021if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
4022
4023cat >>confdefs.h <<_ACEOF
4024#define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
4025_ACEOF
4026
4027
4028fi
4029
4030
4031SAVE_CFLAGS="${CFLAGS}"
4032CFLAGS="${SAVE_CFLAGS} -Werror"
4033SAVE_LIBS="${LIBS}"
4034LIBS="${LIBS} -lpthread"
4035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for two-argument pthread_setname_np()" >&5
4036$as_echo_n "checking for two-argument pthread_setname_np()... " >&6; }
4037cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038/* end confdefs.h.  */
4039#define _GNU_SOURCE
4040		  #include <pthread.h>
4041int
4042main ()
4043{
4044pthread_t pt;
4045		pthread_setname_np(pt, "x");return 0;
4046  ;
4047  return 0;
4048}
4049
4050_ACEOF
4051if ac_fn_c_try_compile "$LINENO"; then :
4052
4053		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4054$as_echo "yes" >&6; }
4055
4056$as_echo "#define HAVE_PTHREAD_SETNAME2 1" >>confdefs.h
4057
4058
4059else
4060
4061		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4062$as_echo "no" >&6; }
4063
4064fi
4065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for three-argument pthread_setname_np()" >&5
4067$as_echo_n "checking for three-argument pthread_setname_np()... " >&6; }
4068cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4069/* end confdefs.h.  */
4070#define _GNU_SOURCE
4071		  #include <pthread.h>
4072int
4073main ()
4074{
4075pthread_t pt;
4076		pthread_setname_np(pt, "X", (void *)0);return 0;
4077  ;
4078  return 0;
4079}
4080
4081_ACEOF
4082if ac_fn_c_try_compile "$LINENO"; then :
4083
4084		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4085$as_echo "yes" >&6; }
4086
4087$as_echo "#define HAVE_PTHREAD_SETNAME3 1" >>confdefs.h
4088
4089
4090else
4091
4092		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4093$as_echo "no" >&6; }
4094
4095fi
4096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4097LIBS="${SAVELIBS}"
4098
4099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ioctl cmd being int" >&5
4100$as_echo_n "checking for ioctl cmd being int... " >&6; }
4101cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4102/* end confdefs.h.  */
4103#include <sys/ioctl.h>
4104		  #include <unistd.h>
4105		  int ioctl(int fd, int, ...);
4106int
4107main ()
4108{
4109
4110		return 0;
4111  ;
4112  return 0;
4113}
4114
4115_ACEOF
4116if ac_fn_c_try_compile "$LINENO"; then :
4117
4118		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4119$as_echo "yes" >&6; }
4120
4121$as_echo "#define HAVE_IOCTL_CMD_INT 1" >>confdefs.h
4122
4123
4124else
4125
4126		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4127$as_echo "no" >&6; }
4128
4129fi
4130rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4131CFLAGS="${SAVE_CFLAGS}"
4132
4133cat >confcache <<\_ACEOF
4134# This file is a shell script that caches the results of configure
4135# tests run on this system so they can be shared between configure
4136# scripts and configure runs, see configure's option --config-cache.
4137# It is not useful on other systems.  If it contains results you don't
4138# want to keep, you may remove or edit it.
4139#
4140# config.status only pays attention to the cache file if you give it
4141# the --recheck option to rerun configure.
4142#
4143# `ac_cv_env_foo' variables (set or unset) will be overridden when
4144# loading this file, other *unset* `ac_cv_foo' will be assigned the
4145# following values.
4146
4147_ACEOF
4148
4149# The following way of writing the cache mishandles newlines in values,
4150# but we know of no workaround that is simple, portable, and efficient.
4151# So, we kill variables containing newlines.
4152# Ultrix sh set writes to stderr and can't be redirected directly,
4153# and sets the high bit in the cache file unless we assign to the vars.
4154(
4155  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4156    eval ac_val=\$$ac_var
4157    case $ac_val in #(
4158    *${as_nl}*)
4159      case $ac_var in #(
4160      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4161$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4162      esac
4163      case $ac_var in #(
4164      _ | IFS | as_nl) ;; #(
4165      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4166      *) { eval $ac_var=; unset $ac_var;} ;;
4167      esac ;;
4168    esac
4169  done
4170
4171  (set) 2>&1 |
4172    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4173    *${as_nl}ac_space=\ *)
4174      # `set' does not quote correctly, so add quotes: double-quote
4175      # substitution turns \\\\ into \\, and sed turns \\ into \.
4176      sed -n \
4177	"s/'/'\\\\''/g;
4178	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4179      ;; #(
4180    *)
4181      # `set' quotes correctly as required by POSIX, so do not add quotes.
4182      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4183      ;;
4184    esac |
4185    sort
4186) |
4187  sed '
4188     /^ac_cv_env_/b end
4189     t clear
4190     :clear
4191     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4192     t end
4193     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4194     :end' >>confcache
4195if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4196  if test -w "$cache_file"; then
4197    if test "x$cache_file" != "x/dev/null"; then
4198      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4199$as_echo "$as_me: updating cache $cache_file" >&6;}
4200      if test ! -f "$cache_file" || test -h "$cache_file"; then
4201	cat confcache >"$cache_file"
4202      else
4203        case $cache_file in #(
4204        */* | ?:*)
4205	  mv -f confcache "$cache_file"$$ &&
4206	  mv -f "$cache_file"$$ "$cache_file" ;; #(
4207        *)
4208	  mv -f confcache "$cache_file" ;;
4209	esac
4210      fi
4211    fi
4212  else
4213    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4214$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4215  fi
4216fi
4217rm -f confcache
4218
4219test "x$prefix" = xNONE && prefix=$ac_default_prefix
4220# Let make expand exec_prefix.
4221test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4222
4223DEFS=-DHAVE_CONFIG_H
4224
4225ac_libobjs=
4226ac_ltlibobjs=
4227U=
4228for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4229  # 1. Remove the extension, and $U if already installed.
4230  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4231  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4232  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4233  #    will be set to the directory where LIBOBJS objects are built.
4234  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4235  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4236done
4237LIBOBJS=$ac_libobjs
4238
4239LTLIBOBJS=$ac_ltlibobjs
4240
4241
4242
4243: "${CONFIG_STATUS=./config.status}"
4244ac_write_fail=0
4245ac_clean_files_save=$ac_clean_files
4246ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4247{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4248$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4249as_write_fail=0
4250cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4251#! $SHELL
4252# Generated by $as_me.
4253# Run this file to recreate the current configuration.
4254# Compiler output produced by configure, useful for debugging
4255# configure, is in config.log if it exists.
4256
4257debug=false
4258ac_cs_recheck=false
4259ac_cs_silent=false
4260
4261SHELL=\${CONFIG_SHELL-$SHELL}
4262export SHELL
4263_ASEOF
4264cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4265## -------------------- ##
4266## M4sh Initialization. ##
4267## -------------------- ##
4268
4269# Be more Bourne compatible
4270DUALCASE=1; export DUALCASE # for MKS sh
4271if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4272  emulate sh
4273  NULLCMD=:
4274  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4275  # is contrary to our usage.  Disable this feature.
4276  alias -g '${1+"$@"}'='"$@"'
4277  setopt NO_GLOB_SUBST
4278else
4279  case `(set -o) 2>/dev/null` in #(
4280  *posix*) :
4281    set -o posix ;; #(
4282  *) :
4283     ;;
4284esac
4285fi
4286
4287
4288as_nl='
4289'
4290export as_nl
4291# Printing a long string crashes Solaris 7 /usr/bin/printf.
4292as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4293as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4294as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4295# Prefer a ksh shell builtin over an external printf program on Solaris,
4296# but without wasting forks for bash or zsh.
4297if test -z "$BASH_VERSION$ZSH_VERSION" \
4298    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4299  as_echo='print -r --'
4300  as_echo_n='print -rn --'
4301elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4302  as_echo='printf %s\n'
4303  as_echo_n='printf %s'
4304else
4305  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4306    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4307    as_echo_n='/usr/ucb/echo -n'
4308  else
4309    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4310    as_echo_n_body='eval
4311      arg=$1;
4312      case $arg in #(
4313      *"$as_nl"*)
4314	expr "X$arg" : "X\\(.*\\)$as_nl";
4315	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4316      esac;
4317      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4318    '
4319    export as_echo_n_body
4320    as_echo_n='sh -c $as_echo_n_body as_echo'
4321  fi
4322  export as_echo_body
4323  as_echo='sh -c $as_echo_body as_echo'
4324fi
4325
4326# The user is always right.
4327if test "${PATH_SEPARATOR+set}" != set; then
4328  PATH_SEPARATOR=:
4329  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4330    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4331      PATH_SEPARATOR=';'
4332  }
4333fi
4334
4335
4336# IFS
4337# We need space, tab and new line, in precisely that order.  Quoting is
4338# there to prevent editors from complaining about space-tab.
4339# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4340# splitting by setting IFS to empty value.)
4341IFS=" ""	$as_nl"
4342
4343# Find who we are.  Look in the path if we contain no directory separator.
4344as_myself=
4345case $0 in #((
4346  *[\\/]* ) as_myself=$0 ;;
4347  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348for as_dir in $PATH
4349do
4350  IFS=$as_save_IFS
4351  test -z "$as_dir" && as_dir=.
4352    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4353  done
4354IFS=$as_save_IFS
4355
4356     ;;
4357esac
4358# We did not find ourselves, most probably we were run as `sh COMMAND'
4359# in which case we are not to be found in the path.
4360if test "x$as_myself" = x; then
4361  as_myself=$0
4362fi
4363if test ! -f "$as_myself"; then
4364  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4365  exit 1
4366fi
4367
4368# Unset variables that we do not need and which cause bugs (e.g. in
4369# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4370# suppresses any "Segmentation fault" message there.  '((' could
4371# trigger a bug in pdksh 5.2.14.
4372for as_var in BASH_ENV ENV MAIL MAILPATH
4373do eval test x\${$as_var+set} = xset \
4374  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4375done
4376PS1='$ '
4377PS2='> '
4378PS4='+ '
4379
4380# NLS nuisances.
4381LC_ALL=C
4382export LC_ALL
4383LANGUAGE=C
4384export LANGUAGE
4385
4386# CDPATH.
4387(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4388
4389
4390# as_fn_error STATUS ERROR [LINENO LOG_FD]
4391# ----------------------------------------
4392# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4393# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4394# script with STATUS, using 1 if that was 0.
4395as_fn_error ()
4396{
4397  as_status=$1; test $as_status -eq 0 && as_status=1
4398  if test "$4"; then
4399    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4400    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4401  fi
4402  $as_echo "$as_me: error: $2" >&2
4403  as_fn_exit $as_status
4404} # as_fn_error
4405
4406
4407# as_fn_set_status STATUS
4408# -----------------------
4409# Set $? to STATUS, without forking.
4410as_fn_set_status ()
4411{
4412  return $1
4413} # as_fn_set_status
4414
4415# as_fn_exit STATUS
4416# -----------------
4417# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4418as_fn_exit ()
4419{
4420  set +e
4421  as_fn_set_status $1
4422  exit $1
4423} # as_fn_exit
4424
4425# as_fn_unset VAR
4426# ---------------
4427# Portably unset VAR.
4428as_fn_unset ()
4429{
4430  { eval $1=; unset $1;}
4431}
4432as_unset=as_fn_unset
4433# as_fn_append VAR VALUE
4434# ----------------------
4435# Append the text in VALUE to the end of the definition contained in VAR. Take
4436# advantage of any shell optimizations that allow amortized linear growth over
4437# repeated appends, instead of the typical quadratic growth present in naive
4438# implementations.
4439if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4440  eval 'as_fn_append ()
4441  {
4442    eval $1+=\$2
4443  }'
4444else
4445  as_fn_append ()
4446  {
4447    eval $1=\$$1\$2
4448  }
4449fi # as_fn_append
4450
4451# as_fn_arith ARG...
4452# ------------------
4453# Perform arithmetic evaluation on the ARGs, and store the result in the
4454# global $as_val. Take advantage of shells that can avoid forks. The arguments
4455# must be portable across $(()) and expr.
4456if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4457  eval 'as_fn_arith ()
4458  {
4459    as_val=$(( $* ))
4460  }'
4461else
4462  as_fn_arith ()
4463  {
4464    as_val=`expr "$@" || test $? -eq 1`
4465  }
4466fi # as_fn_arith
4467
4468
4469if expr a : '\(a\)' >/dev/null 2>&1 &&
4470   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4471  as_expr=expr
4472else
4473  as_expr=false
4474fi
4475
4476if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4477  as_basename=basename
4478else
4479  as_basename=false
4480fi
4481
4482if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4483  as_dirname=dirname
4484else
4485  as_dirname=false
4486fi
4487
4488as_me=`$as_basename -- "$0" ||
4489$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4490	 X"$0" : 'X\(//\)$' \| \
4491	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4492$as_echo X/"$0" |
4493    sed '/^.*\/\([^/][^/]*\)\/*$/{
4494	    s//\1/
4495	    q
4496	  }
4497	  /^X\/\(\/\/\)$/{
4498	    s//\1/
4499	    q
4500	  }
4501	  /^X\/\(\/\).*/{
4502	    s//\1/
4503	    q
4504	  }
4505	  s/.*/./; q'`
4506
4507# Avoid depending upon Character Ranges.
4508as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4509as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4510as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4511as_cr_digits='0123456789'
4512as_cr_alnum=$as_cr_Letters$as_cr_digits
4513
4514ECHO_C= ECHO_N= ECHO_T=
4515case `echo -n x` in #(((((
4516-n*)
4517  case `echo 'xy\c'` in
4518  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4519  xy)  ECHO_C='\c';;
4520  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4521       ECHO_T='	';;
4522  esac;;
4523*)
4524  ECHO_N='-n';;
4525esac
4526
4527rm -f conf$$ conf$$.exe conf$$.file
4528if test -d conf$$.dir; then
4529  rm -f conf$$.dir/conf$$.file
4530else
4531  rm -f conf$$.dir
4532  mkdir conf$$.dir 2>/dev/null
4533fi
4534if (echo >conf$$.file) 2>/dev/null; then
4535  if ln -s conf$$.file conf$$ 2>/dev/null; then
4536    as_ln_s='ln -s'
4537    # ... but there are two gotchas:
4538    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4539    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4540    # In both cases, we have to default to `cp -pR'.
4541    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4542      as_ln_s='cp -pR'
4543  elif ln conf$$.file conf$$ 2>/dev/null; then
4544    as_ln_s=ln
4545  else
4546    as_ln_s='cp -pR'
4547  fi
4548else
4549  as_ln_s='cp -pR'
4550fi
4551rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4552rmdir conf$$.dir 2>/dev/null
4553
4554
4555# as_fn_mkdir_p
4556# -------------
4557# Create "$as_dir" as a directory, including parents if necessary.
4558as_fn_mkdir_p ()
4559{
4560
4561  case $as_dir in #(
4562  -*) as_dir=./$as_dir;;
4563  esac
4564  test -d "$as_dir" || eval $as_mkdir_p || {
4565    as_dirs=
4566    while :; do
4567      case $as_dir in #(
4568      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4569      *) as_qdir=$as_dir;;
4570      esac
4571      as_dirs="'$as_qdir' $as_dirs"
4572      as_dir=`$as_dirname -- "$as_dir" ||
4573$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4574	 X"$as_dir" : 'X\(//\)[^/]' \| \
4575	 X"$as_dir" : 'X\(//\)$' \| \
4576	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4577$as_echo X"$as_dir" |
4578    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4579	    s//\1/
4580	    q
4581	  }
4582	  /^X\(\/\/\)[^/].*/{
4583	    s//\1/
4584	    q
4585	  }
4586	  /^X\(\/\/\)$/{
4587	    s//\1/
4588	    q
4589	  }
4590	  /^X\(\/\).*/{
4591	    s//\1/
4592	    q
4593	  }
4594	  s/.*/./; q'`
4595      test -d "$as_dir" && break
4596    done
4597    test -z "$as_dirs" || eval "mkdir $as_dirs"
4598  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4599
4600
4601} # as_fn_mkdir_p
4602if mkdir -p . 2>/dev/null; then
4603  as_mkdir_p='mkdir -p "$as_dir"'
4604else
4605  test -d ./-p && rmdir ./-p
4606  as_mkdir_p=false
4607fi
4608
4609
4610# as_fn_executable_p FILE
4611# -----------------------
4612# Test if FILE is an executable regular file.
4613as_fn_executable_p ()
4614{
4615  test -f "$1" && test -x "$1"
4616} # as_fn_executable_p
4617as_test_x='test -x'
4618as_executable_p=as_fn_executable_p
4619
4620# Sed expression to map a string onto a valid CPP name.
4621as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4622
4623# Sed expression to map a string onto a valid variable name.
4624as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4625
4626
4627exec 6>&1
4628## ----------------------------------- ##
4629## Main body of $CONFIG_STATUS script. ##
4630## ----------------------------------- ##
4631_ASEOF
4632test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4633
4634cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4635# Save the log message, to keep $0 and so on meaningful, and to
4636# report actual input values of CONFIG_FILES etc. instead of their
4637# values after options handling.
4638ac_log="
4639This file was extended by rumpuser-posix $as_me 999, which was
4640generated by GNU Autoconf 2.69.  Invocation command line was
4641
4642  CONFIG_FILES    = $CONFIG_FILES
4643  CONFIG_HEADERS  = $CONFIG_HEADERS
4644  CONFIG_LINKS    = $CONFIG_LINKS
4645  CONFIG_COMMANDS = $CONFIG_COMMANDS
4646  $ $0 $@
4647
4648on `(hostname || uname -n) 2>/dev/null | sed 1q`
4649"
4650
4651_ACEOF
4652
4653
4654case $ac_config_headers in *"
4655"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4656esac
4657
4658
4659cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4660# Files that config.status was made for.
4661config_headers="$ac_config_headers"
4662
4663_ACEOF
4664
4665cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4666ac_cs_usage="\
4667\`$as_me' instantiates files and other configuration actions
4668from templates according to the current configuration.  Unless the files
4669and actions are specified as TAGs, all are instantiated by default.
4670
4671Usage: $0 [OPTION]... [TAG]...
4672
4673  -h, --help       print this help, then exit
4674  -V, --version    print version number and configuration settings, then exit
4675      --config     print configuration, then exit
4676  -q, --quiet, --silent
4677                   do not print progress messages
4678  -d, --debug      don't remove temporary files
4679      --recheck    update $as_me by reconfiguring in the same conditions
4680      --header=FILE[:TEMPLATE]
4681                   instantiate the configuration header FILE
4682
4683Configuration headers:
4684$config_headers
4685
4686Report bugs to <http://rumpkernel.org/>."
4687
4688_ACEOF
4689cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4690ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4691ac_cs_version="\\
4692rumpuser-posix config.status 999
4693configured by $0, generated by GNU Autoconf 2.69,
4694  with options \\"\$ac_cs_config\\"
4695
4696Copyright (C) 2012 Free Software Foundation, Inc.
4697This config.status script is free software; the Free Software Foundation
4698gives unlimited permission to copy, distribute and modify it."
4699
4700ac_pwd='$ac_pwd'
4701srcdir='$srcdir'
4702test -n "\$AWK" || AWK=awk
4703_ACEOF
4704
4705cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4706# The default lists apply if the user does not specify any file.
4707ac_need_defaults=:
4708while test $# != 0
4709do
4710  case $1 in
4711  --*=?*)
4712    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4713    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4714    ac_shift=:
4715    ;;
4716  --*=)
4717    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4718    ac_optarg=
4719    ac_shift=:
4720    ;;
4721  *)
4722    ac_option=$1
4723    ac_optarg=$2
4724    ac_shift=shift
4725    ;;
4726  esac
4727
4728  case $ac_option in
4729  # Handling of the options.
4730  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4731    ac_cs_recheck=: ;;
4732  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4733    $as_echo "$ac_cs_version"; exit ;;
4734  --config | --confi | --conf | --con | --co | --c )
4735    $as_echo "$ac_cs_config"; exit ;;
4736  --debug | --debu | --deb | --de | --d | -d )
4737    debug=: ;;
4738  --header | --heade | --head | --hea )
4739    $ac_shift
4740    case $ac_optarg in
4741    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4742    esac
4743    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4744    ac_need_defaults=false;;
4745  --he | --h)
4746    # Conflict between --help and --header
4747    as_fn_error $? "ambiguous option: \`$1'
4748Try \`$0 --help' for more information.";;
4749  --help | --hel | -h )
4750    $as_echo "$ac_cs_usage"; exit ;;
4751  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4752  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4753    ac_cs_silent=: ;;
4754
4755  # This is an error.
4756  -*) as_fn_error $? "unrecognized option: \`$1'
4757Try \`$0 --help' for more information." ;;
4758
4759  *) as_fn_append ac_config_targets " $1"
4760     ac_need_defaults=false ;;
4761
4762  esac
4763  shift
4764done
4765
4766ac_configure_extra_args=
4767
4768if $ac_cs_silent; then
4769  exec 6>/dev/null
4770  ac_configure_extra_args="$ac_configure_extra_args --silent"
4771fi
4772
4773_ACEOF
4774cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4775if \$ac_cs_recheck; then
4776  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4777  shift
4778  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4779  CONFIG_SHELL='$SHELL'
4780  export CONFIG_SHELL
4781  exec "\$@"
4782fi
4783
4784_ACEOF
4785cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4786exec 5>>config.log
4787{
4788  echo
4789  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4790## Running $as_me. ##
4791_ASBOX
4792  $as_echo "$ac_log"
4793} >&5
4794
4795_ACEOF
4796cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4797_ACEOF
4798
4799cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4800
4801# Handling of arguments.
4802for ac_config_target in $ac_config_targets
4803do
4804  case $ac_config_target in
4805    "rumpuser_config.h") CONFIG_HEADERS="$CONFIG_HEADERS rumpuser_config.h" ;;
4806
4807  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4808  esac
4809done
4810
4811
4812# If the user did not use the arguments to specify the items to instantiate,
4813# then the envvar interface is used.  Set only those that are not.
4814# We use the long form for the default assignment because of an extremely
4815# bizarre bug on SunOS 4.1.3.
4816if $ac_need_defaults; then
4817  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4818fi
4819
4820# Have a temporary directory for convenience.  Make it in the build tree
4821# simply because there is no reason against having it here, and in addition,
4822# creating and moving files from /tmp can sometimes cause problems.
4823# Hook for its removal unless debugging.
4824# Note that there is a small window in which the directory will not be cleaned:
4825# after its creation but before its name has been assigned to `$tmp'.
4826$debug ||
4827{
4828  tmp= ac_tmp=
4829  trap 'exit_status=$?
4830  : "${ac_tmp:=$tmp}"
4831  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4832' 0
4833  trap 'as_fn_exit 1' 1 2 13 15
4834}
4835# Create a (secure) tmp directory for tmp files.
4836
4837{
4838  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4839  test -d "$tmp"
4840}  ||
4841{
4842  tmp=./conf$$-$RANDOM
4843  (umask 077 && mkdir "$tmp")
4844} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4845ac_tmp=$tmp
4846
4847# Set up the scripts for CONFIG_HEADERS section.
4848# No need to generate them if there are no CONFIG_HEADERS.
4849# This happens for instance with `./config.status Makefile'.
4850if test -n "$CONFIG_HEADERS"; then
4851cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4852BEGIN {
4853_ACEOF
4854
4855# Transform confdefs.h into an awk script `defines.awk', embedded as
4856# here-document in config.status, that substitutes the proper values into
4857# config.h.in to produce config.h.
4858
4859# Create a delimiter string that does not exist in confdefs.h, to ease
4860# handling of long lines.
4861ac_delim='%!_!# '
4862for ac_last_try in false false :; do
4863  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4864  if test -z "$ac_tt"; then
4865    break
4866  elif $ac_last_try; then
4867    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4868  else
4869    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4870  fi
4871done
4872
4873# For the awk script, D is an array of macro values keyed by name,
4874# likewise P contains macro parameters if any.  Preserve backslash
4875# newline sequences.
4876
4877ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4878sed -n '
4879s/.\{148\}/&'"$ac_delim"'/g
4880t rset
4881:rset
4882s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
4883t def
4884d
4885:def
4886s/\\$//
4887t bsnl
4888s/["\\]/\\&/g
4889s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
4890D["\1"]=" \3"/p
4891s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
4892d
4893:bsnl
4894s/["\\]/\\&/g
4895s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
4896D["\1"]=" \3\\\\\\n"\\/p
4897t cont
4898s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4899t cont
4900d
4901:cont
4902n
4903s/.\{148\}/&'"$ac_delim"'/g
4904t clear
4905:clear
4906s/\\$//
4907t bsnlc
4908s/["\\]/\\&/g; s/^/"/; s/$/"/p
4909d
4910:bsnlc
4911s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4912b cont
4913' <confdefs.h | sed '
4914s/'"$ac_delim"'/"\\\
4915"/g' >>$CONFIG_STATUS || ac_write_fail=1
4916
4917cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4918  for (key in D) D_is_set[key] = 1
4919  FS = ""
4920}
4921/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4922  line = \$ 0
4923  split(line, arg, " ")
4924  if (arg[1] == "#") {
4925    defundef = arg[2]
4926    mac1 = arg[3]
4927  } else {
4928    defundef = substr(arg[1], 2)
4929    mac1 = arg[2]
4930  }
4931  split(mac1, mac2, "(") #)
4932  macro = mac2[1]
4933  prefix = substr(line, 1, index(line, defundef) - 1)
4934  if (D_is_set[macro]) {
4935    # Preserve the white space surrounding the "#".
4936    print prefix "define", macro P[macro] D[macro]
4937    next
4938  } else {
4939    # Replace #undef with comments.  This is necessary, for example,
4940    # in the case of _POSIX_SOURCE, which is predefined and required
4941    # on some systems where configure will not decide to define it.
4942    if (defundef == "undef") {
4943      print "/*", prefix defundef, macro, "*/"
4944      next
4945    }
4946  }
4947}
4948{ print }
4949_ACAWK
4950_ACEOF
4951cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4952  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4953fi # test -n "$CONFIG_HEADERS"
4954
4955
4956eval set X "    :H $CONFIG_HEADERS    "
4957shift
4958for ac_tag
4959do
4960  case $ac_tag in
4961  :[FHLC]) ac_mode=$ac_tag; continue;;
4962  esac
4963  case $ac_mode$ac_tag in
4964  :[FHL]*:*);;
4965  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4966  :[FH]-) ac_tag=-:-;;
4967  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4968  esac
4969  ac_save_IFS=$IFS
4970  IFS=:
4971  set x $ac_tag
4972  IFS=$ac_save_IFS
4973  shift
4974  ac_file=$1
4975  shift
4976
4977  case $ac_mode in
4978  :L) ac_source=$1;;
4979  :[FH])
4980    ac_file_inputs=
4981    for ac_f
4982    do
4983      case $ac_f in
4984      -) ac_f="$ac_tmp/stdin";;
4985      *) # Look for the file first in the build tree, then in the source tree
4986	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4987	 # because $ac_f cannot contain `:'.
4988	 test -f "$ac_f" ||
4989	   case $ac_f in
4990	   [\\/$]*) false;;
4991	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4992	   esac ||
4993	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4994      esac
4995      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4996      as_fn_append ac_file_inputs " '$ac_f'"
4997    done
4998
4999    # Let's still pretend it is `configure' which instantiates (i.e., don't
5000    # use $as_me), people would be surprised to read:
5001    #    /* config.h.  Generated by config.status.  */
5002    configure_input='Generated from '`
5003	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5004	`' by configure.'
5005    if test x"$ac_file" != x-; then
5006      configure_input="$ac_file.  $configure_input"
5007      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5008$as_echo "$as_me: creating $ac_file" >&6;}
5009    fi
5010    # Neutralize special characters interpreted by sed in replacement strings.
5011    case $configure_input in #(
5012    *\&* | *\|* | *\\* )
5013       ac_sed_conf_input=`$as_echo "$configure_input" |
5014       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5015    *) ac_sed_conf_input=$configure_input;;
5016    esac
5017
5018    case $ac_tag in
5019    *:-:* | *:-) cat >"$ac_tmp/stdin" \
5020      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5021    esac
5022    ;;
5023  esac
5024
5025  ac_dir=`$as_dirname -- "$ac_file" ||
5026$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5027	 X"$ac_file" : 'X\(//\)[^/]' \| \
5028	 X"$ac_file" : 'X\(//\)$' \| \
5029	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5030$as_echo X"$ac_file" |
5031    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5032	    s//\1/
5033	    q
5034	  }
5035	  /^X\(\/\/\)[^/].*/{
5036	    s//\1/
5037	    q
5038	  }
5039	  /^X\(\/\/\)$/{
5040	    s//\1/
5041	    q
5042	  }
5043	  /^X\(\/\).*/{
5044	    s//\1/
5045	    q
5046	  }
5047	  s/.*/./; q'`
5048  as_dir="$ac_dir"; as_fn_mkdir_p
5049  ac_builddir=.
5050
5051case "$ac_dir" in
5052.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5053*)
5054  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5055  # A ".." for each directory in $ac_dir_suffix.
5056  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5057  case $ac_top_builddir_sub in
5058  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5059  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5060  esac ;;
5061esac
5062ac_abs_top_builddir=$ac_pwd
5063ac_abs_builddir=$ac_pwd$ac_dir_suffix
5064# for backward compatibility:
5065ac_top_builddir=$ac_top_build_prefix
5066
5067case $srcdir in
5068  .)  # We are building in place.
5069    ac_srcdir=.
5070    ac_top_srcdir=$ac_top_builddir_sub
5071    ac_abs_top_srcdir=$ac_pwd ;;
5072  [\\/]* | ?:[\\/]* )  # Absolute name.
5073    ac_srcdir=$srcdir$ac_dir_suffix;
5074    ac_top_srcdir=$srcdir
5075    ac_abs_top_srcdir=$srcdir ;;
5076  *) # Relative name.
5077    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5078    ac_top_srcdir=$ac_top_build_prefix$srcdir
5079    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5080esac
5081ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5082
5083
5084  case $ac_mode in
5085
5086  :H)
5087  #
5088  # CONFIG_HEADER
5089  #
5090  if test x"$ac_file" != x-; then
5091    {
5092      $as_echo "/* $configure_input  */" \
5093      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5094    } >"$ac_tmp/config.h" \
5095      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5096    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5097      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5098$as_echo "$as_me: $ac_file is unchanged" >&6;}
5099    else
5100      rm -f "$ac_file"
5101      mv "$ac_tmp/config.h" "$ac_file" \
5102	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
5103    fi
5104  else
5105    $as_echo "/* $configure_input  */" \
5106      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5107      || as_fn_error $? "could not create -" "$LINENO" 5
5108  fi
5109 ;;
5110
5111
5112  esac
5113
5114done # for ac_tag
5115
5116
5117as_fn_exit 0
5118_ACEOF
5119ac_clean_files=$ac_clean_files_save
5120
5121test $ac_write_fail = 0 ||
5122  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5123
5124
5125# configure is writing to config.log, and then calls config.status.
5126# config.status does its own redirection, appending to config.log.
5127# Unfortunately, on DOS this fails, as config.log is still kept open
5128# by configure, so config.status won't be able to write to it; its
5129# output is simply discarded.  So we exec the FD to /dev/null,
5130# effectively closing config.log, so it can be properly (re)opened and
5131# appended to by config.status.  When coming back to configure, we
5132# need to make the FD available again.
5133if test "$no_create" != yes; then
5134  ac_cs_success=:
5135  ac_config_status_args=
5136  test "$silent" = yes &&
5137    ac_config_status_args="$ac_config_status_args --quiet"
5138  exec 5>/dev/null
5139  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5140  exec 5>>config.log
5141  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5142  # would make configure fail if this is the last instruction.
5143  $ac_cs_success || as_fn_exit 1
5144fi
5145if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5146  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5147$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5148fi
5149
5150