OSDN Git Service

2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / libmudflap / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libmudflap 1.0.
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='libmudflap'
269 PACKAGE_TARNAME='libmudflap'
270 PACKAGE_VERSION='1.0'
271 PACKAGE_STRING='libmudflap 1.0'
272 PACKAGE_BUGREPORT=''
273
274 ac_unique_file="mf-runtime.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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os 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 multi_basedir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CFLAGS CPP CPPFLAGS EGREP LN_S RANLIB ac_ct_RANLIB LIBTOOL enable_shared enable_static MF_HAVE_STDINT_H MF_HAVE_UINTPTR_T LIBMUDFLAPTH_TRUE LIBMUDFLAPTH_FALSE build_libmudflapth gcc_version toolexecdir toolexeclibdir NM ac_ct_NM SECTION_FLAGS 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_CPP_set=${CPP+set}
754 ac_env_CPP_value=$CPP
755 ac_cv_env_CPP_set=${CPP+set}
756 ac_cv_env_CPP_value=$CPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761
762 #
763 # Report the --help message.
764 #
765 if test "$ac_init_help" = "long"; then
766   # Omit some internal or obsolete options to make the list less imposing.
767   # This message is too long to be a string in the A/UX 3.1 sh.
768   cat <<_ACEOF
769 \`configure' configures libmudflap 1.0 to adapt to many kinds of systems.
770
771 Usage: $0 [OPTION]... [VAR=VALUE]...
772
773 To assign environment variables (e.g., CC, CFLAGS...), specify them as
774 VAR=VALUE.  See below for descriptions of some of the useful variables.
775
776 Defaults for the options are specified in brackets.
777
778 Configuration:
779   -h, --help              display this help and exit
780       --help=short        display options specific to this package
781       --help=recursive    display the short help of all the included packages
782   -V, --version           display version information and exit
783   -q, --quiet, --silent   do not print \`checking...' messages
784       --cache-file=FILE   cache test results in FILE [disabled]
785   -C, --config-cache      alias for \`--cache-file=config.cache'
786   -n, --no-create         do not create output files
787       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
788
789 _ACEOF
790
791   cat <<_ACEOF
792 Installation directories:
793   --prefix=PREFIX         install architecture-independent files in PREFIX
794                           [$ac_default_prefix]
795   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
796                           [PREFIX]
797
798 By default, \`make install' will install all the files in
799 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
800 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
801 for instance \`--prefix=\$HOME'.
802
803 For better control, use the options below.
804
805 Fine tuning of the installation directories:
806   --bindir=DIR           user executables [EPREFIX/bin]
807   --sbindir=DIR          system admin executables [EPREFIX/sbin]
808   --libexecdir=DIR       program executables [EPREFIX/libexec]
809   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
810   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
811   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
812   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
813   --libdir=DIR           object code libraries [EPREFIX/lib]
814   --includedir=DIR       C header files [PREFIX/include]
815   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
816   --infodir=DIR          info documentation [PREFIX/info]
817   --mandir=DIR           man documentation [PREFIX/man]
818 _ACEOF
819
820   cat <<\_ACEOF
821
822 Program names:
823   --program-prefix=PREFIX            prepend PREFIX to installed program names
824   --program-suffix=SUFFIX            append SUFFIX to installed program names
825   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
826
827 System types:
828   --build=BUILD     configure for building on BUILD [guessed]
829   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
830   --target=TARGET   configure for building compilers for TARGET [HOST]
831 _ACEOF
832 fi
833
834 if test -n "$ac_init_help"; then
835   case $ac_init_help in
836      short | recursive ) echo "Configuration of libmudflap 1.0:";;
837    esac
838   cat <<\_ACEOF
839
840 Optional Features:
841   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
842   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
843   --enable-version-specific-runtime-libs    Specify that runtime libraries should be installed in a compiler-specific directory
844   --enable-maintainer-mode  enable make rules and dependencies not useful
845                           (and sometimes confusing) to the casual installer
846   --enable-multilib       build many library versions (default)
847   --disable-dependency-tracking  speeds up one-time build
848   --enable-dependency-tracking   do not reject slow dependency extractors
849   --enable-shared=PKGS  build shared libraries default=yes
850   --enable-static=PKGS  build static libraries default=yes
851   --enable-fast-install=PKGS  optimize for fast installation default=yes
852   --disable-libtool-lock  avoid locking (might break parallel builds)
853
854 Optional Packages:
855   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
856   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
857   --with-gnu-ld           assume the C compiler uses GNU ld default=no
858   --with-pic              try to use only PIC/non-PIC objects default=use both
859
860 Some influential environment variables:
861   CC          C compiler command
862   CFLAGS      C compiler flags
863   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
864               nonstandard directory <lib dir>
865   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
866               headers in a nonstandard directory <include dir>
867   CPP         C preprocessor
868
869 Use these variables to override the choices made by `configure' or to help
870 it to find libraries and programs with nonstandard names/locations.
871
872 _ACEOF
873 fi
874
875 if test "$ac_init_help" = "recursive"; then
876   # If there are subdirs, report their specific --help.
877   ac_popdir=`pwd`
878   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
879     test -d $ac_dir || continue
880     ac_builddir=.
881
882 if test "$ac_dir" != .; then
883   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
884   # A "../" for each directory in $ac_dir_suffix.
885   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
886 else
887   ac_dir_suffix= ac_top_builddir=
888 fi
889
890 case $srcdir in
891   .)  # No --srcdir option.  We are building in place.
892     ac_srcdir=.
893     if test -z "$ac_top_builddir"; then
894        ac_top_srcdir=.
895     else
896        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
897     fi ;;
898   [\\/]* | ?:[\\/]* )  # Absolute path.
899     ac_srcdir=$srcdir$ac_dir_suffix;
900     ac_top_srcdir=$srcdir ;;
901   *) # Relative path.
902     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
903     ac_top_srcdir=$ac_top_builddir$srcdir ;;
904 esac
905
906 # Do not use `cd foo && pwd` to compute absolute paths, because
907 # the directories may not exist.
908 case `pwd` in
909 .) ac_abs_builddir="$ac_dir";;
910 *)
911   case "$ac_dir" in
912   .) ac_abs_builddir=`pwd`;;
913   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
914   *) ac_abs_builddir=`pwd`/"$ac_dir";;
915   esac;;
916 esac
917 case $ac_abs_builddir in
918 .) ac_abs_top_builddir=${ac_top_builddir}.;;
919 *)
920   case ${ac_top_builddir}. in
921   .) ac_abs_top_builddir=$ac_abs_builddir;;
922   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
923   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
924   esac;;
925 esac
926 case $ac_abs_builddir in
927 .) ac_abs_srcdir=$ac_srcdir;;
928 *)
929   case $ac_srcdir in
930   .) ac_abs_srcdir=$ac_abs_builddir;;
931   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
932   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
933   esac;;
934 esac
935 case $ac_abs_builddir in
936 .) ac_abs_top_srcdir=$ac_top_srcdir;;
937 *)
938   case $ac_top_srcdir in
939   .) ac_abs_top_srcdir=$ac_abs_builddir;;
940   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
941   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
942   esac;;
943 esac
944
945     cd $ac_dir
946     # Check for guested configure; otherwise get Cygnus style configure.
947     if test -f $ac_srcdir/configure.gnu; then
948       echo
949       $SHELL $ac_srcdir/configure.gnu  --help=recursive
950     elif test -f $ac_srcdir/configure; then
951       echo
952       $SHELL $ac_srcdir/configure  --help=recursive
953     elif test -f $ac_srcdir/configure.ac ||
954            test -f $ac_srcdir/configure.in; then
955       echo
956       $ac_configure --help
957     else
958       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
959     fi
960     cd $ac_popdir
961   done
962 fi
963
964 test -n "$ac_init_help" && exit 0
965 if $ac_init_version; then
966   cat <<\_ACEOF
967 libmudflap configure 1.0
968 generated by GNU Autoconf 2.59
969
970 Copyright (C) 2003 Free Software Foundation, Inc.
971 This configure script is free software; the Free Software Foundation
972 gives unlimited permission to copy, distribute and modify it.
973 _ACEOF
974   exit 0
975 fi
976 exec 5>config.log
977 cat >&5 <<_ACEOF
978 This file contains any messages produced by compilers while
979 running configure, to aid debugging if configure makes a mistake.
980
981 It was created by libmudflap $as_me 1.0, which was
982 generated by GNU Autoconf 2.59.  Invocation command line was
983
984   $ $0 $@
985
986 _ACEOF
987 {
988 cat <<_ASUNAME
989 ## --------- ##
990 ## Platform. ##
991 ## --------- ##
992
993 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
994 uname -m = `(uname -m) 2>/dev/null || echo unknown`
995 uname -r = `(uname -r) 2>/dev/null || echo unknown`
996 uname -s = `(uname -s) 2>/dev/null || echo unknown`
997 uname -v = `(uname -v) 2>/dev/null || echo unknown`
998
999 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1000 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1001
1002 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1003 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1004 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1005 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1006 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1007 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1008 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1009
1010 _ASUNAME
1011
1012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1013 for as_dir in $PATH
1014 do
1015   IFS=$as_save_IFS
1016   test -z "$as_dir" && as_dir=.
1017   echo "PATH: $as_dir"
1018 done
1019
1020 } >&5
1021
1022 cat >&5 <<_ACEOF
1023
1024
1025 ## ----------- ##
1026 ## Core tests. ##
1027 ## ----------- ##
1028
1029 _ACEOF
1030
1031
1032 # Keep a trace of the command line.
1033 # Strip out --no-create and --no-recursion so they do not pile up.
1034 # Strip out --silent because we don't want to record it for future runs.
1035 # Also quote any args containing shell meta-characters.
1036 # Make two passes to allow for proper duplicate-argument suppression.
1037 ac_configure_args=
1038 ac_configure_args0=
1039 ac_configure_args1=
1040 ac_sep=
1041 ac_must_keep_next=false
1042 for ac_pass in 1 2
1043 do
1044   for ac_arg
1045   do
1046     case $ac_arg in
1047     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1048     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049     | -silent | --silent | --silen | --sile | --sil)
1050       continue ;;
1051     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1052       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1053     esac
1054     case $ac_pass in
1055     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1056     2)
1057       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1058       if test $ac_must_keep_next = true; then
1059         ac_must_keep_next=false # Got value, back to normal.
1060       else
1061         case $ac_arg in
1062           *=* | --config-cache | -C | -disable-* | --disable-* \
1063           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1064           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1065           | -with-* | --with-* | -without-* | --without-* | --x)
1066             case "$ac_configure_args0 " in
1067               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1068             esac
1069             ;;
1070           -* ) ac_must_keep_next=true ;;
1071         esac
1072       fi
1073       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1074       # Get rid of the leading space.
1075       ac_sep=" "
1076       ;;
1077     esac
1078   done
1079 done
1080 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1081 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1082
1083 # When interrupted or exit'd, cleanup temporary files, and complete
1084 # config.log.  We remove comments because anyway the quotes in there
1085 # would cause problems or look ugly.
1086 # WARNING: Be sure not to use single quotes in there, as some shells,
1087 # such as our DU 5.0 friend, will then `close' the trap.
1088 trap 'exit_status=$?
1089   # Save into config.log some information that might help in debugging.
1090   {
1091     echo
1092
1093     cat <<\_ASBOX
1094 ## ---------------- ##
1095 ## Cache variables. ##
1096 ## ---------------- ##
1097 _ASBOX
1098     echo
1099     # The following way of writing the cache mishandles newlines in values,
1100 {
1101   (set) 2>&1 |
1102     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1103     *ac_space=\ *)
1104       sed -n \
1105         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1106           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1107       ;;
1108     *)
1109       sed -n \
1110         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1111       ;;
1112     esac;
1113 }
1114     echo
1115
1116     cat <<\_ASBOX
1117 ## ----------------- ##
1118 ## Output variables. ##
1119 ## ----------------- ##
1120 _ASBOX
1121     echo
1122     for ac_var in $ac_subst_vars
1123     do
1124       eval ac_val=$`echo $ac_var`
1125       echo "$ac_var='"'"'$ac_val'"'"'"
1126     done | sort
1127     echo
1128
1129     if test -n "$ac_subst_files"; then
1130       cat <<\_ASBOX
1131 ## ------------- ##
1132 ## Output files. ##
1133 ## ------------- ##
1134 _ASBOX
1135       echo
1136       for ac_var in $ac_subst_files
1137       do
1138         eval ac_val=$`echo $ac_var`
1139         echo "$ac_var='"'"'$ac_val'"'"'"
1140       done | sort
1141       echo
1142     fi
1143
1144     if test -s confdefs.h; then
1145       cat <<\_ASBOX
1146 ## ----------- ##
1147 ## confdefs.h. ##
1148 ## ----------- ##
1149 _ASBOX
1150       echo
1151       sed "/^$/d" confdefs.h | sort
1152       echo
1153     fi
1154     test "$ac_signal" != 0 &&
1155       echo "$as_me: caught signal $ac_signal"
1156     echo "$as_me: exit $exit_status"
1157   } >&5
1158   rm -f core *.core &&
1159   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1160     exit $exit_status
1161      ' 0
1162 for ac_signal in 1 2 13 15; do
1163   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1164 done
1165 ac_signal=0
1166
1167 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1168 rm -rf conftest* confdefs.h
1169 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1170 echo >confdefs.h
1171
1172 # Predefined preprocessor variables.
1173
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_NAME "$PACKAGE_NAME"
1176 _ACEOF
1177
1178
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1181 _ACEOF
1182
1183
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1186 _ACEOF
1187
1188
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_STRING "$PACKAGE_STRING"
1191 _ACEOF
1192
1193
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1196 _ACEOF
1197
1198
1199 # Let the site file select an alternate cache file if it wants to.
1200 # Prefer explicitly selected file to automatically selected ones.
1201 if test -z "$CONFIG_SITE"; then
1202   if test "x$prefix" != xNONE; then
1203     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1204   else
1205     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1206   fi
1207 fi
1208 for ac_site_file in $CONFIG_SITE; do
1209   if test -r "$ac_site_file"; then
1210     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1211 echo "$as_me: loading site script $ac_site_file" >&6;}
1212     sed 's/^/| /' "$ac_site_file" >&5
1213     . "$ac_site_file"
1214   fi
1215 done
1216
1217 if test -r "$cache_file"; then
1218   # Some versions of bash will fail to source /dev/null (special
1219   # files actually), so we avoid doing that.
1220   if test -f "$cache_file"; then
1221     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1222 echo "$as_me: loading cache $cache_file" >&6;}
1223     case $cache_file in
1224       [\\/]* | ?:[\\/]* ) . $cache_file;;
1225       *)                      . ./$cache_file;;
1226     esac
1227   fi
1228 else
1229   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1230 echo "$as_me: creating cache $cache_file" >&6;}
1231   >$cache_file
1232 fi
1233
1234 # Check that the precious variables saved in the cache have kept the same
1235 # value.
1236 ac_cache_corrupted=false
1237 for ac_var in `(set) 2>&1 |
1238                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1239   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1240   eval ac_new_set=\$ac_env_${ac_var}_set
1241   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1242   eval ac_new_val="\$ac_env_${ac_var}_value"
1243   case $ac_old_set,$ac_new_set in
1244     set,)
1245       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1246 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1247       ac_cache_corrupted=: ;;
1248     ,set)
1249       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1250 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1251       ac_cache_corrupted=: ;;
1252     ,);;
1253     *)
1254       if test "x$ac_old_val" != "x$ac_new_val"; then
1255         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1256 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1257         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1258 echo "$as_me:   former value:  $ac_old_val" >&2;}
1259         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1260 echo "$as_me:   current value: $ac_new_val" >&2;}
1261         ac_cache_corrupted=:
1262       fi;;
1263   esac
1264   # Pass precious variables to config.status.
1265   if test "$ac_new_set" = set; then
1266     case $ac_new_val in
1267     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1268       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1269     *) ac_arg=$ac_var=$ac_new_val ;;
1270     esac
1271     case " $ac_configure_args " in
1272       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1273       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1274     esac
1275   fi
1276 done
1277 if $ac_cache_corrupted; then
1278   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1279 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1280   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1281 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1282    { (exit 1); exit 1; }; }
1283 fi
1284
1285 ac_ext=c
1286 ac_cpp='$CPP $CPPFLAGS'
1287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1318 ac_aux_dir=
1319 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1320   if test -f $ac_dir/install-sh; then
1321     ac_aux_dir=$ac_dir
1322     ac_install_sh="$ac_aux_dir/install-sh -c"
1323     break
1324   elif test -f $ac_dir/install.sh; then
1325     ac_aux_dir=$ac_dir
1326     ac_install_sh="$ac_aux_dir/install.sh -c"
1327     break
1328   elif test -f $ac_dir/shtool; then
1329     ac_aux_dir=$ac_dir
1330     ac_install_sh="$ac_aux_dir/shtool install -c"
1331     break
1332   fi
1333 done
1334 if test -z "$ac_aux_dir"; then
1335   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1336 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1337    { (exit 1); exit 1; }; }
1338 fi
1339 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1340 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1341 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1342
1343 # Make sure we can run config.sub.
1344 $ac_config_sub sun4 >/dev/null 2>&1 ||
1345   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1346 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1347    { (exit 1); exit 1; }; }
1348
1349 echo "$as_me:$LINENO: checking build system type" >&5
1350 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1351 if test "${ac_cv_build+set}" = set; then
1352   echo $ECHO_N "(cached) $ECHO_C" >&6
1353 else
1354   ac_cv_build_alias=$build_alias
1355 test -z "$ac_cv_build_alias" &&
1356   ac_cv_build_alias=`$ac_config_guess`
1357 test -z "$ac_cv_build_alias" &&
1358   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1359 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1360    { (exit 1); exit 1; }; }
1361 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1362   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1363 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1364    { (exit 1); exit 1; }; }
1365
1366 fi
1367 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1368 echo "${ECHO_T}$ac_cv_build" >&6
1369 build=$ac_cv_build
1370 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1371 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1372 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1373
1374
1375 echo "$as_me:$LINENO: checking host system type" >&5
1376 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1377 if test "${ac_cv_host+set}" = set; then
1378   echo $ECHO_N "(cached) $ECHO_C" >&6
1379 else
1380   ac_cv_host_alias=$host_alias
1381 test -z "$ac_cv_host_alias" &&
1382   ac_cv_host_alias=$ac_cv_build_alias
1383 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1384   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1385 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1386    { (exit 1); exit 1; }; }
1387
1388 fi
1389 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1390 echo "${ECHO_T}$ac_cv_host" >&6
1391 host=$ac_cv_host
1392 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1393 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1394 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1395
1396
1397 echo "$as_me:$LINENO: checking target system type" >&5
1398 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1399 if test "${ac_cv_target+set}" = set; then
1400   echo $ECHO_N "(cached) $ECHO_C" >&6
1401 else
1402   ac_cv_target_alias=$target_alias
1403 test "x$ac_cv_target_alias" = "x" &&
1404   ac_cv_target_alias=$ac_cv_host_alias
1405 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1406   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1407 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1408    { (exit 1); exit 1; }; }
1409
1410 fi
1411 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1412 echo "${ECHO_T}$ac_cv_target" >&6
1413 target=$ac_cv_target
1414 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1415 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1416 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1417
1418
1419 # The aliases save the names the user supplied, while $host etc.
1420 # will get canonicalized.
1421 test -n "$target_alias" &&
1422   test "$program_prefix$program_suffix$program_transform_name" = \
1423     NONENONEs,x,x, &&
1424   program_prefix=${target_alias}-
1425
1426 am__api_version="1.9"
1427 # Find a good install program.  We prefer a C program (faster),
1428 # so one script is as good as another.  But avoid the broken or
1429 # incompatible versions:
1430 # SysV /etc/install, /usr/sbin/install
1431 # SunOS /usr/etc/install
1432 # IRIX /sbin/install
1433 # AIX /bin/install
1434 # AmigaOS /C/install, which installs bootblocks on floppy discs
1435 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1436 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1437 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1438 # OS/2's system install, which has a completely different semantic
1439 # ./install, which can be erroneously created by make from ./install.sh.
1440 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1441 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1442 if test -z "$INSTALL"; then
1443 if test "${ac_cv_path_install+set}" = set; then
1444   echo $ECHO_N "(cached) $ECHO_C" >&6
1445 else
1446   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1447 for as_dir in $PATH
1448 do
1449   IFS=$as_save_IFS
1450   test -z "$as_dir" && as_dir=.
1451   # Account for people who put trailing slashes in PATH elements.
1452 case $as_dir/ in
1453   ./ | .// | /cC/* | \
1454   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1455   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1456   /usr/ucb/* ) ;;
1457   *)
1458     # OSF1 and SCO ODT 3.0 have their own names for install.
1459     # Don't use installbsd from OSF since it installs stuff as root
1460     # by default.
1461     for ac_prog in ginstall scoinst install; do
1462       for ac_exec_ext in '' $ac_executable_extensions; do
1463         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1464           if test $ac_prog = install &&
1465             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1466             # AIX install.  It has an incompatible calling convention.
1467             :
1468           elif test $ac_prog = install &&
1469             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1470             # program-specific install script used by HP pwplus--don't use.
1471             :
1472           else
1473             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1474             break 3
1475           fi
1476         fi
1477       done
1478     done
1479     ;;
1480 esac
1481 done
1482
1483
1484 fi
1485   if test "${ac_cv_path_install+set}" = set; then
1486     INSTALL=$ac_cv_path_install
1487   else
1488     # As a last resort, use the slow shell script.  We don't cache a
1489     # path for INSTALL within a source directory, because that will
1490     # break other packages using the cache if that directory is
1491     # removed, or if the path is relative.
1492     INSTALL=$ac_install_sh
1493   fi
1494 fi
1495 echo "$as_me:$LINENO: result: $INSTALL" >&5
1496 echo "${ECHO_T}$INSTALL" >&6
1497
1498 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1499 # It thinks the first close brace ends the variable substitution.
1500 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1501
1502 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1503
1504 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1505
1506 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1507 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1508 # Just in case
1509 sleep 1
1510 echo timestamp > conftest.file
1511 # Do `set' in a subshell so we don't clobber the current shell's
1512 # arguments.  Must try -L first in case configure is actually a
1513 # symlink; some systems play weird games with the mod time of symlinks
1514 # (eg FreeBSD returns the mod time of the symlink's containing
1515 # directory).
1516 if (
1517    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1518    if test "$*" = "X"; then
1519       # -L didn't work.
1520       set X `ls -t $srcdir/configure conftest.file`
1521    fi
1522    rm -f conftest.file
1523    if test "$*" != "X $srcdir/configure conftest.file" \
1524       && test "$*" != "X conftest.file $srcdir/configure"; then
1525
1526       # If neither matched, then we have a broken ls.  This can happen
1527       # if, for instance, CONFIG_SHELL is bash and it inherits a
1528       # broken ls alias from the environment.  This has actually
1529       # happened.  Such a system could not be considered "sane".
1530       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1531 alias in your environment" >&5
1532 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1533 alias in your environment" >&2;}
1534    { (exit 1); exit 1; }; }
1535    fi
1536
1537    test "$2" = conftest.file
1538    )
1539 then
1540    # Ok.
1541    :
1542 else
1543    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1544 Check your system clock" >&5
1545 echo "$as_me: error: newly created file is older than distributed files!
1546 Check your system clock" >&2;}
1547    { (exit 1); exit 1; }; }
1548 fi
1549 echo "$as_me:$LINENO: result: yes" >&5
1550 echo "${ECHO_T}yes" >&6
1551 test "$program_prefix" != NONE &&
1552   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1553 # Use a double $ so make ignores it.
1554 test "$program_suffix" != NONE &&
1555   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1556 # Double any \ or $.  echo might interpret backslashes.
1557 # By default was `s,x,x', remove it if useless.
1558 cat <<\_ACEOF >conftest.sed
1559 s/[\\$]/&&/g;s/;s,x,x,$//
1560 _ACEOF
1561 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1562 rm conftest.sed
1563
1564 # expand $ac_aux_dir to an absolute path
1565 am_aux_dir=`cd $ac_aux_dir && pwd`
1566
1567 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1568 # Use eval to expand $SHELL
1569 if eval "$MISSING --run true"; then
1570   am_missing_run="$MISSING --run "
1571 else
1572   am_missing_run=
1573   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1574 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1575 fi
1576
1577 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1578   # We used to keeping the `.' as first argument, in order to
1579   # allow $(mkdir_p) to be used without argument.  As in
1580   #   $(mkdir_p) $(somedir)
1581   # where $(somedir) is conditionally defined.  However this is wrong
1582   # for two reasons:
1583   #  1. if the package is installed by a user who cannot write `.'
1584   #     make install will fail,
1585   #  2. the above comment should most certainly read
1586   #     $(mkdir_p) $(DESTDIR)$(somedir)
1587   #     so it does not work when $(somedir) is undefined and
1588   #     $(DESTDIR) is not.
1589   #  To support the latter case, we have to write
1590   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1591   #  so the `.' trick is pointless.
1592   mkdir_p='mkdir -p --'
1593 else
1594   # On NextStep and OpenStep, the `mkdir' command does not
1595   # recognize any option.  It will interpret all options as
1596   # directories to create, and then abort because `.' already
1597   # exists.
1598   for d in ./-p ./--version;
1599   do
1600     test -d $d && rmdir $d
1601   done
1602   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1603   if test -f "$ac_aux_dir/mkinstalldirs"; then
1604     mkdir_p='$(mkinstalldirs)'
1605   else
1606     mkdir_p='$(install_sh) -d'
1607   fi
1608 fi
1609
1610 for ac_prog in gawk mawk nawk awk
1611 do
1612   # Extract the first word of "$ac_prog", so it can be a program name with args.
1613 set dummy $ac_prog; ac_word=$2
1614 echo "$as_me:$LINENO: checking for $ac_word" >&5
1615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1616 if test "${ac_cv_prog_AWK+set}" = set; then
1617   echo $ECHO_N "(cached) $ECHO_C" >&6
1618 else
1619   if test -n "$AWK"; then
1620   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1621 else
1622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1623 for as_dir in $PATH
1624 do
1625   IFS=$as_save_IFS
1626   test -z "$as_dir" && as_dir=.
1627   for ac_exec_ext in '' $ac_executable_extensions; do
1628   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1629     ac_cv_prog_AWK="$ac_prog"
1630     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1631     break 2
1632   fi
1633 done
1634 done
1635
1636 fi
1637 fi
1638 AWK=$ac_cv_prog_AWK
1639 if test -n "$AWK"; then
1640   echo "$as_me:$LINENO: result: $AWK" >&5
1641 echo "${ECHO_T}$AWK" >&6
1642 else
1643   echo "$as_me:$LINENO: result: no" >&5
1644 echo "${ECHO_T}no" >&6
1645 fi
1646
1647   test -n "$AWK" && break
1648 done
1649
1650 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1651 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1652 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1653 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1654   echo $ECHO_N "(cached) $ECHO_C" >&6
1655 else
1656   cat >conftest.make <<\_ACEOF
1657 all:
1658         @echo 'ac_maketemp="$(MAKE)"'
1659 _ACEOF
1660 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1661 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1662 if test -n "$ac_maketemp"; then
1663   eval ac_cv_prog_make_${ac_make}_set=yes
1664 else
1665   eval ac_cv_prog_make_${ac_make}_set=no
1666 fi
1667 rm -f conftest.make
1668 fi
1669 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1670   echo "$as_me:$LINENO: result: yes" >&5
1671 echo "${ECHO_T}yes" >&6
1672   SET_MAKE=
1673 else
1674   echo "$as_me:$LINENO: result: no" >&5
1675 echo "${ECHO_T}no" >&6
1676   SET_MAKE="MAKE=${MAKE-make}"
1677 fi
1678
1679 rm -rf .tst 2>/dev/null
1680 mkdir .tst 2>/dev/null
1681 if test -d .tst; then
1682   am__leading_dot=.
1683 else
1684   am__leading_dot=_
1685 fi
1686 rmdir .tst 2>/dev/null
1687
1688 # test to see if srcdir already configured
1689 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1690    test -f $srcdir/config.status; then
1691   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1692 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1693    { (exit 1); exit 1; }; }
1694 fi
1695
1696 # test whether we have cygpath
1697 if test -z "$CYGPATH_W"; then
1698   if (cygpath --version) >/dev/null 2>/dev/null; then
1699     CYGPATH_W='cygpath -w'
1700   else
1701     CYGPATH_W=echo
1702   fi
1703 fi
1704
1705
1706 # Define the identity of the package.
1707  PACKAGE='libmudflap'
1708  VERSION='1.0'
1709
1710
1711 cat >>confdefs.h <<_ACEOF
1712 #define PACKAGE "$PACKAGE"
1713 _ACEOF
1714
1715
1716 cat >>confdefs.h <<_ACEOF
1717 #define VERSION "$VERSION"
1718 _ACEOF
1719
1720 # Some tools Automake needs.
1721
1722 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1723
1724
1725 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1726
1727
1728 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1729
1730
1731 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1732
1733
1734 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1735
1736 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1737
1738 # Installed binaries are usually stripped using `strip' when the user
1739 # run `make install-strip'.  However `strip' might not be the right
1740 # tool to use in cross-compilation environments, therefore Automake
1741 # will honor the `STRIP' environment variable to overrule this program.
1742 if test "$cross_compiling" != no; then
1743   if test -n "$ac_tool_prefix"; then
1744   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1745 set dummy ${ac_tool_prefix}strip; ac_word=$2
1746 echo "$as_me:$LINENO: checking for $ac_word" >&5
1747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1748 if test "${ac_cv_prog_STRIP+set}" = set; then
1749   echo $ECHO_N "(cached) $ECHO_C" >&6
1750 else
1751   if test -n "$STRIP"; then
1752   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1753 else
1754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1755 for as_dir in $PATH
1756 do
1757   IFS=$as_save_IFS
1758   test -z "$as_dir" && as_dir=.
1759   for ac_exec_ext in '' $ac_executable_extensions; do
1760   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1761     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1762     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1763     break 2
1764   fi
1765 done
1766 done
1767
1768 fi
1769 fi
1770 STRIP=$ac_cv_prog_STRIP
1771 if test -n "$STRIP"; then
1772   echo "$as_me:$LINENO: result: $STRIP" >&5
1773 echo "${ECHO_T}$STRIP" >&6
1774 else
1775   echo "$as_me:$LINENO: result: no" >&5
1776 echo "${ECHO_T}no" >&6
1777 fi
1778
1779 fi
1780 if test -z "$ac_cv_prog_STRIP"; then
1781   ac_ct_STRIP=$STRIP
1782   # Extract the first word of "strip", so it can be a program name with args.
1783 set dummy strip; ac_word=$2
1784 echo "$as_me:$LINENO: checking for $ac_word" >&5
1785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1786 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1787   echo $ECHO_N "(cached) $ECHO_C" >&6
1788 else
1789   if test -n "$ac_ct_STRIP"; then
1790   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1791 else
1792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1793 for as_dir in $PATH
1794 do
1795   IFS=$as_save_IFS
1796   test -z "$as_dir" && as_dir=.
1797   for ac_exec_ext in '' $ac_executable_extensions; do
1798   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1799     ac_cv_prog_ac_ct_STRIP="strip"
1800     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1801     break 2
1802   fi
1803 done
1804 done
1805
1806   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1807 fi
1808 fi
1809 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1810 if test -n "$ac_ct_STRIP"; then
1811   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1812 echo "${ECHO_T}$ac_ct_STRIP" >&6
1813 else
1814   echo "$as_me:$LINENO: result: no" >&5
1815 echo "${ECHO_T}no" >&6
1816 fi
1817
1818   STRIP=$ac_ct_STRIP
1819 else
1820   STRIP="$ac_cv_prog_STRIP"
1821 fi
1822
1823 fi
1824 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1825
1826 # We need awk for the "check" target.  The system "awk" is bad on
1827 # some platforms.
1828 # Always define AMTAR for backward compatibility.
1829
1830 AMTAR=${AMTAR-"${am_missing_run}tar"}
1831
1832 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1833
1834
1835
1836
1837
1838
1839 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1840 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1841 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1842 if test "${enable_version_specific_runtime_libs+set}" = set; then
1843   enableval="$enable_version_specific_runtime_libs"
1844   case "$enableval" in
1845  yes) version_specific_libs=yes ;;
1846  no)  version_specific_libs=no ;;
1847  *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1848 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1849    { (exit 1); exit 1; }; };;
1850  esac
1851 else
1852   version_specific_libs=no
1853 fi;
1854 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1855 echo "${ECHO_T}$version_specific_libs" >&6
1856
1857 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1858 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1859     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1860 if test "${enable_maintainer_mode+set}" = set; then
1861   enableval="$enable_maintainer_mode"
1862   USE_MAINTAINER_MODE=$enableval
1863 else
1864   USE_MAINTAINER_MODE=no
1865 fi;
1866   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1867 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1868
1869
1870 if test $USE_MAINTAINER_MODE = yes; then
1871   MAINTAINER_MODE_TRUE=
1872   MAINTAINER_MODE_FALSE='#'
1873 else
1874   MAINTAINER_MODE_TRUE='#'
1875   MAINTAINER_MODE_FALSE=
1876 fi
1877
1878   MAINT=$MAINTAINER_MODE_TRUE
1879
1880
1881
1882
1883 # Default to --enable-multilib
1884 # Check whether --enable-multilib or --disable-multilib was given.
1885 if test "${enable_multilib+set}" = set; then
1886   enableval="$enable_multilib"
1887   case "$enableval" in
1888   yes) multilib=yes ;;
1889   no)  multilib=no ;;
1890   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1891 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1892    { (exit 1); exit 1; }; } ;;
1893  esac
1894 else
1895   multilib=yes
1896 fi;
1897
1898 # We may get other options which we leave undocumented:
1899 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1900 # See config-ml.in if you want the gory details.
1901
1902 if test "$srcdir" = "."; then
1903   if test "$with_target_subdir" != "."; then
1904     multi_basedir="$srcdir/$with_multisrctop../.."
1905   else
1906     multi_basedir="$srcdir/$with_multisrctop.."
1907   fi
1908 else
1909   multi_basedir="$srcdir/.."
1910 fi
1911
1912
1913           ac_config_commands="$ac_config_commands default-1"
1914
1915
1916 target_alias=${target_alias-$host_alias}
1917
1918
1919           ac_config_headers="$ac_config_headers config.h"
1920
1921
1922 ac_ext=c
1923 ac_cpp='$CPP $CPPFLAGS'
1924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1927
1928 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1929 # We must force CC to /not/ be precious variables; otherwise
1930 # the wrong, non-multilib-adjusted value will be used in multilibs.
1931 # As a side effect, we have to subst CFLAGS ourselves.
1932
1933
1934
1935 ac_ext=c
1936 ac_cpp='$CPP $CPPFLAGS'
1937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1940 if test -n "$ac_tool_prefix"; then
1941   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1942 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1943 echo "$as_me:$LINENO: checking for $ac_word" >&5
1944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1945 if test "${ac_cv_prog_CC+set}" = set; then
1946   echo $ECHO_N "(cached) $ECHO_C" >&6
1947 else
1948   if test -n "$CC"; then
1949   ac_cv_prog_CC="$CC" # Let the user override the test.
1950 else
1951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1952 for as_dir in $PATH
1953 do
1954   IFS=$as_save_IFS
1955   test -z "$as_dir" && as_dir=.
1956   for ac_exec_ext in '' $ac_executable_extensions; do
1957   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1958     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1959     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1960     break 2
1961   fi
1962 done
1963 done
1964
1965 fi
1966 fi
1967 CC=$ac_cv_prog_CC
1968 if test -n "$CC"; then
1969   echo "$as_me:$LINENO: result: $CC" >&5
1970 echo "${ECHO_T}$CC" >&6
1971 else
1972   echo "$as_me:$LINENO: result: no" >&5
1973 echo "${ECHO_T}no" >&6
1974 fi
1975
1976 fi
1977 if test -z "$ac_cv_prog_CC"; then
1978   ac_ct_CC=$CC
1979   # Extract the first word of "gcc", so it can be a program name with args.
1980 set dummy gcc; ac_word=$2
1981 echo "$as_me:$LINENO: checking for $ac_word" >&5
1982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1983 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1984   echo $ECHO_N "(cached) $ECHO_C" >&6
1985 else
1986   if test -n "$ac_ct_CC"; then
1987   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1988 else
1989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1990 for as_dir in $PATH
1991 do
1992   IFS=$as_save_IFS
1993   test -z "$as_dir" && as_dir=.
1994   for ac_exec_ext in '' $ac_executable_extensions; do
1995   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1996     ac_cv_prog_ac_ct_CC="gcc"
1997     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1998     break 2
1999   fi
2000 done
2001 done
2002
2003 fi
2004 fi
2005 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2006 if test -n "$ac_ct_CC"; then
2007   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2008 echo "${ECHO_T}$ac_ct_CC" >&6
2009 else
2010   echo "$as_me:$LINENO: result: no" >&5
2011 echo "${ECHO_T}no" >&6
2012 fi
2013
2014   CC=$ac_ct_CC
2015 else
2016   CC="$ac_cv_prog_CC"
2017 fi
2018
2019 if test -z "$CC"; then
2020   if test -n "$ac_tool_prefix"; then
2021   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2022 set dummy ${ac_tool_prefix}cc; ac_word=$2
2023 echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2025 if test "${ac_cv_prog_CC+set}" = set; then
2026   echo $ECHO_N "(cached) $ECHO_C" >&6
2027 else
2028   if test -n "$CC"; then
2029   ac_cv_prog_CC="$CC" # Let the user override the test.
2030 else
2031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2032 for as_dir in $PATH
2033 do
2034   IFS=$as_save_IFS
2035   test -z "$as_dir" && as_dir=.
2036   for ac_exec_ext in '' $ac_executable_extensions; do
2037   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2038     ac_cv_prog_CC="${ac_tool_prefix}cc"
2039     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040     break 2
2041   fi
2042 done
2043 done
2044
2045 fi
2046 fi
2047 CC=$ac_cv_prog_CC
2048 if test -n "$CC"; then
2049   echo "$as_me:$LINENO: result: $CC" >&5
2050 echo "${ECHO_T}$CC" >&6
2051 else
2052   echo "$as_me:$LINENO: result: no" >&5
2053 echo "${ECHO_T}no" >&6
2054 fi
2055
2056 fi
2057 if test -z "$ac_cv_prog_CC"; then
2058   ac_ct_CC=$CC
2059   # Extract the first word of "cc", so it can be a program name with args.
2060 set dummy cc; ac_word=$2
2061 echo "$as_me:$LINENO: checking for $ac_word" >&5
2062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2063 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2064   echo $ECHO_N "(cached) $ECHO_C" >&6
2065 else
2066   if test -n "$ac_ct_CC"; then
2067   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2068 else
2069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2070 for as_dir in $PATH
2071 do
2072   IFS=$as_save_IFS
2073   test -z "$as_dir" && as_dir=.
2074   for ac_exec_ext in '' $ac_executable_extensions; do
2075   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2076     ac_cv_prog_ac_ct_CC="cc"
2077     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2078     break 2
2079   fi
2080 done
2081 done
2082
2083 fi
2084 fi
2085 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2086 if test -n "$ac_ct_CC"; then
2087   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2088 echo "${ECHO_T}$ac_ct_CC" >&6
2089 else
2090   echo "$as_me:$LINENO: result: no" >&5
2091 echo "${ECHO_T}no" >&6
2092 fi
2093
2094   CC=$ac_ct_CC
2095 else
2096   CC="$ac_cv_prog_CC"
2097 fi
2098
2099 fi
2100 if test -z "$CC"; then
2101   # Extract the first word of "cc", so it can be a program name with args.
2102 set dummy cc; 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   ac_prog_rejected=no
2112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2113 for as_dir in $PATH
2114 do
2115   IFS=$as_save_IFS
2116   test -z "$as_dir" && as_dir=.
2117   for ac_exec_ext in '' $ac_executable_extensions; do
2118   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2119     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2120        ac_prog_rejected=yes
2121        continue
2122      fi
2123     ac_cv_prog_CC="cc"
2124     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2125     break 2
2126   fi
2127 done
2128 done
2129
2130 if test $ac_prog_rejected = yes; then
2131   # We found a bogon in the path, so make sure we never use it.
2132   set dummy $ac_cv_prog_CC
2133   shift
2134   if test $# != 0; then
2135     # We chose a different compiler from the bogus one.
2136     # However, it has the same basename, so the bogon will be chosen
2137     # first if we set CC to just the basename; use the full file name.
2138     shift
2139     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2140   fi
2141 fi
2142 fi
2143 fi
2144 CC=$ac_cv_prog_CC
2145 if test -n "$CC"; then
2146   echo "$as_me:$LINENO: result: $CC" >&5
2147 echo "${ECHO_T}$CC" >&6
2148 else
2149   echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6
2151 fi
2152
2153 fi
2154 if test -z "$CC"; then
2155   if test -n "$ac_tool_prefix"; then
2156   for ac_prog in cl
2157   do
2158     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2159 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2160 echo "$as_me:$LINENO: checking for $ac_word" >&5
2161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2162 if test "${ac_cv_prog_CC+set}" = set; then
2163   echo $ECHO_N "(cached) $ECHO_C" >&6
2164 else
2165   if test -n "$CC"; then
2166   ac_cv_prog_CC="$CC" # Let the user override the test.
2167 else
2168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2169 for as_dir in $PATH
2170 do
2171   IFS=$as_save_IFS
2172   test -z "$as_dir" && as_dir=.
2173   for ac_exec_ext in '' $ac_executable_extensions; do
2174   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2175     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2176     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2177     break 2
2178   fi
2179 done
2180 done
2181
2182 fi
2183 fi
2184 CC=$ac_cv_prog_CC
2185 if test -n "$CC"; then
2186   echo "$as_me:$LINENO: result: $CC" >&5
2187 echo "${ECHO_T}$CC" >&6
2188 else
2189   echo "$as_me:$LINENO: result: no" >&5
2190 echo "${ECHO_T}no" >&6
2191 fi
2192
2193     test -n "$CC" && break
2194   done
2195 fi
2196 if test -z "$CC"; then
2197   ac_ct_CC=$CC
2198   for ac_prog in cl
2199 do
2200   # Extract the first word of "$ac_prog", so it can be a program name with args.
2201 set dummy $ac_prog; ac_word=$2
2202 echo "$as_me:$LINENO: checking for $ac_word" >&5
2203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2204 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2205   echo $ECHO_N "(cached) $ECHO_C" >&6
2206 else
2207   if test -n "$ac_ct_CC"; then
2208   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2209 else
2210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2211 for as_dir in $PATH
2212 do
2213   IFS=$as_save_IFS
2214   test -z "$as_dir" && as_dir=.
2215   for ac_exec_ext in '' $ac_executable_extensions; do
2216   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2217     ac_cv_prog_ac_ct_CC="$ac_prog"
2218     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2219     break 2
2220   fi
2221 done
2222 done
2223
2224 fi
2225 fi
2226 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2227 if test -n "$ac_ct_CC"; then
2228   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2229 echo "${ECHO_T}$ac_ct_CC" >&6
2230 else
2231   echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6
2233 fi
2234
2235   test -n "$ac_ct_CC" && break
2236 done
2237
2238   CC=$ac_ct_CC
2239 fi
2240
2241 fi
2242
2243
2244 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2245 See \`config.log' for more details." >&5
2246 echo "$as_me: error: no acceptable C compiler found in \$PATH
2247 See \`config.log' for more details." >&2;}
2248    { (exit 1); exit 1; }; }
2249
2250 # Provide some information about the compiler.
2251 echo "$as_me:$LINENO:" \
2252      "checking for C compiler version" >&5
2253 ac_compiler=`set X $ac_compile; echo $2`
2254 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2255   (eval $ac_compiler --version </dev/null >&5) 2>&5
2256   ac_status=$?
2257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258   (exit $ac_status); }
2259 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2260   (eval $ac_compiler -v </dev/null >&5) 2>&5
2261   ac_status=$?
2262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263   (exit $ac_status); }
2264 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2265   (eval $ac_compiler -V </dev/null >&5) 2>&5
2266   ac_status=$?
2267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268   (exit $ac_status); }
2269
2270 cat >conftest.$ac_ext <<_ACEOF
2271 /* confdefs.h.  */
2272 _ACEOF
2273 cat confdefs.h >>conftest.$ac_ext
2274 cat >>conftest.$ac_ext <<_ACEOF
2275 /* end confdefs.h.  */
2276
2277 int
2278 main ()
2279 {
2280
2281   ;
2282   return 0;
2283 }
2284 _ACEOF
2285 ac_clean_files_save=$ac_clean_files
2286 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2287 # Try to create an executable without -o first, disregard a.out.
2288 # It will help us diagnose broken compilers, and finding out an intuition
2289 # of exeext.
2290 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2291 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2292 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2293 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2294   (eval $ac_link_default) 2>&5
2295   ac_status=$?
2296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297   (exit $ac_status); }; then
2298   # Find the output, starting from the most likely.  This scheme is
2299 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2300 # resort.
2301
2302 # Be careful to initialize this variable, since it used to be cached.
2303 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2304 ac_cv_exeext=
2305 # b.out is created by i960 compilers.
2306 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2307 do
2308   test -f "$ac_file" || continue
2309   case $ac_file in
2310     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2311         ;;
2312     conftest.$ac_ext )
2313         # This is the source file.
2314         ;;
2315     [ab].out )
2316         # We found the default executable, but exeext='' is most
2317         # certainly right.
2318         break;;
2319     *.* )
2320         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2321         # FIXME: I believe we export ac_cv_exeext for Libtool,
2322         # but it would be cool to find out if it's true.  Does anybody
2323         # maintain Libtool? --akim.
2324         export ac_cv_exeext
2325         break;;
2326     * )
2327         break;;
2328   esac
2329 done
2330 else
2331   echo "$as_me: failed program was:" >&5
2332 sed 's/^/| /' conftest.$ac_ext >&5
2333
2334 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2335 See \`config.log' for more details." >&5
2336 echo "$as_me: error: C compiler cannot create executables
2337 See \`config.log' for more details." >&2;}
2338    { (exit 77); exit 77; }; }
2339 fi
2340
2341 ac_exeext=$ac_cv_exeext
2342 echo "$as_me:$LINENO: result: $ac_file" >&5
2343 echo "${ECHO_T}$ac_file" >&6
2344
2345 # Check the compiler produces executables we can run.  If not, either
2346 # the compiler is broken, or we cross compile.
2347 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2348 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2349 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2350 # If not cross compiling, check that we can run a simple program.
2351 if test "$cross_compiling" != yes; then
2352   if { ac_try='./$ac_file'
2353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2354   (eval $ac_try) 2>&5
2355   ac_status=$?
2356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357   (exit $ac_status); }; }; then
2358     cross_compiling=no
2359   else
2360     if test "$cross_compiling" = maybe; then
2361         cross_compiling=yes
2362     else
2363         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2364 If you meant to cross compile, use \`--host'.
2365 See \`config.log' for more details." >&5
2366 echo "$as_me: error: cannot run C compiled programs.
2367 If you meant to cross compile, use \`--host'.
2368 See \`config.log' for more details." >&2;}
2369    { (exit 1); exit 1; }; }
2370     fi
2371   fi
2372 fi
2373 echo "$as_me:$LINENO: result: yes" >&5
2374 echo "${ECHO_T}yes" >&6
2375
2376 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2377 ac_clean_files=$ac_clean_files_save
2378 # Check the compiler produces executables we can run.  If not, either
2379 # the compiler is broken, or we cross compile.
2380 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2381 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2382 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2383 echo "${ECHO_T}$cross_compiling" >&6
2384
2385 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2386 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2388   (eval $ac_link) 2>&5
2389   ac_status=$?
2390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391   (exit $ac_status); }; then
2392   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2393 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2394 # work properly (i.e., refer to `conftest.exe'), while it won't with
2395 # `rm'.
2396 for ac_file in conftest.exe conftest conftest.*; do
2397   test -f "$ac_file" || continue
2398   case $ac_file in
2399     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2400     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2401           export ac_cv_exeext
2402           break;;
2403     * ) break;;
2404   esac
2405 done
2406 else
2407   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2408 See \`config.log' for more details." >&5
2409 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2410 See \`config.log' for more details." >&2;}
2411    { (exit 1); exit 1; }; }
2412 fi
2413
2414 rm -f conftest$ac_cv_exeext
2415 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2416 echo "${ECHO_T}$ac_cv_exeext" >&6
2417
2418 rm -f conftest.$ac_ext
2419 EXEEXT=$ac_cv_exeext
2420 ac_exeext=$EXEEXT
2421 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2422 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2423 if test "${ac_cv_objext+set}" = set; then
2424   echo $ECHO_N "(cached) $ECHO_C" >&6
2425 else
2426   cat >conftest.$ac_ext <<_ACEOF
2427 /* confdefs.h.  */
2428 _ACEOF
2429 cat confdefs.h >>conftest.$ac_ext
2430 cat >>conftest.$ac_ext <<_ACEOF
2431 /* end confdefs.h.  */
2432
2433 int
2434 main ()
2435 {
2436
2437   ;
2438   return 0;
2439 }
2440 _ACEOF
2441 rm -f conftest.o conftest.obj
2442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2443   (eval $ac_compile) 2>&5
2444   ac_status=$?
2445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446   (exit $ac_status); }; then
2447   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2448   case $ac_file in
2449     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2450     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2451        break;;
2452   esac
2453 done
2454 else
2455   echo "$as_me: failed program was:" >&5
2456 sed 's/^/| /' conftest.$ac_ext >&5
2457
2458 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2459 See \`config.log' for more details." >&5
2460 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2461 See \`config.log' for more details." >&2;}
2462    { (exit 1); exit 1; }; }
2463 fi
2464
2465 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2466 fi
2467 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2468 echo "${ECHO_T}$ac_cv_objext" >&6
2469 OBJEXT=$ac_cv_objext
2470 ac_objext=$OBJEXT
2471 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2472 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2473 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2474   echo $ECHO_N "(cached) $ECHO_C" >&6
2475 else
2476   cat >conftest.$ac_ext <<_ACEOF
2477 /* confdefs.h.  */
2478 _ACEOF
2479 cat confdefs.h >>conftest.$ac_ext
2480 cat >>conftest.$ac_ext <<_ACEOF
2481 /* end confdefs.h.  */
2482
2483 int
2484 main ()
2485 {
2486 #ifndef __GNUC__
2487        choke me
2488 #endif
2489
2490   ;
2491   return 0;
2492 }
2493 _ACEOF
2494 rm -f conftest.$ac_objext
2495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2496   (eval $ac_compile) 2>conftest.er1
2497   ac_status=$?
2498   grep -v '^ *+' conftest.er1 >conftest.err
2499   rm -f conftest.er1
2500   cat conftest.err >&5
2501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502   (exit $ac_status); } &&
2503          { ac_try='test -z "$ac_c_werror_flag"
2504                          || test ! -s conftest.err'
2505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2506   (eval $ac_try) 2>&5
2507   ac_status=$?
2508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509   (exit $ac_status); }; } &&
2510          { ac_try='test -s conftest.$ac_objext'
2511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2512   (eval $ac_try) 2>&5
2513   ac_status=$?
2514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515   (exit $ac_status); }; }; then
2516   ac_compiler_gnu=yes
2517 else
2518   echo "$as_me: failed program was:" >&5
2519 sed 's/^/| /' conftest.$ac_ext >&5
2520
2521 ac_compiler_gnu=no
2522 fi
2523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2524 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2525
2526 fi
2527 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2528 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2529 GCC=`test $ac_compiler_gnu = yes && echo yes`
2530 ac_test_CFLAGS=${CFLAGS+set}
2531 ac_save_CFLAGS=$CFLAGS
2532 CFLAGS="-g"
2533 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2534 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2535 if test "${ac_cv_prog_cc_g+set}" = set; then
2536   echo $ECHO_N "(cached) $ECHO_C" >&6
2537 else
2538   cat >conftest.$ac_ext <<_ACEOF
2539 /* confdefs.h.  */
2540 _ACEOF
2541 cat confdefs.h >>conftest.$ac_ext
2542 cat >>conftest.$ac_ext <<_ACEOF
2543 /* end confdefs.h.  */
2544
2545 int
2546 main ()
2547 {
2548
2549   ;
2550   return 0;
2551 }
2552 _ACEOF
2553 rm -f conftest.$ac_objext
2554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2555   (eval $ac_compile) 2>conftest.er1
2556   ac_status=$?
2557   grep -v '^ *+' conftest.er1 >conftest.err
2558   rm -f conftest.er1
2559   cat conftest.err >&5
2560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561   (exit $ac_status); } &&
2562          { ac_try='test -z "$ac_c_werror_flag"
2563                          || test ! -s conftest.err'
2564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565   (eval $ac_try) 2>&5
2566   ac_status=$?
2567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568   (exit $ac_status); }; } &&
2569          { ac_try='test -s conftest.$ac_objext'
2570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571   (eval $ac_try) 2>&5
2572   ac_status=$?
2573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574   (exit $ac_status); }; }; then
2575   ac_cv_prog_cc_g=yes
2576 else
2577   echo "$as_me: failed program was:" >&5
2578 sed 's/^/| /' conftest.$ac_ext >&5
2579
2580 ac_cv_prog_cc_g=no
2581 fi
2582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2583 fi
2584 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2585 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2586 if test "$ac_test_CFLAGS" = set; then
2587   CFLAGS=$ac_save_CFLAGS
2588 elif test $ac_cv_prog_cc_g = yes; then
2589   if test "$GCC" = yes; then
2590     CFLAGS="-g -O2"
2591   else
2592     CFLAGS="-g"
2593   fi
2594 else
2595   if test "$GCC" = yes; then
2596     CFLAGS="-O2"
2597   else
2598     CFLAGS=
2599   fi
2600 fi
2601 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2602 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2603 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2604   echo $ECHO_N "(cached) $ECHO_C" >&6
2605 else
2606   ac_cv_prog_cc_stdc=no
2607 ac_save_CC=$CC
2608 cat >conftest.$ac_ext <<_ACEOF
2609 /* confdefs.h.  */
2610 _ACEOF
2611 cat confdefs.h >>conftest.$ac_ext
2612 cat >>conftest.$ac_ext <<_ACEOF
2613 /* end confdefs.h.  */
2614 #include <stdarg.h>
2615 #include <stdio.h>
2616 #include <sys/types.h>
2617 #include <sys/stat.h>
2618 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2619 struct buf { int x; };
2620 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2621 static char *e (p, i)
2622      char **p;
2623      int i;
2624 {
2625   return p[i];
2626 }
2627 static char *f (char * (*g) (char **, int), char **p, ...)
2628 {
2629   char *s;
2630   va_list v;
2631   va_start (v,p);
2632   s = g (p, va_arg (v,int));
2633   va_end (v);
2634   return s;
2635 }
2636
2637 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2638    function prototypes and stuff, but not '\xHH' hex character constants.
2639    These don't provoke an error unfortunately, instead are silently treated
2640    as 'x'.  The following induces an error, until -std1 is added to get
2641    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2642    array size at least.  It's necessary to write '\x00'==0 to get something
2643    that's true only with -std1.  */
2644 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2645
2646 int test (int i, double x);
2647 struct s1 {int (*f) (int a);};
2648 struct s2 {int (*f) (double a);};
2649 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2650 int argc;
2651 char **argv;
2652 int
2653 main ()
2654 {
2655 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2656   ;
2657   return 0;
2658 }
2659 _ACEOF
2660 # Don't try gcc -ansi; that turns off useful extensions and
2661 # breaks some systems' header files.
2662 # AIX                   -qlanglvl=ansi
2663 # Ultrix and OSF/1      -std1
2664 # HP-UX 10.20 and later -Ae
2665 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2666 # SVR4                  -Xc -D__EXTENSIONS__
2667 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2668 do
2669   CC="$ac_save_CC $ac_arg"
2670   rm -f conftest.$ac_objext
2671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2672   (eval $ac_compile) 2>conftest.er1
2673   ac_status=$?
2674   grep -v '^ *+' conftest.er1 >conftest.err
2675   rm -f conftest.er1
2676   cat conftest.err >&5
2677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678   (exit $ac_status); } &&
2679          { ac_try='test -z "$ac_c_werror_flag"
2680                          || test ! -s conftest.err'
2681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2682   (eval $ac_try) 2>&5
2683   ac_status=$?
2684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685   (exit $ac_status); }; } &&
2686          { ac_try='test -s conftest.$ac_objext'
2687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2688   (eval $ac_try) 2>&5
2689   ac_status=$?
2690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691   (exit $ac_status); }; }; then
2692   ac_cv_prog_cc_stdc=$ac_arg
2693 break
2694 else
2695   echo "$as_me: failed program was:" >&5
2696 sed 's/^/| /' conftest.$ac_ext >&5
2697
2698 fi
2699 rm -f conftest.err conftest.$ac_objext
2700 done
2701 rm -f conftest.$ac_ext conftest.$ac_objext
2702 CC=$ac_save_CC
2703
2704 fi
2705
2706 case "x$ac_cv_prog_cc_stdc" in
2707   x|xno)
2708     echo "$as_me:$LINENO: result: none needed" >&5
2709 echo "${ECHO_T}none needed" >&6 ;;
2710   *)
2711     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2712 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2713     CC="$CC $ac_cv_prog_cc_stdc" ;;
2714 esac
2715
2716 # Some people use a C++ compiler to compile C.  Since we use `exit',
2717 # in C++ we need to declare it.  In case someone uses the same compiler
2718 # for both compiling C and C++ we need to have the C++ compiler decide
2719 # the declaration of exit, since it's the most demanding environment.
2720 cat >conftest.$ac_ext <<_ACEOF
2721 #ifndef __cplusplus
2722   choke me
2723 #endif
2724 _ACEOF
2725 rm -f conftest.$ac_objext
2726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2727   (eval $ac_compile) 2>conftest.er1
2728   ac_status=$?
2729   grep -v '^ *+' conftest.er1 >conftest.err
2730   rm -f conftest.er1
2731   cat conftest.err >&5
2732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733   (exit $ac_status); } &&
2734          { ac_try='test -z "$ac_c_werror_flag"
2735                          || test ! -s conftest.err'
2736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2737   (eval $ac_try) 2>&5
2738   ac_status=$?
2739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740   (exit $ac_status); }; } &&
2741          { ac_try='test -s conftest.$ac_objext'
2742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2743   (eval $ac_try) 2>&5
2744   ac_status=$?
2745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746   (exit $ac_status); }; }; then
2747   for ac_declaration in \
2748    '' \
2749    'extern "C" void std::exit (int) throw (); using std::exit;' \
2750    'extern "C" void std::exit (int); using std::exit;' \
2751    'extern "C" void exit (int) throw ();' \
2752    'extern "C" void exit (int);' \
2753    'void exit (int);'
2754 do
2755   cat >conftest.$ac_ext <<_ACEOF
2756 /* confdefs.h.  */
2757 _ACEOF
2758 cat confdefs.h >>conftest.$ac_ext
2759 cat >>conftest.$ac_ext <<_ACEOF
2760 /* end confdefs.h.  */
2761 $ac_declaration
2762 #include <stdlib.h>
2763 int
2764 main ()
2765 {
2766 exit (42);
2767   ;
2768   return 0;
2769 }
2770 _ACEOF
2771 rm -f conftest.$ac_objext
2772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2773   (eval $ac_compile) 2>conftest.er1
2774   ac_status=$?
2775   grep -v '^ *+' conftest.er1 >conftest.err
2776   rm -f conftest.er1
2777   cat conftest.err >&5
2778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779   (exit $ac_status); } &&
2780          { ac_try='test -z "$ac_c_werror_flag"
2781                          || test ! -s conftest.err'
2782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783   (eval $ac_try) 2>&5
2784   ac_status=$?
2785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786   (exit $ac_status); }; } &&
2787          { ac_try='test -s conftest.$ac_objext'
2788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2789   (eval $ac_try) 2>&5
2790   ac_status=$?
2791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792   (exit $ac_status); }; }; then
2793   :
2794 else
2795   echo "$as_me: failed program was:" >&5
2796 sed 's/^/| /' conftest.$ac_ext >&5
2797
2798 continue
2799 fi
2800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2801   cat >conftest.$ac_ext <<_ACEOF
2802 /* confdefs.h.  */
2803 _ACEOF
2804 cat confdefs.h >>conftest.$ac_ext
2805 cat >>conftest.$ac_ext <<_ACEOF
2806 /* end confdefs.h.  */
2807 $ac_declaration
2808 int
2809 main ()
2810 {
2811 exit (42);
2812   ;
2813   return 0;
2814 }
2815 _ACEOF
2816 rm -f conftest.$ac_objext
2817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2818   (eval $ac_compile) 2>conftest.er1
2819   ac_status=$?
2820   grep -v '^ *+' conftest.er1 >conftest.err
2821   rm -f conftest.er1
2822   cat conftest.err >&5
2823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824   (exit $ac_status); } &&
2825          { ac_try='test -z "$ac_c_werror_flag"
2826                          || test ! -s conftest.err'
2827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2828   (eval $ac_try) 2>&5
2829   ac_status=$?
2830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831   (exit $ac_status); }; } &&
2832          { ac_try='test -s conftest.$ac_objext'
2833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2834   (eval $ac_try) 2>&5
2835   ac_status=$?
2836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837   (exit $ac_status); }; }; then
2838   break
2839 else
2840   echo "$as_me: failed program was:" >&5
2841 sed 's/^/| /' conftest.$ac_ext >&5
2842
2843 fi
2844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2845 done
2846 rm -f conftest*
2847 if test -n "$ac_declaration"; then
2848   echo '#ifdef __cplusplus' >>confdefs.h
2849   echo $ac_declaration      >>confdefs.h
2850   echo '#endif'             >>confdefs.h
2851 fi
2852
2853 else
2854   echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.$ac_ext >&5
2856
2857 fi
2858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2859 ac_ext=c
2860 ac_cpp='$CPP $CPPFLAGS'
2861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2864 DEPDIR="${am__leading_dot}deps"
2865
2866           ac_config_commands="$ac_config_commands depfiles"
2867
2868
2869 am_make=${MAKE-make}
2870 cat > confinc << 'END'
2871 am__doit:
2872         @echo done
2873 .PHONY: am__doit
2874 END
2875 # If we don't find an include directive, just comment out the code.
2876 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2877 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2878 am__include="#"
2879 am__quote=
2880 _am_result=none
2881 # First try GNU make style include.
2882 echo "include confinc" > confmf
2883 # We grep out `Entering directory' and `Leaving directory'
2884 # messages which can occur if `w' ends up in MAKEFLAGS.
2885 # In particular we don't look at `^make:' because GNU make might
2886 # be invoked under some other name (usually "gmake"), in which
2887 # case it prints its new name instead of `make'.
2888 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2889    am__include=include
2890    am__quote=
2891    _am_result=GNU
2892 fi
2893 # Now try BSD make style include.
2894 if test "$am__include" = "#"; then
2895    echo '.include "confinc"' > confmf
2896    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2897       am__include=.include
2898       am__quote="\""
2899       _am_result=BSD
2900    fi
2901 fi
2902
2903
2904 echo "$as_me:$LINENO: result: $_am_result" >&5
2905 echo "${ECHO_T}$_am_result" >&6
2906 rm -f confinc confmf
2907
2908 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2909 if test "${enable_dependency_tracking+set}" = set; then
2910   enableval="$enable_dependency_tracking"
2911
2912 fi;
2913 if test "x$enable_dependency_tracking" != xno; then
2914   am_depcomp="$ac_aux_dir/depcomp"
2915   AMDEPBACKSLASH='\'
2916 fi
2917
2918
2919 if test "x$enable_dependency_tracking" != xno; then
2920   AMDEP_TRUE=
2921   AMDEP_FALSE='#'
2922 else
2923   AMDEP_TRUE='#'
2924   AMDEP_FALSE=
2925 fi
2926
2927
2928
2929
2930 depcc="$CC"   am_compiler_list=
2931
2932 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2933 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2934 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2935   echo $ECHO_N "(cached) $ECHO_C" >&6
2936 else
2937   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2938   # We make a subdir and do the tests there.  Otherwise we can end up
2939   # making bogus files that we don't know about and never remove.  For
2940   # instance it was reported that on HP-UX the gcc test will end up
2941   # making a dummy file named `D' -- because `-MD' means `put the output
2942   # in D'.
2943   mkdir conftest.dir
2944   # Copy depcomp to subdir because otherwise we won't find it if we're
2945   # using a relative directory.
2946   cp "$am_depcomp" conftest.dir
2947   cd conftest.dir
2948   # We will build objects and dependencies in a subdirectory because
2949   # it helps to detect inapplicable dependency modes.  For instance
2950   # both Tru64's cc and ICC support -MD to output dependencies as a
2951   # side effect of compilation, but ICC will put the dependencies in
2952   # the current directory while Tru64 will put them in the object
2953   # directory.
2954   mkdir sub
2955
2956   am_cv_CC_dependencies_compiler_type=none
2957   if test "$am_compiler_list" = ""; then
2958      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2959   fi
2960   for depmode in $am_compiler_list; do
2961     # Setup a source with many dependencies, because some compilers
2962     # like to wrap large dependency lists on column 80 (with \), and
2963     # we should not choose a depcomp mode which is confused by this.
2964     #
2965     # We need to recreate these files for each test, as the compiler may
2966     # overwrite some of them when testing with obscure command lines.
2967     # This happens at least with the AIX C compiler.
2968     : > sub/conftest.c
2969     for i in 1 2 3 4 5 6; do
2970       echo '#include "conftst'$i'.h"' >> sub/conftest.c
2971       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2972       # Solaris 8's {/usr,}/bin/sh.
2973       touch sub/conftst$i.h
2974     done
2975     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2976
2977     case $depmode in
2978     nosideeffect)
2979       # after this tag, mechanisms are not by side-effect, so they'll
2980       # only be used when explicitly requested
2981       if test "x$enable_dependency_tracking" = xyes; then
2982         continue
2983       else
2984         break
2985       fi
2986       ;;
2987     none) break ;;
2988     esac
2989     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2990     # mode.  It turns out that the SunPro C++ compiler does not properly
2991     # handle `-M -o', and we need to detect this.
2992     if depmode=$depmode \
2993        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2994        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2995        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2996          >/dev/null 2>conftest.err &&
2997        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2998        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2999        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3000       # icc doesn't choke on unknown options, it will just issue warnings
3001       # or remarks (even with -Werror).  So we grep stderr for any message
3002       # that says an option was ignored or not supported.
3003       # When given -MP, icc 7.0 and 7.1 complain thusly:
3004       #   icc: Command line warning: ignoring option '-M'; no argument required
3005       # The diagnosis changed in icc 8.0:
3006       #   icc: Command line remark: option '-MP' not supported
3007       if (grep 'ignoring option' conftest.err ||
3008           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3009         am_cv_CC_dependencies_compiler_type=$depmode
3010         break
3011       fi
3012     fi
3013   done
3014
3015   cd ..
3016   rm -rf conftest.dir
3017 else
3018   am_cv_CC_dependencies_compiler_type=none
3019 fi
3020
3021 fi
3022 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3023 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3024 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3025
3026
3027
3028 if
3029   test "x$enable_dependency_tracking" != xno \
3030   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3031   am__fastdepCC_TRUE=
3032   am__fastdepCC_FALSE='#'
3033 else
3034   am__fastdepCC_TRUE='#'
3035   am__fastdepCC_FALSE=
3036 fi
3037
3038
3039
3040
3041
3042
3043 if test "x$GCC" != "xyes"; then
3044   { { echo "$as_me:$LINENO: error: libmudflap must be built with GCC" >&5
3045 echo "$as_me: error: libmudflap must be built with GCC" >&2;}
3046    { (exit 1); exit 1; }; }
3047 fi
3048 ac_ext=c
3049 ac_cpp='$CPP $CPPFLAGS'
3050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3053 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3054 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3055 # On Suns, sometimes $CPP names a directory.
3056 if test -n "$CPP" && test -d "$CPP"; then
3057   CPP=
3058 fi
3059 if test -z "$CPP"; then
3060   if test "${ac_cv_prog_CPP+set}" = set; then
3061   echo $ECHO_N "(cached) $ECHO_C" >&6
3062 else
3063       # Double quotes because CPP needs to be expanded
3064     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3065     do
3066       ac_preproc_ok=false
3067 for ac_c_preproc_warn_flag in '' yes
3068 do
3069   # Use a header file that comes with gcc, so configuring glibc
3070   # with a fresh cross-compiler works.
3071   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3072   # <limits.h> exists even on freestanding compilers.
3073   # On the NeXT, cc -E runs the code through the compiler's parser,
3074   # not just through cpp. "Syntax error" is here to catch this case.
3075   cat >conftest.$ac_ext <<_ACEOF
3076 /* confdefs.h.  */
3077 _ACEOF
3078 cat confdefs.h >>conftest.$ac_ext
3079 cat >>conftest.$ac_ext <<_ACEOF
3080 /* end confdefs.h.  */
3081 #ifdef __STDC__
3082 # include <limits.h>
3083 #else
3084 # include <assert.h>
3085 #endif
3086                      Syntax error
3087 _ACEOF
3088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3089   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3090   ac_status=$?
3091   grep -v '^ *+' conftest.er1 >conftest.err
3092   rm -f conftest.er1
3093   cat conftest.err >&5
3094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095   (exit $ac_status); } >/dev/null; then
3096   if test -s conftest.err; then
3097     ac_cpp_err=$ac_c_preproc_warn_flag
3098     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3099   else
3100     ac_cpp_err=
3101   fi
3102 else
3103   ac_cpp_err=yes
3104 fi
3105 if test -z "$ac_cpp_err"; then
3106   :
3107 else
3108   echo "$as_me: failed program was:" >&5
3109 sed 's/^/| /' conftest.$ac_ext >&5
3110
3111   # Broken: fails on valid input.
3112 continue
3113 fi
3114 rm -f conftest.err conftest.$ac_ext
3115
3116   # OK, works on sane cases.  Now check whether non-existent headers
3117   # can be detected and how.
3118   cat >conftest.$ac_ext <<_ACEOF
3119 /* confdefs.h.  */
3120 _ACEOF
3121 cat confdefs.h >>conftest.$ac_ext
3122 cat >>conftest.$ac_ext <<_ACEOF
3123 /* end confdefs.h.  */
3124 #include <ac_nonexistent.h>
3125 _ACEOF
3126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3127   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3128   ac_status=$?
3129   grep -v '^ *+' conftest.er1 >conftest.err
3130   rm -f conftest.er1
3131   cat conftest.err >&5
3132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133   (exit $ac_status); } >/dev/null; then
3134   if test -s conftest.err; then
3135     ac_cpp_err=$ac_c_preproc_warn_flag
3136     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3137   else
3138     ac_cpp_err=
3139   fi
3140 else
3141   ac_cpp_err=yes
3142 fi
3143 if test -z "$ac_cpp_err"; then
3144   # Broken: success on invalid input.
3145 continue
3146 else
3147   echo "$as_me: failed program was:" >&5
3148 sed 's/^/| /' conftest.$ac_ext >&5
3149
3150   # Passes both tests.
3151 ac_preproc_ok=:
3152 break
3153 fi
3154 rm -f conftest.err conftest.$ac_ext
3155
3156 done
3157 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3158 rm -f conftest.err conftest.$ac_ext
3159 if $ac_preproc_ok; then
3160   break
3161 fi
3162
3163     done
3164     ac_cv_prog_CPP=$CPP
3165
3166 fi
3167   CPP=$ac_cv_prog_CPP
3168 else
3169   ac_cv_prog_CPP=$CPP
3170 fi
3171 echo "$as_me:$LINENO: result: $CPP" >&5
3172 echo "${ECHO_T}$CPP" >&6
3173 ac_preproc_ok=false
3174 for ac_c_preproc_warn_flag in '' yes
3175 do
3176   # Use a header file that comes with gcc, so configuring glibc
3177   # with a fresh cross-compiler works.
3178   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3179   # <limits.h> exists even on freestanding compilers.
3180   # On the NeXT, cc -E runs the code through the compiler's parser,
3181   # not just through cpp. "Syntax error" is here to catch this case.
3182   cat >conftest.$ac_ext <<_ACEOF
3183 /* confdefs.h.  */
3184 _ACEOF
3185 cat confdefs.h >>conftest.$ac_ext
3186 cat >>conftest.$ac_ext <<_ACEOF
3187 /* end confdefs.h.  */
3188 #ifdef __STDC__
3189 # include <limits.h>
3190 #else
3191 # include <assert.h>
3192 #endif
3193                      Syntax error
3194 _ACEOF
3195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3196   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3197   ac_status=$?
3198   grep -v '^ *+' conftest.er1 >conftest.err
3199   rm -f conftest.er1
3200   cat conftest.err >&5
3201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202   (exit $ac_status); } >/dev/null; then
3203   if test -s conftest.err; then
3204     ac_cpp_err=$ac_c_preproc_warn_flag
3205     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3206   else
3207     ac_cpp_err=
3208   fi
3209 else
3210   ac_cpp_err=yes
3211 fi
3212 if test -z "$ac_cpp_err"; then
3213   :
3214 else
3215   echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3217
3218   # Broken: fails on valid input.
3219 continue
3220 fi
3221 rm -f conftest.err conftest.$ac_ext
3222
3223   # OK, works on sane cases.  Now check whether non-existent headers
3224   # can be detected and how.
3225   cat >conftest.$ac_ext <<_ACEOF
3226 /* confdefs.h.  */
3227 _ACEOF
3228 cat confdefs.h >>conftest.$ac_ext
3229 cat >>conftest.$ac_ext <<_ACEOF
3230 /* end confdefs.h.  */
3231 #include <ac_nonexistent.h>
3232 _ACEOF
3233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3234   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3235   ac_status=$?
3236   grep -v '^ *+' conftest.er1 >conftest.err
3237   rm -f conftest.er1
3238   cat conftest.err >&5
3239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240   (exit $ac_status); } >/dev/null; then
3241   if test -s conftest.err; then
3242     ac_cpp_err=$ac_c_preproc_warn_flag
3243     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3244   else
3245     ac_cpp_err=
3246   fi
3247 else
3248   ac_cpp_err=yes
3249 fi
3250 if test -z "$ac_cpp_err"; then
3251   # Broken: success on invalid input.
3252 continue
3253 else
3254   echo "$as_me: failed program was:" >&5
3255 sed 's/^/| /' conftest.$ac_ext >&5
3256
3257   # Passes both tests.
3258 ac_preproc_ok=:
3259 break
3260 fi
3261 rm -f conftest.err conftest.$ac_ext
3262
3263 done
3264 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3265 rm -f conftest.err conftest.$ac_ext
3266 if $ac_preproc_ok; then
3267   :
3268 else
3269   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3270 See \`config.log' for more details." >&5
3271 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3272 See \`config.log' for more details." >&2;}
3273    { (exit 1); exit 1; }; }
3274 fi
3275
3276 ac_ext=c
3277 ac_cpp='$CPP $CPPFLAGS'
3278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3281
3282
3283 # Some hosts don't have dlsym(RTLD_NEXT, "symbol") for use in
3284 # symbol interposition.  We disable shared libraries for these.
3285 echo "$as_me:$LINENO: checking whether dlsym(RTLD_NEXT,...) is available" >&5
3286 echo $ECHO_N "checking whether dlsym(RTLD_NEXT,...) is available... $ECHO_C" >&6
3287
3288 cat >conftest.$ac_ext <<_ACEOF
3289 /* confdefs.h.  */
3290 _ACEOF
3291 cat confdefs.h >>conftest.$ac_ext
3292 cat >>conftest.$ac_ext <<_ACEOF
3293 /* end confdefs.h.  */
3294
3295 #define _GNU_SOURCE
3296 #include <dlfcn.h>
3297
3298 int
3299 main ()
3300 {
3301 void *foo = dlsym (RTLD_NEXT, "exit");
3302   ;
3303   return 0;
3304 }
3305 _ACEOF
3306 rm -f conftest.$ac_objext
3307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3308   (eval $ac_compile) 2>conftest.er1
3309   ac_status=$?
3310   grep -v '^ *+' conftest.er1 >conftest.err
3311   rm -f conftest.er1
3312   cat conftest.err >&5
3313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314   (exit $ac_status); } &&
3315          { ac_try='test -z "$ac_c_werror_flag"
3316                          || test ! -s conftest.err'
3317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3318   (eval $ac_try) 2>&5
3319   ac_status=$?
3320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321   (exit $ac_status); }; } &&
3322          { ac_try='test -s conftest.$ac_objext'
3323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3324   (eval $ac_try) 2>&5
3325   ac_status=$?
3326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327   (exit $ac_status); }; }; then
3328   echo "$as_me:$LINENO: result: yes" >&5
3329 echo "${ECHO_T}yes" >&6
3330 else
3331   echo "$as_me: failed program was:" >&5
3332 sed 's/^/| /' conftest.$ac_ext >&5
3333
3334 echo "$as_me:$LINENO: result: no" >&5
3335 echo "${ECHO_T}no" >&6
3336 enable_shared=no
3337 fi
3338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3339
3340
3341 echo "$as_me:$LINENO: checking for egrep" >&5
3342 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3343 if test "${ac_cv_prog_egrep+set}" = set; then
3344   echo $ECHO_N "(cached) $ECHO_C" >&6
3345 else
3346   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3347     then ac_cv_prog_egrep='grep -E'
3348     else ac_cv_prog_egrep='egrep'
3349     fi
3350 fi
3351 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3352 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3353  EGREP=$ac_cv_prog_egrep
3354
3355
3356 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3357 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3358 if test "${ac_cv_header_stdc+set}" = set; then
3359   echo $ECHO_N "(cached) $ECHO_C" >&6
3360 else
3361   cat >conftest.$ac_ext <<_ACEOF
3362 /* confdefs.h.  */
3363 _ACEOF
3364 cat confdefs.h >>conftest.$ac_ext
3365 cat >>conftest.$ac_ext <<_ACEOF
3366 /* end confdefs.h.  */
3367 #include <stdlib.h>
3368 #include <stdarg.h>
3369 #include <string.h>
3370 #include <float.h>
3371
3372 int
3373 main ()
3374 {
3375
3376   ;
3377   return 0;
3378 }
3379 _ACEOF
3380 rm -f conftest.$ac_objext
3381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3382   (eval $ac_compile) 2>conftest.er1
3383   ac_status=$?
3384   grep -v '^ *+' conftest.er1 >conftest.err
3385   rm -f conftest.er1
3386   cat conftest.err >&5
3387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388   (exit $ac_status); } &&
3389          { ac_try='test -z "$ac_c_werror_flag"
3390                          || test ! -s conftest.err'
3391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3392   (eval $ac_try) 2>&5
3393   ac_status=$?
3394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395   (exit $ac_status); }; } &&
3396          { ac_try='test -s conftest.$ac_objext'
3397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3398   (eval $ac_try) 2>&5
3399   ac_status=$?
3400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401   (exit $ac_status); }; }; then
3402   ac_cv_header_stdc=yes
3403 else
3404   echo "$as_me: failed program was:" >&5
3405 sed 's/^/| /' conftest.$ac_ext >&5
3406
3407 ac_cv_header_stdc=no
3408 fi
3409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3410
3411 if test $ac_cv_header_stdc = yes; then
3412   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3413   cat >conftest.$ac_ext <<_ACEOF
3414 /* confdefs.h.  */
3415 _ACEOF
3416 cat confdefs.h >>conftest.$ac_ext
3417 cat >>conftest.$ac_ext <<_ACEOF
3418 /* end confdefs.h.  */
3419 #include <string.h>
3420
3421 _ACEOF
3422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3423   $EGREP "memchr" >/dev/null 2>&1; then
3424   :
3425 else
3426   ac_cv_header_stdc=no
3427 fi
3428 rm -f conftest*
3429
3430 fi
3431
3432 if test $ac_cv_header_stdc = yes; then
3433   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3434   cat >conftest.$ac_ext <<_ACEOF
3435 /* confdefs.h.  */
3436 _ACEOF
3437 cat confdefs.h >>conftest.$ac_ext
3438 cat >>conftest.$ac_ext <<_ACEOF
3439 /* end confdefs.h.  */
3440 #include <stdlib.h>
3441
3442 _ACEOF
3443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3444   $EGREP "free" >/dev/null 2>&1; then
3445   :
3446 else
3447   ac_cv_header_stdc=no
3448 fi
3449 rm -f conftest*
3450
3451 fi
3452
3453 if test $ac_cv_header_stdc = yes; then
3454   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3455   if test "$cross_compiling" = yes; then
3456   :
3457 else
3458   cat >conftest.$ac_ext <<_ACEOF
3459 /* confdefs.h.  */
3460 _ACEOF
3461 cat confdefs.h >>conftest.$ac_ext
3462 cat >>conftest.$ac_ext <<_ACEOF
3463 /* end confdefs.h.  */
3464 #include <ctype.h>
3465 #if ((' ' & 0x0FF) == 0x020)
3466 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3467 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3468 #else
3469 # define ISLOWER(c) \
3470                    (('a' <= (c) && (c) <= 'i') \
3471                      || ('j' <= (c) && (c) <= 'r') \
3472                      || ('s' <= (c) && (c) <= 'z'))
3473 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3474 #endif
3475
3476 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3477 int
3478 main ()
3479 {
3480   int i;
3481   for (i = 0; i < 256; i++)
3482     if (XOR (islower (i), ISLOWER (i))
3483         || toupper (i) != TOUPPER (i))
3484       exit(2);
3485   exit (0);
3486 }
3487 _ACEOF
3488 rm -f conftest$ac_exeext
3489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3490   (eval $ac_link) 2>&5
3491   ac_status=$?
3492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3495   (eval $ac_try) 2>&5
3496   ac_status=$?
3497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498   (exit $ac_status); }; }; then
3499   :
3500 else
3501   echo "$as_me: program exited with status $ac_status" >&5
3502 echo "$as_me: failed program was:" >&5
3503 sed 's/^/| /' conftest.$ac_ext >&5
3504
3505 ( exit $ac_status )
3506 ac_cv_header_stdc=no
3507 fi
3508 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3509 fi
3510 fi
3511 fi
3512 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3513 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3514 if test $ac_cv_header_stdc = yes; then
3515
3516 cat >>confdefs.h <<\_ACEOF
3517 #define STDC_HEADERS 1
3518 _ACEOF
3519
3520 fi
3521
3522 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3533                   inttypes.h stdint.h unistd.h
3534 do
3535 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3536 echo "$as_me:$LINENO: checking for $ac_header" >&5
3537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3539   echo $ECHO_N "(cached) $ECHO_C" >&6
3540 else
3541   cat >conftest.$ac_ext <<_ACEOF
3542 /* confdefs.h.  */
3543 _ACEOF
3544 cat confdefs.h >>conftest.$ac_ext
3545 cat >>conftest.$ac_ext <<_ACEOF
3546 /* end confdefs.h.  */
3547 $ac_includes_default
3548
3549 #include <$ac_header>
3550 _ACEOF
3551 rm -f conftest.$ac_objext
3552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3553   (eval $ac_compile) 2>conftest.er1
3554   ac_status=$?
3555   grep -v '^ *+' conftest.er1 >conftest.err
3556   rm -f conftest.er1
3557   cat conftest.err >&5
3558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559   (exit $ac_status); } &&
3560          { ac_try='test -z "$ac_c_werror_flag"
3561                          || test ! -s conftest.err'
3562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3563   (eval $ac_try) 2>&5
3564   ac_status=$?
3565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566   (exit $ac_status); }; } &&
3567          { ac_try='test -s conftest.$ac_objext'
3568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3569   (eval $ac_try) 2>&5
3570   ac_status=$?
3571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572   (exit $ac_status); }; }; then
3573   eval "$as_ac_Header=yes"
3574 else
3575   echo "$as_me: failed program was:" >&5
3576 sed 's/^/| /' conftest.$ac_ext >&5
3577
3578 eval "$as_ac_Header=no"
3579 fi
3580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3581 fi
3582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3585   cat >>confdefs.h <<_ACEOF
3586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3587 _ACEOF
3588
3589 fi
3590
3591 done
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613 for ac_header in stdint.h execinfo.h signal.h dlfcn.h dirent.h pwd.h grp.h \
3614   netdb.h sys/ipc.h sys/sem.h sys/shm.h sys/wait.h ctype.h mntent.h \
3615   sys/socket.h netinet/in.h arpa/inet.h dlfcn.h sys/mman.h
3616 do
3617 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3619   echo "$as_me:$LINENO: checking for $ac_header" >&5
3620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3622   echo $ECHO_N "(cached) $ECHO_C" >&6
3623 fi
3624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3626 else
3627   # Is the header compilable?
3628 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3629 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3630 cat >conftest.$ac_ext <<_ACEOF
3631 /* confdefs.h.  */
3632 _ACEOF
3633 cat confdefs.h >>conftest.$ac_ext
3634 cat >>conftest.$ac_ext <<_ACEOF
3635 /* end confdefs.h.  */
3636 $ac_includes_default
3637 #include <$ac_header>
3638 _ACEOF
3639 rm -f conftest.$ac_objext
3640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3641   (eval $ac_compile) 2>conftest.er1
3642   ac_status=$?
3643   grep -v '^ *+' conftest.er1 >conftest.err
3644   rm -f conftest.er1
3645   cat conftest.err >&5
3646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647   (exit $ac_status); } &&
3648          { ac_try='test -z "$ac_c_werror_flag"
3649                          || test ! -s conftest.err'
3650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3651   (eval $ac_try) 2>&5
3652   ac_status=$?
3653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3654   (exit $ac_status); }; } &&
3655          { ac_try='test -s conftest.$ac_objext'
3656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3657   (eval $ac_try) 2>&5
3658   ac_status=$?
3659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660   (exit $ac_status); }; }; then
3661   ac_header_compiler=yes
3662 else
3663   echo "$as_me: failed program was:" >&5
3664 sed 's/^/| /' conftest.$ac_ext >&5
3665
3666 ac_header_compiler=no
3667 fi
3668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3669 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3670 echo "${ECHO_T}$ac_header_compiler" >&6
3671
3672 # Is the header present?
3673 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3674 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3675 cat >conftest.$ac_ext <<_ACEOF
3676 /* confdefs.h.  */
3677 _ACEOF
3678 cat confdefs.h >>conftest.$ac_ext
3679 cat >>conftest.$ac_ext <<_ACEOF
3680 /* end confdefs.h.  */
3681 #include <$ac_header>
3682 _ACEOF
3683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3684   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3685   ac_status=$?
3686   grep -v '^ *+' conftest.er1 >conftest.err
3687   rm -f conftest.er1
3688   cat conftest.err >&5
3689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690   (exit $ac_status); } >/dev/null; then
3691   if test -s conftest.err; then
3692     ac_cpp_err=$ac_c_preproc_warn_flag
3693     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3694   else
3695     ac_cpp_err=
3696   fi
3697 else
3698   ac_cpp_err=yes
3699 fi
3700 if test -z "$ac_cpp_err"; then
3701   ac_header_preproc=yes
3702 else
3703   echo "$as_me: failed program was:" >&5
3704 sed 's/^/| /' conftest.$ac_ext >&5
3705
3706   ac_header_preproc=no
3707 fi
3708 rm -f conftest.err conftest.$ac_ext
3709 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3710 echo "${ECHO_T}$ac_header_preproc" >&6
3711
3712 # So?  What about this header?
3713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3714   yes:no: )
3715     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3716 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3717     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3718 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3719     ac_header_preproc=yes
3720     ;;
3721   no:yes:* )
3722     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3723 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3724     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
3725 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
3726     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3727 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3728     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
3729 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3730     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3731 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3732     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3733 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3734     (
3735       cat <<\_ASBOX
3736 ## ------------------------------------- ##
3737 ## Report this to the libmudflap lists.  ##
3738 ## ------------------------------------- ##
3739 _ASBOX
3740     ) |
3741       sed "s/^/$as_me: WARNING:     /" >&2
3742     ;;
3743 esac
3744 echo "$as_me:$LINENO: checking for $ac_header" >&5
3745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3747   echo $ECHO_N "(cached) $ECHO_C" >&6
3748 else
3749   eval "$as_ac_Header=\$ac_header_preproc"
3750 fi
3751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3753
3754 fi
3755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3756   cat >>confdefs.h <<_ACEOF
3757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3758 _ACEOF
3759
3760 fi
3761
3762 done
3763
3764
3765
3766
3767
3768
3769 for ac_func in backtrace backtrace_symbols gettimeofday signal
3770 do
3771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3772 echo "$as_me:$LINENO: checking for $ac_func" >&5
3773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3774 if eval "test \"\${$as_ac_var+set}\" = set"; then
3775   echo $ECHO_N "(cached) $ECHO_C" >&6
3776 else
3777   cat >conftest.$ac_ext <<_ACEOF
3778 /* confdefs.h.  */
3779 _ACEOF
3780 cat confdefs.h >>conftest.$ac_ext
3781 cat >>conftest.$ac_ext <<_ACEOF
3782 /* end confdefs.h.  */
3783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3784    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3785 #define $ac_func innocuous_$ac_func
3786
3787 /* System header to define __stub macros and hopefully few prototypes,
3788     which can conflict with char $ac_func (); below.
3789     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3790     <limits.h> exists even on freestanding compilers.  */
3791
3792 #ifdef __STDC__
3793 # include <limits.h>
3794 #else
3795 # include <assert.h>
3796 #endif
3797
3798 #undef $ac_func
3799
3800 /* Override any gcc2 internal prototype to avoid an error.  */
3801 #ifdef __cplusplus
3802 extern "C"
3803 {
3804 #endif
3805 /* We use char because int might match the return type of a gcc2
3806    builtin and then its argument prototype would still apply.  */
3807 char $ac_func ();
3808 /* The GNU C library defines this for functions which it implements
3809     to always fail with ENOSYS.  Some functions are actually named
3810     something starting with __ and the normal name is an alias.  */
3811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3812 choke me
3813 #else
3814 char (*f) () = $ac_func;
3815 #endif
3816 #ifdef __cplusplus
3817 }
3818 #endif
3819
3820 int
3821 main ()
3822 {
3823 return f != $ac_func;
3824   ;
3825   return 0;
3826 }
3827 _ACEOF
3828 rm -f conftest.$ac_objext conftest$ac_exeext
3829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3830   (eval $ac_link) 2>conftest.er1
3831   ac_status=$?
3832   grep -v '^ *+' conftest.er1 >conftest.err
3833   rm -f conftest.er1
3834   cat conftest.err >&5
3835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836   (exit $ac_status); } &&
3837          { ac_try='test -z "$ac_c_werror_flag"
3838                          || test ! -s conftest.err'
3839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3840   (eval $ac_try) 2>&5
3841   ac_status=$?
3842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843   (exit $ac_status); }; } &&
3844          { ac_try='test -s conftest$ac_exeext'
3845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3846   (eval $ac_try) 2>&5
3847   ac_status=$?
3848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849   (exit $ac_status); }; }; then
3850   eval "$as_ac_var=yes"
3851 else
3852   echo "$as_me: failed program was:" >&5
3853 sed 's/^/| /' conftest.$ac_ext >&5
3854
3855 eval "$as_ac_var=no"
3856 fi
3857 rm -f conftest.err conftest.$ac_objext \
3858       conftest$ac_exeext conftest.$ac_ext
3859 fi
3860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3862 if test `eval echo '${'$as_ac_var'}'` = yes; then
3863   cat >>confdefs.h <<_ACEOF
3864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3865 _ACEOF
3866
3867 fi
3868 done
3869
3870
3871
3872
3873
3874
3875 for ac_func in fopen64 fseeko64 ftello64 stat64 freopen64
3876 do
3877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3878 echo "$as_me:$LINENO: checking for $ac_func" >&5
3879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3880 if eval "test \"\${$as_ac_var+set}\" = set"; then
3881   echo $ECHO_N "(cached) $ECHO_C" >&6
3882 else
3883   cat >conftest.$ac_ext <<_ACEOF
3884 /* confdefs.h.  */
3885 _ACEOF
3886 cat confdefs.h >>conftest.$ac_ext
3887 cat >>conftest.$ac_ext <<_ACEOF
3888 /* end confdefs.h.  */
3889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3890    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3891 #define $ac_func innocuous_$ac_func
3892
3893 /* System header to define __stub macros and hopefully few prototypes,
3894     which can conflict with char $ac_func (); below.
3895     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3896     <limits.h> exists even on freestanding compilers.  */
3897
3898 #ifdef __STDC__
3899 # include <limits.h>
3900 #else
3901 # include <assert.h>
3902 #endif
3903
3904 #undef $ac_func
3905
3906 /* Override any gcc2 internal prototype to avoid an error.  */
3907 #ifdef __cplusplus
3908 extern "C"
3909 {
3910 #endif
3911 /* We use char because int might match the return type of a gcc2
3912    builtin and then its argument prototype would still apply.  */
3913 char $ac_func ();
3914 /* The GNU C library defines this for functions which it implements
3915     to always fail with ENOSYS.  Some functions are actually named
3916     something starting with __ and the normal name is an alias.  */
3917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3918 choke me
3919 #else
3920 char (*f) () = $ac_func;
3921 #endif
3922 #ifdef __cplusplus
3923 }
3924 #endif
3925
3926 int
3927 main ()
3928 {
3929 return f != $ac_func;
3930   ;
3931   return 0;
3932 }
3933 _ACEOF
3934 rm -f conftest.$ac_objext conftest$ac_exeext
3935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3936   (eval $ac_link) 2>conftest.er1
3937   ac_status=$?
3938   grep -v '^ *+' conftest.er1 >conftest.err
3939   rm -f conftest.er1
3940   cat conftest.err >&5
3941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942   (exit $ac_status); } &&
3943          { ac_try='test -z "$ac_c_werror_flag"
3944                          || test ! -s conftest.err'
3945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3946   (eval $ac_try) 2>&5
3947   ac_status=$?
3948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949   (exit $ac_status); }; } &&
3950          { ac_try='test -s conftest$ac_exeext'
3951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3952   (eval $ac_try) 2>&5
3953   ac_status=$?
3954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955   (exit $ac_status); }; }; then
3956   eval "$as_ac_var=yes"
3957 else
3958   echo "$as_me: failed program was:" >&5
3959 sed 's/^/| /' conftest.$ac_ext >&5
3960
3961 eval "$as_ac_var=no"
3962 fi
3963 rm -f conftest.err conftest.$ac_objext \
3964       conftest$ac_exeext conftest.$ac_ext
3965 fi
3966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3968 if test `eval echo '${'$as_ac_var'}'` = yes; then
3969   cat >>confdefs.h <<_ACEOF
3970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3971 _ACEOF
3972
3973 fi
3974 done
3975
3976
3977
3978
3979
3980 for ac_func in setbuf setbuffer setlinebuf setvbuf
3981 do
3982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3983 echo "$as_me:$LINENO: checking for $ac_func" >&5
3984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3985 if eval "test \"\${$as_ac_var+set}\" = set"; then
3986   echo $ECHO_N "(cached) $ECHO_C" >&6
3987 else
3988   cat >conftest.$ac_ext <<_ACEOF
3989 /* confdefs.h.  */
3990 _ACEOF
3991 cat confdefs.h >>conftest.$ac_ext
3992 cat >>conftest.$ac_ext <<_ACEOF
3993 /* end confdefs.h.  */
3994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3995    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3996 #define $ac_func innocuous_$ac_func
3997
3998 /* System header to define __stub macros and hopefully few prototypes,
3999     which can conflict with char $ac_func (); below.
4000     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4001     <limits.h> exists even on freestanding compilers.  */
4002
4003 #ifdef __STDC__
4004 # include <limits.h>
4005 #else
4006 # include <assert.h>
4007 #endif
4008
4009 #undef $ac_func
4010
4011 /* Override any gcc2 internal prototype to avoid an error.  */
4012 #ifdef __cplusplus
4013 extern "C"
4014 {
4015 #endif
4016 /* We use char because int might match the return type of a gcc2
4017    builtin and then its argument prototype would still apply.  */
4018 char $ac_func ();
4019 /* The GNU C library defines this for functions which it implements
4020     to always fail with ENOSYS.  Some functions are actually named
4021     something starting with __ and the normal name is an alias.  */
4022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4023 choke me
4024 #else
4025 char (*f) () = $ac_func;
4026 #endif
4027 #ifdef __cplusplus
4028 }
4029 #endif
4030
4031 int
4032 main ()
4033 {
4034 return f != $ac_func;
4035   ;
4036   return 0;
4037 }
4038 _ACEOF
4039 rm -f conftest.$ac_objext conftest$ac_exeext
4040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4041   (eval $ac_link) 2>conftest.er1
4042   ac_status=$?
4043   grep -v '^ *+' conftest.er1 >conftest.err
4044   rm -f conftest.er1
4045   cat conftest.err >&5
4046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047   (exit $ac_status); } &&
4048          { ac_try='test -z "$ac_c_werror_flag"
4049                          || test ! -s conftest.err'
4050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4051   (eval $ac_try) 2>&5
4052   ac_status=$?
4053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054   (exit $ac_status); }; } &&
4055          { ac_try='test -s conftest$ac_exeext'
4056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4057   (eval $ac_try) 2>&5
4058   ac_status=$?
4059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060   (exit $ac_status); }; }; then
4061   eval "$as_ac_var=yes"
4062 else
4063   echo "$as_me: failed program was:" >&5
4064 sed 's/^/| /' conftest.$ac_ext >&5
4065
4066 eval "$as_ac_var=no"
4067 fi
4068 rm -f conftest.err conftest.$ac_objext \
4069       conftest$ac_exeext conftest.$ac_ext
4070 fi
4071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4073 if test `eval echo '${'$as_ac_var'}'` = yes; then
4074   cat >>confdefs.h <<_ACEOF
4075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4076 _ACEOF
4077
4078 fi
4079 done
4080
4081
4082
4083
4084
4085
4086 for ac_func in strnlen memrchr strncpy memmem sethostname
4087 do
4088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4089 echo "$as_me:$LINENO: checking for $ac_func" >&5
4090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4091 if eval "test \"\${$as_ac_var+set}\" = set"; then
4092   echo $ECHO_N "(cached) $ECHO_C" >&6
4093 else
4094   cat >conftest.$ac_ext <<_ACEOF
4095 /* confdefs.h.  */
4096 _ACEOF
4097 cat confdefs.h >>conftest.$ac_ext
4098 cat >>conftest.$ac_ext <<_ACEOF
4099 /* end confdefs.h.  */
4100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4101    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4102 #define $ac_func innocuous_$ac_func
4103
4104 /* System header to define __stub macros and hopefully few prototypes,
4105     which can conflict with char $ac_func (); below.
4106     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4107     <limits.h> exists even on freestanding compilers.  */
4108
4109 #ifdef __STDC__
4110 # include <limits.h>
4111 #else
4112 # include <assert.h>
4113 #endif
4114
4115 #undef $ac_func
4116
4117 /* Override any gcc2 internal prototype to avoid an error.  */
4118 #ifdef __cplusplus
4119 extern "C"
4120 {
4121 #endif
4122 /* We use char because int might match the return type of a gcc2
4123    builtin and then its argument prototype would still apply.  */
4124 char $ac_func ();
4125 /* The GNU C library defines this for functions which it implements
4126     to always fail with ENOSYS.  Some functions are actually named
4127     something starting with __ and the normal name is an alias.  */
4128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4129 choke me
4130 #else
4131 char (*f) () = $ac_func;
4132 #endif
4133 #ifdef __cplusplus
4134 }
4135 #endif
4136
4137 int
4138 main ()
4139 {
4140 return f != $ac_func;
4141   ;
4142   return 0;
4143 }
4144 _ACEOF
4145 rm -f conftest.$ac_objext conftest$ac_exeext
4146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4147   (eval $ac_link) 2>conftest.er1
4148   ac_status=$?
4149   grep -v '^ *+' conftest.er1 >conftest.err
4150   rm -f conftest.er1
4151   cat conftest.err >&5
4152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4153   (exit $ac_status); } &&
4154          { ac_try='test -z "$ac_c_werror_flag"
4155                          || test ! -s conftest.err'
4156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4157   (eval $ac_try) 2>&5
4158   ac_status=$?
4159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160   (exit $ac_status); }; } &&
4161          { ac_try='test -s conftest$ac_exeext'
4162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4163   (eval $ac_try) 2>&5
4164   ac_status=$?
4165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166   (exit $ac_status); }; }; then
4167   eval "$as_ac_var=yes"
4168 else
4169   echo "$as_me: failed program was:" >&5
4170 sed 's/^/| /' conftest.$ac_ext >&5
4171
4172 eval "$as_ac_var=no"
4173 fi
4174 rm -f conftest.err conftest.$ac_objext \
4175       conftest$ac_exeext conftest.$ac_ext
4176 fi
4177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4179 if test `eval echo '${'$as_ac_var'}'` = yes; then
4180   cat >>confdefs.h <<_ACEOF
4181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4182 _ACEOF
4183
4184 fi
4185 done
4186
4187
4188
4189
4190 for ac_func in __ctype_b_loc __ctype_tolower_loc __ctype_toupper_loc
4191 do
4192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4193 echo "$as_me:$LINENO: checking for $ac_func" >&5
4194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4195 if eval "test \"\${$as_ac_var+set}\" = set"; then
4196   echo $ECHO_N "(cached) $ECHO_C" >&6
4197 else
4198   cat >conftest.$ac_ext <<_ACEOF
4199 /* confdefs.h.  */
4200 _ACEOF
4201 cat confdefs.h >>conftest.$ac_ext
4202 cat >>conftest.$ac_ext <<_ACEOF
4203 /* end confdefs.h.  */
4204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4205    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4206 #define $ac_func innocuous_$ac_func
4207
4208 /* System header to define __stub macros and hopefully few prototypes,
4209     which can conflict with char $ac_func (); below.
4210     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4211     <limits.h> exists even on freestanding compilers.  */
4212
4213 #ifdef __STDC__
4214 # include <limits.h>
4215 #else
4216 # include <assert.h>
4217 #endif
4218
4219 #undef $ac_func
4220
4221 /* Override any gcc2 internal prototype to avoid an error.  */
4222 #ifdef __cplusplus
4223 extern "C"
4224 {
4225 #endif
4226 /* We use char because int might match the return type of a gcc2
4227    builtin and then its argument prototype would still apply.  */
4228 char $ac_func ();
4229 /* The GNU C library defines this for functions which it implements
4230     to always fail with ENOSYS.  Some functions are actually named
4231     something starting with __ and the normal name is an alias.  */
4232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4233 choke me
4234 #else
4235 char (*f) () = $ac_func;
4236 #endif
4237 #ifdef __cplusplus
4238 }
4239 #endif
4240
4241 int
4242 main ()
4243 {
4244 return f != $ac_func;
4245   ;
4246   return 0;
4247 }
4248 _ACEOF
4249 rm -f conftest.$ac_objext conftest$ac_exeext
4250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4251   (eval $ac_link) 2>conftest.er1
4252   ac_status=$?
4253   grep -v '^ *+' conftest.er1 >conftest.err
4254   rm -f conftest.er1
4255   cat conftest.err >&5
4256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257   (exit $ac_status); } &&
4258          { ac_try='test -z "$ac_c_werror_flag"
4259                          || test ! -s conftest.err'
4260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4261   (eval $ac_try) 2>&5
4262   ac_status=$?
4263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264   (exit $ac_status); }; } &&
4265          { ac_try='test -s conftest$ac_exeext'
4266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4267   (eval $ac_try) 2>&5
4268   ac_status=$?
4269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270   (exit $ac_status); }; }; then
4271   eval "$as_ac_var=yes"
4272 else
4273   echo "$as_me: failed program was:" >&5
4274 sed 's/^/| /' conftest.$ac_ext >&5
4275
4276 eval "$as_ac_var=no"
4277 fi
4278 rm -f conftest.err conftest.$ac_objext \
4279       conftest$ac_exeext conftest.$ac_ext
4280 fi
4281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4283 if test `eval echo '${'$as_ac_var'}'` = yes; then
4284   cat >>confdefs.h <<_ACEOF
4285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4286 _ACEOF
4287
4288 fi
4289 done
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299 for ac_func in getlogin cuserid getpwnam getpwuid getpwent getgrnam getgrgid getgrent
4300 do
4301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4302 echo "$as_me:$LINENO: checking for $ac_func" >&5
4303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4304 if eval "test \"\${$as_ac_var+set}\" = set"; then
4305   echo $ECHO_N "(cached) $ECHO_C" >&6
4306 else
4307   cat >conftest.$ac_ext <<_ACEOF
4308 /* confdefs.h.  */
4309 _ACEOF
4310 cat confdefs.h >>conftest.$ac_ext
4311 cat >>conftest.$ac_ext <<_ACEOF
4312 /* end confdefs.h.  */
4313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4314    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4315 #define $ac_func innocuous_$ac_func
4316
4317 /* System header to define __stub macros and hopefully few prototypes,
4318     which can conflict with char $ac_func (); below.
4319     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4320     <limits.h> exists even on freestanding compilers.  */
4321
4322 #ifdef __STDC__
4323 # include <limits.h>
4324 #else
4325 # include <assert.h>
4326 #endif
4327
4328 #undef $ac_func
4329
4330 /* Override any gcc2 internal prototype to avoid an error.  */
4331 #ifdef __cplusplus
4332 extern "C"
4333 {
4334 #endif
4335 /* We use char because int might match the return type of a gcc2
4336    builtin and then its argument prototype would still apply.  */
4337 char $ac_func ();
4338 /* The GNU C library defines this for functions which it implements
4339     to always fail with ENOSYS.  Some functions are actually named
4340     something starting with __ and the normal name is an alias.  */
4341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4342 choke me
4343 #else
4344 char (*f) () = $ac_func;
4345 #endif
4346 #ifdef __cplusplus
4347 }
4348 #endif
4349
4350 int
4351 main ()
4352 {
4353 return f != $ac_func;
4354   ;
4355   return 0;
4356 }
4357 _ACEOF
4358 rm -f conftest.$ac_objext conftest$ac_exeext
4359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4360   (eval $ac_link) 2>conftest.er1
4361   ac_status=$?
4362   grep -v '^ *+' conftest.er1 >conftest.err
4363   rm -f conftest.er1
4364   cat conftest.err >&5
4365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366   (exit $ac_status); } &&
4367          { ac_try='test -z "$ac_c_werror_flag"
4368                          || test ! -s conftest.err'
4369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4370   (eval $ac_try) 2>&5
4371   ac_status=$?
4372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373   (exit $ac_status); }; } &&
4374          { ac_try='test -s conftest$ac_exeext'
4375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4376   (eval $ac_try) 2>&5
4377   ac_status=$?
4378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379   (exit $ac_status); }; }; then
4380   eval "$as_ac_var=yes"
4381 else
4382   echo "$as_me: failed program was:" >&5
4383 sed 's/^/| /' conftest.$ac_ext >&5
4384
4385 eval "$as_ac_var=no"
4386 fi
4387 rm -f conftest.err conftest.$ac_objext \
4388       conftest$ac_exeext conftest.$ac_ext
4389 fi
4390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4392 if test `eval echo '${'$as_ac_var'}'` = yes; then
4393   cat >>confdefs.h <<_ACEOF
4394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4395 _ACEOF
4396
4397 fi
4398 done
4399
4400
4401
4402
4403
4404
4405 for ac_func in getlogin_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r
4406 do
4407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4408 echo "$as_me:$LINENO: checking for $ac_func" >&5
4409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4410 if eval "test \"\${$as_ac_var+set}\" = set"; then
4411   echo $ECHO_N "(cached) $ECHO_C" >&6
4412 else
4413   cat >conftest.$ac_ext <<_ACEOF
4414 /* confdefs.h.  */
4415 _ACEOF
4416 cat confdefs.h >>conftest.$ac_ext
4417 cat >>conftest.$ac_ext <<_ACEOF
4418 /* end confdefs.h.  */
4419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4420    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4421 #define $ac_func innocuous_$ac_func
4422
4423 /* System header to define __stub macros and hopefully few prototypes,
4424     which can conflict with char $ac_func (); below.
4425     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4426     <limits.h> exists even on freestanding compilers.  */
4427
4428 #ifdef __STDC__
4429 # include <limits.h>
4430 #else
4431 # include <assert.h>
4432 #endif
4433
4434 #undef $ac_func
4435
4436 /* Override any gcc2 internal prototype to avoid an error.  */
4437 #ifdef __cplusplus
4438 extern "C"
4439 {
4440 #endif
4441 /* We use char because int might match the return type of a gcc2
4442    builtin and then its argument prototype would still apply.  */
4443 char $ac_func ();
4444 /* The GNU C library defines this for functions which it implements
4445     to always fail with ENOSYS.  Some functions are actually named
4446     something starting with __ and the normal name is an alias.  */
4447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4448 choke me
4449 #else
4450 char (*f) () = $ac_func;
4451 #endif
4452 #ifdef __cplusplus
4453 }
4454 #endif
4455
4456 int
4457 main ()
4458 {
4459 return f != $ac_func;
4460   ;
4461   return 0;
4462 }
4463 _ACEOF
4464 rm -f conftest.$ac_objext conftest$ac_exeext
4465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4466   (eval $ac_link) 2>conftest.er1
4467   ac_status=$?
4468   grep -v '^ *+' conftest.er1 >conftest.err
4469   rm -f conftest.er1
4470   cat conftest.err >&5
4471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472   (exit $ac_status); } &&
4473          { ac_try='test -z "$ac_c_werror_flag"
4474                          || test ! -s conftest.err'
4475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4476   (eval $ac_try) 2>&5
4477   ac_status=$?
4478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479   (exit $ac_status); }; } &&
4480          { ac_try='test -s conftest$ac_exeext'
4481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4482   (eval $ac_try) 2>&5
4483   ac_status=$?
4484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485   (exit $ac_status); }; }; then
4486   eval "$as_ac_var=yes"
4487 else
4488   echo "$as_me: failed program was:" >&5
4489 sed 's/^/| /' conftest.$ac_ext >&5
4490
4491 eval "$as_ac_var=no"
4492 fi
4493 rm -f conftest.err conftest.$ac_objext \
4494       conftest$ac_exeext conftest.$ac_ext
4495 fi
4496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4498 if test `eval echo '${'$as_ac_var'}'` = yes; then
4499   cat >>confdefs.h <<_ACEOF
4500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4501 _ACEOF
4502
4503 fi
4504 done
4505
4506
4507
4508
4509
4510
4511 for ac_func in getservent getservbyname getservbyport getaddrinfo gai_strerror
4512 do
4513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4514 echo "$as_me:$LINENO: checking for $ac_func" >&5
4515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4516 if eval "test \"\${$as_ac_var+set}\" = set"; then
4517   echo $ECHO_N "(cached) $ECHO_C" >&6
4518 else
4519   cat >conftest.$ac_ext <<_ACEOF
4520 /* confdefs.h.  */
4521 _ACEOF
4522 cat confdefs.h >>conftest.$ac_ext
4523 cat >>conftest.$ac_ext <<_ACEOF
4524 /* end confdefs.h.  */
4525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4526    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4527 #define $ac_func innocuous_$ac_func
4528
4529 /* System header to define __stub macros and hopefully few prototypes,
4530     which can conflict with char $ac_func (); below.
4531     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4532     <limits.h> exists even on freestanding compilers.  */
4533
4534 #ifdef __STDC__
4535 # include <limits.h>
4536 #else
4537 # include <assert.h>
4538 #endif
4539
4540 #undef $ac_func
4541
4542 /* Override any gcc2 internal prototype to avoid an error.  */
4543 #ifdef __cplusplus
4544 extern "C"
4545 {
4546 #endif
4547 /* We use char because int might match the return type of a gcc2
4548    builtin and then its argument prototype would still apply.  */
4549 char $ac_func ();
4550 /* The GNU C library defines this for functions which it implements
4551     to always fail with ENOSYS.  Some functions are actually named
4552     something starting with __ and the normal name is an alias.  */
4553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4554 choke me
4555 #else
4556 char (*f) () = $ac_func;
4557 #endif
4558 #ifdef __cplusplus
4559 }
4560 #endif
4561
4562 int
4563 main ()
4564 {
4565 return f != $ac_func;
4566   ;
4567   return 0;
4568 }
4569 _ACEOF
4570 rm -f conftest.$ac_objext conftest$ac_exeext
4571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4572   (eval $ac_link) 2>conftest.er1
4573   ac_status=$?
4574   grep -v '^ *+' conftest.er1 >conftest.err
4575   rm -f conftest.er1
4576   cat conftest.err >&5
4577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578   (exit $ac_status); } &&
4579          { ac_try='test -z "$ac_c_werror_flag"
4580                          || test ! -s conftest.err'
4581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4582   (eval $ac_try) 2>&5
4583   ac_status=$?
4584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585   (exit $ac_status); }; } &&
4586          { ac_try='test -s conftest$ac_exeext'
4587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4588   (eval $ac_try) 2>&5
4589   ac_status=$?
4590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591   (exit $ac_status); }; }; then
4592   eval "$as_ac_var=yes"
4593 else
4594   echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.$ac_ext >&5
4596
4597 eval "$as_ac_var=no"
4598 fi
4599 rm -f conftest.err conftest.$ac_objext \
4600       conftest$ac_exeext conftest.$ac_ext
4601 fi
4602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4604 if test `eval echo '${'$as_ac_var'}'` = yes; then
4605   cat >>confdefs.h <<_ACEOF
4606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4607 _ACEOF
4608
4609 fi
4610 done
4611
4612
4613
4614
4615 for ac_func in getprotoent getprotobyname getprotobynumber
4616 do
4617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4618 echo "$as_me:$LINENO: checking for $ac_func" >&5
4619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4620 if eval "test \"\${$as_ac_var+set}\" = set"; then
4621   echo $ECHO_N "(cached) $ECHO_C" >&6
4622 else
4623   cat >conftest.$ac_ext <<_ACEOF
4624 /* confdefs.h.  */
4625 _ACEOF
4626 cat confdefs.h >>conftest.$ac_ext
4627 cat >>conftest.$ac_ext <<_ACEOF
4628 /* end confdefs.h.  */
4629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4630    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4631 #define $ac_func innocuous_$ac_func
4632
4633 /* System header to define __stub macros and hopefully few prototypes,
4634     which can conflict with char $ac_func (); below.
4635     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4636     <limits.h> exists even on freestanding compilers.  */
4637
4638 #ifdef __STDC__
4639 # include <limits.h>
4640 #else
4641 # include <assert.h>
4642 #endif
4643
4644 #undef $ac_func
4645
4646 /* Override any gcc2 internal prototype to avoid an error.  */
4647 #ifdef __cplusplus
4648 extern "C"
4649 {
4650 #endif
4651 /* We use char because int might match the return type of a gcc2
4652    builtin and then its argument prototype would still apply.  */
4653 char $ac_func ();
4654 /* The GNU C library defines this for functions which it implements
4655     to always fail with ENOSYS.  Some functions are actually named
4656     something starting with __ and the normal name is an alias.  */
4657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4658 choke me
4659 #else
4660 char (*f) () = $ac_func;
4661 #endif
4662 #ifdef __cplusplus
4663 }
4664 #endif
4665
4666 int
4667 main ()
4668 {
4669 return f != $ac_func;
4670   ;
4671   return 0;
4672 }
4673 _ACEOF
4674 rm -f conftest.$ac_objext conftest$ac_exeext
4675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4676   (eval $ac_link) 2>conftest.er1
4677   ac_status=$?
4678   grep -v '^ *+' conftest.er1 >conftest.err
4679   rm -f conftest.er1
4680   cat conftest.err >&5
4681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682   (exit $ac_status); } &&
4683          { ac_try='test -z "$ac_c_werror_flag"
4684                          || test ! -s conftest.err'
4685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4686   (eval $ac_try) 2>&5
4687   ac_status=$?
4688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689   (exit $ac_status); }; } &&
4690          { ac_try='test -s conftest$ac_exeext'
4691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4692   (eval $ac_try) 2>&5
4693   ac_status=$?
4694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695   (exit $ac_status); }; }; then
4696   eval "$as_ac_var=yes"
4697 else
4698   echo "$as_me: failed program was:" >&5
4699 sed 's/^/| /' conftest.$ac_ext >&5
4700
4701 eval "$as_ac_var=no"
4702 fi
4703 rm -f conftest.err conftest.$ac_objext \
4704       conftest$ac_exeext conftest.$ac_ext
4705 fi
4706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4708 if test `eval echo '${'$as_ac_var'}'` = yes; then
4709   cat >>confdefs.h <<_ACEOF
4710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4711 _ACEOF
4712
4713 fi
4714 done
4715
4716
4717
4718
4719 for ac_func in getmntent setmntent addmntent
4720 do
4721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4722 echo "$as_me:$LINENO: checking for $ac_func" >&5
4723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4724 if eval "test \"\${$as_ac_var+set}\" = set"; then
4725   echo $ECHO_N "(cached) $ECHO_C" >&6
4726 else
4727   cat >conftest.$ac_ext <<_ACEOF
4728 /* confdefs.h.  */
4729 _ACEOF
4730 cat confdefs.h >>conftest.$ac_ext
4731 cat >>conftest.$ac_ext <<_ACEOF
4732 /* end confdefs.h.  */
4733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4734    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4735 #define $ac_func innocuous_$ac_func
4736
4737 /* System header to define __stub macros and hopefully few prototypes,
4738     which can conflict with char $ac_func (); below.
4739     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4740     <limits.h> exists even on freestanding compilers.  */
4741
4742 #ifdef __STDC__
4743 # include <limits.h>
4744 #else
4745 # include <assert.h>
4746 #endif
4747
4748 #undef $ac_func
4749
4750 /* Override any gcc2 internal prototype to avoid an error.  */
4751 #ifdef __cplusplus
4752 extern "C"
4753 {
4754 #endif
4755 /* We use char because int might match the return type of a gcc2
4756    builtin and then its argument prototype would still apply.  */
4757 char $ac_func ();
4758 /* The GNU C library defines this for functions which it implements
4759     to always fail with ENOSYS.  Some functions are actually named
4760     something starting with __ and the normal name is an alias.  */
4761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4762 choke me
4763 #else
4764 char (*f) () = $ac_func;
4765 #endif
4766 #ifdef __cplusplus
4767 }
4768 #endif
4769
4770 int
4771 main ()
4772 {
4773 return f != $ac_func;
4774   ;
4775   return 0;
4776 }
4777 _ACEOF
4778 rm -f conftest.$ac_objext conftest$ac_exeext
4779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4780   (eval $ac_link) 2>conftest.er1
4781   ac_status=$?
4782   grep -v '^ *+' conftest.er1 >conftest.err
4783   rm -f conftest.er1
4784   cat conftest.err >&5
4785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786   (exit $ac_status); } &&
4787          { ac_try='test -z "$ac_c_werror_flag"
4788                          || test ! -s conftest.err'
4789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4790   (eval $ac_try) 2>&5
4791   ac_status=$?
4792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793   (exit $ac_status); }; } &&
4794          { ac_try='test -s conftest$ac_exeext'
4795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4796   (eval $ac_try) 2>&5
4797   ac_status=$?
4798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799   (exit $ac_status); }; }; then
4800   eval "$as_ac_var=yes"
4801 else
4802   echo "$as_me: failed program was:" >&5
4803 sed 's/^/| /' conftest.$ac_ext >&5
4804
4805 eval "$as_ac_var=no"
4806 fi
4807 rm -f conftest.err conftest.$ac_objext \
4808       conftest$ac_exeext conftest.$ac_ext
4809 fi
4810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4812 if test `eval echo '${'$as_ac_var'}'` = yes; then
4813   cat >>confdefs.h <<_ACEOF
4814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4815 _ACEOF
4816
4817 fi
4818 done
4819
4820
4821
4822
4823 for ac_func in inet_ntoa mmap munmap
4824 do
4825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4826 echo "$as_me:$LINENO: checking for $ac_func" >&5
4827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4828 if eval "test \"\${$as_ac_var+set}\" = set"; then
4829   echo $ECHO_N "(cached) $ECHO_C" >&6
4830 else
4831   cat >conftest.$ac_ext <<_ACEOF
4832 /* confdefs.h.  */
4833 _ACEOF
4834 cat confdefs.h >>conftest.$ac_ext
4835 cat >>conftest.$ac_ext <<_ACEOF
4836 /* end confdefs.h.  */
4837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4838    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4839 #define $ac_func innocuous_$ac_func
4840
4841 /* System header to define __stub macros and hopefully few prototypes,
4842     which can conflict with char $ac_func (); below.
4843     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4844     <limits.h> exists even on freestanding compilers.  */
4845
4846 #ifdef __STDC__
4847 # include <limits.h>
4848 #else
4849 # include <assert.h>
4850 #endif
4851
4852 #undef $ac_func
4853
4854 /* Override any gcc2 internal prototype to avoid an error.  */
4855 #ifdef __cplusplus
4856 extern "C"
4857 {
4858 #endif
4859 /* We use char because int might match the return type of a gcc2
4860    builtin and then its argument prototype would still apply.  */
4861 char $ac_func ();
4862 /* The GNU C library defines this for functions which it implements
4863     to always fail with ENOSYS.  Some functions are actually named
4864     something starting with __ and the normal name is an alias.  */
4865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4866 choke me
4867 #else
4868 char (*f) () = $ac_func;
4869 #endif
4870 #ifdef __cplusplus
4871 }
4872 #endif
4873
4874 int
4875 main ()
4876 {
4877 return f != $ac_func;
4878   ;
4879   return 0;
4880 }
4881 _ACEOF
4882 rm -f conftest.$ac_objext conftest$ac_exeext
4883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4884   (eval $ac_link) 2>conftest.er1
4885   ac_status=$?
4886   grep -v '^ *+' conftest.er1 >conftest.err
4887   rm -f conftest.er1
4888   cat conftest.err >&5
4889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890   (exit $ac_status); } &&
4891          { ac_try='test -z "$ac_c_werror_flag"
4892                          || test ! -s conftest.err'
4893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4894   (eval $ac_try) 2>&5
4895   ac_status=$?
4896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897   (exit $ac_status); }; } &&
4898          { ac_try='test -s conftest$ac_exeext'
4899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4900   (eval $ac_try) 2>&5
4901   ac_status=$?
4902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903   (exit $ac_status); }; }; then
4904   eval "$as_ac_var=yes"
4905 else
4906   echo "$as_me: failed program was:" >&5
4907 sed 's/^/| /' conftest.$ac_ext >&5
4908
4909 eval "$as_ac_var=no"
4910 fi
4911 rm -f conftest.err conftest.$ac_objext \
4912       conftest$ac_exeext conftest.$ac_ext
4913 fi
4914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4916 if test `eval echo '${'$as_ac_var'}'` = yes; then
4917   cat >>confdefs.h <<_ACEOF
4918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4919 _ACEOF
4920
4921 fi
4922 done
4923
4924
4925 cat >conftest.$ac_ext <<_ACEOF
4926 /* confdefs.h.  */
4927 _ACEOF
4928 cat confdefs.h >>conftest.$ac_ext
4929 cat >>conftest.$ac_ext <<_ACEOF
4930 /* end confdefs.h.  */
4931 #include <sys/types.h>
4932 #include <sys/ipc.h>
4933 #include <sys/sem.h>
4934 int
4935 main ()
4936 {
4937 union semun foo;
4938   ;
4939   return 0;
4940 }
4941 _ACEOF
4942 rm -f conftest.$ac_objext
4943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4944   (eval $ac_compile) 2>conftest.er1
4945   ac_status=$?
4946   grep -v '^ *+' conftest.er1 >conftest.err
4947   rm -f conftest.er1
4948   cat conftest.err >&5
4949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950   (exit $ac_status); } &&
4951          { ac_try='test -z "$ac_c_werror_flag"
4952                          || test ! -s conftest.err'
4953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4954   (eval $ac_try) 2>&5
4955   ac_status=$?
4956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957   (exit $ac_status); }; } &&
4958          { ac_try='test -s conftest.$ac_objext'
4959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4960   (eval $ac_try) 2>&5
4961   ac_status=$?
4962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963   (exit $ac_status); }; }; then
4964   mf_have_semun=1
4965 else
4966   echo "$as_me: failed program was:" >&5
4967 sed 's/^/| /' conftest.$ac_ext >&5
4968
4969 mf_have_semun=0
4970 fi
4971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4972 if test $mf_have_semun = 1
4973 then
4974
4975 cat >>confdefs.h <<\_ACEOF
4976 #define HAVE_UNION_SEMUN 1
4977 _ACEOF
4978
4979 fi
4980
4981
4982 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
4983 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
4984 cat >conftest.$ac_ext <<_ACEOF
4985 /* confdefs.h.  */
4986 _ACEOF
4987 cat confdefs.h >>conftest.$ac_ext
4988 cat >>conftest.$ac_ext <<_ACEOF
4989 /* end confdefs.h.  */
4990 #define _POSIX_PII_SOCKET
4991 #include <sys/types.h>
4992 #include <sys/socket.h>
4993 int
4994 main ()
4995 {
4996 socklen_t x = 5;
4997   ;
4998   return 0;
4999 }
5000 _ACEOF
5001 rm -f conftest.$ac_objext
5002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5003   (eval $ac_compile) 2>conftest.er1
5004   ac_status=$?
5005   grep -v '^ *+' conftest.er1 >conftest.err
5006   rm -f conftest.er1
5007   cat conftest.err >&5
5008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009   (exit $ac_status); } &&
5010          { ac_try='test -z "$ac_c_werror_flag"
5011                          || test ! -s conftest.err'
5012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5013   (eval $ac_try) 2>&5
5014   ac_status=$?
5015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016   (exit $ac_status); }; } &&
5017          { ac_try='test -s conftest.$ac_objext'
5018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5019   (eval $ac_try) 2>&5
5020   ac_status=$?
5021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022   (exit $ac_status); }; }; then
5023
5024 cat >>confdefs.h <<\_ACEOF
5025 #define HAVE_SOCKLEN_T 1
5026 _ACEOF
5027
5028    echo "$as_me:$LINENO: result: yes" >&5
5029 echo "${ECHO_T}yes" >&6
5030 else
5031   echo "$as_me: failed program was:" >&5
5032 sed 's/^/| /' conftest.$ac_ext >&5
5033
5034 echo "$as_me:$LINENO: result: no" >&5
5035 echo "${ECHO_T}no" >&6
5036 fi
5037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5038
5039
5040 # Check whether --enable-shared or --disable-shared was given.
5041 if test "${enable_shared+set}" = set; then
5042   enableval="$enable_shared"
5043   p=${PACKAGE-default}
5044 case $enableval in
5045 yes) enable_shared=yes ;;
5046 no) enable_shared=no ;;
5047 *)
5048   enable_shared=no
5049   # Look at the argument we got.  We use all the common list separators.
5050   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5051   for pkg in $enableval; do
5052     if test "X$pkg" = "X$p"; then
5053       enable_shared=yes
5054     fi
5055   done
5056   IFS="$ac_save_ifs"
5057   ;;
5058 esac
5059 else
5060   enable_shared=yes
5061 fi;
5062 # Check whether --enable-static or --disable-static was given.
5063 if test "${enable_static+set}" = set; then
5064   enableval="$enable_static"
5065   p=${PACKAGE-default}
5066 case $enableval in
5067 yes) enable_static=yes ;;
5068 no) enable_static=no ;;
5069 *)
5070   enable_static=no
5071   # Look at the argument we got.  We use all the common list separators.
5072   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5073   for pkg in $enableval; do
5074     if test "X$pkg" = "X$p"; then
5075       enable_static=yes
5076     fi
5077   done
5078   IFS="$ac_save_ifs"
5079   ;;
5080 esac
5081 else
5082   enable_static=yes
5083 fi;
5084 # Check whether --enable-fast-install or --disable-fast-install was given.
5085 if test "${enable_fast_install+set}" = set; then
5086   enableval="$enable_fast_install"
5087   p=${PACKAGE-default}
5088 case $enableval in
5089 yes) enable_fast_install=yes ;;
5090 no) enable_fast_install=no ;;
5091 *)
5092   enable_fast_install=no
5093   # Look at the argument we got.  We use all the common list separators.
5094   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5095   for pkg in $enableval; do
5096     if test "X$pkg" = "X$p"; then
5097       enable_fast_install=yes
5098     fi
5099   done
5100   IFS="$ac_save_ifs"
5101   ;;
5102 esac
5103 else
5104   enable_fast_install=yes
5105 fi;
5106
5107 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5108 if test "${with_gnu_ld+set}" = set; then
5109   withval="$with_gnu_ld"
5110   test "$withval" = no || with_gnu_ld=yes
5111 else
5112   with_gnu_ld=no
5113 fi;
5114 ac_prog=ld
5115 if test "$GCC" = yes; then
5116   # Check if gcc -print-prog-name=ld gives a path.
5117   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5118 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5119   case $host in
5120   *-*-mingw*)
5121     # gcc leaves a trailing carriage return which upsets mingw
5122     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5123   *)
5124     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5125   esac
5126   case $ac_prog in
5127     # Accept absolute paths.
5128     [\\/]* | [A-Za-z]:[\\/]*)
5129       re_direlt='/[^/][^/]*/\.\./'
5130       # Canonicalize the path of ld
5131       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5132       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5133         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5134       done
5135       test -z "$LD" && LD="$ac_prog"
5136       ;;
5137   "")
5138     # If it fails, then pretend we aren't using GCC.
5139     ac_prog=ld
5140     ;;
5141   *)
5142     # If it is relative, then search for the first ld in PATH.
5143     with_gnu_ld=unknown
5144     ;;
5145   esac
5146 elif test "$with_gnu_ld" = yes; then
5147   echo "$as_me:$LINENO: checking for GNU ld" >&5
5148 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5149 else
5150   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5151 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5152 fi
5153 if test "${lt_cv_path_LD+set}" = set; then
5154   echo $ECHO_N "(cached) $ECHO_C" >&6
5155 else
5156   if test -z "$LD"; then
5157   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5158   for ac_dir in $PATH; do
5159     test -z "$ac_dir" && ac_dir=.
5160     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5161       lt_cv_path_LD="$ac_dir/$ac_prog"
5162       # Check to see if the program is GNU ld.  I'd rather use --version,
5163       # but apparently some GNU ld's only accept -v.
5164       # Break only if it was the GNU/non-GNU ld that we prefer.
5165       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
5166         test "$with_gnu_ld" != no && break
5167       else
5168         test "$with_gnu_ld" != yes && break
5169       fi
5170     fi
5171   done
5172   IFS="$ac_save_ifs"
5173 else
5174   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5175 fi
5176 fi
5177
5178 LD="$lt_cv_path_LD"
5179 if test -n "$LD"; then
5180   echo "$as_me:$LINENO: result: $LD" >&5
5181 echo "${ECHO_T}$LD" >&6
5182 else
5183   echo "$as_me:$LINENO: result: no" >&5
5184 echo "${ECHO_T}no" >&6
5185 fi
5186 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5187 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5188    { (exit 1); exit 1; }; }
5189 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5190 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5191 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5192   echo $ECHO_N "(cached) $ECHO_C" >&6
5193 else
5194   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5195 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
5196   lt_cv_prog_gnu_ld=yes
5197 else
5198   lt_cv_prog_gnu_ld=no
5199 fi
5200 fi
5201 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5202 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5203 with_gnu_ld=$lt_cv_prog_gnu_ld
5204
5205
5206 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5207 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
5208 if test "${lt_cv_ld_reload_flag+set}" = set; then
5209   echo $ECHO_N "(cached) $ECHO_C" >&6
5210 else
5211   lt_cv_ld_reload_flag='-r'
5212 fi
5213 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5214 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
5215 reload_flag=$lt_cv_ld_reload_flag
5216 test -n "$reload_flag" && reload_flag=" $reload_flag"
5217
5218 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5219 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5220 if test "${lt_cv_path_NM+set}" = set; then
5221   echo $ECHO_N "(cached) $ECHO_C" >&6
5222 else
5223   if test -n "$NM"; then
5224   # Let the user override the test.
5225   lt_cv_path_NM="$NM"
5226 else
5227   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5228   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
5229     test -z "$ac_dir" && ac_dir=.
5230     tmp_nm=$ac_dir/${ac_tool_prefix}nm
5231     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
5232       # Check to see if the nm accepts a BSD-compat flag.
5233       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5234       #   nm: unknown option "B" ignored
5235       # Tru64's nm complains that /dev/null is an invalid object file
5236       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
5237         lt_cv_path_NM="$tmp_nm -B"
5238         break
5239       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
5240         lt_cv_path_NM="$tmp_nm -p"
5241         break
5242       else
5243         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5244         continue # so that we can try to find one that supports BSD flags
5245       fi
5246     fi
5247   done
5248   IFS="$ac_save_ifs"
5249   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
5250 fi
5251 fi
5252
5253 NM="$lt_cv_path_NM"
5254 echo "$as_me:$LINENO: result: $NM" >&5
5255 echo "${ECHO_T}$NM" >&6
5256
5257 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5258 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5259 LN_S=$as_ln_s
5260 if test "$LN_S" = "ln -s"; then
5261   echo "$as_me:$LINENO: result: yes" >&5
5262 echo "${ECHO_T}yes" >&6
5263 else
5264   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5265 echo "${ECHO_T}no, using $LN_S" >&6
5266 fi
5267
5268 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
5269 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
5270 lt_cv_file_magic_cmd='$MAGIC_CMD'
5271 lt_cv_file_magic_test_file=
5272 lt_cv_deplibs_check_method='unknown'
5273 # Need to set the preceding variable on all platforms that support
5274 # interlibrary dependencies.
5275 # 'none' -- dependencies not supported.
5276 # `unknown' -- same as none, but documents that we really don't know.
5277 # 'pass_all' -- all dependencies passed with no checks.
5278 # 'test_compile' -- check by making test program.
5279 # 'file_magic [regex]' -- check by looking for files in library path
5280 # which responds to the $file_magic_cmd with a given egrep regex.
5281 # If you have `file' or equivalent on your system and you're not sure
5282 # whether `pass_all' will *always* work, you probably want this one.
5283
5284 case $host_os in
5285 aix*)
5286   lt_cv_deplibs_check_method=pass_all
5287   ;;
5288
5289 beos*)
5290   lt_cv_deplibs_check_method=pass_all
5291   ;;
5292
5293 bsdi4*)
5294   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5295   lt_cv_file_magic_cmd='/usr/bin/file -L'
5296   lt_cv_file_magic_test_file=/shlib/libc.so
5297   ;;
5298
5299 cygwin* | mingw* |pw32*)
5300   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5301   lt_cv_file_magic_cmd='$OBJDUMP -f'
5302   ;;
5303
5304 darwin* | rhapsody*)
5305   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
5306   lt_cv_file_magic_cmd='/usr/bin/file -L'
5307   case "$host_os" in
5308   rhapsody* | darwin1.012)
5309     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
5310     ;;
5311   *) # Darwin 1.3 on
5312     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
5313     ;;
5314   esac
5315   ;;
5316
5317 freebsd* )
5318   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5319     case $host_cpu in
5320     i*86 )
5321       # Not sure whether the presence of OpenBSD here was a mistake.
5322       # Let's accept both of them until this is cleared up.
5323       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
5324       lt_cv_file_magic_cmd=/usr/bin/file
5325       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5326       ;;
5327     esac
5328   else
5329     lt_cv_deplibs_check_method=pass_all
5330   fi
5331   ;;
5332
5333 gnu*)
5334   lt_cv_deplibs_check_method=pass_all
5335   ;;
5336
5337 hpux10.20*|hpux11*)
5338   case $host_cpu in
5339   hppa*)
5340     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5341     lt_cv_file_magic_cmd=/usr/bin/file
5342     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5343     ;;
5344   ia64*)
5345     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5346     lt_cv_file_magic_cmd=/usr/bin/file
5347     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5348     ;;
5349   esac
5350   ;;
5351
5352 irix5* | irix6*)
5353   case $host_os in
5354   irix5*)
5355     # this will be overridden with pass_all, but let us keep it just in case
5356     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
5357     ;;
5358   *)
5359     case $LD in
5360     *-32|*"-32 ") libmagic=32-bit;;
5361     *-n32|*"-n32 ") libmagic=N32;;
5362     *-64|*"-64 ") libmagic=64-bit;;
5363     *) libmagic=never-match;;
5364     esac
5365     # this will be overridden with pass_all, but let us keep it just in case
5366     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
5367     ;;
5368   esac
5369   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
5370   lt_cv_deplibs_check_method=pass_all
5371   ;;
5372
5373 # This must be Linux ELF.
5374 linux-gnu*)
5375   case $host_cpu in
5376   alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | x86_64* | sh*)
5377     lt_cv_deplibs_check_method=pass_all ;;
5378     # NB 2003-06-03: According to Alexandre Oliva, x86_64 should not be
5379     # in this list.  However, it works around a libtool problem that
5380     # wrongly excludes -ldl/-lpthread from the libmudflap(th) dependencies.
5381   *)
5382     # glibc up to 2.1.1 does not perform some relocations on ARM
5383     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
5384   esac
5385   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
5386   ;;
5387
5388 netbsd*)
5389   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
5390     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
5391   else
5392     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
5393   fi
5394   ;;
5395
5396 newsos6)
5397   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5398   lt_cv_file_magic_cmd=/usr/bin/file
5399   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5400   ;;
5401
5402 osf3* | osf4* | osf5*)
5403   # this will be overridden with pass_all, but let us keep it just in case
5404   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
5405   lt_cv_file_magic_test_file=/shlib/libc.so
5406   lt_cv_deplibs_check_method=pass_all
5407   ;;
5408
5409 sco3.2v5*)
5410   lt_cv_deplibs_check_method=pass_all
5411   ;;
5412
5413 solaris*)
5414   lt_cv_deplibs_check_method=pass_all
5415   lt_cv_file_magic_test_file=/lib/libc.so
5416   ;;
5417
5418 sysv5uw[78]* | sysv4*uw2*)
5419   lt_cv_deplibs_check_method=pass_all
5420   ;;
5421
5422 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5423   case $host_vendor in
5424   ncr)
5425     lt_cv_deplibs_check_method=pass_all
5426     ;;
5427   motorola)
5428     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5429     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5430     ;;
5431   esac
5432   ;;
5433 esac
5434 file_magic_cmd=$lt_cv_file_magic_cmd
5435 deplibs_check_method=$lt_cv_deplibs_check_method
5436 # NB: See above NB ... this is to make sure that the overriden
5437 #     local libtool variant doesn't pollute the upstream cache
5438 unset lt_cv_file_magic_cmd
5439 unset lt_cv_deplibs_check_method
5440 echo "$as_me:$LINENO: result: $deplibs_check_method" >&5
5441 echo "${ECHO_T}$deplibs_check_method" >&6
5442
5443
5444
5445 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5446
5447 # Only perform the check for file, if the check method requires it
5448 case $deplibs_check_method in
5449 file_magic*)
5450   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5451     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5452 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5453 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5454   echo $ECHO_N "(cached) $ECHO_C" >&6
5455 else
5456   case $MAGIC_CMD in
5457   /*)
5458   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5459   ;;
5460   ?:/*)
5461   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5462   ;;
5463   *)
5464   ac_save_MAGIC_CMD="$MAGIC_CMD"
5465   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
5466   ac_dummy="/usr/bin:$PATH"
5467   for ac_dir in $ac_dummy; do
5468     test -z "$ac_dir" && ac_dir=.
5469     if test -f $ac_dir/${ac_tool_prefix}file; then
5470       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5471       if test -n "$file_magic_test_file"; then
5472         case $deplibs_check_method in
5473         "file_magic "*)
5474           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5475           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5476           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5477             egrep "$file_magic_regex" > /dev/null; then
5478             :
5479           else
5480             cat <<EOF 1>&2
5481
5482 *** Warning: the command libtool uses to detect shared libraries,
5483 *** $file_magic_cmd, produces output that libtool cannot recognize.
5484 *** The result is that libtool may fail to recognize shared libraries
5485 *** as such.  This will affect the creation of libtool libraries that
5486 *** depend on shared libraries, but programs linked with such libtool
5487 *** libraries will work regardless of this problem.  Nevertheless, you
5488 *** may want to report the problem to your system manager and/or to
5489 *** bug-libtool@gnu.org
5490
5491 EOF
5492           fi ;;
5493         esac
5494       fi
5495       break
5496     fi
5497   done
5498   IFS="$ac_save_ifs"
5499   MAGIC_CMD="$ac_save_MAGIC_CMD"
5500   ;;
5501 esac
5502 fi
5503
5504 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5505 if test -n "$MAGIC_CMD"; then
5506   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5507 echo "${ECHO_T}$MAGIC_CMD" >&6
5508 else
5509   echo "$as_me:$LINENO: result: no" >&5
5510 echo "${ECHO_T}no" >&6
5511 fi
5512
5513 if test -z "$lt_cv_path_MAGIC_CMD"; then
5514   if test -n "$ac_tool_prefix"; then
5515     echo "$as_me:$LINENO: checking for file" >&5
5516 echo $ECHO_N "checking for file... $ECHO_C" >&6
5517 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5518   echo $ECHO_N "(cached) $ECHO_C" >&6
5519 else
5520   case $MAGIC_CMD in
5521   /*)
5522   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5523   ;;
5524   ?:/*)
5525   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
5526   ;;
5527   *)
5528   ac_save_MAGIC_CMD="$MAGIC_CMD"
5529   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
5530   ac_dummy="/usr/bin:$PATH"
5531   for ac_dir in $ac_dummy; do
5532     test -z "$ac_dir" && ac_dir=.
5533     if test -f $ac_dir/file; then
5534       lt_cv_path_MAGIC_CMD="$ac_dir/file"
5535       if test -n "$file_magic_test_file"; then
5536         case $deplibs_check_method in
5537         "file_magic "*)
5538           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5539           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5540           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5541             egrep "$file_magic_regex" > /dev/null; then
5542             :
5543           else
5544             cat <<EOF 1>&2
5545
5546 *** Warning: the command libtool uses to detect shared libraries,
5547 *** $file_magic_cmd, produces output that libtool cannot recognize.
5548 *** The result is that libtool may fail to recognize shared libraries
5549 *** as such.  This will affect the creation of libtool libraries that
5550 *** depend on shared libraries, but programs linked with such libtool
5551 *** libraries will work regardless of this problem.  Nevertheless, you
5552 *** may want to report the problem to your system manager and/or to
5553 *** bug-libtool@gnu.org
5554
5555 EOF
5556           fi ;;
5557         esac
5558       fi
5559       break
5560     fi
5561   done
5562   IFS="$ac_save_ifs"
5563   MAGIC_CMD="$ac_save_MAGIC_CMD"
5564   ;;
5565 esac
5566 fi
5567
5568 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5569 if test -n "$MAGIC_CMD"; then
5570   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5571 echo "${ECHO_T}$MAGIC_CMD" >&6
5572 else
5573   echo "$as_me:$LINENO: result: no" >&5
5574 echo "${ECHO_T}no" >&6
5575 fi
5576
5577   else
5578     MAGIC_CMD=:
5579   fi
5580 fi
5581
5582   fi
5583   ;;
5584 esac
5585
5586 if test -n "$ac_tool_prefix"; then
5587   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5588 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5589 echo "$as_me:$LINENO: checking for $ac_word" >&5
5590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5591 if test "${ac_cv_prog_RANLIB+set}" = set; then
5592   echo $ECHO_N "(cached) $ECHO_C" >&6
5593 else
5594   if test -n "$RANLIB"; then
5595   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5596 else
5597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5598 for as_dir in $PATH
5599 do
5600   IFS=$as_save_IFS
5601   test -z "$as_dir" && as_dir=.
5602   for ac_exec_ext in '' $ac_executable_extensions; do
5603   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5604     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5605     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5606     break 2
5607   fi
5608 done
5609 done
5610
5611 fi
5612 fi
5613 RANLIB=$ac_cv_prog_RANLIB
5614 if test -n "$RANLIB"; then
5615   echo "$as_me:$LINENO: result: $RANLIB" >&5
5616 echo "${ECHO_T}$RANLIB" >&6
5617 else
5618   echo "$as_me:$LINENO: result: no" >&5
5619 echo "${ECHO_T}no" >&6
5620 fi
5621
5622 fi
5623 if test -z "$ac_cv_prog_RANLIB"; then
5624   ac_ct_RANLIB=$RANLIB
5625   # Extract the first word of "ranlib", so it can be a program name with args.
5626 set dummy ranlib; ac_word=$2
5627 echo "$as_me:$LINENO: checking for $ac_word" >&5
5628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5629 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5630   echo $ECHO_N "(cached) $ECHO_C" >&6
5631 else
5632   if test -n "$ac_ct_RANLIB"; then
5633   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5634 else
5635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5636 for as_dir in $PATH
5637 do
5638   IFS=$as_save_IFS
5639   test -z "$as_dir" && as_dir=.
5640   for ac_exec_ext in '' $ac_executable_extensions; do
5641   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5642     ac_cv_prog_ac_ct_RANLIB="ranlib"
5643     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5644     break 2
5645   fi
5646 done
5647 done
5648
5649   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5650 fi
5651 fi
5652 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5653 if test -n "$ac_ct_RANLIB"; then
5654   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5655 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5656 else
5657   echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6
5659 fi
5660
5661   RANLIB=$ac_ct_RANLIB
5662 else
5663   RANLIB="$ac_cv_prog_RANLIB"
5664 fi
5665
5666 if test -n "$ac_tool_prefix"; then
5667   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5668 set dummy ${ac_tool_prefix}strip; ac_word=$2
5669 echo "$as_me:$LINENO: checking for $ac_word" >&5
5670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5671 if test "${ac_cv_prog_STRIP+set}" = set; then
5672   echo $ECHO_N "(cached) $ECHO_C" >&6
5673 else
5674   if test -n "$STRIP"; then
5675   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5676 else
5677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5678 for as_dir in $PATH
5679 do
5680   IFS=$as_save_IFS
5681   test -z "$as_dir" && as_dir=.
5682   for ac_exec_ext in '' $ac_executable_extensions; do
5683   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5684     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5685     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5686     break 2
5687   fi
5688 done
5689 done
5690
5691 fi
5692 fi
5693 STRIP=$ac_cv_prog_STRIP
5694 if test -n "$STRIP"; then
5695   echo "$as_me:$LINENO: result: $STRIP" >&5
5696 echo "${ECHO_T}$STRIP" >&6
5697 else
5698   echo "$as_me:$LINENO: result: no" >&5
5699 echo "${ECHO_T}no" >&6
5700 fi
5701
5702 fi
5703 if test -z "$ac_cv_prog_STRIP"; then
5704   ac_ct_STRIP=$STRIP
5705   # Extract the first word of "strip", so it can be a program name with args.
5706 set dummy strip; ac_word=$2
5707 echo "$as_me:$LINENO: checking for $ac_word" >&5
5708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5709 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5710   echo $ECHO_N "(cached) $ECHO_C" >&6
5711 else
5712   if test -n "$ac_ct_STRIP"; then
5713   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5714 else
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 for as_dir in $PATH
5717 do
5718   IFS=$as_save_IFS
5719   test -z "$as_dir" && as_dir=.
5720   for ac_exec_ext in '' $ac_executable_extensions; do
5721   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5722     ac_cv_prog_ac_ct_STRIP="strip"
5723     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5724     break 2
5725   fi
5726 done
5727 done
5728
5729   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5730 fi
5731 fi
5732 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5733 if test -n "$ac_ct_STRIP"; then
5734   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5735 echo "${ECHO_T}$ac_ct_STRIP" >&6
5736 else
5737   echo "$as_me:$LINENO: result: no" >&5
5738 echo "${ECHO_T}no" >&6
5739 fi
5740
5741   STRIP=$ac_ct_STRIP
5742 else
5743   STRIP="$ac_cv_prog_STRIP"
5744 fi
5745
5746
5747 # Check for any special flags to pass to ltconfig.
5748 libtool_flags="--cache-file=$cache_file"
5749 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
5750 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
5751 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
5752 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
5753 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
5754
5755
5756 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5757 if test "${enable_libtool_lock+set}" = set; then
5758   enableval="$enable_libtool_lock"
5759
5760 fi;
5761 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
5762 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
5763
5764
5765 # Check whether --with-pic or --without-pic was given.
5766 if test "${with_pic+set}" = set; then
5767   withval="$with_pic"
5768   pic_mode="$withval"
5769 else
5770   pic_mode=default
5771 fi;
5772 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
5773 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
5774
5775 # Some flags need to be propagated to the compiler or linker for good
5776 # libtool support.
5777 case $host in
5778 *-*-irix6*)
5779   # Find out which ABI we are using.
5780   echo '#line 5780 "configure"' > conftest.$ac_ext
5781   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5782   (eval $ac_compile) 2>&5
5783   ac_status=$?
5784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785   (exit $ac_status); }; then
5786     case `/usr/bin/file conftest.$ac_objext` in
5787     *32-bit*)
5788       LD="${LD-ld} -32"
5789       ;;
5790     *N32*)
5791       LD="${LD-ld} -n32"
5792       ;;
5793     *64-bit*)
5794       LD="${LD-ld} -64"
5795       ;;
5796     esac
5797   fi
5798   rm -rf conftest*
5799   ;;
5800
5801 ia64-*-hpux*)
5802   # Find out which ABI we are using.
5803   echo 'int i;' > conftest.$ac_ext
5804   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5805   (eval $ac_compile) 2>&5
5806   ac_status=$?
5807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808   (exit $ac_status); }; then
5809     case "`/usr/bin/file conftest.o`" in
5810     *ELF-32*)
5811       HPUX_IA64_MODE="32"
5812       ;;
5813     *ELF-64*)
5814       HPUX_IA64_MODE="64"
5815       ;;
5816     esac
5817   fi
5818   rm -rf conftest*
5819   ;;
5820
5821 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
5822   # Find out which ABI we are using.
5823   echo 'int i;' > conftest.$ac_ext
5824   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5825   (eval $ac_compile) 2>&5
5826   ac_status=$?
5827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828   (exit $ac_status); }; then
5829     case "`/usr/bin/file conftest.o`" in
5830     *32-bit*)
5831       case $host in
5832         x86_64-*linux*)
5833           LD="${LD-ld} -m elf_i386"
5834           ;;
5835         ppc64-*linux*)
5836           LD="${LD-ld} -m elf32ppclinux"
5837           ;;
5838         s390x-*linux*)
5839           LD="${LD-ld} -m elf_s390"
5840           ;;
5841         sparc64-*linux*)
5842           LD="${LD-ld} -m elf32_sparc"
5843           ;;
5844       esac
5845       ;;
5846     *64-bit*)
5847       case $host in
5848         x86_64-*linux*)
5849           LD="${LD-ld} -m elf_x86_64"
5850           ;;
5851         ppc*-*linux*|powerpc*-*linux*)
5852           LD="${LD-ld} -m elf64ppc"
5853           ;;
5854         s390*-*linux*)
5855           LD="${LD-ld} -m elf64_s390"
5856           ;;
5857         sparc*-*linux*)
5858           LD="${LD-ld} -m elf64_sparc"
5859           ;;
5860       esac
5861       ;;
5862     esac
5863   fi
5864   rm -rf conftest*
5865   ;;
5866
5867 *-*-sco3.2v5*)
5868   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5869   SAVE_CFLAGS="$CFLAGS"
5870   CFLAGS="$CFLAGS -belf"
5871   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5872 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5873 if test "${lt_cv_cc_needs_belf+set}" = set; then
5874   echo $ECHO_N "(cached) $ECHO_C" >&6
5875 else
5876
5877
5878      ac_ext=c
5879 ac_cpp='$CPP $CPPFLAGS'
5880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5883
5884      cat >conftest.$ac_ext <<_ACEOF
5885 /* confdefs.h.  */
5886 _ACEOF
5887 cat confdefs.h >>conftest.$ac_ext
5888 cat >>conftest.$ac_ext <<_ACEOF
5889 /* end confdefs.h.  */
5890
5891 int
5892 main ()
5893 {
5894
5895   ;
5896   return 0;
5897 }
5898 _ACEOF
5899 rm -f conftest.$ac_objext conftest$ac_exeext
5900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5901   (eval $ac_link) 2>conftest.er1
5902   ac_status=$?
5903   grep -v '^ *+' conftest.er1 >conftest.err
5904   rm -f conftest.er1
5905   cat conftest.err >&5
5906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5907   (exit $ac_status); } &&
5908          { ac_try='test -z "$ac_c_werror_flag"
5909                          || test ! -s conftest.err'
5910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5911   (eval $ac_try) 2>&5
5912   ac_status=$?
5913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914   (exit $ac_status); }; } &&
5915          { ac_try='test -s conftest$ac_exeext'
5916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5917   (eval $ac_try) 2>&5
5918   ac_status=$?
5919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5920   (exit $ac_status); }; }; then
5921   lt_cv_cc_needs_belf=yes
5922 else
5923   echo "$as_me: failed program was:" >&5
5924 sed 's/^/| /' conftest.$ac_ext >&5
5925
5926 lt_cv_cc_needs_belf=no
5927 fi
5928 rm -f conftest.err conftest.$ac_objext \
5929       conftest$ac_exeext conftest.$ac_ext
5930      ac_ext=c
5931 ac_cpp='$CPP $CPPFLAGS'
5932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5935
5936 fi
5937 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5938 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5939   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5940     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5941     CFLAGS="$SAVE_CFLAGS"
5942   fi
5943   ;;
5944
5945
5946 esac
5947
5948
5949 # Save cache, so that ltconfig can load it
5950 cat >confcache <<\_ACEOF
5951 # This file is a shell script that caches the results of configure
5952 # tests run on this system so they can be shared between configure
5953 # scripts and configure runs, see configure's option --config-cache.
5954 # It is not useful on other systems.  If it contains results you don't
5955 # want to keep, you may remove or edit it.
5956 #
5957 # config.status only pays attention to the cache file if you give it
5958 # the --recheck option to rerun configure.
5959 #
5960 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5961 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5962 # following values.
5963
5964 _ACEOF
5965
5966 # The following way of writing the cache mishandles newlines in values,
5967 # but we know of no workaround that is simple, portable, and efficient.
5968 # So, don't put newlines in cache variables' values.
5969 # Ultrix sh set writes to stderr and can't be redirected directly,
5970 # and sets the high bit in the cache file unless we assign to the vars.
5971 {
5972   (set) 2>&1 |
5973     case `(ac_space=' '; set | grep ac_space) 2>&1` in
5974     *ac_space=\ *)
5975       # `set' does not quote correctly, so add quotes (double-quote
5976       # substitution turns \\\\ into \\, and sed turns \\ into \).
5977       sed -n \
5978         "s/'/'\\\\''/g;
5979           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5980       ;;
5981     *)
5982       # `set' quotes correctly as required by POSIX, so do not add quotes.
5983       sed -n \
5984         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5985       ;;
5986     esac;
5987 } |
5988   sed '
5989      t clear
5990      : clear
5991      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5992      t end
5993      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5994      : end' >>confcache
5995 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5996   if test -w $cache_file; then
5997     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5998     cat confcache >$cache_file
5999   else
6000     echo "not updating unwritable cache $cache_file"
6001   fi
6002 fi
6003 rm -f confcache
6004
6005 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
6006 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
6007 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
6008 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
6009 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
6010 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
6011 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
6012 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
6013 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
6014 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6015 echo "$as_me: error: libtool configure failed" >&2;}
6016    { (exit 1); exit 1; }; }
6017
6018 # Reload cache, that may have been modified by ltconfig
6019 if test -r "$cache_file"; then
6020   # Some versions of bash will fail to source /dev/null (special
6021   # files actually), so we avoid doing that.
6022   if test -f "$cache_file"; then
6023     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6024 echo "$as_me: loading cache $cache_file" >&6;}
6025     case $cache_file in
6026       [\\/]* | ?:[\\/]* ) . $cache_file;;
6027       *)                      . ./$cache_file;;
6028     esac
6029   fi
6030 else
6031   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6032 echo "$as_me: creating cache $cache_file" >&6;}
6033   >$cache_file
6034 fi
6035
6036
6037 # This can be used to rebuild libtool when needed
6038 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
6039
6040 # Always use our own libtool.
6041 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6042
6043 # Redirect the config.log output again, so that the ltconfig log is not
6044 # clobbered by the next message.
6045 exec 5>>./config.log
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055 if test "${ac_cv_header_stdint_h+set}" = set; then
6056   echo "$as_me:$LINENO: checking for stdint.h" >&5
6057 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
6058 if test "${ac_cv_header_stdint_h+set}" = set; then
6059   echo $ECHO_N "(cached) $ECHO_C" >&6
6060 fi
6061 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
6062 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
6063 else
6064   # Is the header compilable?
6065 echo "$as_me:$LINENO: checking stdint.h usability" >&5
6066 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6
6067 cat >conftest.$ac_ext <<_ACEOF
6068 /* confdefs.h.  */
6069 _ACEOF
6070 cat confdefs.h >>conftest.$ac_ext
6071 cat >>conftest.$ac_ext <<_ACEOF
6072 /* end confdefs.h.  */
6073 $ac_includes_default
6074 #include <stdint.h>
6075 _ACEOF
6076 rm -f conftest.$ac_objext
6077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6078   (eval $ac_compile) 2>conftest.er1
6079   ac_status=$?
6080   grep -v '^ *+' conftest.er1 >conftest.err
6081   rm -f conftest.er1
6082   cat conftest.err >&5
6083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084   (exit $ac_status); } &&
6085          { ac_try='test -z "$ac_c_werror_flag"
6086                          || test ! -s conftest.err'
6087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6088   (eval $ac_try) 2>&5
6089   ac_status=$?
6090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091   (exit $ac_status); }; } &&
6092          { ac_try='test -s conftest.$ac_objext'
6093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6094   (eval $ac_try) 2>&5
6095   ac_status=$?
6096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097   (exit $ac_status); }; }; then
6098   ac_header_compiler=yes
6099 else
6100   echo "$as_me: failed program was:" >&5
6101 sed 's/^/| /' conftest.$ac_ext >&5
6102
6103 ac_header_compiler=no
6104 fi
6105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6106 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6107 echo "${ECHO_T}$ac_header_compiler" >&6
6108
6109 # Is the header present?
6110 echo "$as_me:$LINENO: checking stdint.h presence" >&5
6111 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6
6112 cat >conftest.$ac_ext <<_ACEOF
6113 /* confdefs.h.  */
6114 _ACEOF
6115 cat confdefs.h >>conftest.$ac_ext
6116 cat >>conftest.$ac_ext <<_ACEOF
6117 /* end confdefs.h.  */
6118 #include <stdint.h>
6119 _ACEOF
6120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6121   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6122   ac_status=$?
6123   grep -v '^ *+' conftest.er1 >conftest.err
6124   rm -f conftest.er1
6125   cat conftest.err >&5
6126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127   (exit $ac_status); } >/dev/null; then
6128   if test -s conftest.err; then
6129     ac_cpp_err=$ac_c_preproc_warn_flag
6130     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6131   else
6132     ac_cpp_err=
6133   fi
6134 else
6135   ac_cpp_err=yes
6136 fi
6137 if test -z "$ac_cpp_err"; then
6138   ac_header_preproc=yes
6139 else
6140   echo "$as_me: failed program was:" >&5
6141 sed 's/^/| /' conftest.$ac_ext >&5
6142
6143   ac_header_preproc=no
6144 fi
6145 rm -f conftest.err conftest.$ac_ext
6146 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6147 echo "${ECHO_T}$ac_header_preproc" >&6
6148
6149 # So?  What about this header?
6150 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6151   yes:no: )
6152     { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5
6153 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6154     { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5
6155 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;}
6156     ac_header_preproc=yes
6157     ;;
6158   no:yes:* )
6159     { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5
6160 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;}
6161     { echo "$as_me:$LINENO: WARNING: stdint.h:     check for missing prerequisite headers?" >&5
6162 echo "$as_me: WARNING: stdint.h:     check for missing prerequisite headers?" >&2;}
6163     { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5
6164 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;}
6165     { echo "$as_me:$LINENO: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&5
6166 echo "$as_me: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6167     { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
6168 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
6169     { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5
6170 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;}
6171     (
6172       cat <<\_ASBOX
6173 ## ------------------------------------- ##
6174 ## Report this to the libmudflap lists.  ##
6175 ## ------------------------------------- ##
6176 _ASBOX
6177     ) |
6178       sed "s/^/$as_me: WARNING:     /" >&2
6179     ;;
6180 esac
6181 echo "$as_me:$LINENO: checking for stdint.h" >&5
6182 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
6183 if test "${ac_cv_header_stdint_h+set}" = set; then
6184   echo $ECHO_N "(cached) $ECHO_C" >&6
6185 else
6186   ac_cv_header_stdint_h=$ac_header_preproc
6187 fi
6188 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
6189 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
6190
6191 fi
6192 if test $ac_cv_header_stdint_h = yes; then
6193   MF_HAVE_STDINT_H=1
6194 else
6195   MF_HAVE_STDINT_H=0
6196 fi
6197
6198
6199
6200 if test $MF_HAVE_STDINT_H = 1
6201 then
6202    MF_HAVE_UINTPTR_T=1
6203 else
6204    cat >conftest.$ac_ext <<_ACEOF
6205 /* confdefs.h.  */
6206 _ACEOF
6207 cat confdefs.h >>conftest.$ac_ext
6208 cat >>conftest.$ac_ext <<_ACEOF
6209 /* end confdefs.h.  */
6210 #include <sys/types.h>
6211 int
6212 main ()
6213 {
6214 uintptr_t k = 0;
6215   ;
6216   return 0;
6217 }
6218 _ACEOF
6219 rm -f conftest.$ac_objext
6220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6221   (eval $ac_compile) 2>conftest.er1
6222   ac_status=$?
6223   grep -v '^ *+' conftest.er1 >conftest.err
6224   rm -f conftest.er1
6225   cat conftest.err >&5
6226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227   (exit $ac_status); } &&
6228          { ac_try='test -z "$ac_c_werror_flag"
6229                          || test ! -s conftest.err'
6230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6231   (eval $ac_try) 2>&5
6232   ac_status=$?
6233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6234   (exit $ac_status); }; } &&
6235          { ac_try='test -s conftest.$ac_objext'
6236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6237   (eval $ac_try) 2>&5
6238   ac_status=$?
6239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240   (exit $ac_status); }; }; then
6241   MF_HAVE_UINTPTR_T=1
6242 else
6243   echo "$as_me: failed program was:" >&5
6244 sed 's/^/| /' conftest.$ac_ext >&5
6245
6246 MF_HAVE_UINTPTR_T=0
6247 fi
6248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6249 fi
6250
6251
6252 if test ! -d pth
6253 then
6254   # libmudflapth objects are built in this subdirectory
6255   mkdir pth
6256 fi
6257
6258 pthread_create_version='""'
6259 if test "${ac_cv_header_pthread_h+set}" = set; then
6260   echo "$as_me:$LINENO: checking for pthread.h" >&5
6261 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
6262 if test "${ac_cv_header_pthread_h+set}" = set; then
6263   echo $ECHO_N "(cached) $ECHO_C" >&6
6264 fi
6265 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
6266 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
6267 else
6268   # Is the header compilable?
6269 echo "$as_me:$LINENO: checking pthread.h usability" >&5
6270 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6
6271 cat >conftest.$ac_ext <<_ACEOF
6272 /* confdefs.h.  */
6273 _ACEOF
6274 cat confdefs.h >>conftest.$ac_ext
6275 cat >>conftest.$ac_ext <<_ACEOF
6276 /* end confdefs.h.  */
6277 $ac_includes_default
6278 #include <pthread.h>
6279 _ACEOF
6280 rm -f conftest.$ac_objext
6281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6282   (eval $ac_compile) 2>conftest.er1
6283   ac_status=$?
6284   grep -v '^ *+' conftest.er1 >conftest.err
6285   rm -f conftest.er1
6286   cat conftest.err >&5
6287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6288   (exit $ac_status); } &&
6289          { ac_try='test -z "$ac_c_werror_flag"
6290                          || test ! -s conftest.err'
6291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6292   (eval $ac_try) 2>&5
6293   ac_status=$?
6294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6295   (exit $ac_status); }; } &&
6296          { ac_try='test -s conftest.$ac_objext'
6297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6298   (eval $ac_try) 2>&5
6299   ac_status=$?
6300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301   (exit $ac_status); }; }; then
6302   ac_header_compiler=yes
6303 else
6304   echo "$as_me: failed program was:" >&5
6305 sed 's/^/| /' conftest.$ac_ext >&5
6306
6307 ac_header_compiler=no
6308 fi
6309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6311 echo "${ECHO_T}$ac_header_compiler" >&6
6312
6313 # Is the header present?
6314 echo "$as_me:$LINENO: checking pthread.h presence" >&5
6315 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6
6316 cat >conftest.$ac_ext <<_ACEOF
6317 /* confdefs.h.  */
6318 _ACEOF
6319 cat confdefs.h >>conftest.$ac_ext
6320 cat >>conftest.$ac_ext <<_ACEOF
6321 /* end confdefs.h.  */
6322 #include <pthread.h>
6323 _ACEOF
6324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6325   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6326   ac_status=$?
6327   grep -v '^ *+' conftest.er1 >conftest.err
6328   rm -f conftest.er1
6329   cat conftest.err >&5
6330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331   (exit $ac_status); } >/dev/null; then
6332   if test -s conftest.err; then
6333     ac_cpp_err=$ac_c_preproc_warn_flag
6334     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6335   else
6336     ac_cpp_err=
6337   fi
6338 else
6339   ac_cpp_err=yes
6340 fi
6341 if test -z "$ac_cpp_err"; then
6342   ac_header_preproc=yes
6343 else
6344   echo "$as_me: failed program was:" >&5
6345 sed 's/^/| /' conftest.$ac_ext >&5
6346
6347   ac_header_preproc=no
6348 fi
6349 rm -f conftest.err conftest.$ac_ext
6350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6351 echo "${ECHO_T}$ac_header_preproc" >&6
6352
6353 # So?  What about this header?
6354 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6355   yes:no: )
6356     { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
6357 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6358     { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
6359 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
6360     ac_header_preproc=yes
6361     ;;
6362   no:yes:* )
6363     { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
6364 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
6365     { echo "$as_me:$LINENO: WARNING: pthread.h:     check for missing prerequisite headers?" >&5
6366 echo "$as_me: WARNING: pthread.h:     check for missing prerequisite headers?" >&2;}
6367     { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
6368 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
6369     { echo "$as_me:$LINENO: WARNING: pthread.h:     section \"Present But Cannot Be Compiled\"" >&5
6370 echo "$as_me: WARNING: pthread.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6371     { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
6372 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
6373     { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
6374 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
6375     (
6376       cat <<\_ASBOX
6377 ## ------------------------------------- ##
6378 ## Report this to the libmudflap lists.  ##
6379 ## ------------------------------------- ##
6380 _ASBOX
6381     ) |
6382       sed "s/^/$as_me: WARNING:     /" >&2
6383     ;;
6384 esac
6385 echo "$as_me:$LINENO: checking for pthread.h" >&5
6386 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
6387 if test "${ac_cv_header_pthread_h+set}" = set; then
6388   echo $ECHO_N "(cached) $ECHO_C" >&6
6389 else
6390   ac_cv_header_pthread_h=$ac_header_preproc
6391 fi
6392 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
6393 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
6394
6395 fi
6396 if test $ac_cv_header_pthread_h = yes; then
6397
6398
6399 cat >>confdefs.h <<_ACEOF
6400 #define HAVE_PTHREAD_H 1
6401 _ACEOF
6402
6403 ac_have_pthread_h=yes
6404
6405 else
6406
6407 ac_have_pthread_h=
6408
6409 fi
6410
6411
6412
6413
6414 if test "x$ac_have_pthread_h" != "x"; then
6415   LIBMUDFLAPTH_TRUE=
6416   LIBMUDFLAPTH_FALSE='#'
6417 else
6418   LIBMUDFLAPTH_TRUE='#'
6419   LIBMUDFLAPTH_FALSE=
6420 fi
6421
6422 if test "x$ac_have_pthread_h" != "x"
6423 then
6424         build_libmudflapth=1
6425 else
6426         build_libmudflapth=0
6427 fi
6428
6429
6430
6431 echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
6432 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
6433 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
6434   echo $ECHO_N "(cached) $ECHO_C" >&6
6435 else
6436   ac_check_lib_save_LIBS=$LIBS
6437 LIBS="-ldl  $LIBS"
6438 cat >conftest.$ac_ext <<_ACEOF
6439 /* confdefs.h.  */
6440 _ACEOF
6441 cat confdefs.h >>conftest.$ac_ext
6442 cat >>conftest.$ac_ext <<_ACEOF
6443 /* end confdefs.h.  */
6444
6445 /* Override any gcc2 internal prototype to avoid an error.  */
6446 #ifdef __cplusplus
6447 extern "C"
6448 #endif
6449 /* We use char because int might match the return type of a gcc2
6450    builtin and then its argument prototype would still apply.  */
6451 char dlsym ();
6452 int
6453 main ()
6454 {
6455 dlsym ();
6456   ;
6457   return 0;
6458 }
6459 _ACEOF
6460 rm -f conftest.$ac_objext conftest$ac_exeext
6461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6462   (eval $ac_link) 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_exeext'
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_lib_dl_dlsym=yes
6483 else
6484   echo "$as_me: failed program was:" >&5
6485 sed 's/^/| /' conftest.$ac_ext >&5
6486
6487 ac_cv_lib_dl_dlsym=no
6488 fi
6489 rm -f conftest.err conftest.$ac_objext \
6490       conftest$ac_exeext conftest.$ac_ext
6491 LIBS=$ac_check_lib_save_LIBS
6492 fi
6493 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
6494 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
6495 if test $ac_cv_lib_dl_dlsym = yes; then
6496   cat >>confdefs.h <<_ACEOF
6497 #define HAVE_LIBDL 1
6498 _ACEOF
6499
6500   LIBS="-ldl $LIBS"
6501
6502 fi
6503
6504
6505 # Process the option "--enable-version-specific-runtime-libs"
6506 gcc_version_trigger=${srcdir}/../gcc/version.c
6507 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
6508 gcc_version=`echo ${gcc_version_full} | sed -e 's/\(^ *\) .*/\1/'`
6509
6510
6511 # Calculate toolexeclibdir
6512 # Also toolexecdir, though it's only used in toolexeclibdir
6513 case ${version_specific_libs} in
6514   yes)
6515     # Need the gcc compiler version to know where to install libraries
6516     # and header files if --enable-version-specific-runtime-libs option
6517     # is selected.
6518     toolexecdir='$(libdir)/gcc/$(target_alias)'
6519     toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
6520     ;;
6521   no)
6522     if test -n "$with_cross_host" &&
6523        test x"$with_cross_host" != x"no"; then
6524       # Install a library built with a cross compiler in tooldir, not libdir.
6525       toolexecdir='$(exec_prefix)/$(target_alias)'
6526       toolexeclibdir='$(toolexecdir)/lib'
6527     else
6528       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
6529       toolexeclibdir='$(libdir)'
6530     fi
6531     multi_os_directory=`$CC -print-multi-os-directory`
6532     case $multi_os_directory in
6533       .) ;; # Avoid trailing /.
6534       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
6535     esac
6536     ;;
6537 esac
6538
6539
6540
6541 if test "x$enable_shared" = "xyes" && test "x$ac_have_pthread_h" != "x"; then
6542   # NB: don't check for -lpthread here, because then it would be
6543   # added to LIBS.  For the thread-unaware libmudflap.la, we don't
6544   # want it there.
6545
6546   # glibc-related hacks.  dlsym() may pick the wrong version of
6547   # interposed functions like pthread_create on modern glibc.
6548   # We need to find the proper symbol version string, and use
6549   # the nonstandard dlvsym().
6550
6551 for ac_func in dlvsym
6552 do
6553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6554 echo "$as_me:$LINENO: checking for $ac_func" >&5
6555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6556 if eval "test \"\${$as_ac_var+set}\" = set"; then
6557   echo $ECHO_N "(cached) $ECHO_C" >&6
6558 else
6559   cat >conftest.$ac_ext <<_ACEOF
6560 /* confdefs.h.  */
6561 _ACEOF
6562 cat confdefs.h >>conftest.$ac_ext
6563 cat >>conftest.$ac_ext <<_ACEOF
6564 /* end confdefs.h.  */
6565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6566    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6567 #define $ac_func innocuous_$ac_func
6568
6569 /* System header to define __stub macros and hopefully few prototypes,
6570     which can conflict with char $ac_func (); below.
6571     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6572     <limits.h> exists even on freestanding compilers.  */
6573
6574 #ifdef __STDC__
6575 # include <limits.h>
6576 #else
6577 # include <assert.h>
6578 #endif
6579
6580 #undef $ac_func
6581
6582 /* Override any gcc2 internal prototype to avoid an error.  */
6583 #ifdef __cplusplus
6584 extern "C"
6585 {
6586 #endif
6587 /* We use char because int might match the return type of a gcc2
6588    builtin and then its argument prototype would still apply.  */
6589 char $ac_func ();
6590 /* The GNU C library defines this for functions which it implements
6591     to always fail with ENOSYS.  Some functions are actually named
6592     something starting with __ and the normal name is an alias.  */
6593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6594 choke me
6595 #else
6596 char (*f) () = $ac_func;
6597 #endif
6598 #ifdef __cplusplus
6599 }
6600 #endif
6601
6602 int
6603 main ()
6604 {
6605 return f != $ac_func;
6606   ;
6607   return 0;
6608 }
6609 _ACEOF
6610 rm -f conftest.$ac_objext conftest$ac_exeext
6611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6612   (eval $ac_link) 2>conftest.er1
6613   ac_status=$?
6614   grep -v '^ *+' conftest.er1 >conftest.err
6615   rm -f conftest.er1
6616   cat conftest.err >&5
6617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618   (exit $ac_status); } &&
6619          { ac_try='test -z "$ac_c_werror_flag"
6620                          || test ! -s conftest.err'
6621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622   (eval $ac_try) 2>&5
6623   ac_status=$?
6624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625   (exit $ac_status); }; } &&
6626          { ac_try='test -s conftest$ac_exeext'
6627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6628   (eval $ac_try) 2>&5
6629   ac_status=$?
6630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631   (exit $ac_status); }; }; then
6632   eval "$as_ac_var=yes"
6633 else
6634   echo "$as_me: failed program was:" >&5
6635 sed 's/^/| /' conftest.$ac_ext >&5
6636
6637 eval "$as_ac_var=no"
6638 fi
6639 rm -f conftest.err conftest.$ac_objext \
6640       conftest$ac_exeext conftest.$ac_ext
6641 fi
6642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6644 if test `eval echo '${'$as_ac_var'}'` = yes; then
6645   cat >>confdefs.h <<_ACEOF
6646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6647 _ACEOF
6648
6649 fi
6650 done
6651
6652   if test -n "$ac_tool_prefix"; then
6653   # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
6654 set dummy ${ac_tool_prefix}nm; ac_word=$2
6655 echo "$as_me:$LINENO: checking for $ac_word" >&5
6656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6657 if test "${ac_cv_prog_NM+set}" = set; then
6658   echo $ECHO_N "(cached) $ECHO_C" >&6
6659 else
6660   if test -n "$NM"; then
6661   ac_cv_prog_NM="$NM" # Let the user override the test.
6662 else
6663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6664 for as_dir in $PATH
6665 do
6666   IFS=$as_save_IFS
6667   test -z "$as_dir" && as_dir=.
6668   for ac_exec_ext in '' $ac_executable_extensions; do
6669   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6670     ac_cv_prog_NM="${ac_tool_prefix}nm"
6671     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6672     break 2
6673   fi
6674 done
6675 done
6676
6677 fi
6678 fi
6679 NM=$ac_cv_prog_NM
6680 if test -n "$NM"; then
6681   echo "$as_me:$LINENO: result: $NM" >&5
6682 echo "${ECHO_T}$NM" >&6
6683 else
6684   echo "$as_me:$LINENO: result: no" >&5
6685 echo "${ECHO_T}no" >&6
6686 fi
6687
6688 fi
6689 if test -z "$ac_cv_prog_NM"; then
6690   ac_ct_NM=$NM
6691   # Extract the first word of "nm", so it can be a program name with args.
6692 set dummy nm; ac_word=$2
6693 echo "$as_me:$LINENO: checking for $ac_word" >&5
6694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6695 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
6696   echo $ECHO_N "(cached) $ECHO_C" >&6
6697 else
6698   if test -n "$ac_ct_NM"; then
6699   ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
6700 else
6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6702 for as_dir in $PATH
6703 do
6704   IFS=$as_save_IFS
6705   test -z "$as_dir" && as_dir=.
6706   for ac_exec_ext in '' $ac_executable_extensions; do
6707   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6708     ac_cv_prog_ac_ct_NM="nm"
6709     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6710     break 2
6711   fi
6712 done
6713 done
6714
6715 fi
6716 fi
6717 ac_ct_NM=$ac_cv_prog_ac_ct_NM
6718 if test -n "$ac_ct_NM"; then
6719   echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
6720 echo "${ECHO_T}$ac_ct_NM" >&6
6721 else
6722   echo "$as_me:$LINENO: result: no" >&5
6723 echo "${ECHO_T}no" >&6
6724 fi
6725
6726   NM=$ac_ct_NM
6727 else
6728   NM="$ac_cv_prog_NM"
6729 fi
6730
6731   if test "x$ac_cv_have_dlvsym" != "x"; then
6732     # Try compiling a simple pthreads program.  Find the shared libraries it
6733     # ends up with.  Then use "nm" on those libraries to extract the
6734     # default symbol versioning suffix ("@@"), if any.  But that's tricky.
6735     # Rather, run nm on the resulting executable.  Unfortunately, autoconf
6736     # doesn't appear to have a macro that builds a test executable for
6737     # subsequent analysis ... so we do it by hand here.
6738     cat >> conftest.c << EOF
6739 #include <pthread.h>
6740 int main () { void *p = (void *) & pthread_create; return (int) p; }
6741 EOF
6742     oldLIBS="$LIBS"
6743     LIBS="$LIBS -lpthread"
6744     pthread_create_version="\"\""
6745     echo "$as_me:$LINENO: checking pthread_create symbol version" >&5
6746 echo $ECHO_N "checking pthread_create symbol version... $ECHO_C" >&6
6747     if eval $ac_link 2>&5 && test -s conftest${ac_exeext}; then
6748       version=`$NM conftest${ac_exeect} | grep 'pthread_create@@' | sed -e 's/^.*@@//'`
6749       if test "x$version" != "x"; then
6750         pthread_create_version="\"$version\""
6751       fi
6752     fi
6753     echo "$as_me:$LINENO: result: $pthread_create_version" >&5
6754 echo "${ECHO_T}$pthread_create_version" >&6
6755     LIBS="$oldLIBS"
6756   fi
6757 fi
6758
6759 cat >>confdefs.h <<_ACEOF
6760 #define PTHREAD_CREATE_VERSION $pthread_create_version
6761 _ACEOF
6762
6763
6764
6765 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6766 # similarly to how libstdc++ does it
6767 ac_test_CFLAGS="${CFLAGS+set}"
6768 ac_save_CFLAGS="$CFLAGS"
6769
6770 # Check for -ffunction-sections -fdata-sections
6771 echo "$as_me:$LINENO: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6772 echo $ECHO_N "checking for gcc that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
6773 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6774 cat >conftest.$ac_ext <<_ACEOF
6775 /* confdefs.h.  */
6776 _ACEOF
6777 cat confdefs.h >>conftest.$ac_ext
6778 cat >>conftest.$ac_ext <<_ACEOF
6779 /* end confdefs.h.  */
6780
6781 int
6782 main ()
6783 {
6784 int foo;
6785   ;
6786   return 0;
6787 }
6788 _ACEOF
6789 rm -f conftest.$ac_objext
6790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6791   (eval $ac_compile) 2>conftest.er1
6792   ac_status=$?
6793   grep -v '^ *+' conftest.er1 >conftest.err
6794   rm -f conftest.er1
6795   cat conftest.err >&5
6796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6797   (exit $ac_status); } &&
6798          { ac_try='test -z "$ac_c_werror_flag"
6799                          || test ! -s conftest.err'
6800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6801   (eval $ac_try) 2>&5
6802   ac_status=$?
6803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6804   (exit $ac_status); }; } &&
6805          { ac_try='test -s conftest.$ac_objext'
6806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6807   (eval $ac_try) 2>&5
6808   ac_status=$?
6809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810   (exit $ac_status); }; }; then
6811   ac_fdsections=yes
6812 else
6813   echo "$as_me: failed program was:" >&5
6814 sed 's/^/| /' conftest.$ac_ext >&5
6815
6816 ac_fdsections=no
6817 fi
6818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6819 if test "$ac_test_CFLAGS" = set; then
6820   CFLAGS="$ac_save_CFLAGS"
6821 else
6822   # this is the suspicious part
6823   CFLAGS=""
6824 fi
6825 if test x"$ac_fdsections" = x"yes"; then
6826   SECTION_FLAGS='-ffunction-sections -fdata-sections'
6827 fi
6828 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
6829 echo "${ECHO_T}$ac_fdsections" >&6
6830
6831
6832
6833 if test ${multilib} = yes; then
6834   multilib_arg="--enable-multilib"
6835 else
6836   multilib_arg=
6837 fi
6838
6839                                         ac_config_files="$ac_config_files Makefile testsuite/Makefile testsuite/mfconfig.exp mf-runtime.h"
6840
6841 cat >confcache <<\_ACEOF
6842 # This file is a shell script that caches the results of configure
6843 # tests run on this system so they can be shared between configure
6844 # scripts and configure runs, see configure's option --config-cache.
6845 # It is not useful on other systems.  If it contains results you don't
6846 # want to keep, you may remove or edit it.
6847 #
6848 # config.status only pays attention to the cache file if you give it
6849 # the --recheck option to rerun configure.
6850 #
6851 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6852 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6853 # following values.
6854
6855 _ACEOF
6856
6857 # The following way of writing the cache mishandles newlines in values,
6858 # but we know of no workaround that is simple, portable, and efficient.
6859 # So, don't put newlines in cache variables' values.
6860 # Ultrix sh set writes to stderr and can't be redirected directly,
6861 # and sets the high bit in the cache file unless we assign to the vars.
6862 {
6863   (set) 2>&1 |
6864     case `(ac_space=' '; set | grep ac_space) 2>&1` in
6865     *ac_space=\ *)
6866       # `set' does not quote correctly, so add quotes (double-quote
6867       # substitution turns \\\\ into \\, and sed turns \\ into \).
6868       sed -n \
6869         "s/'/'\\\\''/g;
6870           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6871       ;;
6872     *)
6873       # `set' quotes correctly as required by POSIX, so do not add quotes.
6874       sed -n \
6875         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6876       ;;
6877     esac;
6878 } |
6879   sed '
6880      t clear
6881      : clear
6882      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6883      t end
6884      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6885      : end' >>confcache
6886 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6887   if test -w $cache_file; then
6888     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6889     cat confcache >$cache_file
6890   else
6891     echo "not updating unwritable cache $cache_file"
6892   fi
6893 fi
6894 rm -f confcache
6895
6896 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6897 # Let make expand exec_prefix.
6898 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6899
6900 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6901 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6902 # trailing colons and then remove the whole line if VPATH becomes empty
6903 # (actually we leave an empty line to preserve line numbers).
6904 if test "x$srcdir" = x.; then
6905   ac_vpsub='/^[  ]*VPATH[        ]*=/{
6906 s/:*\$(srcdir):*/:/;
6907 s/:*\${srcdir}:*/:/;
6908 s/:*@srcdir@:*/:/;
6909 s/^\([^=]*=[     ]*\):*/\1/;
6910 s/:*$//;
6911 s/^[^=]*=[       ]*$//;
6912 }'
6913 fi
6914
6915 DEFS=-DHAVE_CONFIG_H
6916
6917 ac_libobjs=
6918 ac_ltlibobjs=
6919 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6920   # 1. Remove the extension, and $U if already installed.
6921   ac_i=`echo "$ac_i" |
6922          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6923   # 2. Add them.
6924   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6925   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6926 done
6927 LIBOBJS=$ac_libobjs
6928
6929 LTLIBOBJS=$ac_ltlibobjs
6930
6931
6932 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6933   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6934 Usually this means the macro was only invoked conditionally." >&5
6935 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6936 Usually this means the macro was only invoked conditionally." >&2;}
6937    { (exit 1); exit 1; }; }
6938 fi
6939 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6940   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6941 Usually this means the macro was only invoked conditionally." >&5
6942 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6943 Usually this means the macro was only invoked conditionally." >&2;}
6944    { (exit 1); exit 1; }; }
6945 fi
6946 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6947   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6948 Usually this means the macro was only invoked conditionally." >&5
6949 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6950 Usually this means the macro was only invoked conditionally." >&2;}
6951    { (exit 1); exit 1; }; }
6952 fi
6953 if test -z "${LIBMUDFLAPTH_TRUE}" && test -z "${LIBMUDFLAPTH_FALSE}"; then
6954   { { echo "$as_me:$LINENO: error: conditional \"LIBMUDFLAPTH\" was never defined.
6955 Usually this means the macro was only invoked conditionally." >&5
6956 echo "$as_me: error: conditional \"LIBMUDFLAPTH\" was never defined.
6957 Usually this means the macro was only invoked conditionally." >&2;}
6958    { (exit 1); exit 1; }; }
6959 fi
6960
6961 : ${CONFIG_STATUS=./config.status}
6962 ac_clean_files_save=$ac_clean_files
6963 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6964 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6965 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6966 cat >$CONFIG_STATUS <<_ACEOF
6967 #! $SHELL
6968 # Generated by $as_me.
6969 # Run this file to recreate the current configuration.
6970 # Compiler output produced by configure, useful for debugging
6971 # configure, is in config.log if it exists.
6972
6973 debug=false
6974 ac_cs_recheck=false
6975 ac_cs_silent=false
6976 SHELL=\${CONFIG_SHELL-$SHELL}
6977 _ACEOF
6978
6979 cat >>$CONFIG_STATUS <<\_ACEOF
6980 ## --------------------- ##
6981 ## M4sh Initialization.  ##
6982 ## --------------------- ##
6983
6984 # Be Bourne compatible
6985 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6986   emulate sh
6987   NULLCMD=:
6988   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6989   # is contrary to our usage.  Disable this feature.
6990   alias -g '${1+"$@"}'='"$@"'
6991 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6992   set -o posix
6993 fi
6994 DUALCASE=1; export DUALCASE # for MKS sh
6995
6996 # Support unset when possible.
6997 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6998   as_unset=unset
6999 else
7000   as_unset=false
7001 fi
7002
7003
7004 # Work around bugs in pre-3.0 UWIN ksh.
7005 $as_unset ENV MAIL MAILPATH
7006 PS1='$ '
7007 PS2='> '
7008 PS4='+ '
7009
7010 # NLS nuisances.
7011 for as_var in \
7012   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7013   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7014   LC_TELEPHONE LC_TIME
7015 do
7016   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7017     eval $as_var=C; export $as_var
7018   else
7019     $as_unset $as_var
7020   fi
7021 done
7022
7023 # Required to use basename.
7024 if expr a : '\(a\)' >/dev/null 2>&1; then
7025   as_expr=expr
7026 else
7027   as_expr=false
7028 fi
7029
7030 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7031   as_basename=basename
7032 else
7033   as_basename=false
7034 fi
7035
7036
7037 # Name of the executable.
7038 as_me=`$as_basename "$0" ||
7039 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7040          X"$0" : 'X\(//\)$' \| \
7041          X"$0" : 'X\(/\)$' \| \
7042          .     : '\(.\)' 2>/dev/null ||
7043 echo X/"$0" |
7044     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7045           /^X\/\(\/\/\)$/{ s//\1/; q; }
7046           /^X\/\(\/\).*/{ s//\1/; q; }
7047           s/.*/./; q'`
7048
7049
7050 # PATH needs CR, and LINENO needs CR and PATH.
7051 # Avoid depending upon Character Ranges.
7052 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7053 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7054 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7055 as_cr_digits='0123456789'
7056 as_cr_alnum=$as_cr_Letters$as_cr_digits
7057
7058 # The user is always right.
7059 if test "${PATH_SEPARATOR+set}" != set; then
7060   echo "#! /bin/sh" >conf$$.sh
7061   echo  "exit 0"   >>conf$$.sh
7062   chmod +x conf$$.sh
7063   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7064     PATH_SEPARATOR=';'
7065   else
7066     PATH_SEPARATOR=:
7067   fi
7068   rm -f conf$$.sh
7069 fi
7070
7071
7072   as_lineno_1=$LINENO
7073   as_lineno_2=$LINENO
7074   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7075   test "x$as_lineno_1" != "x$as_lineno_2" &&
7076   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
7077   # Find who we are.  Look in the path if we contain no path at all
7078   # relative or not.
7079   case $0 in
7080     *[\\/]* ) as_myself=$0 ;;
7081     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7082 for as_dir in $PATH
7083 do
7084   IFS=$as_save_IFS
7085   test -z "$as_dir" && as_dir=.
7086   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7087 done
7088
7089        ;;
7090   esac
7091   # We did not find ourselves, most probably we were run as `sh COMMAND'
7092   # in which case we are not to be found in the path.
7093   if test "x$as_myself" = x; then
7094     as_myself=$0
7095   fi
7096   if test ! -f "$as_myself"; then
7097     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7098 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7099    { (exit 1); exit 1; }; }
7100   fi
7101   case $CONFIG_SHELL in
7102   '')
7103     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7104 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7105 do
7106   IFS=$as_save_IFS
7107   test -z "$as_dir" && as_dir=.
7108   for as_base in sh bash ksh sh5; do
7109          case $as_dir in
7110          /*)
7111            if ("$as_dir/$as_base" -c '
7112   as_lineno_1=$LINENO
7113   as_lineno_2=$LINENO
7114   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7115   test "x$as_lineno_1" != "x$as_lineno_2" &&
7116   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
7117              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7118              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7119              CONFIG_SHELL=$as_dir/$as_base
7120              export CONFIG_SHELL
7121              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7122            fi;;
7123          esac
7124        done
7125 done
7126 ;;
7127   esac
7128
7129   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7130   # uniformly replaced by the line number.  The first 'sed' inserts a
7131   # line-number line before each line; the second 'sed' does the real
7132   # work.  The second script uses 'N' to pair each line-number line
7133   # with the numbered line, and appends trailing '-' during
7134   # substitution so that $LINENO is not a special case at line end.
7135   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7136   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
7137   sed '=' <$as_myself |
7138     sed '
7139       N
7140       s,$,-,
7141       : loop
7142       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7143       t loop
7144       s,-$,,
7145       s,^['$as_cr_digits']*\n,,
7146     ' >$as_me.lineno &&
7147   chmod +x $as_me.lineno ||
7148     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7149 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7150    { (exit 1); exit 1; }; }
7151
7152   # Don't try to exec as it changes $[0], causing all sort of problems
7153   # (the dirname of $[0] is not the place where we might find the
7154   # original and so on.  Autoconf is especially sensible to this).
7155   . ./$as_me.lineno
7156   # Exit status is that of the last command.
7157   exit
7158 }
7159
7160
7161 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7162   *c*,-n*) ECHO_N= ECHO_C='
7163 ' ECHO_T='      ' ;;
7164   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7165   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
7166 esac
7167
7168 if expr a : '\(a\)' >/dev/null 2>&1; then
7169   as_expr=expr
7170 else
7171   as_expr=false
7172 fi
7173
7174 rm -f conf$$ conf$$.exe conf$$.file
7175 echo >conf$$.file
7176 if ln -s conf$$.file conf$$ 2>/dev/null; then
7177   # We could just check for DJGPP; but this test a) works b) is more generic
7178   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7179   if test -f conf$$.exe; then
7180     # Don't use ln at all; we don't have any links
7181     as_ln_s='cp -p'
7182   else
7183     as_ln_s='ln -s'
7184   fi
7185 elif ln conf$$.file conf$$ 2>/dev/null; then
7186   as_ln_s=ln
7187 else
7188   as_ln_s='cp -p'
7189 fi
7190 rm -f conf$$ conf$$.exe conf$$.file
7191
7192 if mkdir -p . 2>/dev/null; then
7193   as_mkdir_p=:
7194 else
7195   test -d ./-p && rmdir ./-p
7196   as_mkdir_p=false
7197 fi
7198
7199 as_executable_p="test -f"
7200
7201 # Sed expression to map a string onto a valid CPP name.
7202 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7203
7204 # Sed expression to map a string onto a valid variable name.
7205 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7206
7207
7208 # IFS
7209 # We need space, tab and new line, in precisely that order.
7210 as_nl='
7211 '
7212 IFS="   $as_nl"
7213
7214 # CDPATH.
7215 $as_unset CDPATH
7216
7217 exec 6>&1
7218
7219 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7220 # report actual input values of CONFIG_FILES etc. instead of their
7221 # values after options handling.  Logging --version etc. is OK.
7222 exec 5>>config.log
7223 {
7224   echo
7225   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7226 ## Running $as_me. ##
7227 _ASBOX
7228 } >&5
7229 cat >&5 <<_CSEOF
7230
7231 This file was extended by libmudflap $as_me 1.0, which was
7232 generated by GNU Autoconf 2.59.  Invocation command line was
7233
7234   CONFIG_FILES    = $CONFIG_FILES
7235   CONFIG_HEADERS  = $CONFIG_HEADERS
7236   CONFIG_LINKS    = $CONFIG_LINKS
7237   CONFIG_COMMANDS = $CONFIG_COMMANDS
7238   $ $0 $@
7239
7240 _CSEOF
7241 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7242 echo >&5
7243 _ACEOF
7244
7245 # Files that config.status was made for.
7246 if test -n "$ac_config_files"; then
7247   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7248 fi
7249
7250 if test -n "$ac_config_headers"; then
7251   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7252 fi
7253
7254 if test -n "$ac_config_links"; then
7255   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7256 fi
7257
7258 if test -n "$ac_config_commands"; then
7259   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7260 fi
7261
7262 cat >>$CONFIG_STATUS <<\_ACEOF
7263
7264 ac_cs_usage="\
7265 \`$as_me' instantiates files from templates according to the
7266 current configuration.
7267
7268 Usage: $0 [OPTIONS] [FILE]...
7269
7270   -h, --help       print this help, then exit
7271   -V, --version    print version number, then exit
7272   -q, --quiet      do not print progress messages
7273   -d, --debug      don't remove temporary files
7274       --recheck    update $as_me by reconfiguring in the same conditions
7275   --file=FILE[:TEMPLATE]
7276                    instantiate the configuration file FILE
7277   --header=FILE[:TEMPLATE]
7278                    instantiate the configuration header FILE
7279
7280 Configuration files:
7281 $config_files
7282
7283 Configuration headers:
7284 $config_headers
7285
7286 Configuration commands:
7287 $config_commands
7288
7289 Report bugs to <bug-autoconf@gnu.org>."
7290 _ACEOF
7291
7292 cat >>$CONFIG_STATUS <<_ACEOF
7293 ac_cs_version="\\
7294 libmudflap config.status 1.0
7295 configured by $0, generated by GNU Autoconf 2.59,
7296   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7297
7298 Copyright (C) 2003 Free Software Foundation, Inc.
7299 This config.status script is free software; the Free Software Foundation
7300 gives unlimited permission to copy, distribute and modify it."
7301 srcdir=$srcdir
7302 INSTALL="$INSTALL"
7303 _ACEOF
7304
7305 cat >>$CONFIG_STATUS <<\_ACEOF
7306 # If no file are specified by the user, then we need to provide default
7307 # value.  By we need to know if files were specified by the user.
7308 ac_need_defaults=:
7309 while test $# != 0
7310 do
7311   case $1 in
7312   --*=*)
7313     ac_option=`expr "x$1" : 'x\([^=]*\)='`
7314     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7315     ac_shift=:
7316     ;;
7317   -*)
7318     ac_option=$1
7319     ac_optarg=$2
7320     ac_shift=shift
7321     ;;
7322   *) # This is not an option, so the user has probably given explicit
7323      # arguments.
7324      ac_option=$1
7325      ac_need_defaults=false;;
7326   esac
7327
7328   case $ac_option in
7329   # Handling of the options.
7330 _ACEOF
7331 cat >>$CONFIG_STATUS <<\_ACEOF
7332   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7333     ac_cs_recheck=: ;;
7334   --version | --vers* | -V )
7335     echo "$ac_cs_version"; exit 0 ;;
7336   --he | --h)
7337     # Conflict between --help and --header
7338     { { echo "$as_me:$LINENO: error: ambiguous option: $1
7339 Try \`$0 --help' for more information." >&5
7340 echo "$as_me: error: ambiguous option: $1
7341 Try \`$0 --help' for more information." >&2;}
7342    { (exit 1); exit 1; }; };;
7343   --help | --hel | -h )
7344     echo "$ac_cs_usage"; exit 0 ;;
7345   --debug | --d* | -d )
7346     debug=: ;;
7347   --file | --fil | --fi | --f )
7348     $ac_shift
7349     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7350     ac_need_defaults=false;;
7351   --header | --heade | --head | --hea )
7352     $ac_shift
7353     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7354     ac_need_defaults=false;;
7355   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7356   | -silent | --silent | --silen | --sile | --sil | --si | --s)
7357     ac_cs_silent=: ;;
7358
7359   # This is an error.
7360   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7361 Try \`$0 --help' for more information." >&5
7362 echo "$as_me: error: unrecognized option: $1
7363 Try \`$0 --help' for more information." >&2;}
7364    { (exit 1); exit 1; }; } ;;
7365
7366   *) ac_config_targets="$ac_config_targets $1" ;;
7367
7368   esac
7369   shift
7370 done
7371
7372 ac_configure_extra_args=
7373
7374 if $ac_cs_silent; then
7375   exec 6>/dev/null
7376   ac_configure_extra_args="$ac_configure_extra_args --silent"
7377 fi
7378
7379 _ACEOF
7380 cat >>$CONFIG_STATUS <<_ACEOF
7381 if \$ac_cs_recheck; then
7382   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7383   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7384 fi
7385
7386 _ACEOF
7387
7388 cat >>$CONFIG_STATUS <<_ACEOF
7389 #
7390 # INIT-COMMANDS section.
7391 #
7392
7393
7394 srcdir="$srcdir"
7395 host="$host"
7396 target="$target"
7397 with_multisubdir="$with_multisubdir"
7398 with_multisrctop="$with_multisrctop"
7399 with_target_subdir="$with_target_subdir"
7400 ac_configure_args="${multilib_arg} ${ac_configure_args}"
7401 multi_basedir="$multi_basedir"
7402 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
7403 CC="$CC"
7404 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7405
7406 _ACEOF
7407
7408
7409
7410 cat >>$CONFIG_STATUS <<\_ACEOF
7411 for ac_config_target in $ac_config_targets
7412 do
7413   case "$ac_config_target" in
7414   # Handling of arguments.
7415   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7416   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
7417   "testsuite/mfconfig.exp" ) CONFIG_FILES="$CONFIG_FILES testsuite/mfconfig.exp" ;;
7418   "mf-runtime.h" ) CONFIG_FILES="$CONFIG_FILES mf-runtime.h" ;;
7419   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
7420   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7421   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7422   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7423 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7424    { (exit 1); exit 1; }; };;
7425   esac
7426 done
7427
7428 # If the user did not use the arguments to specify the items to instantiate,
7429 # then the envvar interface is used.  Set only those that are not.
7430 # We use the long form for the default assignment because of an extremely
7431 # bizarre bug on SunOS 4.1.3.
7432 if $ac_need_defaults; then
7433   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7434   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7435   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7436 fi
7437
7438 # Have a temporary directory for convenience.  Make it in the build tree
7439 # simply because there is no reason to put it here, and in addition,
7440 # creating and moving files from /tmp can sometimes cause problems.
7441 # Create a temporary directory, and hook for its removal unless debugging.
7442 $debug ||
7443 {
7444   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7445   trap '{ (exit 1); exit 1; }' 1 2 13 15
7446 }
7447
7448 # Create a (secure) tmp directory for tmp files.
7449
7450 {
7451   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7452   test -n "$tmp" && test -d "$tmp"
7453 }  ||
7454 {
7455   tmp=./confstat$$-$RANDOM
7456   (umask 077 && mkdir $tmp)
7457 } ||
7458 {
7459    echo "$me: cannot create a temporary directory in ." >&2
7460    { (exit 1); exit 1; }
7461 }
7462
7463 _ACEOF
7464
7465 cat >>$CONFIG_STATUS <<_ACEOF
7466
7467 #
7468 # CONFIG_FILES section.
7469 #
7470
7471 # No need to generate the scripts if there are no CONFIG_FILES.
7472 # This happens for instance when ./config.status config.h
7473 if test -n "\$CONFIG_FILES"; then
7474   # Protect against being on the right side of a sed subst in config.status.
7475   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7476    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7477 s,@SHELL@,$SHELL,;t t
7478 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7479 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7480 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7481 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7482 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7483 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7484 s,@exec_prefix@,$exec_prefix,;t t
7485 s,@prefix@,$prefix,;t t
7486 s,@program_transform_name@,$program_transform_name,;t t
7487 s,@bindir@,$bindir,;t t
7488 s,@sbindir@,$sbindir,;t t
7489 s,@libexecdir@,$libexecdir,;t t
7490 s,@datadir@,$datadir,;t t
7491 s,@sysconfdir@,$sysconfdir,;t t
7492 s,@sharedstatedir@,$sharedstatedir,;t t
7493 s,@localstatedir@,$localstatedir,;t t
7494 s,@libdir@,$libdir,;t t
7495 s,@includedir@,$includedir,;t t
7496 s,@oldincludedir@,$oldincludedir,;t t
7497 s,@infodir@,$infodir,;t t
7498 s,@mandir@,$mandir,;t t
7499 s,@build_alias@,$build_alias,;t t
7500 s,@host_alias@,$host_alias,;t t
7501 s,@target_alias@,$target_alias,;t t
7502 s,@DEFS@,$DEFS,;t t
7503 s,@ECHO_C@,$ECHO_C,;t t
7504 s,@ECHO_N@,$ECHO_N,;t t
7505 s,@ECHO_T@,$ECHO_T,;t t
7506 s,@LIBS@,$LIBS,;t t
7507 s,@build@,$build,;t t
7508 s,@build_cpu@,$build_cpu,;t t
7509 s,@build_vendor@,$build_vendor,;t t
7510 s,@build_os@,$build_os,;t t
7511 s,@host@,$host,;t t
7512 s,@host_cpu@,$host_cpu,;t t
7513 s,@host_vendor@,$host_vendor,;t t
7514 s,@host_os@,$host_os,;t t
7515 s,@target@,$target,;t t
7516 s,@target_cpu@,$target_cpu,;t t
7517 s,@target_vendor@,$target_vendor,;t t
7518 s,@target_os@,$target_os,;t t
7519 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7520 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7521 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7522 s,@CYGPATH_W@,$CYGPATH_W,;t t
7523 s,@PACKAGE@,$PACKAGE,;t t
7524 s,@VERSION@,$VERSION,;t t
7525 s,@ACLOCAL@,$ACLOCAL,;t t
7526 s,@AUTOCONF@,$AUTOCONF,;t t
7527 s,@AUTOMAKE@,$AUTOMAKE,;t t
7528 s,@AUTOHEADER@,$AUTOHEADER,;t t
7529 s,@MAKEINFO@,$MAKEINFO,;t t
7530 s,@install_sh@,$install_sh,;t t
7531 s,@STRIP@,$STRIP,;t t
7532 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7533 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7534 s,@mkdir_p@,$mkdir_p,;t t
7535 s,@AWK@,$AWK,;t t
7536 s,@SET_MAKE@,$SET_MAKE,;t t
7537 s,@am__leading_dot@,$am__leading_dot,;t t
7538 s,@AMTAR@,$AMTAR,;t t
7539 s,@am__tar@,$am__tar,;t t
7540 s,@am__untar@,$am__untar,;t t
7541 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7542 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7543 s,@MAINT@,$MAINT,;t t
7544 s,@multi_basedir@,$multi_basedir,;t t
7545 s,@CC@,$CC,;t t
7546 s,@ac_ct_CC@,$ac_ct_CC,;t t
7547 s,@EXEEXT@,$EXEEXT,;t t
7548 s,@OBJEXT@,$OBJEXT,;t t
7549 s,@DEPDIR@,$DEPDIR,;t t
7550 s,@am__include@,$am__include,;t t
7551 s,@am__quote@,$am__quote,;t t
7552 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7553 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7554 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7555 s,@CCDEPMODE@,$CCDEPMODE,;t t
7556 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7557 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7558 s,@CFLAGS@,$CFLAGS,;t t
7559 s,@CPP@,$CPP,;t t
7560 s,@CPPFLAGS@,$CPPFLAGS,;t t
7561 s,@EGREP@,$EGREP,;t t
7562 s,@LN_S@,$LN_S,;t t
7563 s,@RANLIB@,$RANLIB,;t t
7564 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7565 s,@LIBTOOL@,$LIBTOOL,;t t
7566 s,@enable_shared@,$enable_shared,;t t
7567 s,@enable_static@,$enable_static,;t t
7568 s,@MF_HAVE_STDINT_H@,$MF_HAVE_STDINT_H,;t t
7569 s,@MF_HAVE_UINTPTR_T@,$MF_HAVE_UINTPTR_T,;t t
7570 s,@LIBMUDFLAPTH_TRUE@,$LIBMUDFLAPTH_TRUE,;t t
7571 s,@LIBMUDFLAPTH_FALSE@,$LIBMUDFLAPTH_FALSE,;t t
7572 s,@build_libmudflapth@,$build_libmudflapth,;t t
7573 s,@gcc_version@,$gcc_version,;t t
7574 s,@toolexecdir@,$toolexecdir,;t t
7575 s,@toolexeclibdir@,$toolexeclibdir,;t t
7576 s,@NM@,$NM,;t t
7577 s,@ac_ct_NM@,$ac_ct_NM,;t t
7578 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
7579 s,@LIBOBJS@,$LIBOBJS,;t t
7580 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7581 CEOF
7582
7583 _ACEOF
7584
7585   cat >>$CONFIG_STATUS <<\_ACEOF
7586   # Split the substitutions into bite-sized pieces for seds with
7587   # small command number limits, like on Digital OSF/1 and HP-UX.
7588   ac_max_sed_lines=48
7589   ac_sed_frag=1 # Number of current file.
7590   ac_beg=1 # First line for current file.
7591   ac_end=$ac_max_sed_lines # Line after last line for current file.
7592   ac_more_lines=:
7593   ac_sed_cmds=
7594   while $ac_more_lines; do
7595     if test $ac_beg -gt 1; then
7596       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7597     else
7598       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7599     fi
7600     if test ! -s $tmp/subs.frag; then
7601       ac_more_lines=false
7602     else
7603       # The purpose of the label and of the branching condition is to
7604       # speed up the sed processing (if there are no `@' at all, there
7605       # is no need to browse any of the substitutions).
7606       # These are the two extra sed commands mentioned above.
7607       (echo ':t
7608   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7609       if test -z "$ac_sed_cmds"; then
7610         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7611       else
7612         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7613       fi
7614       ac_sed_frag=`expr $ac_sed_frag + 1`
7615       ac_beg=$ac_end
7616       ac_end=`expr $ac_end + $ac_max_sed_lines`
7617     fi
7618   done
7619   if test -z "$ac_sed_cmds"; then
7620     ac_sed_cmds=cat
7621   fi
7622 fi # test -n "$CONFIG_FILES"
7623
7624 _ACEOF
7625 cat >>$CONFIG_STATUS <<\_ACEOF
7626 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7627   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7628   case $ac_file in
7629   - | *:- | *:-:* ) # input from stdin
7630         cat >$tmp/stdin
7631         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7632         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7633   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7634         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7635   * )   ac_file_in=$ac_file.in ;;
7636   esac
7637
7638   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7639   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7640 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7641          X"$ac_file" : 'X\(//\)[^/]' \| \
7642          X"$ac_file" : 'X\(//\)$' \| \
7643          X"$ac_file" : 'X\(/\)' \| \
7644          .     : '\(.\)' 2>/dev/null ||
7645 echo X"$ac_file" |
7646     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7647           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7648           /^X\(\/\/\)$/{ s//\1/; q; }
7649           /^X\(\/\).*/{ s//\1/; q; }
7650           s/.*/./; q'`
7651   { if $as_mkdir_p; then
7652     mkdir -p "$ac_dir"
7653   else
7654     as_dir="$ac_dir"
7655     as_dirs=
7656     while test ! -d "$as_dir"; do
7657       as_dirs="$as_dir $as_dirs"
7658       as_dir=`(dirname "$as_dir") 2>/dev/null ||
7659 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7660          X"$as_dir" : 'X\(//\)[^/]' \| \
7661          X"$as_dir" : 'X\(//\)$' \| \
7662          X"$as_dir" : 'X\(/\)' \| \
7663          .     : '\(.\)' 2>/dev/null ||
7664 echo X"$as_dir" |
7665     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7666           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7667           /^X\(\/\/\)$/{ s//\1/; q; }
7668           /^X\(\/\).*/{ s//\1/; q; }
7669           s/.*/./; q'`
7670     done
7671     test ! -n "$as_dirs" || mkdir $as_dirs
7672   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7673 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7674    { (exit 1); exit 1; }; }; }
7675
7676   ac_builddir=.
7677
7678 if test "$ac_dir" != .; then
7679   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7680   # A "../" for each directory in $ac_dir_suffix.
7681   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7682 else
7683   ac_dir_suffix= ac_top_builddir=
7684 fi
7685
7686 case $srcdir in
7687   .)  # No --srcdir option.  We are building in place.
7688     ac_srcdir=.
7689     if test -z "$ac_top_builddir"; then
7690        ac_top_srcdir=.
7691     else
7692        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7693     fi ;;
7694   [\\/]* | ?:[\\/]* )  # Absolute path.
7695     ac_srcdir=$srcdir$ac_dir_suffix;
7696     ac_top_srcdir=$srcdir ;;
7697   *) # Relative path.
7698     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7699     ac_top_srcdir=$ac_top_builddir$srcdir ;;
7700 esac
7701
7702 # Do not use `cd foo && pwd` to compute absolute paths, because
7703 # the directories may not exist.
7704 case `pwd` in
7705 .) ac_abs_builddir="$ac_dir";;
7706 *)
7707   case "$ac_dir" in
7708   .) ac_abs_builddir=`pwd`;;
7709   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7710   *) ac_abs_builddir=`pwd`/"$ac_dir";;
7711   esac;;
7712 esac
7713 case $ac_abs_builddir in
7714 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7715 *)
7716   case ${ac_top_builddir}. in
7717   .) ac_abs_top_builddir=$ac_abs_builddir;;
7718   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7719   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7720   esac;;
7721 esac
7722 case $ac_abs_builddir in
7723 .) ac_abs_srcdir=$ac_srcdir;;
7724 *)
7725   case $ac_srcdir in
7726   .) ac_abs_srcdir=$ac_abs_builddir;;
7727   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7728   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7729   esac;;
7730 esac
7731 case $ac_abs_builddir in
7732 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7733 *)
7734   case $ac_top_srcdir in
7735   .) ac_abs_top_srcdir=$ac_abs_builddir;;
7736   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7737   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7738   esac;;
7739 esac
7740
7741
7742   case $INSTALL in
7743   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7744   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7745   esac
7746
7747   if test x"$ac_file" != x-; then
7748     { echo "$as_me:$LINENO: creating $ac_file" >&5
7749 echo "$as_me: creating $ac_file" >&6;}
7750     rm -f "$ac_file"
7751   fi
7752   # Let's still pretend it is `configure' which instantiates (i.e., don't
7753   # use $as_me), people would be surprised to read:
7754   #    /* config.h.  Generated by config.status.  */
7755   if test x"$ac_file" = x-; then
7756     configure_input=
7757   else
7758     configure_input="$ac_file.  "
7759   fi
7760   configure_input=$configure_input"Generated from `echo $ac_file_in |
7761                                      sed 's,.*/,,'` by configure."
7762
7763   # First look for the input files in the build tree, otherwise in the
7764   # src tree.
7765   ac_file_inputs=`IFS=:
7766     for f in $ac_file_in; do
7767       case $f in
7768       -) echo $tmp/stdin ;;
7769       [\\/$]*)
7770          # Absolute (can't be DOS-style, as IFS=:)
7771          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7772 echo "$as_me: error: cannot find input file: $f" >&2;}
7773    { (exit 1); exit 1; }; }
7774          echo "$f";;
7775       *) # Relative
7776          if test -f "$f"; then
7777            # Build tree
7778            echo "$f"
7779          elif test -f "$srcdir/$f"; then
7780            # Source tree
7781            echo "$srcdir/$f"
7782          else
7783            # /dev/null tree
7784            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7785 echo "$as_me: error: cannot find input file: $f" >&2;}
7786    { (exit 1); exit 1; }; }
7787          fi;;
7788       esac
7789     done` || { (exit 1); exit 1; }
7790 _ACEOF
7791 cat >>$CONFIG_STATUS <<_ACEOF
7792   sed "$ac_vpsub
7793 $extrasub
7794 _ACEOF
7795 cat >>$CONFIG_STATUS <<\_ACEOF
7796 :t
7797 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7798 s,@configure_input@,$configure_input,;t t
7799 s,@srcdir@,$ac_srcdir,;t t
7800 s,@abs_srcdir@,$ac_abs_srcdir,;t t
7801 s,@top_srcdir@,$ac_top_srcdir,;t t
7802 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7803 s,@builddir@,$ac_builddir,;t t
7804 s,@abs_builddir@,$ac_abs_builddir,;t t
7805 s,@top_builddir@,$ac_top_builddir,;t t
7806 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7807 s,@INSTALL@,$ac_INSTALL,;t t
7808 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7809   rm -f $tmp/stdin
7810   if test x"$ac_file" != x-; then
7811     mv $tmp/out $ac_file
7812   else
7813     cat $tmp/out
7814     rm -f $tmp/out
7815   fi
7816
7817 done
7818 _ACEOF
7819 cat >>$CONFIG_STATUS <<\_ACEOF
7820
7821 #
7822 # CONFIG_HEADER section.
7823 #
7824
7825 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7826 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7827 #
7828 # ac_d sets the value in "#define NAME VALUE" lines.
7829 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
7830 ac_dB='[         ].*$,\1#\2'
7831 ac_dC=' '
7832 ac_dD=',;t'
7833 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7834 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
7835 ac_uB='$,\1#\2define\3'
7836 ac_uC=' '
7837 ac_uD=',;t'
7838
7839 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
7840   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7841   case $ac_file in
7842   - | *:- | *:-:* ) # input from stdin
7843         cat >$tmp/stdin
7844         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7845         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7846   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7847         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7848   * )   ac_file_in=$ac_file.in ;;
7849   esac
7850
7851   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7852 echo "$as_me: creating $ac_file" >&6;}
7853
7854   # First look for the input files in the build tree, otherwise in the
7855   # src tree.
7856   ac_file_inputs=`IFS=:
7857     for f in $ac_file_in; do
7858       case $f in
7859       -) echo $tmp/stdin ;;
7860       [\\/$]*)
7861          # Absolute (can't be DOS-style, as IFS=:)
7862          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7863 echo "$as_me: error: cannot find input file: $f" >&2;}
7864    { (exit 1); exit 1; }; }
7865          # Do quote $f, to prevent DOS paths from being IFS'd.
7866          echo "$f";;
7867       *) # Relative
7868          if test -f "$f"; then
7869            # Build tree
7870            echo "$f"
7871          elif test -f "$srcdir/$f"; then
7872            # Source tree
7873            echo "$srcdir/$f"
7874          else
7875            # /dev/null tree
7876            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7877 echo "$as_me: error: cannot find input file: $f" >&2;}
7878    { (exit 1); exit 1; }; }
7879          fi;;
7880       esac
7881     done` || { (exit 1); exit 1; }
7882   # Remove the trailing spaces.
7883   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
7884
7885 _ACEOF
7886
7887 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7888 # `conftest.undefs', that substitutes the proper values into
7889 # config.h.in to produce config.h.  The first handles `#define'
7890 # templates, and the second `#undef' templates.
7891 # And first: Protect against being on the right side of a sed subst in
7892 # config.status.  Protect against being in an unquoted here document
7893 # in config.status.
7894 rm -f conftest.defines conftest.undefs
7895 # Using a here document instead of a string reduces the quoting nightmare.
7896 # Putting comments in sed scripts is not portable.
7897 #
7898 # `end' is used to avoid that the second main sed command (meant for
7899 # 0-ary CPP macros) applies to n-ary macro definitions.
7900 # See the Autoconf documentation for `clear'.
7901 cat >confdef2sed.sed <<\_ACEOF
7902 s/[\\&,]/\\&/g
7903 s,[\\$`],\\&,g
7904 t clear
7905 : clear
7906 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7907 t end
7908 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7909 : end
7910 _ACEOF
7911 # If some macros were called several times there might be several times
7912 # the same #defines, which is useless.  Nevertheless, we may not want to
7913 # sort them, since we want the *last* AC-DEFINE to be honored.
7914 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7915 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7916 rm -f confdef2sed.sed
7917
7918 # This sed command replaces #undef with comments.  This is necessary, for
7919 # example, in the case of _POSIX_SOURCE, which is predefined and required
7920 # on some systems where configure will not decide to define it.
7921 cat >>conftest.undefs <<\_ACEOF
7922 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7923 _ACEOF
7924
7925 # Break up conftest.defines because some shells have a limit on the size
7926 # of here documents, and old seds have small limits too (100 cmds).
7927 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7928 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7929 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7930 echo '  :' >>$CONFIG_STATUS
7931 rm -f conftest.tail
7932 while grep . conftest.defines >/dev/null
7933 do
7934   # Write a limited-size here document to $tmp/defines.sed.
7935   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7936   # Speed up: don't consider the non `#define' lines.
7937   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
7938   # Work around the forget-to-reset-the-flag bug.
7939   echo 't clr' >>$CONFIG_STATUS
7940   echo ': clr' >>$CONFIG_STATUS
7941   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7942   echo 'CEOF
7943   sed -f $tmp/defines.sed $tmp/in >$tmp/out
7944   rm -f $tmp/in
7945   mv $tmp/out $tmp/in
7946 ' >>$CONFIG_STATUS
7947   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7948   rm -f conftest.defines
7949   mv conftest.tail conftest.defines
7950 done
7951 rm -f conftest.defines
7952 echo '  fi # grep' >>$CONFIG_STATUS
7953 echo >>$CONFIG_STATUS
7954
7955 # Break up conftest.undefs because some shells have a limit on the size
7956 # of here documents, and old seds have small limits too (100 cmds).
7957 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
7958 rm -f conftest.tail
7959 while grep . conftest.undefs >/dev/null
7960 do
7961   # Write a limited-size here document to $tmp/undefs.sed.
7962   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7963   # Speed up: don't consider the non `#undef'
7964   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
7965   # Work around the forget-to-reset-the-flag bug.
7966   echo 't clr' >>$CONFIG_STATUS
7967   echo ': clr' >>$CONFIG_STATUS
7968   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7969   echo 'CEOF
7970   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7971   rm -f $tmp/in
7972   mv $tmp/out $tmp/in
7973 ' >>$CONFIG_STATUS
7974   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7975   rm -f conftest.undefs
7976   mv conftest.tail conftest.undefs
7977 done
7978 rm -f conftest.undefs
7979
7980 cat >>$CONFIG_STATUS <<\_ACEOF
7981   # Let's still pretend it is `configure' which instantiates (i.e., don't
7982   # use $as_me), people would be surprised to read:
7983   #    /* config.h.  Generated by config.status.  */
7984   if test x"$ac_file" = x-; then
7985     echo "/* Generated by configure.  */" >$tmp/config.h
7986   else
7987     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
7988   fi
7989   cat $tmp/in >>$tmp/config.h
7990   rm -f $tmp/in
7991   if test x"$ac_file" != x-; then
7992     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7993       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7994 echo "$as_me: $ac_file is unchanged" >&6;}
7995     else
7996       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7997 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7998          X"$ac_file" : 'X\(//\)[^/]' \| \
7999          X"$ac_file" : 'X\(//\)$' \| \
8000          X"$ac_file" : 'X\(/\)' \| \
8001          .     : '\(.\)' 2>/dev/null ||
8002 echo X"$ac_file" |
8003     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8004           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8005           /^X\(\/\/\)$/{ s//\1/; q; }
8006           /^X\(\/\).*/{ s//\1/; q; }
8007           s/.*/./; q'`
8008       { if $as_mkdir_p; then
8009     mkdir -p "$ac_dir"
8010   else
8011     as_dir="$ac_dir"
8012     as_dirs=
8013     while test ! -d "$as_dir"; do
8014       as_dirs="$as_dir $as_dirs"
8015       as_dir=`(dirname "$as_dir") 2>/dev/null ||
8016 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8017          X"$as_dir" : 'X\(//\)[^/]' \| \
8018          X"$as_dir" : 'X\(//\)$' \| \
8019          X"$as_dir" : 'X\(/\)' \| \
8020          .     : '\(.\)' 2>/dev/null ||
8021 echo X"$as_dir" |
8022     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8023           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8024           /^X\(\/\/\)$/{ s//\1/; q; }
8025           /^X\(\/\).*/{ s//\1/; q; }
8026           s/.*/./; q'`
8027     done
8028     test ! -n "$as_dirs" || mkdir $as_dirs
8029   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8030 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8031    { (exit 1); exit 1; }; }; }
8032
8033       rm -f $ac_file
8034       mv $tmp/config.h $ac_file
8035     fi
8036   else
8037     cat $tmp/config.h
8038     rm -f $tmp/config.h
8039   fi
8040 # Compute $ac_file's index in $config_headers.
8041 _am_stamp_count=1
8042 for _am_header in $config_headers :; do
8043   case $_am_header in
8044     $ac_file | $ac_file:* )
8045       break ;;
8046     * )
8047       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8048   esac
8049 done
8050 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
8051 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8052          X$ac_file : 'X\(//\)[^/]' \| \
8053          X$ac_file : 'X\(//\)$' \| \
8054          X$ac_file : 'X\(/\)' \| \
8055          .     : '\(.\)' 2>/dev/null ||
8056 echo X$ac_file |
8057     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8058           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8059           /^X\(\/\/\)$/{ s//\1/; q; }
8060           /^X\(\/\).*/{ s//\1/; q; }
8061           s/.*/./; q'`/stamp-h$_am_stamp_count
8062 done
8063 _ACEOF
8064 cat >>$CONFIG_STATUS <<\_ACEOF
8065
8066 #
8067 # CONFIG_COMMANDS section.
8068 #
8069 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
8070   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
8071   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
8072   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
8073 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8074          X"$ac_dest" : 'X\(//\)[^/]' \| \
8075          X"$ac_dest" : 'X\(//\)$' \| \
8076          X"$ac_dest" : 'X\(/\)' \| \
8077          .     : '\(.\)' 2>/dev/null ||
8078 echo X"$ac_dest" |
8079     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8080           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8081           /^X\(\/\/\)$/{ s//\1/; q; }
8082           /^X\(\/\).*/{ s//\1/; q; }
8083           s/.*/./; q'`
8084   { if $as_mkdir_p; then
8085     mkdir -p "$ac_dir"
8086   else
8087     as_dir="$ac_dir"
8088     as_dirs=
8089     while test ! -d "$as_dir"; do
8090       as_dirs="$as_dir $as_dirs"
8091       as_dir=`(dirname "$as_dir") 2>/dev/null ||
8092 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8093          X"$as_dir" : 'X\(//\)[^/]' \| \
8094          X"$as_dir" : 'X\(//\)$' \| \
8095          X"$as_dir" : 'X\(/\)' \| \
8096          .     : '\(.\)' 2>/dev/null ||
8097 echo X"$as_dir" |
8098     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8099           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8100           /^X\(\/\/\)$/{ s//\1/; q; }
8101           /^X\(\/\).*/{ s//\1/; q; }
8102           s/.*/./; q'`
8103     done
8104     test ! -n "$as_dirs" || mkdir $as_dirs
8105   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8106 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8107    { (exit 1); exit 1; }; }; }
8108
8109   ac_builddir=.
8110
8111 if test "$ac_dir" != .; then
8112   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8113   # A "../" for each directory in $ac_dir_suffix.
8114   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8115 else
8116   ac_dir_suffix= ac_top_builddir=
8117 fi
8118
8119 case $srcdir in
8120   .)  # No --srcdir option.  We are building in place.
8121     ac_srcdir=.
8122     if test -z "$ac_top_builddir"; then
8123        ac_top_srcdir=.
8124     else
8125        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8126     fi ;;
8127   [\\/]* | ?:[\\/]* )  # Absolute path.
8128     ac_srcdir=$srcdir$ac_dir_suffix;
8129     ac_top_srcdir=$srcdir ;;
8130   *) # Relative path.
8131     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8132     ac_top_srcdir=$ac_top_builddir$srcdir ;;
8133 esac
8134
8135 # Do not use `cd foo && pwd` to compute absolute paths, because
8136 # the directories may not exist.
8137 case `pwd` in
8138 .) ac_abs_builddir="$ac_dir";;
8139 *)
8140   case "$ac_dir" in
8141   .) ac_abs_builddir=`pwd`;;
8142   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8143   *) ac_abs_builddir=`pwd`/"$ac_dir";;
8144   esac;;
8145 esac
8146 case $ac_abs_builddir in
8147 .) ac_abs_top_builddir=${ac_top_builddir}.;;
8148 *)
8149   case ${ac_top_builddir}. in
8150   .) ac_abs_top_builddir=$ac_abs_builddir;;
8151   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8152   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8153   esac;;
8154 esac
8155 case $ac_abs_builddir in
8156 .) ac_abs_srcdir=$ac_srcdir;;
8157 *)
8158   case $ac_srcdir in
8159   .) ac_abs_srcdir=$ac_abs_builddir;;
8160   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8161   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8162   esac;;
8163 esac
8164 case $ac_abs_builddir in
8165 .) ac_abs_top_srcdir=$ac_top_srcdir;;
8166 *)
8167   case $ac_top_srcdir in
8168   .) ac_abs_top_srcdir=$ac_abs_builddir;;
8169   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8170   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8171   esac;;
8172 esac
8173
8174
8175   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8176 echo "$as_me: executing $ac_dest commands" >&6;}
8177   case $ac_dest in
8178     default-1 )
8179 # Only add multilib support code if we just rebuilt the top-level
8180 # Makefile.
8181 case " $CONFIG_FILES " in
8182  *" Makefile "*)
8183    ac_file=Makefile . ${multi_basedir}/config-ml.in
8184    ;;
8185 esac ;;
8186     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8187   # Strip MF so we end up with the name of the file.
8188   mf=`echo "$mf" | sed -e 's/:.*$//'`
8189   # Check whether this is an Automake generated Makefile or not.
8190   # We used to match only the files named `Makefile.in', but
8191   # some people rename them; so instead we look at the file content.
8192   # Grep'ing the first line is not enough: some people post-process
8193   # each Makefile.in and add a new line on top of each file to say so.
8194   # So let's grep whole file.
8195   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
8196     dirpart=`(dirname "$mf") 2>/dev/null ||
8197 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8198          X"$mf" : 'X\(//\)[^/]' \| \
8199          X"$mf" : 'X\(//\)$' \| \
8200          X"$mf" : 'X\(/\)' \| \
8201          .     : '\(.\)' 2>/dev/null ||
8202 echo X"$mf" |
8203     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8204           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8205           /^X\(\/\/\)$/{ s//\1/; q; }
8206           /^X\(\/\).*/{ s//\1/; q; }
8207           s/.*/./; q'`
8208   else
8209     continue
8210   fi
8211   # Extract the definition of DEPDIR, am__include, and am__quote
8212   # from the Makefile without running `make'.
8213   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8214   test -z "$DEPDIR" && continue
8215   am__include=`sed -n 's/^am__include = //p' < "$mf"`
8216   test -z "am__include" && continue
8217   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8218   # When using ansi2knr, U may be empty or an underscore; expand it
8219   U=`sed -n 's/^U = //p' < "$mf"`
8220   # Find all dependency output files, they are included files with
8221   # $(DEPDIR) in their names.  We invoke sed twice because it is the
8222   # simplest approach to changing $(DEPDIR) to its actual value in the
8223   # expansion.
8224   for file in `sed -n "
8225     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8226        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8227     # Make sure the directory exists.
8228     test -f "$dirpart/$file" && continue
8229     fdir=`(dirname "$file") 2>/dev/null ||
8230 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8231          X"$file" : 'X\(//\)[^/]' \| \
8232          X"$file" : 'X\(//\)$' \| \
8233          X"$file" : 'X\(/\)' \| \
8234          .     : '\(.\)' 2>/dev/null ||
8235 echo X"$file" |
8236     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8237           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8238           /^X\(\/\/\)$/{ s//\1/; q; }
8239           /^X\(\/\).*/{ s//\1/; q; }
8240           s/.*/./; q'`
8241     { if $as_mkdir_p; then
8242     mkdir -p $dirpart/$fdir
8243   else
8244     as_dir=$dirpart/$fdir
8245     as_dirs=
8246     while test ! -d "$as_dir"; do
8247       as_dirs="$as_dir $as_dirs"
8248       as_dir=`(dirname "$as_dir") 2>/dev/null ||
8249 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8250          X"$as_dir" : 'X\(//\)[^/]' \| \
8251          X"$as_dir" : 'X\(//\)$' \| \
8252          X"$as_dir" : 'X\(/\)' \| \
8253          .     : '\(.\)' 2>/dev/null ||
8254 echo X"$as_dir" |
8255     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8256           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8257           /^X\(\/\/\)$/{ s//\1/; q; }
8258           /^X\(\/\).*/{ s//\1/; q; }
8259           s/.*/./; q'`
8260     done
8261     test ! -n "$as_dirs" || mkdir $as_dirs
8262   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8263 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8264    { (exit 1); exit 1; }; }; }
8265
8266     # echo "creating $dirpart/$file"
8267     echo '# dummy' > "$dirpart/$file"
8268   done
8269 done
8270  ;;
8271   esac
8272 done
8273 _ACEOF
8274
8275 cat >>$CONFIG_STATUS <<\_ACEOF
8276
8277 { (exit 0); exit 0; }
8278 _ACEOF
8279 chmod +x $CONFIG_STATUS
8280 ac_clean_files=$ac_clean_files_save
8281
8282
8283 # configure is writing to config.log, and then calls config.status.
8284 # config.status does its own redirection, appending to config.log.
8285 # Unfortunately, on DOS this fails, as config.log is still kept open
8286 # by configure, so config.status won't be able to write to it; its
8287 # output is simply discarded.  So we exec the FD to /dev/null,
8288 # effectively closing config.log, so it can be properly (re)opened and
8289 # appended to by config.status.  When coming back to configure, we
8290 # need to make the FD available again.
8291 if test "$no_create" != yes; then
8292   ac_cs_success=:
8293   ac_config_status_args=
8294   test "$silent" = yes &&
8295     ac_config_status_args="$ac_config_status_args --quiet"
8296   exec 5>/dev/null
8297   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8298   exec 5>>config.log
8299   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8300   # would make configure fail if this is the last instruction.
8301   $ac_cs_success || { (exit 1); exit 1; }
8302 fi
8303