OSDN Git Service

2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
[pf3gnuchains/pf3gnuchains3x.git] / newlib / libc / sys / w65 / 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="trap.c"
275 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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 LIBOBJS LTLIBOBJS'
276 ac_subst_files=''
277
278 # Initialize some variables set by options.
279 ac_init_help=
280 ac_init_version=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
283 cache_file=/dev/null
284 exec_prefix=NONE
285 no_create=
286 no_recursion=
287 prefix=NONE
288 program_prefix=NONE
289 program_suffix=NONE
290 program_transform_name=s,x,x,
291 silent=
292 site=
293 srcdir=
294 verbose=
295 x_includes=NONE
296 x_libraries=NONE
297
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir='${exec_prefix}/bin'
304 sbindir='${exec_prefix}/sbin'
305 libexecdir='${exec_prefix}/libexec'
306 datadir='${prefix}/share'
307 sysconfdir='${prefix}/etc'
308 sharedstatedir='${prefix}/com'
309 localstatedir='${prefix}/var'
310 libdir='${exec_prefix}/lib'
311 includedir='${prefix}/include'
312 oldincludedir='/usr/include'
313 infodir='${prefix}/info'
314 mandir='${prefix}/man'
315
316 ac_prev=
317 for ac_option
318 do
319   # If the previous option needs an argument, assign it.
320   if test -n "$ac_prev"; then
321     eval "$ac_prev=\$ac_option"
322     ac_prev=
323     continue
324   fi
325
326   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327
328   # Accept the important Cygnus configure options, so we can diagnose typos.
329
330   case $ac_option in
331
332   -bindir | --bindir | --bindi | --bind | --bin | --bi)
333     ac_prev=bindir ;;
334   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335     bindir=$ac_optarg ;;
336
337   -build | --build | --buil | --bui | --bu)
338     ac_prev=build_alias ;;
339   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340     build_alias=$ac_optarg ;;
341
342   -cache-file | --cache-file | --cache-fil | --cache-fi \
343   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344     ac_prev=cache_file ;;
345   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347     cache_file=$ac_optarg ;;
348
349   --config-cache | -C)
350     cache_file=config.cache ;;
351
352   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353     ac_prev=datadir ;;
354   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355   | --da=*)
356     datadir=$ac_optarg ;;
357
358   -disable-* | --disable-*)
359     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360     # Reject names that are not valid shell variable names.
361     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363    { (exit 1); exit 1; }; }
364     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365     eval "enable_$ac_feature=no" ;;
366
367   -enable-* | --enable-*)
368     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369     # Reject names that are not valid shell variable names.
370     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372    { (exit 1); exit 1; }; }
373     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374     case $ac_option in
375       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
376       *) ac_optarg=yes ;;
377     esac
378     eval "enable_$ac_feature='$ac_optarg'" ;;
379
380   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382   | --exec | --exe | --ex)
383     ac_prev=exec_prefix ;;
384   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386   | --exec=* | --exe=* | --ex=*)
387     exec_prefix=$ac_optarg ;;
388
389   -gas | --gas | --ga | --g)
390     # Obsolete; use --with-gas.
391     with_gas=yes ;;
392
393   -help | --help | --hel | --he | -h)
394     ac_init_help=long ;;
395   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396     ac_init_help=recursive ;;
397   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398     ac_init_help=short ;;
399
400   -host | --host | --hos | --ho)
401     ac_prev=host_alias ;;
402   -host=* | --host=* | --hos=* | --ho=*)
403     host_alias=$ac_optarg ;;
404
405   -includedir | --includedir | --includedi | --included | --include \
406   | --includ | --inclu | --incl | --inc)
407     ac_prev=includedir ;;
408   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409   | --includ=* | --inclu=* | --incl=* | --inc=*)
410     includedir=$ac_optarg ;;
411
412   -infodir | --infodir | --infodi | --infod | --info | --inf)
413     ac_prev=infodir ;;
414   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415     infodir=$ac_optarg ;;
416
417   -libdir | --libdir | --libdi | --libd)
418     ac_prev=libdir ;;
419   -libdir=* | --libdir=* | --libdi=* | --libd=*)
420     libdir=$ac_optarg ;;
421
422   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423   | --libexe | --libex | --libe)
424     ac_prev=libexecdir ;;
425   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426   | --libexe=* | --libex=* | --libe=*)
427     libexecdir=$ac_optarg ;;
428
429   -localstatedir | --localstatedir | --localstatedi | --localstated \
430   | --localstate | --localstat | --localsta | --localst \
431   | --locals | --local | --loca | --loc | --lo)
432     ac_prev=localstatedir ;;
433   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436     localstatedir=$ac_optarg ;;
437
438   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439     ac_prev=mandir ;;
440   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
441     mandir=$ac_optarg ;;
442
443   -nfp | --nfp | --nf)
444     # Obsolete; use --without-fp.
445     with_fp=no ;;
446
447   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448   | --no-cr | --no-c | -n)
449     no_create=yes ;;
450
451   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
453     no_recursion=yes ;;
454
455   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457   | --oldin | --oldi | --old | --ol | --o)
458     ac_prev=oldincludedir ;;
459   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462     oldincludedir=$ac_optarg ;;
463
464   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465     ac_prev=prefix ;;
466   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
467     prefix=$ac_optarg ;;
468
469   -program-prefix | --program-prefix | --program-prefi | --program-pref \
470   | --program-pre | --program-pr | --program-p)
471     ac_prev=program_prefix ;;
472   -program-prefix=* | --program-prefix=* | --program-prefi=* \
473   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474     program_prefix=$ac_optarg ;;
475
476   -program-suffix | --program-suffix | --program-suffi | --program-suff \
477   | --program-suf | --program-su | --program-s)
478     ac_prev=program_suffix ;;
479   -program-suffix=* | --program-suffix=* | --program-suffi=* \
480   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481     program_suffix=$ac_optarg ;;
482
483   -program-transform-name | --program-transform-name \
484   | --program-transform-nam | --program-transform-na \
485   | --program-transform-n | --program-transform- \
486   | --program-transform | --program-transfor \
487   | --program-transfo | --program-transf \
488   | --program-trans | --program-tran \
489   | --progr-tra | --program-tr | --program-t)
490     ac_prev=program_transform_name ;;
491   -program-transform-name=* | --program-transform-name=* \
492   | --program-transform-nam=* | --program-transform-na=* \
493   | --program-transform-n=* | --program-transform-=* \
494   | --program-transform=* | --program-transfor=* \
495   | --program-transfo=* | --program-transf=* \
496   | --program-trans=* | --program-tran=* \
497   | --progr-tra=* | --program-tr=* | --program-t=*)
498     program_transform_name=$ac_optarg ;;
499
500   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501   | -silent | --silent | --silen | --sile | --sil)
502     silent=yes ;;
503
504   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
505     ac_prev=sbindir ;;
506   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507   | --sbi=* | --sb=*)
508     sbindir=$ac_optarg ;;
509
510   -sharedstatedir | --sharedstatedir | --sharedstatedi \
511   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512   | --sharedst | --shareds | --shared | --share | --shar \
513   | --sha | --sh)
514     ac_prev=sharedstatedir ;;
515   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518   | --sha=* | --sh=*)
519     sharedstatedir=$ac_optarg ;;
520
521   -site | --site | --sit)
522     ac_prev=site ;;
523   -site=* | --site=* | --sit=*)
524     site=$ac_optarg ;;
525
526   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527     ac_prev=srcdir ;;
528   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
529     srcdir=$ac_optarg ;;
530
531   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532   | --syscon | --sysco | --sysc | --sys | --sy)
533     ac_prev=sysconfdir ;;
534   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536     sysconfdir=$ac_optarg ;;
537
538   -target | --target | --targe | --targ | --tar | --ta | --t)
539     ac_prev=target_alias ;;
540   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541     target_alias=$ac_optarg ;;
542
543   -v | -verbose | --verbose | --verbos | --verbo | --verb)
544     verbose=yes ;;
545
546   -version | --version | --versio | --versi | --vers | -V)
547     ac_init_version=: ;;
548
549   -with-* | --with-*)
550     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551     # Reject names that are not valid shell variable names.
552     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553       { echo "$as_me: error: invalid package name: $ac_package" >&2
554    { (exit 1); exit 1; }; }
555     ac_package=`echo $ac_package| sed 's/-/_/g'`
556     case $ac_option in
557       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
558       *) ac_optarg=yes ;;
559     esac
560     eval "with_$ac_package='$ac_optarg'" ;;
561
562   -without-* | --without-*)
563     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564     # Reject names that are not valid shell variable names.
565     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566       { echo "$as_me: error: invalid package name: $ac_package" >&2
567    { (exit 1); exit 1; }; }
568     ac_package=`echo $ac_package | sed 's/-/_/g'`
569     eval "with_$ac_package=no" ;;
570
571   --x)
572     # Obsolete; use --with-x.
573     with_x=yes ;;
574
575   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576   | --x-incl | --x-inc | --x-in | --x-i)
577     ac_prev=x_includes ;;
578   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580     x_includes=$ac_optarg ;;
581
582   -x-libraries | --x-libraries | --x-librarie | --x-librari \
583   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584     ac_prev=x_libraries ;;
585   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587     x_libraries=$ac_optarg ;;
588
589   -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591    { (exit 1); exit 1; }; }
592     ;;
593
594   *=*)
595     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596     # Reject names that are not valid shell variable names.
597     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599    { (exit 1); exit 1; }; }
600     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601     eval "$ac_envvar='$ac_optarg'"
602     export $ac_envvar ;;
603
604   *)
605     # FIXME: should be removed in autoconf 3.0.
606     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
610     ;;
611
612   esac
613 done
614
615 if test -n "$ac_prev"; then
616   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617   { echo "$as_me: error: missing argument to $ac_option" >&2
618    { (exit 1); exit 1; }; }
619 fi
620
621 # Be sure to have absolute paths.
622 for ac_var in exec_prefix prefix
623 do
624   eval ac_val=$`echo $ac_var`
625   case $ac_val in
626     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628    { (exit 1); exit 1; }; };;
629   esac
630 done
631
632 # Be sure to have absolute paths.
633 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634               localstatedir libdir includedir oldincludedir infodir mandir
635 do
636   eval ac_val=$`echo $ac_var`
637   case $ac_val in
638     [\\/$]* | ?:[\\/]* ) ;;
639     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640    { (exit 1); exit 1; }; };;
641   esac
642 done
643
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
647 build=$build_alias
648 host=$host_alias
649 target=$target_alias
650
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x; then
653   if test "x$build_alias" = x; then
654     cross_compiling=maybe
655     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656     If a cross compiler is detected then cross compile mode will be used." >&2
657   elif test "x$build_alias" != "x$host_alias"; then
658     cross_compiling=yes
659   fi
660 fi
661
662 ac_tool_prefix=
663 test -n "$host_alias" && ac_tool_prefix=$host_alias-
664
665 test "$silent" = yes && exec 6>/dev/null
666
667
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670   ac_srcdir_defaulted=yes
671   # Try the directory containing this script, then its parent.
672   ac_confdir=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674          X"$0" : 'X\(//\)[^/]' \| \
675          X"$0" : 'X\(//\)$' \| \
676          X"$0" : 'X\(/\)' \| \
677          .     : '\(.\)' 2>/dev/null ||
678 echo X"$0" |
679     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681           /^X\(\/\/\)$/{ s//\1/; q; }
682           /^X\(\/\).*/{ s//\1/; q; }
683           s/.*/./; q'`
684   srcdir=$ac_confdir
685   if test ! -r $srcdir/$ac_unique_file; then
686     srcdir=..
687   fi
688 else
689   ac_srcdir_defaulted=no
690 fi
691 if test ! -r $srcdir/$ac_unique_file; then
692   if test "$ac_srcdir_defaulted" = yes; then
693     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694    { (exit 1); exit 1; }; }
695   else
696     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697    { (exit 1); exit 1; }; }
698   fi
699 fi
700 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702    { (exit 1); exit 1; }; }
703 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set=${build_alias+set}
705 ac_env_build_alias_value=$build_alias
706 ac_cv_env_build_alias_set=${build_alias+set}
707 ac_cv_env_build_alias_value=$build_alias
708 ac_env_host_alias_set=${host_alias+set}
709 ac_env_host_alias_value=$host_alias
710 ac_cv_env_host_alias_set=${host_alias+set}
711 ac_cv_env_host_alias_value=$host_alias
712 ac_env_target_alias_set=${target_alias+set}
713 ac_env_target_alias_value=$target_alias
714 ac_cv_env_target_alias_set=${target_alias+set}
715 ac_cv_env_target_alias_value=$target_alias
716 ac_env_CCAS_set=${CCAS+set}
717 ac_env_CCAS_value=$CCAS
718 ac_cv_env_CCAS_set=${CCAS+set}
719 ac_cv_env_CCAS_value=$CCAS
720 ac_env_CCASFLAGS_set=${CCASFLAGS+set}
721 ac_env_CCASFLAGS_value=$CCASFLAGS
722 ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
723 ac_cv_env_CCASFLAGS_value=$CCASFLAGS
724
725 #
726 # Report the --help message.
727 #
728 if test "$ac_init_help" = "long"; then
729   # Omit some internal or obsolete options to make the list less imposing.
730   # This message is too long to be a string in the A/UX 3.1 sh.
731   cat <<_ACEOF
732 \`configure' configures this package to adapt to many kinds of systems.
733
734 Usage: $0 [OPTION]... [VAR=VALUE]...
735
736 To assign environment variables (e.g., CC, CFLAGS...), specify them as
737 VAR=VALUE.  See below for descriptions of some of the useful variables.
738
739 Defaults for the options are specified in brackets.
740
741 Configuration:
742   -h, --help              display this help and exit
743       --help=short        display options specific to this package
744       --help=recursive    display the short help of all the included packages
745   -V, --version           display version information and exit
746   -q, --quiet, --silent   do not print \`checking...' messages
747       --cache-file=FILE   cache test results in FILE [disabled]
748   -C, --config-cache      alias for \`--cache-file=config.cache'
749   -n, --no-create         do not create output files
750       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
751
752 _ACEOF
753
754   cat <<_ACEOF
755 Installation directories:
756   --prefix=PREFIX         install architecture-independent files in PREFIX
757                           [$ac_default_prefix]
758   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
759                           [PREFIX]
760
761 By default, \`make install' will install all the files in
762 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
763 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
764 for instance \`--prefix=\$HOME'.
765
766 For better control, use the options below.
767
768 Fine tuning of the installation directories:
769   --bindir=DIR           user executables [EPREFIX/bin]
770   --sbindir=DIR          system admin executables [EPREFIX/sbin]
771   --libexecdir=DIR       program executables [EPREFIX/libexec]
772   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
773   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
774   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
775   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
776   --libdir=DIR           object code libraries [EPREFIX/lib]
777   --includedir=DIR       C header files [PREFIX/include]
778   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
779   --infodir=DIR          info documentation [PREFIX/info]
780   --mandir=DIR           man documentation [PREFIX/man]
781 _ACEOF
782
783   cat <<\_ACEOF
784
785 Program names:
786   --program-prefix=PREFIX            prepend PREFIX to installed program names
787   --program-suffix=SUFFIX            append SUFFIX to installed program names
788   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
789
790 System types:
791   --build=BUILD     configure for building on BUILD [guessed]
792   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
793   --target=TARGET   configure for building compilers for TARGET [HOST]
794 _ACEOF
795 fi
796
797 if test -n "$ac_init_help"; then
798
799   cat <<\_ACEOF
800
801 Optional Features:
802   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
803   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
804   --enable-multilib         build many library versions (default)
805   --enable-target-optspace  optimize for space
806   --enable-malloc-debugging indicate malloc debugging requested
807   --enable-newlib-multithread        enable support for multiple threads
808   --enable-newlib-iconv     enable iconv library support
809   --enable-newlib-elix-level         supply desired elix library level (1-4)
810   --disable-newlib-io-float disable printf/scanf family float support
811   --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
812   --disable-dependency-tracking  speeds up one-time build
813   --enable-dependency-tracking   do not reject slow dependency extractors
814   --enable-maintainer-mode  enable make rules and dependencies not useful
815                           (and sometimes confusing) to the casual installer
816
817 Some influential environment variables:
818   CCAS        assembler compiler command (defaults to CC)
819   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
820
821 Use these variables to override the choices made by `configure' or to help
822 it to find libraries and programs with nonstandard names/locations.
823
824 _ACEOF
825 fi
826
827 if test "$ac_init_help" = "recursive"; then
828   # If there are subdirs, report their specific --help.
829   ac_popdir=`pwd`
830   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
831     test -d $ac_dir || continue
832     ac_builddir=.
833
834 if test "$ac_dir" != .; then
835   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
836   # A "../" for each directory in $ac_dir_suffix.
837   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
838 else
839   ac_dir_suffix= ac_top_builddir=
840 fi
841
842 case $srcdir in
843   .)  # No --srcdir option.  We are building in place.
844     ac_srcdir=.
845     if test -z "$ac_top_builddir"; then
846        ac_top_srcdir=.
847     else
848        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
849     fi ;;
850   [\\/]* | ?:[\\/]* )  # Absolute path.
851     ac_srcdir=$srcdir$ac_dir_suffix;
852     ac_top_srcdir=$srcdir ;;
853   *) # Relative path.
854     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
855     ac_top_srcdir=$ac_top_builddir$srcdir ;;
856 esac
857
858 # Do not use `cd foo && pwd` to compute absolute paths, because
859 # the directories may not exist.
860 case `pwd` in
861 .) ac_abs_builddir="$ac_dir";;
862 *)
863   case "$ac_dir" in
864   .) ac_abs_builddir=`pwd`;;
865   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
866   *) ac_abs_builddir=`pwd`/"$ac_dir";;
867   esac;;
868 esac
869 case $ac_abs_builddir in
870 .) ac_abs_top_builddir=${ac_top_builddir}.;;
871 *)
872   case ${ac_top_builddir}. in
873   .) ac_abs_top_builddir=$ac_abs_builddir;;
874   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
875   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
876   esac;;
877 esac
878 case $ac_abs_builddir in
879 .) ac_abs_srcdir=$ac_srcdir;;
880 *)
881   case $ac_srcdir in
882   .) ac_abs_srcdir=$ac_abs_builddir;;
883   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
884   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
885   esac;;
886 esac
887 case $ac_abs_builddir in
888 .) ac_abs_top_srcdir=$ac_top_srcdir;;
889 *)
890   case $ac_top_srcdir in
891   .) ac_abs_top_srcdir=$ac_abs_builddir;;
892   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
893   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
894   esac;;
895 esac
896
897     cd $ac_dir
898     # Check for guested configure; otherwise get Cygnus style configure.
899     if test -f $ac_srcdir/configure.gnu; then
900       echo
901       $SHELL $ac_srcdir/configure.gnu  --help=recursive
902     elif test -f $ac_srcdir/configure; then
903       echo
904       $SHELL $ac_srcdir/configure  --help=recursive
905     elif test -f $ac_srcdir/configure.ac ||
906            test -f $ac_srcdir/configure.in; then
907       echo
908       $ac_configure --help
909     else
910       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
911     fi
912     cd $ac_popdir
913   done
914 fi
915
916 test -n "$ac_init_help" && exit 0
917 if $ac_init_version; then
918   cat <<\_ACEOF
919
920 Copyright (C) 2003 Free Software Foundation, Inc.
921 This configure script is free software; the Free Software Foundation
922 gives unlimited permission to copy, distribute and modify it.
923 _ACEOF
924   exit 0
925 fi
926 exec 5>config.log
927 cat >&5 <<_ACEOF
928 This file contains any messages produced by compilers while
929 running configure, to aid debugging if configure makes a mistake.
930
931 It was created by $as_me, which was
932 generated by GNU Autoconf 2.59.  Invocation command line was
933
934   $ $0 $@
935
936 _ACEOF
937 {
938 cat <<_ASUNAME
939 ## --------- ##
940 ## Platform. ##
941 ## --------- ##
942
943 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
944 uname -m = `(uname -m) 2>/dev/null || echo unknown`
945 uname -r = `(uname -r) 2>/dev/null || echo unknown`
946 uname -s = `(uname -s) 2>/dev/null || echo unknown`
947 uname -v = `(uname -v) 2>/dev/null || echo unknown`
948
949 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
950 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
951
952 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
953 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
954 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
955 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
956 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
957 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
958 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
959
960 _ASUNAME
961
962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
963 for as_dir in $PATH
964 do
965   IFS=$as_save_IFS
966   test -z "$as_dir" && as_dir=.
967   echo "PATH: $as_dir"
968 done
969
970 } >&5
971
972 cat >&5 <<_ACEOF
973
974
975 ## ----------- ##
976 ## Core tests. ##
977 ## ----------- ##
978
979 _ACEOF
980
981
982 # Keep a trace of the command line.
983 # Strip out --no-create and --no-recursion so they do not pile up.
984 # Strip out --silent because we don't want to record it for future runs.
985 # Also quote any args containing shell meta-characters.
986 # Make two passes to allow for proper duplicate-argument suppression.
987 ac_configure_args=
988 ac_configure_args0=
989 ac_configure_args1=
990 ac_sep=
991 ac_must_keep_next=false
992 for ac_pass in 1 2
993 do
994   for ac_arg
995   do
996     case $ac_arg in
997     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
998     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
999     | -silent | --silent | --silen | --sile | --sil)
1000       continue ;;
1001     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1002       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1003     esac
1004     case $ac_pass in
1005     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1006     2)
1007       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1008       if test $ac_must_keep_next = true; then
1009         ac_must_keep_next=false # Got value, back to normal.
1010       else
1011         case $ac_arg in
1012           *=* | --config-cache | -C | -disable-* | --disable-* \
1013           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1014           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1015           | -with-* | --with-* | -without-* | --without-* | --x)
1016             case "$ac_configure_args0 " in
1017               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1018             esac
1019             ;;
1020           -* ) ac_must_keep_next=true ;;
1021         esac
1022       fi
1023       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1024       # Get rid of the leading space.
1025       ac_sep=" "
1026       ;;
1027     esac
1028   done
1029 done
1030 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1031 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1032
1033 # When interrupted or exit'd, cleanup temporary files, and complete
1034 # config.log.  We remove comments because anyway the quotes in there
1035 # would cause problems or look ugly.
1036 # WARNING: Be sure not to use single quotes in there, as some shells,
1037 # such as our DU 5.0 friend, will then `close' the trap.
1038 trap 'exit_status=$?
1039   # Save into config.log some information that might help in debugging.
1040   {
1041     echo
1042
1043     cat <<\_ASBOX
1044 ## ---------------- ##
1045 ## Cache variables. ##
1046 ## ---------------- ##
1047 _ASBOX
1048     echo
1049     # The following way of writing the cache mishandles newlines in values,
1050 {
1051   (set) 2>&1 |
1052     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1053     *ac_space=\ *)
1054       sed -n \
1055         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1056           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1057       ;;
1058     *)
1059       sed -n \
1060         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1061       ;;
1062     esac;
1063 }
1064     echo
1065
1066     cat <<\_ASBOX
1067 ## ----------------- ##
1068 ## Output variables. ##
1069 ## ----------------- ##
1070 _ASBOX
1071     echo
1072     for ac_var in $ac_subst_vars
1073     do
1074       eval ac_val=$`echo $ac_var`
1075       echo "$ac_var='"'"'$ac_val'"'"'"
1076     done | sort
1077     echo
1078
1079     if test -n "$ac_subst_files"; then
1080       cat <<\_ASBOX
1081 ## ------------- ##
1082 ## Output files. ##
1083 ## ------------- ##
1084 _ASBOX
1085       echo
1086       for ac_var in $ac_subst_files
1087       do
1088         eval ac_val=$`echo $ac_var`
1089         echo "$ac_var='"'"'$ac_val'"'"'"
1090       done | sort
1091       echo
1092     fi
1093
1094     if test -s confdefs.h; then
1095       cat <<\_ASBOX
1096 ## ----------- ##
1097 ## confdefs.h. ##
1098 ## ----------- ##
1099 _ASBOX
1100       echo
1101       sed "/^$/d" confdefs.h | sort
1102       echo
1103     fi
1104     test "$ac_signal" != 0 &&
1105       echo "$as_me: caught signal $ac_signal"
1106     echo "$as_me: exit $exit_status"
1107   } >&5
1108   rm -f core *.core &&
1109   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1110     exit $exit_status
1111      ' 0
1112 for ac_signal in 1 2 13 15; do
1113   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1114 done
1115 ac_signal=0
1116
1117 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1118 rm -rf conftest* confdefs.h
1119 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1120 echo >confdefs.h
1121
1122 # Predefined preprocessor variables.
1123
1124 cat >>confdefs.h <<_ACEOF
1125 #define PACKAGE_NAME "$PACKAGE_NAME"
1126 _ACEOF
1127
1128
1129 cat >>confdefs.h <<_ACEOF
1130 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1131 _ACEOF
1132
1133
1134 cat >>confdefs.h <<_ACEOF
1135 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1136 _ACEOF
1137
1138
1139 cat >>confdefs.h <<_ACEOF
1140 #define PACKAGE_STRING "$PACKAGE_STRING"
1141 _ACEOF
1142
1143
1144 cat >>confdefs.h <<_ACEOF
1145 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1146 _ACEOF
1147
1148
1149 # Let the site file select an alternate cache file if it wants to.
1150 # Prefer explicitly selected file to automatically selected ones.
1151 if test -z "$CONFIG_SITE"; then
1152   if test "x$prefix" != xNONE; then
1153     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1154   else
1155     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1156   fi
1157 fi
1158 for ac_site_file in $CONFIG_SITE; do
1159   if test -r "$ac_site_file"; then
1160     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1161 echo "$as_me: loading site script $ac_site_file" >&6;}
1162     sed 's/^/| /' "$ac_site_file" >&5
1163     . "$ac_site_file"
1164   fi
1165 done
1166
1167 if test -r "$cache_file"; then
1168   # Some versions of bash will fail to source /dev/null (special
1169   # files actually), so we avoid doing that.
1170   if test -f "$cache_file"; then
1171     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1172 echo "$as_me: loading cache $cache_file" >&6;}
1173     case $cache_file in
1174       [\\/]* | ?:[\\/]* ) . $cache_file;;
1175       *)                      . ./$cache_file;;
1176     esac
1177   fi
1178 else
1179   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1180 echo "$as_me: creating cache $cache_file" >&6;}
1181   >$cache_file
1182 fi
1183
1184 # Check that the precious variables saved in the cache have kept the same
1185 # value.
1186 ac_cache_corrupted=false
1187 for ac_var in `(set) 2>&1 |
1188                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1189   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1190   eval ac_new_set=\$ac_env_${ac_var}_set
1191   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1192   eval ac_new_val="\$ac_env_${ac_var}_value"
1193   case $ac_old_set,$ac_new_set in
1194     set,)
1195       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1196 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1197       ac_cache_corrupted=: ;;
1198     ,set)
1199       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1200 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1201       ac_cache_corrupted=: ;;
1202     ,);;
1203     *)
1204       if test "x$ac_old_val" != "x$ac_new_val"; then
1205         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1206 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1207         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1208 echo "$as_me:   former value:  $ac_old_val" >&2;}
1209         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1210 echo "$as_me:   current value: $ac_new_val" >&2;}
1211         ac_cache_corrupted=:
1212       fi;;
1213   esac
1214   # Pass precious variables to config.status.
1215   if test "$ac_new_set" = set; then
1216     case $ac_new_val in
1217     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1218       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1219     *) ac_arg=$ac_var=$ac_new_val ;;
1220     esac
1221     case " $ac_configure_args " in
1222       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1223       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1224     esac
1225   fi
1226 done
1227 if $ac_cache_corrupted; then
1228   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1229 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1230   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1231 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1232    { (exit 1); exit 1; }; }
1233 fi
1234
1235 ac_ext=c
1236 ac_cpp='$CPP $CPPFLAGS'
1237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260 ac_aux_dir=
1261 for ac_dir in ../../../.. $srcdir/../../../..; do
1262   if test -f $ac_dir/install-sh; then
1263     ac_aux_dir=$ac_dir
1264     ac_install_sh="$ac_aux_dir/install-sh -c"
1265     break
1266   elif test -f $ac_dir/install.sh; then
1267     ac_aux_dir=$ac_dir
1268     ac_install_sh="$ac_aux_dir/install.sh -c"
1269     break
1270   elif test -f $ac_dir/shtool; then
1271     ac_aux_dir=$ac_dir
1272     ac_install_sh="$ac_aux_dir/shtool install -c"
1273     break
1274   fi
1275 done
1276 if test -z "$ac_aux_dir"; then
1277   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../.. $srcdir/../../../.." >&5
1278 echo "$as_me: error: cannot find install-sh or install.sh in ../../../.. $srcdir/../../../.." >&2;}
1279    { (exit 1); exit 1; }; }
1280 fi
1281 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1282 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1283 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1284
1285
1286 # Make sure we can run config.sub.
1287 $ac_config_sub sun4 >/dev/null 2>&1 ||
1288   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1289 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1290    { (exit 1); exit 1; }; }
1291
1292 echo "$as_me:$LINENO: checking build system type" >&5
1293 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1294 if test "${ac_cv_build+set}" = set; then
1295   echo $ECHO_N "(cached) $ECHO_C" >&6
1296 else
1297   ac_cv_build_alias=$build_alias
1298 test -z "$ac_cv_build_alias" &&
1299   ac_cv_build_alias=`$ac_config_guess`
1300 test -z "$ac_cv_build_alias" &&
1301   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1302 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1303    { (exit 1); exit 1; }; }
1304 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1305   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1306 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1307    { (exit 1); exit 1; }; }
1308
1309 fi
1310 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1311 echo "${ECHO_T}$ac_cv_build" >&6
1312 build=$ac_cv_build
1313 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1314 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1315 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1316
1317
1318 echo "$as_me:$LINENO: checking host system type" >&5
1319 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1320 if test "${ac_cv_host+set}" = set; then
1321   echo $ECHO_N "(cached) $ECHO_C" >&6
1322 else
1323   ac_cv_host_alias=$host_alias
1324 test -z "$ac_cv_host_alias" &&
1325   ac_cv_host_alias=$ac_cv_build_alias
1326 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1327   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1328 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1329    { (exit 1); exit 1; }; }
1330
1331 fi
1332 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1333 echo "${ECHO_T}$ac_cv_host" >&6
1334 host=$ac_cv_host
1335 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1336 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1337 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1338
1339
1340 am__api_version="1.9"
1341 # Find a good install program.  We prefer a C program (faster),
1342 # so one script is as good as another.  But avoid the broken or
1343 # incompatible versions:
1344 # SysV /etc/install, /usr/sbin/install
1345 # SunOS /usr/etc/install
1346 # IRIX /sbin/install
1347 # AIX /bin/install
1348 # AmigaOS /C/install, which installs bootblocks on floppy discs
1349 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1350 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1351 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1352 # OS/2's system install, which has a completely different semantic
1353 # ./install, which can be erroneously created by make from ./install.sh.
1354 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1355 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1356 if test -z "$INSTALL"; then
1357 if test "${ac_cv_path_install+set}" = set; then
1358   echo $ECHO_N "(cached) $ECHO_C" >&6
1359 else
1360   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1361 for as_dir in $PATH
1362 do
1363   IFS=$as_save_IFS
1364   test -z "$as_dir" && as_dir=.
1365   # Account for people who put trailing slashes in PATH elements.
1366 case $as_dir/ in
1367   ./ | .// | /cC/* | \
1368   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1369   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1370   /usr/ucb/* ) ;;
1371   *)
1372     # OSF1 and SCO ODT 3.0 have their own names for install.
1373     # Don't use installbsd from OSF since it installs stuff as root
1374     # by default.
1375     for ac_prog in ginstall scoinst install; do
1376       for ac_exec_ext in '' $ac_executable_extensions; do
1377         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1378           if test $ac_prog = install &&
1379             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1380             # AIX install.  It has an incompatible calling convention.
1381             :
1382           elif test $ac_prog = install &&
1383             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1384             # program-specific install script used by HP pwplus--don't use.
1385             :
1386           else
1387             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1388             break 3
1389           fi
1390         fi
1391       done
1392     done
1393     ;;
1394 esac
1395 done
1396
1397
1398 fi
1399   if test "${ac_cv_path_install+set}" = set; then
1400     INSTALL=$ac_cv_path_install
1401   else
1402     # As a last resort, use the slow shell script.  We don't cache a
1403     # path for INSTALL within a source directory, because that will
1404     # break other packages using the cache if that directory is
1405     # removed, or if the path is relative.
1406     INSTALL=$ac_install_sh
1407   fi
1408 fi
1409 echo "$as_me:$LINENO: result: $INSTALL" >&5
1410 echo "${ECHO_T}$INSTALL" >&6
1411
1412 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1413 # It thinks the first close brace ends the variable substitution.
1414 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1415
1416 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1417
1418 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1419
1420 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1421 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1422 # Just in case
1423 sleep 1
1424 echo timestamp > conftest.file
1425 # Do `set' in a subshell so we don't clobber the current shell's
1426 # arguments.  Must try -L first in case configure is actually a
1427 # symlink; some systems play weird games with the mod time of symlinks
1428 # (eg FreeBSD returns the mod time of the symlink's containing
1429 # directory).
1430 if (
1431    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1432    if test "$*" = "X"; then
1433       # -L didn't work.
1434       set X `ls -t $srcdir/configure conftest.file`
1435    fi
1436    rm -f conftest.file
1437    if test "$*" != "X $srcdir/configure conftest.file" \
1438       && test "$*" != "X conftest.file $srcdir/configure"; then
1439
1440       # If neither matched, then we have a broken ls.  This can happen
1441       # if, for instance, CONFIG_SHELL is bash and it inherits a
1442       # broken ls alias from the environment.  This has actually
1443       # happened.  Such a system could not be considered "sane".
1444       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1445 alias in your environment" >&5
1446 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1447 alias in your environment" >&2;}
1448    { (exit 1); exit 1; }; }
1449    fi
1450
1451    test "$2" = conftest.file
1452    )
1453 then
1454    # Ok.
1455    :
1456 else
1457    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1458 Check your system clock" >&5
1459 echo "$as_me: error: newly created file is older than distributed files!
1460 Check your system clock" >&2;}
1461    { (exit 1); exit 1; }; }
1462 fi
1463 echo "$as_me:$LINENO: result: yes" >&5
1464 echo "${ECHO_T}yes" >&6
1465 test "$program_prefix" != NONE &&
1466   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1467 # Use a double $ so make ignores it.
1468 test "$program_suffix" != NONE &&
1469   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1470 # Double any \ or $.  echo might interpret backslashes.
1471 # By default was `s,x,x', remove it if useless.
1472 cat <<\_ACEOF >conftest.sed
1473 s/[\\$]/&&/g;s/;s,x,x,$//
1474 _ACEOF
1475 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1476 rm conftest.sed
1477
1478 # expand $ac_aux_dir to an absolute path
1479 am_aux_dir=`cd $ac_aux_dir && pwd`
1480
1481 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1482 # Use eval to expand $SHELL
1483 if eval "$MISSING --run true"; then
1484   am_missing_run="$MISSING --run "
1485 else
1486   am_missing_run=
1487   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1488 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1489 fi
1490
1491 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1492   # We used to keeping the `.' as first argument, in order to
1493   # allow $(mkdir_p) to be used without argument.  As in
1494   #   $(mkdir_p) $(somedir)
1495   # where $(somedir) is conditionally defined.  However this is wrong
1496   # for two reasons:
1497   #  1. if the package is installed by a user who cannot write `.'
1498   #     make install will fail,
1499   #  2. the above comment should most certainly read
1500   #     $(mkdir_p) $(DESTDIR)$(somedir)
1501   #     so it does not work when $(somedir) is undefined and
1502   #     $(DESTDIR) is not.
1503   #  To support the latter case, we have to write
1504   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1505   #  so the `.' trick is pointless.
1506   mkdir_p='mkdir -p --'
1507 else
1508   # On NextStep and OpenStep, the `mkdir' command does not
1509   # recognize any option.  It will interpret all options as
1510   # directories to create, and then abort because `.' already
1511   # exists.
1512   for d in ./-p ./--version;
1513   do
1514     test -d $d && rmdir $d
1515   done
1516   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1517   if test -f "$ac_aux_dir/mkinstalldirs"; then
1518     mkdir_p='$(mkinstalldirs)'
1519   else
1520     mkdir_p='$(install_sh) -d'
1521   fi
1522 fi
1523
1524 for ac_prog in gawk mawk nawk awk
1525 do
1526   # Extract the first word of "$ac_prog", so it can be a program name with args.
1527 set dummy $ac_prog; ac_word=$2
1528 echo "$as_me:$LINENO: checking for $ac_word" >&5
1529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1530 if test "${ac_cv_prog_AWK+set}" = set; then
1531   echo $ECHO_N "(cached) $ECHO_C" >&6
1532 else
1533   if test -n "$AWK"; then
1534   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1535 else
1536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1537 for as_dir in $PATH
1538 do
1539   IFS=$as_save_IFS
1540   test -z "$as_dir" && as_dir=.
1541   for ac_exec_ext in '' $ac_executable_extensions; do
1542   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1543     ac_cv_prog_AWK="$ac_prog"
1544     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1545     break 2
1546   fi
1547 done
1548 done
1549
1550 fi
1551 fi
1552 AWK=$ac_cv_prog_AWK
1553 if test -n "$AWK"; then
1554   echo "$as_me:$LINENO: result: $AWK" >&5
1555 echo "${ECHO_T}$AWK" >&6
1556 else
1557   echo "$as_me:$LINENO: result: no" >&5
1558 echo "${ECHO_T}no" >&6
1559 fi
1560
1561   test -n "$AWK" && break
1562 done
1563
1564 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1565 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1566 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1567 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1568   echo $ECHO_N "(cached) $ECHO_C" >&6
1569 else
1570   cat >conftest.make <<\_ACEOF
1571 all:
1572         @echo 'ac_maketemp="$(MAKE)"'
1573 _ACEOF
1574 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1575 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1576 if test -n "$ac_maketemp"; then
1577   eval ac_cv_prog_make_${ac_make}_set=yes
1578 else
1579   eval ac_cv_prog_make_${ac_make}_set=no
1580 fi
1581 rm -f conftest.make
1582 fi
1583 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1584   echo "$as_me:$LINENO: result: yes" >&5
1585 echo "${ECHO_T}yes" >&6
1586   SET_MAKE=
1587 else
1588   echo "$as_me:$LINENO: result: no" >&5
1589 echo "${ECHO_T}no" >&6
1590   SET_MAKE="MAKE=${MAKE-make}"
1591 fi
1592
1593 rm -rf .tst 2>/dev/null
1594 mkdir .tst 2>/dev/null
1595 if test -d .tst; then
1596   am__leading_dot=.
1597 else
1598   am__leading_dot=_
1599 fi
1600 rmdir .tst 2>/dev/null
1601
1602 DEPDIR="${am__leading_dot}deps"
1603
1604           ac_config_commands="$ac_config_commands depfiles"
1605
1606
1607 am_make=${MAKE-make}
1608 cat > confinc << 'END'
1609 am__doit:
1610         @echo done
1611 .PHONY: am__doit
1612 END
1613 # If we don't find an include directive, just comment out the code.
1614 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1615 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1616 am__include="#"
1617 am__quote=
1618 _am_result=none
1619 # First try GNU make style include.
1620 echo "include confinc" > confmf
1621 # We grep out `Entering directory' and `Leaving directory'
1622 # messages which can occur if `w' ends up in MAKEFLAGS.
1623 # In particular we don't look at `^make:' because GNU make might
1624 # be invoked under some other name (usually "gmake"), in which
1625 # case it prints its new name instead of `make'.
1626 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1627    am__include=include
1628    am__quote=
1629    _am_result=GNU
1630 fi
1631 # Now try BSD make style include.
1632 if test "$am__include" = "#"; then
1633    echo '.include "confinc"' > confmf
1634    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1635       am__include=.include
1636       am__quote="\""
1637       _am_result=BSD
1638    fi
1639 fi
1640
1641
1642 echo "$as_me:$LINENO: result: $_am_result" >&5
1643 echo "${ECHO_T}$_am_result" >&6
1644 rm -f confinc confmf
1645
1646 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1647 if test "${enable_dependency_tracking+set}" = set; then
1648   enableval="$enable_dependency_tracking"
1649
1650 fi;
1651 if test "x$enable_dependency_tracking" != xno; then
1652   am_depcomp="$ac_aux_dir/depcomp"
1653   AMDEPBACKSLASH='\'
1654 fi
1655
1656
1657 if test "x$enable_dependency_tracking" != xno; then
1658   AMDEP_TRUE=
1659   AMDEP_FALSE='#'
1660 else
1661   AMDEP_TRUE='#'
1662   AMDEP_FALSE=
1663 fi
1664
1665
1666
1667
1668 # Check whether --enable-multilib or --disable-multilib was given.
1669 if test "${enable_multilib+set}" = set; then
1670   enableval="$enable_multilib"
1671   case "${enableval}" in
1672   yes) multilib=yes ;;
1673   no)  multilib=no ;;
1674   *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
1675 echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
1676    { (exit 1); exit 1; }; } ;;
1677  esac
1678 else
1679   multilib=yes
1680 fi;
1681 # Check whether --enable-target-optspace or --disable-target-optspace was given.
1682 if test "${enable_target_optspace+set}" = set; then
1683   enableval="$enable_target_optspace"
1684   case "${enableval}" in
1685   yes) target_optspace=yes ;;
1686   no)  target_optspace=no ;;
1687   *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for target-optspace option" >&5
1688 echo "$as_me: error: bad value ${enableval} for target-optspace option" >&2;}
1689    { (exit 1); exit 1; }; } ;;
1690  esac
1691 else
1692   target_optspace=
1693 fi;
1694 # Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
1695 if test "${enable_malloc_debugging+set}" = set; then
1696   enableval="$enable_malloc_debugging"
1697   case "${enableval}" in
1698   yes) malloc_debugging=yes ;;
1699   no)  malloc_debugging=no ;;
1700   *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for malloc-debugging option" >&5
1701 echo "$as_me: error: bad value ${enableval} for malloc-debugging option" >&2;}
1702    { (exit 1); exit 1; }; } ;;
1703  esac
1704 else
1705   malloc_debugging=
1706 fi;
1707 # Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
1708 if test "${enable_newlib_multithread+set}" = set; then
1709   enableval="$enable_newlib_multithread"
1710   case "${enableval}" in
1711   yes) newlib_multithread=yes ;;
1712   no)  newlib_multithread=no ;;
1713   *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-multithread option" >&5
1714 echo "$as_me: error: bad value ${enableval} for newlib-multithread option" >&2;}
1715    { (exit 1); exit 1; }; } ;;
1716  esac
1717 else
1718   newlib_multithread=yes
1719 fi;
1720 # Check whether --enable-newlib-iconv or --disable-newlib-iconv was given.
1721 if test "${enable_newlib_iconv+set}" = set; then
1722   enableval="$enable_newlib_iconv"
1723   if test "${newlib_iconv+set}" != set; then
1724    case "${enableval}" in
1725      yes) newlib_iconv=yes ;;
1726      no)  newlib_iconv=no ;;
1727      *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-iconv option" >&5
1728 echo "$as_me: error: bad value ${enableval} for newlib-iconv option" >&2;}
1729    { (exit 1); exit 1; }; } ;;
1730    esac
1731  fi
1732 else
1733   newlib_iconv=${newlib_iconv}
1734 fi;
1735 # Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given.
1736 if test "${enable_newlib_elix_level+set}" = set; then
1737   enableval="$enable_newlib_elix_level"
1738   case "${enableval}" in
1739   0)   newlib_elix_level=0 ;;
1740   1)   newlib_elix_level=1 ;;
1741   2)   newlib_elix_level=2 ;;
1742   3)   newlib_elix_level=3 ;;
1743   4)   newlib_elix_level=4 ;;
1744   *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-elix-level option" >&5
1745 echo "$as_me: error: bad value ${enableval} for newlib-elix-level option" >&2;}
1746    { (exit 1); exit 1; }; } ;;
1747  esac
1748 else
1749   newlib_elix_level=0
1750 fi;
1751 # Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
1752 if test "${enable_newlib_io_float+set}" = set; then
1753   enableval="$enable_newlib_io_float"
1754   case "${enableval}" in
1755   yes) newlib_io_float=yes ;;
1756   no)  newlib_io_float=no ;;
1757   *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-io-float option" >&5
1758 echo "$as_me: error: bad value ${enableval} for newlib-io-float option" >&2;}
1759    { (exit 1); exit 1; }; } ;;
1760  esac
1761 else
1762   newlib_io_float=yes
1763 fi;
1764 # Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given.
1765 if test "${enable_newlib_supplied_syscalls+set}" = set; then
1766   enableval="$enable_newlib_supplied_syscalls"
1767   case "${enableval}" in
1768   yes) newlib_may_supply_syscalls=yes ;;
1769   no)  newlib_may_supply_syscalls=no ;;
1770   *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
1771 echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
1772    { (exit 1); exit 1; }; } ;;
1773  esac
1774 else
1775   newlib_may_supply_syscalls=yes
1776 fi;
1777
1778
1779 if test x${newlib_may_supply_syscalls} = xyes; then
1780   MAY_SUPPLY_SYSCALLS_TRUE=
1781   MAY_SUPPLY_SYSCALLS_FALSE='#'
1782 else
1783   MAY_SUPPLY_SYSCALLS_TRUE='#'
1784   MAY_SUPPLY_SYSCALLS_FALSE=
1785 fi
1786
1787
1788
1789 test -z "${with_target_subdir}" && with_target_subdir=.
1790
1791 if test "${srcdir}" = "."; then
1792   if test "${with_target_subdir}" != "."; then
1793     newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
1794   else
1795     newlib_basedir="${srcdir}/${with_multisrctop}../../.."
1796   fi
1797 else
1798   newlib_basedir="${srcdir}/../../.."
1799 fi
1800
1801
1802 echo "$as_me:$LINENO: checking target system type" >&5
1803 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1804 if test "${ac_cv_target+set}" = set; then
1805   echo $ECHO_N "(cached) $ECHO_C" >&6
1806 else
1807   ac_cv_target_alias=$target_alias
1808 test "x$ac_cv_target_alias" = "x" &&
1809   ac_cv_target_alias=$ac_cv_host_alias
1810 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1811   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1812 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1813    { (exit 1); exit 1; }; }
1814
1815 fi
1816 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1817 echo "${ECHO_T}$ac_cv_target" >&6
1818 target=$ac_cv_target
1819 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1820 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1821 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1822
1823
1824 # The aliases save the names the user supplied, while $host etc.
1825 # will get canonicalized.
1826 test -n "$target_alias" &&
1827   test "$program_prefix$program_suffix$program_transform_name" = \
1828     NONENONEs,x,x, &&
1829   program_prefix=${target_alias}-
1830
1831 # test to see if srcdir already configured
1832 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1833    test -f $srcdir/config.status; then
1834   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1835 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1836    { (exit 1); exit 1; }; }
1837 fi
1838
1839 # test whether we have cygpath
1840 if test -z "$CYGPATH_W"; then
1841   if (cygpath --version) >/dev/null 2>/dev/null; then
1842     CYGPATH_W='cygpath -w'
1843   else
1844     CYGPATH_W=echo
1845   fi
1846 fi
1847
1848
1849 # Define the identity of the package.
1850  PACKAGE=newlib
1851  VERSION=1.14.0
1852
1853
1854 # Some tools Automake needs.
1855
1856 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1857
1858
1859 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1860
1861
1862 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1863
1864
1865 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1866
1867
1868 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1869
1870 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1871
1872 # Installed binaries are usually stripped using `strip' when the user
1873 # run `make install-strip'.  However `strip' might not be the right
1874 # tool to use in cross-compilation environments, therefore Automake
1875 # will honor the `STRIP' environment variable to overrule this program.
1876 if test "$cross_compiling" != no; then
1877   if test -n "$ac_tool_prefix"; then
1878   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1879 set dummy ${ac_tool_prefix}strip; ac_word=$2
1880 echo "$as_me:$LINENO: checking for $ac_word" >&5
1881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1882 if test "${ac_cv_prog_STRIP+set}" = set; then
1883   echo $ECHO_N "(cached) $ECHO_C" >&6
1884 else
1885   if test -n "$STRIP"; then
1886   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1887 else
1888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889 for as_dir in $PATH
1890 do
1891   IFS=$as_save_IFS
1892   test -z "$as_dir" && as_dir=.
1893   for ac_exec_ext in '' $ac_executable_extensions; do
1894   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1895     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1896     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897     break 2
1898   fi
1899 done
1900 done
1901
1902 fi
1903 fi
1904 STRIP=$ac_cv_prog_STRIP
1905 if test -n "$STRIP"; then
1906   echo "$as_me:$LINENO: result: $STRIP" >&5
1907 echo "${ECHO_T}$STRIP" >&6
1908 else
1909   echo "$as_me:$LINENO: result: no" >&5
1910 echo "${ECHO_T}no" >&6
1911 fi
1912
1913 fi
1914 if test -z "$ac_cv_prog_STRIP"; then
1915   ac_ct_STRIP=$STRIP
1916   # Extract the first word of "strip", so it can be a program name with args.
1917 set dummy strip; ac_word=$2
1918 echo "$as_me:$LINENO: checking for $ac_word" >&5
1919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1920 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1921   echo $ECHO_N "(cached) $ECHO_C" >&6
1922 else
1923   if test -n "$ac_ct_STRIP"; then
1924   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1925 else
1926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1927 for as_dir in $PATH
1928 do
1929   IFS=$as_save_IFS
1930   test -z "$as_dir" && as_dir=.
1931   for ac_exec_ext in '' $ac_executable_extensions; do
1932   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1933     ac_cv_prog_ac_ct_STRIP="strip"
1934     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1935     break 2
1936   fi
1937 done
1938 done
1939
1940   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1941 fi
1942 fi
1943 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1944 if test -n "$ac_ct_STRIP"; then
1945   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1946 echo "${ECHO_T}$ac_ct_STRIP" >&6
1947 else
1948   echo "$as_me:$LINENO: result: no" >&5
1949 echo "${ECHO_T}no" >&6
1950 fi
1951
1952   STRIP=$ac_ct_STRIP
1953 else
1954   STRIP="$ac_cv_prog_STRIP"
1955 fi
1956
1957 fi
1958 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1959
1960 # We need awk for the "check" target.  The system "awk" is bad on
1961 # some platforms.
1962 # Always define AMTAR for backward compatibility.
1963
1964 AMTAR=${AMTAR-"${am_missing_run}tar"}
1965
1966 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1967
1968
1969
1970
1971
1972
1973 # FIXME: We temporarily define our own version of AC_PROG_CC.  This is
1974 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
1975 # are probably using a cross compiler, which will not be able to fully
1976 # link an executable.  This should really be fixed in autoconf
1977 # itself.
1978
1979
1980
1981
1982
1983
1984
1985 # Extract the first word of "gcc", so it can be a program name with args.
1986 set dummy gcc; ac_word=$2
1987 echo "$as_me:$LINENO: checking for $ac_word" >&5
1988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1989 if test "${ac_cv_prog_CC+set}" = set; then
1990   echo $ECHO_N "(cached) $ECHO_C" >&6
1991 else
1992   if test -n "$CC"; then
1993   ac_cv_prog_CC="$CC" # Let the user override the test.
1994 else
1995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1996 for as_dir in $PATH
1997 do
1998   IFS=$as_save_IFS
1999   test -z "$as_dir" && as_dir=.
2000   for ac_exec_ext in '' $ac_executable_extensions; do
2001   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2002     ac_cv_prog_CC="gcc"
2003     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2004     break 2
2005   fi
2006 done
2007 done
2008
2009 fi
2010 fi
2011 CC=$ac_cv_prog_CC
2012 if test -n "$CC"; then
2013   echo "$as_me:$LINENO: result: $CC" >&5
2014 echo "${ECHO_T}$CC" >&6
2015 else
2016   echo "$as_me:$LINENO: result: no" >&5
2017 echo "${ECHO_T}no" >&6
2018 fi
2019
2020
2021 depcc="$CC"   am_compiler_list=
2022
2023 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2024 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2025 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2026   echo $ECHO_N "(cached) $ECHO_C" >&6
2027 else
2028   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2029   # We make a subdir and do the tests there.  Otherwise we can end up
2030   # making bogus files that we don't know about and never remove.  For
2031   # instance it was reported that on HP-UX the gcc test will end up
2032   # making a dummy file named `D' -- because `-MD' means `put the output
2033   # in D'.
2034   mkdir conftest.dir
2035   # Copy depcomp to subdir because otherwise we won't find it if we're
2036   # using a relative directory.
2037   cp "$am_depcomp" conftest.dir
2038   cd conftest.dir
2039   # We will build objects and dependencies in a subdirectory because
2040   # it helps to detect inapplicable dependency modes.  For instance
2041   # both Tru64's cc and ICC support -MD to output dependencies as a
2042   # side effect of compilation, but ICC will put the dependencies in
2043   # the current directory while Tru64 will put them in the object
2044   # directory.
2045   mkdir sub
2046
2047   am_cv_CC_dependencies_compiler_type=none
2048   if test "$am_compiler_list" = ""; then
2049      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2050   fi
2051   for depmode in $am_compiler_list; do
2052     # Setup a source with many dependencies, because some compilers
2053     # like to wrap large dependency lists on column 80 (with \), and
2054     # we should not choose a depcomp mode which is confused by this.
2055     #
2056     # We need to recreate these files for each test, as the compiler may
2057     # overwrite some of them when testing with obscure command lines.
2058     # This happens at least with the AIX C compiler.
2059     : > sub/conftest.c
2060     for i in 1 2 3 4 5 6; do
2061       echo '#include "conftst'$i'.h"' >> sub/conftest.c
2062       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2063       # Solaris 8's {/usr,}/bin/sh.
2064       touch sub/conftst$i.h
2065     done
2066     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2067
2068     case $depmode in
2069     nosideeffect)
2070       # after this tag, mechanisms are not by side-effect, so they'll
2071       # only be used when explicitly requested
2072       if test "x$enable_dependency_tracking" = xyes; then
2073         continue
2074       else
2075         break
2076       fi
2077       ;;
2078     none) break ;;
2079     esac
2080     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2081     # mode.  It turns out that the SunPro C++ compiler does not properly
2082     # handle `-M -o', and we need to detect this.
2083     if depmode=$depmode \
2084        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2085        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2086        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2087          >/dev/null 2>conftest.err &&
2088        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2089        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2090        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2091       # icc doesn't choke on unknown options, it will just issue warnings
2092       # or remarks (even with -Werror).  So we grep stderr for any message
2093       # that says an option was ignored or not supported.
2094       # When given -MP, icc 7.0 and 7.1 complain thusly:
2095       #   icc: Command line warning: ignoring option '-M'; no argument required
2096       # The diagnosis changed in icc 8.0:
2097       #   icc: Command line remark: option '-MP' not supported
2098       if (grep 'ignoring option' conftest.err ||
2099           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2100         am_cv_CC_dependencies_compiler_type=$depmode
2101         break
2102       fi
2103     fi
2104   done
2105
2106   cd ..
2107   rm -rf conftest.dir
2108 else
2109   am_cv_CC_dependencies_compiler_type=none
2110 fi
2111
2112 fi
2113 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2114 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2115 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2116
2117
2118
2119 if
2120   test "x$enable_dependency_tracking" != xno \
2121   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2122   am__fastdepCC_TRUE=
2123   am__fastdepCC_FALSE='#'
2124 else
2125   am__fastdepCC_TRUE='#'
2126   am__fastdepCC_FALSE=
2127 fi
2128
2129
2130 if test -z "$CC"; then
2131   # Extract the first word of "cc", so it can be a program name with args.
2132 set dummy cc; ac_word=$2
2133 echo "$as_me:$LINENO: checking for $ac_word" >&5
2134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2135 if test "${ac_cv_prog_CC+set}" = set; then
2136   echo $ECHO_N "(cached) $ECHO_C" >&6
2137 else
2138   if test -n "$CC"; then
2139   ac_cv_prog_CC="$CC" # Let the user override the test.
2140 else
2141   ac_prog_rejected=no
2142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143 for as_dir in $PATH
2144 do
2145   IFS=$as_save_IFS
2146   test -z "$as_dir" && as_dir=.
2147   for ac_exec_ext in '' $ac_executable_extensions; do
2148   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2149     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2150        ac_prog_rejected=yes
2151        continue
2152      fi
2153     ac_cv_prog_CC="cc"
2154     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2155     break 2
2156   fi
2157 done
2158 done
2159
2160 if test $ac_prog_rejected = yes; then
2161   # We found a bogon in the path, so make sure we never use it.
2162   set dummy $ac_cv_prog_CC
2163   shift
2164   if test $# != 0; then
2165     # We chose a different compiler from the bogus one.
2166     # However, it has the same basename, so the bogon will be chosen
2167     # first if we set CC to just the basename; use the full file name.
2168     shift
2169     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2170   fi
2171 fi
2172 fi
2173 fi
2174 CC=$ac_cv_prog_CC
2175 if test -n "$CC"; then
2176   echo "$as_me:$LINENO: result: $CC" >&5
2177 echo "${ECHO_T}$CC" >&6
2178 else
2179   echo "$as_me:$LINENO: result: no" >&5
2180 echo "${ECHO_T}no" >&6
2181 fi
2182
2183   test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2184 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2185    { (exit 1); exit 1; }; }
2186 fi
2187
2188 echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2189 echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
2190 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2191   echo $ECHO_N "(cached) $ECHO_C" >&6
2192 else
2193   cat > conftest.c <<EOF
2194 #ifdef __GNUC__
2195   yes;
2196 #endif
2197 EOF
2198 if { ac_try='${CC-cc} -E conftest.c'
2199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2200   (eval $ac_try) 2>&5
2201   ac_status=$?
2202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203   (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2204   ac_cv_c_compiler_gnu=yes
2205 else
2206   ac_cv_c_compiler_gnu=no
2207 fi
2208 fi
2209 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2210 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2211
2212 if test $ac_cv_c_compiler_gnu = yes; then
2213   GCC=yes
2214   ac_test_CFLAGS="${CFLAGS+set}"
2215   ac_save_CFLAGS="$CFLAGS"
2216   CFLAGS=
2217   ac_test_CFLAGS=${CFLAGS+set}
2218 ac_save_CFLAGS=$CFLAGS
2219 CFLAGS="-g"
2220 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2221 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2222 if test "${ac_cv_prog_cc_g+set}" = set; then
2223   echo $ECHO_N "(cached) $ECHO_C" >&6
2224 else
2225   cat >conftest.$ac_ext <<_ACEOF
2226 /* confdefs.h.  */
2227 _ACEOF
2228 cat confdefs.h >>conftest.$ac_ext
2229 cat >>conftest.$ac_ext <<_ACEOF
2230 /* end confdefs.h.  */
2231
2232 int
2233 main ()
2234 {
2235
2236   ;
2237   return 0;
2238 }
2239 _ACEOF
2240 rm -f conftest.$ac_objext
2241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2242   (eval $ac_compile) 2>conftest.er1
2243   ac_status=$?
2244   grep -v '^ *+' conftest.er1 >conftest.err
2245   rm -f conftest.er1
2246   cat conftest.err >&5
2247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2248   (exit $ac_status); } &&
2249          { ac_try='test -z "$ac_c_werror_flag"
2250                          || test ! -s conftest.err'
2251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2252   (eval $ac_try) 2>&5
2253   ac_status=$?
2254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2255   (exit $ac_status); }; } &&
2256          { ac_try='test -s conftest.$ac_objext'
2257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2258   (eval $ac_try) 2>&5
2259   ac_status=$?
2260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261   (exit $ac_status); }; }; then
2262   ac_cv_prog_cc_g=yes
2263 else
2264   echo "$as_me: failed program was:" >&5
2265 sed 's/^/| /' conftest.$ac_ext >&5
2266
2267 ac_cv_prog_cc_g=no
2268 fi
2269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2270 fi
2271 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2272 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2273 if test "$ac_test_CFLAGS" = set; then
2274   CFLAGS=$ac_save_CFLAGS
2275 elif test $ac_cv_prog_cc_g = yes; then
2276   if test "$GCC" = yes; then
2277     CFLAGS="-g -O2"
2278   else
2279     CFLAGS="-g"
2280   fi
2281 else
2282   if test "$GCC" = yes; then
2283     CFLAGS="-O2"
2284   else
2285     CFLAGS=
2286   fi
2287 fi
2288   if test "$ac_test_CFLAGS" = set; then
2289     CFLAGS="$ac_save_CFLAGS"
2290   elif test $ac_cv_prog_cc_g = yes; then
2291     CFLAGS="-g -O2"
2292   else
2293     CFLAGS="-O2"
2294   fi
2295 else
2296   GCC=
2297   test "${CFLAGS+set}" = set || CFLAGS="-g"
2298 fi
2299
2300
2301 if test -n "$ac_tool_prefix"; then
2302   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2303 set dummy ${ac_tool_prefix}as; ac_word=$2
2304 echo "$as_me:$LINENO: checking for $ac_word" >&5
2305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2306 if test "${ac_cv_prog_AS+set}" = set; then
2307   echo $ECHO_N "(cached) $ECHO_C" >&6
2308 else
2309   if test -n "$AS"; then
2310   ac_cv_prog_AS="$AS" # Let the user override the test.
2311 else
2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2313 for as_dir in $PATH
2314 do
2315   IFS=$as_save_IFS
2316   test -z "$as_dir" && as_dir=.
2317   for ac_exec_ext in '' $ac_executable_extensions; do
2318   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2319     ac_cv_prog_AS="${ac_tool_prefix}as"
2320     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2321     break 2
2322   fi
2323 done
2324 done
2325
2326 fi
2327 fi
2328 AS=$ac_cv_prog_AS
2329 if test -n "$AS"; then
2330   echo "$as_me:$LINENO: result: $AS" >&5
2331 echo "${ECHO_T}$AS" >&6
2332 else
2333   echo "$as_me:$LINENO: result: no" >&5
2334 echo "${ECHO_T}no" >&6
2335 fi
2336
2337 fi
2338 if test -z "$ac_cv_prog_AS"; then
2339   ac_ct_AS=$AS
2340   # Extract the first word of "as", so it can be a program name with args.
2341 set dummy as; ac_word=$2
2342 echo "$as_me:$LINENO: checking for $ac_word" >&5
2343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2344 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
2345   echo $ECHO_N "(cached) $ECHO_C" >&6
2346 else
2347   if test -n "$ac_ct_AS"; then
2348   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2349 else
2350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351 for as_dir in $PATH
2352 do
2353   IFS=$as_save_IFS
2354   test -z "$as_dir" && as_dir=.
2355   for ac_exec_ext in '' $ac_executable_extensions; do
2356   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2357     ac_cv_prog_ac_ct_AS="as"
2358     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2359     break 2
2360   fi
2361 done
2362 done
2363
2364 fi
2365 fi
2366 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2367 if test -n "$ac_ct_AS"; then
2368   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
2369 echo "${ECHO_T}$ac_ct_AS" >&6
2370 else
2371   echo "$as_me:$LINENO: result: no" >&5
2372 echo "${ECHO_T}no" >&6
2373 fi
2374
2375   AS=$ac_ct_AS
2376 else
2377   AS="$ac_cv_prog_AS"
2378 fi
2379
2380 if test -n "$ac_tool_prefix"; then
2381   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2382 set dummy ${ac_tool_prefix}ar; ac_word=$2
2383 echo "$as_me:$LINENO: checking for $ac_word" >&5
2384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2385 if test "${ac_cv_prog_AR+set}" = set; then
2386   echo $ECHO_N "(cached) $ECHO_C" >&6
2387 else
2388   if test -n "$AR"; then
2389   ac_cv_prog_AR="$AR" # Let the user override the test.
2390 else
2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392 for as_dir in $PATH
2393 do
2394   IFS=$as_save_IFS
2395   test -z "$as_dir" && as_dir=.
2396   for ac_exec_ext in '' $ac_executable_extensions; do
2397   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2398     ac_cv_prog_AR="${ac_tool_prefix}ar"
2399     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2400     break 2
2401   fi
2402 done
2403 done
2404
2405 fi
2406 fi
2407 AR=$ac_cv_prog_AR
2408 if test -n "$AR"; then
2409   echo "$as_me:$LINENO: result: $AR" >&5
2410 echo "${ECHO_T}$AR" >&6
2411 else
2412   echo "$as_me:$LINENO: result: no" >&5
2413 echo "${ECHO_T}no" >&6
2414 fi
2415
2416 fi
2417 if test -z "$ac_cv_prog_AR"; then
2418   ac_ct_AR=$AR
2419   # Extract the first word of "ar", so it can be a program name with args.
2420 set dummy ar; ac_word=$2
2421 echo "$as_me:$LINENO: checking for $ac_word" >&5
2422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2423 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2424   echo $ECHO_N "(cached) $ECHO_C" >&6
2425 else
2426   if test -n "$ac_ct_AR"; then
2427   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2428 else
2429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2430 for as_dir in $PATH
2431 do
2432   IFS=$as_save_IFS
2433   test -z "$as_dir" && as_dir=.
2434   for ac_exec_ext in '' $ac_executable_extensions; do
2435   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2436     ac_cv_prog_ac_ct_AR="ar"
2437     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2438     break 2
2439   fi
2440 done
2441 done
2442
2443 fi
2444 fi
2445 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2446 if test -n "$ac_ct_AR"; then
2447   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2448 echo "${ECHO_T}$ac_ct_AR" >&6
2449 else
2450   echo "$as_me:$LINENO: result: no" >&5
2451 echo "${ECHO_T}no" >&6
2452 fi
2453
2454   AR=$ac_ct_AR
2455 else
2456   AR="$ac_cv_prog_AR"
2457 fi
2458
2459 if test -n "$ac_tool_prefix"; then
2460   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2461 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2462 echo "$as_me:$LINENO: checking for $ac_word" >&5
2463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2464 if test "${ac_cv_prog_RANLIB+set}" = set; then
2465   echo $ECHO_N "(cached) $ECHO_C" >&6
2466 else
2467   if test -n "$RANLIB"; then
2468   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2469 else
2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2471 for as_dir in $PATH
2472 do
2473   IFS=$as_save_IFS
2474   test -z "$as_dir" && as_dir=.
2475   for ac_exec_ext in '' $ac_executable_extensions; do
2476   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2477     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2478     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2479     break 2
2480   fi
2481 done
2482 done
2483
2484 fi
2485 fi
2486 RANLIB=$ac_cv_prog_RANLIB
2487 if test -n "$RANLIB"; then
2488   echo "$as_me:$LINENO: result: $RANLIB" >&5
2489 echo "${ECHO_T}$RANLIB" >&6
2490 else
2491   echo "$as_me:$LINENO: result: no" >&5
2492 echo "${ECHO_T}no" >&6
2493 fi
2494
2495 fi
2496 if test -z "$ac_cv_prog_RANLIB"; then
2497   ac_ct_RANLIB=$RANLIB
2498   # Extract the first word of "ranlib", so it can be a program name with args.
2499 set dummy ranlib; ac_word=$2
2500 echo "$as_me:$LINENO: checking for $ac_word" >&5
2501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2502 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2503   echo $ECHO_N "(cached) $ECHO_C" >&6
2504 else
2505   if test -n "$ac_ct_RANLIB"; then
2506   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2507 else
2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509 for as_dir in $PATH
2510 do
2511   IFS=$as_save_IFS
2512   test -z "$as_dir" && as_dir=.
2513   for ac_exec_ext in '' $ac_executable_extensions; do
2514   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2515     ac_cv_prog_ac_ct_RANLIB="ranlib"
2516     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2517     break 2
2518   fi
2519 done
2520 done
2521
2522   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2523 fi
2524 fi
2525 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2526 if test -n "$ac_ct_RANLIB"; then
2527   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2528 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2529 else
2530   echo "$as_me:$LINENO: result: no" >&5
2531 echo "${ECHO_T}no" >&6
2532 fi
2533
2534   RANLIB=$ac_ct_RANLIB
2535 else
2536   RANLIB="$ac_cv_prog_RANLIB"
2537 fi
2538
2539
2540 # Find a good install program.  We prefer a C program (faster),
2541 # so one script is as good as another.  But avoid the broken or
2542 # incompatible versions:
2543 # SysV /etc/install, /usr/sbin/install
2544 # SunOS /usr/etc/install
2545 # IRIX /sbin/install
2546 # AIX /bin/install
2547 # AmigaOS /C/install, which installs bootblocks on floppy discs
2548 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2549 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2550 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2551 # OS/2's system install, which has a completely different semantic
2552 # ./install, which can be erroneously created by make from ./install.sh.
2553 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2554 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2555 if test -z "$INSTALL"; then
2556 if test "${ac_cv_path_install+set}" = set; then
2557   echo $ECHO_N "(cached) $ECHO_C" >&6
2558 else
2559   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560 for as_dir in $PATH
2561 do
2562   IFS=$as_save_IFS
2563   test -z "$as_dir" && as_dir=.
2564   # Account for people who put trailing slashes in PATH elements.
2565 case $as_dir/ in
2566   ./ | .// | /cC/* | \
2567   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2568   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2569   /usr/ucb/* ) ;;
2570   *)
2571     # OSF1 and SCO ODT 3.0 have their own names for install.
2572     # Don't use installbsd from OSF since it installs stuff as root
2573     # by default.
2574     for ac_prog in ginstall scoinst install; do
2575       for ac_exec_ext in '' $ac_executable_extensions; do
2576         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2577           if test $ac_prog = install &&
2578             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2579             # AIX install.  It has an incompatible calling convention.
2580             :
2581           elif test $ac_prog = install &&
2582             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2583             # program-specific install script used by HP pwplus--don't use.
2584             :
2585           else
2586             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2587             break 3
2588           fi
2589         fi
2590       done
2591     done
2592     ;;
2593 esac
2594 done
2595
2596
2597 fi
2598   if test "${ac_cv_path_install+set}" = set; then
2599     INSTALL=$ac_cv_path_install
2600   else
2601     # As a last resort, use the slow shell script.  We don't cache a
2602     # path for INSTALL within a source directory, because that will
2603     # break other packages using the cache if that directory is
2604     # removed, or if the path is relative.
2605     INSTALL=$ac_install_sh
2606   fi
2607 fi
2608 echo "$as_me:$LINENO: result: $INSTALL" >&5
2609 echo "${ECHO_T}$INSTALL" >&6
2610
2611 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2612 # It thinks the first close brace ends the variable substitution.
2613 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2614
2615 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2616
2617 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2618
2619
2620 # Hack to ensure that INSTALL won't be set to "../" with autoconf 2.13.  */
2621 ac_given_INSTALL=$INSTALL
2622
2623 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2624 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2625     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2626 if test "${enable_maintainer_mode+set}" = set; then
2627   enableval="$enable_maintainer_mode"
2628   USE_MAINTAINER_MODE=$enableval
2629 else
2630   USE_MAINTAINER_MODE=no
2631 fi;
2632   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2633 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2634
2635
2636 if test $USE_MAINTAINER_MODE = yes; then
2637   MAINTAINER_MODE_TRUE=
2638   MAINTAINER_MODE_FALSE='#'
2639 else
2640   MAINTAINER_MODE_TRUE='#'
2641   MAINTAINER_MODE_FALSE=
2642 fi
2643
2644   MAINT=$MAINTAINER_MODE_TRUE
2645
2646
2647 # By default we simply use the C compiler to build assembly code.
2648
2649 test "${CCAS+set}" = set || CCAS=$CC
2650 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2651
2652
2653
2654
2655 # We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
2656 # at least currently, we never actually build a program, so we never
2657 # need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
2658 # fails, because we are probably configuring with a cross compiler
2659 # which can't create executables.  So we include AC_EXEEXT to keep
2660 # automake happy, but we don't execute it, since we don't care about
2661 # the result.
2662 if false; then
2663
2664   dummy_var=1
2665 fi
2666
2667 . ${newlib_basedir}/configure.host
2668
2669 newlib_cflags="${newlib_cflags} -fno-builtin"
2670
2671 NEWLIB_CFLAGS=${newlib_cflags}
2672
2673
2674 LDFLAGS=${ldflags}
2675
2676
2677
2678
2679 if test x${newlib_elix_level} = x0; then
2680   ELIX_LEVEL_0_TRUE=
2681   ELIX_LEVEL_0_FALSE='#'
2682 else
2683   ELIX_LEVEL_0_TRUE='#'
2684   ELIX_LEVEL_0_FALSE=
2685 fi
2686
2687
2688
2689 if test x${newlib_elix_level} = x1; then
2690   ELIX_LEVEL_1_TRUE=
2691   ELIX_LEVEL_1_FALSE='#'
2692 else
2693   ELIX_LEVEL_1_TRUE='#'
2694   ELIX_LEVEL_1_FALSE=
2695 fi
2696
2697
2698
2699 if test x${newlib_elix_level} = x2; then
2700   ELIX_LEVEL_2_TRUE=
2701   ELIX_LEVEL_2_FALSE='#'
2702 else
2703   ELIX_LEVEL_2_TRUE='#'
2704   ELIX_LEVEL_2_FALSE=
2705 fi
2706
2707
2708
2709 if test x${newlib_elix_level} = x3; then
2710   ELIX_LEVEL_3_TRUE=
2711   ELIX_LEVEL_3_FALSE='#'
2712 else
2713   ELIX_LEVEL_3_TRUE='#'
2714   ELIX_LEVEL_3_FALSE=
2715 fi
2716
2717
2718
2719 if test x${newlib_elix_level} = x4; then
2720   ELIX_LEVEL_4_TRUE=
2721   ELIX_LEVEL_4_FALSE='#'
2722 else
2723   ELIX_LEVEL_4_TRUE='#'
2724   ELIX_LEVEL_4_FALSE=
2725 fi
2726
2727
2728
2729
2730 if test x${use_libtool} = xyes; then
2731   USE_LIBTOOL_TRUE=
2732   USE_LIBTOOL_FALSE='#'
2733 else
2734   USE_LIBTOOL_TRUE='#'
2735   USE_LIBTOOL_FALSE=
2736 fi
2737
2738
2739 # Hard-code OBJEXT.  Normally it is set by AC_OBJEXT, but we
2740 # use oext, which is set in configure.host based on the target platform.
2741 OBJEXT=${oext}
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753           ac_config_files="$ac_config_files Makefile"
2754 cat >confcache <<\_ACEOF
2755 # This file is a shell script that caches the results of configure
2756 # tests run on this system so they can be shared between configure
2757 # scripts and configure runs, see configure's option --config-cache.
2758 # It is not useful on other systems.  If it contains results you don't
2759 # want to keep, you may remove or edit it.
2760 #
2761 # config.status only pays attention to the cache file if you give it
2762 # the --recheck option to rerun configure.
2763 #
2764 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2765 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2766 # following values.
2767
2768 _ACEOF
2769
2770 # The following way of writing the cache mishandles newlines in values,
2771 # but we know of no workaround that is simple, portable, and efficient.
2772 # So, don't put newlines in cache variables' values.
2773 # Ultrix sh set writes to stderr and can't be redirected directly,
2774 # and sets the high bit in the cache file unless we assign to the vars.
2775 {
2776   (set) 2>&1 |
2777     case `(ac_space=' '; set | grep ac_space) 2>&1` in
2778     *ac_space=\ *)
2779       # `set' does not quote correctly, so add quotes (double-quote
2780       # substitution turns \\\\ into \\, and sed turns \\ into \).
2781       sed -n \
2782         "s/'/'\\\\''/g;
2783           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2784       ;;
2785     *)
2786       # `set' quotes correctly as required by POSIX, so do not add quotes.
2787       sed -n \
2788         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2789       ;;
2790     esac;
2791 } |
2792   sed '
2793      t clear
2794      : clear
2795      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2796      t end
2797      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2798      : end' >>confcache
2799 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2800   if test -w $cache_file; then
2801     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2802     cat confcache >$cache_file
2803   else
2804     echo "not updating unwritable cache $cache_file"
2805   fi
2806 fi
2807 rm -f confcache
2808
2809 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2810 # Let make expand exec_prefix.
2811 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2812
2813 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2814 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2815 # trailing colons and then remove the whole line if VPATH becomes empty
2816 # (actually we leave an empty line to preserve line numbers).
2817 if test "x$srcdir" = x.; then
2818   ac_vpsub='/^[  ]*VPATH[        ]*=/{
2819 s/:*\$(srcdir):*/:/;
2820 s/:*\${srcdir}:*/:/;
2821 s/:*@srcdir@:*/:/;
2822 s/^\([^=]*=[     ]*\):*/\1/;
2823 s/:*$//;
2824 s/^[^=]*=[       ]*$//;
2825 }'
2826 fi
2827
2828 # Transform confdefs.h into DEFS.
2829 # Protect against shell expansion while executing Makefile rules.
2830 # Protect against Makefile macro expansion.
2831 #
2832 # If the first sed substitution is executed (which looks for macros that
2833 # take arguments), then we branch to the quote section.  Otherwise,
2834 # look for a macro that doesn't take arguments.
2835 cat >confdef2opt.sed <<\_ACEOF
2836 t clear
2837 : clear
2838 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2839 t quote
2840 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2841 t quote
2842 d
2843 : quote
2844 s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
2845 s,\[,\\&,g
2846 s,\],\\&,g
2847 s,\$,$$,g
2848 p
2849 _ACEOF
2850 # We use echo to avoid assuming a particular line-breaking character.
2851 # The extra dot is to prevent the shell from consuming trailing
2852 # line-breaks from the sub-command output.  A line-break within
2853 # single-quotes doesn't work because, if this script is created in a
2854 # platform that uses two characters for line-breaks (e.g., DOS), tr
2855 # would break.
2856 ac_LF_and_DOT=`echo; echo .`
2857 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2858 rm -f confdef2opt.sed
2859
2860
2861 ac_libobjs=
2862 ac_ltlibobjs=
2863 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2864   # 1. Remove the extension, and $U if already installed.
2865   ac_i=`echo "$ac_i" |
2866          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2867   # 2. Add them.
2868   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2869   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2870 done
2871 LIBOBJS=$ac_libobjs
2872
2873 LTLIBOBJS=$ac_ltlibobjs
2874
2875
2876 if test -z "${MAY_SUPPLY_SYSCALLS_TRUE}" && test -z "${MAY_SUPPLY_SYSCALLS_FALSE}"; then
2877   { { echo "$as_me:$LINENO: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
2878 Usually this means the macro was only invoked conditionally." >&5
2879 echo "$as_me: error: conditional \"MAY_SUPPLY_SYSCALLS\" was never defined.
2880 Usually this means the macro was only invoked conditionally." >&2;}
2881    { (exit 1); exit 1; }; }
2882 fi
2883 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2884   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
2885 Usually this means the macro was only invoked conditionally." >&5
2886 echo "$as_me: error: conditional \"AMDEP\" was never defined.
2887 Usually this means the macro was only invoked conditionally." >&2;}
2888    { (exit 1); exit 1; }; }
2889 fi
2890 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
2891   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
2892 Usually this means the macro was only invoked conditionally." >&5
2893 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
2894 Usually this means the macro was only invoked conditionally." >&2;}
2895    { (exit 1); exit 1; }; }
2896 fi
2897 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2898   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
2899 Usually this means the macro was only invoked conditionally." >&5
2900 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
2901 Usually this means the macro was only invoked conditionally." >&2;}
2902    { (exit 1); exit 1; }; }
2903 fi
2904 if test -z "${ELIX_LEVEL_0_TRUE}" && test -z "${ELIX_LEVEL_0_FALSE}"; then
2905   { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_0\" was never defined.
2906 Usually this means the macro was only invoked conditionally." >&5
2907 echo "$as_me: error: conditional \"ELIX_LEVEL_0\" was never defined.
2908 Usually this means the macro was only invoked conditionally." >&2;}
2909    { (exit 1); exit 1; }; }
2910 fi
2911 if test -z "${ELIX_LEVEL_1_TRUE}" && test -z "${ELIX_LEVEL_1_FALSE}"; then
2912   { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_1\" was never defined.
2913 Usually this means the macro was only invoked conditionally." >&5
2914 echo "$as_me: error: conditional \"ELIX_LEVEL_1\" was never defined.
2915 Usually this means the macro was only invoked conditionally." >&2;}
2916    { (exit 1); exit 1; }; }
2917 fi
2918 if test -z "${ELIX_LEVEL_2_TRUE}" && test -z "${ELIX_LEVEL_2_FALSE}"; then
2919   { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_2\" was never defined.
2920 Usually this means the macro was only invoked conditionally." >&5
2921 echo "$as_me: error: conditional \"ELIX_LEVEL_2\" was never defined.
2922 Usually this means the macro was only invoked conditionally." >&2;}
2923    { (exit 1); exit 1; }; }
2924 fi
2925 if test -z "${ELIX_LEVEL_3_TRUE}" && test -z "${ELIX_LEVEL_3_FALSE}"; then
2926   { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_3\" was never defined.
2927 Usually this means the macro was only invoked conditionally." >&5
2928 echo "$as_me: error: conditional \"ELIX_LEVEL_3\" was never defined.
2929 Usually this means the macro was only invoked conditionally." >&2;}
2930    { (exit 1); exit 1; }; }
2931 fi
2932 if test -z "${ELIX_LEVEL_4_TRUE}" && test -z "${ELIX_LEVEL_4_FALSE}"; then
2933   { { echo "$as_me:$LINENO: error: conditional \"ELIX_LEVEL_4\" was never defined.
2934 Usually this means the macro was only invoked conditionally." >&5
2935 echo "$as_me: error: conditional \"ELIX_LEVEL_4\" was never defined.
2936 Usually this means the macro was only invoked conditionally." >&2;}
2937    { (exit 1); exit 1; }; }
2938 fi
2939 if test -z "${USE_LIBTOOL_TRUE}" && test -z "${USE_LIBTOOL_FALSE}"; then
2940   { { echo "$as_me:$LINENO: error: conditional \"USE_LIBTOOL\" was never defined.
2941 Usually this means the macro was only invoked conditionally." >&5
2942 echo "$as_me: error: conditional \"USE_LIBTOOL\" was never defined.
2943 Usually this means the macro was only invoked conditionally." >&2;}
2944    { (exit 1); exit 1; }; }
2945 fi
2946
2947 : ${CONFIG_STATUS=./config.status}
2948 ac_clean_files_save=$ac_clean_files
2949 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2950 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2951 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2952 cat >$CONFIG_STATUS <<_ACEOF
2953 #! $SHELL
2954 # Generated by $as_me.
2955 # Run this file to recreate the current configuration.
2956 # Compiler output produced by configure, useful for debugging
2957 # configure, is in config.log if it exists.
2958
2959 debug=false
2960 ac_cs_recheck=false
2961 ac_cs_silent=false
2962 SHELL=\${CONFIG_SHELL-$SHELL}
2963 _ACEOF
2964
2965 cat >>$CONFIG_STATUS <<\_ACEOF
2966 ## --------------------- ##
2967 ## M4sh Initialization.  ##
2968 ## --------------------- ##
2969
2970 # Be Bourne compatible
2971 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2972   emulate sh
2973   NULLCMD=:
2974   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2975   # is contrary to our usage.  Disable this feature.
2976   alias -g '${1+"$@"}'='"$@"'
2977 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2978   set -o posix
2979 fi
2980 DUALCASE=1; export DUALCASE # for MKS sh
2981
2982 # Support unset when possible.
2983 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2984   as_unset=unset
2985 else
2986   as_unset=false
2987 fi
2988
2989
2990 # Work around bugs in pre-3.0 UWIN ksh.
2991 $as_unset ENV MAIL MAILPATH
2992 PS1='$ '
2993 PS2='> '
2994 PS4='+ '
2995
2996 # NLS nuisances.
2997 for as_var in \
2998   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2999   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3000   LC_TELEPHONE LC_TIME
3001 do
3002   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3003     eval $as_var=C; export $as_var
3004   else
3005     $as_unset $as_var
3006   fi
3007 done
3008
3009 # Required to use basename.
3010 if expr a : '\(a\)' >/dev/null 2>&1; then
3011   as_expr=expr
3012 else
3013   as_expr=false
3014 fi
3015
3016 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3017   as_basename=basename
3018 else
3019   as_basename=false
3020 fi
3021
3022
3023 # Name of the executable.
3024 as_me=`$as_basename "$0" ||
3025 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3026          X"$0" : 'X\(//\)$' \| \
3027          X"$0" : 'X\(/\)$' \| \
3028          .     : '\(.\)' 2>/dev/null ||
3029 echo X/"$0" |
3030     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3031           /^X\/\(\/\/\)$/{ s//\1/; q; }
3032           /^X\/\(\/\).*/{ s//\1/; q; }
3033           s/.*/./; q'`
3034
3035
3036 # PATH needs CR, and LINENO needs CR and PATH.
3037 # Avoid depending upon Character Ranges.
3038 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3039 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3040 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3041 as_cr_digits='0123456789'
3042 as_cr_alnum=$as_cr_Letters$as_cr_digits
3043
3044 # The user is always right.
3045 if test "${PATH_SEPARATOR+set}" != set; then
3046   echo "#! /bin/sh" >conf$$.sh
3047   echo  "exit 0"   >>conf$$.sh
3048   chmod +x conf$$.sh
3049   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3050     PATH_SEPARATOR=';'
3051   else
3052     PATH_SEPARATOR=:
3053   fi
3054   rm -f conf$$.sh
3055 fi
3056
3057
3058   as_lineno_1=$LINENO
3059   as_lineno_2=$LINENO
3060   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3061   test "x$as_lineno_1" != "x$as_lineno_2" &&
3062   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
3063   # Find who we are.  Look in the path if we contain no path at all
3064   # relative or not.
3065   case $0 in
3066     *[\\/]* ) as_myself=$0 ;;
3067     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 for as_dir in $PATH
3069 do
3070   IFS=$as_save_IFS
3071   test -z "$as_dir" && as_dir=.
3072   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3073 done
3074
3075        ;;
3076   esac
3077   # We did not find ourselves, most probably we were run as `sh COMMAND'
3078   # in which case we are not to be found in the path.
3079   if test "x$as_myself" = x; then
3080     as_myself=$0
3081   fi
3082   if test ! -f "$as_myself"; then
3083     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3084 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3085    { (exit 1); exit 1; }; }
3086   fi
3087   case $CONFIG_SHELL in
3088   '')
3089     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3091 do
3092   IFS=$as_save_IFS
3093   test -z "$as_dir" && as_dir=.
3094   for as_base in sh bash ksh sh5; do
3095          case $as_dir in
3096          /*)
3097            if ("$as_dir/$as_base" -c '
3098   as_lineno_1=$LINENO
3099   as_lineno_2=$LINENO
3100   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3101   test "x$as_lineno_1" != "x$as_lineno_2" &&
3102   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3103              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3104              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3105              CONFIG_SHELL=$as_dir/$as_base
3106              export CONFIG_SHELL
3107              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3108            fi;;
3109          esac
3110        done
3111 done
3112 ;;
3113   esac
3114
3115   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3116   # uniformly replaced by the line number.  The first 'sed' inserts a
3117   # line-number line before each line; the second 'sed' does the real
3118   # work.  The second script uses 'N' to pair each line-number line
3119   # with the numbered line, and appends trailing '-' during
3120   # substitution so that $LINENO is not a special case at line end.
3121   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3122   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
3123   sed '=' <$as_myself |
3124     sed '
3125       N
3126       s,$,-,
3127       : loop
3128       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3129       t loop
3130       s,-$,,
3131       s,^['$as_cr_digits']*\n,,
3132     ' >$as_me.lineno &&
3133   chmod +x $as_me.lineno ||
3134     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3135 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3136    { (exit 1); exit 1; }; }
3137
3138   # Don't try to exec as it changes $[0], causing all sort of problems
3139   # (the dirname of $[0] is not the place where we might find the
3140   # original and so on.  Autoconf is especially sensible to this).
3141   . ./$as_me.lineno
3142   # Exit status is that of the last command.
3143   exit
3144 }
3145
3146
3147 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3148   *c*,-n*) ECHO_N= ECHO_C='
3149 ' ECHO_T='      ' ;;
3150   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3151   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
3152 esac
3153
3154 if expr a : '\(a\)' >/dev/null 2>&1; then
3155   as_expr=expr
3156 else
3157   as_expr=false
3158 fi
3159
3160 rm -f conf$$ conf$$.exe conf$$.file
3161 echo >conf$$.file
3162 if ln -s conf$$.file conf$$ 2>/dev/null; then
3163   # We could just check for DJGPP; but this test a) works b) is more generic
3164   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3165   if test -f conf$$.exe; then
3166     # Don't use ln at all; we don't have any links
3167     as_ln_s='cp -p'
3168   else
3169     as_ln_s='ln -s'
3170   fi
3171 elif ln conf$$.file conf$$ 2>/dev/null; then
3172   as_ln_s=ln
3173 else
3174   as_ln_s='cp -p'
3175 fi
3176 rm -f conf$$ conf$$.exe conf$$.file
3177
3178 if mkdir -p . 2>/dev/null; then
3179   as_mkdir_p=:
3180 else
3181   test -d ./-p && rmdir ./-p
3182   as_mkdir_p=false
3183 fi
3184
3185 as_executable_p="test -f"
3186
3187 # Sed expression to map a string onto a valid CPP name.
3188 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3189
3190 # Sed expression to map a string onto a valid variable name.
3191 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3192
3193
3194 # IFS
3195 # We need space, tab and new line, in precisely that order.
3196 as_nl='
3197 '
3198 IFS="   $as_nl"
3199
3200 # CDPATH.
3201 $as_unset CDPATH
3202
3203 exec 6>&1
3204
3205 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3206 # report actual input values of CONFIG_FILES etc. instead of their
3207 # values after options handling.  Logging --version etc. is OK.
3208 exec 5>>config.log
3209 {
3210   echo
3211   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3212 ## Running $as_me. ##
3213 _ASBOX
3214 } >&5
3215 cat >&5 <<_CSEOF
3216
3217 This file was extended by $as_me, which was
3218 generated by GNU Autoconf 2.59.  Invocation command line was
3219
3220   CONFIG_FILES    = $CONFIG_FILES
3221   CONFIG_HEADERS  = $CONFIG_HEADERS
3222   CONFIG_LINKS    = $CONFIG_LINKS
3223   CONFIG_COMMANDS = $CONFIG_COMMANDS
3224   $ $0 $@
3225
3226 _CSEOF
3227 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3228 echo >&5
3229 _ACEOF
3230
3231 # Files that config.status was made for.
3232 if test -n "$ac_config_files"; then
3233   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3234 fi
3235
3236 if test -n "$ac_config_headers"; then
3237   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3238 fi
3239
3240 if test -n "$ac_config_links"; then
3241   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3242 fi
3243
3244 if test -n "$ac_config_commands"; then
3245   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3246 fi
3247
3248 cat >>$CONFIG_STATUS <<\_ACEOF
3249
3250 ac_cs_usage="\
3251 \`$as_me' instantiates files from templates according to the
3252 current configuration.
3253
3254 Usage: $0 [OPTIONS] [FILE]...
3255
3256   -h, --help       print this help, then exit
3257   -V, --version    print version number, then exit
3258   -q, --quiet      do not print progress messages
3259   -d, --debug      don't remove temporary files
3260       --recheck    update $as_me by reconfiguring in the same conditions
3261   --file=FILE[:TEMPLATE]
3262                    instantiate the configuration file FILE
3263
3264 Configuration files:
3265 $config_files
3266
3267 Configuration commands:
3268 $config_commands
3269
3270 Report bugs to <bug-autoconf@gnu.org>."
3271 _ACEOF
3272
3273 cat >>$CONFIG_STATUS <<_ACEOF
3274 ac_cs_version="\\
3275 config.status
3276 configured by $0, generated by GNU Autoconf 2.59,
3277   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3278
3279 Copyright (C) 2003 Free Software Foundation, Inc.
3280 This config.status script is free software; the Free Software Foundation
3281 gives unlimited permission to copy, distribute and modify it."
3282 srcdir=$srcdir
3283 INSTALL="$INSTALL"
3284 _ACEOF
3285
3286 cat >>$CONFIG_STATUS <<\_ACEOF
3287 # If no file are specified by the user, then we need to provide default
3288 # value.  By we need to know if files were specified by the user.
3289 ac_need_defaults=:
3290 while test $# != 0
3291 do
3292   case $1 in
3293   --*=*)
3294     ac_option=`expr "x$1" : 'x\([^=]*\)='`
3295     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3296     ac_shift=:
3297     ;;
3298   -*)
3299     ac_option=$1
3300     ac_optarg=$2
3301     ac_shift=shift
3302     ;;
3303   *) # This is not an option, so the user has probably given explicit
3304      # arguments.
3305      ac_option=$1
3306      ac_need_defaults=false;;
3307   esac
3308
3309   case $ac_option in
3310   # Handling of the options.
3311 _ACEOF
3312 cat >>$CONFIG_STATUS <<\_ACEOF
3313   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3314     ac_cs_recheck=: ;;
3315   --version | --vers* | -V )
3316     echo "$ac_cs_version"; exit 0 ;;
3317   --he | --h)
3318     # Conflict between --help and --header
3319     { { echo "$as_me:$LINENO: error: ambiguous option: $1
3320 Try \`$0 --help' for more information." >&5
3321 echo "$as_me: error: ambiguous option: $1
3322 Try \`$0 --help' for more information." >&2;}
3323    { (exit 1); exit 1; }; };;
3324   --help | --hel | -h )
3325     echo "$ac_cs_usage"; exit 0 ;;
3326   --debug | --d* | -d )
3327     debug=: ;;
3328   --file | --fil | --fi | --f )
3329     $ac_shift
3330     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3331     ac_need_defaults=false;;
3332   --header | --heade | --head | --hea )
3333     $ac_shift
3334     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3335     ac_need_defaults=false;;
3336   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3337   | -silent | --silent | --silen | --sile | --sil | --si | --s)
3338     ac_cs_silent=: ;;
3339
3340   # This is an error.
3341   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3342 Try \`$0 --help' for more information." >&5
3343 echo "$as_me: error: unrecognized option: $1
3344 Try \`$0 --help' for more information." >&2;}
3345    { (exit 1); exit 1; }; } ;;
3346
3347   *) ac_config_targets="$ac_config_targets $1" ;;
3348
3349   esac
3350   shift
3351 done
3352
3353 ac_configure_extra_args=
3354
3355 if $ac_cs_silent; then
3356   exec 6>/dev/null
3357   ac_configure_extra_args="$ac_configure_extra_args --silent"
3358 fi
3359
3360 _ACEOF
3361 cat >>$CONFIG_STATUS <<_ACEOF
3362 if \$ac_cs_recheck; then
3363   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3364   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3365 fi
3366
3367 _ACEOF
3368
3369 cat >>$CONFIG_STATUS <<_ACEOF
3370 #
3371 # INIT-COMMANDS section.
3372 #
3373
3374 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3375
3376 _ACEOF
3377
3378
3379
3380 cat >>$CONFIG_STATUS <<\_ACEOF
3381 for ac_config_target in $ac_config_targets
3382 do
3383   case "$ac_config_target" in
3384   # Handling of arguments.
3385   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3386   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3387   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3388 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3389    { (exit 1); exit 1; }; };;
3390   esac
3391 done
3392
3393 # If the user did not use the arguments to specify the items to instantiate,
3394 # then the envvar interface is used.  Set only those that are not.
3395 # We use the long form for the default assignment because of an extremely
3396 # bizarre bug on SunOS 4.1.3.
3397 if $ac_need_defaults; then
3398   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3399   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3400 fi
3401
3402 # Have a temporary directory for convenience.  Make it in the build tree
3403 # simply because there is no reason to put it here, and in addition,
3404 # creating and moving files from /tmp can sometimes cause problems.
3405 # Create a temporary directory, and hook for its removal unless debugging.
3406 $debug ||
3407 {
3408   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3409   trap '{ (exit 1); exit 1; }' 1 2 13 15
3410 }
3411
3412 # Create a (secure) tmp directory for tmp files.
3413
3414 {
3415   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3416   test -n "$tmp" && test -d "$tmp"
3417 }  ||
3418 {
3419   tmp=./confstat$$-$RANDOM
3420   (umask 077 && mkdir $tmp)
3421 } ||
3422 {
3423    echo "$me: cannot create a temporary directory in ." >&2
3424    { (exit 1); exit 1; }
3425 }
3426
3427 _ACEOF
3428
3429 cat >>$CONFIG_STATUS <<_ACEOF
3430
3431 #
3432 # CONFIG_FILES section.
3433 #
3434
3435 # No need to generate the scripts if there are no CONFIG_FILES.
3436 # This happens for instance when ./config.status config.h
3437 if test -n "\$CONFIG_FILES"; then
3438   # Protect against being on the right side of a sed subst in config.status.
3439   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3440    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3441 s,@SHELL@,$SHELL,;t t
3442 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3443 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3444 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3445 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3446 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3447 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3448 s,@exec_prefix@,$exec_prefix,;t t
3449 s,@prefix@,$prefix,;t t
3450 s,@program_transform_name@,$program_transform_name,;t t
3451 s,@bindir@,$bindir,;t t
3452 s,@sbindir@,$sbindir,;t t
3453 s,@libexecdir@,$libexecdir,;t t
3454 s,@datadir@,$datadir,;t t
3455 s,@sysconfdir@,$sysconfdir,;t t
3456 s,@sharedstatedir@,$sharedstatedir,;t t
3457 s,@localstatedir@,$localstatedir,;t t
3458 s,@libdir@,$libdir,;t t
3459 s,@includedir@,$includedir,;t t
3460 s,@oldincludedir@,$oldincludedir,;t t
3461 s,@infodir@,$infodir,;t t
3462 s,@mandir@,$mandir,;t t
3463 s,@build_alias@,$build_alias,;t t
3464 s,@host_alias@,$host_alias,;t t
3465 s,@target_alias@,$target_alias,;t t
3466 s,@DEFS@,$DEFS,;t t
3467 s,@ECHO_C@,$ECHO_C,;t t
3468 s,@ECHO_N@,$ECHO_N,;t t
3469 s,@ECHO_T@,$ECHO_T,;t t
3470 s,@LIBS@,$LIBS,;t t
3471 s,@MAY_SUPPLY_SYSCALLS_TRUE@,$MAY_SUPPLY_SYSCALLS_TRUE,;t t
3472 s,@MAY_SUPPLY_SYSCALLS_FALSE@,$MAY_SUPPLY_SYSCALLS_FALSE,;t t
3473 s,@newlib_basedir@,$newlib_basedir,;t t
3474 s,@build@,$build,;t t
3475 s,@build_cpu@,$build_cpu,;t t
3476 s,@build_vendor@,$build_vendor,;t t
3477 s,@build_os@,$build_os,;t t
3478 s,@host@,$host,;t t
3479 s,@host_cpu@,$host_cpu,;t t
3480 s,@host_vendor@,$host_vendor,;t t
3481 s,@host_os@,$host_os,;t t
3482 s,@target@,$target,;t t
3483 s,@target_cpu@,$target_cpu,;t t
3484 s,@target_vendor@,$target_vendor,;t t
3485 s,@target_os@,$target_os,;t t
3486 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3487 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3488 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3489 s,@CYGPATH_W@,$CYGPATH_W,;t t
3490 s,@PACKAGE@,$PACKAGE,;t t
3491 s,@VERSION@,$VERSION,;t t
3492 s,@ACLOCAL@,$ACLOCAL,;t t
3493 s,@AUTOCONF@,$AUTOCONF,;t t
3494 s,@AUTOMAKE@,$AUTOMAKE,;t t
3495 s,@AUTOHEADER@,$AUTOHEADER,;t t
3496 s,@MAKEINFO@,$MAKEINFO,;t t
3497 s,@install_sh@,$install_sh,;t t
3498 s,@STRIP@,$STRIP,;t t
3499 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3500 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3501 s,@mkdir_p@,$mkdir_p,;t t
3502 s,@AWK@,$AWK,;t t
3503 s,@SET_MAKE@,$SET_MAKE,;t t
3504 s,@am__leading_dot@,$am__leading_dot,;t t
3505 s,@AMTAR@,$AMTAR,;t t
3506 s,@am__tar@,$am__tar,;t t
3507 s,@am__untar@,$am__untar,;t t
3508 s,@CC@,$CC,;t t
3509 s,@DEPDIR@,$DEPDIR,;t t
3510 s,@am__include@,$am__include,;t t
3511 s,@am__quote@,$am__quote,;t t
3512 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3513 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3514 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3515 s,@CCDEPMODE@,$CCDEPMODE,;t t
3516 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
3517 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
3518 s,@AS@,$AS,;t t
3519 s,@ac_ct_AS@,$ac_ct_AS,;t t
3520 s,@AR@,$AR,;t t
3521 s,@ac_ct_AR@,$ac_ct_AR,;t t
3522 s,@RANLIB@,$RANLIB,;t t
3523 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
3524 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
3525 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
3526 s,@MAINT@,$MAINT,;t t
3527 s,@CCAS@,$CCAS,;t t
3528 s,@CCASFLAGS@,$CCASFLAGS,;t t
3529 s,@NEWLIB_CFLAGS@,$NEWLIB_CFLAGS,;t t
3530 s,@LDFLAGS@,$LDFLAGS,;t t
3531 s,@ELIX_LEVEL_0_TRUE@,$ELIX_LEVEL_0_TRUE,;t t
3532 s,@ELIX_LEVEL_0_FALSE@,$ELIX_LEVEL_0_FALSE,;t t
3533 s,@ELIX_LEVEL_1_TRUE@,$ELIX_LEVEL_1_TRUE,;t t
3534 s,@ELIX_LEVEL_1_FALSE@,$ELIX_LEVEL_1_FALSE,;t t
3535 s,@ELIX_LEVEL_2_TRUE@,$ELIX_LEVEL_2_TRUE,;t t
3536 s,@ELIX_LEVEL_2_FALSE@,$ELIX_LEVEL_2_FALSE,;t t
3537 s,@ELIX_LEVEL_3_TRUE@,$ELIX_LEVEL_3_TRUE,;t t
3538 s,@ELIX_LEVEL_3_FALSE@,$ELIX_LEVEL_3_FALSE,;t t
3539 s,@ELIX_LEVEL_4_TRUE@,$ELIX_LEVEL_4_TRUE,;t t
3540 s,@ELIX_LEVEL_4_FALSE@,$ELIX_LEVEL_4_FALSE,;t t
3541 s,@USE_LIBTOOL_TRUE@,$USE_LIBTOOL_TRUE,;t t
3542 s,@USE_LIBTOOL_FALSE@,$USE_LIBTOOL_FALSE,;t t
3543 s,@OBJEXT@,$OBJEXT,;t t
3544 s,@oext@,$oext,;t t
3545 s,@aext@,$aext,;t t
3546 s,@lpfx@,$lpfx,;t t
3547 s,@libm_machine_dir@,$libm_machine_dir,;t t
3548 s,@machine_dir@,$machine_dir,;t t
3549 s,@sys_dir@,$sys_dir,;t t
3550 s,@LIBOBJS@,$LIBOBJS,;t t
3551 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3552 CEOF
3553
3554 _ACEOF
3555
3556   cat >>$CONFIG_STATUS <<\_ACEOF
3557   # Split the substitutions into bite-sized pieces for seds with
3558   # small command number limits, like on Digital OSF/1 and HP-UX.
3559   ac_max_sed_lines=48
3560   ac_sed_frag=1 # Number of current file.
3561   ac_beg=1 # First line for current file.
3562   ac_end=$ac_max_sed_lines # Line after last line for current file.
3563   ac_more_lines=:
3564   ac_sed_cmds=
3565   while $ac_more_lines; do
3566     if test $ac_beg -gt 1; then
3567       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3568     else
3569       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3570     fi
3571     if test ! -s $tmp/subs.frag; then
3572       ac_more_lines=false
3573     else
3574       # The purpose of the label and of the branching condition is to
3575       # speed up the sed processing (if there are no `@' at all, there
3576       # is no need to browse any of the substitutions).
3577       # These are the two extra sed commands mentioned above.
3578       (echo ':t
3579   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3580       if test -z "$ac_sed_cmds"; then
3581         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3582       else
3583         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3584       fi
3585       ac_sed_frag=`expr $ac_sed_frag + 1`
3586       ac_beg=$ac_end
3587       ac_end=`expr $ac_end + $ac_max_sed_lines`
3588     fi
3589   done
3590   if test -z "$ac_sed_cmds"; then
3591     ac_sed_cmds=cat
3592   fi
3593 fi # test -n "$CONFIG_FILES"
3594
3595 _ACEOF
3596 cat >>$CONFIG_STATUS <<\_ACEOF
3597 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3598   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3599   case $ac_file in
3600   - | *:- | *:-:* ) # input from stdin
3601         cat >$tmp/stdin
3602         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3603         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3604   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3605         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3606   * )   ac_file_in=$ac_file.in ;;
3607   esac
3608
3609   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3610   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3611 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3612          X"$ac_file" : 'X\(//\)[^/]' \| \
3613          X"$ac_file" : 'X\(//\)$' \| \
3614          X"$ac_file" : 'X\(/\)' \| \
3615          .     : '\(.\)' 2>/dev/null ||
3616 echo X"$ac_file" |
3617     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3618           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3619           /^X\(\/\/\)$/{ s//\1/; q; }
3620           /^X\(\/\).*/{ s//\1/; q; }
3621           s/.*/./; q'`
3622   { if $as_mkdir_p; then
3623     mkdir -p "$ac_dir"
3624   else
3625     as_dir="$ac_dir"
3626     as_dirs=
3627     while test ! -d "$as_dir"; do
3628       as_dirs="$as_dir $as_dirs"
3629       as_dir=`(dirname "$as_dir") 2>/dev/null ||
3630 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3631          X"$as_dir" : 'X\(//\)[^/]' \| \
3632          X"$as_dir" : 'X\(//\)$' \| \
3633          X"$as_dir" : 'X\(/\)' \| \
3634          .     : '\(.\)' 2>/dev/null ||
3635 echo X"$as_dir" |
3636     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3637           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3638           /^X\(\/\/\)$/{ s//\1/; q; }
3639           /^X\(\/\).*/{ s//\1/; q; }
3640           s/.*/./; q'`
3641     done
3642     test ! -n "$as_dirs" || mkdir $as_dirs
3643   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3644 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3645    { (exit 1); exit 1; }; }; }
3646
3647   ac_builddir=.
3648
3649 if test "$ac_dir" != .; then
3650   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3651   # A "../" for each directory in $ac_dir_suffix.
3652   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3653 else
3654   ac_dir_suffix= ac_top_builddir=
3655 fi
3656
3657 case $srcdir in
3658   .)  # No --srcdir option.  We are building in place.
3659     ac_srcdir=.
3660     if test -z "$ac_top_builddir"; then
3661        ac_top_srcdir=.
3662     else
3663        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3664     fi ;;
3665   [\\/]* | ?:[\\/]* )  # Absolute path.
3666     ac_srcdir=$srcdir$ac_dir_suffix;
3667     ac_top_srcdir=$srcdir ;;
3668   *) # Relative path.
3669     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3670     ac_top_srcdir=$ac_top_builddir$srcdir ;;
3671 esac
3672
3673 # Do not use `cd foo && pwd` to compute absolute paths, because
3674 # the directories may not exist.
3675 case `pwd` in
3676 .) ac_abs_builddir="$ac_dir";;
3677 *)
3678   case "$ac_dir" in
3679   .) ac_abs_builddir=`pwd`;;
3680   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3681   *) ac_abs_builddir=`pwd`/"$ac_dir";;
3682   esac;;
3683 esac
3684 case $ac_abs_builddir in
3685 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3686 *)
3687   case ${ac_top_builddir}. in
3688   .) ac_abs_top_builddir=$ac_abs_builddir;;
3689   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3690   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3691   esac;;
3692 esac
3693 case $ac_abs_builddir in
3694 .) ac_abs_srcdir=$ac_srcdir;;
3695 *)
3696   case $ac_srcdir in
3697   .) ac_abs_srcdir=$ac_abs_builddir;;
3698   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3699   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3700   esac;;
3701 esac
3702 case $ac_abs_builddir in
3703 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3704 *)
3705   case $ac_top_srcdir in
3706   .) ac_abs_top_srcdir=$ac_abs_builddir;;
3707   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3708   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3709   esac;;
3710 esac
3711
3712
3713   case $INSTALL in
3714   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3715   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3716   esac
3717
3718   if test x"$ac_file" != x-; then
3719     { echo "$as_me:$LINENO: creating $ac_file" >&5
3720 echo "$as_me: creating $ac_file" >&6;}
3721     rm -f "$ac_file"
3722   fi
3723   # Let's still pretend it is `configure' which instantiates (i.e., don't
3724   # use $as_me), people would be surprised to read:
3725   #    /* config.h.  Generated by config.status.  */
3726   if test x"$ac_file" = x-; then
3727     configure_input=
3728   else
3729     configure_input="$ac_file.  "
3730   fi
3731   configure_input=$configure_input"Generated from `echo $ac_file_in |
3732                                      sed 's,.*/,,'` by configure."
3733
3734   # First look for the input files in the build tree, otherwise in the
3735   # src tree.
3736   ac_file_inputs=`IFS=:
3737     for f in $ac_file_in; do
3738       case $f in
3739       -) echo $tmp/stdin ;;
3740       [\\/$]*)
3741          # Absolute (can't be DOS-style, as IFS=:)
3742          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3743 echo "$as_me: error: cannot find input file: $f" >&2;}
3744    { (exit 1); exit 1; }; }
3745          echo "$f";;
3746       *) # Relative
3747          if test -f "$f"; then
3748            # Build tree
3749            echo "$f"
3750          elif test -f "$srcdir/$f"; then
3751            # Source tree
3752            echo "$srcdir/$f"
3753          else
3754            # /dev/null tree
3755            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3756 echo "$as_me: error: cannot find input file: $f" >&2;}
3757    { (exit 1); exit 1; }; }
3758          fi;;
3759       esac
3760     done` || { (exit 1); exit 1; }
3761 _ACEOF
3762 cat >>$CONFIG_STATUS <<_ACEOF
3763   sed "$ac_vpsub
3764 $extrasub
3765 _ACEOF
3766 cat >>$CONFIG_STATUS <<\_ACEOF
3767 :t
3768 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3769 s,@configure_input@,$configure_input,;t t
3770 s,@srcdir@,$ac_srcdir,;t t
3771 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3772 s,@top_srcdir@,$ac_top_srcdir,;t t
3773 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3774 s,@builddir@,$ac_builddir,;t t
3775 s,@abs_builddir@,$ac_abs_builddir,;t t
3776 s,@top_builddir@,$ac_top_builddir,;t t
3777 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3778 s,@INSTALL@,$ac_INSTALL,;t t
3779 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3780   rm -f $tmp/stdin
3781   if test x"$ac_file" != x-; then
3782     mv $tmp/out $ac_file
3783   else
3784     cat $tmp/out
3785     rm -f $tmp/out
3786   fi
3787
3788 done
3789 _ACEOF
3790 cat >>$CONFIG_STATUS <<\_ACEOF
3791
3792 #
3793 # CONFIG_COMMANDS section.
3794 #
3795 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3796   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3797   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3798   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3799 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3800          X"$ac_dest" : 'X\(//\)[^/]' \| \
3801          X"$ac_dest" : 'X\(//\)$' \| \
3802          X"$ac_dest" : 'X\(/\)' \| \
3803          .     : '\(.\)' 2>/dev/null ||
3804 echo X"$ac_dest" |
3805     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3806           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3807           /^X\(\/\/\)$/{ s//\1/; q; }
3808           /^X\(\/\).*/{ s//\1/; q; }
3809           s/.*/./; q'`
3810   { if $as_mkdir_p; then
3811     mkdir -p "$ac_dir"
3812   else
3813     as_dir="$ac_dir"
3814     as_dirs=
3815     while test ! -d "$as_dir"; do
3816       as_dirs="$as_dir $as_dirs"
3817       as_dir=`(dirname "$as_dir") 2>/dev/null ||
3818 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3819          X"$as_dir" : 'X\(//\)[^/]' \| \
3820          X"$as_dir" : 'X\(//\)$' \| \
3821          X"$as_dir" : 'X\(/\)' \| \
3822          .     : '\(.\)' 2>/dev/null ||
3823 echo X"$as_dir" |
3824     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3825           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3826           /^X\(\/\/\)$/{ s//\1/; q; }
3827           /^X\(\/\).*/{ s//\1/; q; }
3828           s/.*/./; q'`
3829     done
3830     test ! -n "$as_dirs" || mkdir $as_dirs
3831   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3832 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3833    { (exit 1); exit 1; }; }; }
3834
3835   ac_builddir=.
3836
3837 if test "$ac_dir" != .; then
3838   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3839   # A "../" for each directory in $ac_dir_suffix.
3840   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3841 else
3842   ac_dir_suffix= ac_top_builddir=
3843 fi
3844
3845 case $srcdir in
3846   .)  # No --srcdir option.  We are building in place.
3847     ac_srcdir=.
3848     if test -z "$ac_top_builddir"; then
3849        ac_top_srcdir=.
3850     else
3851        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3852     fi ;;
3853   [\\/]* | ?:[\\/]* )  # Absolute path.
3854     ac_srcdir=$srcdir$ac_dir_suffix;
3855     ac_top_srcdir=$srcdir ;;
3856   *) # Relative path.
3857     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3858     ac_top_srcdir=$ac_top_builddir$srcdir ;;
3859 esac
3860
3861 # Do not use `cd foo && pwd` to compute absolute paths, because
3862 # the directories may not exist.
3863 case `pwd` in
3864 .) ac_abs_builddir="$ac_dir";;
3865 *)
3866   case "$ac_dir" in
3867   .) ac_abs_builddir=`pwd`;;
3868   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3869   *) ac_abs_builddir=`pwd`/"$ac_dir";;
3870   esac;;
3871 esac
3872 case $ac_abs_builddir in
3873 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3874 *)
3875   case ${ac_top_builddir}. in
3876   .) ac_abs_top_builddir=$ac_abs_builddir;;
3877   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3878   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3879   esac;;
3880 esac
3881 case $ac_abs_builddir in
3882 .) ac_abs_srcdir=$ac_srcdir;;
3883 *)
3884   case $ac_srcdir in
3885   .) ac_abs_srcdir=$ac_abs_builddir;;
3886   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3887   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3888   esac;;
3889 esac
3890 case $ac_abs_builddir in
3891 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3892 *)
3893   case $ac_top_srcdir in
3894   .) ac_abs_top_srcdir=$ac_abs_builddir;;
3895   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3896   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3897   esac;;
3898 esac
3899
3900
3901   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3902 echo "$as_me: executing $ac_dest commands" >&6;}
3903   case $ac_dest in
3904     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
3905   # Strip MF so we end up with the name of the file.
3906   mf=`echo "$mf" | sed -e 's/:.*$//'`
3907   # Check whether this is an Automake generated Makefile or not.
3908   # We used to match only the files named `Makefile.in', but
3909   # some people rename them; so instead we look at the file content.
3910   # Grep'ing the first line is not enough: some people post-process
3911   # each Makefile.in and add a new line on top of each file to say so.
3912   # So let's grep whole file.
3913   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
3914     dirpart=`(dirname "$mf") 2>/dev/null ||
3915 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3916          X"$mf" : 'X\(//\)[^/]' \| \
3917          X"$mf" : 'X\(//\)$' \| \
3918          X"$mf" : 'X\(/\)' \| \
3919          .     : '\(.\)' 2>/dev/null ||
3920 echo X"$mf" |
3921     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3922           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3923           /^X\(\/\/\)$/{ s//\1/; q; }
3924           /^X\(\/\).*/{ s//\1/; q; }
3925           s/.*/./; q'`
3926   else
3927     continue
3928   fi
3929   # Extract the definition of DEPDIR, am__include, and am__quote
3930   # from the Makefile without running `make'.
3931   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3932   test -z "$DEPDIR" && continue
3933   am__include=`sed -n 's/^am__include = //p' < "$mf"`
3934   test -z "am__include" && continue
3935   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3936   # When using ansi2knr, U may be empty or an underscore; expand it
3937   U=`sed -n 's/^U = //p' < "$mf"`
3938   # Find all dependency output files, they are included files with
3939   # $(DEPDIR) in their names.  We invoke sed twice because it is the
3940   # simplest approach to changing $(DEPDIR) to its actual value in the
3941   # expansion.
3942   for file in `sed -n "
3943     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3944        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3945     # Make sure the directory exists.
3946     test -f "$dirpart/$file" && continue
3947     fdir=`(dirname "$file") 2>/dev/null ||
3948 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3949          X"$file" : 'X\(//\)[^/]' \| \
3950          X"$file" : 'X\(//\)$' \| \
3951          X"$file" : 'X\(/\)' \| \
3952          .     : '\(.\)' 2>/dev/null ||
3953 echo X"$file" |
3954     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3955           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3956           /^X\(\/\/\)$/{ s//\1/; q; }
3957           /^X\(\/\).*/{ s//\1/; q; }
3958           s/.*/./; q'`
3959     { if $as_mkdir_p; then
3960     mkdir -p $dirpart/$fdir
3961   else
3962     as_dir=$dirpart/$fdir
3963     as_dirs=
3964     while test ! -d "$as_dir"; do
3965       as_dirs="$as_dir $as_dirs"
3966       as_dir=`(dirname "$as_dir") 2>/dev/null ||
3967 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3968          X"$as_dir" : 'X\(//\)[^/]' \| \
3969          X"$as_dir" : 'X\(//\)$' \| \
3970          X"$as_dir" : 'X\(/\)' \| \
3971          .     : '\(.\)' 2>/dev/null ||
3972 echo X"$as_dir" |
3973     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3974           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3975           /^X\(\/\/\)$/{ s//\1/; q; }
3976           /^X\(\/\).*/{ s//\1/; q; }
3977           s/.*/./; q'`
3978     done
3979     test ! -n "$as_dirs" || mkdir $as_dirs
3980   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
3981 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
3982    { (exit 1); exit 1; }; }; }
3983
3984     # echo "creating $dirpart/$file"
3985     echo '# dummy' > "$dirpart/$file"
3986   done
3987 done
3988  ;;
3989   esac
3990 done
3991 _ACEOF
3992
3993 cat >>$CONFIG_STATUS <<\_ACEOF
3994
3995 { (exit 0); exit 0; }
3996 _ACEOF
3997 chmod +x $CONFIG_STATUS
3998 ac_clean_files=$ac_clean_files_save
3999
4000
4001 # configure is writing to config.log, and then calls config.status.
4002 # config.status does its own redirection, appending to config.log.
4003 # Unfortunately, on DOS this fails, as config.log is still kept open
4004 # by configure, so config.status won't be able to write to it; its
4005 # output is simply discarded.  So we exec the FD to /dev/null,
4006 # effectively closing config.log, so it can be properly (re)opened and
4007 # appended to by config.status.  When coming back to configure, we
4008 # need to make the FD available again.
4009 if test "$no_create" != yes; then
4010   ac_cs_success=:
4011   ac_config_status_args=
4012   test "$silent" = yes &&
4013     ac_config_status_args="$ac_config_status_args --quiet"
4014   exec 5>/dev/null
4015   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4016   exec 5>>config.log
4017   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4018   # would make configure fail if this is the last instruction.
4019   $ac_cs_success || { (exit 1); exit 1; }
4020 fi
4021