OSDN Git Service

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