OSDN Git Service

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