OSDN Git Service

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