OSDN Git Service

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