OSDN Git Service

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