• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for strace 4.5.12.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11 
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23 
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30 
31 
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37 
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50 
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57 
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63 
64 
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 	 X"$0" : 'X\(//\)$' \| \
69 	 X"$0" : 'X\(/\)$' \| \
70 	 .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
74   	  /^X\/\(\/\).*/{ s//\1/; q; }
75   	  s/.*/./; q'`
76 
77 
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85 
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98 
99 
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116 
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136 	 case $as_dir in
137 	 /*)
138 	   if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 	     CONFIG_SHELL=$as_dir/$as_base
147 	     export CONFIG_SHELL
148 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 	   fi;;
150 	 esac
151        done
152 done
153 ;;
154   esac
155 
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177 
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185 
186 
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='	' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193 
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199 
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217 
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224 
225 as_executable_p="test -f"
226 
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229 
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232 
233 
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS=" 	$as_nl"
239 
240 # CDPATH.
241 $as_unset CDPATH
242 
243 
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248 
249 exec 6>&1
250 
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261 
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete.  It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266 
267 # Identity of this package.
268 PACKAGE_NAME='strace'
269 PACKAGE_TARNAME='strace'
270 PACKAGE_VERSION='4.5.12'
271 PACKAGE_STRING='strace 4.5.12'
272 PACKAGE_BUGREPORT=''
273 
274 ac_unique_file="strace.c"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 #  include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 #  include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 #  include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
311 
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os opsys arch LINUX_TRUE LINUX_FALSE I386_TRUE I386_FALSE X86_64_TRUE X86_64_FALSE SUNOS4_TRUE SUNOS4_FALSE SVR4_TRUE SVR4_FALSE FREEBSD_TRUE FREEBSD_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE WARNFLAGS CPP EGREP PERL LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
314 
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
334 
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
352 
353 ac_prev=
354 for ac_option
355 do
356   # If the previous option needs an argument, assign it.
357   if test -n "$ac_prev"; then
358     eval "$ac_prev=\$ac_option"
359     ac_prev=
360     continue
361   fi
362 
363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 
365   # Accept the important Cygnus configure options, so we can diagnose typos.
366 
367   case $ac_option in
368 
369   -bindir | --bindir | --bindi | --bind | --bin | --bi)
370     ac_prev=bindir ;;
371   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372     bindir=$ac_optarg ;;
373 
374   -build | --build | --buil | --bui | --bu)
375     ac_prev=build_alias ;;
376   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377     build_alias=$ac_optarg ;;
378 
379   -cache-file | --cache-file | --cache-fil | --cache-fi \
380   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381     ac_prev=cache_file ;;
382   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384     cache_file=$ac_optarg ;;
385 
386   --config-cache | -C)
387     cache_file=config.cache ;;
388 
389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390     ac_prev=datadir ;;
391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392   | --da=*)
393     datadir=$ac_optarg ;;
394 
395   -disable-* | --disable-*)
396     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397     # Reject names that are not valid shell variable names.
398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400    { (exit 1); exit 1; }; }
401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402     eval "enable_$ac_feature=no" ;;
403 
404   -enable-* | --enable-*)
405     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406     # Reject names that are not valid shell variable names.
407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409    { (exit 1); exit 1; }; }
410     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411     case $ac_option in
412       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413       *) ac_optarg=yes ;;
414     esac
415     eval "enable_$ac_feature='$ac_optarg'" ;;
416 
417   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419   | --exec | --exe | --ex)
420     ac_prev=exec_prefix ;;
421   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423   | --exec=* | --exe=* | --ex=*)
424     exec_prefix=$ac_optarg ;;
425 
426   -gas | --gas | --ga | --g)
427     # Obsolete; use --with-gas.
428     with_gas=yes ;;
429 
430   -help | --help | --hel | --he | -h)
431     ac_init_help=long ;;
432   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433     ac_init_help=recursive ;;
434   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435     ac_init_help=short ;;
436 
437   -host | --host | --hos | --ho)
438     ac_prev=host_alias ;;
439   -host=* | --host=* | --hos=* | --ho=*)
440     host_alias=$ac_optarg ;;
441 
442   -includedir | --includedir | --includedi | --included | --include \
443   | --includ | --inclu | --incl | --inc)
444     ac_prev=includedir ;;
445   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446   | --includ=* | --inclu=* | --incl=* | --inc=*)
447     includedir=$ac_optarg ;;
448 
449   -infodir | --infodir | --infodi | --infod | --info | --inf)
450     ac_prev=infodir ;;
451   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452     infodir=$ac_optarg ;;
453 
454   -libdir | --libdir | --libdi | --libd)
455     ac_prev=libdir ;;
456   -libdir=* | --libdir=* | --libdi=* | --libd=*)
457     libdir=$ac_optarg ;;
458 
459   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460   | --libexe | --libex | --libe)
461     ac_prev=libexecdir ;;
462   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463   | --libexe=* | --libex=* | --libe=*)
464     libexecdir=$ac_optarg ;;
465 
466   -localstatedir | --localstatedir | --localstatedi | --localstated \
467   | --localstate | --localstat | --localsta | --localst \
468   | --locals | --local | --loca | --loc | --lo)
469     ac_prev=localstatedir ;;
470   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473     localstatedir=$ac_optarg ;;
474 
475   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476     ac_prev=mandir ;;
477   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478     mandir=$ac_optarg ;;
479 
480   -nfp | --nfp | --nf)
481     # Obsolete; use --without-fp.
482     with_fp=no ;;
483 
484   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485   | --no-cr | --no-c | -n)
486     no_create=yes ;;
487 
488   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490     no_recursion=yes ;;
491 
492   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494   | --oldin | --oldi | --old | --ol | --o)
495     ac_prev=oldincludedir ;;
496   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499     oldincludedir=$ac_optarg ;;
500 
501   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502     ac_prev=prefix ;;
503   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504     prefix=$ac_optarg ;;
505 
506   -program-prefix | --program-prefix | --program-prefi | --program-pref \
507   | --program-pre | --program-pr | --program-p)
508     ac_prev=program_prefix ;;
509   -program-prefix=* | --program-prefix=* | --program-prefi=* \
510   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511     program_prefix=$ac_optarg ;;
512 
513   -program-suffix | --program-suffix | --program-suffi | --program-suff \
514   | --program-suf | --program-su | --program-s)
515     ac_prev=program_suffix ;;
516   -program-suffix=* | --program-suffix=* | --program-suffi=* \
517   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518     program_suffix=$ac_optarg ;;
519 
520   -program-transform-name | --program-transform-name \
521   | --program-transform-nam | --program-transform-na \
522   | --program-transform-n | --program-transform- \
523   | --program-transform | --program-transfor \
524   | --program-transfo | --program-transf \
525   | --program-trans | --program-tran \
526   | --progr-tra | --program-tr | --program-t)
527     ac_prev=program_transform_name ;;
528   -program-transform-name=* | --program-transform-name=* \
529   | --program-transform-nam=* | --program-transform-na=* \
530   | --program-transform-n=* | --program-transform-=* \
531   | --program-transform=* | --program-transfor=* \
532   | --program-transfo=* | --program-transf=* \
533   | --program-trans=* | --program-tran=* \
534   | --progr-tra=* | --program-tr=* | --program-t=*)
535     program_transform_name=$ac_optarg ;;
536 
537   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538   | -silent | --silent | --silen | --sile | --sil)
539     silent=yes ;;
540 
541   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542     ac_prev=sbindir ;;
543   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544   | --sbi=* | --sb=*)
545     sbindir=$ac_optarg ;;
546 
547   -sharedstatedir | --sharedstatedir | --sharedstatedi \
548   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549   | --sharedst | --shareds | --shared | --share | --shar \
550   | --sha | --sh)
551     ac_prev=sharedstatedir ;;
552   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555   | --sha=* | --sh=*)
556     sharedstatedir=$ac_optarg ;;
557 
558   -site | --site | --sit)
559     ac_prev=site ;;
560   -site=* | --site=* | --sit=*)
561     site=$ac_optarg ;;
562 
563   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564     ac_prev=srcdir ;;
565   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566     srcdir=$ac_optarg ;;
567 
568   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569   | --syscon | --sysco | --sysc | --sys | --sy)
570     ac_prev=sysconfdir ;;
571   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573     sysconfdir=$ac_optarg ;;
574 
575   -target | --target | --targe | --targ | --tar | --ta | --t)
576     ac_prev=target_alias ;;
577   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578     target_alias=$ac_optarg ;;
579 
580   -v | -verbose | --verbose | --verbos | --verbo | --verb)
581     verbose=yes ;;
582 
583   -version | --version | --versio | --versi | --vers | -V)
584     ac_init_version=: ;;
585 
586   -with-* | --with-*)
587     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588     # Reject names that are not valid shell variable names.
589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590       { echo "$as_me: error: invalid package name: $ac_package" >&2
591    { (exit 1); exit 1; }; }
592     ac_package=`echo $ac_package| sed 's/-/_/g'`
593     case $ac_option in
594       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595       *) ac_optarg=yes ;;
596     esac
597     eval "with_$ac_package='$ac_optarg'" ;;
598 
599   -without-* | --without-*)
600     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601     # Reject names that are not valid shell variable names.
602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603       { echo "$as_me: error: invalid package name: $ac_package" >&2
604    { (exit 1); exit 1; }; }
605     ac_package=`echo $ac_package | sed 's/-/_/g'`
606     eval "with_$ac_package=no" ;;
607 
608   --x)
609     # Obsolete; use --with-x.
610     with_x=yes ;;
611 
612   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613   | --x-incl | --x-inc | --x-in | --x-i)
614     ac_prev=x_includes ;;
615   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617     x_includes=$ac_optarg ;;
618 
619   -x-libraries | --x-libraries | --x-librarie | --x-librari \
620   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621     ac_prev=x_libraries ;;
622   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624     x_libraries=$ac_optarg ;;
625 
626   -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628    { (exit 1); exit 1; }; }
629     ;;
630 
631   *=*)
632     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633     # Reject names that are not valid shell variable names.
634     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636    { (exit 1); exit 1; }; }
637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638     eval "$ac_envvar='$ac_optarg'"
639     export $ac_envvar ;;
640 
641   *)
642     # FIXME: should be removed in autoconf 3.0.
643     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647     ;;
648 
649   esac
650 done
651 
652 if test -n "$ac_prev"; then
653   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654   { echo "$as_me: error: missing argument to $ac_option" >&2
655    { (exit 1); exit 1; }; }
656 fi
657 
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
660 do
661   eval ac_val=$`echo $ac_var`
662   case $ac_val in
663     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665    { (exit 1); exit 1; }; };;
666   esac
667 done
668 
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 	      localstatedir libdir includedir oldincludedir infodir mandir
672 do
673   eval ac_val=$`echo $ac_var`
674   case $ac_val in
675     [\\/$]* | ?:[\\/]* ) ;;
676     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677    { (exit 1); exit 1; }; };;
678   esac
679 done
680 
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
687 
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690   if test "x$build_alias" = x; then
691     cross_compiling=maybe
692     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693     If a cross compiler is detected then cross compile mode will be used." >&2
694   elif test "x$build_alias" != "x$host_alias"; then
695     cross_compiling=yes
696   fi
697 fi
698 
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 
702 test "$silent" = yes && exec 6>/dev/null
703 
704 
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707   ac_srcdir_defaulted=yes
708   # Try the directory containing this script, then its parent.
709   ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 	 X"$0" : 'X\(//\)[^/]' \| \
712 	 X"$0" : 'X\(//\)$' \| \
713 	 X"$0" : 'X\(/\)' \| \
714 	 .     : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718   	  /^X\(\/\/\)$/{ s//\1/; q; }
719   	  /^X\(\/\).*/{ s//\1/; q; }
720   	  s/.*/./; q'`
721   srcdir=$ac_confdir
722   if test ! -r $srcdir/$ac_unique_file; then
723     srcdir=..
724   fi
725 else
726   ac_srcdir_defaulted=no
727 fi
728 if test ! -r $srcdir/$ac_unique_file; then
729   if test "$ac_srcdir_defaulted" = yes; then
730     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731    { (exit 1); exit 1; }; }
732   else
733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734    { (exit 1); exit 1; }; }
735   fi
736 fi
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739    { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
754 ac_env_CC_value=$CC
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
773 
774 #
775 # Report the --help message.
776 #
777 if test "$ac_init_help" = "long"; then
778   # Omit some internal or obsolete options to make the list less imposing.
779   # This message is too long to be a string in the A/UX 3.1 sh.
780   cat <<_ACEOF
781 \`configure' configures strace 4.5.12 to adapt to many kinds of systems.
782 
783 Usage: $0 [OPTION]... [VAR=VALUE]...
784 
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE.  See below for descriptions of some of the useful variables.
787 
788 Defaults for the options are specified in brackets.
789 
790 Configuration:
791   -h, --help              display this help and exit
792       --help=short        display options specific to this package
793       --help=recursive    display the short help of all the included packages
794   -V, --version           display version information and exit
795   -q, --quiet, --silent   do not print \`checking...' messages
796       --cache-file=FILE   cache test results in FILE [disabled]
797   -C, --config-cache      alias for \`--cache-file=config.cache'
798   -n, --no-create         do not create output files
799       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
800 
801 _ACEOF
802 
803   cat <<_ACEOF
804 Installation directories:
805   --prefix=PREFIX         install architecture-independent files in PREFIX
806 			  [$ac_default_prefix]
807   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
808 			  [PREFIX]
809 
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
814 
815 For better control, use the options below.
816 
817 Fine tuning of the installation directories:
818   --bindir=DIR           user executables [EPREFIX/bin]
819   --sbindir=DIR          system admin executables [EPREFIX/sbin]
820   --libexecdir=DIR       program executables [EPREFIX/libexec]
821   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
822   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
823   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
824   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
825   --libdir=DIR           object code libraries [EPREFIX/lib]
826   --includedir=DIR       C header files [PREFIX/include]
827   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
828   --infodir=DIR          info documentation [PREFIX/info]
829   --mandir=DIR           man documentation [PREFIX/man]
830 _ACEOF
831 
832   cat <<\_ACEOF
833 
834 Program names:
835   --program-prefix=PREFIX            prepend PREFIX to installed program names
836   --program-suffix=SUFFIX            append SUFFIX to installed program names
837   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
838 
839 System types:
840   --build=BUILD     configure for building on BUILD [guessed]
841   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
842 _ACEOF
843 fi
844 
845 if test -n "$ac_init_help"; then
846   case $ac_init_help in
847      short | recursive ) echo "Configuration of strace 4.5.12:";;
848    esac
849   cat <<\_ACEOF
850 
851 Optional Features:
852   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
853   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
854   --enable-maintainer-mode  enable make rules and dependencies not useful
855 			  (and sometimes confusing) to the casual installer
856   --disable-dependency-tracking  speeds up one-time build
857   --enable-dependency-tracking   do not reject slow dependency extractors
858 
859 Some influential environment variables:
860   CC          C compiler command
861   CFLAGS      C compiler flags
862   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
863               nonstandard directory <lib dir>
864   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
865               headers in a nonstandard directory <include dir>
866   CPP         C preprocessor
867 
868 Use these variables to override the choices made by `configure' or to help
869 it to find libraries and programs with nonstandard names/locations.
870 
871 _ACEOF
872 fi
873 
874 if test "$ac_init_help" = "recursive"; then
875   # If there are subdirs, report their specific --help.
876   ac_popdir=`pwd`
877   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
878     test -d $ac_dir || continue
879     ac_builddir=.
880 
881 if test "$ac_dir" != .; then
882   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
883   # A "../" for each directory in $ac_dir_suffix.
884   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
885 else
886   ac_dir_suffix= ac_top_builddir=
887 fi
888 
889 case $srcdir in
890   .)  # No --srcdir option.  We are building in place.
891     ac_srcdir=.
892     if test -z "$ac_top_builddir"; then
893        ac_top_srcdir=.
894     else
895        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
896     fi ;;
897   [\\/]* | ?:[\\/]* )  # Absolute path.
898     ac_srcdir=$srcdir$ac_dir_suffix;
899     ac_top_srcdir=$srcdir ;;
900   *) # Relative path.
901     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
902     ac_top_srcdir=$ac_top_builddir$srcdir ;;
903 esac
904 
905 # Do not use `cd foo && pwd` to compute absolute paths, because
906 # the directories may not exist.
907 case `pwd` in
908 .) ac_abs_builddir="$ac_dir";;
909 *)
910   case "$ac_dir" in
911   .) ac_abs_builddir=`pwd`;;
912   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
913   *) ac_abs_builddir=`pwd`/"$ac_dir";;
914   esac;;
915 esac
916 case $ac_abs_builddir in
917 .) ac_abs_top_builddir=${ac_top_builddir}.;;
918 *)
919   case ${ac_top_builddir}. in
920   .) ac_abs_top_builddir=$ac_abs_builddir;;
921   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
922   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
923   esac;;
924 esac
925 case $ac_abs_builddir in
926 .) ac_abs_srcdir=$ac_srcdir;;
927 *)
928   case $ac_srcdir in
929   .) ac_abs_srcdir=$ac_abs_builddir;;
930   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
931   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
932   esac;;
933 esac
934 case $ac_abs_builddir in
935 .) ac_abs_top_srcdir=$ac_top_srcdir;;
936 *)
937   case $ac_top_srcdir in
938   .) ac_abs_top_srcdir=$ac_abs_builddir;;
939   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
940   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
941   esac;;
942 esac
943 
944     cd $ac_dir
945     # Check for guested configure; otherwise get Cygnus style configure.
946     if test -f $ac_srcdir/configure.gnu; then
947       echo
948       $SHELL $ac_srcdir/configure.gnu  --help=recursive
949     elif test -f $ac_srcdir/configure; then
950       echo
951       $SHELL $ac_srcdir/configure  --help=recursive
952     elif test -f $ac_srcdir/configure.ac ||
953 	   test -f $ac_srcdir/configure.in; then
954       echo
955       $ac_configure --help
956     else
957       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
958     fi
959     cd $ac_popdir
960   done
961 fi
962 
963 test -n "$ac_init_help" && exit 0
964 if $ac_init_version; then
965   cat <<\_ACEOF
966 strace configure 4.5.12
967 generated by GNU Autoconf 2.59
968 
969 Copyright (C) 2003 Free Software Foundation, Inc.
970 This configure script is free software; the Free Software Foundation
971 gives unlimited permission to copy, distribute and modify it.
972 _ACEOF
973   exit 0
974 fi
975 exec 5>config.log
976 cat >&5 <<_ACEOF
977 This file contains any messages produced by compilers while
978 running configure, to aid debugging if configure makes a mistake.
979 
980 It was created by strace $as_me 4.5.12, which was
981 generated by GNU Autoconf 2.59.  Invocation command line was
982 
983   $ $0 $@
984 
985 _ACEOF
986 {
987 cat <<_ASUNAME
988 ## --------- ##
989 ## Platform. ##
990 ## --------- ##
991 
992 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
993 uname -m = `(uname -m) 2>/dev/null || echo unknown`
994 uname -r = `(uname -r) 2>/dev/null || echo unknown`
995 uname -s = `(uname -s) 2>/dev/null || echo unknown`
996 uname -v = `(uname -v) 2>/dev/null || echo unknown`
997 
998 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
999 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1000 
1001 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1002 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1003 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1004 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1005 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1006 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1007 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1008 
1009 _ASUNAME
1010 
1011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1012 for as_dir in $PATH
1013 do
1014   IFS=$as_save_IFS
1015   test -z "$as_dir" && as_dir=.
1016   echo "PATH: $as_dir"
1017 done
1018 
1019 } >&5
1020 
1021 cat >&5 <<_ACEOF
1022 
1023 
1024 ## ----------- ##
1025 ## Core tests. ##
1026 ## ----------- ##
1027 
1028 _ACEOF
1029 
1030 
1031 # Keep a trace of the command line.
1032 # Strip out --no-create and --no-recursion so they do not pile up.
1033 # Strip out --silent because we don't want to record it for future runs.
1034 # Also quote any args containing shell meta-characters.
1035 # Make two passes to allow for proper duplicate-argument suppression.
1036 ac_configure_args=
1037 ac_configure_args0=
1038 ac_configure_args1=
1039 ac_sep=
1040 ac_must_keep_next=false
1041 for ac_pass in 1 2
1042 do
1043   for ac_arg
1044   do
1045     case $ac_arg in
1046     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1047     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048     | -silent | --silent | --silen | --sile | --sil)
1049       continue ;;
1050     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1051       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1052     esac
1053     case $ac_pass in
1054     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1055     2)
1056       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1057       if test $ac_must_keep_next = true; then
1058 	ac_must_keep_next=false # Got value, back to normal.
1059       else
1060 	case $ac_arg in
1061 	  *=* | --config-cache | -C | -disable-* | --disable-* \
1062 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1063 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1064 	  | -with-* | --with-* | -without-* | --without-* | --x)
1065 	    case "$ac_configure_args0 " in
1066 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1067 	    esac
1068 	    ;;
1069 	  -* ) ac_must_keep_next=true ;;
1070 	esac
1071       fi
1072       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1073       # Get rid of the leading space.
1074       ac_sep=" "
1075       ;;
1076     esac
1077   done
1078 done
1079 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1080 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1081 
1082 # When interrupted or exit'd, cleanup temporary files, and complete
1083 # config.log.  We remove comments because anyway the quotes in there
1084 # would cause problems or look ugly.
1085 # WARNING: Be sure not to use single quotes in there, as some shells,
1086 # such as our DU 5.0 friend, will then `close' the trap.
1087 trap 'exit_status=$?
1088   # Save into config.log some information that might help in debugging.
1089   {
1090     echo
1091 
1092     cat <<\_ASBOX
1093 ## ---------------- ##
1094 ## Cache variables. ##
1095 ## ---------------- ##
1096 _ASBOX
1097     echo
1098     # The following way of writing the cache mishandles newlines in values,
1099 {
1100   (set) 2>&1 |
1101     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1102     *ac_space=\ *)
1103       sed -n \
1104 	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1105 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1106       ;;
1107     *)
1108       sed -n \
1109 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1110       ;;
1111     esac;
1112 }
1113     echo
1114 
1115     cat <<\_ASBOX
1116 ## ----------------- ##
1117 ## Output variables. ##
1118 ## ----------------- ##
1119 _ASBOX
1120     echo
1121     for ac_var in $ac_subst_vars
1122     do
1123       eval ac_val=$`echo $ac_var`
1124       echo "$ac_var='"'"'$ac_val'"'"'"
1125     done | sort
1126     echo
1127 
1128     if test -n "$ac_subst_files"; then
1129       cat <<\_ASBOX
1130 ## ------------- ##
1131 ## Output files. ##
1132 ## ------------- ##
1133 _ASBOX
1134       echo
1135       for ac_var in $ac_subst_files
1136       do
1137 	eval ac_val=$`echo $ac_var`
1138 	echo "$ac_var='"'"'$ac_val'"'"'"
1139       done | sort
1140       echo
1141     fi
1142 
1143     if test -s confdefs.h; then
1144       cat <<\_ASBOX
1145 ## ----------- ##
1146 ## confdefs.h. ##
1147 ## ----------- ##
1148 _ASBOX
1149       echo
1150       sed "/^$/d" confdefs.h | sort
1151       echo
1152     fi
1153     test "$ac_signal" != 0 &&
1154       echo "$as_me: caught signal $ac_signal"
1155     echo "$as_me: exit $exit_status"
1156   } >&5
1157   rm -f core *.core &&
1158   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1159     exit $exit_status
1160      ' 0
1161 for ac_signal in 1 2 13 15; do
1162   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1163 done
1164 ac_signal=0
1165 
1166 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1167 rm -rf conftest* confdefs.h
1168 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1169 echo >confdefs.h
1170 
1171 # Predefined preprocessor variables.
1172 
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_NAME "$PACKAGE_NAME"
1175 _ACEOF
1176 
1177 
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1180 _ACEOF
1181 
1182 
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1185 _ACEOF
1186 
1187 
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_STRING "$PACKAGE_STRING"
1190 _ACEOF
1191 
1192 
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1195 _ACEOF
1196 
1197 
1198 # Let the site file select an alternate cache file if it wants to.
1199 # Prefer explicitly selected file to automatically selected ones.
1200 if test -z "$CONFIG_SITE"; then
1201   if test "x$prefix" != xNONE; then
1202     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1203   else
1204     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1205   fi
1206 fi
1207 for ac_site_file in $CONFIG_SITE; do
1208   if test -r "$ac_site_file"; then
1209     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1210 echo "$as_me: loading site script $ac_site_file" >&6;}
1211     sed 's/^/| /' "$ac_site_file" >&5
1212     . "$ac_site_file"
1213   fi
1214 done
1215 
1216 if test -r "$cache_file"; then
1217   # Some versions of bash will fail to source /dev/null (special
1218   # files actually), so we avoid doing that.
1219   if test -f "$cache_file"; then
1220     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1221 echo "$as_me: loading cache $cache_file" >&6;}
1222     case $cache_file in
1223       [\\/]* | ?:[\\/]* ) . $cache_file;;
1224       *)                      . ./$cache_file;;
1225     esac
1226   fi
1227 else
1228   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1229 echo "$as_me: creating cache $cache_file" >&6;}
1230   >$cache_file
1231 fi
1232 
1233 # Check that the precious variables saved in the cache have kept the same
1234 # value.
1235 ac_cache_corrupted=false
1236 for ac_var in `(set) 2>&1 |
1237 	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1238   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1239   eval ac_new_set=\$ac_env_${ac_var}_set
1240   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1241   eval ac_new_val="\$ac_env_${ac_var}_value"
1242   case $ac_old_set,$ac_new_set in
1243     set,)
1244       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1245 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1246       ac_cache_corrupted=: ;;
1247     ,set)
1248       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1249 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1250       ac_cache_corrupted=: ;;
1251     ,);;
1252     *)
1253       if test "x$ac_old_val" != "x$ac_new_val"; then
1254 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1255 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1256 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1257 echo "$as_me:   former value:  $ac_old_val" >&2;}
1258 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1259 echo "$as_me:   current value: $ac_new_val" >&2;}
1260 	ac_cache_corrupted=:
1261       fi;;
1262   esac
1263   # Pass precious variables to config.status.
1264   if test "$ac_new_set" = set; then
1265     case $ac_new_val in
1266     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1267       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1268     *) ac_arg=$ac_var=$ac_new_val ;;
1269     esac
1270     case " $ac_configure_args " in
1271       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1272       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1273     esac
1274   fi
1275 done
1276 if $ac_cache_corrupted; then
1277   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1278 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1279   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1280 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1281    { (exit 1); exit 1; }; }
1282 fi
1283 
1284 ac_ext=c
1285 ac_cpp='$CPP $CPPFLAGS'
1286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1289 
1290 
1291 
1292 
1293 
1294 
1295 
1296 
1297 
1298 
1299 
1300 
1301 
1302 
1303 
1304 
1305 
1306 
1307 
1308 
1309 
1310 
1311 
1312 
1313 
1314 
1315 
1316 
1317           ac_config_headers="$ac_config_headers config.h"
1318 
1319 am__api_version="1.9"
1320 ac_aux_dir=
1321 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1322   if test -f $ac_dir/install-sh; then
1323     ac_aux_dir=$ac_dir
1324     ac_install_sh="$ac_aux_dir/install-sh -c"
1325     break
1326   elif test -f $ac_dir/install.sh; then
1327     ac_aux_dir=$ac_dir
1328     ac_install_sh="$ac_aux_dir/install.sh -c"
1329     break
1330   elif test -f $ac_dir/shtool; then
1331     ac_aux_dir=$ac_dir
1332     ac_install_sh="$ac_aux_dir/shtool install -c"
1333     break
1334   fi
1335 done
1336 if test -z "$ac_aux_dir"; then
1337   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1338 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1339    { (exit 1); exit 1; }; }
1340 fi
1341 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1342 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1343 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1344 
1345 # Find a good install program.  We prefer a C program (faster),
1346 # so one script is as good as another.  But avoid the broken or
1347 # incompatible versions:
1348 # SysV /etc/install, /usr/sbin/install
1349 # SunOS /usr/etc/install
1350 # IRIX /sbin/install
1351 # AIX /bin/install
1352 # AmigaOS /C/install, which installs bootblocks on floppy discs
1353 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1354 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1355 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1356 # OS/2's system install, which has a completely different semantic
1357 # ./install, which can be erroneously created by make from ./install.sh.
1358 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1359 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1360 if test -z "$INSTALL"; then
1361 if test "${ac_cv_path_install+set}" = set; then
1362   echo $ECHO_N "(cached) $ECHO_C" >&6
1363 else
1364   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1365 for as_dir in $PATH
1366 do
1367   IFS=$as_save_IFS
1368   test -z "$as_dir" && as_dir=.
1369   # Account for people who put trailing slashes in PATH elements.
1370 case $as_dir/ in
1371   ./ | .// | /cC/* | \
1372   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1373   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1374   /usr/ucb/* ) ;;
1375   *)
1376     # OSF1 and SCO ODT 3.0 have their own names for install.
1377     # Don't use installbsd from OSF since it installs stuff as root
1378     # by default.
1379     for ac_prog in ginstall scoinst install; do
1380       for ac_exec_ext in '' $ac_executable_extensions; do
1381 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1382 	  if test $ac_prog = install &&
1383 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1384 	    # AIX install.  It has an incompatible calling convention.
1385 	    :
1386 	  elif test $ac_prog = install &&
1387 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1388 	    # program-specific install script used by HP pwplus--don't use.
1389 	    :
1390 	  else
1391 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1392 	    break 3
1393 	  fi
1394 	fi
1395       done
1396     done
1397     ;;
1398 esac
1399 done
1400 
1401 
1402 fi
1403   if test "${ac_cv_path_install+set}" = set; then
1404     INSTALL=$ac_cv_path_install
1405   else
1406     # As a last resort, use the slow shell script.  We don't cache a
1407     # path for INSTALL within a source directory, because that will
1408     # break other packages using the cache if that directory is
1409     # removed, or if the path is relative.
1410     INSTALL=$ac_install_sh
1411   fi
1412 fi
1413 echo "$as_me:$LINENO: result: $INSTALL" >&5
1414 echo "${ECHO_T}$INSTALL" >&6
1415 
1416 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1417 # It thinks the first close brace ends the variable substitution.
1418 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1419 
1420 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1421 
1422 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1423 
1424 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1425 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1426 # Just in case
1427 sleep 1
1428 echo timestamp > conftest.file
1429 # Do `set' in a subshell so we don't clobber the current shell's
1430 # arguments.  Must try -L first in case configure is actually a
1431 # symlink; some systems play weird games with the mod time of symlinks
1432 # (eg FreeBSD returns the mod time of the symlink's containing
1433 # directory).
1434 if (
1435    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1436    if test "$*" = "X"; then
1437       # -L didn't work.
1438       set X `ls -t $srcdir/configure conftest.file`
1439    fi
1440    rm -f conftest.file
1441    if test "$*" != "X $srcdir/configure conftest.file" \
1442       && test "$*" != "X conftest.file $srcdir/configure"; then
1443 
1444       # If neither matched, then we have a broken ls.  This can happen
1445       # if, for instance, CONFIG_SHELL is bash and it inherits a
1446       # broken ls alias from the environment.  This has actually
1447       # happened.  Such a system could not be considered "sane".
1448       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1449 alias in your environment" >&5
1450 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1451 alias in your environment" >&2;}
1452    { (exit 1); exit 1; }; }
1453    fi
1454 
1455    test "$2" = conftest.file
1456    )
1457 then
1458    # Ok.
1459    :
1460 else
1461    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1462 Check your system clock" >&5
1463 echo "$as_me: error: newly created file is older than distributed files!
1464 Check your system clock" >&2;}
1465    { (exit 1); exit 1; }; }
1466 fi
1467 echo "$as_me:$LINENO: result: yes" >&5
1468 echo "${ECHO_T}yes" >&6
1469 test "$program_prefix" != NONE &&
1470   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1471 # Use a double $ so make ignores it.
1472 test "$program_suffix" != NONE &&
1473   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1474 # Double any \ or $.  echo might interpret backslashes.
1475 # By default was `s,x,x', remove it if useless.
1476 cat <<\_ACEOF >conftest.sed
1477 s/[\\$]/&&/g;s/;s,x,x,$//
1478 _ACEOF
1479 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1480 rm conftest.sed
1481 
1482 # expand $ac_aux_dir to an absolute path
1483 am_aux_dir=`cd $ac_aux_dir && pwd`
1484 
1485 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1486 # Use eval to expand $SHELL
1487 if eval "$MISSING --run true"; then
1488   am_missing_run="$MISSING --run "
1489 else
1490   am_missing_run=
1491   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1492 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1493 fi
1494 
1495 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1496   # We used to keeping the `.' as first argument, in order to
1497   # allow $(mkdir_p) to be used without argument.  As in
1498   #   $(mkdir_p) $(somedir)
1499   # where $(somedir) is conditionally defined.  However this is wrong
1500   # for two reasons:
1501   #  1. if the package is installed by a user who cannot write `.'
1502   #     make install will fail,
1503   #  2. the above comment should most certainly read
1504   #     $(mkdir_p) $(DESTDIR)$(somedir)
1505   #     so it does not work when $(somedir) is undefined and
1506   #     $(DESTDIR) is not.
1507   #  To support the latter case, we have to write
1508   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1509   #  so the `.' trick is pointless.
1510   mkdir_p='mkdir -p --'
1511 else
1512   # On NextStep and OpenStep, the `mkdir' command does not
1513   # recognize any option.  It will interpret all options as
1514   # directories to create, and then abort because `.' already
1515   # exists.
1516   for d in ./-p ./--version;
1517   do
1518     test -d $d && rmdir $d
1519   done
1520   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1521   if test -f "$ac_aux_dir/mkinstalldirs"; then
1522     mkdir_p='$(mkinstalldirs)'
1523   else
1524     mkdir_p='$(install_sh) -d'
1525   fi
1526 fi
1527 
1528 for ac_prog in gawk mawk nawk awk
1529 do
1530   # Extract the first word of "$ac_prog", so it can be a program name with args.
1531 set dummy $ac_prog; ac_word=$2
1532 echo "$as_me:$LINENO: checking for $ac_word" >&5
1533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1534 if test "${ac_cv_prog_AWK+set}" = set; then
1535   echo $ECHO_N "(cached) $ECHO_C" >&6
1536 else
1537   if test -n "$AWK"; then
1538   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1539 else
1540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1541 for as_dir in $PATH
1542 do
1543   IFS=$as_save_IFS
1544   test -z "$as_dir" && as_dir=.
1545   for ac_exec_ext in '' $ac_executable_extensions; do
1546   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1547     ac_cv_prog_AWK="$ac_prog"
1548     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1549     break 2
1550   fi
1551 done
1552 done
1553 
1554 fi
1555 fi
1556 AWK=$ac_cv_prog_AWK
1557 if test -n "$AWK"; then
1558   echo "$as_me:$LINENO: result: $AWK" >&5
1559 echo "${ECHO_T}$AWK" >&6
1560 else
1561   echo "$as_me:$LINENO: result: no" >&5
1562 echo "${ECHO_T}no" >&6
1563 fi
1564 
1565   test -n "$AWK" && break
1566 done
1567 
1568 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1569 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1570 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1571 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1572   echo $ECHO_N "(cached) $ECHO_C" >&6
1573 else
1574   cat >conftest.make <<\_ACEOF
1575 all:
1576 	@echo 'ac_maketemp="$(MAKE)"'
1577 _ACEOF
1578 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1579 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1580 if test -n "$ac_maketemp"; then
1581   eval ac_cv_prog_make_${ac_make}_set=yes
1582 else
1583   eval ac_cv_prog_make_${ac_make}_set=no
1584 fi
1585 rm -f conftest.make
1586 fi
1587 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1588   echo "$as_me:$LINENO: result: yes" >&5
1589 echo "${ECHO_T}yes" >&6
1590   SET_MAKE=
1591 else
1592   echo "$as_me:$LINENO: result: no" >&5
1593 echo "${ECHO_T}no" >&6
1594   SET_MAKE="MAKE=${MAKE-make}"
1595 fi
1596 
1597 rm -rf .tst 2>/dev/null
1598 mkdir .tst 2>/dev/null
1599 if test -d .tst; then
1600   am__leading_dot=.
1601 else
1602   am__leading_dot=_
1603 fi
1604 rmdir .tst 2>/dev/null
1605 
1606 # test to see if srcdir already configured
1607 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1608    test -f $srcdir/config.status; then
1609   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1610 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1611    { (exit 1); exit 1; }; }
1612 fi
1613 
1614 # test whether we have cygpath
1615 if test -z "$CYGPATH_W"; then
1616   if (cygpath --version) >/dev/null 2>/dev/null; then
1617     CYGPATH_W='cygpath -w'
1618   else
1619     CYGPATH_W=echo
1620   fi
1621 fi
1622 
1623 
1624 # Define the identity of the package.
1625  PACKAGE='strace'
1626  VERSION='4.5.12'
1627 
1628 
1629 cat >>confdefs.h <<_ACEOF
1630 #define PACKAGE "$PACKAGE"
1631 _ACEOF
1632 
1633 
1634 cat >>confdefs.h <<_ACEOF
1635 #define VERSION "$VERSION"
1636 _ACEOF
1637 
1638 # Some tools Automake needs.
1639 
1640 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1641 
1642 
1643 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1644 
1645 
1646 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1647 
1648 
1649 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1650 
1651 
1652 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1653 
1654 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1655 
1656 # Installed binaries are usually stripped using `strip' when the user
1657 # run `make install-strip'.  However `strip' might not be the right
1658 # tool to use in cross-compilation environments, therefore Automake
1659 # will honor the `STRIP' environment variable to overrule this program.
1660 if test "$cross_compiling" != no; then
1661   if test -n "$ac_tool_prefix"; then
1662   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1663 set dummy ${ac_tool_prefix}strip; ac_word=$2
1664 echo "$as_me:$LINENO: checking for $ac_word" >&5
1665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1666 if test "${ac_cv_prog_STRIP+set}" = set; then
1667   echo $ECHO_N "(cached) $ECHO_C" >&6
1668 else
1669   if test -n "$STRIP"; then
1670   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1671 else
1672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1673 for as_dir in $PATH
1674 do
1675   IFS=$as_save_IFS
1676   test -z "$as_dir" && as_dir=.
1677   for ac_exec_ext in '' $ac_executable_extensions; do
1678   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1679     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1680     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1681     break 2
1682   fi
1683 done
1684 done
1685 
1686 fi
1687 fi
1688 STRIP=$ac_cv_prog_STRIP
1689 if test -n "$STRIP"; then
1690   echo "$as_me:$LINENO: result: $STRIP" >&5
1691 echo "${ECHO_T}$STRIP" >&6
1692 else
1693   echo "$as_me:$LINENO: result: no" >&5
1694 echo "${ECHO_T}no" >&6
1695 fi
1696 
1697 fi
1698 if test -z "$ac_cv_prog_STRIP"; then
1699   ac_ct_STRIP=$STRIP
1700   # Extract the first word of "strip", so it can be a program name with args.
1701 set dummy strip; ac_word=$2
1702 echo "$as_me:$LINENO: checking for $ac_word" >&5
1703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1704 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1705   echo $ECHO_N "(cached) $ECHO_C" >&6
1706 else
1707   if test -n "$ac_ct_STRIP"; then
1708   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1709 else
1710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 for as_dir in $PATH
1712 do
1713   IFS=$as_save_IFS
1714   test -z "$as_dir" && as_dir=.
1715   for ac_exec_ext in '' $ac_executable_extensions; do
1716   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1717     ac_cv_prog_ac_ct_STRIP="strip"
1718     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1719     break 2
1720   fi
1721 done
1722 done
1723 
1724   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1725 fi
1726 fi
1727 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1728 if test -n "$ac_ct_STRIP"; then
1729   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1730 echo "${ECHO_T}$ac_ct_STRIP" >&6
1731 else
1732   echo "$as_me:$LINENO: result: no" >&5
1733 echo "${ECHO_T}no" >&6
1734 fi
1735 
1736   STRIP=$ac_ct_STRIP
1737 else
1738   STRIP="$ac_cv_prog_STRIP"
1739 fi
1740 
1741 fi
1742 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1743 
1744 # We need awk for the "check" target.  The system "awk" is bad on
1745 # some platforms.
1746 # Always define AMTAR for backward compatibility.
1747 
1748 AMTAR=${AMTAR-"${am_missing_run}tar"}
1749 
1750 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1751 
1752 
1753 
1754 
1755 
1756 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1757 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1758     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1759 if test "${enable_maintainer_mode+set}" = set; then
1760   enableval="$enable_maintainer_mode"
1761   USE_MAINTAINER_MODE=$enableval
1762 else
1763   USE_MAINTAINER_MODE=no
1764 fi;
1765   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1766 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1767 
1768 
1769 if test $USE_MAINTAINER_MODE = yes; then
1770   MAINTAINER_MODE_TRUE=
1771   MAINTAINER_MODE_FALSE='#'
1772 else
1773   MAINTAINER_MODE_TRUE='#'
1774   MAINTAINER_MODE_FALSE=
1775 fi
1776 
1777   MAINT=$MAINTAINER_MODE_TRUE
1778 
1779 
1780 # Make sure we can run config.sub.
1781 $ac_config_sub sun4 >/dev/null 2>&1 ||
1782   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1783 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1784    { (exit 1); exit 1; }; }
1785 
1786 echo "$as_me:$LINENO: checking build system type" >&5
1787 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1788 if test "${ac_cv_build+set}" = set; then
1789   echo $ECHO_N "(cached) $ECHO_C" >&6
1790 else
1791   ac_cv_build_alias=$build_alias
1792 test -z "$ac_cv_build_alias" &&
1793   ac_cv_build_alias=`$ac_config_guess`
1794 test -z "$ac_cv_build_alias" &&
1795   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1796 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1797    { (exit 1); exit 1; }; }
1798 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1799   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1800 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1801    { (exit 1); exit 1; }; }
1802 
1803 fi
1804 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1805 echo "${ECHO_T}$ac_cv_build" >&6
1806 build=$ac_cv_build
1807 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1808 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1809 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1810 
1811 
1812 echo "$as_me:$LINENO: checking host system type" >&5
1813 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1814 if test "${ac_cv_host+set}" = set; then
1815   echo $ECHO_N "(cached) $ECHO_C" >&6
1816 else
1817   ac_cv_host_alias=$host_alias
1818 test -z "$ac_cv_host_alias" &&
1819   ac_cv_host_alias=$ac_cv_build_alias
1820 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1821   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1822 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1823    { (exit 1); exit 1; }; }
1824 
1825 fi
1826 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1827 echo "${ECHO_T}$ac_cv_host" >&6
1828 host=$ac_cv_host
1829 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1830 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1831 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1832 
1833 
1834 
1835 echo "$as_me:$LINENO: checking for supported operating system" >&5
1836 echo $ECHO_N "checking for supported operating system... $ECHO_C" >&6
1837 case "$host_os" in
1838 linux*)
1839 	opsys=linux
1840 
1841 cat >>confdefs.h <<\_ACEOF
1842 #define LINUX 1
1843 _ACEOF
1844 
1845 	;;
1846 sunos4*)
1847 	opsys=sunos4
1848 
1849 cat >>confdefs.h <<\_ACEOF
1850 #define SUNOS4 1
1851 _ACEOF
1852 
1853 	;;
1854 solaris2* | sysv[45]* | irix[56]*)
1855 	opsys=svr4
1856 
1857 cat >>confdefs.h <<\_ACEOF
1858 #define SVR4 1
1859 _ACEOF
1860 
1861 	case "$host_os" in
1862 	sysv4.2uw*)
1863 
1864 cat >>confdefs.h <<\_ACEOF
1865 #define UNIXWARE 2
1866 _ACEOF
1867 
1868 		;;
1869 	sysv5*)
1870 
1871 cat >>confdefs.h <<\_ACEOF
1872 #define UNIXWARE 7
1873 _ACEOF
1874 
1875 		;;
1876 	esac
1877 	;;
1878 freebsd*)
1879 	opsys=freebsd
1880 
1881 cat >>confdefs.h <<\_ACEOF
1882 #define FREEBSD 1
1883 _ACEOF
1884 
1885 	;;
1886 *)
1887 	echo "$as_me:$LINENO: result: NO!" >&5
1888 echo "${ECHO_T}NO!" >&6
1889 	{ { echo "$as_me:$LINENO: error: operating system $host_os is not supported by strace" >&5
1890 echo "$as_me: error: operating system $host_os is not supported by strace" >&2;}
1891    { (exit 1); exit 1; }; }
1892 	;;
1893 esac
1894 echo "$as_me:$LINENO: result: $opsys" >&5
1895 echo "${ECHO_T}$opsys" >&6
1896 
1897 echo "$as_me:$LINENO: checking for supported architecture" >&5
1898 echo $ECHO_N "checking for supported architecture... $ECHO_C" >&6
1899 case "$host_cpu" in
1900 i[3456]86|pentium)
1901 	arch=i386
1902 
1903 cat >>confdefs.h <<\_ACEOF
1904 #define I386 1
1905 _ACEOF
1906 
1907 	;;
1908 ia64)
1909 	arch=ia64
1910 
1911 cat >>confdefs.h <<\_ACEOF
1912 #define IA64 1
1913 _ACEOF
1914 
1915 	;;
1916 m68k)
1917 	arch=m68k
1918 
1919 cat >>confdefs.h <<\_ACEOF
1920 #define M68K 1
1921 _ACEOF
1922 
1923 	;;
1924 sparc64*)
1925 	arch=sparc64
1926 
1927 cat >>confdefs.h <<\_ACEOF
1928 #define SPARC64 1
1929 _ACEOF
1930 
1931 	;;
1932 sparc*)
1933 	arch=sparc
1934 
1935 cat >>confdefs.h <<\_ACEOF
1936 #define SPARC 1
1937 _ACEOF
1938 
1939 	;;
1940 mips*)
1941 	arch=mips
1942 
1943 cat >>confdefs.h <<\_ACEOF
1944 #define MIPS 1
1945 _ACEOF
1946 
1947 	;;
1948 alpha*)
1949 	arch=alpha
1950 
1951 cat >>confdefs.h <<\_ACEOF
1952 #define ALPHA 1
1953 _ACEOF
1954 
1955 	;;
1956 powerpc*)
1957 	arch=powerpc
1958 
1959 cat >>confdefs.h <<\_ACEOF
1960 #define POWERPC 1
1961 _ACEOF
1962 
1963 	;;
1964 arm*)
1965 	arch=arm
1966 
1967 cat >>confdefs.h <<\_ACEOF
1968 #define ARM 1
1969 _ACEOF
1970 
1971 	;;
1972 s390)
1973 	arch=s390
1974 
1975 cat >>confdefs.h <<\_ACEOF
1976 #define S390 1
1977 _ACEOF
1978 
1979 	;;
1980 s390x)
1981 	arch=s390x
1982 
1983 cat >>confdefs.h <<\_ACEOF
1984 #define S390X 1
1985 _ACEOF
1986 
1987 	;;
1988 hppa*|parisc*)
1989 	arch=hppa
1990 
1991 cat >>confdefs.h <<\_ACEOF
1992 #define HPPA 1
1993 _ACEOF
1994 
1995 	;;
1996 sh)
1997 	arch=sh
1998 
1999 cat >>confdefs.h <<\_ACEOF
2000 #define SH 1
2001 _ACEOF
2002 
2003 	;;
2004 sh64)
2005 	arch=sh64
2006 
2007 cat >>confdefs.h <<\_ACEOF
2008 #define SH64 1
2009 _ACEOF
2010 
2011 	;;
2012 x86?64*)
2013 	arch=x86_64
2014 
2015 cat >>confdefs.h <<\_ACEOF
2016 #define X86_64 1
2017 _ACEOF
2018 
2019 	;;
2020 *)
2021 	echo "$as_me:$LINENO: result: NO!" >&5
2022 echo "${ECHO_T}NO!" >&6
2023 	{ { echo "$as_me:$LINENO: error: architecture $host_cpu is not supported by strace" >&5
2024 echo "$as_me: error: architecture $host_cpu is not supported by strace" >&2;}
2025    { (exit 1); exit 1; }; }
2026 	;;
2027 esac
2028 echo "$as_me:$LINENO: result: $arch" >&5
2029 echo "${ECHO_T}$arch" >&6
2030 
2031 
2032 
2033 
2034 
2035 
2036 if test x$opsys = xlinux; then
2037   LINUX_TRUE=
2038   LINUX_FALSE='#'
2039 else
2040   LINUX_TRUE='#'
2041   LINUX_FALSE=
2042 fi
2043 
2044 
2045 
2046 if test x$arch = xi386; then
2047   I386_TRUE=
2048   I386_FALSE='#'
2049 else
2050   I386_TRUE='#'
2051   I386_FALSE=
2052 fi
2053 
2054 
2055 
2056 if test x$arch = xx86_64; then
2057   X86_64_TRUE=
2058   X86_64_FALSE='#'
2059 else
2060   X86_64_TRUE='#'
2061   X86_64_FALSE=
2062 fi
2063 
2064 
2065 
2066 if test x$opsys = xsunos4; then
2067   SUNOS4_TRUE=
2068   SUNOS4_FALSE='#'
2069 else
2070   SUNOS4_TRUE='#'
2071   SUNOS4_FALSE=
2072 fi
2073 
2074 
2075 
2076 if test x$opsys = xsvr4; then
2077   SVR4_TRUE=
2078   SVR4_FALSE='#'
2079 else
2080   SVR4_TRUE='#'
2081   SVR4_FALSE=
2082 fi
2083 
2084 
2085 
2086 if test x$opsys = xfreebsd; then
2087   FREEBSD_TRUE=
2088   FREEBSD_FALSE='#'
2089 else
2090   FREEBSD_TRUE='#'
2091   FREEBSD_FALSE=
2092 fi
2093 
2094 
2095 ac_ext=c
2096 ac_cpp='$CPP $CPPFLAGS'
2097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2100 if test -n "$ac_tool_prefix"; then
2101   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2102 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2103 echo "$as_me:$LINENO: checking for $ac_word" >&5
2104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2105 if test "${ac_cv_prog_CC+set}" = set; then
2106   echo $ECHO_N "(cached) $ECHO_C" >&6
2107 else
2108   if test -n "$CC"; then
2109   ac_cv_prog_CC="$CC" # Let the user override the test.
2110 else
2111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2112 for as_dir in $PATH
2113 do
2114   IFS=$as_save_IFS
2115   test -z "$as_dir" && as_dir=.
2116   for ac_exec_ext in '' $ac_executable_extensions; do
2117   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2118     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2119     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2120     break 2
2121   fi
2122 done
2123 done
2124 
2125 fi
2126 fi
2127 CC=$ac_cv_prog_CC
2128 if test -n "$CC"; then
2129   echo "$as_me:$LINENO: result: $CC" >&5
2130 echo "${ECHO_T}$CC" >&6
2131 else
2132   echo "$as_me:$LINENO: result: no" >&5
2133 echo "${ECHO_T}no" >&6
2134 fi
2135 
2136 fi
2137 if test -z "$ac_cv_prog_CC"; then
2138   ac_ct_CC=$CC
2139   # Extract the first word of "gcc", so it can be a program name with args.
2140 set dummy gcc; ac_word=$2
2141 echo "$as_me:$LINENO: checking for $ac_word" >&5
2142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2143 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2144   echo $ECHO_N "(cached) $ECHO_C" >&6
2145 else
2146   if test -n "$ac_ct_CC"; then
2147   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2148 else
2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150 for as_dir in $PATH
2151 do
2152   IFS=$as_save_IFS
2153   test -z "$as_dir" && as_dir=.
2154   for ac_exec_ext in '' $ac_executable_extensions; do
2155   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2156     ac_cv_prog_ac_ct_CC="gcc"
2157     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2158     break 2
2159   fi
2160 done
2161 done
2162 
2163 fi
2164 fi
2165 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2166 if test -n "$ac_ct_CC"; then
2167   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2168 echo "${ECHO_T}$ac_ct_CC" >&6
2169 else
2170   echo "$as_me:$LINENO: result: no" >&5
2171 echo "${ECHO_T}no" >&6
2172 fi
2173 
2174   CC=$ac_ct_CC
2175 else
2176   CC="$ac_cv_prog_CC"
2177 fi
2178 
2179 if test -z "$CC"; then
2180   if test -n "$ac_tool_prefix"; then
2181   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2182 set dummy ${ac_tool_prefix}cc; ac_word=$2
2183 echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2185 if test "${ac_cv_prog_CC+set}" = set; then
2186   echo $ECHO_N "(cached) $ECHO_C" >&6
2187 else
2188   if test -n "$CC"; then
2189   ac_cv_prog_CC="$CC" # Let the user override the test.
2190 else
2191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2192 for as_dir in $PATH
2193 do
2194   IFS=$as_save_IFS
2195   test -z "$as_dir" && as_dir=.
2196   for ac_exec_ext in '' $ac_executable_extensions; do
2197   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2198     ac_cv_prog_CC="${ac_tool_prefix}cc"
2199     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2200     break 2
2201   fi
2202 done
2203 done
2204 
2205 fi
2206 fi
2207 CC=$ac_cv_prog_CC
2208 if test -n "$CC"; then
2209   echo "$as_me:$LINENO: result: $CC" >&5
2210 echo "${ECHO_T}$CC" >&6
2211 else
2212   echo "$as_me:$LINENO: result: no" >&5
2213 echo "${ECHO_T}no" >&6
2214 fi
2215 
2216 fi
2217 if test -z "$ac_cv_prog_CC"; then
2218   ac_ct_CC=$CC
2219   # Extract the first word of "cc", so it can be a program name with args.
2220 set dummy cc; ac_word=$2
2221 echo "$as_me:$LINENO: checking for $ac_word" >&5
2222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2223 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2224   echo $ECHO_N "(cached) $ECHO_C" >&6
2225 else
2226   if test -n "$ac_ct_CC"; then
2227   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2228 else
2229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2230 for as_dir in $PATH
2231 do
2232   IFS=$as_save_IFS
2233   test -z "$as_dir" && as_dir=.
2234   for ac_exec_ext in '' $ac_executable_extensions; do
2235   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2236     ac_cv_prog_ac_ct_CC="cc"
2237     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238     break 2
2239   fi
2240 done
2241 done
2242 
2243 fi
2244 fi
2245 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2246 if test -n "$ac_ct_CC"; then
2247   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2248 echo "${ECHO_T}$ac_ct_CC" >&6
2249 else
2250   echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6
2252 fi
2253 
2254   CC=$ac_ct_CC
2255 else
2256   CC="$ac_cv_prog_CC"
2257 fi
2258 
2259 fi
2260 if test -z "$CC"; then
2261   # Extract the first word of "cc", so it can be a program name with args.
2262 set dummy cc; ac_word=$2
2263 echo "$as_me:$LINENO: checking for $ac_word" >&5
2264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2265 if test "${ac_cv_prog_CC+set}" = set; then
2266   echo $ECHO_N "(cached) $ECHO_C" >&6
2267 else
2268   if test -n "$CC"; then
2269   ac_cv_prog_CC="$CC" # Let the user override the test.
2270 else
2271   ac_prog_rejected=no
2272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273 for as_dir in $PATH
2274 do
2275   IFS=$as_save_IFS
2276   test -z "$as_dir" && as_dir=.
2277   for ac_exec_ext in '' $ac_executable_extensions; do
2278   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2279     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2280        ac_prog_rejected=yes
2281        continue
2282      fi
2283     ac_cv_prog_CC="cc"
2284     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2285     break 2
2286   fi
2287 done
2288 done
2289 
2290 if test $ac_prog_rejected = yes; then
2291   # We found a bogon in the path, so make sure we never use it.
2292   set dummy $ac_cv_prog_CC
2293   shift
2294   if test $# != 0; then
2295     # We chose a different compiler from the bogus one.
2296     # However, it has the same basename, so the bogon will be chosen
2297     # first if we set CC to just the basename; use the full file name.
2298     shift
2299     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2300   fi
2301 fi
2302 fi
2303 fi
2304 CC=$ac_cv_prog_CC
2305 if test -n "$CC"; then
2306   echo "$as_me:$LINENO: result: $CC" >&5
2307 echo "${ECHO_T}$CC" >&6
2308 else
2309   echo "$as_me:$LINENO: result: no" >&5
2310 echo "${ECHO_T}no" >&6
2311 fi
2312 
2313 fi
2314 if test -z "$CC"; then
2315   if test -n "$ac_tool_prefix"; then
2316   for ac_prog in cl
2317   do
2318     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2319 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2320 echo "$as_me:$LINENO: checking for $ac_word" >&5
2321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2322 if test "${ac_cv_prog_CC+set}" = set; then
2323   echo $ECHO_N "(cached) $ECHO_C" >&6
2324 else
2325   if test -n "$CC"; then
2326   ac_cv_prog_CC="$CC" # Let the user override the test.
2327 else
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 for as_dir in $PATH
2330 do
2331   IFS=$as_save_IFS
2332   test -z "$as_dir" && as_dir=.
2333   for ac_exec_ext in '' $ac_executable_extensions; do
2334   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2335     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2336     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2337     break 2
2338   fi
2339 done
2340 done
2341 
2342 fi
2343 fi
2344 CC=$ac_cv_prog_CC
2345 if test -n "$CC"; then
2346   echo "$as_me:$LINENO: result: $CC" >&5
2347 echo "${ECHO_T}$CC" >&6
2348 else
2349   echo "$as_me:$LINENO: result: no" >&5
2350 echo "${ECHO_T}no" >&6
2351 fi
2352 
2353     test -n "$CC" && break
2354   done
2355 fi
2356 if test -z "$CC"; then
2357   ac_ct_CC=$CC
2358   for ac_prog in cl
2359 do
2360   # Extract the first word of "$ac_prog", so it can be a program name with args.
2361 set dummy $ac_prog; ac_word=$2
2362 echo "$as_me:$LINENO: checking for $ac_word" >&5
2363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2364 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2365   echo $ECHO_N "(cached) $ECHO_C" >&6
2366 else
2367   if test -n "$ac_ct_CC"; then
2368   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2369 else
2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 for as_dir in $PATH
2372 do
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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2377     ac_cv_prog_ac_ct_CC="$ac_prog"
2378     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379     break 2
2380   fi
2381 done
2382 done
2383 
2384 fi
2385 fi
2386 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2387 if test -n "$ac_ct_CC"; then
2388   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2389 echo "${ECHO_T}$ac_ct_CC" >&6
2390 else
2391   echo "$as_me:$LINENO: result: no" >&5
2392 echo "${ECHO_T}no" >&6
2393 fi
2394 
2395   test -n "$ac_ct_CC" && break
2396 done
2397 
2398   CC=$ac_ct_CC
2399 fi
2400 
2401 fi
2402 
2403 
2404 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2405 See \`config.log' for more details." >&5
2406 echo "$as_me: error: no acceptable C compiler found in \$PATH
2407 See \`config.log' for more details." >&2;}
2408    { (exit 1); exit 1; }; }
2409 
2410 # Provide some information about the compiler.
2411 echo "$as_me:$LINENO:" \
2412      "checking for C compiler version" >&5
2413 ac_compiler=`set X $ac_compile; echo $2`
2414 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2415   (eval $ac_compiler --version </dev/null >&5) 2>&5
2416   ac_status=$?
2417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418   (exit $ac_status); }
2419 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2420   (eval $ac_compiler -v </dev/null >&5) 2>&5
2421   ac_status=$?
2422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423   (exit $ac_status); }
2424 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2425   (eval $ac_compiler -V </dev/null >&5) 2>&5
2426   ac_status=$?
2427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428   (exit $ac_status); }
2429 
2430 cat >conftest.$ac_ext <<_ACEOF
2431 /* confdefs.h.  */
2432 _ACEOF
2433 cat confdefs.h >>conftest.$ac_ext
2434 cat >>conftest.$ac_ext <<_ACEOF
2435 /* end confdefs.h.  */
2436 
2437 int
2438 main ()
2439 {
2440 
2441   ;
2442   return 0;
2443 }
2444 _ACEOF
2445 ac_clean_files_save=$ac_clean_files
2446 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2447 # Try to create an executable without -o first, disregard a.out.
2448 # It will help us diagnose broken compilers, and finding out an intuition
2449 # of exeext.
2450 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2451 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2452 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2453 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2454   (eval $ac_link_default) 2>&5
2455   ac_status=$?
2456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457   (exit $ac_status); }; then
2458   # Find the output, starting from the most likely.  This scheme is
2459 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2460 # resort.
2461 
2462 # Be careful to initialize this variable, since it used to be cached.
2463 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2464 ac_cv_exeext=
2465 # b.out is created by i960 compilers.
2466 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2467 do
2468   test -f "$ac_file" || continue
2469   case $ac_file in
2470     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2471 	;;
2472     conftest.$ac_ext )
2473 	# This is the source file.
2474 	;;
2475     [ab].out )
2476 	# We found the default executable, but exeext='' is most
2477 	# certainly right.
2478 	break;;
2479     *.* )
2480 	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2481 	# FIXME: I believe we export ac_cv_exeext for Libtool,
2482 	# but it would be cool to find out if it's true.  Does anybody
2483 	# maintain Libtool? --akim.
2484 	export ac_cv_exeext
2485 	break;;
2486     * )
2487 	break;;
2488   esac
2489 done
2490 else
2491   echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.$ac_ext >&5
2493 
2494 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2495 See \`config.log' for more details." >&5
2496 echo "$as_me: error: C compiler cannot create executables
2497 See \`config.log' for more details." >&2;}
2498    { (exit 77); exit 77; }; }
2499 fi
2500 
2501 ac_exeext=$ac_cv_exeext
2502 echo "$as_me:$LINENO: result: $ac_file" >&5
2503 echo "${ECHO_T}$ac_file" >&6
2504 
2505 # Check the compiler produces executables we can run.  If not, either
2506 # the compiler is broken, or we cross compile.
2507 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2508 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2509 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2510 # If not cross compiling, check that we can run a simple program.
2511 if test "$cross_compiling" != yes; then
2512   if { ac_try='./$ac_file'
2513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2514   (eval $ac_try) 2>&5
2515   ac_status=$?
2516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517   (exit $ac_status); }; }; then
2518     cross_compiling=no
2519   else
2520     if test "$cross_compiling" = maybe; then
2521 	cross_compiling=yes
2522     else
2523 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2524 If you meant to cross compile, use \`--host'.
2525 See \`config.log' for more details." >&5
2526 echo "$as_me: error: cannot run C compiled programs.
2527 If you meant to cross compile, use \`--host'.
2528 See \`config.log' for more details." >&2;}
2529    { (exit 1); exit 1; }; }
2530     fi
2531   fi
2532 fi
2533 echo "$as_me:$LINENO: result: yes" >&5
2534 echo "${ECHO_T}yes" >&6
2535 
2536 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2537 ac_clean_files=$ac_clean_files_save
2538 # Check the compiler produces executables we can run.  If not, either
2539 # the compiler is broken, or we cross compile.
2540 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2541 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2542 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2543 echo "${ECHO_T}$cross_compiling" >&6
2544 
2545 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2546 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2548   (eval $ac_link) 2>&5
2549   ac_status=$?
2550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551   (exit $ac_status); }; then
2552   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2553 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2554 # work properly (i.e., refer to `conftest.exe'), while it won't with
2555 # `rm'.
2556 for ac_file in conftest.exe conftest conftest.*; do
2557   test -f "$ac_file" || continue
2558   case $ac_file in
2559     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2560     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2561 	  export ac_cv_exeext
2562 	  break;;
2563     * ) break;;
2564   esac
2565 done
2566 else
2567   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2568 See \`config.log' for more details." >&5
2569 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2570 See \`config.log' for more details." >&2;}
2571    { (exit 1); exit 1; }; }
2572 fi
2573 
2574 rm -f conftest$ac_cv_exeext
2575 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2576 echo "${ECHO_T}$ac_cv_exeext" >&6
2577 
2578 rm -f conftest.$ac_ext
2579 EXEEXT=$ac_cv_exeext
2580 ac_exeext=$EXEEXT
2581 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2582 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2583 if test "${ac_cv_objext+set}" = set; then
2584   echo $ECHO_N "(cached) $ECHO_C" >&6
2585 else
2586   cat >conftest.$ac_ext <<_ACEOF
2587 /* confdefs.h.  */
2588 _ACEOF
2589 cat confdefs.h >>conftest.$ac_ext
2590 cat >>conftest.$ac_ext <<_ACEOF
2591 /* end confdefs.h.  */
2592 
2593 int
2594 main ()
2595 {
2596 
2597   ;
2598   return 0;
2599 }
2600 _ACEOF
2601 rm -f conftest.o conftest.obj
2602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2603   (eval $ac_compile) 2>&5
2604   ac_status=$?
2605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606   (exit $ac_status); }; then
2607   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2608   case $ac_file in
2609     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2610     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2611        break;;
2612   esac
2613 done
2614 else
2615   echo "$as_me: failed program was:" >&5
2616 sed 's/^/| /' conftest.$ac_ext >&5
2617 
2618 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2619 See \`config.log' for more details." >&5
2620 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2621 See \`config.log' for more details." >&2;}
2622    { (exit 1); exit 1; }; }
2623 fi
2624 
2625 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2626 fi
2627 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2628 echo "${ECHO_T}$ac_cv_objext" >&6
2629 OBJEXT=$ac_cv_objext
2630 ac_objext=$OBJEXT
2631 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2632 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2633 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2634   echo $ECHO_N "(cached) $ECHO_C" >&6
2635 else
2636   cat >conftest.$ac_ext <<_ACEOF
2637 /* confdefs.h.  */
2638 _ACEOF
2639 cat confdefs.h >>conftest.$ac_ext
2640 cat >>conftest.$ac_ext <<_ACEOF
2641 /* end confdefs.h.  */
2642 
2643 int
2644 main ()
2645 {
2646 #ifndef __GNUC__
2647        choke me
2648 #endif
2649 
2650   ;
2651   return 0;
2652 }
2653 _ACEOF
2654 rm -f conftest.$ac_objext
2655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656   (eval $ac_compile) 2>conftest.er1
2657   ac_status=$?
2658   grep -v '^ *+' conftest.er1 >conftest.err
2659   rm -f conftest.er1
2660   cat conftest.err >&5
2661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662   (exit $ac_status); } &&
2663 	 { ac_try='test -z "$ac_c_werror_flag"
2664 			 || test ! -s conftest.err'
2665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666   (eval $ac_try) 2>&5
2667   ac_status=$?
2668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669   (exit $ac_status); }; } &&
2670 	 { ac_try='test -s conftest.$ac_objext'
2671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2672   (eval $ac_try) 2>&5
2673   ac_status=$?
2674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675   (exit $ac_status); }; }; then
2676   ac_compiler_gnu=yes
2677 else
2678   echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.$ac_ext >&5
2680 
2681 ac_compiler_gnu=no
2682 fi
2683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2684 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2685 
2686 fi
2687 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2688 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2689 GCC=`test $ac_compiler_gnu = yes && echo yes`
2690 ac_test_CFLAGS=${CFLAGS+set}
2691 ac_save_CFLAGS=$CFLAGS
2692 CFLAGS="-g"
2693 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2694 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2695 if test "${ac_cv_prog_cc_g+set}" = set; then
2696   echo $ECHO_N "(cached) $ECHO_C" >&6
2697 else
2698   cat >conftest.$ac_ext <<_ACEOF
2699 /* confdefs.h.  */
2700 _ACEOF
2701 cat confdefs.h >>conftest.$ac_ext
2702 cat >>conftest.$ac_ext <<_ACEOF
2703 /* end confdefs.h.  */
2704 
2705 int
2706 main ()
2707 {
2708 
2709   ;
2710   return 0;
2711 }
2712 _ACEOF
2713 rm -f conftest.$ac_objext
2714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2715   (eval $ac_compile) 2>conftest.er1
2716   ac_status=$?
2717   grep -v '^ *+' conftest.er1 >conftest.err
2718   rm -f conftest.er1
2719   cat conftest.err >&5
2720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721   (exit $ac_status); } &&
2722 	 { ac_try='test -z "$ac_c_werror_flag"
2723 			 || test ! -s conftest.err'
2724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725   (eval $ac_try) 2>&5
2726   ac_status=$?
2727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728   (exit $ac_status); }; } &&
2729 	 { ac_try='test -s conftest.$ac_objext'
2730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2731   (eval $ac_try) 2>&5
2732   ac_status=$?
2733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734   (exit $ac_status); }; }; then
2735   ac_cv_prog_cc_g=yes
2736 else
2737   echo "$as_me: failed program was:" >&5
2738 sed 's/^/| /' conftest.$ac_ext >&5
2739 
2740 ac_cv_prog_cc_g=no
2741 fi
2742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2743 fi
2744 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2745 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2746 if test "$ac_test_CFLAGS" = set; then
2747   CFLAGS=$ac_save_CFLAGS
2748 elif test $ac_cv_prog_cc_g = yes; then
2749   if test "$GCC" = yes; then
2750     CFLAGS="-g -O2"
2751   else
2752     CFLAGS="-g"
2753   fi
2754 else
2755   if test "$GCC" = yes; then
2756     CFLAGS="-O2"
2757   else
2758     CFLAGS=
2759   fi
2760 fi
2761 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2762 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2763 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2764   echo $ECHO_N "(cached) $ECHO_C" >&6
2765 else
2766   ac_cv_prog_cc_stdc=no
2767 ac_save_CC=$CC
2768 cat >conftest.$ac_ext <<_ACEOF
2769 /* confdefs.h.  */
2770 _ACEOF
2771 cat confdefs.h >>conftest.$ac_ext
2772 cat >>conftest.$ac_ext <<_ACEOF
2773 /* end confdefs.h.  */
2774 #include <stdarg.h>
2775 #include <stdio.h>
2776 #include <sys/types.h>
2777 #include <sys/stat.h>
2778 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2779 struct buf { int x; };
2780 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2781 static char *e (p, i)
2782      char **p;
2783      int i;
2784 {
2785   return p[i];
2786 }
2787 static char *f (char * (*g) (char **, int), char **p, ...)
2788 {
2789   char *s;
2790   va_list v;
2791   va_start (v,p);
2792   s = g (p, va_arg (v,int));
2793   va_end (v);
2794   return s;
2795 }
2796 
2797 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2798    function prototypes and stuff, but not '\xHH' hex character constants.
2799    These don't provoke an error unfortunately, instead are silently treated
2800    as 'x'.  The following induces an error, until -std1 is added to get
2801    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2802    array size at least.  It's necessary to write '\x00'==0 to get something
2803    that's true only with -std1.  */
2804 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2805 
2806 int test (int i, double x);
2807 struct s1 {int (*f) (int a);};
2808 struct s2 {int (*f) (double a);};
2809 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2810 int argc;
2811 char **argv;
2812 int
2813 main ()
2814 {
2815 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2816   ;
2817   return 0;
2818 }
2819 _ACEOF
2820 # Don't try gcc -ansi; that turns off useful extensions and
2821 # breaks some systems' header files.
2822 # AIX			-qlanglvl=ansi
2823 # Ultrix and OSF/1	-std1
2824 # HP-UX 10.20 and later	-Ae
2825 # HP-UX older versions	-Aa -D_HPUX_SOURCE
2826 # SVR4			-Xc -D__EXTENSIONS__
2827 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2828 do
2829   CC="$ac_save_CC $ac_arg"
2830   rm -f conftest.$ac_objext
2831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2832   (eval $ac_compile) 2>conftest.er1
2833   ac_status=$?
2834   grep -v '^ *+' conftest.er1 >conftest.err
2835   rm -f conftest.er1
2836   cat conftest.err >&5
2837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838   (exit $ac_status); } &&
2839 	 { ac_try='test -z "$ac_c_werror_flag"
2840 			 || test ! -s conftest.err'
2841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842   (eval $ac_try) 2>&5
2843   ac_status=$?
2844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845   (exit $ac_status); }; } &&
2846 	 { ac_try='test -s conftest.$ac_objext'
2847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2848   (eval $ac_try) 2>&5
2849   ac_status=$?
2850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851   (exit $ac_status); }; }; then
2852   ac_cv_prog_cc_stdc=$ac_arg
2853 break
2854 else
2855   echo "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.$ac_ext >&5
2857 
2858 fi
2859 rm -f conftest.err conftest.$ac_objext
2860 done
2861 rm -f conftest.$ac_ext conftest.$ac_objext
2862 CC=$ac_save_CC
2863 
2864 fi
2865 
2866 case "x$ac_cv_prog_cc_stdc" in
2867   x|xno)
2868     echo "$as_me:$LINENO: result: none needed" >&5
2869 echo "${ECHO_T}none needed" >&6 ;;
2870   *)
2871     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2872 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2873     CC="$CC $ac_cv_prog_cc_stdc" ;;
2874 esac
2875 
2876 # Some people use a C++ compiler to compile C.  Since we use `exit',
2877 # in C++ we need to declare it.  In case someone uses the same compiler
2878 # for both compiling C and C++ we need to have the C++ compiler decide
2879 # the declaration of exit, since it's the most demanding environment.
2880 cat >conftest.$ac_ext <<_ACEOF
2881 #ifndef __cplusplus
2882   choke me
2883 #endif
2884 _ACEOF
2885 rm -f conftest.$ac_objext
2886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2887   (eval $ac_compile) 2>conftest.er1
2888   ac_status=$?
2889   grep -v '^ *+' conftest.er1 >conftest.err
2890   rm -f conftest.er1
2891   cat conftest.err >&5
2892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893   (exit $ac_status); } &&
2894 	 { ac_try='test -z "$ac_c_werror_flag"
2895 			 || test ! -s conftest.err'
2896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2897   (eval $ac_try) 2>&5
2898   ac_status=$?
2899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900   (exit $ac_status); }; } &&
2901 	 { ac_try='test -s conftest.$ac_objext'
2902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2903   (eval $ac_try) 2>&5
2904   ac_status=$?
2905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906   (exit $ac_status); }; }; then
2907   for ac_declaration in \
2908    '' \
2909    'extern "C" void std::exit (int) throw (); using std::exit;' \
2910    'extern "C" void std::exit (int); using std::exit;' \
2911    'extern "C" void exit (int) throw ();' \
2912    'extern "C" void exit (int);' \
2913    'void exit (int);'
2914 do
2915   cat >conftest.$ac_ext <<_ACEOF
2916 /* confdefs.h.  */
2917 _ACEOF
2918 cat confdefs.h >>conftest.$ac_ext
2919 cat >>conftest.$ac_ext <<_ACEOF
2920 /* end confdefs.h.  */
2921 $ac_declaration
2922 #include <stdlib.h>
2923 int
2924 main ()
2925 {
2926 exit (42);
2927   ;
2928   return 0;
2929 }
2930 _ACEOF
2931 rm -f conftest.$ac_objext
2932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2933   (eval $ac_compile) 2>conftest.er1
2934   ac_status=$?
2935   grep -v '^ *+' conftest.er1 >conftest.err
2936   rm -f conftest.er1
2937   cat conftest.err >&5
2938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939   (exit $ac_status); } &&
2940 	 { ac_try='test -z "$ac_c_werror_flag"
2941 			 || test ! -s conftest.err'
2942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943   (eval $ac_try) 2>&5
2944   ac_status=$?
2945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946   (exit $ac_status); }; } &&
2947 	 { ac_try='test -s conftest.$ac_objext'
2948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2949   (eval $ac_try) 2>&5
2950   ac_status=$?
2951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952   (exit $ac_status); }; }; then
2953   :
2954 else
2955   echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2957 
2958 continue
2959 fi
2960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2961   cat >conftest.$ac_ext <<_ACEOF
2962 /* confdefs.h.  */
2963 _ACEOF
2964 cat confdefs.h >>conftest.$ac_ext
2965 cat >>conftest.$ac_ext <<_ACEOF
2966 /* end confdefs.h.  */
2967 $ac_declaration
2968 int
2969 main ()
2970 {
2971 exit (42);
2972   ;
2973   return 0;
2974 }
2975 _ACEOF
2976 rm -f conftest.$ac_objext
2977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2978   (eval $ac_compile) 2>conftest.er1
2979   ac_status=$?
2980   grep -v '^ *+' conftest.er1 >conftest.err
2981   rm -f conftest.er1
2982   cat conftest.err >&5
2983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984   (exit $ac_status); } &&
2985 	 { ac_try='test -z "$ac_c_werror_flag"
2986 			 || test ! -s conftest.err'
2987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2988   (eval $ac_try) 2>&5
2989   ac_status=$?
2990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991   (exit $ac_status); }; } &&
2992 	 { ac_try='test -s conftest.$ac_objext'
2993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2994   (eval $ac_try) 2>&5
2995   ac_status=$?
2996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997   (exit $ac_status); }; }; then
2998   break
2999 else
3000   echo "$as_me: failed program was:" >&5
3001 sed 's/^/| /' conftest.$ac_ext >&5
3002 
3003 fi
3004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3005 done
3006 rm -f conftest*
3007 if test -n "$ac_declaration"; then
3008   echo '#ifdef __cplusplus' >>confdefs.h
3009   echo $ac_declaration      >>confdefs.h
3010   echo '#endif'             >>confdefs.h
3011 fi
3012 
3013 else
3014   echo "$as_me: failed program was:" >&5
3015 sed 's/^/| /' conftest.$ac_ext >&5
3016 
3017 fi
3018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3019 ac_ext=c
3020 ac_cpp='$CPP $CPPFLAGS'
3021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3024 DEPDIR="${am__leading_dot}deps"
3025 
3026           ac_config_commands="$ac_config_commands depfiles"
3027 
3028 
3029 am_make=${MAKE-make}
3030 cat > confinc << 'END'
3031 am__doit:
3032 	@echo done
3033 .PHONY: am__doit
3034 END
3035 # If we don't find an include directive, just comment out the code.
3036 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3037 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3038 am__include="#"
3039 am__quote=
3040 _am_result=none
3041 # First try GNU make style include.
3042 echo "include confinc" > confmf
3043 # We grep out `Entering directory' and `Leaving directory'
3044 # messages which can occur if `w' ends up in MAKEFLAGS.
3045 # In particular we don't look at `^make:' because GNU make might
3046 # be invoked under some other name (usually "gmake"), in which
3047 # case it prints its new name instead of `make'.
3048 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3049    am__include=include
3050    am__quote=
3051    _am_result=GNU
3052 fi
3053 # Now try BSD make style include.
3054 if test "$am__include" = "#"; then
3055    echo '.include "confinc"' > confmf
3056    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3057       am__include=.include
3058       am__quote="\""
3059       _am_result=BSD
3060    fi
3061 fi
3062 
3063 
3064 echo "$as_me:$LINENO: result: $_am_result" >&5
3065 echo "${ECHO_T}$_am_result" >&6
3066 rm -f confinc confmf
3067 
3068 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3069 if test "${enable_dependency_tracking+set}" = set; then
3070   enableval="$enable_dependency_tracking"
3071 
3072 fi;
3073 if test "x$enable_dependency_tracking" != xno; then
3074   am_depcomp="$ac_aux_dir/depcomp"
3075   AMDEPBACKSLASH='\'
3076 fi
3077 
3078 
3079 if test "x$enable_dependency_tracking" != xno; then
3080   AMDEP_TRUE=
3081   AMDEP_FALSE='#'
3082 else
3083   AMDEP_TRUE='#'
3084   AMDEP_FALSE=
3085 fi
3086 
3087 
3088 
3089 
3090 depcc="$CC"   am_compiler_list=
3091 
3092 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3093 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3094 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3095   echo $ECHO_N "(cached) $ECHO_C" >&6
3096 else
3097   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3098   # We make a subdir and do the tests there.  Otherwise we can end up
3099   # making bogus files that we don't know about and never remove.  For
3100   # instance it was reported that on HP-UX the gcc test will end up
3101   # making a dummy file named `D' -- because `-MD' means `put the output
3102   # in D'.
3103   mkdir conftest.dir
3104   # Copy depcomp to subdir because otherwise we won't find it if we're
3105   # using a relative directory.
3106   cp "$am_depcomp" conftest.dir
3107   cd conftest.dir
3108   # We will build objects and dependencies in a subdirectory because
3109   # it helps to detect inapplicable dependency modes.  For instance
3110   # both Tru64's cc and ICC support -MD to output dependencies as a
3111   # side effect of compilation, but ICC will put the dependencies in
3112   # the current directory while Tru64 will put them in the object
3113   # directory.
3114   mkdir sub
3115 
3116   am_cv_CC_dependencies_compiler_type=none
3117   if test "$am_compiler_list" = ""; then
3118      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3119   fi
3120   for depmode in $am_compiler_list; do
3121     # Setup a source with many dependencies, because some compilers
3122     # like to wrap large dependency lists on column 80 (with \), and
3123     # we should not choose a depcomp mode which is confused by this.
3124     #
3125     # We need to recreate these files for each test, as the compiler may
3126     # overwrite some of them when testing with obscure command lines.
3127     # This happens at least with the AIX C compiler.
3128     : > sub/conftest.c
3129     for i in 1 2 3 4 5 6; do
3130       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3131       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3132       # Solaris 8's {/usr,}/bin/sh.
3133       touch sub/conftst$i.h
3134     done
3135     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3136 
3137     case $depmode in
3138     nosideeffect)
3139       # after this tag, mechanisms are not by side-effect, so they'll
3140       # only be used when explicitly requested
3141       if test "x$enable_dependency_tracking" = xyes; then
3142 	continue
3143       else
3144 	break
3145       fi
3146       ;;
3147     none) break ;;
3148     esac
3149     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3150     # mode.  It turns out that the SunPro C++ compiler does not properly
3151     # handle `-M -o', and we need to detect this.
3152     if depmode=$depmode \
3153        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3154        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3155        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3156          >/dev/null 2>conftest.err &&
3157        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3158        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3159        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3160       # icc doesn't choke on unknown options, it will just issue warnings
3161       # or remarks (even with -Werror).  So we grep stderr for any message
3162       # that says an option was ignored or not supported.
3163       # When given -MP, icc 7.0 and 7.1 complain thusly:
3164       #   icc: Command line warning: ignoring option '-M'; no argument required
3165       # The diagnosis changed in icc 8.0:
3166       #   icc: Command line remark: option '-MP' not supported
3167       if (grep 'ignoring option' conftest.err ||
3168           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3169         am_cv_CC_dependencies_compiler_type=$depmode
3170         break
3171       fi
3172     fi
3173   done
3174 
3175   cd ..
3176   rm -rf conftest.dir
3177 else
3178   am_cv_CC_dependencies_compiler_type=none
3179 fi
3180 
3181 fi
3182 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3183 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3184 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3185 
3186 
3187 
3188 if
3189   test "x$enable_dependency_tracking" != xno \
3190   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3191   am__fastdepCC_TRUE=
3192   am__fastdepCC_FALSE='#'
3193 else
3194   am__fastdepCC_TRUE='#'
3195   am__fastdepCC_FALSE=
3196 fi
3197 
3198 
3199 
3200 cat >>confdefs.h <<\_ACEOF
3201 #define _GNU_SOURCE 1
3202 _ACEOF
3203 
3204 
3205 
3206 
3207 echo "$as_me:$LINENO: checking for primary include directory" >&5
3208 echo $ECHO_N "checking for primary include directory... $ECHO_C" >&6
3209 includedir=/usr/include
3210 if test -n "$GCC"
3211 then
3212 	>conftest.c
3213 	new_includedir=`
3214 		$CC -v -E conftest.c 2>&1 | $AWK '
3215 			/^End of search list/ { print last; exit }
3216 			{ last = $1 }
3217 		'
3218 	`
3219 	rm -f conftest.c
3220 	if test -n "$new_includedir" && test -d "$new_includedir"
3221 	then
3222 		includedir=$new_includedir
3223 	fi
3224 fi
3225 echo "$as_me:$LINENO: result: $includedir" >&5
3226 echo "${ECHO_T}$includedir" >&6
3227 
3228 
3229 if test "x$opsys" = "xsunos4" && test "x$arch" = "xsparc"
3230 then
3231 	echo "$as_me:$LINENO: checking for valid machine include directory" >&5
3232 echo $ECHO_N "checking for valid machine include directory... $ECHO_C" >&6
3233 	if test -d "$includedir/sun4"
3234 	then
3235 		rm -f machine
3236 		ln -s $includedir/sun4 machine
3237 		echo "$as_me:$LINENO: result: yes" >&5
3238 echo "${ECHO_T}yes" >&6
3239 
3240 cat >>confdefs.h <<\_ACEOF
3241 #define SUNOS4_KERNEL_ARCH_KLUDGE 1
3242 _ACEOF
3243 
3244 	else
3245 		echo "$as_me:$LINENO: result: no" >&5
3246 echo "${ECHO_T}no" >&6
3247 	fi
3248 fi
3249 
3250 
3251 if test -z "$WARNFLAGS"
3252 then
3253 	if test -n "$GCC"
3254 	then
3255 		# If we're using gcc we want warning flags.
3256 		WARNFLAGS=-Wall
3257 	fi
3258 fi
3259 
3260 if test "x$opsys" = "xsunos4"
3261 then
3262 	if test -n "$GCC"
3263 	then
3264 		# SunOS 4.x header files don't declare int functions.
3265 		WARNFLAGS="$WARNFLAGS -Wno-implicit"
3266 	fi
3267 fi
3268 
3269 ac_ext=c
3270 ac_cpp='$CPP $CPPFLAGS'
3271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3274 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3275 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3276 # On Suns, sometimes $CPP names a directory.
3277 if test -n "$CPP" && test -d "$CPP"; then
3278   CPP=
3279 fi
3280 if test -z "$CPP"; then
3281   if test "${ac_cv_prog_CPP+set}" = set; then
3282   echo $ECHO_N "(cached) $ECHO_C" >&6
3283 else
3284       # Double quotes because CPP needs to be expanded
3285     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3286     do
3287       ac_preproc_ok=false
3288 for ac_c_preproc_warn_flag in '' yes
3289 do
3290   # Use a header file that comes with gcc, so configuring glibc
3291   # with a fresh cross-compiler works.
3292   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3293   # <limits.h> exists even on freestanding compilers.
3294   # On the NeXT, cc -E runs the code through the compiler's parser,
3295   # not just through cpp. "Syntax error" is here to catch this case.
3296   cat >conftest.$ac_ext <<_ACEOF
3297 /* confdefs.h.  */
3298 _ACEOF
3299 cat confdefs.h >>conftest.$ac_ext
3300 cat >>conftest.$ac_ext <<_ACEOF
3301 /* end confdefs.h.  */
3302 #ifdef __STDC__
3303 # include <limits.h>
3304 #else
3305 # include <assert.h>
3306 #endif
3307 		     Syntax error
3308 _ACEOF
3309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3310   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3311   ac_status=$?
3312   grep -v '^ *+' conftest.er1 >conftest.err
3313   rm -f conftest.er1
3314   cat conftest.err >&5
3315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316   (exit $ac_status); } >/dev/null; then
3317   if test -s conftest.err; then
3318     ac_cpp_err=$ac_c_preproc_warn_flag
3319     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3320   else
3321     ac_cpp_err=
3322   fi
3323 else
3324   ac_cpp_err=yes
3325 fi
3326 if test -z "$ac_cpp_err"; then
3327   :
3328 else
3329   echo "$as_me: failed program was:" >&5
3330 sed 's/^/| /' conftest.$ac_ext >&5
3331 
3332   # Broken: fails on valid input.
3333 continue
3334 fi
3335 rm -f conftest.err conftest.$ac_ext
3336 
3337   # OK, works on sane cases.  Now check whether non-existent headers
3338   # can be detected and how.
3339   cat >conftest.$ac_ext <<_ACEOF
3340 /* confdefs.h.  */
3341 _ACEOF
3342 cat confdefs.h >>conftest.$ac_ext
3343 cat >>conftest.$ac_ext <<_ACEOF
3344 /* end confdefs.h.  */
3345 #include <ac_nonexistent.h>
3346 _ACEOF
3347 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3348   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3349   ac_status=$?
3350   grep -v '^ *+' conftest.er1 >conftest.err
3351   rm -f conftest.er1
3352   cat conftest.err >&5
3353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354   (exit $ac_status); } >/dev/null; then
3355   if test -s conftest.err; then
3356     ac_cpp_err=$ac_c_preproc_warn_flag
3357     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3358   else
3359     ac_cpp_err=
3360   fi
3361 else
3362   ac_cpp_err=yes
3363 fi
3364 if test -z "$ac_cpp_err"; then
3365   # Broken: success on invalid input.
3366 continue
3367 else
3368   echo "$as_me: failed program was:" >&5
3369 sed 's/^/| /' conftest.$ac_ext >&5
3370 
3371   # Passes both tests.
3372 ac_preproc_ok=:
3373 break
3374 fi
3375 rm -f conftest.err conftest.$ac_ext
3376 
3377 done
3378 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3379 rm -f conftest.err conftest.$ac_ext
3380 if $ac_preproc_ok; then
3381   break
3382 fi
3383 
3384     done
3385     ac_cv_prog_CPP=$CPP
3386 
3387 fi
3388   CPP=$ac_cv_prog_CPP
3389 else
3390   ac_cv_prog_CPP=$CPP
3391 fi
3392 echo "$as_me:$LINENO: result: $CPP" >&5
3393 echo "${ECHO_T}$CPP" >&6
3394 ac_preproc_ok=false
3395 for ac_c_preproc_warn_flag in '' yes
3396 do
3397   # Use a header file that comes with gcc, so configuring glibc
3398   # with a fresh cross-compiler works.
3399   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3400   # <limits.h> exists even on freestanding compilers.
3401   # On the NeXT, cc -E runs the code through the compiler's parser,
3402   # not just through cpp. "Syntax error" is here to catch this case.
3403   cat >conftest.$ac_ext <<_ACEOF
3404 /* confdefs.h.  */
3405 _ACEOF
3406 cat confdefs.h >>conftest.$ac_ext
3407 cat >>conftest.$ac_ext <<_ACEOF
3408 /* end confdefs.h.  */
3409 #ifdef __STDC__
3410 # include <limits.h>
3411 #else
3412 # include <assert.h>
3413 #endif
3414 		     Syntax error
3415 _ACEOF
3416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3417   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3418   ac_status=$?
3419   grep -v '^ *+' conftest.er1 >conftest.err
3420   rm -f conftest.er1
3421   cat conftest.err >&5
3422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423   (exit $ac_status); } >/dev/null; then
3424   if test -s conftest.err; then
3425     ac_cpp_err=$ac_c_preproc_warn_flag
3426     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3427   else
3428     ac_cpp_err=
3429   fi
3430 else
3431   ac_cpp_err=yes
3432 fi
3433 if test -z "$ac_cpp_err"; then
3434   :
3435 else
3436   echo "$as_me: failed program was:" >&5
3437 sed 's/^/| /' conftest.$ac_ext >&5
3438 
3439   # Broken: fails on valid input.
3440 continue
3441 fi
3442 rm -f conftest.err conftest.$ac_ext
3443 
3444   # OK, works on sane cases.  Now check whether non-existent headers
3445   # can be detected and how.
3446   cat >conftest.$ac_ext <<_ACEOF
3447 /* confdefs.h.  */
3448 _ACEOF
3449 cat confdefs.h >>conftest.$ac_ext
3450 cat >>conftest.$ac_ext <<_ACEOF
3451 /* end confdefs.h.  */
3452 #include <ac_nonexistent.h>
3453 _ACEOF
3454 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3455   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3456   ac_status=$?
3457   grep -v '^ *+' conftest.er1 >conftest.err
3458   rm -f conftest.er1
3459   cat conftest.err >&5
3460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461   (exit $ac_status); } >/dev/null; then
3462   if test -s conftest.err; then
3463     ac_cpp_err=$ac_c_preproc_warn_flag
3464     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3465   else
3466     ac_cpp_err=
3467   fi
3468 else
3469   ac_cpp_err=yes
3470 fi
3471 if test -z "$ac_cpp_err"; then
3472   # Broken: success on invalid input.
3473 continue
3474 else
3475   echo "$as_me: failed program was:" >&5
3476 sed 's/^/| /' conftest.$ac_ext >&5
3477 
3478   # Passes both tests.
3479 ac_preproc_ok=:
3480 break
3481 fi
3482 rm -f conftest.err conftest.$ac_ext
3483 
3484 done
3485 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3486 rm -f conftest.err conftest.$ac_ext
3487 if $ac_preproc_ok; then
3488   :
3489 else
3490   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3491 See \`config.log' for more details." >&5
3492 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3493 See \`config.log' for more details." >&2;}
3494    { (exit 1); exit 1; }; }
3495 fi
3496 
3497 ac_ext=c
3498 ac_cpp='$CPP $CPPFLAGS'
3499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3502 
3503 
3504 
3505 echo "$as_me:$LINENO: checking for egrep" >&5
3506 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3507 if test "${ac_cv_prog_egrep+set}" = set; then
3508   echo $ECHO_N "(cached) $ECHO_C" >&6
3509 else
3510   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3511     then ac_cv_prog_egrep='grep -E'
3512     else ac_cv_prog_egrep='egrep'
3513     fi
3514 fi
3515 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3516 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3517  EGREP=$ac_cv_prog_egrep
3518 
3519 
3520 if test $ac_cv_c_compiler_gnu = yes; then
3521     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3522 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3523 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3524   echo $ECHO_N "(cached) $ECHO_C" >&6
3525 else
3526     ac_pattern="Autoconf.*'x'"
3527   cat >conftest.$ac_ext <<_ACEOF
3528 /* confdefs.h.  */
3529 _ACEOF
3530 cat confdefs.h >>conftest.$ac_ext
3531 cat >>conftest.$ac_ext <<_ACEOF
3532 /* end confdefs.h.  */
3533 #include <sgtty.h>
3534 Autoconf TIOCGETP
3535 _ACEOF
3536 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3537   $EGREP "$ac_pattern" >/dev/null 2>&1; then
3538   ac_cv_prog_gcc_traditional=yes
3539 else
3540   ac_cv_prog_gcc_traditional=no
3541 fi
3542 rm -f conftest*
3543 
3544 
3545   if test $ac_cv_prog_gcc_traditional = no; then
3546     cat >conftest.$ac_ext <<_ACEOF
3547 /* confdefs.h.  */
3548 _ACEOF
3549 cat confdefs.h >>conftest.$ac_ext
3550 cat >>conftest.$ac_ext <<_ACEOF
3551 /* end confdefs.h.  */
3552 #include <termio.h>
3553 Autoconf TCGETA
3554 _ACEOF
3555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3556   $EGREP "$ac_pattern" >/dev/null 2>&1; then
3557   ac_cv_prog_gcc_traditional=yes
3558 fi
3559 rm -f conftest*
3560 
3561   fi
3562 fi
3563 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3564 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
3565   if test $ac_cv_prog_gcc_traditional = yes; then
3566     CC="$CC -traditional"
3567   fi
3568 fi
3569 
3570 # Find a good install program.  We prefer a C program (faster),
3571 # so one script is as good as another.  But avoid the broken or
3572 # incompatible versions:
3573 # SysV /etc/install, /usr/sbin/install
3574 # SunOS /usr/etc/install
3575 # IRIX /sbin/install
3576 # AIX /bin/install
3577 # AmigaOS /C/install, which installs bootblocks on floppy discs
3578 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3579 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3580 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3581 # OS/2's system install, which has a completely different semantic
3582 # ./install, which can be erroneously created by make from ./install.sh.
3583 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3584 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3585 if test -z "$INSTALL"; then
3586 if test "${ac_cv_path_install+set}" = set; then
3587   echo $ECHO_N "(cached) $ECHO_C" >&6
3588 else
3589   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3590 for as_dir in $PATH
3591 do
3592   IFS=$as_save_IFS
3593   test -z "$as_dir" && as_dir=.
3594   # Account for people who put trailing slashes in PATH elements.
3595 case $as_dir/ in
3596   ./ | .// | /cC/* | \
3597   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3598   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3599   /usr/ucb/* ) ;;
3600   *)
3601     # OSF1 and SCO ODT 3.0 have their own names for install.
3602     # Don't use installbsd from OSF since it installs stuff as root
3603     # by default.
3604     for ac_prog in ginstall scoinst install; do
3605       for ac_exec_ext in '' $ac_executable_extensions; do
3606 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3607 	  if test $ac_prog = install &&
3608 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3609 	    # AIX install.  It has an incompatible calling convention.
3610 	    :
3611 	  elif test $ac_prog = install &&
3612 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3613 	    # program-specific install script used by HP pwplus--don't use.
3614 	    :
3615 	  else
3616 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3617 	    break 3
3618 	  fi
3619 	fi
3620       done
3621     done
3622     ;;
3623 esac
3624 done
3625 
3626 
3627 fi
3628   if test "${ac_cv_path_install+set}" = set; then
3629     INSTALL=$ac_cv_path_install
3630   else
3631     # As a last resort, use the slow shell script.  We don't cache a
3632     # path for INSTALL within a source directory, because that will
3633     # break other packages using the cache if that directory is
3634     # removed, or if the path is relative.
3635     INSTALL=$ac_install_sh
3636   fi
3637 fi
3638 echo "$as_me:$LINENO: result: $INSTALL" >&5
3639 echo "${ECHO_T}$INSTALL" >&6
3640 
3641 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3642 # It thinks the first close brace ends the variable substitution.
3643 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3644 
3645 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3646 
3647 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3648 
3649 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3650 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3651 if test "${ac_cv_c_const+set}" = set; then
3652   echo $ECHO_N "(cached) $ECHO_C" >&6
3653 else
3654   cat >conftest.$ac_ext <<_ACEOF
3655 /* confdefs.h.  */
3656 _ACEOF
3657 cat confdefs.h >>conftest.$ac_ext
3658 cat >>conftest.$ac_ext <<_ACEOF
3659 /* end confdefs.h.  */
3660 
3661 int
3662 main ()
3663 {
3664 /* FIXME: Include the comments suggested by Paul. */
3665 #ifndef __cplusplus
3666   /* Ultrix mips cc rejects this.  */
3667   typedef int charset[2];
3668   const charset x;
3669   /* SunOS 4.1.1 cc rejects this.  */
3670   char const *const *ccp;
3671   char **p;
3672   /* NEC SVR4.0.2 mips cc rejects this.  */
3673   struct point {int x, y;};
3674   static struct point const zero = {0,0};
3675   /* AIX XL C 1.02.0.0 rejects this.
3676      It does not let you subtract one const X* pointer from another in
3677      an arm of an if-expression whose if-part is not a constant
3678      expression */
3679   const char *g = "string";
3680   ccp = &g + (g ? g-g : 0);
3681   /* HPUX 7.0 cc rejects these. */
3682   ++ccp;
3683   p = (char**) ccp;
3684   ccp = (char const *const *) p;
3685   { /* SCO 3.2v4 cc rejects this.  */
3686     char *t;
3687     char const *s = 0 ? (char *) 0 : (char const *) 0;
3688 
3689     *t++ = 0;
3690   }
3691   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
3692     int x[] = {25, 17};
3693     const int *foo = &x[0];
3694     ++foo;
3695   }
3696   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3697     typedef const int *iptr;
3698     iptr p = 0;
3699     ++p;
3700   }
3701   { /* AIX XL C 1.02.0.0 rejects this saying
3702        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3703     struct s { int j; const int *ap[3]; };
3704     struct s *b; b->j = 5;
3705   }
3706   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3707     const int foo = 10;
3708   }
3709 #endif
3710 
3711   ;
3712   return 0;
3713 }
3714 _ACEOF
3715 rm -f conftest.$ac_objext
3716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3717   (eval $ac_compile) 2>conftest.er1
3718   ac_status=$?
3719   grep -v '^ *+' conftest.er1 >conftest.err
3720   rm -f conftest.er1
3721   cat conftest.err >&5
3722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723   (exit $ac_status); } &&
3724 	 { ac_try='test -z "$ac_c_werror_flag"
3725 			 || test ! -s conftest.err'
3726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3727   (eval $ac_try) 2>&5
3728   ac_status=$?
3729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730   (exit $ac_status); }; } &&
3731 	 { ac_try='test -s conftest.$ac_objext'
3732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3733   (eval $ac_try) 2>&5
3734   ac_status=$?
3735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736   (exit $ac_status); }; }; then
3737   ac_cv_c_const=yes
3738 else
3739   echo "$as_me: failed program was:" >&5
3740 sed 's/^/| /' conftest.$ac_ext >&5
3741 
3742 ac_cv_c_const=no
3743 fi
3744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3745 fi
3746 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3747 echo "${ECHO_T}$ac_cv_c_const" >&6
3748 if test $ac_cv_c_const = no; then
3749 
3750 cat >>confdefs.h <<\_ACEOF
3751 #define const
3752 _ACEOF
3753 
3754 fi
3755 
3756 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3757 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3758 if test "${ac_cv_header_stdc+set}" = set; then
3759   echo $ECHO_N "(cached) $ECHO_C" >&6
3760 else
3761   cat >conftest.$ac_ext <<_ACEOF
3762 /* confdefs.h.  */
3763 _ACEOF
3764 cat confdefs.h >>conftest.$ac_ext
3765 cat >>conftest.$ac_ext <<_ACEOF
3766 /* end confdefs.h.  */
3767 #include <stdlib.h>
3768 #include <stdarg.h>
3769 #include <string.h>
3770 #include <float.h>
3771 
3772 int
3773 main ()
3774 {
3775 
3776   ;
3777   return 0;
3778 }
3779 _ACEOF
3780 rm -f conftest.$ac_objext
3781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3782   (eval $ac_compile) 2>conftest.er1
3783   ac_status=$?
3784   grep -v '^ *+' conftest.er1 >conftest.err
3785   rm -f conftest.er1
3786   cat conftest.err >&5
3787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788   (exit $ac_status); } &&
3789 	 { ac_try='test -z "$ac_c_werror_flag"
3790 			 || test ! -s conftest.err'
3791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3792   (eval $ac_try) 2>&5
3793   ac_status=$?
3794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795   (exit $ac_status); }; } &&
3796 	 { ac_try='test -s conftest.$ac_objext'
3797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3798   (eval $ac_try) 2>&5
3799   ac_status=$?
3800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801   (exit $ac_status); }; }; then
3802   ac_cv_header_stdc=yes
3803 else
3804   echo "$as_me: failed program was:" >&5
3805 sed 's/^/| /' conftest.$ac_ext >&5
3806 
3807 ac_cv_header_stdc=no
3808 fi
3809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3810 
3811 if test $ac_cv_header_stdc = yes; then
3812   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3813   cat >conftest.$ac_ext <<_ACEOF
3814 /* confdefs.h.  */
3815 _ACEOF
3816 cat confdefs.h >>conftest.$ac_ext
3817 cat >>conftest.$ac_ext <<_ACEOF
3818 /* end confdefs.h.  */
3819 #include <string.h>
3820 
3821 _ACEOF
3822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3823   $EGREP "memchr" >/dev/null 2>&1; then
3824   :
3825 else
3826   ac_cv_header_stdc=no
3827 fi
3828 rm -f conftest*
3829 
3830 fi
3831 
3832 if test $ac_cv_header_stdc = yes; then
3833   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3834   cat >conftest.$ac_ext <<_ACEOF
3835 /* confdefs.h.  */
3836 _ACEOF
3837 cat confdefs.h >>conftest.$ac_ext
3838 cat >>conftest.$ac_ext <<_ACEOF
3839 /* end confdefs.h.  */
3840 #include <stdlib.h>
3841 
3842 _ACEOF
3843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3844   $EGREP "free" >/dev/null 2>&1; then
3845   :
3846 else
3847   ac_cv_header_stdc=no
3848 fi
3849 rm -f conftest*
3850 
3851 fi
3852 
3853 if test $ac_cv_header_stdc = yes; then
3854   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3855   if test "$cross_compiling" = yes; then
3856   :
3857 else
3858   cat >conftest.$ac_ext <<_ACEOF
3859 /* confdefs.h.  */
3860 _ACEOF
3861 cat confdefs.h >>conftest.$ac_ext
3862 cat >>conftest.$ac_ext <<_ACEOF
3863 /* end confdefs.h.  */
3864 #include <ctype.h>
3865 #if ((' ' & 0x0FF) == 0x020)
3866 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3867 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3868 #else
3869 # define ISLOWER(c) \
3870 		   (('a' <= (c) && (c) <= 'i') \
3871 		     || ('j' <= (c) && (c) <= 'r') \
3872 		     || ('s' <= (c) && (c) <= 'z'))
3873 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3874 #endif
3875 
3876 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3877 int
3878 main ()
3879 {
3880   int i;
3881   for (i = 0; i < 256; i++)
3882     if (XOR (islower (i), ISLOWER (i))
3883 	|| toupper (i) != TOUPPER (i))
3884       exit(2);
3885   exit (0);
3886 }
3887 _ACEOF
3888 rm -f conftest$ac_exeext
3889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3890   (eval $ac_link) 2>&5
3891   ac_status=$?
3892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3895   (eval $ac_try) 2>&5
3896   ac_status=$?
3897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898   (exit $ac_status); }; }; then
3899   :
3900 else
3901   echo "$as_me: program exited with status $ac_status" >&5
3902 echo "$as_me: failed program was:" >&5
3903 sed 's/^/| /' conftest.$ac_ext >&5
3904 
3905 ( exit $ac_status )
3906 ac_cv_header_stdc=no
3907 fi
3908 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3909 fi
3910 fi
3911 fi
3912 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3913 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3914 if test $ac_cv_header_stdc = yes; then
3915 
3916 cat >>confdefs.h <<\_ACEOF
3917 #define STDC_HEADERS 1
3918 _ACEOF
3919 
3920 fi
3921 
3922 
3923 
3924 
3925 
3926 
3927 ac_header_dirent=no
3928 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
3929   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3930 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3931 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
3932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3933   echo $ECHO_N "(cached) $ECHO_C" >&6
3934 else
3935   cat >conftest.$ac_ext <<_ACEOF
3936 /* confdefs.h.  */
3937 _ACEOF
3938 cat confdefs.h >>conftest.$ac_ext
3939 cat >>conftest.$ac_ext <<_ACEOF
3940 /* end confdefs.h.  */
3941 #include <sys/types.h>
3942 #include <$ac_hdr>
3943 
3944 int
3945 main ()
3946 {
3947 if ((DIR *) 0)
3948 return 0;
3949   ;
3950   return 0;
3951 }
3952 _ACEOF
3953 rm -f conftest.$ac_objext
3954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3955   (eval $ac_compile) 2>conftest.er1
3956   ac_status=$?
3957   grep -v '^ *+' conftest.er1 >conftest.err
3958   rm -f conftest.er1
3959   cat conftest.err >&5
3960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961   (exit $ac_status); } &&
3962 	 { ac_try='test -z "$ac_c_werror_flag"
3963 			 || test ! -s conftest.err'
3964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3965   (eval $ac_try) 2>&5
3966   ac_status=$?
3967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968   (exit $ac_status); }; } &&
3969 	 { ac_try='test -s conftest.$ac_objext'
3970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3971   (eval $ac_try) 2>&5
3972   ac_status=$?
3973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974   (exit $ac_status); }; }; then
3975   eval "$as_ac_Header=yes"
3976 else
3977   echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.$ac_ext >&5
3979 
3980 eval "$as_ac_Header=no"
3981 fi
3982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3983 fi
3984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3986 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3987   cat >>confdefs.h <<_ACEOF
3988 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3989 _ACEOF
3990 
3991 ac_header_dirent=$ac_hdr; break
3992 fi
3993 
3994 done
3995 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3996 if test $ac_header_dirent = dirent.h; then
3997   echo "$as_me:$LINENO: checking for library containing opendir" >&5
3998 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3999 if test "${ac_cv_search_opendir+set}" = set; then
4000   echo $ECHO_N "(cached) $ECHO_C" >&6
4001 else
4002   ac_func_search_save_LIBS=$LIBS
4003 ac_cv_search_opendir=no
4004 cat >conftest.$ac_ext <<_ACEOF
4005 /* confdefs.h.  */
4006 _ACEOF
4007 cat confdefs.h >>conftest.$ac_ext
4008 cat >>conftest.$ac_ext <<_ACEOF
4009 /* end confdefs.h.  */
4010 
4011 /* Override any gcc2 internal prototype to avoid an error.  */
4012 #ifdef __cplusplus
4013 extern "C"
4014 #endif
4015 /* We use char because int might match the return type of a gcc2
4016    builtin and then its argument prototype would still apply.  */
4017 char opendir ();
4018 int
4019 main ()
4020 {
4021 opendir ();
4022   ;
4023   return 0;
4024 }
4025 _ACEOF
4026 rm -f conftest.$ac_objext conftest$ac_exeext
4027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4028   (eval $ac_link) 2>conftest.er1
4029   ac_status=$?
4030   grep -v '^ *+' conftest.er1 >conftest.err
4031   rm -f conftest.er1
4032   cat conftest.err >&5
4033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034   (exit $ac_status); } &&
4035 	 { ac_try='test -z "$ac_c_werror_flag"
4036 			 || test ! -s conftest.err'
4037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4038   (eval $ac_try) 2>&5
4039   ac_status=$?
4040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041   (exit $ac_status); }; } &&
4042 	 { ac_try='test -s conftest$ac_exeext'
4043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4044   (eval $ac_try) 2>&5
4045   ac_status=$?
4046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047   (exit $ac_status); }; }; then
4048   ac_cv_search_opendir="none required"
4049 else
4050   echo "$as_me: failed program was:" >&5
4051 sed 's/^/| /' conftest.$ac_ext >&5
4052 
4053 fi
4054 rm -f conftest.err conftest.$ac_objext \
4055       conftest$ac_exeext conftest.$ac_ext
4056 if test "$ac_cv_search_opendir" = no; then
4057   for ac_lib in dir; do
4058     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4059     cat >conftest.$ac_ext <<_ACEOF
4060 /* confdefs.h.  */
4061 _ACEOF
4062 cat confdefs.h >>conftest.$ac_ext
4063 cat >>conftest.$ac_ext <<_ACEOF
4064 /* end confdefs.h.  */
4065 
4066 /* Override any gcc2 internal prototype to avoid an error.  */
4067 #ifdef __cplusplus
4068 extern "C"
4069 #endif
4070 /* We use char because int might match the return type of a gcc2
4071    builtin and then its argument prototype would still apply.  */
4072 char opendir ();
4073 int
4074 main ()
4075 {
4076 opendir ();
4077   ;
4078   return 0;
4079 }
4080 _ACEOF
4081 rm -f conftest.$ac_objext conftest$ac_exeext
4082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4083   (eval $ac_link) 2>conftest.er1
4084   ac_status=$?
4085   grep -v '^ *+' conftest.er1 >conftest.err
4086   rm -f conftest.er1
4087   cat conftest.err >&5
4088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089   (exit $ac_status); } &&
4090 	 { ac_try='test -z "$ac_c_werror_flag"
4091 			 || test ! -s conftest.err'
4092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4093   (eval $ac_try) 2>&5
4094   ac_status=$?
4095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096   (exit $ac_status); }; } &&
4097 	 { ac_try='test -s conftest$ac_exeext'
4098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4099   (eval $ac_try) 2>&5
4100   ac_status=$?
4101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102   (exit $ac_status); }; }; then
4103   ac_cv_search_opendir="-l$ac_lib"
4104 break
4105 else
4106   echo "$as_me: failed program was:" >&5
4107 sed 's/^/| /' conftest.$ac_ext >&5
4108 
4109 fi
4110 rm -f conftest.err conftest.$ac_objext \
4111       conftest$ac_exeext conftest.$ac_ext
4112   done
4113 fi
4114 LIBS=$ac_func_search_save_LIBS
4115 fi
4116 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4117 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4118 if test "$ac_cv_search_opendir" != no; then
4119   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
4120 
4121 fi
4122 
4123 else
4124   echo "$as_me:$LINENO: checking for library containing opendir" >&5
4125 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4126 if test "${ac_cv_search_opendir+set}" = set; then
4127   echo $ECHO_N "(cached) $ECHO_C" >&6
4128 else
4129   ac_func_search_save_LIBS=$LIBS
4130 ac_cv_search_opendir=no
4131 cat >conftest.$ac_ext <<_ACEOF
4132 /* confdefs.h.  */
4133 _ACEOF
4134 cat confdefs.h >>conftest.$ac_ext
4135 cat >>conftest.$ac_ext <<_ACEOF
4136 /* end confdefs.h.  */
4137 
4138 /* Override any gcc2 internal prototype to avoid an error.  */
4139 #ifdef __cplusplus
4140 extern "C"
4141 #endif
4142 /* We use char because int might match the return type of a gcc2
4143    builtin and then its argument prototype would still apply.  */
4144 char opendir ();
4145 int
4146 main ()
4147 {
4148 opendir ();
4149   ;
4150   return 0;
4151 }
4152 _ACEOF
4153 rm -f conftest.$ac_objext conftest$ac_exeext
4154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4155   (eval $ac_link) 2>conftest.er1
4156   ac_status=$?
4157   grep -v '^ *+' conftest.er1 >conftest.err
4158   rm -f conftest.er1
4159   cat conftest.err >&5
4160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161   (exit $ac_status); } &&
4162 	 { ac_try='test -z "$ac_c_werror_flag"
4163 			 || test ! -s conftest.err'
4164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4165   (eval $ac_try) 2>&5
4166   ac_status=$?
4167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168   (exit $ac_status); }; } &&
4169 	 { ac_try='test -s conftest$ac_exeext'
4170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4171   (eval $ac_try) 2>&5
4172   ac_status=$?
4173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4174   (exit $ac_status); }; }; then
4175   ac_cv_search_opendir="none required"
4176 else
4177   echo "$as_me: failed program was:" >&5
4178 sed 's/^/| /' conftest.$ac_ext >&5
4179 
4180 fi
4181 rm -f conftest.err conftest.$ac_objext \
4182       conftest$ac_exeext conftest.$ac_ext
4183 if test "$ac_cv_search_opendir" = no; then
4184   for ac_lib in x; do
4185     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4186     cat >conftest.$ac_ext <<_ACEOF
4187 /* confdefs.h.  */
4188 _ACEOF
4189 cat confdefs.h >>conftest.$ac_ext
4190 cat >>conftest.$ac_ext <<_ACEOF
4191 /* end confdefs.h.  */
4192 
4193 /* Override any gcc2 internal prototype to avoid an error.  */
4194 #ifdef __cplusplus
4195 extern "C"
4196 #endif
4197 /* We use char because int might match the return type of a gcc2
4198    builtin and then its argument prototype would still apply.  */
4199 char opendir ();
4200 int
4201 main ()
4202 {
4203 opendir ();
4204   ;
4205   return 0;
4206 }
4207 _ACEOF
4208 rm -f conftest.$ac_objext conftest$ac_exeext
4209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4210   (eval $ac_link) 2>conftest.er1
4211   ac_status=$?
4212   grep -v '^ *+' conftest.er1 >conftest.err
4213   rm -f conftest.er1
4214   cat conftest.err >&5
4215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216   (exit $ac_status); } &&
4217 	 { ac_try='test -z "$ac_c_werror_flag"
4218 			 || test ! -s conftest.err'
4219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4220   (eval $ac_try) 2>&5
4221   ac_status=$?
4222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223   (exit $ac_status); }; } &&
4224 	 { ac_try='test -s conftest$ac_exeext'
4225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4226   (eval $ac_try) 2>&5
4227   ac_status=$?
4228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229   (exit $ac_status); }; }; then
4230   ac_cv_search_opendir="-l$ac_lib"
4231 break
4232 else
4233   echo "$as_me: failed program was:" >&5
4234 sed 's/^/| /' conftest.$ac_ext >&5
4235 
4236 fi
4237 rm -f conftest.err conftest.$ac_objext \
4238       conftest$ac_exeext conftest.$ac_ext
4239   done
4240 fi
4241 LIBS=$ac_func_search_save_LIBS
4242 fi
4243 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4244 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4245 if test "$ac_cv_search_opendir" != no; then
4246   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
4247 
4248 fi
4249 
4250 fi
4251 
4252 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
4253 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
4254 if test "${ac_cv_header_stat_broken+set}" = set; then
4255   echo $ECHO_N "(cached) $ECHO_C" >&6
4256 else
4257   cat >conftest.$ac_ext <<_ACEOF
4258 /* confdefs.h.  */
4259 _ACEOF
4260 cat confdefs.h >>conftest.$ac_ext
4261 cat >>conftest.$ac_ext <<_ACEOF
4262 /* end confdefs.h.  */
4263 #include <sys/types.h>
4264 #include <sys/stat.h>
4265 
4266 #if defined(S_ISBLK) && defined(S_IFDIR)
4267 # if S_ISBLK (S_IFDIR)
4268 You lose.
4269 # endif
4270 #endif
4271 
4272 #if defined(S_ISBLK) && defined(S_IFCHR)
4273 # if S_ISBLK (S_IFCHR)
4274 You lose.
4275 # endif
4276 #endif
4277 
4278 #if defined(S_ISLNK) && defined(S_IFREG)
4279 # if S_ISLNK (S_IFREG)
4280 You lose.
4281 # endif
4282 #endif
4283 
4284 #if defined(S_ISSOCK) && defined(S_IFREG)
4285 # if S_ISSOCK (S_IFREG)
4286 You lose.
4287 # endif
4288 #endif
4289 
4290 _ACEOF
4291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4292   $EGREP "You lose" >/dev/null 2>&1; then
4293   ac_cv_header_stat_broken=yes
4294 else
4295   ac_cv_header_stat_broken=no
4296 fi
4297 rm -f conftest*
4298 
4299 fi
4300 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
4301 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
4302 if test $ac_cv_header_stat_broken = yes; then
4303 
4304 cat >>confdefs.h <<\_ACEOF
4305 #define STAT_MACROS_BROKEN 1
4306 _ACEOF
4307 
4308 fi
4309 
4310 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4311 
4312 
4313 
4314 
4315 
4316 
4317 
4318 
4319 
4320 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4321 		  inttypes.h stdint.h unistd.h
4322 do
4323 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4324 echo "$as_me:$LINENO: checking for $ac_header" >&5
4325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4327   echo $ECHO_N "(cached) $ECHO_C" >&6
4328 else
4329   cat >conftest.$ac_ext <<_ACEOF
4330 /* confdefs.h.  */
4331 _ACEOF
4332 cat confdefs.h >>conftest.$ac_ext
4333 cat >>conftest.$ac_ext <<_ACEOF
4334 /* end confdefs.h.  */
4335 $ac_includes_default
4336 
4337 #include <$ac_header>
4338 _ACEOF
4339 rm -f conftest.$ac_objext
4340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4341   (eval $ac_compile) 2>conftest.er1
4342   ac_status=$?
4343   grep -v '^ *+' conftest.er1 >conftest.err
4344   rm -f conftest.er1
4345   cat conftest.err >&5
4346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347   (exit $ac_status); } &&
4348 	 { ac_try='test -z "$ac_c_werror_flag"
4349 			 || test ! -s conftest.err'
4350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4351   (eval $ac_try) 2>&5
4352   ac_status=$?
4353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354   (exit $ac_status); }; } &&
4355 	 { ac_try='test -s conftest.$ac_objext'
4356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4357   (eval $ac_try) 2>&5
4358   ac_status=$?
4359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360   (exit $ac_status); }; }; then
4361   eval "$as_ac_Header=yes"
4362 else
4363   echo "$as_me: failed program was:" >&5
4364 sed 's/^/| /' conftest.$ac_ext >&5
4365 
4366 eval "$as_ac_Header=no"
4367 fi
4368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4369 fi
4370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4372 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4373   cat >>confdefs.h <<_ACEOF
4374 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4375 _ACEOF
4376 
4377 fi
4378 
4379 done
4380 
4381 
4382 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
4383 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
4384 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
4385   echo $ECHO_N "(cached) $ECHO_C" >&6
4386 else
4387   cat >conftest.$ac_ext <<_ACEOF
4388 /* confdefs.h.  */
4389 _ACEOF
4390 cat confdefs.h >>conftest.$ac_ext
4391 cat >>conftest.$ac_ext <<_ACEOF
4392 /* end confdefs.h.  */
4393 $ac_includes_default
4394 int
4395 main ()
4396 {
4397 static struct stat ac_aggr;
4398 if (ac_aggr.st_blksize)
4399 return 0;
4400   ;
4401   return 0;
4402 }
4403 _ACEOF
4404 rm -f conftest.$ac_objext
4405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4406   (eval $ac_compile) 2>conftest.er1
4407   ac_status=$?
4408   grep -v '^ *+' conftest.er1 >conftest.err
4409   rm -f conftest.er1
4410   cat conftest.err >&5
4411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412   (exit $ac_status); } &&
4413 	 { ac_try='test -z "$ac_c_werror_flag"
4414 			 || test ! -s conftest.err'
4415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4416   (eval $ac_try) 2>&5
4417   ac_status=$?
4418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419   (exit $ac_status); }; } &&
4420 	 { ac_try='test -s conftest.$ac_objext'
4421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4422   (eval $ac_try) 2>&5
4423   ac_status=$?
4424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425   (exit $ac_status); }; }; then
4426   ac_cv_member_struct_stat_st_blksize=yes
4427 else
4428   echo "$as_me: failed program was:" >&5
4429 sed 's/^/| /' conftest.$ac_ext >&5
4430 
4431 cat >conftest.$ac_ext <<_ACEOF
4432 /* confdefs.h.  */
4433 _ACEOF
4434 cat confdefs.h >>conftest.$ac_ext
4435 cat >>conftest.$ac_ext <<_ACEOF
4436 /* end confdefs.h.  */
4437 $ac_includes_default
4438 int
4439 main ()
4440 {
4441 static struct stat ac_aggr;
4442 if (sizeof ac_aggr.st_blksize)
4443 return 0;
4444   ;
4445   return 0;
4446 }
4447 _ACEOF
4448 rm -f conftest.$ac_objext
4449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4450   (eval $ac_compile) 2>conftest.er1
4451   ac_status=$?
4452   grep -v '^ *+' conftest.er1 >conftest.err
4453   rm -f conftest.er1
4454   cat conftest.err >&5
4455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456   (exit $ac_status); } &&
4457 	 { ac_try='test -z "$ac_c_werror_flag"
4458 			 || test ! -s conftest.err'
4459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4460   (eval $ac_try) 2>&5
4461   ac_status=$?
4462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463   (exit $ac_status); }; } &&
4464 	 { ac_try='test -s conftest.$ac_objext'
4465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4466   (eval $ac_try) 2>&5
4467   ac_status=$?
4468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469   (exit $ac_status); }; }; then
4470   ac_cv_member_struct_stat_st_blksize=yes
4471 else
4472   echo "$as_me: failed program was:" >&5
4473 sed 's/^/| /' conftest.$ac_ext >&5
4474 
4475 ac_cv_member_struct_stat_st_blksize=no
4476 fi
4477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4478 fi
4479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4480 fi
4481 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
4482 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
4483 if test $ac_cv_member_struct_stat_st_blksize = yes; then
4484 
4485 cat >>confdefs.h <<_ACEOF
4486 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
4487 _ACEOF
4488 
4489 
4490 fi
4491 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
4492 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
4493 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
4494   echo $ECHO_N "(cached) $ECHO_C" >&6
4495 else
4496   cat >conftest.$ac_ext <<_ACEOF
4497 /* confdefs.h.  */
4498 _ACEOF
4499 cat confdefs.h >>conftest.$ac_ext
4500 cat >>conftest.$ac_ext <<_ACEOF
4501 /* end confdefs.h.  */
4502 $ac_includes_default
4503 int
4504 main ()
4505 {
4506 static struct stat ac_aggr;
4507 if (ac_aggr.st_blocks)
4508 return 0;
4509   ;
4510   return 0;
4511 }
4512 _ACEOF
4513 rm -f conftest.$ac_objext
4514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4515   (eval $ac_compile) 2>conftest.er1
4516   ac_status=$?
4517   grep -v '^ *+' conftest.er1 >conftest.err
4518   rm -f conftest.er1
4519   cat conftest.err >&5
4520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521   (exit $ac_status); } &&
4522 	 { ac_try='test -z "$ac_c_werror_flag"
4523 			 || test ! -s conftest.err'
4524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4525   (eval $ac_try) 2>&5
4526   ac_status=$?
4527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528   (exit $ac_status); }; } &&
4529 	 { ac_try='test -s conftest.$ac_objext'
4530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4531   (eval $ac_try) 2>&5
4532   ac_status=$?
4533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534   (exit $ac_status); }; }; then
4535   ac_cv_member_struct_stat_st_blocks=yes
4536 else
4537   echo "$as_me: failed program was:" >&5
4538 sed 's/^/| /' conftest.$ac_ext >&5
4539 
4540 cat >conftest.$ac_ext <<_ACEOF
4541 /* confdefs.h.  */
4542 _ACEOF
4543 cat confdefs.h >>conftest.$ac_ext
4544 cat >>conftest.$ac_ext <<_ACEOF
4545 /* end confdefs.h.  */
4546 $ac_includes_default
4547 int
4548 main ()
4549 {
4550 static struct stat ac_aggr;
4551 if (sizeof ac_aggr.st_blocks)
4552 return 0;
4553   ;
4554   return 0;
4555 }
4556 _ACEOF
4557 rm -f conftest.$ac_objext
4558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4559   (eval $ac_compile) 2>conftest.er1
4560   ac_status=$?
4561   grep -v '^ *+' conftest.er1 >conftest.err
4562   rm -f conftest.er1
4563   cat conftest.err >&5
4564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565   (exit $ac_status); } &&
4566 	 { ac_try='test -z "$ac_c_werror_flag"
4567 			 || test ! -s conftest.err'
4568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4569   (eval $ac_try) 2>&5
4570   ac_status=$?
4571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572   (exit $ac_status); }; } &&
4573 	 { ac_try='test -s conftest.$ac_objext'
4574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4575   (eval $ac_try) 2>&5
4576   ac_status=$?
4577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578   (exit $ac_status); }; }; then
4579   ac_cv_member_struct_stat_st_blocks=yes
4580 else
4581   echo "$as_me: failed program was:" >&5
4582 sed 's/^/| /' conftest.$ac_ext >&5
4583 
4584 ac_cv_member_struct_stat_st_blocks=no
4585 fi
4586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4587 fi
4588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4589 fi
4590 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
4591 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
4592 if test $ac_cv_member_struct_stat_st_blocks = yes; then
4593 
4594 cat >>confdefs.h <<_ACEOF
4595 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
4596 _ACEOF
4597 
4598 
4599 fi
4600 echo "$as_me:$LINENO: checking for struct stat.st_aclcnt" >&5
4601 echo $ECHO_N "checking for struct stat.st_aclcnt... $ECHO_C" >&6
4602 if test "${ac_cv_member_struct_stat_st_aclcnt+set}" = set; then
4603   echo $ECHO_N "(cached) $ECHO_C" >&6
4604 else
4605   cat >conftest.$ac_ext <<_ACEOF
4606 /* confdefs.h.  */
4607 _ACEOF
4608 cat confdefs.h >>conftest.$ac_ext
4609 cat >>conftest.$ac_ext <<_ACEOF
4610 /* end confdefs.h.  */
4611 $ac_includes_default
4612 int
4613 main ()
4614 {
4615 static struct stat ac_aggr;
4616 if (ac_aggr.st_aclcnt)
4617 return 0;
4618   ;
4619   return 0;
4620 }
4621 _ACEOF
4622 rm -f conftest.$ac_objext
4623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4624   (eval $ac_compile) 2>conftest.er1
4625   ac_status=$?
4626   grep -v '^ *+' conftest.er1 >conftest.err
4627   rm -f conftest.er1
4628   cat conftest.err >&5
4629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630   (exit $ac_status); } &&
4631 	 { ac_try='test -z "$ac_c_werror_flag"
4632 			 || test ! -s conftest.err'
4633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4634   (eval $ac_try) 2>&5
4635   ac_status=$?
4636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637   (exit $ac_status); }; } &&
4638 	 { ac_try='test -s conftest.$ac_objext'
4639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4640   (eval $ac_try) 2>&5
4641   ac_status=$?
4642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643   (exit $ac_status); }; }; then
4644   ac_cv_member_struct_stat_st_aclcnt=yes
4645 else
4646   echo "$as_me: failed program was:" >&5
4647 sed 's/^/| /' conftest.$ac_ext >&5
4648 
4649 cat >conftest.$ac_ext <<_ACEOF
4650 /* confdefs.h.  */
4651 _ACEOF
4652 cat confdefs.h >>conftest.$ac_ext
4653 cat >>conftest.$ac_ext <<_ACEOF
4654 /* end confdefs.h.  */
4655 $ac_includes_default
4656 int
4657 main ()
4658 {
4659 static struct stat ac_aggr;
4660 if (sizeof ac_aggr.st_aclcnt)
4661 return 0;
4662   ;
4663   return 0;
4664 }
4665 _ACEOF
4666 rm -f conftest.$ac_objext
4667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4668   (eval $ac_compile) 2>conftest.er1
4669   ac_status=$?
4670   grep -v '^ *+' conftest.er1 >conftest.err
4671   rm -f conftest.er1
4672   cat conftest.err >&5
4673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674   (exit $ac_status); } &&
4675 	 { ac_try='test -z "$ac_c_werror_flag"
4676 			 || test ! -s conftest.err'
4677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4678   (eval $ac_try) 2>&5
4679   ac_status=$?
4680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681   (exit $ac_status); }; } &&
4682 	 { ac_try='test -s conftest.$ac_objext'
4683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4684   (eval $ac_try) 2>&5
4685   ac_status=$?
4686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4687   (exit $ac_status); }; }; then
4688   ac_cv_member_struct_stat_st_aclcnt=yes
4689 else
4690   echo "$as_me: failed program was:" >&5
4691 sed 's/^/| /' conftest.$ac_ext >&5
4692 
4693 ac_cv_member_struct_stat_st_aclcnt=no
4694 fi
4695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4696 fi
4697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4698 fi
4699 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_aclcnt" >&5
4700 echo "${ECHO_T}$ac_cv_member_struct_stat_st_aclcnt" >&6
4701 if test $ac_cv_member_struct_stat_st_aclcnt = yes; then
4702 
4703 cat >>confdefs.h <<_ACEOF
4704 #define HAVE_STRUCT_STAT_ST_ACLCNT 1
4705 _ACEOF
4706 
4707 
4708 fi
4709 echo "$as_me:$LINENO: checking for struct stat.st_flags" >&5
4710 echo $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
4711 if test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
4712   echo $ECHO_N "(cached) $ECHO_C" >&6
4713 else
4714   cat >conftest.$ac_ext <<_ACEOF
4715 /* confdefs.h.  */
4716 _ACEOF
4717 cat confdefs.h >>conftest.$ac_ext
4718 cat >>conftest.$ac_ext <<_ACEOF
4719 /* end confdefs.h.  */
4720 $ac_includes_default
4721 int
4722 main ()
4723 {
4724 static struct stat ac_aggr;
4725 if (ac_aggr.st_flags)
4726 return 0;
4727   ;
4728   return 0;
4729 }
4730 _ACEOF
4731 rm -f conftest.$ac_objext
4732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4733   (eval $ac_compile) 2>conftest.er1
4734   ac_status=$?
4735   grep -v '^ *+' conftest.er1 >conftest.err
4736   rm -f conftest.er1
4737   cat conftest.err >&5
4738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739   (exit $ac_status); } &&
4740 	 { ac_try='test -z "$ac_c_werror_flag"
4741 			 || test ! -s conftest.err'
4742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4743   (eval $ac_try) 2>&5
4744   ac_status=$?
4745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746   (exit $ac_status); }; } &&
4747 	 { ac_try='test -s conftest.$ac_objext'
4748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4749   (eval $ac_try) 2>&5
4750   ac_status=$?
4751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752   (exit $ac_status); }; }; then
4753   ac_cv_member_struct_stat_st_flags=yes
4754 else
4755   echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.$ac_ext >&5
4757 
4758 cat >conftest.$ac_ext <<_ACEOF
4759 /* confdefs.h.  */
4760 _ACEOF
4761 cat confdefs.h >>conftest.$ac_ext
4762 cat >>conftest.$ac_ext <<_ACEOF
4763 /* end confdefs.h.  */
4764 $ac_includes_default
4765 int
4766 main ()
4767 {
4768 static struct stat ac_aggr;
4769 if (sizeof ac_aggr.st_flags)
4770 return 0;
4771   ;
4772   return 0;
4773 }
4774 _ACEOF
4775 rm -f conftest.$ac_objext
4776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4777   (eval $ac_compile) 2>conftest.er1
4778   ac_status=$?
4779   grep -v '^ *+' conftest.er1 >conftest.err
4780   rm -f conftest.er1
4781   cat conftest.err >&5
4782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4783   (exit $ac_status); } &&
4784 	 { ac_try='test -z "$ac_c_werror_flag"
4785 			 || test ! -s conftest.err'
4786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4787   (eval $ac_try) 2>&5
4788   ac_status=$?
4789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790   (exit $ac_status); }; } &&
4791 	 { ac_try='test -s conftest.$ac_objext'
4792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4793   (eval $ac_try) 2>&5
4794   ac_status=$?
4795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796   (exit $ac_status); }; }; then
4797   ac_cv_member_struct_stat_st_flags=yes
4798 else
4799   echo "$as_me: failed program was:" >&5
4800 sed 's/^/| /' conftest.$ac_ext >&5
4801 
4802 ac_cv_member_struct_stat_st_flags=no
4803 fi
4804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4805 fi
4806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4807 fi
4808 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_flags" >&5
4809 echo "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
4810 if test $ac_cv_member_struct_stat_st_flags = yes; then
4811 
4812 cat >>confdefs.h <<_ACEOF
4813 #define HAVE_STRUCT_STAT_ST_FLAGS 1
4814 _ACEOF
4815 
4816 
4817 fi
4818 echo "$as_me:$LINENO: checking for struct stat.st_fstype" >&5
4819 echo $ECHO_N "checking for struct stat.st_fstype... $ECHO_C" >&6
4820 if test "${ac_cv_member_struct_stat_st_fstype+set}" = set; then
4821   echo $ECHO_N "(cached) $ECHO_C" >&6
4822 else
4823   cat >conftest.$ac_ext <<_ACEOF
4824 /* confdefs.h.  */
4825 _ACEOF
4826 cat confdefs.h >>conftest.$ac_ext
4827 cat >>conftest.$ac_ext <<_ACEOF
4828 /* end confdefs.h.  */
4829 $ac_includes_default
4830 int
4831 main ()
4832 {
4833 static struct stat ac_aggr;
4834 if (ac_aggr.st_fstype)
4835 return 0;
4836   ;
4837   return 0;
4838 }
4839 _ACEOF
4840 rm -f conftest.$ac_objext
4841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4842   (eval $ac_compile) 2>conftest.er1
4843   ac_status=$?
4844   grep -v '^ *+' conftest.er1 >conftest.err
4845   rm -f conftest.er1
4846   cat conftest.err >&5
4847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848   (exit $ac_status); } &&
4849 	 { ac_try='test -z "$ac_c_werror_flag"
4850 			 || test ! -s conftest.err'
4851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4852   (eval $ac_try) 2>&5
4853   ac_status=$?
4854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855   (exit $ac_status); }; } &&
4856 	 { ac_try='test -s conftest.$ac_objext'
4857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4858   (eval $ac_try) 2>&5
4859   ac_status=$?
4860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861   (exit $ac_status); }; }; then
4862   ac_cv_member_struct_stat_st_fstype=yes
4863 else
4864   echo "$as_me: failed program was:" >&5
4865 sed 's/^/| /' conftest.$ac_ext >&5
4866 
4867 cat >conftest.$ac_ext <<_ACEOF
4868 /* confdefs.h.  */
4869 _ACEOF
4870 cat confdefs.h >>conftest.$ac_ext
4871 cat >>conftest.$ac_ext <<_ACEOF
4872 /* end confdefs.h.  */
4873 $ac_includes_default
4874 int
4875 main ()
4876 {
4877 static struct stat ac_aggr;
4878 if (sizeof ac_aggr.st_fstype)
4879 return 0;
4880   ;
4881   return 0;
4882 }
4883 _ACEOF
4884 rm -f conftest.$ac_objext
4885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4886   (eval $ac_compile) 2>conftest.er1
4887   ac_status=$?
4888   grep -v '^ *+' conftest.er1 >conftest.err
4889   rm -f conftest.er1
4890   cat conftest.err >&5
4891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892   (exit $ac_status); } &&
4893 	 { ac_try='test -z "$ac_c_werror_flag"
4894 			 || test ! -s conftest.err'
4895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4896   (eval $ac_try) 2>&5
4897   ac_status=$?
4898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899   (exit $ac_status); }; } &&
4900 	 { ac_try='test -s conftest.$ac_objext'
4901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4902   (eval $ac_try) 2>&5
4903   ac_status=$?
4904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905   (exit $ac_status); }; }; then
4906   ac_cv_member_struct_stat_st_fstype=yes
4907 else
4908   echo "$as_me: failed program was:" >&5
4909 sed 's/^/| /' conftest.$ac_ext >&5
4910 
4911 ac_cv_member_struct_stat_st_fstype=no
4912 fi
4913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4914 fi
4915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4916 fi
4917 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_fstype" >&5
4918 echo "${ECHO_T}$ac_cv_member_struct_stat_st_fstype" >&6
4919 if test $ac_cv_member_struct_stat_st_fstype = yes; then
4920 
4921 cat >>confdefs.h <<_ACEOF
4922 #define HAVE_STRUCT_STAT_ST_FSTYPE 1
4923 _ACEOF
4924 
4925 
4926 fi
4927 echo "$as_me:$LINENO: checking for struct stat.st_gen" >&5
4928 echo $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
4929 if test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
4930   echo $ECHO_N "(cached) $ECHO_C" >&6
4931 else
4932   cat >conftest.$ac_ext <<_ACEOF
4933 /* confdefs.h.  */
4934 _ACEOF
4935 cat confdefs.h >>conftest.$ac_ext
4936 cat >>conftest.$ac_ext <<_ACEOF
4937 /* end confdefs.h.  */
4938 $ac_includes_default
4939 int
4940 main ()
4941 {
4942 static struct stat ac_aggr;
4943 if (ac_aggr.st_gen)
4944 return 0;
4945   ;
4946   return 0;
4947 }
4948 _ACEOF
4949 rm -f conftest.$ac_objext
4950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4951   (eval $ac_compile) 2>conftest.er1
4952   ac_status=$?
4953   grep -v '^ *+' conftest.er1 >conftest.err
4954   rm -f conftest.er1
4955   cat conftest.err >&5
4956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957   (exit $ac_status); } &&
4958 	 { ac_try='test -z "$ac_c_werror_flag"
4959 			 || test ! -s conftest.err'
4960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4961   (eval $ac_try) 2>&5
4962   ac_status=$?
4963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4964   (exit $ac_status); }; } &&
4965 	 { ac_try='test -s conftest.$ac_objext'
4966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4967   (eval $ac_try) 2>&5
4968   ac_status=$?
4969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970   (exit $ac_status); }; }; then
4971   ac_cv_member_struct_stat_st_gen=yes
4972 else
4973   echo "$as_me: failed program was:" >&5
4974 sed 's/^/| /' conftest.$ac_ext >&5
4975 
4976 cat >conftest.$ac_ext <<_ACEOF
4977 /* confdefs.h.  */
4978 _ACEOF
4979 cat confdefs.h >>conftest.$ac_ext
4980 cat >>conftest.$ac_ext <<_ACEOF
4981 /* end confdefs.h.  */
4982 $ac_includes_default
4983 int
4984 main ()
4985 {
4986 static struct stat ac_aggr;
4987 if (sizeof ac_aggr.st_gen)
4988 return 0;
4989   ;
4990   return 0;
4991 }
4992 _ACEOF
4993 rm -f conftest.$ac_objext
4994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4995   (eval $ac_compile) 2>conftest.er1
4996   ac_status=$?
4997   grep -v '^ *+' conftest.er1 >conftest.err
4998   rm -f conftest.er1
4999   cat conftest.err >&5
5000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001   (exit $ac_status); } &&
5002 	 { ac_try='test -z "$ac_c_werror_flag"
5003 			 || test ! -s conftest.err'
5004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5005   (eval $ac_try) 2>&5
5006   ac_status=$?
5007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008   (exit $ac_status); }; } &&
5009 	 { ac_try='test -s conftest.$ac_objext'
5010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5011   (eval $ac_try) 2>&5
5012   ac_status=$?
5013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014   (exit $ac_status); }; }; then
5015   ac_cv_member_struct_stat_st_gen=yes
5016 else
5017   echo "$as_me: failed program was:" >&5
5018 sed 's/^/| /' conftest.$ac_ext >&5
5019 
5020 ac_cv_member_struct_stat_st_gen=no
5021 fi
5022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5023 fi
5024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5025 fi
5026 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_gen" >&5
5027 echo "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
5028 if test $ac_cv_member_struct_stat_st_gen = yes; then
5029 
5030 cat >>confdefs.h <<_ACEOF
5031 #define HAVE_STRUCT_STAT_ST_GEN 1
5032 _ACEOF
5033 
5034 
5035 fi
5036 echo "$as_me:$LINENO: checking for struct stat.st_level" >&5
5037 echo $ECHO_N "checking for struct stat.st_level... $ECHO_C" >&6
5038 if test "${ac_cv_member_struct_stat_st_level+set}" = set; then
5039   echo $ECHO_N "(cached) $ECHO_C" >&6
5040 else
5041   cat >conftest.$ac_ext <<_ACEOF
5042 /* confdefs.h.  */
5043 _ACEOF
5044 cat confdefs.h >>conftest.$ac_ext
5045 cat >>conftest.$ac_ext <<_ACEOF
5046 /* end confdefs.h.  */
5047 $ac_includes_default
5048 int
5049 main ()
5050 {
5051 static struct stat ac_aggr;
5052 if (ac_aggr.st_level)
5053 return 0;
5054   ;
5055   return 0;
5056 }
5057 _ACEOF
5058 rm -f conftest.$ac_objext
5059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5060   (eval $ac_compile) 2>conftest.er1
5061   ac_status=$?
5062   grep -v '^ *+' conftest.er1 >conftest.err
5063   rm -f conftest.er1
5064   cat conftest.err >&5
5065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066   (exit $ac_status); } &&
5067 	 { ac_try='test -z "$ac_c_werror_flag"
5068 			 || test ! -s conftest.err'
5069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5070   (eval $ac_try) 2>&5
5071   ac_status=$?
5072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073   (exit $ac_status); }; } &&
5074 	 { ac_try='test -s conftest.$ac_objext'
5075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5076   (eval $ac_try) 2>&5
5077   ac_status=$?
5078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079   (exit $ac_status); }; }; then
5080   ac_cv_member_struct_stat_st_level=yes
5081 else
5082   echo "$as_me: failed program was:" >&5
5083 sed 's/^/| /' conftest.$ac_ext >&5
5084 
5085 cat >conftest.$ac_ext <<_ACEOF
5086 /* confdefs.h.  */
5087 _ACEOF
5088 cat confdefs.h >>conftest.$ac_ext
5089 cat >>conftest.$ac_ext <<_ACEOF
5090 /* end confdefs.h.  */
5091 $ac_includes_default
5092 int
5093 main ()
5094 {
5095 static struct stat ac_aggr;
5096 if (sizeof ac_aggr.st_level)
5097 return 0;
5098   ;
5099   return 0;
5100 }
5101 _ACEOF
5102 rm -f conftest.$ac_objext
5103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5104   (eval $ac_compile) 2>conftest.er1
5105   ac_status=$?
5106   grep -v '^ *+' conftest.er1 >conftest.err
5107   rm -f conftest.er1
5108   cat conftest.err >&5
5109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110   (exit $ac_status); } &&
5111 	 { ac_try='test -z "$ac_c_werror_flag"
5112 			 || test ! -s conftest.err'
5113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5114   (eval $ac_try) 2>&5
5115   ac_status=$?
5116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117   (exit $ac_status); }; } &&
5118 	 { ac_try='test -s conftest.$ac_objext'
5119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5120   (eval $ac_try) 2>&5
5121   ac_status=$?
5122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123   (exit $ac_status); }; }; then
5124   ac_cv_member_struct_stat_st_level=yes
5125 else
5126   echo "$as_me: failed program was:" >&5
5127 sed 's/^/| /' conftest.$ac_ext >&5
5128 
5129 ac_cv_member_struct_stat_st_level=no
5130 fi
5131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5132 fi
5133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5134 fi
5135 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_level" >&5
5136 echo "${ECHO_T}$ac_cv_member_struct_stat_st_level" >&6
5137 if test $ac_cv_member_struct_stat_st_level = yes; then
5138 
5139 cat >>confdefs.h <<_ACEOF
5140 #define HAVE_STRUCT_STAT_ST_LEVEL 1
5141 _ACEOF
5142 
5143 
5144 fi
5145 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5146 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
5147 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5148   echo $ECHO_N "(cached) $ECHO_C" >&6
5149 else
5150   cat >conftest.$ac_ext <<_ACEOF
5151 /* confdefs.h.  */
5152 _ACEOF
5153 cat confdefs.h >>conftest.$ac_ext
5154 cat >>conftest.$ac_ext <<_ACEOF
5155 /* end confdefs.h.  */
5156 $ac_includes_default
5157 int
5158 main ()
5159 {
5160 static struct stat ac_aggr;
5161 if (ac_aggr.st_rdev)
5162 return 0;
5163   ;
5164   return 0;
5165 }
5166 _ACEOF
5167 rm -f conftest.$ac_objext
5168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5169   (eval $ac_compile) 2>conftest.er1
5170   ac_status=$?
5171   grep -v '^ *+' conftest.er1 >conftest.err
5172   rm -f conftest.er1
5173   cat conftest.err >&5
5174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175   (exit $ac_status); } &&
5176 	 { ac_try='test -z "$ac_c_werror_flag"
5177 			 || test ! -s conftest.err'
5178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5179   (eval $ac_try) 2>&5
5180   ac_status=$?
5181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182   (exit $ac_status); }; } &&
5183 	 { ac_try='test -s conftest.$ac_objext'
5184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5185   (eval $ac_try) 2>&5
5186   ac_status=$?
5187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188   (exit $ac_status); }; }; then
5189   ac_cv_member_struct_stat_st_rdev=yes
5190 else
5191   echo "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.$ac_ext >&5
5193 
5194 cat >conftest.$ac_ext <<_ACEOF
5195 /* confdefs.h.  */
5196 _ACEOF
5197 cat confdefs.h >>conftest.$ac_ext
5198 cat >>conftest.$ac_ext <<_ACEOF
5199 /* end confdefs.h.  */
5200 $ac_includes_default
5201 int
5202 main ()
5203 {
5204 static struct stat ac_aggr;
5205 if (sizeof ac_aggr.st_rdev)
5206 return 0;
5207   ;
5208   return 0;
5209 }
5210 _ACEOF
5211 rm -f conftest.$ac_objext
5212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5213   (eval $ac_compile) 2>conftest.er1
5214   ac_status=$?
5215   grep -v '^ *+' conftest.er1 >conftest.err
5216   rm -f conftest.er1
5217   cat conftest.err >&5
5218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219   (exit $ac_status); } &&
5220 	 { ac_try='test -z "$ac_c_werror_flag"
5221 			 || test ! -s conftest.err'
5222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5223   (eval $ac_try) 2>&5
5224   ac_status=$?
5225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5226   (exit $ac_status); }; } &&
5227 	 { ac_try='test -s conftest.$ac_objext'
5228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5229   (eval $ac_try) 2>&5
5230   ac_status=$?
5231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232   (exit $ac_status); }; }; then
5233   ac_cv_member_struct_stat_st_rdev=yes
5234 else
5235   echo "$as_me: failed program was:" >&5
5236 sed 's/^/| /' conftest.$ac_ext >&5
5237 
5238 ac_cv_member_struct_stat_st_rdev=no
5239 fi
5240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5241 fi
5242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5243 fi
5244 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5245 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
5246 if test $ac_cv_member_struct_stat_st_rdev = yes; then
5247 
5248 cat >>confdefs.h <<_ACEOF
5249 #define HAVE_STRUCT_STAT_ST_RDEV 1
5250 _ACEOF
5251 
5252 
5253 fi
5254 
5255 echo "$as_me:$LINENO: checking for stat64 in (asm|sys)/stat.h" >&5
5256 echo $ECHO_N "checking for stat64 in (asm|sys)/stat.h... $ECHO_C" >&6
5257 if test "${ac_cv_type_stat64+set}" = set; then
5258   echo $ECHO_N "(cached) $ECHO_C" >&6
5259 else
5260   cat >conftest.$ac_ext <<_ACEOF
5261 /* confdefs.h.  */
5262 _ACEOF
5263 cat confdefs.h >>conftest.$ac_ext
5264 cat >>conftest.$ac_ext <<_ACEOF
5265 /* end confdefs.h.  */
5266 #ifdef LINUX
5267 #include <linux/types.h>
5268 #include <asm/stat.h>
5269 #else
5270 #include <sys/stat.h>
5271 #endif
5272 int
5273 main ()
5274 {
5275 struct stat64 st;
5276   ;
5277   return 0;
5278 }
5279 _ACEOF
5280 rm -f conftest.$ac_objext
5281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5282   (eval $ac_compile) 2>conftest.er1
5283   ac_status=$?
5284   grep -v '^ *+' conftest.er1 >conftest.err
5285   rm -f conftest.er1
5286   cat conftest.err >&5
5287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288   (exit $ac_status); } &&
5289 	 { ac_try='test -z "$ac_c_werror_flag"
5290 			 || test ! -s conftest.err'
5291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5292   (eval $ac_try) 2>&5
5293   ac_status=$?
5294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295   (exit $ac_status); }; } &&
5296 	 { ac_try='test -s conftest.$ac_objext'
5297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5298   (eval $ac_try) 2>&5
5299   ac_status=$?
5300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301   (exit $ac_status); }; }; then
5302   ac_cv_type_stat64=yes
5303 else
5304   echo "$as_me: failed program was:" >&5
5305 sed 's/^/| /' conftest.$ac_ext >&5
5306 
5307 ac_cv_type_stat64=no
5308 fi
5309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5310 fi
5311 
5312 echo "$as_me:$LINENO: result: $ac_cv_type_stat64" >&5
5313 echo "${ECHO_T}$ac_cv_type_stat64" >&6
5314 if test "$ac_cv_type_stat64" = yes
5315 then
5316 
5317 cat >>confdefs.h <<\_ACEOF
5318 #define HAVE_STAT64 1
5319 _ACEOF
5320 
5321 fi
5322 
5323 
5324 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5325 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
5326 if test "${ac_cv_type_signal+set}" = set; then
5327   echo $ECHO_N "(cached) $ECHO_C" >&6
5328 else
5329   cat >conftest.$ac_ext <<_ACEOF
5330 /* confdefs.h.  */
5331 _ACEOF
5332 cat confdefs.h >>conftest.$ac_ext
5333 cat >>conftest.$ac_ext <<_ACEOF
5334 /* end confdefs.h.  */
5335 #include <sys/types.h>
5336 #include <signal.h>
5337 #ifdef signal
5338 # undef signal
5339 #endif
5340 #ifdef __cplusplus
5341 extern "C" void (*signal (int, void (*)(int)))(int);
5342 #else
5343 void (*signal ()) ();
5344 #endif
5345 
5346 int
5347 main ()
5348 {
5349 int i;
5350   ;
5351   return 0;
5352 }
5353 _ACEOF
5354 rm -f conftest.$ac_objext
5355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5356   (eval $ac_compile) 2>conftest.er1
5357   ac_status=$?
5358   grep -v '^ *+' conftest.er1 >conftest.err
5359   rm -f conftest.er1
5360   cat conftest.err >&5
5361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362   (exit $ac_status); } &&
5363 	 { ac_try='test -z "$ac_c_werror_flag"
5364 			 || test ! -s conftest.err'
5365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5366   (eval $ac_try) 2>&5
5367   ac_status=$?
5368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369   (exit $ac_status); }; } &&
5370 	 { ac_try='test -s conftest.$ac_objext'
5371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5372   (eval $ac_try) 2>&5
5373   ac_status=$?
5374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375   (exit $ac_status); }; }; then
5376   ac_cv_type_signal=void
5377 else
5378   echo "$as_me: failed program was:" >&5
5379 sed 's/^/| /' conftest.$ac_ext >&5
5380 
5381 ac_cv_type_signal=int
5382 fi
5383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5384 fi
5385 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5386 echo "${ECHO_T}$ac_cv_type_signal" >&6
5387 
5388 cat >>confdefs.h <<_ACEOF
5389 #define RETSIGTYPE $ac_cv_type_signal
5390 _ACEOF
5391 
5392 
5393 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
5394 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
5395 if test "${ac_cv_type_uid_t+set}" = set; then
5396   echo $ECHO_N "(cached) $ECHO_C" >&6
5397 else
5398   cat >conftest.$ac_ext <<_ACEOF
5399 /* confdefs.h.  */
5400 _ACEOF
5401 cat confdefs.h >>conftest.$ac_ext
5402 cat >>conftest.$ac_ext <<_ACEOF
5403 /* end confdefs.h.  */
5404 #include <sys/types.h>
5405 
5406 _ACEOF
5407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5408   $EGREP "uid_t" >/dev/null 2>&1; then
5409   ac_cv_type_uid_t=yes
5410 else
5411   ac_cv_type_uid_t=no
5412 fi
5413 rm -f conftest*
5414 
5415 fi
5416 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
5417 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
5418 if test $ac_cv_type_uid_t = no; then
5419 
5420 cat >>confdefs.h <<\_ACEOF
5421 #define uid_t int
5422 _ACEOF
5423 
5424 
5425 cat >>confdefs.h <<\_ACEOF
5426 #define gid_t int
5427 _ACEOF
5428 
5429 fi
5430 
5431 echo "$as_me:$LINENO: checking for mode_t" >&5
5432 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
5433 if test "${ac_cv_type_mode_t+set}" = set; then
5434   echo $ECHO_N "(cached) $ECHO_C" >&6
5435 else
5436   cat >conftest.$ac_ext <<_ACEOF
5437 /* confdefs.h.  */
5438 _ACEOF
5439 cat confdefs.h >>conftest.$ac_ext
5440 cat >>conftest.$ac_ext <<_ACEOF
5441 /* end confdefs.h.  */
5442 $ac_includes_default
5443 int
5444 main ()
5445 {
5446 if ((mode_t *) 0)
5447   return 0;
5448 if (sizeof (mode_t))
5449   return 0;
5450   ;
5451   return 0;
5452 }
5453 _ACEOF
5454 rm -f conftest.$ac_objext
5455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5456   (eval $ac_compile) 2>conftest.er1
5457   ac_status=$?
5458   grep -v '^ *+' conftest.er1 >conftest.err
5459   rm -f conftest.er1
5460   cat conftest.err >&5
5461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462   (exit $ac_status); } &&
5463 	 { ac_try='test -z "$ac_c_werror_flag"
5464 			 || test ! -s conftest.err'
5465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5466   (eval $ac_try) 2>&5
5467   ac_status=$?
5468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469   (exit $ac_status); }; } &&
5470 	 { ac_try='test -s conftest.$ac_objext'
5471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472   (eval $ac_try) 2>&5
5473   ac_status=$?
5474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475   (exit $ac_status); }; }; then
5476   ac_cv_type_mode_t=yes
5477 else
5478   echo "$as_me: failed program was:" >&5
5479 sed 's/^/| /' conftest.$ac_ext >&5
5480 
5481 ac_cv_type_mode_t=no
5482 fi
5483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5484 fi
5485 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
5486 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
5487 if test $ac_cv_type_mode_t = yes; then
5488   :
5489 else
5490 
5491 cat >>confdefs.h <<_ACEOF
5492 #define mode_t int
5493 _ACEOF
5494 
5495 fi
5496 
5497 echo "$as_me:$LINENO: checking type of array argument to getgroups" >&5
5498 echo $ECHO_N "checking type of array argument to getgroups... $ECHO_C" >&6
5499 if test "${ac_cv_type_getgroups+set}" = set; then
5500   echo $ECHO_N "(cached) $ECHO_C" >&6
5501 else
5502   if test "$cross_compiling" = yes; then
5503   ac_cv_type_getgroups=cross
5504 else
5505   cat >conftest.$ac_ext <<_ACEOF
5506 /* confdefs.h.  */
5507 _ACEOF
5508 cat confdefs.h >>conftest.$ac_ext
5509 cat >>conftest.$ac_ext <<_ACEOF
5510 /* end confdefs.h.  */
5511 /* Thanks to Mike Rendell for this test.  */
5512 #include <sys/types.h>
5513 #define NGID 256
5514 #undef MAX
5515 #define MAX(x, y) ((x) > (y) ? (x) : (y))
5516 
5517 int
5518 main ()
5519 {
5520   gid_t gidset[NGID];
5521   int i, n;
5522   union { gid_t gval; long lval; }  val;
5523 
5524   val.lval = -1;
5525   for (i = 0; i < NGID; i++)
5526     gidset[i] = val.gval;
5527   n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
5528 		 gidset);
5529   /* Exit non-zero if getgroups seems to require an array of ints.  This
5530      happens when gid_t is short but getgroups modifies an array of ints.  */
5531   exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
5532 }
5533 _ACEOF
5534 rm -f conftest$ac_exeext
5535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5536   (eval $ac_link) 2>&5
5537   ac_status=$?
5538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5541   (eval $ac_try) 2>&5
5542   ac_status=$?
5543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544   (exit $ac_status); }; }; then
5545   ac_cv_type_getgroups=gid_t
5546 else
5547   echo "$as_me: program exited with status $ac_status" >&5
5548 echo "$as_me: failed program was:" >&5
5549 sed 's/^/| /' conftest.$ac_ext >&5
5550 
5551 ( exit $ac_status )
5552 ac_cv_type_getgroups=int
5553 fi
5554 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5555 fi
5556 if test $ac_cv_type_getgroups = cross; then
5557         cat >conftest.$ac_ext <<_ACEOF
5558 /* confdefs.h.  */
5559 _ACEOF
5560 cat confdefs.h >>conftest.$ac_ext
5561 cat >>conftest.$ac_ext <<_ACEOF
5562 /* end confdefs.h.  */
5563 #include <unistd.h>
5564 
5565 _ACEOF
5566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5567   $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then
5568   ac_cv_type_getgroups=gid_t
5569 else
5570   ac_cv_type_getgroups=int
5571 fi
5572 rm -f conftest*
5573 
5574 fi
5575 fi
5576 echo "$as_me:$LINENO: result: $ac_cv_type_getgroups" >&5
5577 echo "${ECHO_T}$ac_cv_type_getgroups" >&6
5578 
5579 cat >>confdefs.h <<_ACEOF
5580 #define GETGROUPS_T $ac_cv_type_getgroups
5581 _ACEOF
5582 
5583 
5584 echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5
5585 echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6
5586 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then
5587   echo $ECHO_N "(cached) $ECHO_C" >&6
5588 else
5589   cat >conftest.$ac_ext <<_ACEOF
5590 /* confdefs.h.  */
5591 _ACEOF
5592 cat confdefs.h >>conftest.$ac_ext
5593 cat >>conftest.$ac_ext <<_ACEOF
5594 /* end confdefs.h.  */
5595 #include <sys/types.h>
5596 int
5597 main ()
5598 {
5599 return makedev(0, 0);
5600   ;
5601   return 0;
5602 }
5603 _ACEOF
5604 rm -f conftest.$ac_objext conftest$ac_exeext
5605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5606   (eval $ac_link) 2>conftest.er1
5607   ac_status=$?
5608   grep -v '^ *+' conftest.er1 >conftest.err
5609   rm -f conftest.er1
5610   cat conftest.err >&5
5611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612   (exit $ac_status); } &&
5613 	 { ac_try='test -z "$ac_c_werror_flag"
5614 			 || test ! -s conftest.err'
5615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5616   (eval $ac_try) 2>&5
5617   ac_status=$?
5618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619   (exit $ac_status); }; } &&
5620 	 { ac_try='test -s conftest$ac_exeext'
5621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5622   (eval $ac_try) 2>&5
5623   ac_status=$?
5624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625   (exit $ac_status); }; }; then
5626   ac_cv_header_sys_types_h_makedev=yes
5627 else
5628   echo "$as_me: failed program was:" >&5
5629 sed 's/^/| /' conftest.$ac_ext >&5
5630 
5631 ac_cv_header_sys_types_h_makedev=no
5632 fi
5633 rm -f conftest.err conftest.$ac_objext \
5634       conftest$ac_exeext conftest.$ac_ext
5635 
5636 fi
5637 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5
5638 echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6
5639 
5640 if test $ac_cv_header_sys_types_h_makedev = no; then
5641 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
5642   echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
5643 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
5644 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
5645   echo $ECHO_N "(cached) $ECHO_C" >&6
5646 fi
5647 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
5648 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
5649 else
5650   # Is the header compilable?
5651 echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5
5652 echo $ECHO_N "checking sys/mkdev.h usability... $ECHO_C" >&6
5653 cat >conftest.$ac_ext <<_ACEOF
5654 /* confdefs.h.  */
5655 _ACEOF
5656 cat confdefs.h >>conftest.$ac_ext
5657 cat >>conftest.$ac_ext <<_ACEOF
5658 /* end confdefs.h.  */
5659 $ac_includes_default
5660 #include <sys/mkdev.h>
5661 _ACEOF
5662 rm -f conftest.$ac_objext
5663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5664   (eval $ac_compile) 2>conftest.er1
5665   ac_status=$?
5666   grep -v '^ *+' conftest.er1 >conftest.err
5667   rm -f conftest.er1
5668   cat conftest.err >&5
5669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5670   (exit $ac_status); } &&
5671 	 { ac_try='test -z "$ac_c_werror_flag"
5672 			 || test ! -s conftest.err'
5673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5674   (eval $ac_try) 2>&5
5675   ac_status=$?
5676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677   (exit $ac_status); }; } &&
5678 	 { ac_try='test -s conftest.$ac_objext'
5679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5680   (eval $ac_try) 2>&5
5681   ac_status=$?
5682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683   (exit $ac_status); }; }; then
5684   ac_header_compiler=yes
5685 else
5686   echo "$as_me: failed program was:" >&5
5687 sed 's/^/| /' conftest.$ac_ext >&5
5688 
5689 ac_header_compiler=no
5690 fi
5691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5692 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5693 echo "${ECHO_T}$ac_header_compiler" >&6
5694 
5695 # Is the header present?
5696 echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5
5697 echo $ECHO_N "checking sys/mkdev.h presence... $ECHO_C" >&6
5698 cat >conftest.$ac_ext <<_ACEOF
5699 /* confdefs.h.  */
5700 _ACEOF
5701 cat confdefs.h >>conftest.$ac_ext
5702 cat >>conftest.$ac_ext <<_ACEOF
5703 /* end confdefs.h.  */
5704 #include <sys/mkdev.h>
5705 _ACEOF
5706 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5707   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5708   ac_status=$?
5709   grep -v '^ *+' conftest.er1 >conftest.err
5710   rm -f conftest.er1
5711   cat conftest.err >&5
5712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713   (exit $ac_status); } >/dev/null; then
5714   if test -s conftest.err; then
5715     ac_cpp_err=$ac_c_preproc_warn_flag
5716     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5717   else
5718     ac_cpp_err=
5719   fi
5720 else
5721   ac_cpp_err=yes
5722 fi
5723 if test -z "$ac_cpp_err"; then
5724   ac_header_preproc=yes
5725 else
5726   echo "$as_me: failed program was:" >&5
5727 sed 's/^/| /' conftest.$ac_ext >&5
5728 
5729   ac_header_preproc=no
5730 fi
5731 rm -f conftest.err conftest.$ac_ext
5732 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5733 echo "${ECHO_T}$ac_header_preproc" >&6
5734 
5735 # So?  What about this header?
5736 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5737   yes:no: )
5738     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&5
5739 echo "$as_me: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5740     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&5
5741 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&2;}
5742     ac_header_preproc=yes
5743     ;;
5744   no:yes:* )
5745     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: present but cannot be compiled" >&5
5746 echo "$as_me: WARNING: sys/mkdev.h: present but cannot be compiled" >&2;}
5747     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h:     check for missing prerequisite headers?" >&5
5748 echo "$as_me: WARNING: sys/mkdev.h:     check for missing prerequisite headers?" >&2;}
5749     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: see the Autoconf documentation" >&5
5750 echo "$as_me: WARNING: sys/mkdev.h: see the Autoconf documentation" >&2;}
5751     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h:     section \"Present But Cannot Be Compiled\"" >&5
5752 echo "$as_me: WARNING: sys/mkdev.h:     section \"Present But Cannot Be Compiled\"" >&2;}
5753     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5
5754 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;}
5755     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&5
5756 echo "$as_me: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&2;}
5757     (
5758       cat <<\_ASBOX
5759 ## --------------------------------- ##
5760 ## Report this to the strace lists.  ##
5761 ## --------------------------------- ##
5762 _ASBOX
5763     ) |
5764       sed "s/^/$as_me: WARNING:     /" >&2
5765     ;;
5766 esac
5767 echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
5768 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
5769 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
5770   echo $ECHO_N "(cached) $ECHO_C" >&6
5771 else
5772   ac_cv_header_sys_mkdev_h=$ac_header_preproc
5773 fi
5774 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
5775 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
5776 
5777 fi
5778 if test $ac_cv_header_sys_mkdev_h = yes; then
5779 
5780 cat >>confdefs.h <<\_ACEOF
5781 #define MAJOR_IN_MKDEV 1
5782 _ACEOF
5783 
5784 fi
5785 
5786 
5787 
5788   if test $ac_cv_header_sys_mkdev_h = no; then
5789     if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
5790   echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
5791 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
5792 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
5793   echo $ECHO_N "(cached) $ECHO_C" >&6
5794 fi
5795 echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
5796 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
5797 else
5798   # Is the header compilable?
5799 echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5
5800 echo $ECHO_N "checking sys/sysmacros.h usability... $ECHO_C" >&6
5801 cat >conftest.$ac_ext <<_ACEOF
5802 /* confdefs.h.  */
5803 _ACEOF
5804 cat confdefs.h >>conftest.$ac_ext
5805 cat >>conftest.$ac_ext <<_ACEOF
5806 /* end confdefs.h.  */
5807 $ac_includes_default
5808 #include <sys/sysmacros.h>
5809 _ACEOF
5810 rm -f conftest.$ac_objext
5811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5812   (eval $ac_compile) 2>conftest.er1
5813   ac_status=$?
5814   grep -v '^ *+' conftest.er1 >conftest.err
5815   rm -f conftest.er1
5816   cat conftest.err >&5
5817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5818   (exit $ac_status); } &&
5819 	 { ac_try='test -z "$ac_c_werror_flag"
5820 			 || test ! -s conftest.err'
5821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5822   (eval $ac_try) 2>&5
5823   ac_status=$?
5824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825   (exit $ac_status); }; } &&
5826 	 { ac_try='test -s conftest.$ac_objext'
5827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5828   (eval $ac_try) 2>&5
5829   ac_status=$?
5830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831   (exit $ac_status); }; }; then
5832   ac_header_compiler=yes
5833 else
5834   echo "$as_me: failed program was:" >&5
5835 sed 's/^/| /' conftest.$ac_ext >&5
5836 
5837 ac_header_compiler=no
5838 fi
5839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5840 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5841 echo "${ECHO_T}$ac_header_compiler" >&6
5842 
5843 # Is the header present?
5844 echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5
5845 echo $ECHO_N "checking sys/sysmacros.h presence... $ECHO_C" >&6
5846 cat >conftest.$ac_ext <<_ACEOF
5847 /* confdefs.h.  */
5848 _ACEOF
5849 cat confdefs.h >>conftest.$ac_ext
5850 cat >>conftest.$ac_ext <<_ACEOF
5851 /* end confdefs.h.  */
5852 #include <sys/sysmacros.h>
5853 _ACEOF
5854 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5855   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5856   ac_status=$?
5857   grep -v '^ *+' conftest.er1 >conftest.err
5858   rm -f conftest.er1
5859   cat conftest.err >&5
5860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861   (exit $ac_status); } >/dev/null; then
5862   if test -s conftest.err; then
5863     ac_cpp_err=$ac_c_preproc_warn_flag
5864     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5865   else
5866     ac_cpp_err=
5867   fi
5868 else
5869   ac_cpp_err=yes
5870 fi
5871 if test -z "$ac_cpp_err"; then
5872   ac_header_preproc=yes
5873 else
5874   echo "$as_me: failed program was:" >&5
5875 sed 's/^/| /' conftest.$ac_ext >&5
5876 
5877   ac_header_preproc=no
5878 fi
5879 rm -f conftest.err conftest.$ac_ext
5880 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5881 echo "${ECHO_T}$ac_header_preproc" >&6
5882 
5883 # So?  What about this header?
5884 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5885   yes:no: )
5886     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&5
5887 echo "$as_me: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5888     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&5
5889 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&2;}
5890     ac_header_preproc=yes
5891     ;;
5892   no:yes:* )
5893     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: present but cannot be compiled" >&5
5894 echo "$as_me: WARNING: sys/sysmacros.h: present but cannot be compiled" >&2;}
5895     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h:     check for missing prerequisite headers?" >&5
5896 echo "$as_me: WARNING: sys/sysmacros.h:     check for missing prerequisite headers?" >&2;}
5897     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&5
5898 echo "$as_me: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&2;}
5899     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h:     section \"Present But Cannot Be Compiled\"" >&5
5900 echo "$as_me: WARNING: sys/sysmacros.h:     section \"Present But Cannot Be Compiled\"" >&2;}
5901     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5
5902 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;}
5903     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&5
5904 echo "$as_me: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&2;}
5905     (
5906       cat <<\_ASBOX
5907 ## --------------------------------- ##
5908 ## Report this to the strace lists.  ##
5909 ## --------------------------------- ##
5910 _ASBOX
5911     ) |
5912       sed "s/^/$as_me: WARNING:     /" >&2
5913     ;;
5914 esac
5915 echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
5916 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
5917 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
5918   echo $ECHO_N "(cached) $ECHO_C" >&6
5919 else
5920   ac_cv_header_sys_sysmacros_h=$ac_header_preproc
5921 fi
5922 echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
5923 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
5924 
5925 fi
5926 if test $ac_cv_header_sys_sysmacros_h = yes; then
5927 
5928 cat >>confdefs.h <<\_ACEOF
5929 #define MAJOR_IN_SYSMACROS 1
5930 _ACEOF
5931 
5932 fi
5933 
5934 
5935   fi
5936 fi
5937 
5938 echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
5939 echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
5940 if test "${ac_cv_type_sig_atomic_t+set}" = set; then
5941   echo $ECHO_N "(cached) $ECHO_C" >&6
5942 else
5943   cat >conftest.$ac_ext <<_ACEOF
5944 /* confdefs.h.  */
5945 _ACEOF
5946 cat confdefs.h >>conftest.$ac_ext
5947 cat >>conftest.$ac_ext <<_ACEOF
5948 /* end confdefs.h.  */
5949 #include <signal.h>
5950 
5951 int
5952 main ()
5953 {
5954 if ((sig_atomic_t *) 0)
5955   return 0;
5956 if (sizeof (sig_atomic_t))
5957   return 0;
5958   ;
5959   return 0;
5960 }
5961 _ACEOF
5962 rm -f conftest.$ac_objext
5963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5964   (eval $ac_compile) 2>conftest.er1
5965   ac_status=$?
5966   grep -v '^ *+' conftest.er1 >conftest.err
5967   rm -f conftest.er1
5968   cat conftest.err >&5
5969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5970   (exit $ac_status); } &&
5971 	 { ac_try='test -z "$ac_c_werror_flag"
5972 			 || test ! -s conftest.err'
5973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5974   (eval $ac_try) 2>&5
5975   ac_status=$?
5976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977   (exit $ac_status); }; } &&
5978 	 { ac_try='test -s conftest.$ac_objext'
5979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5980   (eval $ac_try) 2>&5
5981   ac_status=$?
5982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5983   (exit $ac_status); }; }; then
5984   ac_cv_type_sig_atomic_t=yes
5985 else
5986   echo "$as_me: failed program was:" >&5
5987 sed 's/^/| /' conftest.$ac_ext >&5
5988 
5989 ac_cv_type_sig_atomic_t=no
5990 fi
5991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5992 fi
5993 echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
5994 echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
5995 if test $ac_cv_type_sig_atomic_t = yes; then
5996 
5997 cat >>confdefs.h <<_ACEOF
5998 #define HAVE_SIG_ATOMIC_T 1
5999 _ACEOF
6000 
6001 
6002 fi
6003 echo "$as_me:$LINENO: checking for siginfo_t" >&5
6004 echo $ECHO_N "checking for siginfo_t... $ECHO_C" >&6
6005 if test "${ac_cv_type_siginfo_t+set}" = set; then
6006   echo $ECHO_N "(cached) $ECHO_C" >&6
6007 else
6008   cat >conftest.$ac_ext <<_ACEOF
6009 /* confdefs.h.  */
6010 _ACEOF
6011 cat confdefs.h >>conftest.$ac_ext
6012 cat >>conftest.$ac_ext <<_ACEOF
6013 /* end confdefs.h.  */
6014 #include <signal.h>
6015 
6016 int
6017 main ()
6018 {
6019 if ((siginfo_t *) 0)
6020   return 0;
6021 if (sizeof (siginfo_t))
6022   return 0;
6023   ;
6024   return 0;
6025 }
6026 _ACEOF
6027 rm -f conftest.$ac_objext
6028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6029   (eval $ac_compile) 2>conftest.er1
6030   ac_status=$?
6031   grep -v '^ *+' conftest.er1 >conftest.err
6032   rm -f conftest.er1
6033   cat conftest.err >&5
6034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6035   (exit $ac_status); } &&
6036 	 { ac_try='test -z "$ac_c_werror_flag"
6037 			 || test ! -s conftest.err'
6038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6039   (eval $ac_try) 2>&5
6040   ac_status=$?
6041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6042   (exit $ac_status); }; } &&
6043 	 { ac_try='test -s conftest.$ac_objext'
6044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6045   (eval $ac_try) 2>&5
6046   ac_status=$?
6047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6048   (exit $ac_status); }; }; then
6049   ac_cv_type_siginfo_t=yes
6050 else
6051   echo "$as_me: failed program was:" >&5
6052 sed 's/^/| /' conftest.$ac_ext >&5
6053 
6054 ac_cv_type_siginfo_t=no
6055 fi
6056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6057 fi
6058 echo "$as_me:$LINENO: result: $ac_cv_type_siginfo_t" >&5
6059 echo "${ECHO_T}$ac_cv_type_siginfo_t" >&6
6060 if test $ac_cv_type_siginfo_t = yes; then
6061 
6062 cat >>confdefs.h <<_ACEOF
6063 #define HAVE_SIGINFO_T 1
6064 _ACEOF
6065 
6066 
6067 fi
6068 
6069 echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
6070 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6
6071 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
6072   echo $ECHO_N "(cached) $ECHO_C" >&6
6073 else
6074   cat >conftest.$ac_ext <<_ACEOF
6075 /* confdefs.h.  */
6076 _ACEOF
6077 cat confdefs.h >>conftest.$ac_ext
6078 cat >>conftest.$ac_ext <<_ACEOF
6079 /* end confdefs.h.  */
6080 #include <sys/types.h>
6081 #include <sys/socket.h>
6082 #include <netinet/in.h>
6083 
6084 int
6085 main ()
6086 {
6087 static struct sockaddr_in6 ac_aggr;
6088 if (ac_aggr.sin6_scope_id)
6089 return 0;
6090   ;
6091   return 0;
6092 }
6093 _ACEOF
6094 rm -f conftest.$ac_objext
6095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6096   (eval $ac_compile) 2>conftest.er1
6097   ac_status=$?
6098   grep -v '^ *+' conftest.er1 >conftest.err
6099   rm -f conftest.er1
6100   cat conftest.err >&5
6101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6102   (exit $ac_status); } &&
6103 	 { ac_try='test -z "$ac_c_werror_flag"
6104 			 || test ! -s conftest.err'
6105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6106   (eval $ac_try) 2>&5
6107   ac_status=$?
6108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109   (exit $ac_status); }; } &&
6110 	 { ac_try='test -s conftest.$ac_objext'
6111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6112   (eval $ac_try) 2>&5
6113   ac_status=$?
6114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115   (exit $ac_status); }; }; then
6116   ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
6117 else
6118   echo "$as_me: failed program was:" >&5
6119 sed 's/^/| /' conftest.$ac_ext >&5
6120 
6121 cat >conftest.$ac_ext <<_ACEOF
6122 /* confdefs.h.  */
6123 _ACEOF
6124 cat confdefs.h >>conftest.$ac_ext
6125 cat >>conftest.$ac_ext <<_ACEOF
6126 /* end confdefs.h.  */
6127 #include <sys/types.h>
6128 #include <sys/socket.h>
6129 #include <netinet/in.h>
6130 
6131 int
6132 main ()
6133 {
6134 static struct sockaddr_in6 ac_aggr;
6135 if (sizeof ac_aggr.sin6_scope_id)
6136 return 0;
6137   ;
6138   return 0;
6139 }
6140 _ACEOF
6141 rm -f conftest.$ac_objext
6142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6143   (eval $ac_compile) 2>conftest.er1
6144   ac_status=$?
6145   grep -v '^ *+' conftest.er1 >conftest.err
6146   rm -f conftest.er1
6147   cat conftest.err >&5
6148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6149   (exit $ac_status); } &&
6150 	 { ac_try='test -z "$ac_c_werror_flag"
6151 			 || test ! -s conftest.err'
6152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6153   (eval $ac_try) 2>&5
6154   ac_status=$?
6155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156   (exit $ac_status); }; } &&
6157 	 { ac_try='test -s conftest.$ac_objext'
6158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6159   (eval $ac_try) 2>&5
6160   ac_status=$?
6161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162   (exit $ac_status); }; }; then
6163   ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
6164 else
6165   echo "$as_me: failed program was:" >&5
6166 sed 's/^/| /' conftest.$ac_ext >&5
6167 
6168 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
6169 fi
6170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6171 fi
6172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6173 fi
6174 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
6175 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6
6176 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
6177 
6178 cat >>confdefs.h <<_ACEOF
6179 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
6180 _ACEOF
6181 
6182 
6183 fi
6184 
6185 echo "$as_me:$LINENO: checking for long long" >&5
6186 echo $ECHO_N "checking for long long... $ECHO_C" >&6
6187 if test "${ac_cv_type_long_long+set}" = set; then
6188   echo $ECHO_N "(cached) $ECHO_C" >&6
6189 else
6190   cat >conftest.$ac_ext <<_ACEOF
6191 /* confdefs.h.  */
6192 _ACEOF
6193 cat confdefs.h >>conftest.$ac_ext
6194 cat >>conftest.$ac_ext <<_ACEOF
6195 /* end confdefs.h.  */
6196 $ac_includes_default
6197 int
6198 main ()
6199 {
6200 if ((long long *) 0)
6201   return 0;
6202 if (sizeof (long long))
6203   return 0;
6204   ;
6205   return 0;
6206 }
6207 _ACEOF
6208 rm -f conftest.$ac_objext
6209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6210   (eval $ac_compile) 2>conftest.er1
6211   ac_status=$?
6212   grep -v '^ *+' conftest.er1 >conftest.err
6213   rm -f conftest.er1
6214   cat conftest.err >&5
6215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6216   (exit $ac_status); } &&
6217 	 { ac_try='test -z "$ac_c_werror_flag"
6218 			 || test ! -s conftest.err'
6219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6220   (eval $ac_try) 2>&5
6221   ac_status=$?
6222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223   (exit $ac_status); }; } &&
6224 	 { ac_try='test -s conftest.$ac_objext'
6225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6226   (eval $ac_try) 2>&5
6227   ac_status=$?
6228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6229   (exit $ac_status); }; }; then
6230   ac_cv_type_long_long=yes
6231 else
6232   echo "$as_me: failed program was:" >&5
6233 sed 's/^/| /' conftest.$ac_ext >&5
6234 
6235 ac_cv_type_long_long=no
6236 fi
6237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6238 fi
6239 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
6240 echo "${ECHO_T}$ac_cv_type_long_long" >&6
6241 if test $ac_cv_type_long_long = yes; then
6242 
6243 cat >>confdefs.h <<_ACEOF
6244 #define HAVE_LONG_LONG 1
6245 _ACEOF
6246 
6247 
6248 fi
6249 
6250 echo "$as_me:$LINENO: checking for little endian long long" >&5
6251 echo $ECHO_N "checking for little endian long long... $ECHO_C" >&6
6252 if test "${ac_cv_have_little_endian_long_long+set}" = set; then
6253   echo $ECHO_N "(cached) $ECHO_C" >&6
6254 else
6255   if test "$cross_compiling" = yes; then
6256   # Should try to guess here
6257 ac_cv_have_little_endian_long_long=no
6258 
6259 else
6260   cat >conftest.$ac_ext <<_ACEOF
6261 /* confdefs.h.  */
6262 _ACEOF
6263 cat confdefs.h >>conftest.$ac_ext
6264 cat >>conftest.$ac_ext <<_ACEOF
6265 /* end confdefs.h.  */
6266 
6267 int main () {
6268 	union {
6269 		long long ll;
6270 		long l [2];
6271 	} u;
6272 	u.ll = 0x12345678;
6273 	if (u.l[0] == 0x12345678)
6274 		return 0;
6275 	return 1;
6276 }
6277 
6278 _ACEOF
6279 rm -f conftest$ac_exeext
6280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6281   (eval $ac_link) 2>&5
6282   ac_status=$?
6283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6286   (eval $ac_try) 2>&5
6287   ac_status=$?
6288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289   (exit $ac_status); }; }; then
6290   ac_cv_have_little_endian_long_long=yes
6291 else
6292   echo "$as_me: program exited with status $ac_status" >&5
6293 echo "$as_me: failed program was:" >&5
6294 sed 's/^/| /' conftest.$ac_ext >&5
6295 
6296 ( exit $ac_status )
6297 ac_cv_have_little_endian_long_long=no
6298 fi
6299 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6300 fi
6301 fi
6302 
6303 echo "$as_me:$LINENO: result: $ac_cv_have_little_endian_long_long" >&5
6304 echo "${ECHO_T}$ac_cv_have_little_endian_long_long" >&6
6305 if test "$ac_cv_have_little_endian_long_long" = yes
6306 then
6307 
6308 cat >>confdefs.h <<\_ACEOF
6309 #define HAVE_LITTLE_ENDIAN_LONG_LONG 1
6310 _ACEOF
6311 
6312 fi
6313 
6314 echo "$as_me:$LINENO: checking for long long off_t" >&5
6315 echo $ECHO_N "checking for long long off_t... $ECHO_C" >&6
6316 if test "${ac_cv_have_long_long_off_t+set}" = set; then
6317   echo $ECHO_N "(cached) $ECHO_C" >&6
6318 else
6319   if test "$cross_compiling" = yes; then
6320   # Should try to guess here
6321 ac_cv_have_long_long_off_t=no
6322 
6323 else
6324   cat >conftest.$ac_ext <<_ACEOF
6325 /* confdefs.h.  */
6326 _ACEOF
6327 cat confdefs.h >>conftest.$ac_ext
6328 cat >>conftest.$ac_ext <<_ACEOF
6329 /* end confdefs.h.  */
6330 #include <sys/types.h>
6331 main () {
6332 	if (sizeof (off_t) == sizeof (long long) &&
6333 	    sizeof (off_t) > sizeof (long))
6334 	    return 0;
6335 	return 1;
6336 }
6337 
6338 _ACEOF
6339 rm -f conftest$ac_exeext
6340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6341   (eval $ac_link) 2>&5
6342   ac_status=$?
6343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6344   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6346   (eval $ac_try) 2>&5
6347   ac_status=$?
6348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349   (exit $ac_status); }; }; then
6350   ac_cv_have_long_long_off_t=yes
6351 else
6352   echo "$as_me: program exited with status $ac_status" >&5
6353 echo "$as_me: failed program was:" >&5
6354 sed 's/^/| /' conftest.$ac_ext >&5
6355 
6356 ( exit $ac_status )
6357 ac_cv_have_long_long_off_t=no
6358 fi
6359 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6360 fi
6361 fi
6362 
6363 echo "$as_me:$LINENO: result: $ac_cv_have_long_long_off_t" >&5
6364 echo "${ECHO_T}$ac_cv_have_long_long_off_t" >&6
6365 if test "$ac_cv_have_long_long_off_t" = yes
6366 then
6367 
6368 cat >>confdefs.h <<\_ACEOF
6369 #define HAVE_LONG_LONG_OFF_T 1
6370 _ACEOF
6371 
6372 fi
6373 
6374 echo "$as_me:$LINENO: checking for long long rlim_t" >&5
6375 echo $ECHO_N "checking for long long rlim_t... $ECHO_C" >&6
6376 if test "${ac_cv_have_long_long_rlim_t+set}" = set; then
6377   echo $ECHO_N "(cached) $ECHO_C" >&6
6378 else
6379   if test "$cross_compiling" = yes; then
6380   # Should try to guess here
6381 ac_cv_have_long_long_rlim_t=no
6382 
6383 else
6384   cat >conftest.$ac_ext <<_ACEOF
6385 /* confdefs.h.  */
6386 _ACEOF
6387 cat confdefs.h >>conftest.$ac_ext
6388 cat >>conftest.$ac_ext <<_ACEOF
6389 /* end confdefs.h.  */
6390 #include <sys/types.h>
6391 #include <sys/time.h>
6392 #include <sys/resource.h>
6393 main () {
6394 	if (sizeof (rlim_t) == sizeof (long long) &&
6395 	    sizeof (rlim_t) > sizeof (long))
6396 	    return 0;
6397 	return 1;
6398 }
6399 
6400 _ACEOF
6401 rm -f conftest$ac_exeext
6402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6403   (eval $ac_link) 2>&5
6404   ac_status=$?
6405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6408   (eval $ac_try) 2>&5
6409   ac_status=$?
6410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6411   (exit $ac_status); }; }; then
6412   ac_cv_have_long_long_rlim_t=yes
6413 else
6414   echo "$as_me: program exited with status $ac_status" >&5
6415 echo "$as_me: failed program was:" >&5
6416 sed 's/^/| /' conftest.$ac_ext >&5
6417 
6418 ( exit $ac_status )
6419 ac_cv_have_long_long_rlim_t=no
6420 fi
6421 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6422 fi
6423 fi
6424 
6425 echo "$as_me:$LINENO: result: $ac_cv_have_long_long_rlim_t" >&5
6426 echo "${ECHO_T}$ac_cv_have_long_long_rlim_t" >&6
6427 if test "$ac_cv_have_long_long_rlim_t" = yes
6428 then
6429 
6430 cat >>confdefs.h <<\_ACEOF
6431 #define HAVE_LONG_LONG_RLIM_T 1
6432 _ACEOF
6433 
6434 fi
6435 
6436 echo "$as_me:$LINENO: checking for struct opthdr" >&5
6437 echo $ECHO_N "checking for struct opthdr... $ECHO_C" >&6
6438 if test "${ac_cv_type_struct_opthdr+set}" = set; then
6439   echo $ECHO_N "(cached) $ECHO_C" >&6
6440 else
6441   cat >conftest.$ac_ext <<_ACEOF
6442 /* confdefs.h.  */
6443 _ACEOF
6444 cat confdefs.h >>conftest.$ac_ext
6445 cat >>conftest.$ac_ext <<_ACEOF
6446 /* end confdefs.h.  */
6447 #include <sys/socket.h>
6448 
6449 int
6450 main ()
6451 {
6452 if ((struct opthdr *) 0)
6453   return 0;
6454 if (sizeof (struct opthdr))
6455   return 0;
6456   ;
6457   return 0;
6458 }
6459 _ACEOF
6460 rm -f conftest.$ac_objext
6461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6462   (eval $ac_compile) 2>conftest.er1
6463   ac_status=$?
6464   grep -v '^ *+' conftest.er1 >conftest.err
6465   rm -f conftest.er1
6466   cat conftest.err >&5
6467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468   (exit $ac_status); } &&
6469 	 { ac_try='test -z "$ac_c_werror_flag"
6470 			 || test ! -s conftest.err'
6471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6472   (eval $ac_try) 2>&5
6473   ac_status=$?
6474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6475   (exit $ac_status); }; } &&
6476 	 { ac_try='test -s conftest.$ac_objext'
6477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6478   (eval $ac_try) 2>&5
6479   ac_status=$?
6480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481   (exit $ac_status); }; }; then
6482   ac_cv_type_struct_opthdr=yes
6483 else
6484   echo "$as_me: failed program was:" >&5
6485 sed 's/^/| /' conftest.$ac_ext >&5
6486 
6487 ac_cv_type_struct_opthdr=no
6488 fi
6489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6490 fi
6491 echo "$as_me:$LINENO: result: $ac_cv_type_struct_opthdr" >&5
6492 echo "${ECHO_T}$ac_cv_type_struct_opthdr" >&6
6493 if test $ac_cv_type_struct_opthdr = yes; then
6494 
6495 cat >>confdefs.h <<_ACEOF
6496 #define HAVE_STRUCT_OPTHDR 1
6497 _ACEOF
6498 
6499 
6500 fi
6501 
6502 echo "$as_me:$LINENO: checking for struct t_opthdr" >&5
6503 echo $ECHO_N "checking for struct t_opthdr... $ECHO_C" >&6
6504 if test "${ac_cv_type_struct_t_opthdr+set}" = set; then
6505   echo $ECHO_N "(cached) $ECHO_C" >&6
6506 else
6507   cat >conftest.$ac_ext <<_ACEOF
6508 /* confdefs.h.  */
6509 _ACEOF
6510 cat confdefs.h >>conftest.$ac_ext
6511 cat >>conftest.$ac_ext <<_ACEOF
6512 /* end confdefs.h.  */
6513 #include <sys/tiuser.h>
6514 
6515 int
6516 main ()
6517 {
6518 if ((struct t_opthdr *) 0)
6519   return 0;
6520 if (sizeof (struct t_opthdr))
6521   return 0;
6522   ;
6523   return 0;
6524 }
6525 _ACEOF
6526 rm -f conftest.$ac_objext
6527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6528   (eval $ac_compile) 2>conftest.er1
6529   ac_status=$?
6530   grep -v '^ *+' conftest.er1 >conftest.err
6531   rm -f conftest.er1
6532   cat conftest.err >&5
6533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6534   (exit $ac_status); } &&
6535 	 { ac_try='test -z "$ac_c_werror_flag"
6536 			 || test ! -s conftest.err'
6537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6538   (eval $ac_try) 2>&5
6539   ac_status=$?
6540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541   (exit $ac_status); }; } &&
6542 	 { ac_try='test -s conftest.$ac_objext'
6543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6544   (eval $ac_try) 2>&5
6545   ac_status=$?
6546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6547   (exit $ac_status); }; }; then
6548   ac_cv_type_struct_t_opthdr=yes
6549 else
6550   echo "$as_me: failed program was:" >&5
6551 sed 's/^/| /' conftest.$ac_ext >&5
6552 
6553 ac_cv_type_struct_t_opthdr=no
6554 fi
6555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6556 fi
6557 echo "$as_me:$LINENO: result: $ac_cv_type_struct_t_opthdr" >&5
6558 echo "${ECHO_T}$ac_cv_type_struct_t_opthdr" >&6
6559 if test $ac_cv_type_struct_t_opthdr = yes; then
6560 
6561 cat >>confdefs.h <<_ACEOF
6562 #define HAVE_STRUCT_T_OPTHDR 1
6563 _ACEOF
6564 
6565 
6566 fi
6567 
6568 
6569 if test x$opsys != xlinux; then
6570 
6571 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
6572 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
6573 if test "${ac_cv_lib_nsl_main+set}" = set; then
6574   echo $ECHO_N "(cached) $ECHO_C" >&6
6575 else
6576   ac_check_lib_save_LIBS=$LIBS
6577 LIBS="-lnsl  $LIBS"
6578 cat >conftest.$ac_ext <<_ACEOF
6579 /* confdefs.h.  */
6580 _ACEOF
6581 cat confdefs.h >>conftest.$ac_ext
6582 cat >>conftest.$ac_ext <<_ACEOF
6583 /* end confdefs.h.  */
6584 
6585 
6586 int
6587 main ()
6588 {
6589 main ();
6590   ;
6591   return 0;
6592 }
6593 _ACEOF
6594 rm -f conftest.$ac_objext conftest$ac_exeext
6595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6596   (eval $ac_link) 2>conftest.er1
6597   ac_status=$?
6598   grep -v '^ *+' conftest.er1 >conftest.err
6599   rm -f conftest.er1
6600   cat conftest.err >&5
6601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6602   (exit $ac_status); } &&
6603 	 { ac_try='test -z "$ac_c_werror_flag"
6604 			 || test ! -s conftest.err'
6605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6606   (eval $ac_try) 2>&5
6607   ac_status=$?
6608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609   (exit $ac_status); }; } &&
6610 	 { ac_try='test -s conftest$ac_exeext'
6611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6612   (eval $ac_try) 2>&5
6613   ac_status=$?
6614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615   (exit $ac_status); }; }; then
6616   ac_cv_lib_nsl_main=yes
6617 else
6618   echo "$as_me: failed program was:" >&5
6619 sed 's/^/| /' conftest.$ac_ext >&5
6620 
6621 ac_cv_lib_nsl_main=no
6622 fi
6623 rm -f conftest.err conftest.$ac_objext \
6624       conftest$ac_exeext conftest.$ac_ext
6625 LIBS=$ac_check_lib_save_LIBS
6626 fi
6627 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
6628 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
6629 if test $ac_cv_lib_nsl_main = yes; then
6630   cat >>confdefs.h <<_ACEOF
6631 #define HAVE_LIBNSL 1
6632 _ACEOF
6633 
6634   LIBS="-lnsl $LIBS"
6635 
6636 fi
6637 
6638 fi
6639 
6640 
6641 
6642 
6643 
6644 
6645 
6646 
6647 
6648 
6649 
6650 
6651 
6652 for ac_func in sigaction strerror strsignal pread sys_siglist _sys_siglist getdents mctl prctl sendmsg inet_ntop if_indextoname
6653 do
6654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6655 echo "$as_me:$LINENO: checking for $ac_func" >&5
6656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6657 if eval "test \"\${$as_ac_var+set}\" = set"; then
6658   echo $ECHO_N "(cached) $ECHO_C" >&6
6659 else
6660   cat >conftest.$ac_ext <<_ACEOF
6661 /* confdefs.h.  */
6662 _ACEOF
6663 cat confdefs.h >>conftest.$ac_ext
6664 cat >>conftest.$ac_ext <<_ACEOF
6665 /* end confdefs.h.  */
6666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6668 #define $ac_func innocuous_$ac_func
6669 
6670 /* System header to define __stub macros and hopefully few prototypes,
6671     which can conflict with char $ac_func (); below.
6672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6673     <limits.h> exists even on freestanding compilers.  */
6674 
6675 #ifdef __STDC__
6676 # include <limits.h>
6677 #else
6678 # include <assert.h>
6679 #endif
6680 
6681 #undef $ac_func
6682 
6683 /* Override any gcc2 internal prototype to avoid an error.  */
6684 #ifdef __cplusplus
6685 extern "C"
6686 {
6687 #endif
6688 /* We use char because int might match the return type of a gcc2
6689    builtin and then its argument prototype would still apply.  */
6690 char $ac_func ();
6691 /* The GNU C library defines this for functions which it implements
6692     to always fail with ENOSYS.  Some functions are actually named
6693     something starting with __ and the normal name is an alias.  */
6694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6695 choke me
6696 #else
6697 char (*f) () = $ac_func;
6698 #endif
6699 #ifdef __cplusplus
6700 }
6701 #endif
6702 
6703 int
6704 main ()
6705 {
6706 return f != $ac_func;
6707   ;
6708   return 0;
6709 }
6710 _ACEOF
6711 rm -f conftest.$ac_objext conftest$ac_exeext
6712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6713   (eval $ac_link) 2>conftest.er1
6714   ac_status=$?
6715   grep -v '^ *+' conftest.er1 >conftest.err
6716   rm -f conftest.er1
6717   cat conftest.err >&5
6718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6719   (exit $ac_status); } &&
6720 	 { ac_try='test -z "$ac_c_werror_flag"
6721 			 || test ! -s conftest.err'
6722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6723   (eval $ac_try) 2>&5
6724   ac_status=$?
6725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726   (exit $ac_status); }; } &&
6727 	 { ac_try='test -s conftest$ac_exeext'
6728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6729   (eval $ac_try) 2>&5
6730   ac_status=$?
6731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732   (exit $ac_status); }; }; then
6733   eval "$as_ac_var=yes"
6734 else
6735   echo "$as_me: failed program was:" >&5
6736 sed 's/^/| /' conftest.$ac_ext >&5
6737 
6738 eval "$as_ac_var=no"
6739 fi
6740 rm -f conftest.err conftest.$ac_objext \
6741       conftest$ac_exeext conftest.$ac_ext
6742 fi
6743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6745 if test `eval echo '${'$as_ac_var'}'` = yes; then
6746   cat >>confdefs.h <<_ACEOF
6747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6748 _ACEOF
6749 
6750 fi
6751 done
6752 
6753 
6754 
6755 
6756 
6757 
6758 
6759 
6760 
6761 
6762 
6763 
6764 
6765 
6766 
6767 
6768 
6769 
6770 
6771 
6772 
6773 
6774 
6775 
6776 
6777 
6778 
6779 
6780 
6781 for ac_header in sys/reg.h sys/filio.h sys/acl.h sys/asynch.h sys/door.h stropts.h sys/conf.h sys/stream.h sys/tihdr.h sys/tiuser.h sys/sysconfig.h ioctls.h sys/ioctl.h sys/ptrace.h termio.h linux/ptrace.h asm/reg.h sys/uio.h sys/aio.h  poll.h sys/poll.h sys/vfs.h asm/sysmips.h linux/utsname.h sys/nscsys.h mqueue.h sys/epoll.h libaio.h
6782 do
6783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6785   echo "$as_me:$LINENO: checking for $ac_header" >&5
6786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6788   echo $ECHO_N "(cached) $ECHO_C" >&6
6789 fi
6790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6792 else
6793   # Is the header compilable?
6794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6796 cat >conftest.$ac_ext <<_ACEOF
6797 /* confdefs.h.  */
6798 _ACEOF
6799 cat confdefs.h >>conftest.$ac_ext
6800 cat >>conftest.$ac_ext <<_ACEOF
6801 /* end confdefs.h.  */
6802 $ac_includes_default
6803 #include <$ac_header>
6804 _ACEOF
6805 rm -f conftest.$ac_objext
6806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6807   (eval $ac_compile) 2>conftest.er1
6808   ac_status=$?
6809   grep -v '^ *+' conftest.er1 >conftest.err
6810   rm -f conftest.er1
6811   cat conftest.err >&5
6812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813   (exit $ac_status); } &&
6814 	 { ac_try='test -z "$ac_c_werror_flag"
6815 			 || test ! -s conftest.err'
6816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6817   (eval $ac_try) 2>&5
6818   ac_status=$?
6819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820   (exit $ac_status); }; } &&
6821 	 { ac_try='test -s conftest.$ac_objext'
6822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6823   (eval $ac_try) 2>&5
6824   ac_status=$?
6825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6826   (exit $ac_status); }; }; then
6827   ac_header_compiler=yes
6828 else
6829   echo "$as_me: failed program was:" >&5
6830 sed 's/^/| /' conftest.$ac_ext >&5
6831 
6832 ac_header_compiler=no
6833 fi
6834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6836 echo "${ECHO_T}$ac_header_compiler" >&6
6837 
6838 # Is the header present?
6839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6841 cat >conftest.$ac_ext <<_ACEOF
6842 /* confdefs.h.  */
6843 _ACEOF
6844 cat confdefs.h >>conftest.$ac_ext
6845 cat >>conftest.$ac_ext <<_ACEOF
6846 /* end confdefs.h.  */
6847 #include <$ac_header>
6848 _ACEOF
6849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6850   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6851   ac_status=$?
6852   grep -v '^ *+' conftest.er1 >conftest.err
6853   rm -f conftest.er1
6854   cat conftest.err >&5
6855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6856   (exit $ac_status); } >/dev/null; then
6857   if test -s conftest.err; then
6858     ac_cpp_err=$ac_c_preproc_warn_flag
6859     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6860   else
6861     ac_cpp_err=
6862   fi
6863 else
6864   ac_cpp_err=yes
6865 fi
6866 if test -z "$ac_cpp_err"; then
6867   ac_header_preproc=yes
6868 else
6869   echo "$as_me: failed program was:" >&5
6870 sed 's/^/| /' conftest.$ac_ext >&5
6871 
6872   ac_header_preproc=no
6873 fi
6874 rm -f conftest.err conftest.$ac_ext
6875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6876 echo "${ECHO_T}$ac_header_preproc" >&6
6877 
6878 # So?  What about this header?
6879 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6880   yes:no: )
6881     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6882 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6883     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6884 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6885     ac_header_preproc=yes
6886     ;;
6887   no:yes:* )
6888     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6889 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6890     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6891 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6892     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6893 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6894     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6895 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6896     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6898     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6899 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6900     (
6901       cat <<\_ASBOX
6902 ## --------------------------------- ##
6903 ## Report this to the strace lists.  ##
6904 ## --------------------------------- ##
6905 _ASBOX
6906     ) |
6907       sed "s/^/$as_me: WARNING:     /" >&2
6908     ;;
6909 esac
6910 echo "$as_me:$LINENO: checking for $ac_header" >&5
6911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6913   echo $ECHO_N "(cached) $ECHO_C" >&6
6914 else
6915   eval "$as_ac_Header=\$ac_header_preproc"
6916 fi
6917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6919 
6920 fi
6921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6922   cat >>confdefs.h <<_ACEOF
6923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6924 _ACEOF
6925 
6926 fi
6927 
6928 done
6929 
6930 
6931 
6932 
6933 
6934 for ac_header in linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h
6935 do
6936 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6937 echo "$as_me:$LINENO: checking for $ac_header" >&5
6938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6940   echo $ECHO_N "(cached) $ECHO_C" >&6
6941 else
6942   cat >conftest.$ac_ext <<_ACEOF
6943 /* confdefs.h.  */
6944 _ACEOF
6945 cat confdefs.h >>conftest.$ac_ext
6946 cat >>conftest.$ac_ext <<_ACEOF
6947 /* end confdefs.h.  */
6948 #include <linux/socket.h>
6949 
6950 #include <$ac_header>
6951 _ACEOF
6952 rm -f conftest.$ac_objext
6953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6954   (eval $ac_compile) 2>conftest.er1
6955   ac_status=$?
6956   grep -v '^ *+' conftest.er1 >conftest.err
6957   rm -f conftest.er1
6958   cat conftest.err >&5
6959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6960   (exit $ac_status); } &&
6961 	 { ac_try='test -z "$ac_c_werror_flag"
6962 			 || test ! -s conftest.err'
6963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6964   (eval $ac_try) 2>&5
6965   ac_status=$?
6966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967   (exit $ac_status); }; } &&
6968 	 { ac_try='test -s conftest.$ac_objext'
6969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6970   (eval $ac_try) 2>&5
6971   ac_status=$?
6972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973   (exit $ac_status); }; }; then
6974   eval "$as_ac_Header=yes"
6975 else
6976   echo "$as_me: failed program was:" >&5
6977 sed 's/^/| /' conftest.$ac_ext >&5
6978 
6979 eval "$as_ac_Header=no"
6980 fi
6981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6982 fi
6983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6986   cat >>confdefs.h <<_ACEOF
6987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6988 _ACEOF
6989 
6990 fi
6991 
6992 done
6993 
6994 
6995 for ac_header in asm/sigcontext.h
6996 do
6997 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6998 echo "$as_me:$LINENO: checking for $ac_header" >&5
6999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7001   echo $ECHO_N "(cached) $ECHO_C" >&6
7002 else
7003   cat >conftest.$ac_ext <<_ACEOF
7004 /* confdefs.h.  */
7005 _ACEOF
7006 cat confdefs.h >>conftest.$ac_ext
7007 cat >>conftest.$ac_ext <<_ACEOF
7008 /* end confdefs.h.  */
7009 #include <signal.h>
7010 
7011 #include <$ac_header>
7012 _ACEOF
7013 rm -f conftest.$ac_objext
7014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7015   (eval $ac_compile) 2>conftest.er1
7016   ac_status=$?
7017   grep -v '^ *+' conftest.er1 >conftest.err
7018   rm -f conftest.er1
7019   cat conftest.err >&5
7020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021   (exit $ac_status); } &&
7022 	 { ac_try='test -z "$ac_c_werror_flag"
7023 			 || test ! -s conftest.err'
7024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7025   (eval $ac_try) 2>&5
7026   ac_status=$?
7027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7028   (exit $ac_status); }; } &&
7029 	 { ac_try='test -s conftest.$ac_objext'
7030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7031   (eval $ac_try) 2>&5
7032   ac_status=$?
7033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034   (exit $ac_status); }; }; then
7035   eval "$as_ac_Header=yes"
7036 else
7037   echo "$as_me: failed program was:" >&5
7038 sed 's/^/| /' conftest.$ac_ext >&5
7039 
7040 eval "$as_ac_Header=no"
7041 fi
7042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7043 fi
7044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7046 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7047   cat >>confdefs.h <<_ACEOF
7048 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7049 _ACEOF
7050 
7051 fi
7052 
7053 done
7054 
7055 
7056 
7057 for ac_header in netinet/tcp.h netinet/udp.h
7058 do
7059 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7060 echo "$as_me:$LINENO: checking for $ac_header" >&5
7061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7063   echo $ECHO_N "(cached) $ECHO_C" >&6
7064 else
7065   cat >conftest.$ac_ext <<_ACEOF
7066 /* confdefs.h.  */
7067 _ACEOF
7068 cat confdefs.h >>conftest.$ac_ext
7069 cat >>conftest.$ac_ext <<_ACEOF
7070 /* end confdefs.h.  */
7071 #include <netinet/in.h>
7072 
7073 #include <$ac_header>
7074 _ACEOF
7075 rm -f conftest.$ac_objext
7076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7077   (eval $ac_compile) 2>conftest.er1
7078   ac_status=$?
7079   grep -v '^ *+' conftest.er1 >conftest.err
7080   rm -f conftest.er1
7081   cat conftest.err >&5
7082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7083   (exit $ac_status); } &&
7084 	 { ac_try='test -z "$ac_c_werror_flag"
7085 			 || test ! -s conftest.err'
7086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7087   (eval $ac_try) 2>&5
7088   ac_status=$?
7089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7090   (exit $ac_status); }; } &&
7091 	 { ac_try='test -s conftest.$ac_objext'
7092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7093   (eval $ac_try) 2>&5
7094   ac_status=$?
7095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7096   (exit $ac_status); }; }; then
7097   eval "$as_ac_Header=yes"
7098 else
7099   echo "$as_me: failed program was:" >&5
7100 sed 's/^/| /' conftest.$ac_ext >&5
7101 
7102 eval "$as_ac_Header=no"
7103 fi
7104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7105 fi
7106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7108 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7109   cat >>confdefs.h <<_ACEOF
7110 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7111 _ACEOF
7112 
7113 fi
7114 
7115 done
7116 
7117 
7118 echo "$as_me:$LINENO: checking for MP procfs" >&5
7119 echo $ECHO_N "checking for MP procfs... $ECHO_C" >&6
7120 if test "${ac_cv_mp_procfs+set}" = set; then
7121   echo $ECHO_N "(cached) $ECHO_C" >&6
7122 else
7123   if test "$cross_compiling" = yes; then
7124 
7125 # Guess or punt.
7126 case "$host_os" in
7127 svr4.2*|svr5*)
7128 	ac_cv_mp_procfs=yes
7129 	;;
7130 *)
7131 	ac_cv_mp_procfs=no
7132 	;;
7133 esac
7134 
7135 else
7136   cat >conftest.$ac_ext <<_ACEOF
7137 /* confdefs.h.  */
7138 _ACEOF
7139 cat confdefs.h >>conftest.$ac_ext
7140 cat >>conftest.$ac_ext <<_ACEOF
7141 /* end confdefs.h.  */
7142 
7143 #include <stdio.h>
7144 #include <signal.h>
7145 #include <sys/procfs.h>
7146 
7147 main()
7148 {
7149 	int pid;
7150 	char proc[32];
7151 	FILE *ctl;
7152 	FILE *status;
7153 	int cmd;
7154 	struct pstatus pstatus;
7155 
7156 	if ((pid = fork()) == 0) {
7157 		pause();
7158 		exit(0);
7159 	}
7160 	sprintf(proc, "/proc/%d/ctl", pid);
7161 	if ((ctl = fopen(proc, "w")) == NULL)
7162 		goto fail;
7163 	sprintf(proc, "/proc/%d/status", pid);
7164 	if ((status = fopen (proc, "r")) == NULL)
7165 		goto fail;
7166 	cmd = PCSTOP;
7167 	if (write (fileno (ctl), &cmd, sizeof cmd) < 0)
7168 		goto fail;
7169 	if (read (fileno (status), &pstatus, sizeof pstatus) < 0)
7170 		goto fail;
7171 	kill(pid, SIGKILL);
7172 	exit(0);
7173 fail:
7174 	kill(pid, SIGKILL);
7175 	exit(1);
7176 }
7177 
7178 _ACEOF
7179 rm -f conftest$ac_exeext
7180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7181   (eval $ac_link) 2>&5
7182   ac_status=$?
7183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7186   (eval $ac_try) 2>&5
7187   ac_status=$?
7188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189   (exit $ac_status); }; }; then
7190   ac_cv_mp_procfs=yes
7191 else
7192   echo "$as_me: program exited with status $ac_status" >&5
7193 echo "$as_me: failed program was:" >&5
7194 sed 's/^/| /' conftest.$ac_ext >&5
7195 
7196 ( exit $ac_status )
7197 ac_cv_mp_procfs=no
7198 fi
7199 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7200 fi
7201 fi
7202 
7203 echo "$as_me:$LINENO: result: $ac_cv_mp_procfs" >&5
7204 echo "${ECHO_T}$ac_cv_mp_procfs" >&6
7205 if test "$ac_cv_mp_procfs" = yes
7206 then
7207 
7208 cat >>confdefs.h <<\_ACEOF
7209 #define HAVE_MP_PROCFS 1
7210 _ACEOF
7211 
7212 fi
7213 
7214 echo "$as_me:$LINENO: checking for pollable procfs" >&5
7215 echo $ECHO_N "checking for pollable procfs... $ECHO_C" >&6
7216 if test "${ac_cv_pollable_procfs+set}" = set; then
7217   echo $ECHO_N "(cached) $ECHO_C" >&6
7218 else
7219   if test "$cross_compiling" = yes; then
7220 
7221 # Guess or punt.
7222 case "$host_os" in
7223 solaris2*|irix5*|svr4.2uw*|svr5*)
7224 	ac_cv_pollable_procfs=yes
7225 	;;
7226 *)
7227 	ac_cv_pollable_procfs=no
7228 	;;
7229 esac
7230 
7231 else
7232   cat >conftest.$ac_ext <<_ACEOF
7233 /* confdefs.h.  */
7234 _ACEOF
7235 cat confdefs.h >>conftest.$ac_ext
7236 cat >>conftest.$ac_ext <<_ACEOF
7237 /* end confdefs.h.  */
7238 
7239 #include <stdio.h>
7240 #include <signal.h>
7241 #include <sys/procfs.h>
7242 #include <sys/stropts.h>
7243 #include <poll.h>
7244 
7245 #ifdef HAVE_MP_PROCFS
7246 #define PIOCSTOP	PCSTOP
7247 #define POLLWANT	POLLWRNORM
7248 #define PROC		"/proc/%d/ctl"
7249 #define PROC_MODE	"w"
7250 int IOCTL (int fd, int cmd, int arg) {
7251 	return write (fd, &cmd, sizeof cmd);
7252 }
7253 #else
7254 #define POLLWANT	POLLPRI
7255 #define	PROC		"/proc/%d"
7256 #define PROC_MODE	"r+"
7257 #define IOCTL		ioctl
7258 #endif
7259 
7260 main()
7261 {
7262 	int pid;
7263 	char proc[32];
7264 	FILE *pfp;
7265 	struct pollfd pfd;
7266 
7267 	if ((pid = fork()) == 0) {
7268 		pause();
7269 		exit(0);
7270 	}
7271 	sprintf(proc, PROC, pid);
7272 	if ((pfp = fopen(proc, PROC_MODE)) == NULL)
7273 		goto fail;
7274 	if (IOCTL(fileno(pfp), PIOCSTOP, NULL) < 0)
7275 		goto fail;
7276 	pfd.fd = fileno(pfp);
7277 	pfd.events = POLLWANT;
7278 	if (poll(&pfd, 1, 0) < 0)
7279 		goto fail;
7280 	if (!(pfd.revents & POLLWANT))
7281 		goto fail;
7282 	kill(pid, SIGKILL);
7283 	exit(0);
7284 fail:
7285 	kill(pid, SIGKILL);
7286 	exit(1);
7287 }
7288 
7289 _ACEOF
7290 rm -f conftest$ac_exeext
7291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7292   (eval $ac_link) 2>&5
7293   ac_status=$?
7294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7297   (eval $ac_try) 2>&5
7298   ac_status=$?
7299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7300   (exit $ac_status); }; }; then
7301   ac_cv_pollable_procfs=yes
7302 else
7303   echo "$as_me: program exited with status $ac_status" >&5
7304 echo "$as_me: failed program was:" >&5
7305 sed 's/^/| /' conftest.$ac_ext >&5
7306 
7307 ( exit $ac_status )
7308 ac_cv_pollable_procfs=no
7309 fi
7310 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7311 fi
7312 fi
7313 
7314 echo "$as_me:$LINENO: result: $ac_cv_pollable_procfs" >&5
7315 echo "${ECHO_T}$ac_cv_pollable_procfs" >&6
7316 if test "$ac_cv_pollable_procfs" = yes
7317 then
7318 
7319 cat >>confdefs.h <<\_ACEOF
7320 #define HAVE_POLLABLE_PROCFS 1
7321 _ACEOF
7322 
7323 fi
7324 
7325 
7326 echo "$as_me:$LINENO: checking for struct msghdr.msg_control" >&5
7327 echo $ECHO_N "checking for struct msghdr.msg_control... $ECHO_C" >&6
7328 if test "${ac_cv_member_struct_msghdr_msg_control+set}" = set; then
7329   echo $ECHO_N "(cached) $ECHO_C" >&6
7330 else
7331   cat >conftest.$ac_ext <<_ACEOF
7332 /* confdefs.h.  */
7333 _ACEOF
7334 cat confdefs.h >>conftest.$ac_ext
7335 cat >>conftest.$ac_ext <<_ACEOF
7336 /* end confdefs.h.  */
7337 #include <sys/socket.h>
7338 
7339 int
7340 main ()
7341 {
7342 static struct msghdr ac_aggr;
7343 if (ac_aggr.msg_control)
7344 return 0;
7345   ;
7346   return 0;
7347 }
7348 _ACEOF
7349 rm -f conftest.$ac_objext
7350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7351   (eval $ac_compile) 2>conftest.er1
7352   ac_status=$?
7353   grep -v '^ *+' conftest.er1 >conftest.err
7354   rm -f conftest.er1
7355   cat conftest.err >&5
7356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357   (exit $ac_status); } &&
7358 	 { ac_try='test -z "$ac_c_werror_flag"
7359 			 || test ! -s conftest.err'
7360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7361   (eval $ac_try) 2>&5
7362   ac_status=$?
7363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364   (exit $ac_status); }; } &&
7365 	 { ac_try='test -s conftest.$ac_objext'
7366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7367   (eval $ac_try) 2>&5
7368   ac_status=$?
7369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370   (exit $ac_status); }; }; then
7371   ac_cv_member_struct_msghdr_msg_control=yes
7372 else
7373   echo "$as_me: failed program was:" >&5
7374 sed 's/^/| /' conftest.$ac_ext >&5
7375 
7376 cat >conftest.$ac_ext <<_ACEOF
7377 /* confdefs.h.  */
7378 _ACEOF
7379 cat confdefs.h >>conftest.$ac_ext
7380 cat >>conftest.$ac_ext <<_ACEOF
7381 /* end confdefs.h.  */
7382 #include <sys/socket.h>
7383 
7384 int
7385 main ()
7386 {
7387 static struct msghdr ac_aggr;
7388 if (sizeof ac_aggr.msg_control)
7389 return 0;
7390   ;
7391   return 0;
7392 }
7393 _ACEOF
7394 rm -f conftest.$ac_objext
7395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7396   (eval $ac_compile) 2>conftest.er1
7397   ac_status=$?
7398   grep -v '^ *+' conftest.er1 >conftest.err
7399   rm -f conftest.er1
7400   cat conftest.err >&5
7401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7402   (exit $ac_status); } &&
7403 	 { ac_try='test -z "$ac_c_werror_flag"
7404 			 || test ! -s conftest.err'
7405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7406   (eval $ac_try) 2>&5
7407   ac_status=$?
7408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409   (exit $ac_status); }; } &&
7410 	 { ac_try='test -s conftest.$ac_objext'
7411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7412   (eval $ac_try) 2>&5
7413   ac_status=$?
7414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415   (exit $ac_status); }; }; then
7416   ac_cv_member_struct_msghdr_msg_control=yes
7417 else
7418   echo "$as_me: failed program was:" >&5
7419 sed 's/^/| /' conftest.$ac_ext >&5
7420 
7421 ac_cv_member_struct_msghdr_msg_control=no
7422 fi
7423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7424 fi
7425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7426 fi
7427 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_control" >&5
7428 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_control" >&6
7429 if test $ac_cv_member_struct_msghdr_msg_control = yes; then
7430 
7431 cat >>confdefs.h <<_ACEOF
7432 #define HAVE_STRUCT_MSGHDR_MSG_CONTROL 1
7433 _ACEOF
7434 
7435 
7436 fi
7437 
7438 echo "$as_me:$LINENO: checking for pr_syscall in struct prstatus" >&5
7439 echo $ECHO_N "checking for pr_syscall in struct prstatus... $ECHO_C" >&6
7440 if test "${ac_cv_struct_pr_syscall+set}" = set; then
7441   echo $ECHO_N "(cached) $ECHO_C" >&6
7442 else
7443   cat >conftest.$ac_ext <<_ACEOF
7444 /* confdefs.h.  */
7445 _ACEOF
7446 cat confdefs.h >>conftest.$ac_ext
7447 cat >>conftest.$ac_ext <<_ACEOF
7448 /* end confdefs.h.  */
7449 #include <sys/procfs.h>
7450 int
7451 main ()
7452 {
7453 #ifdef HAVE_MP_PROCFS
7454 pstatus_t s;
7455 s.pr_lwp.pr_syscall
7456 #else
7457 prstatus_t s;
7458 s.pr_syscall
7459 #endif
7460   ;
7461   return 0;
7462 }
7463 _ACEOF
7464 rm -f conftest.$ac_objext
7465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7466   (eval $ac_compile) 2>conftest.er1
7467   ac_status=$?
7468   grep -v '^ *+' conftest.er1 >conftest.err
7469   rm -f conftest.er1
7470   cat conftest.err >&5
7471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7472   (exit $ac_status); } &&
7473 	 { ac_try='test -z "$ac_c_werror_flag"
7474 			 || test ! -s conftest.err'
7475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7476   (eval $ac_try) 2>&5
7477   ac_status=$?
7478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7479   (exit $ac_status); }; } &&
7480 	 { ac_try='test -s conftest.$ac_objext'
7481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7482   (eval $ac_try) 2>&5
7483   ac_status=$?
7484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485   (exit $ac_status); }; }; then
7486   ac_cv_struct_pr_syscall=yes
7487 else
7488   echo "$as_me: failed program was:" >&5
7489 sed 's/^/| /' conftest.$ac_ext >&5
7490 
7491 ac_cv_struct_pr_syscall=no
7492 fi
7493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7494 fi
7495 
7496 echo "$as_me:$LINENO: result: $ac_cv_struct_pr_syscall" >&5
7497 echo "${ECHO_T}$ac_cv_struct_pr_syscall" >&6
7498 if test "$ac_cv_struct_pr_syscall" = yes
7499 then
7500 
7501 cat >>confdefs.h <<\_ACEOF
7502 #define HAVE_PR_SYSCALL 1
7503 _ACEOF
7504 
7505 fi
7506 
7507 
7508 echo "$as_me:$LINENO: checking for struct T_conn_res.QUEUE_ptr" >&5
7509 echo $ECHO_N "checking for struct T_conn_res.QUEUE_ptr... $ECHO_C" >&6
7510 if test "${ac_cv_member_struct_T_conn_res_QUEUE_ptr+set}" = set; then
7511   echo $ECHO_N "(cached) $ECHO_C" >&6
7512 else
7513   cat >conftest.$ac_ext <<_ACEOF
7514 /* confdefs.h.  */
7515 _ACEOF
7516 cat confdefs.h >>conftest.$ac_ext
7517 cat >>conftest.$ac_ext <<_ACEOF
7518 /* end confdefs.h.  */
7519 #include <sys/stream.h>
7520 #include <sys/tihdr.h>
7521 
7522 int
7523 main ()
7524 {
7525 static struct T_conn_res ac_aggr;
7526 if (ac_aggr.QUEUE_ptr)
7527 return 0;
7528   ;
7529   return 0;
7530 }
7531 _ACEOF
7532 rm -f conftest.$ac_objext
7533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7534   (eval $ac_compile) 2>conftest.er1
7535   ac_status=$?
7536   grep -v '^ *+' conftest.er1 >conftest.err
7537   rm -f conftest.er1
7538   cat conftest.err >&5
7539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7540   (exit $ac_status); } &&
7541 	 { ac_try='test -z "$ac_c_werror_flag"
7542 			 || test ! -s conftest.err'
7543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7544   (eval $ac_try) 2>&5
7545   ac_status=$?
7546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547   (exit $ac_status); }; } &&
7548 	 { ac_try='test -s conftest.$ac_objext'
7549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7550   (eval $ac_try) 2>&5
7551   ac_status=$?
7552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553   (exit $ac_status); }; }; then
7554   ac_cv_member_struct_T_conn_res_QUEUE_ptr=yes
7555 else
7556   echo "$as_me: failed program was:" >&5
7557 sed 's/^/| /' conftest.$ac_ext >&5
7558 
7559 cat >conftest.$ac_ext <<_ACEOF
7560 /* confdefs.h.  */
7561 _ACEOF
7562 cat confdefs.h >>conftest.$ac_ext
7563 cat >>conftest.$ac_ext <<_ACEOF
7564 /* end confdefs.h.  */
7565 #include <sys/stream.h>
7566 #include <sys/tihdr.h>
7567 
7568 int
7569 main ()
7570 {
7571 static struct T_conn_res ac_aggr;
7572 if (sizeof ac_aggr.QUEUE_ptr)
7573 return 0;
7574   ;
7575   return 0;
7576 }
7577 _ACEOF
7578 rm -f conftest.$ac_objext
7579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7580   (eval $ac_compile) 2>conftest.er1
7581   ac_status=$?
7582   grep -v '^ *+' conftest.er1 >conftest.err
7583   rm -f conftest.er1
7584   cat conftest.err >&5
7585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7586   (exit $ac_status); } &&
7587 	 { ac_try='test -z "$ac_c_werror_flag"
7588 			 || test ! -s conftest.err'
7589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7590   (eval $ac_try) 2>&5
7591   ac_status=$?
7592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593   (exit $ac_status); }; } &&
7594 	 { ac_try='test -s conftest.$ac_objext'
7595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7596   (eval $ac_try) 2>&5
7597   ac_status=$?
7598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599   (exit $ac_status); }; }; then
7600   ac_cv_member_struct_T_conn_res_QUEUE_ptr=yes
7601 else
7602   echo "$as_me: failed program was:" >&5
7603 sed 's/^/| /' conftest.$ac_ext >&5
7604 
7605 ac_cv_member_struct_T_conn_res_QUEUE_ptr=no
7606 fi
7607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7608 fi
7609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7610 fi
7611 echo "$as_me:$LINENO: result: $ac_cv_member_struct_T_conn_res_QUEUE_ptr" >&5
7612 echo "${ECHO_T}$ac_cv_member_struct_T_conn_res_QUEUE_ptr" >&6
7613 if test $ac_cv_member_struct_T_conn_res_QUEUE_ptr = yes; then
7614 
7615 cat >>confdefs.h <<_ACEOF
7616 #define HAVE_STRUCT_T_CONN_RES_QUEUE_PTR 1
7617 _ACEOF
7618 
7619 
7620 fi
7621 echo "$as_me:$LINENO: checking for struct T_conn_res.ACCEPTOR_id" >&5
7622 echo $ECHO_N "checking for struct T_conn_res.ACCEPTOR_id... $ECHO_C" >&6
7623 if test "${ac_cv_member_struct_T_conn_res_ACCEPTOR_id+set}" = set; then
7624   echo $ECHO_N "(cached) $ECHO_C" >&6
7625 else
7626   cat >conftest.$ac_ext <<_ACEOF
7627 /* confdefs.h.  */
7628 _ACEOF
7629 cat confdefs.h >>conftest.$ac_ext
7630 cat >>conftest.$ac_ext <<_ACEOF
7631 /* end confdefs.h.  */
7632 #include <sys/stream.h>
7633 #include <sys/tihdr.h>
7634 
7635 int
7636 main ()
7637 {
7638 static struct T_conn_res ac_aggr;
7639 if (ac_aggr.ACCEPTOR_id)
7640 return 0;
7641   ;
7642   return 0;
7643 }
7644 _ACEOF
7645 rm -f conftest.$ac_objext
7646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7647   (eval $ac_compile) 2>conftest.er1
7648   ac_status=$?
7649   grep -v '^ *+' conftest.er1 >conftest.err
7650   rm -f conftest.er1
7651   cat conftest.err >&5
7652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653   (exit $ac_status); } &&
7654 	 { ac_try='test -z "$ac_c_werror_flag"
7655 			 || test ! -s conftest.err'
7656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7657   (eval $ac_try) 2>&5
7658   ac_status=$?
7659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7660   (exit $ac_status); }; } &&
7661 	 { ac_try='test -s conftest.$ac_objext'
7662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7663   (eval $ac_try) 2>&5
7664   ac_status=$?
7665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666   (exit $ac_status); }; }; then
7667   ac_cv_member_struct_T_conn_res_ACCEPTOR_id=yes
7668 else
7669   echo "$as_me: failed program was:" >&5
7670 sed 's/^/| /' conftest.$ac_ext >&5
7671 
7672 cat >conftest.$ac_ext <<_ACEOF
7673 /* confdefs.h.  */
7674 _ACEOF
7675 cat confdefs.h >>conftest.$ac_ext
7676 cat >>conftest.$ac_ext <<_ACEOF
7677 /* end confdefs.h.  */
7678 #include <sys/stream.h>
7679 #include <sys/tihdr.h>
7680 
7681 int
7682 main ()
7683 {
7684 static struct T_conn_res ac_aggr;
7685 if (sizeof ac_aggr.ACCEPTOR_id)
7686 return 0;
7687   ;
7688   return 0;
7689 }
7690 _ACEOF
7691 rm -f conftest.$ac_objext
7692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7693   (eval $ac_compile) 2>conftest.er1
7694   ac_status=$?
7695   grep -v '^ *+' conftest.er1 >conftest.err
7696   rm -f conftest.er1
7697   cat conftest.err >&5
7698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7699   (exit $ac_status); } &&
7700 	 { ac_try='test -z "$ac_c_werror_flag"
7701 			 || test ! -s conftest.err'
7702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7703   (eval $ac_try) 2>&5
7704   ac_status=$?
7705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7706   (exit $ac_status); }; } &&
7707 	 { ac_try='test -s conftest.$ac_objext'
7708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7709   (eval $ac_try) 2>&5
7710   ac_status=$?
7711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712   (exit $ac_status); }; }; then
7713   ac_cv_member_struct_T_conn_res_ACCEPTOR_id=yes
7714 else
7715   echo "$as_me: failed program was:" >&5
7716 sed 's/^/| /' conftest.$ac_ext >&5
7717 
7718 ac_cv_member_struct_T_conn_res_ACCEPTOR_id=no
7719 fi
7720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7721 fi
7722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7723 fi
7724 echo "$as_me:$LINENO: result: $ac_cv_member_struct_T_conn_res_ACCEPTOR_id" >&5
7725 echo "${ECHO_T}$ac_cv_member_struct_T_conn_res_ACCEPTOR_id" >&6
7726 if test $ac_cv_member_struct_T_conn_res_ACCEPTOR_id = yes; then
7727 
7728 cat >>confdefs.h <<_ACEOF
7729 #define HAVE_STRUCT_T_CONN_RES_ACCEPTOR_ID 1
7730 _ACEOF
7731 
7732 
7733 fi
7734 
7735 
7736 echo "$as_me:$LINENO: checking for struct __old_kernel_stat" >&5
7737 echo $ECHO_N "checking for struct __old_kernel_stat... $ECHO_C" >&6
7738 if test "${ac_cv_type_struct___old_kernel_stat+set}" = set; then
7739   echo $ECHO_N "(cached) $ECHO_C" >&6
7740 else
7741   cat >conftest.$ac_ext <<_ACEOF
7742 /* confdefs.h.  */
7743 _ACEOF
7744 cat confdefs.h >>conftest.$ac_ext
7745 cat >>conftest.$ac_ext <<_ACEOF
7746 /* end confdefs.h.  */
7747 #include <asm/stat.h>
7748 
7749 int
7750 main ()
7751 {
7752 if ((struct __old_kernel_stat *) 0)
7753   return 0;
7754 if (sizeof (struct __old_kernel_stat))
7755   return 0;
7756   ;
7757   return 0;
7758 }
7759 _ACEOF
7760 rm -f conftest.$ac_objext
7761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7762   (eval $ac_compile) 2>conftest.er1
7763   ac_status=$?
7764   grep -v '^ *+' conftest.er1 >conftest.err
7765   rm -f conftest.er1
7766   cat conftest.err >&5
7767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7768   (exit $ac_status); } &&
7769 	 { ac_try='test -z "$ac_c_werror_flag"
7770 			 || test ! -s conftest.err'
7771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7772   (eval $ac_try) 2>&5
7773   ac_status=$?
7774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7775   (exit $ac_status); }; } &&
7776 	 { ac_try='test -s conftest.$ac_objext'
7777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7778   (eval $ac_try) 2>&5
7779   ac_status=$?
7780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781   (exit $ac_status); }; }; then
7782   ac_cv_type_struct___old_kernel_stat=yes
7783 else
7784   echo "$as_me: failed program was:" >&5
7785 sed 's/^/| /' conftest.$ac_ext >&5
7786 
7787 ac_cv_type_struct___old_kernel_stat=no
7788 fi
7789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7790 fi
7791 echo "$as_me:$LINENO: result: $ac_cv_type_struct___old_kernel_stat" >&5
7792 echo "${ECHO_T}$ac_cv_type_struct___old_kernel_stat" >&6
7793 if test $ac_cv_type_struct___old_kernel_stat = yes; then
7794 
7795 cat >>confdefs.h <<_ACEOF
7796 #define HAVE_STRUCT___OLD_KERNEL_STAT 1
7797 _ACEOF
7798 
7799 
7800 fi
7801 
7802 
7803 echo "$as_me:$LINENO: checking for struct pt_all_user_regs" >&5
7804 echo $ECHO_N "checking for struct pt_all_user_regs... $ECHO_C" >&6
7805 if test "${ac_cv_type_struct_pt_all_user_regs+set}" = set; then
7806   echo $ECHO_N "(cached) $ECHO_C" >&6
7807 else
7808   cat >conftest.$ac_ext <<_ACEOF
7809 /* confdefs.h.  */
7810 _ACEOF
7811 cat confdefs.h >>conftest.$ac_ext
7812 cat >>conftest.$ac_ext <<_ACEOF
7813 /* end confdefs.h.  */
7814 #include <sys/ptrace.h>
7815 
7816 int
7817 main ()
7818 {
7819 if ((struct pt_all_user_regs *) 0)
7820   return 0;
7821 if (sizeof (struct pt_all_user_regs))
7822   return 0;
7823   ;
7824   return 0;
7825 }
7826 _ACEOF
7827 rm -f conftest.$ac_objext
7828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7829   (eval $ac_compile) 2>conftest.er1
7830   ac_status=$?
7831   grep -v '^ *+' conftest.er1 >conftest.err
7832   rm -f conftest.er1
7833   cat conftest.err >&5
7834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835   (exit $ac_status); } &&
7836 	 { ac_try='test -z "$ac_c_werror_flag"
7837 			 || test ! -s conftest.err'
7838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7839   (eval $ac_try) 2>&5
7840   ac_status=$?
7841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7842   (exit $ac_status); }; } &&
7843 	 { ac_try='test -s conftest.$ac_objext'
7844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7845   (eval $ac_try) 2>&5
7846   ac_status=$?
7847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7848   (exit $ac_status); }; }; then
7849   ac_cv_type_struct_pt_all_user_regs=yes
7850 else
7851   echo "$as_me: failed program was:" >&5
7852 sed 's/^/| /' conftest.$ac_ext >&5
7853 
7854 ac_cv_type_struct_pt_all_user_regs=no
7855 fi
7856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7857 fi
7858 echo "$as_me:$LINENO: result: $ac_cv_type_struct_pt_all_user_regs" >&5
7859 echo "${ECHO_T}$ac_cv_type_struct_pt_all_user_regs" >&6
7860 if test $ac_cv_type_struct_pt_all_user_regs = yes; then
7861 
7862 cat >>confdefs.h <<_ACEOF
7863 #define HAVE_STRUCT_PT_ALL_USER_REGS 1
7864 _ACEOF
7865 
7866 
7867 fi
7868 echo "$as_me:$LINENO: checking for struct ia64_fpreg" >&5
7869 echo $ECHO_N "checking for struct ia64_fpreg... $ECHO_C" >&6
7870 if test "${ac_cv_type_struct_ia64_fpreg+set}" = set; then
7871   echo $ECHO_N "(cached) $ECHO_C" >&6
7872 else
7873   cat >conftest.$ac_ext <<_ACEOF
7874 /* confdefs.h.  */
7875 _ACEOF
7876 cat confdefs.h >>conftest.$ac_ext
7877 cat >>conftest.$ac_ext <<_ACEOF
7878 /* end confdefs.h.  */
7879 #include <sys/ptrace.h>
7880 
7881 int
7882 main ()
7883 {
7884 if ((struct ia64_fpreg *) 0)
7885   return 0;
7886 if (sizeof (struct ia64_fpreg))
7887   return 0;
7888   ;
7889   return 0;
7890 }
7891 _ACEOF
7892 rm -f conftest.$ac_objext
7893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7894   (eval $ac_compile) 2>conftest.er1
7895   ac_status=$?
7896   grep -v '^ *+' conftest.er1 >conftest.err
7897   rm -f conftest.er1
7898   cat conftest.err >&5
7899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900   (exit $ac_status); } &&
7901 	 { ac_try='test -z "$ac_c_werror_flag"
7902 			 || test ! -s conftest.err'
7903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7904   (eval $ac_try) 2>&5
7905   ac_status=$?
7906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907   (exit $ac_status); }; } &&
7908 	 { ac_try='test -s conftest.$ac_objext'
7909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7910   (eval $ac_try) 2>&5
7911   ac_status=$?
7912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913   (exit $ac_status); }; }; then
7914   ac_cv_type_struct_ia64_fpreg=yes
7915 else
7916   echo "$as_me: failed program was:" >&5
7917 sed 's/^/| /' conftest.$ac_ext >&5
7918 
7919 ac_cv_type_struct_ia64_fpreg=no
7920 fi
7921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7922 fi
7923 echo "$as_me:$LINENO: result: $ac_cv_type_struct_ia64_fpreg" >&5
7924 echo "${ECHO_T}$ac_cv_type_struct_ia64_fpreg" >&6
7925 if test $ac_cv_type_struct_ia64_fpreg = yes; then
7926 
7927 cat >>confdefs.h <<_ACEOF
7928 #define HAVE_STRUCT_IA64_FPREG 1
7929 _ACEOF
7930 
7931 
7932 fi
7933 
7934 
7935 echo "$as_me:$LINENO: checking for struct user_desc" >&5
7936 echo $ECHO_N "checking for struct user_desc... $ECHO_C" >&6
7937 if test "${ac_cv_type_struct_user_desc+set}" = set; then
7938   echo $ECHO_N "(cached) $ECHO_C" >&6
7939 else
7940   cat >conftest.$ac_ext <<_ACEOF
7941 /* confdefs.h.  */
7942 _ACEOF
7943 cat confdefs.h >>conftest.$ac_ext
7944 cat >>conftest.$ac_ext <<_ACEOF
7945 /* end confdefs.h.  */
7946 #include <asm/ldt.h>
7947 
7948 int
7949 main ()
7950 {
7951 if ((struct user_desc *) 0)
7952   return 0;
7953 if (sizeof (struct user_desc))
7954   return 0;
7955   ;
7956   return 0;
7957 }
7958 _ACEOF
7959 rm -f conftest.$ac_objext
7960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7961   (eval $ac_compile) 2>conftest.er1
7962   ac_status=$?
7963   grep -v '^ *+' conftest.er1 >conftest.err
7964   rm -f conftest.er1
7965   cat conftest.err >&5
7966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967   (exit $ac_status); } &&
7968 	 { ac_try='test -z "$ac_c_werror_flag"
7969 			 || test ! -s conftest.err'
7970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7971   (eval $ac_try) 2>&5
7972   ac_status=$?
7973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974   (exit $ac_status); }; } &&
7975 	 { ac_try='test -s conftest.$ac_objext'
7976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7977   (eval $ac_try) 2>&5
7978   ac_status=$?
7979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980   (exit $ac_status); }; }; then
7981   ac_cv_type_struct_user_desc=yes
7982 else
7983   echo "$as_me: failed program was:" >&5
7984 sed 's/^/| /' conftest.$ac_ext >&5
7985 
7986 ac_cv_type_struct_user_desc=no
7987 fi
7988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7989 fi
7990 echo "$as_me:$LINENO: result: $ac_cv_type_struct_user_desc" >&5
7991 echo "${ECHO_T}$ac_cv_type_struct_user_desc" >&6
7992 if test $ac_cv_type_struct_user_desc = yes; then
7993 
7994 cat >>confdefs.h <<_ACEOF
7995 #define HAVE_STRUCT_USER_DESC 1
7996 _ACEOF
7997 
7998 
7999 fi
8000 
8001 
8002 echo "$as_me:$LINENO: checking whether sys_errlist is declared" >&5
8003 echo $ECHO_N "checking whether sys_errlist is declared... $ECHO_C" >&6
8004 if test "${ac_cv_have_decl_sys_errlist+set}" = set; then
8005   echo $ECHO_N "(cached) $ECHO_C" >&6
8006 else
8007   cat >conftest.$ac_ext <<_ACEOF
8008 /* confdefs.h.  */
8009 _ACEOF
8010 cat confdefs.h >>conftest.$ac_ext
8011 cat >>conftest.$ac_ext <<_ACEOF
8012 /* end confdefs.h.  */
8013 $ac_includes_default
8014 int
8015 main ()
8016 {
8017 #ifndef sys_errlist
8018   char *p = (char *) sys_errlist;
8019 #endif
8020 
8021   ;
8022   return 0;
8023 }
8024 _ACEOF
8025 rm -f conftest.$ac_objext
8026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8027   (eval $ac_compile) 2>conftest.er1
8028   ac_status=$?
8029   grep -v '^ *+' conftest.er1 >conftest.err
8030   rm -f conftest.er1
8031   cat conftest.err >&5
8032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8033   (exit $ac_status); } &&
8034 	 { ac_try='test -z "$ac_c_werror_flag"
8035 			 || test ! -s conftest.err'
8036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8037   (eval $ac_try) 2>&5
8038   ac_status=$?
8039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040   (exit $ac_status); }; } &&
8041 	 { ac_try='test -s conftest.$ac_objext'
8042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8043   (eval $ac_try) 2>&5
8044   ac_status=$?
8045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046   (exit $ac_status); }; }; then
8047   ac_cv_have_decl_sys_errlist=yes
8048 else
8049   echo "$as_me: failed program was:" >&5
8050 sed 's/^/| /' conftest.$ac_ext >&5
8051 
8052 ac_cv_have_decl_sys_errlist=no
8053 fi
8054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8055 fi
8056 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_errlist" >&5
8057 echo "${ECHO_T}$ac_cv_have_decl_sys_errlist" >&6
8058 if test $ac_cv_have_decl_sys_errlist = yes; then
8059 
8060 cat >>confdefs.h <<_ACEOF
8061 #define HAVE_DECL_SYS_ERRLIST 1
8062 _ACEOF
8063 
8064 
8065 else
8066   cat >>confdefs.h <<_ACEOF
8067 #define HAVE_DECL_SYS_ERRLIST 0
8068 _ACEOF
8069 
8070 
8071 fi
8072 
8073 
8074 echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
8075 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6
8076 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
8077   echo $ECHO_N "(cached) $ECHO_C" >&6
8078 else
8079   cat >conftest.$ac_ext <<_ACEOF
8080 /* confdefs.h.  */
8081 _ACEOF
8082 cat confdefs.h >>conftest.$ac_ext
8083 cat >>conftest.$ac_ext <<_ACEOF
8084 /* end confdefs.h.  */
8085 #include <signal.h>
8086 
8087 int
8088 main ()
8089 {
8090 #ifndef sys_siglist
8091   char *p = (char *) sys_siglist;
8092 #endif
8093 
8094   ;
8095   return 0;
8096 }
8097 _ACEOF
8098 rm -f conftest.$ac_objext
8099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8100   (eval $ac_compile) 2>conftest.er1
8101   ac_status=$?
8102   grep -v '^ *+' conftest.er1 >conftest.err
8103   rm -f conftest.er1
8104   cat conftest.err >&5
8105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8106   (exit $ac_status); } &&
8107 	 { ac_try='test -z "$ac_c_werror_flag"
8108 			 || test ! -s conftest.err'
8109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8110   (eval $ac_try) 2>&5
8111   ac_status=$?
8112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113   (exit $ac_status); }; } &&
8114 	 { ac_try='test -s conftest.$ac_objext'
8115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8116   (eval $ac_try) 2>&5
8117   ac_status=$?
8118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8119   (exit $ac_status); }; }; then
8120   ac_cv_have_decl_sys_siglist=yes
8121 else
8122   echo "$as_me: failed program was:" >&5
8123 sed 's/^/| /' conftest.$ac_ext >&5
8124 
8125 ac_cv_have_decl_sys_siglist=no
8126 fi
8127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8128 fi
8129 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
8130 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6
8131 if test $ac_cv_have_decl_sys_siglist = yes; then
8132 
8133 cat >>confdefs.h <<_ACEOF
8134 #define HAVE_DECL_SYS_SIGLIST 1
8135 _ACEOF
8136 
8137 
8138 else
8139   cat >>confdefs.h <<_ACEOF
8140 #define HAVE_DECL_SYS_SIGLIST 0
8141 _ACEOF
8142 
8143 
8144 fi
8145 echo "$as_me:$LINENO: checking whether _sys_siglist is declared" >&5
8146 echo $ECHO_N "checking whether _sys_siglist is declared... $ECHO_C" >&6
8147 if test "${ac_cv_have_decl__sys_siglist+set}" = set; then
8148   echo $ECHO_N "(cached) $ECHO_C" >&6
8149 else
8150   cat >conftest.$ac_ext <<_ACEOF
8151 /* confdefs.h.  */
8152 _ACEOF
8153 cat confdefs.h >>conftest.$ac_ext
8154 cat >>conftest.$ac_ext <<_ACEOF
8155 /* end confdefs.h.  */
8156 #include <signal.h>
8157 
8158 int
8159 main ()
8160 {
8161 #ifndef _sys_siglist
8162   char *p = (char *) _sys_siglist;
8163 #endif
8164 
8165   ;
8166   return 0;
8167 }
8168 _ACEOF
8169 rm -f conftest.$ac_objext
8170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8171   (eval $ac_compile) 2>conftest.er1
8172   ac_status=$?
8173   grep -v '^ *+' conftest.er1 >conftest.err
8174   rm -f conftest.er1
8175   cat conftest.err >&5
8176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177   (exit $ac_status); } &&
8178 	 { ac_try='test -z "$ac_c_werror_flag"
8179 			 || test ! -s conftest.err'
8180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8181   (eval $ac_try) 2>&5
8182   ac_status=$?
8183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184   (exit $ac_status); }; } &&
8185 	 { ac_try='test -s conftest.$ac_objext'
8186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8187   (eval $ac_try) 2>&5
8188   ac_status=$?
8189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8190   (exit $ac_status); }; }; then
8191   ac_cv_have_decl__sys_siglist=yes
8192 else
8193   echo "$as_me: failed program was:" >&5
8194 sed 's/^/| /' conftest.$ac_ext >&5
8195 
8196 ac_cv_have_decl__sys_siglist=no
8197 fi
8198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8199 fi
8200 echo "$as_me:$LINENO: result: $ac_cv_have_decl__sys_siglist" >&5
8201 echo "${ECHO_T}$ac_cv_have_decl__sys_siglist" >&6
8202 if test $ac_cv_have_decl__sys_siglist = yes; then
8203 
8204 cat >>confdefs.h <<_ACEOF
8205 #define HAVE_DECL__SYS_SIGLIST 1
8206 _ACEOF
8207 
8208 
8209 else
8210   cat >>confdefs.h <<_ACEOF
8211 #define HAVE_DECL__SYS_SIGLIST 0
8212 _ACEOF
8213 
8214 
8215 fi
8216 
8217 
8218 
8219 # Extract the first word of "perl", so it can be a program name with args.
8220 set dummy perl; ac_word=$2
8221 echo "$as_me:$LINENO: checking for $ac_word" >&5
8222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8223 if test "${ac_cv_path_PERL+set}" = set; then
8224   echo $ECHO_N "(cached) $ECHO_C" >&6
8225 else
8226   case $PERL in
8227   [\\/]* | ?:[\\/]*)
8228   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
8229   ;;
8230   *)
8231   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8232 for as_dir in $PATH
8233 do
8234   IFS=$as_save_IFS
8235   test -z "$as_dir" && as_dir=.
8236   for ac_exec_ext in '' $ac_executable_extensions; do
8237   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8238     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
8239     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8240     break 2
8241   fi
8242 done
8243 done
8244 
8245   ;;
8246 esac
8247 fi
8248 PERL=$ac_cv_path_PERL
8249 
8250 if test -n "$PERL"; then
8251   echo "$as_me:$LINENO: result: $PERL" >&5
8252 echo "${ECHO_T}$PERL" >&6
8253 else
8254   echo "$as_me:$LINENO: result: no" >&5
8255 echo "${ECHO_T}no" >&6
8256 fi
8257 
8258 
8259           ac_config_files="$ac_config_files Makefile"
8260 
8261 cat >confcache <<\_ACEOF
8262 # This file is a shell script that caches the results of configure
8263 # tests run on this system so they can be shared between configure
8264 # scripts and configure runs, see configure's option --config-cache.
8265 # It is not useful on other systems.  If it contains results you don't
8266 # want to keep, you may remove or edit it.
8267 #
8268 # config.status only pays attention to the cache file if you give it
8269 # the --recheck option to rerun configure.
8270 #
8271 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8272 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8273 # following values.
8274 
8275 _ACEOF
8276 
8277 # The following way of writing the cache mishandles newlines in values,
8278 # but we know of no workaround that is simple, portable, and efficient.
8279 # So, don't put newlines in cache variables' values.
8280 # Ultrix sh set writes to stderr and can't be redirected directly,
8281 # and sets the high bit in the cache file unless we assign to the vars.
8282 {
8283   (set) 2>&1 |
8284     case `(ac_space=' '; set | grep ac_space) 2>&1` in
8285     *ac_space=\ *)
8286       # `set' does not quote correctly, so add quotes (double-quote
8287       # substitution turns \\\\ into \\, and sed turns \\ into \).
8288       sed -n \
8289 	"s/'/'\\\\''/g;
8290 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8291       ;;
8292     *)
8293       # `set' quotes correctly as required by POSIX, so do not add quotes.
8294       sed -n \
8295 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8296       ;;
8297     esac;
8298 } |
8299   sed '
8300      t clear
8301      : clear
8302      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8303      t end
8304      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8305      : end' >>confcache
8306 if diff $cache_file confcache >/dev/null 2>&1; then :; else
8307   if test -w $cache_file; then
8308     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8309     cat confcache >$cache_file
8310   else
8311     echo "not updating unwritable cache $cache_file"
8312   fi
8313 fi
8314 rm -f confcache
8315 
8316 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8317 # Let make expand exec_prefix.
8318 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8319 
8320 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8321 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8322 # trailing colons and then remove the whole line if VPATH becomes empty
8323 # (actually we leave an empty line to preserve line numbers).
8324 if test "x$srcdir" = x.; then
8325   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
8326 s/:*\$(srcdir):*/:/;
8327 s/:*\${srcdir}:*/:/;
8328 s/:*@srcdir@:*/:/;
8329 s/^\([^=]*=[	 ]*\):*/\1/;
8330 s/:*$//;
8331 s/^[^=]*=[	 ]*$//;
8332 }'
8333 fi
8334 
8335 DEFS=-DHAVE_CONFIG_H
8336 
8337 ac_libobjs=
8338 ac_ltlibobjs=
8339 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8340   # 1. Remove the extension, and $U if already installed.
8341   ac_i=`echo "$ac_i" |
8342 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8343   # 2. Add them.
8344   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8345   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
8346 done
8347 LIBOBJS=$ac_libobjs
8348 
8349 LTLIBOBJS=$ac_ltlibobjs
8350 
8351 
8352 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8353   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8354 Usually this means the macro was only invoked conditionally." >&5
8355 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8356 Usually this means the macro was only invoked conditionally." >&2;}
8357    { (exit 1); exit 1; }; }
8358 fi
8359 if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
8360   { { echo "$as_me:$LINENO: error: conditional \"LINUX\" was never defined.
8361 Usually this means the macro was only invoked conditionally." >&5
8362 echo "$as_me: error: conditional \"LINUX\" was never defined.
8363 Usually this means the macro was only invoked conditionally." >&2;}
8364    { (exit 1); exit 1; }; }
8365 fi
8366 if test -z "${I386_TRUE}" && test -z "${I386_FALSE}"; then
8367   { { echo "$as_me:$LINENO: error: conditional \"I386\" was never defined.
8368 Usually this means the macro was only invoked conditionally." >&5
8369 echo "$as_me: error: conditional \"I386\" was never defined.
8370 Usually this means the macro was only invoked conditionally." >&2;}
8371    { (exit 1); exit 1; }; }
8372 fi
8373 if test -z "${X86_64_TRUE}" && test -z "${X86_64_FALSE}"; then
8374   { { echo "$as_me:$LINENO: error: conditional \"X86_64\" was never defined.
8375 Usually this means the macro was only invoked conditionally." >&5
8376 echo "$as_me: error: conditional \"X86_64\" was never defined.
8377 Usually this means the macro was only invoked conditionally." >&2;}
8378    { (exit 1); exit 1; }; }
8379 fi
8380 if test -z "${SUNOS4_TRUE}" && test -z "${SUNOS4_FALSE}"; then
8381   { { echo "$as_me:$LINENO: error: conditional \"SUNOS4\" was never defined.
8382 Usually this means the macro was only invoked conditionally." >&5
8383 echo "$as_me: error: conditional \"SUNOS4\" was never defined.
8384 Usually this means the macro was only invoked conditionally." >&2;}
8385    { (exit 1); exit 1; }; }
8386 fi
8387 if test -z "${SVR4_TRUE}" && test -z "${SVR4_FALSE}"; then
8388   { { echo "$as_me:$LINENO: error: conditional \"SVR4\" was never defined.
8389 Usually this means the macro was only invoked conditionally." >&5
8390 echo "$as_me: error: conditional \"SVR4\" was never defined.
8391 Usually this means the macro was only invoked conditionally." >&2;}
8392    { (exit 1); exit 1; }; }
8393 fi
8394 if test -z "${FREEBSD_TRUE}" && test -z "${FREEBSD_FALSE}"; then
8395   { { echo "$as_me:$LINENO: error: conditional \"FREEBSD\" was never defined.
8396 Usually this means the macro was only invoked conditionally." >&5
8397 echo "$as_me: error: conditional \"FREEBSD\" was never defined.
8398 Usually this means the macro was only invoked conditionally." >&2;}
8399    { (exit 1); exit 1; }; }
8400 fi
8401 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8402   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8403 Usually this means the macro was only invoked conditionally." >&5
8404 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8405 Usually this means the macro was only invoked conditionally." >&2;}
8406    { (exit 1); exit 1; }; }
8407 fi
8408 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8409   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8410 Usually this means the macro was only invoked conditionally." >&5
8411 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8412 Usually this means the macro was only invoked conditionally." >&2;}
8413    { (exit 1); exit 1; }; }
8414 fi
8415 
8416 : ${CONFIG_STATUS=./config.status}
8417 ac_clean_files_save=$ac_clean_files
8418 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8419 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8420 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8421 cat >$CONFIG_STATUS <<_ACEOF
8422 #! $SHELL
8423 # Generated by $as_me.
8424 # Run this file to recreate the current configuration.
8425 # Compiler output produced by configure, useful for debugging
8426 # configure, is in config.log if it exists.
8427 
8428 debug=false
8429 ac_cs_recheck=false
8430 ac_cs_silent=false
8431 SHELL=\${CONFIG_SHELL-$SHELL}
8432 _ACEOF
8433 
8434 cat >>$CONFIG_STATUS <<\_ACEOF
8435 ## --------------------- ##
8436 ## M4sh Initialization.  ##
8437 ## --------------------- ##
8438 
8439 # Be Bourne compatible
8440 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8441   emulate sh
8442   NULLCMD=:
8443   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8444   # is contrary to our usage.  Disable this feature.
8445   alias -g '${1+"$@"}'='"$@"'
8446 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8447   set -o posix
8448 fi
8449 DUALCASE=1; export DUALCASE # for MKS sh
8450 
8451 # Support unset when possible.
8452 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8453   as_unset=unset
8454 else
8455   as_unset=false
8456 fi
8457 
8458 
8459 # Work around bugs in pre-3.0 UWIN ksh.
8460 $as_unset ENV MAIL MAILPATH
8461 PS1='$ '
8462 PS2='> '
8463 PS4='+ '
8464 
8465 # NLS nuisances.
8466 for as_var in \
8467   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8468   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8469   LC_TELEPHONE LC_TIME
8470 do
8471   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8472     eval $as_var=C; export $as_var
8473   else
8474     $as_unset $as_var
8475   fi
8476 done
8477 
8478 # Required to use basename.
8479 if expr a : '\(a\)' >/dev/null 2>&1; then
8480   as_expr=expr
8481 else
8482   as_expr=false
8483 fi
8484 
8485 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
8486   as_basename=basename
8487 else
8488   as_basename=false
8489 fi
8490 
8491 
8492 # Name of the executable.
8493 as_me=`$as_basename "$0" ||
8494 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8495 	 X"$0" : 'X\(//\)$' \| \
8496 	 X"$0" : 'X\(/\)$' \| \
8497 	 .     : '\(.\)' 2>/dev/null ||
8498 echo X/"$0" |
8499     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8500   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
8501   	  /^X\/\(\/\).*/{ s//\1/; q; }
8502   	  s/.*/./; q'`
8503 
8504 
8505 # PATH needs CR, and LINENO needs CR and PATH.
8506 # Avoid depending upon Character Ranges.
8507 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8508 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8509 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8510 as_cr_digits='0123456789'
8511 as_cr_alnum=$as_cr_Letters$as_cr_digits
8512 
8513 # The user is always right.
8514 if test "${PATH_SEPARATOR+set}" != set; then
8515   echo "#! /bin/sh" >conf$$.sh
8516   echo  "exit 0"   >>conf$$.sh
8517   chmod +x conf$$.sh
8518   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8519     PATH_SEPARATOR=';'
8520   else
8521     PATH_SEPARATOR=:
8522   fi
8523   rm -f conf$$.sh
8524 fi
8525 
8526 
8527   as_lineno_1=$LINENO
8528   as_lineno_2=$LINENO
8529   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8530   test "x$as_lineno_1" != "x$as_lineno_2" &&
8531   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
8532   # Find who we are.  Look in the path if we contain no path at all
8533   # relative or not.
8534   case $0 in
8535     *[\\/]* ) as_myself=$0 ;;
8536     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8537 for as_dir in $PATH
8538 do
8539   IFS=$as_save_IFS
8540   test -z "$as_dir" && as_dir=.
8541   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8542 done
8543 
8544        ;;
8545   esac
8546   # We did not find ourselves, most probably we were run as `sh COMMAND'
8547   # in which case we are not to be found in the path.
8548   if test "x$as_myself" = x; then
8549     as_myself=$0
8550   fi
8551   if test ! -f "$as_myself"; then
8552     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8553 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8554    { (exit 1); exit 1; }; }
8555   fi
8556   case $CONFIG_SHELL in
8557   '')
8558     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8559 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8560 do
8561   IFS=$as_save_IFS
8562   test -z "$as_dir" && as_dir=.
8563   for as_base in sh bash ksh sh5; do
8564 	 case $as_dir in
8565 	 /*)
8566 	   if ("$as_dir/$as_base" -c '
8567   as_lineno_1=$LINENO
8568   as_lineno_2=$LINENO
8569   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8570   test "x$as_lineno_1" != "x$as_lineno_2" &&
8571   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
8572 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8573 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8574 	     CONFIG_SHELL=$as_dir/$as_base
8575 	     export CONFIG_SHELL
8576 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8577 	   fi;;
8578 	 esac
8579        done
8580 done
8581 ;;
8582   esac
8583 
8584   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8585   # uniformly replaced by the line number.  The first 'sed' inserts a
8586   # line-number line before each line; the second 'sed' does the real
8587   # work.  The second script uses 'N' to pair each line-number line
8588   # with the numbered line, and appends trailing '-' during
8589   # substitution so that $LINENO is not a special case at line end.
8590   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8591   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
8592   sed '=' <$as_myself |
8593     sed '
8594       N
8595       s,$,-,
8596       : loop
8597       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8598       t loop
8599       s,-$,,
8600       s,^['$as_cr_digits']*\n,,
8601     ' >$as_me.lineno &&
8602   chmod +x $as_me.lineno ||
8603     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8604 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8605    { (exit 1); exit 1; }; }
8606 
8607   # Don't try to exec as it changes $[0], causing all sort of problems
8608   # (the dirname of $[0] is not the place where we might find the
8609   # original and so on.  Autoconf is especially sensible to this).
8610   . ./$as_me.lineno
8611   # Exit status is that of the last command.
8612   exit
8613 }
8614 
8615 
8616 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8617   *c*,-n*) ECHO_N= ECHO_C='
8618 ' ECHO_T='	' ;;
8619   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8620   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
8621 esac
8622 
8623 if expr a : '\(a\)' >/dev/null 2>&1; then
8624   as_expr=expr
8625 else
8626   as_expr=false
8627 fi
8628 
8629 rm -f conf$$ conf$$.exe conf$$.file
8630 echo >conf$$.file
8631 if ln -s conf$$.file conf$$ 2>/dev/null; then
8632   # We could just check for DJGPP; but this test a) works b) is more generic
8633   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8634   if test -f conf$$.exe; then
8635     # Don't use ln at all; we don't have any links
8636     as_ln_s='cp -p'
8637   else
8638     as_ln_s='ln -s'
8639   fi
8640 elif ln conf$$.file conf$$ 2>/dev/null; then
8641   as_ln_s=ln
8642 else
8643   as_ln_s='cp -p'
8644 fi
8645 rm -f conf$$ conf$$.exe conf$$.file
8646 
8647 if mkdir -p . 2>/dev/null; then
8648   as_mkdir_p=:
8649 else
8650   test -d ./-p && rmdir ./-p
8651   as_mkdir_p=false
8652 fi
8653 
8654 as_executable_p="test -f"
8655 
8656 # Sed expression to map a string onto a valid CPP name.
8657 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8658 
8659 # Sed expression to map a string onto a valid variable name.
8660 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8661 
8662 
8663 # IFS
8664 # We need space, tab and new line, in precisely that order.
8665 as_nl='
8666 '
8667 IFS=" 	$as_nl"
8668 
8669 # CDPATH.
8670 $as_unset CDPATH
8671 
8672 exec 6>&1
8673 
8674 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8675 # report actual input values of CONFIG_FILES etc. instead of their
8676 # values after options handling.  Logging --version etc. is OK.
8677 exec 5>>config.log
8678 {
8679   echo
8680   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8681 ## Running $as_me. ##
8682 _ASBOX
8683 } >&5
8684 cat >&5 <<_CSEOF
8685 
8686 This file was extended by strace $as_me 4.5.12, which was
8687 generated by GNU Autoconf 2.59.  Invocation command line was
8688 
8689   CONFIG_FILES    = $CONFIG_FILES
8690   CONFIG_HEADERS  = $CONFIG_HEADERS
8691   CONFIG_LINKS    = $CONFIG_LINKS
8692   CONFIG_COMMANDS = $CONFIG_COMMANDS
8693   $ $0 $@
8694 
8695 _CSEOF
8696 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8697 echo >&5
8698 _ACEOF
8699 
8700 # Files that config.status was made for.
8701 if test -n "$ac_config_files"; then
8702   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8703 fi
8704 
8705 if test -n "$ac_config_headers"; then
8706   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8707 fi
8708 
8709 if test -n "$ac_config_links"; then
8710   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8711 fi
8712 
8713 if test -n "$ac_config_commands"; then
8714   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8715 fi
8716 
8717 cat >>$CONFIG_STATUS <<\_ACEOF
8718 
8719 ac_cs_usage="\
8720 \`$as_me' instantiates files from templates according to the
8721 current configuration.
8722 
8723 Usage: $0 [OPTIONS] [FILE]...
8724 
8725   -h, --help       print this help, then exit
8726   -V, --version    print version number, then exit
8727   -q, --quiet      do not print progress messages
8728   -d, --debug      don't remove temporary files
8729       --recheck    update $as_me by reconfiguring in the same conditions
8730   --file=FILE[:TEMPLATE]
8731 		   instantiate the configuration file FILE
8732   --header=FILE[:TEMPLATE]
8733 		   instantiate the configuration header FILE
8734 
8735 Configuration files:
8736 $config_files
8737 
8738 Configuration headers:
8739 $config_headers
8740 
8741 Configuration commands:
8742 $config_commands
8743 
8744 Report bugs to <bug-autoconf@gnu.org>."
8745 _ACEOF
8746 
8747 cat >>$CONFIG_STATUS <<_ACEOF
8748 ac_cs_version="\\
8749 strace config.status 4.5.12
8750 configured by $0, generated by GNU Autoconf 2.59,
8751   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8752 
8753 Copyright (C) 2003 Free Software Foundation, Inc.
8754 This config.status script is free software; the Free Software Foundation
8755 gives unlimited permission to copy, distribute and modify it."
8756 srcdir=$srcdir
8757 INSTALL="$INSTALL"
8758 _ACEOF
8759 
8760 cat >>$CONFIG_STATUS <<\_ACEOF
8761 # If no file are specified by the user, then we need to provide default
8762 # value.  By we need to know if files were specified by the user.
8763 ac_need_defaults=:
8764 while test $# != 0
8765 do
8766   case $1 in
8767   --*=*)
8768     ac_option=`expr "x$1" : 'x\([^=]*\)='`
8769     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8770     ac_shift=:
8771     ;;
8772   -*)
8773     ac_option=$1
8774     ac_optarg=$2
8775     ac_shift=shift
8776     ;;
8777   *) # This is not an option, so the user has probably given explicit
8778      # arguments.
8779      ac_option=$1
8780      ac_need_defaults=false;;
8781   esac
8782 
8783   case $ac_option in
8784   # Handling of the options.
8785 _ACEOF
8786 cat >>$CONFIG_STATUS <<\_ACEOF
8787   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8788     ac_cs_recheck=: ;;
8789   --version | --vers* | -V )
8790     echo "$ac_cs_version"; exit 0 ;;
8791   --he | --h)
8792     # Conflict between --help and --header
8793     { { echo "$as_me:$LINENO: error: ambiguous option: $1
8794 Try \`$0 --help' for more information." >&5
8795 echo "$as_me: error: ambiguous option: $1
8796 Try \`$0 --help' for more information." >&2;}
8797    { (exit 1); exit 1; }; };;
8798   --help | --hel | -h )
8799     echo "$ac_cs_usage"; exit 0 ;;
8800   --debug | --d* | -d )
8801     debug=: ;;
8802   --file | --fil | --fi | --f )
8803     $ac_shift
8804     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8805     ac_need_defaults=false;;
8806   --header | --heade | --head | --hea )
8807     $ac_shift
8808     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8809     ac_need_defaults=false;;
8810   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8811   | -silent | --silent | --silen | --sile | --sil | --si | --s)
8812     ac_cs_silent=: ;;
8813 
8814   # This is an error.
8815   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8816 Try \`$0 --help' for more information." >&5
8817 echo "$as_me: error: unrecognized option: $1
8818 Try \`$0 --help' for more information." >&2;}
8819    { (exit 1); exit 1; }; } ;;
8820 
8821   *) ac_config_targets="$ac_config_targets $1" ;;
8822 
8823   esac
8824   shift
8825 done
8826 
8827 ac_configure_extra_args=
8828 
8829 if $ac_cs_silent; then
8830   exec 6>/dev/null
8831   ac_configure_extra_args="$ac_configure_extra_args --silent"
8832 fi
8833 
8834 _ACEOF
8835 cat >>$CONFIG_STATUS <<_ACEOF
8836 if \$ac_cs_recheck; then
8837   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8838   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8839 fi
8840 
8841 _ACEOF
8842 
8843 cat >>$CONFIG_STATUS <<_ACEOF
8844 #
8845 # INIT-COMMANDS section.
8846 #
8847 
8848 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8849 
8850 _ACEOF
8851 
8852 
8853 
8854 cat >>$CONFIG_STATUS <<\_ACEOF
8855 for ac_config_target in $ac_config_targets
8856 do
8857   case "$ac_config_target" in
8858   # Handling of arguments.
8859   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8860   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8861   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8862   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8863 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8864    { (exit 1); exit 1; }; };;
8865   esac
8866 done
8867 
8868 # If the user did not use the arguments to specify the items to instantiate,
8869 # then the envvar interface is used.  Set only those that are not.
8870 # We use the long form for the default assignment because of an extremely
8871 # bizarre bug on SunOS 4.1.3.
8872 if $ac_need_defaults; then
8873   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8874   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8875   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8876 fi
8877 
8878 # Have a temporary directory for convenience.  Make it in the build tree
8879 # simply because there is no reason to put it here, and in addition,
8880 # creating and moving files from /tmp can sometimes cause problems.
8881 # Create a temporary directory, and hook for its removal unless debugging.
8882 $debug ||
8883 {
8884   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8885   trap '{ (exit 1); exit 1; }' 1 2 13 15
8886 }
8887 
8888 # Create a (secure) tmp directory for tmp files.
8889 
8890 {
8891   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8892   test -n "$tmp" && test -d "$tmp"
8893 }  ||
8894 {
8895   tmp=./confstat$$-$RANDOM
8896   (umask 077 && mkdir $tmp)
8897 } ||
8898 {
8899    echo "$me: cannot create a temporary directory in ." >&2
8900    { (exit 1); exit 1; }
8901 }
8902 
8903 _ACEOF
8904 
8905 cat >>$CONFIG_STATUS <<_ACEOF
8906 
8907 #
8908 # CONFIG_FILES section.
8909 #
8910 
8911 # No need to generate the scripts if there are no CONFIG_FILES.
8912 # This happens for instance when ./config.status config.h
8913 if test -n "\$CONFIG_FILES"; then
8914   # Protect against being on the right side of a sed subst in config.status.
8915   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8916    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8917 s,@SHELL@,$SHELL,;t t
8918 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8919 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8920 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8921 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8922 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8923 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8924 s,@exec_prefix@,$exec_prefix,;t t
8925 s,@prefix@,$prefix,;t t
8926 s,@program_transform_name@,$program_transform_name,;t t
8927 s,@bindir@,$bindir,;t t
8928 s,@sbindir@,$sbindir,;t t
8929 s,@libexecdir@,$libexecdir,;t t
8930 s,@datadir@,$datadir,;t t
8931 s,@sysconfdir@,$sysconfdir,;t t
8932 s,@sharedstatedir@,$sharedstatedir,;t t
8933 s,@localstatedir@,$localstatedir,;t t
8934 s,@libdir@,$libdir,;t t
8935 s,@includedir@,$includedir,;t t
8936 s,@oldincludedir@,$oldincludedir,;t t
8937 s,@infodir@,$infodir,;t t
8938 s,@mandir@,$mandir,;t t
8939 s,@build_alias@,$build_alias,;t t
8940 s,@host_alias@,$host_alias,;t t
8941 s,@target_alias@,$target_alias,;t t
8942 s,@DEFS@,$DEFS,;t t
8943 s,@ECHO_C@,$ECHO_C,;t t
8944 s,@ECHO_N@,$ECHO_N,;t t
8945 s,@ECHO_T@,$ECHO_T,;t t
8946 s,@LIBS@,$LIBS,;t t
8947 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8948 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8949 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8950 s,@CYGPATH_W@,$CYGPATH_W,;t t
8951 s,@PACKAGE@,$PACKAGE,;t t
8952 s,@VERSION@,$VERSION,;t t
8953 s,@ACLOCAL@,$ACLOCAL,;t t
8954 s,@AUTOCONF@,$AUTOCONF,;t t
8955 s,@AUTOMAKE@,$AUTOMAKE,;t t
8956 s,@AUTOHEADER@,$AUTOHEADER,;t t
8957 s,@MAKEINFO@,$MAKEINFO,;t t
8958 s,@install_sh@,$install_sh,;t t
8959 s,@STRIP@,$STRIP,;t t
8960 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8961 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8962 s,@mkdir_p@,$mkdir_p,;t t
8963 s,@AWK@,$AWK,;t t
8964 s,@SET_MAKE@,$SET_MAKE,;t t
8965 s,@am__leading_dot@,$am__leading_dot,;t t
8966 s,@AMTAR@,$AMTAR,;t t
8967 s,@am__tar@,$am__tar,;t t
8968 s,@am__untar@,$am__untar,;t t
8969 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
8970 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
8971 s,@MAINT@,$MAINT,;t t
8972 s,@build@,$build,;t t
8973 s,@build_cpu@,$build_cpu,;t t
8974 s,@build_vendor@,$build_vendor,;t t
8975 s,@build_os@,$build_os,;t t
8976 s,@host@,$host,;t t
8977 s,@host_cpu@,$host_cpu,;t t
8978 s,@host_vendor@,$host_vendor,;t t
8979 s,@host_os@,$host_os,;t t
8980 s,@opsys@,$opsys,;t t
8981 s,@arch@,$arch,;t t
8982 s,@LINUX_TRUE@,$LINUX_TRUE,;t t
8983 s,@LINUX_FALSE@,$LINUX_FALSE,;t t
8984 s,@I386_TRUE@,$I386_TRUE,;t t
8985 s,@I386_FALSE@,$I386_FALSE,;t t
8986 s,@X86_64_TRUE@,$X86_64_TRUE,;t t
8987 s,@X86_64_FALSE@,$X86_64_FALSE,;t t
8988 s,@SUNOS4_TRUE@,$SUNOS4_TRUE,;t t
8989 s,@SUNOS4_FALSE@,$SUNOS4_FALSE,;t t
8990 s,@SVR4_TRUE@,$SVR4_TRUE,;t t
8991 s,@SVR4_FALSE@,$SVR4_FALSE,;t t
8992 s,@FREEBSD_TRUE@,$FREEBSD_TRUE,;t t
8993 s,@FREEBSD_FALSE@,$FREEBSD_FALSE,;t t
8994 s,@CC@,$CC,;t t
8995 s,@CFLAGS@,$CFLAGS,;t t
8996 s,@LDFLAGS@,$LDFLAGS,;t t
8997 s,@CPPFLAGS@,$CPPFLAGS,;t t
8998 s,@ac_ct_CC@,$ac_ct_CC,;t t
8999 s,@EXEEXT@,$EXEEXT,;t t
9000 s,@OBJEXT@,$OBJEXT,;t t
9001 s,@DEPDIR@,$DEPDIR,;t t
9002 s,@am__include@,$am__include,;t t
9003 s,@am__quote@,$am__quote,;t t
9004 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
9005 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
9006 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
9007 s,@CCDEPMODE@,$CCDEPMODE,;t t
9008 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
9009 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
9010 s,@WARNFLAGS@,$WARNFLAGS,;t t
9011 s,@CPP@,$CPP,;t t
9012 s,@EGREP@,$EGREP,;t t
9013 s,@PERL@,$PERL,;t t
9014 s,@LIBOBJS@,$LIBOBJS,;t t
9015 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9016 CEOF
9017 
9018 _ACEOF
9019 
9020   cat >>$CONFIG_STATUS <<\_ACEOF
9021   # Split the substitutions into bite-sized pieces for seds with
9022   # small command number limits, like on Digital OSF/1 and HP-UX.
9023   ac_max_sed_lines=48
9024   ac_sed_frag=1 # Number of current file.
9025   ac_beg=1 # First line for current file.
9026   ac_end=$ac_max_sed_lines # Line after last line for current file.
9027   ac_more_lines=:
9028   ac_sed_cmds=
9029   while $ac_more_lines; do
9030     if test $ac_beg -gt 1; then
9031       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9032     else
9033       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9034     fi
9035     if test ! -s $tmp/subs.frag; then
9036       ac_more_lines=false
9037     else
9038       # The purpose of the label and of the branching condition is to
9039       # speed up the sed processing (if there are no `@' at all, there
9040       # is no need to browse any of the substitutions).
9041       # These are the two extra sed commands mentioned above.
9042       (echo ':t
9043   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9044       if test -z "$ac_sed_cmds"; then
9045 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9046       else
9047 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9048       fi
9049       ac_sed_frag=`expr $ac_sed_frag + 1`
9050       ac_beg=$ac_end
9051       ac_end=`expr $ac_end + $ac_max_sed_lines`
9052     fi
9053   done
9054   if test -z "$ac_sed_cmds"; then
9055     ac_sed_cmds=cat
9056   fi
9057 fi # test -n "$CONFIG_FILES"
9058 
9059 _ACEOF
9060 cat >>$CONFIG_STATUS <<\_ACEOF
9061 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
9062   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9063   case $ac_file in
9064   - | *:- | *:-:* ) # input from stdin
9065 	cat >$tmp/stdin
9066 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9067 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9068   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9069 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9070   * )   ac_file_in=$ac_file.in ;;
9071   esac
9072 
9073   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9074   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9075 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9076 	 X"$ac_file" : 'X\(//\)[^/]' \| \
9077 	 X"$ac_file" : 'X\(//\)$' \| \
9078 	 X"$ac_file" : 'X\(/\)' \| \
9079 	 .     : '\(.\)' 2>/dev/null ||
9080 echo X"$ac_file" |
9081     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9082   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9083   	  /^X\(\/\/\)$/{ s//\1/; q; }
9084   	  /^X\(\/\).*/{ s//\1/; q; }
9085   	  s/.*/./; q'`
9086   { if $as_mkdir_p; then
9087     mkdir -p "$ac_dir"
9088   else
9089     as_dir="$ac_dir"
9090     as_dirs=
9091     while test ! -d "$as_dir"; do
9092       as_dirs="$as_dir $as_dirs"
9093       as_dir=`(dirname "$as_dir") 2>/dev/null ||
9094 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9095 	 X"$as_dir" : 'X\(//\)[^/]' \| \
9096 	 X"$as_dir" : 'X\(//\)$' \| \
9097 	 X"$as_dir" : 'X\(/\)' \| \
9098 	 .     : '\(.\)' 2>/dev/null ||
9099 echo X"$as_dir" |
9100     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9101   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9102   	  /^X\(\/\/\)$/{ s//\1/; q; }
9103   	  /^X\(\/\).*/{ s//\1/; q; }
9104   	  s/.*/./; q'`
9105     done
9106     test ! -n "$as_dirs" || mkdir $as_dirs
9107   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9108 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9109    { (exit 1); exit 1; }; }; }
9110 
9111   ac_builddir=.
9112 
9113 if test "$ac_dir" != .; then
9114   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9115   # A "../" for each directory in $ac_dir_suffix.
9116   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9117 else
9118   ac_dir_suffix= ac_top_builddir=
9119 fi
9120 
9121 case $srcdir in
9122   .)  # No --srcdir option.  We are building in place.
9123     ac_srcdir=.
9124     if test -z "$ac_top_builddir"; then
9125        ac_top_srcdir=.
9126     else
9127        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9128     fi ;;
9129   [\\/]* | ?:[\\/]* )  # Absolute path.
9130     ac_srcdir=$srcdir$ac_dir_suffix;
9131     ac_top_srcdir=$srcdir ;;
9132   *) # Relative path.
9133     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9134     ac_top_srcdir=$ac_top_builddir$srcdir ;;
9135 esac
9136 
9137 # Do not use `cd foo && pwd` to compute absolute paths, because
9138 # the directories may not exist.
9139 case `pwd` in
9140 .) ac_abs_builddir="$ac_dir";;
9141 *)
9142   case "$ac_dir" in
9143   .) ac_abs_builddir=`pwd`;;
9144   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9145   *) ac_abs_builddir=`pwd`/"$ac_dir";;
9146   esac;;
9147 esac
9148 case $ac_abs_builddir in
9149 .) ac_abs_top_builddir=${ac_top_builddir}.;;
9150 *)
9151   case ${ac_top_builddir}. in
9152   .) ac_abs_top_builddir=$ac_abs_builddir;;
9153   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9154   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9155   esac;;
9156 esac
9157 case $ac_abs_builddir in
9158 .) ac_abs_srcdir=$ac_srcdir;;
9159 *)
9160   case $ac_srcdir in
9161   .) ac_abs_srcdir=$ac_abs_builddir;;
9162   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9163   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9164   esac;;
9165 esac
9166 case $ac_abs_builddir in
9167 .) ac_abs_top_srcdir=$ac_top_srcdir;;
9168 *)
9169   case $ac_top_srcdir in
9170   .) ac_abs_top_srcdir=$ac_abs_builddir;;
9171   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9172   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9173   esac;;
9174 esac
9175 
9176 
9177   case $INSTALL in
9178   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9179   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
9180   esac
9181 
9182   if test x"$ac_file" != x-; then
9183     { echo "$as_me:$LINENO: creating $ac_file" >&5
9184 echo "$as_me: creating $ac_file" >&6;}
9185     rm -f "$ac_file"
9186   fi
9187   # Let's still pretend it is `configure' which instantiates (i.e., don't
9188   # use $as_me), people would be surprised to read:
9189   #    /* config.h.  Generated by config.status.  */
9190   if test x"$ac_file" = x-; then
9191     configure_input=
9192   else
9193     configure_input="$ac_file.  "
9194   fi
9195   configure_input=$configure_input"Generated from `echo $ac_file_in |
9196 				     sed 's,.*/,,'` by configure."
9197 
9198   # First look for the input files in the build tree, otherwise in the
9199   # src tree.
9200   ac_file_inputs=`IFS=:
9201     for f in $ac_file_in; do
9202       case $f in
9203       -) echo $tmp/stdin ;;
9204       [\\/$]*)
9205 	 # Absolute (can't be DOS-style, as IFS=:)
9206 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9207 echo "$as_me: error: cannot find input file: $f" >&2;}
9208    { (exit 1); exit 1; }; }
9209 	 echo "$f";;
9210       *) # Relative
9211 	 if test -f "$f"; then
9212 	   # Build tree
9213 	   echo "$f"
9214 	 elif test -f "$srcdir/$f"; then
9215 	   # Source tree
9216 	   echo "$srcdir/$f"
9217 	 else
9218 	   # /dev/null tree
9219 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9220 echo "$as_me: error: cannot find input file: $f" >&2;}
9221    { (exit 1); exit 1; }; }
9222 	 fi;;
9223       esac
9224     done` || { (exit 1); exit 1; }
9225 _ACEOF
9226 cat >>$CONFIG_STATUS <<_ACEOF
9227   sed "$ac_vpsub
9228 $extrasub
9229 _ACEOF
9230 cat >>$CONFIG_STATUS <<\_ACEOF
9231 :t
9232 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9233 s,@configure_input@,$configure_input,;t t
9234 s,@srcdir@,$ac_srcdir,;t t
9235 s,@abs_srcdir@,$ac_abs_srcdir,;t t
9236 s,@top_srcdir@,$ac_top_srcdir,;t t
9237 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
9238 s,@builddir@,$ac_builddir,;t t
9239 s,@abs_builddir@,$ac_abs_builddir,;t t
9240 s,@top_builddir@,$ac_top_builddir,;t t
9241 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
9242 s,@INSTALL@,$ac_INSTALL,;t t
9243 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9244   rm -f $tmp/stdin
9245   if test x"$ac_file" != x-; then
9246     mv $tmp/out $ac_file
9247   else
9248     cat $tmp/out
9249     rm -f $tmp/out
9250   fi
9251 
9252 done
9253 _ACEOF
9254 cat >>$CONFIG_STATUS <<\_ACEOF
9255 
9256 #
9257 # CONFIG_HEADER section.
9258 #
9259 
9260 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
9261 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9262 #
9263 # ac_d sets the value in "#define NAME VALUE" lines.
9264 ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
9265 ac_dB='[	 ].*$,\1#\2'
9266 ac_dC=' '
9267 ac_dD=',;t'
9268 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9269 ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
9270 ac_uB='$,\1#\2define\3'
9271 ac_uC=' '
9272 ac_uD=',;t'
9273 
9274 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
9275   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9276   case $ac_file in
9277   - | *:- | *:-:* ) # input from stdin
9278 	cat >$tmp/stdin
9279 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9280 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9281   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9282 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9283   * )   ac_file_in=$ac_file.in ;;
9284   esac
9285 
9286   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
9287 echo "$as_me: creating $ac_file" >&6;}
9288 
9289   # First look for the input files in the build tree, otherwise in the
9290   # src tree.
9291   ac_file_inputs=`IFS=:
9292     for f in $ac_file_in; do
9293       case $f in
9294       -) echo $tmp/stdin ;;
9295       [\\/$]*)
9296 	 # Absolute (can't be DOS-style, as IFS=:)
9297 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9298 echo "$as_me: error: cannot find input file: $f" >&2;}
9299    { (exit 1); exit 1; }; }
9300 	 # Do quote $f, to prevent DOS paths from being IFS'd.
9301 	 echo "$f";;
9302       *) # Relative
9303 	 if test -f "$f"; then
9304 	   # Build tree
9305 	   echo "$f"
9306 	 elif test -f "$srcdir/$f"; then
9307 	   # Source tree
9308 	   echo "$srcdir/$f"
9309 	 else
9310 	   # /dev/null tree
9311 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9312 echo "$as_me: error: cannot find input file: $f" >&2;}
9313    { (exit 1); exit 1; }; }
9314 	 fi;;
9315       esac
9316     done` || { (exit 1); exit 1; }
9317   # Remove the trailing spaces.
9318   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
9319 
9320 _ACEOF
9321 
9322 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9323 # `conftest.undefs', that substitutes the proper values into
9324 # config.h.in to produce config.h.  The first handles `#define'
9325 # templates, and the second `#undef' templates.
9326 # And first: Protect against being on the right side of a sed subst in
9327 # config.status.  Protect against being in an unquoted here document
9328 # in config.status.
9329 rm -f conftest.defines conftest.undefs
9330 # Using a here document instead of a string reduces the quoting nightmare.
9331 # Putting comments in sed scripts is not portable.
9332 #
9333 # `end' is used to avoid that the second main sed command (meant for
9334 # 0-ary CPP macros) applies to n-ary macro definitions.
9335 # See the Autoconf documentation for `clear'.
9336 cat >confdef2sed.sed <<\_ACEOF
9337 s/[\\&,]/\\&/g
9338 s,[\\$`],\\&,g
9339 t clear
9340 : clear
9341 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9342 t end
9343 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9344 : end
9345 _ACEOF
9346 # If some macros were called several times there might be several times
9347 # the same #defines, which is useless.  Nevertheless, we may not want to
9348 # sort them, since we want the *last* AC-DEFINE to be honored.
9349 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9350 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9351 rm -f confdef2sed.sed
9352 
9353 # This sed command replaces #undef with comments.  This is necessary, for
9354 # example, in the case of _POSIX_SOURCE, which is predefined and required
9355 # on some systems where configure will not decide to define it.
9356 cat >>conftest.undefs <<\_ACEOF
9357 s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9358 _ACEOF
9359 
9360 # Break up conftest.defines because some shells have a limit on the size
9361 # of here documents, and old seds have small limits too (100 cmds).
9362 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9363 echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9364 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9365 echo '  :' >>$CONFIG_STATUS
9366 rm -f conftest.tail
9367 while grep . conftest.defines >/dev/null
9368 do
9369   # Write a limited-size here document to $tmp/defines.sed.
9370   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9371   # Speed up: don't consider the non `#define' lines.
9372   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
9373   # Work around the forget-to-reset-the-flag bug.
9374   echo 't clr' >>$CONFIG_STATUS
9375   echo ': clr' >>$CONFIG_STATUS
9376   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
9377   echo 'CEOF
9378   sed -f $tmp/defines.sed $tmp/in >$tmp/out
9379   rm -f $tmp/in
9380   mv $tmp/out $tmp/in
9381 ' >>$CONFIG_STATUS
9382   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9383   rm -f conftest.defines
9384   mv conftest.tail conftest.defines
9385 done
9386 rm -f conftest.defines
9387 echo '  fi # grep' >>$CONFIG_STATUS
9388 echo >>$CONFIG_STATUS
9389 
9390 # Break up conftest.undefs because some shells have a limit on the size
9391 # of here documents, and old seds have small limits too (100 cmds).
9392 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
9393 rm -f conftest.tail
9394 while grep . conftest.undefs >/dev/null
9395 do
9396   # Write a limited-size here document to $tmp/undefs.sed.
9397   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9398   # Speed up: don't consider the non `#undef'
9399   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
9400   # Work around the forget-to-reset-the-flag bug.
9401   echo 't clr' >>$CONFIG_STATUS
9402   echo ': clr' >>$CONFIG_STATUS
9403   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9404   echo 'CEOF
9405   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9406   rm -f $tmp/in
9407   mv $tmp/out $tmp/in
9408 ' >>$CONFIG_STATUS
9409   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9410   rm -f conftest.undefs
9411   mv conftest.tail conftest.undefs
9412 done
9413 rm -f conftest.undefs
9414 
9415 cat >>$CONFIG_STATUS <<\_ACEOF
9416   # Let's still pretend it is `configure' which instantiates (i.e., don't
9417   # use $as_me), people would be surprised to read:
9418   #    /* config.h.  Generated by config.status.  */
9419   if test x"$ac_file" = x-; then
9420     echo "/* Generated by configure.  */" >$tmp/config.h
9421   else
9422     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
9423   fi
9424   cat $tmp/in >>$tmp/config.h
9425   rm -f $tmp/in
9426   if test x"$ac_file" != x-; then
9427     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
9428       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9429 echo "$as_me: $ac_file is unchanged" >&6;}
9430     else
9431       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9432 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9433 	 X"$ac_file" : 'X\(//\)[^/]' \| \
9434 	 X"$ac_file" : 'X\(//\)$' \| \
9435 	 X"$ac_file" : 'X\(/\)' \| \
9436 	 .     : '\(.\)' 2>/dev/null ||
9437 echo X"$ac_file" |
9438     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9439   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9440   	  /^X\(\/\/\)$/{ s//\1/; q; }
9441   	  /^X\(\/\).*/{ s//\1/; q; }
9442   	  s/.*/./; q'`
9443       { if $as_mkdir_p; then
9444     mkdir -p "$ac_dir"
9445   else
9446     as_dir="$ac_dir"
9447     as_dirs=
9448     while test ! -d "$as_dir"; do
9449       as_dirs="$as_dir $as_dirs"
9450       as_dir=`(dirname "$as_dir") 2>/dev/null ||
9451 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9452 	 X"$as_dir" : 'X\(//\)[^/]' \| \
9453 	 X"$as_dir" : 'X\(//\)$' \| \
9454 	 X"$as_dir" : 'X\(/\)' \| \
9455 	 .     : '\(.\)' 2>/dev/null ||
9456 echo X"$as_dir" |
9457     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9458   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9459   	  /^X\(\/\/\)$/{ s//\1/; q; }
9460   	  /^X\(\/\).*/{ s//\1/; q; }
9461   	  s/.*/./; q'`
9462     done
9463     test ! -n "$as_dirs" || mkdir $as_dirs
9464   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9465 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9466    { (exit 1); exit 1; }; }; }
9467 
9468       rm -f $ac_file
9469       mv $tmp/config.h $ac_file
9470     fi
9471   else
9472     cat $tmp/config.h
9473     rm -f $tmp/config.h
9474   fi
9475 # Compute $ac_file's index in $config_headers.
9476 _am_stamp_count=1
9477 for _am_header in $config_headers :; do
9478   case $_am_header in
9479     $ac_file | $ac_file:* )
9480       break ;;
9481     * )
9482       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9483   esac
9484 done
9485 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9486 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9487 	 X$ac_file : 'X\(//\)[^/]' \| \
9488 	 X$ac_file : 'X\(//\)$' \| \
9489 	 X$ac_file : 'X\(/\)' \| \
9490 	 .     : '\(.\)' 2>/dev/null ||
9491 echo X$ac_file |
9492     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9493   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9494   	  /^X\(\/\/\)$/{ s//\1/; q; }
9495   	  /^X\(\/\).*/{ s//\1/; q; }
9496   	  s/.*/./; q'`/stamp-h$_am_stamp_count
9497 done
9498 _ACEOF
9499 cat >>$CONFIG_STATUS <<\_ACEOF
9500 
9501 #
9502 # CONFIG_COMMANDS section.
9503 #
9504 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
9505   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9506   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
9507   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
9508 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9509 	 X"$ac_dest" : 'X\(//\)[^/]' \| \
9510 	 X"$ac_dest" : 'X\(//\)$' \| \
9511 	 X"$ac_dest" : 'X\(/\)' \| \
9512 	 .     : '\(.\)' 2>/dev/null ||
9513 echo X"$ac_dest" |
9514     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9515   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9516   	  /^X\(\/\/\)$/{ s//\1/; q; }
9517   	  /^X\(\/\).*/{ s//\1/; q; }
9518   	  s/.*/./; q'`
9519   { if $as_mkdir_p; then
9520     mkdir -p "$ac_dir"
9521   else
9522     as_dir="$ac_dir"
9523     as_dirs=
9524     while test ! -d "$as_dir"; do
9525       as_dirs="$as_dir $as_dirs"
9526       as_dir=`(dirname "$as_dir") 2>/dev/null ||
9527 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9528 	 X"$as_dir" : 'X\(//\)[^/]' \| \
9529 	 X"$as_dir" : 'X\(//\)$' \| \
9530 	 X"$as_dir" : 'X\(/\)' \| \
9531 	 .     : '\(.\)' 2>/dev/null ||
9532 echo X"$as_dir" |
9533     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9534   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9535   	  /^X\(\/\/\)$/{ s//\1/; q; }
9536   	  /^X\(\/\).*/{ s//\1/; q; }
9537   	  s/.*/./; q'`
9538     done
9539     test ! -n "$as_dirs" || mkdir $as_dirs
9540   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9541 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9542    { (exit 1); exit 1; }; }; }
9543 
9544   ac_builddir=.
9545 
9546 if test "$ac_dir" != .; then
9547   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9548   # A "../" for each directory in $ac_dir_suffix.
9549   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9550 else
9551   ac_dir_suffix= ac_top_builddir=
9552 fi
9553 
9554 case $srcdir in
9555   .)  # No --srcdir option.  We are building in place.
9556     ac_srcdir=.
9557     if test -z "$ac_top_builddir"; then
9558        ac_top_srcdir=.
9559     else
9560        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9561     fi ;;
9562   [\\/]* | ?:[\\/]* )  # Absolute path.
9563     ac_srcdir=$srcdir$ac_dir_suffix;
9564     ac_top_srcdir=$srcdir ;;
9565   *) # Relative path.
9566     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9567     ac_top_srcdir=$ac_top_builddir$srcdir ;;
9568 esac
9569 
9570 # Do not use `cd foo && pwd` to compute absolute paths, because
9571 # the directories may not exist.
9572 case `pwd` in
9573 .) ac_abs_builddir="$ac_dir";;
9574 *)
9575   case "$ac_dir" in
9576   .) ac_abs_builddir=`pwd`;;
9577   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9578   *) ac_abs_builddir=`pwd`/"$ac_dir";;
9579   esac;;
9580 esac
9581 case $ac_abs_builddir in
9582 .) ac_abs_top_builddir=${ac_top_builddir}.;;
9583 *)
9584   case ${ac_top_builddir}. in
9585   .) ac_abs_top_builddir=$ac_abs_builddir;;
9586   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9587   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9588   esac;;
9589 esac
9590 case $ac_abs_builddir in
9591 .) ac_abs_srcdir=$ac_srcdir;;
9592 *)
9593   case $ac_srcdir in
9594   .) ac_abs_srcdir=$ac_abs_builddir;;
9595   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9596   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9597   esac;;
9598 esac
9599 case $ac_abs_builddir in
9600 .) ac_abs_top_srcdir=$ac_top_srcdir;;
9601 *)
9602   case $ac_top_srcdir in
9603   .) ac_abs_top_srcdir=$ac_abs_builddir;;
9604   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9605   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9606   esac;;
9607 esac
9608 
9609 
9610   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9611 echo "$as_me: executing $ac_dest commands" >&6;}
9612   case $ac_dest in
9613     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9614   # Strip MF so we end up with the name of the file.
9615   mf=`echo "$mf" | sed -e 's/:.*$//'`
9616   # Check whether this is an Automake generated Makefile or not.
9617   # We used to match only the files named `Makefile.in', but
9618   # some people rename them; so instead we look at the file content.
9619   # Grep'ing the first line is not enough: some people post-process
9620   # each Makefile.in and add a new line on top of each file to say so.
9621   # So let's grep whole file.
9622   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9623     dirpart=`(dirname "$mf") 2>/dev/null ||
9624 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9625 	 X"$mf" : 'X\(//\)[^/]' \| \
9626 	 X"$mf" : 'X\(//\)$' \| \
9627 	 X"$mf" : 'X\(/\)' \| \
9628 	 .     : '\(.\)' 2>/dev/null ||
9629 echo X"$mf" |
9630     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9631   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9632   	  /^X\(\/\/\)$/{ s//\1/; q; }
9633   	  /^X\(\/\).*/{ s//\1/; q; }
9634   	  s/.*/./; q'`
9635   else
9636     continue
9637   fi
9638   # Extract the definition of DEPDIR, am__include, and am__quote
9639   # from the Makefile without running `make'.
9640   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9641   test -z "$DEPDIR" && continue
9642   am__include=`sed -n 's/^am__include = //p' < "$mf"`
9643   test -z "am__include" && continue
9644   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9645   # When using ansi2knr, U may be empty or an underscore; expand it
9646   U=`sed -n 's/^U = //p' < "$mf"`
9647   # Find all dependency output files, they are included files with
9648   # $(DEPDIR) in their names.  We invoke sed twice because it is the
9649   # simplest approach to changing $(DEPDIR) to its actual value in the
9650   # expansion.
9651   for file in `sed -n "
9652     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9653        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9654     # Make sure the directory exists.
9655     test -f "$dirpart/$file" && continue
9656     fdir=`(dirname "$file") 2>/dev/null ||
9657 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9658 	 X"$file" : 'X\(//\)[^/]' \| \
9659 	 X"$file" : 'X\(//\)$' \| \
9660 	 X"$file" : 'X\(/\)' \| \
9661 	 .     : '\(.\)' 2>/dev/null ||
9662 echo X"$file" |
9663     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9664   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9665   	  /^X\(\/\/\)$/{ s//\1/; q; }
9666   	  /^X\(\/\).*/{ s//\1/; q; }
9667   	  s/.*/./; q'`
9668     { if $as_mkdir_p; then
9669     mkdir -p $dirpart/$fdir
9670   else
9671     as_dir=$dirpart/$fdir
9672     as_dirs=
9673     while test ! -d "$as_dir"; do
9674       as_dirs="$as_dir $as_dirs"
9675       as_dir=`(dirname "$as_dir") 2>/dev/null ||
9676 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9677 	 X"$as_dir" : 'X\(//\)[^/]' \| \
9678 	 X"$as_dir" : 'X\(//\)$' \| \
9679 	 X"$as_dir" : 'X\(/\)' \| \
9680 	 .     : '\(.\)' 2>/dev/null ||
9681 echo X"$as_dir" |
9682     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9683   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9684   	  /^X\(\/\/\)$/{ s//\1/; q; }
9685   	  /^X\(\/\).*/{ s//\1/; q; }
9686   	  s/.*/./; q'`
9687     done
9688     test ! -n "$as_dirs" || mkdir $as_dirs
9689   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9690 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9691    { (exit 1); exit 1; }; }; }
9692 
9693     # echo "creating $dirpart/$file"
9694     echo '# dummy' > "$dirpart/$file"
9695   done
9696 done
9697  ;;
9698   esac
9699 done
9700 _ACEOF
9701 
9702 cat >>$CONFIG_STATUS <<\_ACEOF
9703 
9704 { (exit 0); exit 0; }
9705 _ACEOF
9706 chmod +x $CONFIG_STATUS
9707 ac_clean_files=$ac_clean_files_save
9708 
9709 
9710 # configure is writing to config.log, and then calls config.status.
9711 # config.status does its own redirection, appending to config.log.
9712 # Unfortunately, on DOS this fails, as config.log is still kept open
9713 # by configure, so config.status won't be able to write to it; its
9714 # output is simply discarded.  So we exec the FD to /dev/null,
9715 # effectively closing config.log, so it can be properly (re)opened and
9716 # appended to by config.status.  When coming back to configure, we
9717 # need to make the FD available again.
9718 if test "$no_create" != yes; then
9719   ac_cs_success=:
9720   ac_config_status_args=
9721   test "$silent" = yes &&
9722     ac_config_status_args="$ac_config_status_args --quiet"
9723   exec 5>/dev/null
9724   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9725   exec 5>>config.log
9726   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9727   # would make configure fail if this is the last instruction.
9728   $ac_cs_success || { (exit 1); exit 1; }
9729 fi
9730 
9731