OSDN Git Service

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