]> sourceware.org Git - newlib-cygwin.git/blame - libgloss/arm/configure
2006-05-10 Jeff Johnston <jjohnstn@redhat.com>
[newlib-cygwin.git] / libgloss / arm / configure
CommitLineData
62a25ce1 1#! /bin/sh
62a25ce1 2# Guess values for system-dependent variables and create Makefiles.
4e71dc1e 3# Generated by GNU Autoconf 2.59.
62a25ce1 4#
4e71dc1e 5# Copyright (C) 2003 Free Software Foundation, Inc.
62a25ce1
MS
6# This configure script is free software; the Free Software Foundation
7# gives unlimited permission to copy, distribute and modify it.
4e71dc1e
JJ
8## --------------------- ##
9## M4sh Initialization. ##
10## --------------------- ##
11
12# Be Bourne compatible
13if 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+"$@"}'='"$@"'
19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23
24# Support unset when possible.
25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27else
28 as_unset=false
29fi
30
31
32# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH
34PS1='$ '
35PS2='> '
36PS4='+ '
37
38# NLS nuisances.
39for 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
43do
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
49done
50
51# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54else
55 as_expr=false
56fi
57
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60else
61 as_basename=false
62fi
63
64
65# Name of the executable.
66as_me=`$as_basename "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71echo 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.
80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83as_cr_digits='0123456789'
84as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86# The user is always right.
87if 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
97fi
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
110for as_dir in $PATH
111do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done
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
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do
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
152done
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
187case `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= ;;
192esac
193
194if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196else
197 as_expr=false
198fi
199
200rm -f conf$$ conf$$.exe conf$$.file
201echo >conf$$.file
202if 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
211elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213else
214 as_ln_s='cp -p'
215fi
216rm -f conf$$ conf$$.exe conf$$.file
217
218if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
223fi
62a25ce1 224
4e71dc1e
JJ
225as_executable_p="test -f"
226
227# Sed expression to map a string onto a valid CPP name.
228as_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.
231as_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.
236as_nl='
237'
238IFS=" $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.
247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249exec 6>&1
250
251#
252# Initializations.
253#
62a25ce1 254ac_default_prefix=/usr/local
4e71dc1e
JJ
255ac_config_libobj_dir=.
256cross_compiling=no
257subdirs=
258MFLAGS=
259MAKEFLAGS=
260SHELL=${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.
268PACKAGE_NAME=
269PACKAGE_TARNAME=
270PACKAGE_VERSION=
271PACKAGE_STRING=
272PACKAGE_BUGREPORT=
273
274ac_unique_file="redboot-crt0.S"
275ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS BUILD_CRT0_TRUE BUILD_CRT0_FALSE 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 CC am__leading_dot DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS AR LD RANLIB ac_ct_RANLIB CCAS CCASFLAGS objtype host_makefile_frag_path LIBOBJS LTLIBOBJS'
276ac_subst_files='host_makefile_frag'
62a25ce1
MS
277
278# Initialize some variables set by options.
4e71dc1e
JJ
279ac_init_help=
280ac_init_version=false
62a25ce1
MS
281# The variables have the same names as the options, with
282# dashes changed to underlines.
4e71dc1e 283cache_file=/dev/null
62a25ce1 284exec_prefix=NONE
62a25ce1 285no_create=
62a25ce1
MS
286no_recursion=
287prefix=NONE
288program_prefix=NONE
289program_suffix=NONE
290program_transform_name=s,x,x,
291silent=
292site=
293srcdir=
62a25ce1
MS
294verbose=
295x_includes=NONE
296x_libraries=NONE
4e71dc1e
JJ
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.
62a25ce1
MS
303bindir='${exec_prefix}/bin'
304sbindir='${exec_prefix}/sbin'
305libexecdir='${exec_prefix}/libexec'
306datadir='${prefix}/share'
307sysconfdir='${prefix}/etc'
308sharedstatedir='${prefix}/com'
309localstatedir='${prefix}/var'
310libdir='${exec_prefix}/lib'
311includedir='${prefix}/include'
312oldincludedir='/usr/include'
313infodir='${prefix}/info'
314mandir='${prefix}/man'
315
62a25ce1
MS
316ac_prev=
317for ac_option
318do
62a25ce1
MS
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
4e71dc1e 326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
62a25ce1
MS
327
328 # Accept the important Cygnus configure options, so we can diagnose typos.
329
4e71dc1e 330 case $ac_option in
62a25ce1
MS
331
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
333 ac_prev=bindir ;;
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
4e71dc1e 335 bindir=$ac_optarg ;;
62a25ce1
MS
336
337 -build | --build | --buil | --bui | --bu)
4e71dc1e 338 ac_prev=build_alias ;;
62a25ce1 339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
4e71dc1e 340 build_alias=$ac_optarg ;;
62a25ce1
MS
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=*)
4e71dc1e
JJ
347 cache_file=$ac_optarg ;;
348
349 --config-cache | -C)
350 cache_file=config.cache ;;
62a25ce1
MS
351
352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353 ac_prev=datadir ;;
354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355 | --da=*)
4e71dc1e 356 datadir=$ac_optarg ;;
62a25ce1
MS
357
358 -disable-* | --disable-*)
4e71dc1e 359 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
62a25ce1 360 # Reject names that are not valid shell variable names.
4e71dc1e
JJ
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" ;;
62a25ce1
MS
366
367 -enable-* | --enable-*)
4e71dc1e 368 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
62a25ce1 369 # Reject names that are not valid shell variable names.
4e71dc1e
JJ
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"`;;
62a25ce1
MS
376 *) ac_optarg=yes ;;
377 esac
4e71dc1e 378 eval "enable_$ac_feature='$ac_optarg'" ;;
62a25ce1
MS
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=*)
4e71dc1e 387 exec_prefix=$ac_optarg ;;
62a25ce1
MS
388
389 -gas | --gas | --ga | --g)
390 # Obsolete; use --with-gas.
391 with_gas=yes ;;
392
4e71dc1e
JJ
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 ;;
62a25ce1
MS
399
400 -host | --host | --hos | --ho)
4e71dc1e 401 ac_prev=host_alias ;;
62a25ce1 402 -host=* | --host=* | --hos=* | --ho=*)
4e71dc1e 403 host_alias=$ac_optarg ;;
62a25ce1
MS
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=*)
4e71dc1e 410 includedir=$ac_optarg ;;
62a25ce1
MS
411
412 -infodir | --infodir | --infodi | --infod | --info | --inf)
413 ac_prev=infodir ;;
414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
4e71dc1e 415 infodir=$ac_optarg ;;
62a25ce1
MS
416
417 -libdir | --libdir | --libdi | --libd)
418 ac_prev=libdir ;;
419 -libdir=* | --libdir=* | --libdi=* | --libd=*)
4e71dc1e 420 libdir=$ac_optarg ;;
62a25ce1
MS
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=*)
4e71dc1e 427 libexecdir=$ac_optarg ;;
62a25ce1
MS
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=*)
4e71dc1e 436 localstatedir=$ac_optarg ;;
62a25ce1
MS
437
438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439 ac_prev=mandir ;;
440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
4e71dc1e 441 mandir=$ac_optarg ;;
62a25ce1
MS
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 \
4e71dc1e 448 | --no-cr | --no-c | -n)
62a25ce1
MS
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=*)
4e71dc1e 462 oldincludedir=$ac_optarg ;;
62a25ce1
MS
463
464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465 ac_prev=prefix ;;
466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4e71dc1e 467 prefix=$ac_optarg ;;
62a25ce1
MS
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=*)
4e71dc1e 474 program_prefix=$ac_optarg ;;
62a25ce1
MS
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=*)
4e71dc1e 481 program_suffix=$ac_optarg ;;
62a25ce1
MS
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=*)
4e71dc1e 498 program_transform_name=$ac_optarg ;;
62a25ce1
MS
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=*)
4e71dc1e 508 sbindir=$ac_optarg ;;
62a25ce1
MS
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=*)
4e71dc1e 519 sharedstatedir=$ac_optarg ;;
62a25ce1
MS
520
521 -site | --site | --sit)
522 ac_prev=site ;;
523 -site=* | --site=* | --sit=*)
4e71dc1e 524 site=$ac_optarg ;;
62a25ce1
MS
525
526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527 ac_prev=srcdir ;;
528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4e71dc1e 529 srcdir=$ac_optarg ;;
62a25ce1
MS
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=*)
4e71dc1e 536 sysconfdir=$ac_optarg ;;
62a25ce1
MS
537
538 -target | --target | --targe | --targ | --tar | --ta | --t)
4e71dc1e 539 ac_prev=target_alias ;;
62a25ce1 540 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
4e71dc1e 541 target_alias=$ac_optarg ;;
62a25ce1
MS
542
543 -v | -verbose | --verbose | --verbos | --verbo | --verb)
544 verbose=yes ;;
545
4e71dc1e
JJ
546 -version | --version | --versio | --versi | --vers | -V)
547 ac_init_version=: ;;
62a25ce1
MS
548
549 -with-* | --with-*)
4e71dc1e 550 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
62a25ce1 551 # Reject names that are not valid shell variable names.
4e71dc1e
JJ
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; }; }
62a25ce1 555 ac_package=`echo $ac_package| sed 's/-/_/g'`
4e71dc1e
JJ
556 case $ac_option in
557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
62a25ce1
MS
558 *) ac_optarg=yes ;;
559 esac
4e71dc1e 560 eval "with_$ac_package='$ac_optarg'" ;;
62a25ce1
MS
561
562 -without-* | --without-*)
4e71dc1e 563 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
62a25ce1 564 # Reject names that are not valid shell variable names.
4e71dc1e
JJ
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" ;;
62a25ce1
MS
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=*)
4e71dc1e 580 x_includes=$ac_optarg ;;
62a25ce1
MS
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=*)
4e71dc1e 587 x_libraries=$ac_optarg ;;
62a25ce1 588
4e71dc1e
JJ
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
62a25ce1
MS
592 ;;
593
4e71dc1e
JJ
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
62a25ce1 604 *)
4e71dc1e
JJ
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}
62a25ce1
MS
610 ;;
611
612 esac
613done
614
615if test -n "$ac_prev"; then
4e71dc1e
JJ
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; }; }
62a25ce1 619fi
62a25ce1 620
4e71dc1e
JJ
621# Be sure to have absolute paths.
622for ac_var in exec_prefix prefix
623do
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
630done
62a25ce1 631
4e71dc1e
JJ
632# Be sure to have absolute paths.
633for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
62a25ce1 635do
4e71dc1e
JJ
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; }; };;
62a25ce1
MS
641 esac
642done
643
4e71dc1e
JJ
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.
647build=$build_alias
648host=$host_alias
649target=$target_alias
650
651# FIXME: To remove some day.
652if 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
660fi
62a25ce1 661
4e71dc1e
JJ
662ac_tool_prefix=
663test -n "$host_alias" && ac_tool_prefix=$host_alias-
664
665test "$silent" = yes && exec 6>/dev/null
62a25ce1 666
62a25ce1
MS
667
668# Find the source files, if location was not specified.
669if test -z "$srcdir"; then
670 ac_srcdir_defaulted=yes
671 # Try the directory containing this script, then its parent.
4e71dc1e
JJ
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 ||
678echo 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'`
62a25ce1
MS
684 srcdir=$ac_confdir
685 if test ! -r $srcdir/$ac_unique_file; then
686 srcdir=..
687 fi
688else
689 ac_srcdir_defaulted=no
690fi
691if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
4e71dc1e
JJ
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
62a25ce1 695 else
4e71dc1e
JJ
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
62a25ce1
MS
698 fi
699fi
4e71dc1e
JJ
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; }; }
703srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704ac_env_build_alias_set=${build_alias+set}
705ac_env_build_alias_value=$build_alias
706ac_cv_env_build_alias_set=${build_alias+set}
707ac_cv_env_build_alias_value=$build_alias
708ac_env_host_alias_set=${host_alias+set}
709ac_env_host_alias_value=$host_alias
710ac_cv_env_host_alias_set=${host_alias+set}
711ac_cv_env_host_alias_value=$host_alias
712ac_env_target_alias_set=${target_alias+set}
713ac_env_target_alias_value=$target_alias
714ac_cv_env_target_alias_set=${target_alias+set}
715ac_cv_env_target_alias_value=$target_alias
716ac_env_CCAS_set=${CCAS+set}
717ac_env_CCAS_value=$CCAS
718ac_cv_env_CCAS_set=${CCAS+set}
719ac_cv_env_CCAS_value=$CCAS
720ac_env_CCASFLAGS_set=${CCASFLAGS+set}
721ac_env_CCASFLAGS_value=$CCASFLAGS
722ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
723ac_cv_env_CCASFLAGS_value=$CCASFLAGS
724
725#
726# Report the --help message.
727#
728if 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
734Usage: $0 [OPTION]... [VAR=VALUE]...
735
736To assign environment variables (e.g., CC, CFLAGS...), specify them as
737VAR=VALUE. See below for descriptions of some of the useful variables.
738
739Defaults for the options are specified in brackets.
740
741Configuration:
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
755Installation 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
761By default, \`make install' will install all the files in
762\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
763an installation prefix other than \`$ac_default_prefix' using \`--prefix',
764for instance \`--prefix=\$HOME'.
765
766For better control, use the options below.
767
768Fine 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
785Program 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
790System 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
795fi
796
797if test -n "$ac_init_help"; then
798
799 cat <<\_ACEOF
800
801Optional Features:
802 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
803 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
804 --disable-newlib-supplied-syscalls disable newlib from supplying syscalls
805 --disable-dependency-tracking speeds up one-time build
806 --enable-dependency-tracking do not reject slow dependency extractors
807
808Some influential environment variables:
809 CCAS assembler compiler command (defaults to CC)
810 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
811
812Use these variables to override the choices made by `configure' or to help
813it to find libraries and programs with nonstandard names/locations.
814
815_ACEOF
816fi
817
818if test "$ac_init_help" = "recursive"; then
819 # If there are subdirs, report their specific --help.
820 ac_popdir=`pwd`
821 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
822 test -d $ac_dir || continue
823 ac_builddir=.
824
825if test "$ac_dir" != .; then
826 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
827 # A "../" for each directory in $ac_dir_suffix.
828 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
829else
830 ac_dir_suffix= ac_top_builddir=
831fi
832
833case $srcdir in
834 .) # No --srcdir option. We are building in place.
835 ac_srcdir=.
836 if test -z "$ac_top_builddir"; then
837 ac_top_srcdir=.
838 else
839 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
840 fi ;;
841 [\\/]* | ?:[\\/]* ) # Absolute path.
842 ac_srcdir=$srcdir$ac_dir_suffix;
843 ac_top_srcdir=$srcdir ;;
844 *) # Relative path.
845 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
846 ac_top_srcdir=$ac_top_builddir$srcdir ;;
847esac
848
849# Do not use `cd foo && pwd` to compute absolute paths, because
850# the directories may not exist.
851case `pwd` in
852.) ac_abs_builddir="$ac_dir";;
853*)
854 case "$ac_dir" in
855 .) ac_abs_builddir=`pwd`;;
856 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
857 *) ac_abs_builddir=`pwd`/"$ac_dir";;
858 esac;;
859esac
860case $ac_abs_builddir in
861.) ac_abs_top_builddir=${ac_top_builddir}.;;
862*)
863 case ${ac_top_builddir}. in
864 .) ac_abs_top_builddir=$ac_abs_builddir;;
865 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
866 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
867 esac;;
868esac
869case $ac_abs_builddir in
870.) ac_abs_srcdir=$ac_srcdir;;
871*)
872 case $ac_srcdir in
873 .) ac_abs_srcdir=$ac_abs_builddir;;
874 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
875 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
876 esac;;
877esac
878case $ac_abs_builddir in
879.) ac_abs_top_srcdir=$ac_top_srcdir;;
880*)
881 case $ac_top_srcdir in
882 .) ac_abs_top_srcdir=$ac_abs_builddir;;
883 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
884 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
885 esac;;
886esac
887
888 cd $ac_dir
889 # Check for guested configure; otherwise get Cygnus style configure.
890 if test -f $ac_srcdir/configure.gnu; then
891 echo
892 $SHELL $ac_srcdir/configure.gnu --help=recursive
893 elif test -f $ac_srcdir/configure; then
894 echo
895 $SHELL $ac_srcdir/configure --help=recursive
896 elif test -f $ac_srcdir/configure.ac ||
897 test -f $ac_srcdir/configure.in; then
898 echo
899 $ac_configure --help
900 else
901 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
902 fi
903 cd $ac_popdir
904 done
905fi
906
907test -n "$ac_init_help" && exit 0
908if $ac_init_version; then
909 cat <<\_ACEOF
910
911Copyright (C) 2003 Free Software Foundation, Inc.
912This configure script is free software; the Free Software Foundation
913gives unlimited permission to copy, distribute and modify it.
914_ACEOF
915 exit 0
916fi
917exec 5>config.log
918cat >&5 <<_ACEOF
919This file contains any messages produced by compilers while
920running configure, to aid debugging if configure makes a mistake.
921
922It was created by $as_me, which was
923generated by GNU Autoconf 2.59. Invocation command line was
924
925 $ $0 $@
926
927_ACEOF
928{
929cat <<_ASUNAME
930## --------- ##
931## Platform. ##
932## --------- ##
933
934hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
935uname -m = `(uname -m) 2>/dev/null || echo unknown`
936uname -r = `(uname -r) 2>/dev/null || echo unknown`
937uname -s = `(uname -s) 2>/dev/null || echo unknown`
938uname -v = `(uname -v) 2>/dev/null || echo unknown`
939
940/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
941/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
942
943/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
944/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
945/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
946hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
947/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
948/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
949/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
950
951_ASUNAME
952
953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
954for as_dir in $PATH
955do
956 IFS=$as_save_IFS
957 test -z "$as_dir" && as_dir=.
958 echo "PATH: $as_dir"
959done
960
961} >&5
962
963cat >&5 <<_ACEOF
964
965
966## ----------- ##
967## Core tests. ##
968## ----------- ##
969
970_ACEOF
971
972
973# Keep a trace of the command line.
974# Strip out --no-create and --no-recursion so they do not pile up.
975# Strip out --silent because we don't want to record it for future runs.
976# Also quote any args containing shell meta-characters.
977# Make two passes to allow for proper duplicate-argument suppression.
978ac_configure_args=
979ac_configure_args0=
980ac_configure_args1=
981ac_sep=
982ac_must_keep_next=false
983for ac_pass in 1 2
984do
985 for ac_arg
986 do
987 case $ac_arg in
988 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
990 | -silent | --silent | --silen | --sile | --sil)
991 continue ;;
992 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
993 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
994 esac
995 case $ac_pass in
996 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
997 2)
998 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
999 if test $ac_must_keep_next = true; then
1000 ac_must_keep_next=false # Got value, back to normal.
1001 else
1002 case $ac_arg in
1003 *=* | --config-cache | -C | -disable-* | --disable-* \
1004 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1005 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1006 | -with-* | --with-* | -without-* | --without-* | --x)
1007 case "$ac_configure_args0 " in
1008 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1009 esac
1010 ;;
1011 -* ) ac_must_keep_next=true ;;
1012 esac
1013 fi
1014 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1015 # Get rid of the leading space.
1016 ac_sep=" "
1017 ;;
1018 esac
1019 done
1020done
1021$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1022$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1023
1024# When interrupted or exit'd, cleanup temporary files, and complete
1025# config.log. We remove comments because anyway the quotes in there
1026# would cause problems or look ugly.
1027# WARNING: Be sure not to use single quotes in there, as some shells,
1028# such as our DU 5.0 friend, will then `close' the trap.
1029trap 'exit_status=$?
1030 # Save into config.log some information that might help in debugging.
1031 {
1032 echo
1033
1034 cat <<\_ASBOX
1035## ---------------- ##
1036## Cache variables. ##
1037## ---------------- ##
1038_ASBOX
1039 echo
1040 # The following way of writing the cache mishandles newlines in values,
1041{
1042 (set) 2>&1 |
1043 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1044 *ac_space=\ *)
1045 sed -n \
1046 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1047 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1048 ;;
1049 *)
1050 sed -n \
1051 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1052 ;;
1053 esac;
1054}
1055 echo
1056
1057 cat <<\_ASBOX
1058## ----------------- ##
1059## Output variables. ##
1060## ----------------- ##
1061_ASBOX
1062 echo
1063 for ac_var in $ac_subst_vars
1064 do
1065 eval ac_val=$`echo $ac_var`
1066 echo "$ac_var='"'"'$ac_val'"'"'"
1067 done | sort
1068 echo
1069
1070 if test -n "$ac_subst_files"; then
1071 cat <<\_ASBOX
1072## ------------- ##
1073## Output files. ##
1074## ------------- ##
1075_ASBOX
1076 echo
1077 for ac_var in $ac_subst_files
1078 do
1079 eval ac_val=$`echo $ac_var`
1080 echo "$ac_var='"'"'$ac_val'"'"'"
1081 done | sort
1082 echo
1083 fi
1084
1085 if test -s confdefs.h; then
1086 cat <<\_ASBOX
1087## ----------- ##
1088## confdefs.h. ##
1089## ----------- ##
1090_ASBOX
1091 echo
1092 sed "/^$/d" confdefs.h | sort
1093 echo
1094 fi
1095 test "$ac_signal" != 0 &&
1096 echo "$as_me: caught signal $ac_signal"
1097 echo "$as_me: exit $exit_status"
1098 } >&5
1099 rm -f core *.core &&
1100 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1101 exit $exit_status
1102 ' 0
1103for ac_signal in 1 2 13 15; do
1104 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1105done
1106ac_signal=0
1107
1108# confdefs.h avoids OS command line length limits that DEFS can exceed.
1109rm -rf conftest* confdefs.h
1110# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1111echo >confdefs.h
1112
1113# Predefined preprocessor variables.
62a25ce1 1114
4e71dc1e
JJ
1115cat >>confdefs.h <<_ACEOF
1116#define PACKAGE_NAME "$PACKAGE_NAME"
1117_ACEOF
1118
1119
1120cat >>confdefs.h <<_ACEOF
1121#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1122_ACEOF
1123
1124
1125cat >>confdefs.h <<_ACEOF
1126#define PACKAGE_VERSION "$PACKAGE_VERSION"
1127_ACEOF
1128
1129
1130cat >>confdefs.h <<_ACEOF
1131#define PACKAGE_STRING "$PACKAGE_STRING"
1132_ACEOF
1133
1134
1135cat >>confdefs.h <<_ACEOF
1136#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1137_ACEOF
1138
1139
1140# Let the site file select an alternate cache file if it wants to.
62a25ce1
MS
1141# Prefer explicitly selected file to automatically selected ones.
1142if test -z "$CONFIG_SITE"; then
1143 if test "x$prefix" != xNONE; then
1144 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1145 else
1146 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1147 fi
1148fi
1149for ac_site_file in $CONFIG_SITE; do
1150 if test -r "$ac_site_file"; then
4e71dc1e
JJ
1151 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1152echo "$as_me: loading site script $ac_site_file" >&6;}
1153 sed 's/^/| /' "$ac_site_file" >&5
62a25ce1
MS
1154 . "$ac_site_file"
1155 fi
1156done
1157
1158if test -r "$cache_file"; then
4e71dc1e
JJ
1159 # Some versions of bash will fail to source /dev/null (special
1160 # files actually), so we avoid doing that.
1161 if test -f "$cache_file"; then
1162 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1163echo "$as_me: loading cache $cache_file" >&6;}
1164 case $cache_file in
1165 [\\/]* | ?:[\\/]* ) . $cache_file;;
1166 *) . ./$cache_file;;
1167 esac
1168 fi
62a25ce1 1169else
4e71dc1e
JJ
1170 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1171echo "$as_me: creating cache $cache_file" >&6;}
1172 >$cache_file
62a25ce1
MS
1173fi
1174
4e71dc1e
JJ
1175# Check that the precious variables saved in the cache have kept the same
1176# value.
1177ac_cache_corrupted=false
1178for ac_var in `(set) 2>&1 |
1179 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1180 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1181 eval ac_new_set=\$ac_env_${ac_var}_set
1182 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1183 eval ac_new_val="\$ac_env_${ac_var}_value"
1184 case $ac_old_set,$ac_new_set in
1185 set,)
1186 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1187echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1188 ac_cache_corrupted=: ;;
1189 ,set)
1190 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1191echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1192 ac_cache_corrupted=: ;;
1193 ,);;
1194 *)
1195 if test "x$ac_old_val" != "x$ac_new_val"; then
1196 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1197echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1198 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1199echo "$as_me: former value: $ac_old_val" >&2;}
1200 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1201echo "$as_me: current value: $ac_new_val" >&2;}
1202 ac_cache_corrupted=:
1203 fi;;
1204 esac
1205 # Pass precious variables to config.status.
1206 if test "$ac_new_set" = set; then
1207 case $ac_new_val in
1208 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1209 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1210 *) ac_arg=$ac_var=$ac_new_val ;;
1211 esac
1212 case " $ac_configure_args " in
1213 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1214 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1215 esac
62a25ce1 1216 fi
4e71dc1e
JJ
1217done
1218if $ac_cache_corrupted; then
1219 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1220echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1221 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1222echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1223 { (exit 1); exit 1; }; }
62a25ce1
MS
1224fi
1225
4e71dc1e
JJ
1226ac_ext=c
1227ac_cpp='$CPP $CPPFLAGS'
1228ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1229ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1230ac_compiler_gnu=$ac_cv_c_compiler_gnu
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
62a25ce1
MS
1249
1250
a8992cba
JJ
1251# Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given.
1252if test "${enable_newlib_supplied_syscalls+set}" = set; then
1253 enableval="$enable_newlib_supplied_syscalls"
1254 case "${enableval}" in
1255 yes) newlib_may_supply_syscalls=yes ;;
1256 no) newlib_may_supply_syscalls=no ;;
4e71dc1e
JJ
1257 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for newlib-supplied-syscalls option" >&5
1258echo "$as_me: error: bad value ${enableval} for newlib-supplied-syscalls option" >&2;}
1259 { (exit 1); exit 1; }; } ;;
a8992cba
JJ
1260 esac
1261else
1262 newlib_may_supply_syscalls=yes
4e71dc1e 1263fi;
a8992cba 1264if test "x$newlib_may_supply_syscalls" = "xyes"; then
a8992cba
JJ
1265 BUILD_CRT0_TRUE='#'
1266 BUILD_CRT0_FALSE=
9276ec15
JJ
1267else
1268 BUILD_CRT0_TRUE=
1269 BUILD_CRT0_FALSE='#'
a8992cba
JJ
1270fi
1271
34da20b2
JJ
1272
1273
1274
62a25ce1
MS
1275if test "$srcdir" = "." ; then
1276 if test "${with_target_subdir}" != "." ; then
1277 libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
1278 else
1279 libgloss_topdir="${srcdir}/${with_multisrctop}../.."
1280 fi
1281else
1282 libgloss_topdir="${srcdir}/../.."
1283fi
1284ac_aux_dir=
1285for ac_dir in $libgloss_topdir $srcdir/$libgloss_topdir; do
1286 if test -f $ac_dir/install-sh; then
1287 ac_aux_dir=$ac_dir
1288 ac_install_sh="$ac_aux_dir/install-sh -c"
1289 break
1290 elif test -f $ac_dir/install.sh; then
1291 ac_aux_dir=$ac_dir
1292 ac_install_sh="$ac_aux_dir/install.sh -c"
1293 break
4e71dc1e
JJ
1294 elif test -f $ac_dir/shtool; then
1295 ac_aux_dir=$ac_dir
1296 ac_install_sh="$ac_aux_dir/shtool install -c"
1297 break
62a25ce1
MS
1298 fi
1299done
1300if test -z "$ac_aux_dir"; then
4e71dc1e
JJ
1301 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir $srcdir/$libgloss_topdir" >&5
1302echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir $srcdir/$libgloss_topdir" >&2;}
1303 { (exit 1); exit 1; }; }
62a25ce1 1304fi
4e71dc1e
JJ
1305ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1306ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1307ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
62a25ce1
MS
1308
1309
1310# Make sure we can run config.sub.
4e71dc1e
JJ
1311$ac_config_sub sun4 >/dev/null 2>&1 ||
1312 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1313echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1314 { (exit 1); exit 1; }; }
1315
1316echo "$as_me:$LINENO: checking build system type" >&5
1317echo $ECHO_N "checking build system type... $ECHO_C" >&6
1318if test "${ac_cv_build+set}" = set; then
1319 echo $ECHO_N "(cached) $ECHO_C" >&6
1320else
1321 ac_cv_build_alias=$build_alias
1322test -z "$ac_cv_build_alias" &&
1323 ac_cv_build_alias=`$ac_config_guess`
1324test -z "$ac_cv_build_alias" &&
1325 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1326echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1327 { (exit 1); exit 1; }; }
1328ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1329 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1330echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1331 { (exit 1); exit 1; }; }
62a25ce1 1332
4e71dc1e
JJ
1333fi
1334echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1335echo "${ECHO_T}$ac_cv_build" >&6
1336build=$ac_cv_build
1337build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1338build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1339build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1340
1341
1342echo "$as_me:$LINENO: checking host system type" >&5
1343echo $ECHO_N "checking host system type... $ECHO_C" >&6
1344if test "${ac_cv_host+set}" = set; then
1345 echo $ECHO_N "(cached) $ECHO_C" >&6
1346else
1347 ac_cv_host_alias=$host_alias
1348test -z "$ac_cv_host_alias" &&
1349 ac_cv_host_alias=$ac_cv_build_alias
1350ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1351 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1352echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1353 { (exit 1); exit 1; }; }
62a25ce1 1354
4e71dc1e
JJ
1355fi
1356echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1357echo "${ECHO_T}$ac_cv_host" >&6
1358host=$ac_cv_host
1359host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1360host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1361host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1362
1363
1364echo "$as_me:$LINENO: checking target system type" >&5
1365echo $ECHO_N "checking target system type... $ECHO_C" >&6
1366if test "${ac_cv_target+set}" = set; then
1367 echo $ECHO_N "(cached) $ECHO_C" >&6
1368else
1369 ac_cv_target_alias=$target_alias
1370test "x$ac_cv_target_alias" = "x" &&
1371 ac_cv_target_alias=$ac_cv_host_alias
1372ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1373 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1374echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1375 { (exit 1); exit 1; }; }
62a25ce1 1376
4e71dc1e
JJ
1377fi
1378echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1379echo "${ECHO_T}$ac_cv_target" >&6
1380target=$ac_cv_target
1381target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1382target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1383target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
62a25ce1 1384
62a25ce1 1385
4e71dc1e
JJ
1386# The aliases save the names the user supplied, while $host etc.
1387# will get canonicalized.
1388test -n "$target_alias" &&
62a25ce1
MS
1389 test "$program_prefix$program_suffix$program_transform_name" = \
1390 NONENONEs,x,x, &&
1391 program_prefix=${target_alias}-
62a25ce1 1392test "$program_prefix" != NONE &&
4e71dc1e 1393 program_transform_name="s,^,$program_prefix,;$program_transform_name"
62a25ce1
MS
1394# Use a double $ so make ignores it.
1395test "$program_suffix" != NONE &&
4e71dc1e
JJ
1396 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1397# Double any \ or $. echo might interpret backslashes.
1398# By default was `s,x,x', remove it if useless.
1399cat <<\_ACEOF >conftest.sed
1400s/[\\$]/&&/g;s/;s,x,x,$//
1401_ACEOF
1402program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1403rm conftest.sed
62a25ce1
MS
1404
1405
1406# Find a good install program. We prefer a C program (faster),
1407# so one script is as good as another. But avoid the broken or
1408# incompatible versions:
1409# SysV /etc/install, /usr/sbin/install
1410# SunOS /usr/etc/install
1411# IRIX /sbin/install
1412# AIX /bin/install
4e71dc1e 1413# AmigaOS /C/install, which installs bootblocks on floppy discs
62a25ce1
MS
1414# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1415# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1416# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4e71dc1e 1417# OS/2's system install, which has a completely different semantic
62a25ce1 1418# ./install, which can be erroneously created by make from ./install.sh.
4e71dc1e
JJ
1419echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1420echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
62a25ce1 1421if test -z "$INSTALL"; then
4e71dc1e
JJ
1422if test "${ac_cv_path_install+set}" = set; then
1423 echo $ECHO_N "(cached) $ECHO_C" >&6
62a25ce1 1424else
4e71dc1e
JJ
1425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1426for as_dir in $PATH
1427do
1428 IFS=$as_save_IFS
1429 test -z "$as_dir" && as_dir=.
1430 # Account for people who put trailing slashes in PATH elements.
1431case $as_dir/ in
1432 ./ | .// | /cC/* | \
1433 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1434 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1435 /usr/ucb/* ) ;;
1436 *)
1437 # OSF1 and SCO ODT 3.0 have their own names for install.
1438 # Don't use installbsd from OSF since it installs stuff as root
1439 # by default.
1440 for ac_prog in ginstall scoinst install; do
1441 for ac_exec_ext in '' $ac_executable_extensions; do
1442 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
62a25ce1 1443 if test $ac_prog = install &&
4e71dc1e 1444 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
62a25ce1
MS
1445 # AIX install. It has an incompatible calling convention.
1446 :
4e71dc1e
JJ
1447 elif test $ac_prog = install &&
1448 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1449 # program-specific install script used by HP pwplus--don't use.
1450 :
62a25ce1 1451 else
4e71dc1e
JJ
1452 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1453 break 3
62a25ce1
MS
1454 fi
1455 fi
1456 done
4e71dc1e
JJ
1457 done
1458 ;;
1459esac
1460done
1461
62a25ce1
MS
1462
1463fi
1464 if test "${ac_cv_path_install+set}" = set; then
4e71dc1e 1465 INSTALL=$ac_cv_path_install
62a25ce1
MS
1466 else
1467 # As a last resort, use the slow shell script. We don't cache a
1468 # path for INSTALL within a source directory, because that will
1469 # break other packages using the cache if that directory is
1470 # removed, or if the path is relative.
4e71dc1e 1471 INSTALL=$ac_install_sh
62a25ce1
MS
1472 fi
1473fi
4e71dc1e
JJ
1474echo "$as_me:$LINENO: result: $INSTALL" >&5
1475echo "${ECHO_T}$INSTALL" >&6
62a25ce1
MS
1476
1477# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1478# It thinks the first close brace ends the variable substitution.
1479test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1480
4e71dc1e 1481test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
62a25ce1
MS
1482
1483test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1484
1485
4e71dc1e
JJ
1486rm -rf .tst 2>/dev/null
1487mkdir .tst 2>/dev/null
1488if test -d .tst; then
1489 am__leading_dot=.
1490else
1491 am__leading_dot=_
1492fi
1493rmdir .tst 2>/dev/null
1494
1495DEPDIR="${am__leading_dot}deps"
1496
1497 ac_config_commands="$ac_config_commands depfiles"
1498
1499
1500am_make=${MAKE-make}
1501cat > confinc << 'END'
1502am__doit:
1503 @echo done
1504.PHONY: am__doit
1505END
1506# If we don't find an include directive, just comment out the code.
1507echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1508echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1509am__include="#"
1510am__quote=
1511_am_result=none
1512# First try GNU make style include.
1513echo "include confinc" > confmf
1514# We grep out `Entering directory' and `Leaving directory'
1515# messages which can occur if `w' ends up in MAKEFLAGS.
1516# In particular we don't look at `^make:' because GNU make might
1517# be invoked under some other name (usually "gmake"), in which
1518# case it prints its new name instead of `make'.
1519if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1520 am__include=include
1521 am__quote=
1522 _am_result=GNU
1523fi
1524# Now try BSD make style include.
1525if test "$am__include" = "#"; then
1526 echo '.include "confinc"' > confmf
1527 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1528 am__include=.include
1529 am__quote="\""
1530 _am_result=BSD
1531 fi
1532fi
1533
1534
1535echo "$as_me:$LINENO: result: $_am_result" >&5
1536echo "${ECHO_T}$_am_result" >&6
1537rm -f confinc confmf
1538
1539# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1540if test "${enable_dependency_tracking+set}" = set; then
1541 enableval="$enable_dependency_tracking"
1542
1543fi;
1544if test "x$enable_dependency_tracking" != xno; then
1545 am_depcomp="$ac_aux_dir/depcomp"
1546 AMDEPBACKSLASH='\'
1547fi
1548
1549
1550if test "x$enable_dependency_tracking" != xno; then
1551 AMDEP_TRUE=
1552 AMDEP_FALSE='#'
1553else
1554 AMDEP_TRUE='#'
1555 AMDEP_FALSE=
1556fi
62a25ce1
MS
1557
1558
1559
1560# Extract the first word of "gcc", so it can be a program name with args.
1561set dummy gcc; ac_word=$2
4e71dc1e
JJ
1562echo "$as_me:$LINENO: checking for $ac_word" >&5
1563echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1564if test "${ac_cv_prog_CC+set}" = set; then
1565 echo $ECHO_N "(cached) $ECHO_C" >&6
62a25ce1
MS
1566else
1567 if test -n "$CC"; then
1568 ac_cv_prog_CC="$CC" # Let the user override the test.
1569else
4e71dc1e
JJ
1570as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1571for as_dir in $PATH
1572do
1573 IFS=$as_save_IFS
1574 test -z "$as_dir" && as_dir=.
1575 for ac_exec_ext in '' $ac_executable_extensions; do
1576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1577 ac_cv_prog_CC="gcc"
1578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1579 break 2
1580 fi
1581done
1582done
1583
1584fi
1585fi
1586CC=$ac_cv_prog_CC
1587if test -n "$CC"; then
1588 echo "$as_me:$LINENO: result: $CC" >&5
1589echo "${ECHO_T}$CC" >&6
1590else
1591 echo "$as_me:$LINENO: result: no" >&5
1592echo "${ECHO_T}no" >&6
1593fi
1594
1595
1596depcc="$CC" am_compiler_list=
1597
1598echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1599echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1600if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1601 echo $ECHO_N "(cached) $ECHO_C" >&6
1602else
1603 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1604 # We make a subdir and do the tests there. Otherwise we can end up
1605 # making bogus files that we don't know about and never remove. For
1606 # instance it was reported that on HP-UX the gcc test will end up
1607 # making a dummy file named `D' -- because `-MD' means `put the output
1608 # in D'.
1609 mkdir conftest.dir
1610 # Copy depcomp to subdir because otherwise we won't find it if we're
1611 # using a relative directory.
1612 cp "$am_depcomp" conftest.dir
1613 cd conftest.dir
1614 # We will build objects and dependencies in a subdirectory because
1615 # it helps to detect inapplicable dependency modes. For instance
1616 # both Tru64's cc and ICC support -MD to output dependencies as a
1617 # side effect of compilation, but ICC will put the dependencies in
1618 # the current directory while Tru64 will put them in the object
1619 # directory.
1620 mkdir sub
1621
1622 am_cv_CC_dependencies_compiler_type=none
1623 if test "$am_compiler_list" = ""; then
1624 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1625 fi
1626 for depmode in $am_compiler_list; do
1627 # Setup a source with many dependencies, because some compilers
1628 # like to wrap large dependency lists on column 80 (with \), and
1629 # we should not choose a depcomp mode which is confused by this.
1630 #
1631 # We need to recreate these files for each test, as the compiler may
1632 # overwrite some of them when testing with obscure command lines.
1633 # This happens at least with the AIX C compiler.
1634 : > sub/conftest.c
1635 for i in 1 2 3 4 5 6; do
1636 echo '#include "conftst'$i'.h"' >> sub/conftest.c
1637 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1638 # Solaris 8's {/usr,}/bin/sh.
1639 touch sub/conftst$i.h
1640 done
1641 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1642
1643 case $depmode in
1644 nosideeffect)
1645 # after this tag, mechanisms are not by side-effect, so they'll
1646 # only be used when explicitly requested
1647 if test "x$enable_dependency_tracking" = xyes; then
1648 continue
1649 else
1650 break
1651 fi
1652 ;;
1653 none) break ;;
1654 esac
1655 # We check with `-c' and `-o' for the sake of the "dashmstdout"
1656 # mode. It turns out that the SunPro C++ compiler does not properly
1657 # handle `-M -o', and we need to detect this.
1658 if depmode=$depmode \
1659 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1660 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1661 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1662 >/dev/null 2>conftest.err &&
1663 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1664 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1665 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1666 # icc doesn't choke on unknown options, it will just issue warnings
1667 # or remarks (even with -Werror). So we grep stderr for any message
1668 # that says an option was ignored or not supported.
1669 # When given -MP, icc 7.0 and 7.1 complain thusly:
1670 # icc: Command line warning: ignoring option '-M'; no argument required
1671 # The diagnosis changed in icc 8.0:
1672 # icc: Command line remark: option '-MP' not supported
1673 if (grep 'ignoring option' conftest.err ||
1674 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1675 am_cv_CC_dependencies_compiler_type=$depmode
1676 break
1677 fi
62a25ce1
MS
1678 fi
1679 done
4e71dc1e
JJ
1680
1681 cd ..
1682 rm -rf conftest.dir
1683else
1684 am_cv_CC_dependencies_compiler_type=none
62a25ce1 1685fi
4e71dc1e 1686
62a25ce1 1687fi
4e71dc1e
JJ
1688echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
1689echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
1690CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1691
1692
1693
1694if
1695 test "x$enable_dependency_tracking" != xno \
1696 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1697 am__fastdepCC_TRUE=
1698 am__fastdepCC_FALSE='#'
62a25ce1 1699else
4e71dc1e
JJ
1700 am__fastdepCC_TRUE='#'
1701 am__fastdepCC_FALSE=
62a25ce1
MS
1702fi
1703
4e71dc1e 1704
62a25ce1
MS
1705if test -z "$CC"; then
1706 # Extract the first word of "cc", so it can be a program name with args.
1707set dummy cc; ac_word=$2
4e71dc1e
JJ
1708echo "$as_me:$LINENO: checking for $ac_word" >&5
1709echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1710if test "${ac_cv_prog_CC+set}" = set; then
1711 echo $ECHO_N "(cached) $ECHO_C" >&6
62a25ce1
MS
1712else
1713 if test -n "$CC"; then
1714 ac_cv_prog_CC="$CC" # Let the user override the test.
1715else
62a25ce1 1716 ac_prog_rejected=no
4e71dc1e
JJ
1717as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1718for as_dir in $PATH
1719do
1720 IFS=$as_save_IFS
1721 test -z "$as_dir" && as_dir=.
1722 for ac_exec_ext in '' $ac_executable_extensions; do
1723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1724 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1725 ac_prog_rejected=yes
1726 continue
1727 fi
1728 ac_cv_prog_CC="cc"
1729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1730 break 2
1731 fi
1732done
1733done
1734
62a25ce1
MS
1735if test $ac_prog_rejected = yes; then
1736 # We found a bogon in the path, so make sure we never use it.
1737 set dummy $ac_cv_prog_CC
1738 shift
4e71dc1e 1739 if test $# != 0; then
62a25ce1
MS
1740 # We chose a different compiler from the bogus one.
1741 # However, it has the same basename, so the bogon will be chosen
1742 # first if we set CC to just the basename; use the full file name.
1743 shift
4e71dc1e 1744 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
62a25ce1
MS
1745 fi
1746fi
1747fi
1748fi
4e71dc1e 1749CC=$ac_cv_prog_CC
62a25ce1 1750if test -n "$CC"; then
4e71dc1e
JJ
1751 echo "$as_me:$LINENO: result: $CC" >&5
1752echo "${ECHO_T}$CC" >&6
62a25ce1 1753else
4e71dc1e
JJ
1754 echo "$as_me:$LINENO: result: no" >&5
1755echo "${ECHO_T}no" >&6
62a25ce1
MS
1756fi
1757
4e71dc1e
JJ
1758 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
1759echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1760 { (exit 1); exit 1; }; }
62a25ce1
MS
1761fi
1762
4e71dc1e
JJ
1763echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
1764echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
1765if test "${ac_cv_c_compiler_gnu+set}" = set; then
1766 echo $ECHO_N "(cached) $ECHO_C" >&6
62a25ce1
MS
1767else
1768 cat > conftest.c <<EOF
1769#ifdef __GNUC__
1770 yes;
1771#endif
1772EOF
4e71dc1e
JJ
1773if { ac_try='${CC-cc} -E conftest.c'
1774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1775 (eval $ac_try) 2>&5
1776 ac_status=$?
1777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1778 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
1779 ac_cv_c_compiler_gnu=yes
62a25ce1 1780else
4e71dc1e 1781 ac_cv_c_compiler_gnu=no
62a25ce1
MS
1782fi
1783fi
4e71dc1e
JJ
1784echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1785echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
62a25ce1 1786
4e71dc1e 1787if test $ac_cv_c_compiler_gnu = yes; then
62a25ce1
MS
1788 GCC=yes
1789 ac_test_CFLAGS="${CFLAGS+set}"
1790 ac_save_CFLAGS="$CFLAGS"
1791 CFLAGS=
4e71dc1e
JJ
1792 ac_test_CFLAGS=${CFLAGS+set}
1793ac_save_CFLAGS=$CFLAGS
1794CFLAGS="-g"
1795echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1796echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1797if test "${ac_cv_prog_cc_g+set}" = set; then
1798 echo $ECHO_N "(cached) $ECHO_C" >&6
62a25ce1 1799else
4e71dc1e
JJ
1800 cat >conftest.$ac_ext <<_ACEOF
1801/* confdefs.h. */
1802_ACEOF
1803cat confdefs.h >>conftest.$ac_ext
1804cat >>conftest.$ac_ext <<_ACEOF
1805/* end confdefs.h. */
1806
1807int
1808main ()
1809{
1810
1811 ;
1812 return 0;
1813}
1814_ACEOF
1815rm -f conftest.$ac_objext
1816if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1817 (eval $ac_compile) 2>conftest.er1
1818 ac_status=$?
1819 grep -v '^ *+' conftest.er1 >conftest.err
1820 rm -f conftest.er1
1821 cat conftest.err >&5
1822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1823 (exit $ac_status); } &&
1824 { ac_try='test -z "$ac_c_werror_flag"
1825 || test ! -s conftest.err'
1826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1827 (eval $ac_try) 2>&5
1828 ac_status=$?
1829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1830 (exit $ac_status); }; } &&
1831 { ac_try='test -s conftest.$ac_objext'
1832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1833 (eval $ac_try) 2>&5
1834 ac_status=$?
1835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1836 (exit $ac_status); }; }; then
62a25ce1
MS
1837 ac_cv_prog_cc_g=yes
1838else
4e71dc1e
JJ
1839 echo "$as_me: failed program was:" >&5
1840sed 's/^/| /' conftest.$ac_ext >&5
62a25ce1 1841
4e71dc1e
JJ
1842ac_cv_prog_cc_g=no
1843fi
1844rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1845fi
1846echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1847echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1848if test "$ac_test_CFLAGS" = set; then
1849 CFLAGS=$ac_save_CFLAGS
1850elif test $ac_cv_prog_cc_g = yes; then
1851 if test "$GCC" = yes; then
1852 CFLAGS="-g -O2"
1853 else
1854 CFLAGS="-g"
1855 fi
1856else
1857 if test "$GCC" = yes; then
1858 CFLAGS="-O2"
1859 else
1860 CFLAGS=
1861 fi
62a25ce1 1862fi
62a25ce1
MS
1863 if test "$ac_test_CFLAGS" = set; then
1864 CFLAGS="$ac_save_CFLAGS"
1865 elif test $ac_cv_prog_cc_g = yes; then
1866 CFLAGS="-g -O2"
1867 else
1868 CFLAGS="-O2"
1869 fi
1870else
1871 GCC=
1872 test "${CFLAGS+set}" = set || CFLAGS="-g"
1873fi
1874
1875AS=${AS-as}
1876
1877AR=${AR-ar}
1878
1879LD=${LD-ld}
1880
4e71dc1e
JJ
1881if test -n "$ac_tool_prefix"; then
1882 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1883set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1884echo "$as_me:$LINENO: checking for $ac_word" >&5
1885echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1886if test "${ac_cv_prog_RANLIB+set}" = set; then
1887 echo $ECHO_N "(cached) $ECHO_C" >&6
62a25ce1
MS
1888else
1889 if test -n "$RANLIB"; then
1890 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1891else
4e71dc1e
JJ
1892as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1893for as_dir in $PATH
1894do
1895 IFS=$as_save_IFS
1896 test -z "$as_dir" && as_dir=.
1897 for ac_exec_ext in '' $ac_executable_extensions; do
1898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1899 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1901 break 2
1902 fi
1903done
1904done
1905
62a25ce1
MS
1906fi
1907fi
4e71dc1e 1908RANLIB=$ac_cv_prog_RANLIB
62a25ce1 1909if test -n "$RANLIB"; then
4e71dc1e
JJ
1910 echo "$as_me:$LINENO: result: $RANLIB" >&5
1911echo "${ECHO_T}$RANLIB" >&6
1912else
1913 echo "$as_me:$LINENO: result: no" >&5
1914echo "${ECHO_T}no" >&6
1915fi
1916
1917fi
1918if test -z "$ac_cv_prog_RANLIB"; then
1919 ac_ct_RANLIB=$RANLIB
1920 # Extract the first word of "ranlib", so it can be a program name with args.
1921set dummy ranlib; ac_word=$2
1922echo "$as_me:$LINENO: checking for $ac_word" >&5
1923echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1924if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1925 echo $ECHO_N "(cached) $ECHO_C" >&6
1926else
1927 if test -n "$ac_ct_RANLIB"; then
1928 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1929else
1930as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1931for as_dir in $PATH
1932do
1933 IFS=$as_save_IFS
1934 test -z "$as_dir" && as_dir=.
1935 for ac_exec_ext in '' $ac_executable_extensions; do
1936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1937 ac_cv_prog_ac_ct_RANLIB="ranlib"
1938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1939 break 2
1940 fi
1941done
1942done
1943
1944 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1945fi
1946fi
1947ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1948if test -n "$ac_ct_RANLIB"; then
1949 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1950echo "${ECHO_T}$ac_ct_RANLIB" >&6
1951else
1952 echo "$as_me:$LINENO: result: no" >&5
1953echo "${ECHO_T}no" >&6
1954fi
1955
1956 RANLIB=$ac_ct_RANLIB
62a25ce1 1957else
4e71dc1e 1958 RANLIB="$ac_cv_prog_RANLIB"
62a25ce1
MS
1959fi
1960
4e71dc1e
JJ
1961# By default we simply use the C compiler to build assembly code.
1962
1963test "${CCAS+set}" = set || CCAS=$CC
1964test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
1965
1966
1967
62a25ce1
MS
1968
1969case "${target}" in
5bc90268 1970 *-*-elf | *-*-eabi)
62a25ce1
MS
1971 objtype=elf-
1972 ;;
1973 *-*-coff)
1974 objtype=coff-
1975 ;;
1976esac
1977
1978
1979
1980host_makefile_frag=${srcdir}/../config/default.mh
1981
1982host_makefile_frag_path=$host_makefile_frag
1983
1984
1985
4e71dc1e
JJ
1986 ac_config_files="$ac_config_files Makefile"
1987
1988cat >confcache <<\_ACEOF
62a25ce1
MS
1989# This file is a shell script that caches the results of configure
1990# tests run on this system so they can be shared between configure
4e71dc1e
JJ
1991# scripts and configure runs, see configure's option --config-cache.
1992# It is not useful on other systems. If it contains results you don't
1993# want to keep, you may remove or edit it.
62a25ce1 1994#
4e71dc1e
JJ
1995# config.status only pays attention to the cache file if you give it
1996# the --recheck option to rerun configure.
62a25ce1 1997#
4e71dc1e
JJ
1998# `ac_cv_env_foo' variables (set or unset) will be overridden when
1999# loading this file, other *unset* `ac_cv_foo' will be assigned the
2000# following values.
2001
2002_ACEOF
2003
62a25ce1
MS
2004# The following way of writing the cache mishandles newlines in values,
2005# but we know of no workaround that is simple, portable, and efficient.
2006# So, don't put newlines in cache variables' values.
2007# Ultrix sh set writes to stderr and can't be redirected directly,
2008# and sets the high bit in the cache file unless we assign to the vars.
4e71dc1e
JJ
2009{
2010 (set) 2>&1 |
2011 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2012 *ac_space=\ *)
2013 # `set' does not quote correctly, so add quotes (double-quote
2014 # substitution turns \\\\ into \\, and sed turns \\ into \).
2015 sed -n \
2016 "s/'/'\\\\''/g;
2017 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2018 ;;
2019 *)
2020 # `set' quotes correctly as required by POSIX, so do not add quotes.
2021 sed -n \
2022 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2023 ;;
2024 esac;
2025} |
2026 sed '
2027 t clear
2028 : clear
2029 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2030 t end
2031 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2032 : end' >>confcache
2033if diff $cache_file confcache >/dev/null 2>&1; then :; else
62a25ce1 2034 if test -w $cache_file; then
4e71dc1e
JJ
2035 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2036 cat confcache >$cache_file
62a25ce1
MS
2037 else
2038 echo "not updating unwritable cache $cache_file"
2039 fi
2040fi
2041rm -f confcache
2042
62a25ce1
MS
2043test "x$prefix" = xNONE && prefix=$ac_default_prefix
2044# Let make expand exec_prefix.
2045test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2046
4e71dc1e
JJ
2047# VPATH may cause trouble with some makes, so we remove $(srcdir),
2048# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2049# trailing colons and then remove the whole line if VPATH becomes empty
2050# (actually we leave an empty line to preserve line numbers).
62a25ce1 2051if test "x$srcdir" = x.; then
4e71dc1e
JJ
2052 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2053s/:*\$(srcdir):*/:/;
2054s/:*\${srcdir}:*/:/;
2055s/:*@srcdir@:*/:/;
2056s/^\([^=]*=[ ]*\):*/\1/;
2057s/:*$//;
2058s/^[^=]*=[ ]*$//;
2059}'
62a25ce1
MS
2060fi
2061
62a25ce1
MS
2062# Transform confdefs.h into DEFS.
2063# Protect against shell expansion while executing Makefile rules.
2064# Protect against Makefile macro expansion.
4e71dc1e
JJ
2065#
2066# If the first sed substitution is executed (which looks for macros that
2067# take arguments), then we branch to the quote section. Otherwise,
2068# look for a macro that doesn't take arguments.
2069cat >confdef2opt.sed <<\_ACEOF
2070t clear
2071: clear
2072s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2073t quote
2074s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2075t quote
2076d
2077: quote
2078s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2079s,\[,\\&,g
2080s,\],\\&,g
2081s,\$,$$,g
2082p
2083_ACEOF
2084# We use echo to avoid assuming a particular line-breaking character.
2085# The extra dot is to prevent the shell from consuming trailing
2086# line-breaks from the sub-command output. A line-break within
2087# single-quotes doesn't work because, if this script is created in a
2088# platform that uses two characters for line-breaks (e.g., DOS), tr
2089# would break.
2090ac_LF_and_DOT=`echo; echo .`
2091DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2092rm -f confdef2opt.sed
2093
2094
2095ac_libobjs=
2096ac_ltlibobjs=
2097for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2098 # 1. Remove the extension, and $U if already installed.
2099 ac_i=`echo "$ac_i" |
2100 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2101 # 2. Add them.
2102 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2103 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2104done
2105LIBOBJS=$ac_libobjs
62a25ce1 2106
4e71dc1e 2107LTLIBOBJS=$ac_ltlibobjs
62a25ce1 2108
62a25ce1 2109
4e71dc1e
JJ
2110if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2111 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
2112Usually this means the macro was only invoked conditionally." >&5
2113echo "$as_me: error: conditional \"AMDEP\" was never defined.
2114Usually this means the macro was only invoked conditionally." >&2;}
2115 { (exit 1); exit 1; }; }
2116fi
2117if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
2118 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
2119Usually this means the macro was only invoked conditionally." >&5
2120echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
2121Usually this means the macro was only invoked conditionally." >&2;}
2122 { (exit 1); exit 1; }; }
2123fi
2124
2125: ${CONFIG_STATUS=./config.status}
2126ac_clean_files_save=$ac_clean_files
2127ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2128{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2129echo "$as_me: creating $CONFIG_STATUS" >&6;}
2130cat >$CONFIG_STATUS <<_ACEOF
2131#! $SHELL
2132# Generated by $as_me.
62a25ce1 2133# Run this file to recreate the current configuration.
62a25ce1 2134# Compiler output produced by configure, useful for debugging
4e71dc1e
JJ
2135# configure, is in config.log if it exists.
2136
2137debug=false
2138ac_cs_recheck=false
2139ac_cs_silent=false
2140SHELL=\${CONFIG_SHELL-$SHELL}
2141_ACEOF
2142
2143cat >>$CONFIG_STATUS <<\_ACEOF
2144## --------------------- ##
2145## M4sh Initialization. ##
2146## --------------------- ##
2147
2148# Be Bourne compatible
2149if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2150 emulate sh
2151 NULLCMD=:
2152 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2153 # is contrary to our usage. Disable this feature.
2154 alias -g '${1+"$@"}'='"$@"'
2155elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2156 set -o posix
2157fi
2158DUALCASE=1; export DUALCASE # for MKS sh
62a25ce1 2159
4e71dc1e
JJ
2160# Support unset when possible.
2161if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2162 as_unset=unset
2163else
2164 as_unset=false
2165fi
2166
2167
2168# Work around bugs in pre-3.0 UWIN ksh.
2169$as_unset ENV MAIL MAILPATH
2170PS1='$ '
2171PS2='> '
2172PS4='+ '
2173
2174# NLS nuisances.
2175for as_var in \
2176 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2177 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2178 LC_TELEPHONE LC_TIME
62a25ce1 2179do
4e71dc1e
JJ
2180 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2181 eval $as_var=C; export $as_var
2182 else
2183 $as_unset $as_var
2184 fi
62a25ce1
MS
2185done
2186
4e71dc1e
JJ
2187# Required to use basename.
2188if expr a : '\(a\)' >/dev/null 2>&1; then
2189 as_expr=expr
2190else
2191 as_expr=false
2192fi
62a25ce1 2193
4e71dc1e
JJ
2194if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2195 as_basename=basename
2196else
2197 as_basename=false
2198fi
62a25ce1 2199
62a25ce1 2200
4e71dc1e
JJ
2201# Name of the executable.
2202as_me=`$as_basename "$0" ||
2203$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2204 X"$0" : 'X\(//\)$' \| \
2205 X"$0" : 'X\(/\)$' \| \
2206 . : '\(.\)' 2>/dev/null ||
2207echo X/"$0" |
2208 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2209 /^X\/\(\/\/\)$/{ s//\1/; q; }
2210 /^X\/\(\/\).*/{ s//\1/; q; }
2211 s/.*/./; q'`
2212
2213
2214# PATH needs CR, and LINENO needs CR and PATH.
2215# Avoid depending upon Character Ranges.
2216as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2217as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2218as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2219as_cr_digits='0123456789'
2220as_cr_alnum=$as_cr_Letters$as_cr_digits
2221
2222# The user is always right.
2223if test "${PATH_SEPARATOR+set}" != set; then
2224 echo "#! /bin/sh" >conf$$.sh
2225 echo "exit 0" >>conf$$.sh
2226 chmod +x conf$$.sh
2227 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2228 PATH_SEPARATOR=';'
62a25ce1 2229 else
4e71dc1e 2230 PATH_SEPARATOR=:
62a25ce1 2231 fi
4e71dc1e 2232 rm -f conf$$.sh
62a25ce1 2233fi
62a25ce1 2234
62a25ce1 2235
4e71dc1e
JJ
2236 as_lineno_1=$LINENO
2237 as_lineno_2=$LINENO
2238 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2239 test "x$as_lineno_1" != "x$as_lineno_2" &&
2240 test "x$as_lineno_3" = "x$as_lineno_2" || {
2241 # Find who we are. Look in the path if we contain no path at all
2242 # relative or not.
2243 case $0 in
2244 *[\\/]* ) as_myself=$0 ;;
2245 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2246for as_dir in $PATH
2247do
2248 IFS=$as_save_IFS
2249 test -z "$as_dir" && as_dir=.
2250 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2251done
2252
2253 ;;
2254 esac
2255 # We did not find ourselves, most probably we were run as `sh COMMAND'
2256 # in which case we are not to be found in the path.
2257 if test "x$as_myself" = x; then
2258 as_myself=$0
2259 fi
2260 if test ! -f "$as_myself"; then
2261 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2262echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2263 { (exit 1); exit 1; }; }
2264 fi
2265 case $CONFIG_SHELL in
2266 '')
2267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2268for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2269do
2270 IFS=$as_save_IFS
2271 test -z "$as_dir" && as_dir=.
2272 for as_base in sh bash ksh sh5; do
2273 case $as_dir in
2274 /*)
2275 if ("$as_dir/$as_base" -c '
2276 as_lineno_1=$LINENO
2277 as_lineno_2=$LINENO
2278 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2279 test "x$as_lineno_1" != "x$as_lineno_2" &&
2280 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2281 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2282 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2283 CONFIG_SHELL=$as_dir/$as_base
2284 export CONFIG_SHELL
2285 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2286 fi;;
2287 esac
2288 done
2289done
2290;;
62a25ce1
MS
2291 esac
2292
4e71dc1e
JJ
2293 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2294 # uniformly replaced by the line number. The first 'sed' inserts a
2295 # line-number line before each line; the second 'sed' does the real
2296 # work. The second script uses 'N' to pair each line-number line
2297 # with the numbered line, and appends trailing '-' during
2298 # substitution so that $LINENO is not a special case at line end.
2299 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2300 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2301 sed '=' <$as_myself |
2302 sed '
2303 N
2304 s,$,-,
2305 : loop
2306 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2307 t loop
2308 s,-$,,
2309 s,^['$as_cr_digits']*\n,,
2310 ' >$as_me.lineno &&
2311 chmod +x $as_me.lineno ||
2312 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2313echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2314 { (exit 1); exit 1; }; }
2315
2316 # Don't try to exec as it changes $[0], causing all sort of problems
2317 # (the dirname of $[0] is not the place where we might find the
2318 # original and so on. Autoconf is especially sensible to this).
2319 . ./$as_me.lineno
2320 # Exit status is that of the last command.
2321 exit
2322}
2323
2324
2325case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2326 *c*,-n*) ECHO_N= ECHO_C='
2327' ECHO_T=' ' ;;
2328 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2329 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2330esac
62a25ce1 2331
4e71dc1e
JJ
2332if expr a : '\(a\)' >/dev/null 2>&1; then
2333 as_expr=expr
2334else
2335 as_expr=false
2336fi
2337
2338rm -f conf$$ conf$$.exe conf$$.file
2339echo >conf$$.file
2340if ln -s conf$$.file conf$$ 2>/dev/null; then
2341 # We could just check for DJGPP; but this test a) works b) is more generic
2342 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2343 if test -f conf$$.exe; then
2344 # Don't use ln at all; we don't have any links
2345 as_ln_s='cp -p'
62a25ce1 2346 else
4e71dc1e 2347 as_ln_s='ln -s'
62a25ce1 2348 fi
4e71dc1e
JJ
2349elif ln conf$$.file conf$$ 2>/dev/null; then
2350 as_ln_s=ln
2351else
2352 as_ln_s='cp -p'
2353fi
2354rm -f conf$$ conf$$.exe conf$$.file
62a25ce1 2355
4e71dc1e
JJ
2356if mkdir -p . 2>/dev/null; then
2357 as_mkdir_p=:
2358else
2359 test -d ./-p && rmdir ./-p
2360 as_mkdir_p=false
2361fi
2362
2363as_executable_p="test -f"
2364
2365# Sed expression to map a string onto a valid CPP name.
2366as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2367
2368# Sed expression to map a string onto a valid variable name.
2369as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2370
2371
2372# IFS
2373# We need space, tab and new line, in precisely that order.
2374as_nl='
2375'
2376IFS=" $as_nl"
2377
2378# CDPATH.
2379$as_unset CDPATH
2380
2381exec 6>&1
2382
2383# Open the log real soon, to keep \$[0] and so on meaningful, and to
2384# report actual input values of CONFIG_FILES etc. instead of their
2385# values after options handling. Logging --version etc. is OK.
2386exec 5>>config.log
2387{
2388 echo
2389 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2390## Running $as_me. ##
2391_ASBOX
2392} >&5
2393cat >&5 <<_CSEOF
2394
2395This file was extended by $as_me, which was
2396generated by GNU Autoconf 2.59. Invocation command line was
2397
2398 CONFIG_FILES = $CONFIG_FILES
2399 CONFIG_HEADERS = $CONFIG_HEADERS
2400 CONFIG_LINKS = $CONFIG_LINKS
2401 CONFIG_COMMANDS = $CONFIG_COMMANDS
2402 $ $0 $@
62a25ce1 2403
4e71dc1e
JJ
2404_CSEOF
2405echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2406echo >&5
2407_ACEOF
2408
2409# Files that config.status was made for.
2410if test -n "$ac_config_files"; then
2411 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2412fi
2413
2414if test -n "$ac_config_headers"; then
2415 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2416fi
2417
2418if test -n "$ac_config_links"; then
2419 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2420fi
2421
2422if test -n "$ac_config_commands"; then
2423 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2424fi
2425
2426cat >>$CONFIG_STATUS <<\_ACEOF
2427
2428ac_cs_usage="\
2429\`$as_me' instantiates files from templates according to the
2430current configuration.
2431
2432Usage: $0 [OPTIONS] [FILE]...
2433
2434 -h, --help print this help, then exit
2435 -V, --version print version number, then exit
2436 -q, --quiet do not print progress messages
2437 -d, --debug don't remove temporary files
2438 --recheck update $as_me by reconfiguring in the same conditions
2439 --file=FILE[:TEMPLATE]
2440 instantiate the configuration file FILE
2441
2442Configuration files:
2443$config_files
2444
2445Configuration commands:
2446$config_commands
2447
2448Report bugs to <bug-autoconf@gnu.org>."
2449_ACEOF
2450
2451cat >>$CONFIG_STATUS <<_ACEOF
2452ac_cs_version="\\
2453config.status
2454configured by $0, generated by GNU Autoconf 2.59,
2455 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2456
2457Copyright (C) 2003 Free Software Foundation, Inc.
2458This config.status script is free software; the Free Software Foundation
2459gives unlimited permission to copy, distribute and modify it."
2460srcdir=$srcdir
2461INSTALL="$INSTALL"
2462_ACEOF
2463
2464cat >>$CONFIG_STATUS <<\_ACEOF
2465# If no file are specified by the user, then we need to provide default
2466# value. By we need to know if files were specified by the user.
2467ac_need_defaults=:
2468while test $# != 0
2469do
2470 case $1 in
2471 --*=*)
2472 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2473 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2474 ac_shift=:
2475 ;;
2476 -*)
2477 ac_option=$1
2478 ac_optarg=$2
2479 ac_shift=shift
2480 ;;
2481 *) # This is not an option, so the user has probably given explicit
2482 # arguments.
2483 ac_option=$1
2484 ac_need_defaults=false;;
62a25ce1
MS
2485 esac
2486
4e71dc1e
JJ
2487 case $ac_option in
2488 # Handling of the options.
2489_ACEOF
2490cat >>$CONFIG_STATUS <<\_ACEOF
2491 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2492 ac_cs_recheck=: ;;
2493 --version | --vers* | -V )
2494 echo "$ac_cs_version"; exit 0 ;;
2495 --he | --h)
2496 # Conflict between --help and --header
2497 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2498Try \`$0 --help' for more information." >&5
2499echo "$as_me: error: ambiguous option: $1
2500Try \`$0 --help' for more information." >&2;}
2501 { (exit 1); exit 1; }; };;
2502 --help | --hel | -h )
2503 echo "$ac_cs_usage"; exit 0 ;;
2504 --debug | --d* | -d )
2505 debug=: ;;
2506 --file | --fil | --fi | --f )
2507 $ac_shift
2508 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2509 ac_need_defaults=false;;
2510 --header | --heade | --head | --hea )
2511 $ac_shift
2512 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2513 ac_need_defaults=false;;
2514 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2515 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2516 ac_cs_silent=: ;;
2517
2518 # This is an error.
2519 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2520Try \`$0 --help' for more information." >&5
2521echo "$as_me: error: unrecognized option: $1
2522Try \`$0 --help' for more information." >&2;}
2523 { (exit 1); exit 1; }; } ;;
2524
2525 *) ac_config_targets="$ac_config_targets $1" ;;
2526
62a25ce1 2527 esac
4e71dc1e
JJ
2528 shift
2529done
62a25ce1 2530
4e71dc1e 2531ac_configure_extra_args=
62a25ce1 2532
4e71dc1e
JJ
2533if $ac_cs_silent; then
2534 exec 6>/dev/null
2535 ac_configure_extra_args="$ac_configure_extra_args --silent"
2536fi
2537
2538_ACEOF
2539cat >>$CONFIG_STATUS <<_ACEOF
2540if \$ac_cs_recheck; then
2541 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2542 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2543fi
2544
2545_ACEOF
2546
2547cat >>$CONFIG_STATUS <<_ACEOF
2548#
2549# INIT-COMMANDS section.
2550#
2551
2552AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
62a25ce1
MS
2553srcdir=${srcdir}
2554target=${target}
00a4b31a 2555with_multisubdir=${with_multisubdir}
62a25ce1
MS
2556ac_configure_args="${ac_configure_args} --enable-multilib"
2557CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
2558libgloss_topdir=${libgloss_topdir}
2559
4e71dc1e
JJ
2560
2561_ACEOF
2562
2563
2564
2565cat >>$CONFIG_STATUS <<\_ACEOF
2566for ac_config_target in $ac_config_targets
2567do
2568 case "$ac_config_target" in
2569 # Handling of arguments.
2570 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2571 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
2572 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2573echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2574 { (exit 1); exit 1; }; };;
2575 esac
2576done
2577
2578# If the user did not use the arguments to specify the items to instantiate,
2579# then the envvar interface is used. Set only those that are not.
2580# We use the long form for the default assignment because of an extremely
2581# bizarre bug on SunOS 4.1.3.
2582if $ac_need_defaults; then
2583 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2584 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
2585fi
2586
2587# Have a temporary directory for convenience. Make it in the build tree
2588# simply because there is no reason to put it here, and in addition,
2589# creating and moving files from /tmp can sometimes cause problems.
2590# Create a temporary directory, and hook for its removal unless debugging.
2591$debug ||
2592{
2593 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2594 trap '{ (exit 1); exit 1; }' 1 2 13 15
2595}
2596
2597# Create a (secure) tmp directory for tmp files.
2598
2599{
2600 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2601 test -n "$tmp" && test -d "$tmp"
2602} ||
2603{
2604 tmp=./confstat$$-$RANDOM
2605 (umask 077 && mkdir $tmp)
2606} ||
2607{
2608 echo "$me: cannot create a temporary directory in ." >&2
2609 { (exit 1); exit 1; }
2610}
2611
2612_ACEOF
2613
2614cat >>$CONFIG_STATUS <<_ACEOF
2615
2616#
2617# CONFIG_FILES section.
2618#
2619
2620# No need to generate the scripts if there are no CONFIG_FILES.
2621# This happens for instance when ./config.status config.h
2622if test -n "\$CONFIG_FILES"; then
2623 # Protect against being on the right side of a sed subst in config.status.
2624 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2625 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2626s,@SHELL@,$SHELL,;t t
2627s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2628s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2629s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2630s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2631s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2632s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2633s,@exec_prefix@,$exec_prefix,;t t
2634s,@prefix@,$prefix,;t t
2635s,@program_transform_name@,$program_transform_name,;t t
2636s,@bindir@,$bindir,;t t
2637s,@sbindir@,$sbindir,;t t
2638s,@libexecdir@,$libexecdir,;t t
2639s,@datadir@,$datadir,;t t
2640s,@sysconfdir@,$sysconfdir,;t t
2641s,@sharedstatedir@,$sharedstatedir,;t t
2642s,@localstatedir@,$localstatedir,;t t
2643s,@libdir@,$libdir,;t t
2644s,@includedir@,$includedir,;t t
2645s,@oldincludedir@,$oldincludedir,;t t
2646s,@infodir@,$infodir,;t t
2647s,@mandir@,$mandir,;t t
2648s,@build_alias@,$build_alias,;t t
2649s,@host_alias@,$host_alias,;t t
2650s,@target_alias@,$target_alias,;t t
2651s,@DEFS@,$DEFS,;t t
2652s,@ECHO_C@,$ECHO_C,;t t
2653s,@ECHO_N@,$ECHO_N,;t t
2654s,@ECHO_T@,$ECHO_T,;t t
2655s,@LIBS@,$LIBS,;t t
2656s,@BUILD_CRT0_TRUE@,$BUILD_CRT0_TRUE,;t t
2657s,@BUILD_CRT0_FALSE@,$BUILD_CRT0_FALSE,;t t
2658s,@build@,$build,;t t
2659s,@build_cpu@,$build_cpu,;t t
2660s,@build_vendor@,$build_vendor,;t t
2661s,@build_os@,$build_os,;t t
2662s,@host@,$host,;t t
2663s,@host_cpu@,$host_cpu,;t t
2664s,@host_vendor@,$host_vendor,;t t
2665s,@host_os@,$host_os,;t t
2666s,@target@,$target,;t t
2667s,@target_cpu@,$target_cpu,;t t
2668s,@target_vendor@,$target_vendor,;t t
2669s,@target_os@,$target_os,;t t
2670s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2671s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2672s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2673s,@CC@,$CC,;t t
2674s,@am__leading_dot@,$am__leading_dot,;t t
2675s,@DEPDIR@,$DEPDIR,;t t
2676s,@am__include@,$am__include,;t t
2677s,@am__quote@,$am__quote,;t t
2678s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
2679s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
2680s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
2681s,@CCDEPMODE@,$CCDEPMODE,;t t
2682s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
2683s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
2684s,@AS@,$AS,;t t
2685s,@AR@,$AR,;t t
2686s,@LD@,$LD,;t t
2687s,@RANLIB@,$RANLIB,;t t
2688s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
2689s,@CCAS@,$CCAS,;t t
2690s,@CCASFLAGS@,$CCASFLAGS,;t t
2691s,@objtype@,$objtype,;t t
2692s,@host_makefile_frag_path@,$host_makefile_frag_path,;t t
2693s,@LIBOBJS@,$LIBOBJS,;t t
2694s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2695/@host_makefile_frag@/r $host_makefile_frag
2696s,@host_makefile_frag@,,;t t
2697CEOF
2698
2699_ACEOF
2700
2701 cat >>$CONFIG_STATUS <<\_ACEOF
2702 # Split the substitutions into bite-sized pieces for seds with
2703 # small command number limits, like on Digital OSF/1 and HP-UX.
2704 ac_max_sed_lines=48
2705 ac_sed_frag=1 # Number of current file.
2706 ac_beg=1 # First line for current file.
2707 ac_end=$ac_max_sed_lines # Line after last line for current file.
2708 ac_more_lines=:
2709 ac_sed_cmds=
2710 while $ac_more_lines; do
2711 if test $ac_beg -gt 1; then
2712 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2713 else
2714 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2715 fi
2716 if test ! -s $tmp/subs.frag; then
2717 ac_more_lines=false
2718 else
2719 # The purpose of the label and of the branching condition is to
2720 # speed up the sed processing (if there are no `@' at all, there
2721 # is no need to browse any of the substitutions).
2722 # These are the two extra sed commands mentioned above.
2723 (echo ':t
2724 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2725 if test -z "$ac_sed_cmds"; then
2726 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2727 else
2728 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2729 fi
2730 ac_sed_frag=`expr $ac_sed_frag + 1`
2731 ac_beg=$ac_end
2732 ac_end=`expr $ac_end + $ac_max_sed_lines`
2733 fi
2734 done
2735 if test -z "$ac_sed_cmds"; then
2736 ac_sed_cmds=cat
2737 fi
2738fi # test -n "$CONFIG_FILES"
2739
2740_ACEOF
2741cat >>$CONFIG_STATUS <<\_ACEOF
2742for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2743 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2744 case $ac_file in
2745 - | *:- | *:-:* ) # input from stdin
2746 cat >$tmp/stdin
2747 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2748 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2749 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2750 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2751 * ) ac_file_in=$ac_file.in ;;
2752 esac
2753
2754 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2755 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2756$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2757 X"$ac_file" : 'X\(//\)[^/]' \| \
2758 X"$ac_file" : 'X\(//\)$' \| \
2759 X"$ac_file" : 'X\(/\)' \| \
2760 . : '\(.\)' 2>/dev/null ||
2761echo X"$ac_file" |
2762 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2763 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2764 /^X\(\/\/\)$/{ s//\1/; q; }
2765 /^X\(\/\).*/{ s//\1/; q; }
2766 s/.*/./; q'`
2767 { if $as_mkdir_p; then
2768 mkdir -p "$ac_dir"
2769 else
2770 as_dir="$ac_dir"
2771 as_dirs=
2772 while test ! -d "$as_dir"; do
2773 as_dirs="$as_dir $as_dirs"
2774 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2775$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2776 X"$as_dir" : 'X\(//\)[^/]' \| \
2777 X"$as_dir" : 'X\(//\)$' \| \
2778 X"$as_dir" : 'X\(/\)' \| \
2779 . : '\(.\)' 2>/dev/null ||
2780echo X"$as_dir" |
2781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2782 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2783 /^X\(\/\/\)$/{ s//\1/; q; }
2784 /^X\(\/\).*/{ s//\1/; q; }
2785 s/.*/./; q'`
2786 done
2787 test ! -n "$as_dirs" || mkdir $as_dirs
2788 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2789echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2790 { (exit 1); exit 1; }; }; }
2791
2792 ac_builddir=.
2793
2794if test "$ac_dir" != .; then
2795 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2796 # A "../" for each directory in $ac_dir_suffix.
2797 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2798else
2799 ac_dir_suffix= ac_top_builddir=
2800fi
2801
2802case $srcdir in
2803 .) # No --srcdir option. We are building in place.
2804 ac_srcdir=.
2805 if test -z "$ac_top_builddir"; then
2806 ac_top_srcdir=.
2807 else
2808 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2809 fi ;;
2810 [\\/]* | ?:[\\/]* ) # Absolute path.
2811 ac_srcdir=$srcdir$ac_dir_suffix;
2812 ac_top_srcdir=$srcdir ;;
2813 *) # Relative path.
2814 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2815 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2816esac
2817
2818# Do not use `cd foo && pwd` to compute absolute paths, because
2819# the directories may not exist.
2820case `pwd` in
2821.) ac_abs_builddir="$ac_dir";;
2822*)
2823 case "$ac_dir" in
2824 .) ac_abs_builddir=`pwd`;;
2825 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2826 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2827 esac;;
2828esac
2829case $ac_abs_builddir in
2830.) ac_abs_top_builddir=${ac_top_builddir}.;;
2831*)
2832 case ${ac_top_builddir}. in
2833 .) ac_abs_top_builddir=$ac_abs_builddir;;
2834 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2835 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2836 esac;;
2837esac
2838case $ac_abs_builddir in
2839.) ac_abs_srcdir=$ac_srcdir;;
2840*)
2841 case $ac_srcdir in
2842 .) ac_abs_srcdir=$ac_abs_builddir;;
2843 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2844 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2845 esac;;
2846esac
2847case $ac_abs_builddir in
2848.) ac_abs_top_srcdir=$ac_top_srcdir;;
2849*)
2850 case $ac_top_srcdir in
2851 .) ac_abs_top_srcdir=$ac_abs_builddir;;
2852 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2853 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2854 esac;;
2855esac
2856
2857
2858 case $INSTALL in
2859 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2860 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2861 esac
2862
2863 if test x"$ac_file" != x-; then
2864 { echo "$as_me:$LINENO: creating $ac_file" >&5
2865echo "$as_me: creating $ac_file" >&6;}
2866 rm -f "$ac_file"
2867 fi
2868 # Let's still pretend it is `configure' which instantiates (i.e., don't
2869 # use $as_me), people would be surprised to read:
2870 # /* config.h. Generated by config.status. */
2871 if test x"$ac_file" = x-; then
2872 configure_input=
2873 else
2874 configure_input="$ac_file. "
2875 fi
2876 configure_input=$configure_input"Generated from `echo $ac_file_in |
2877 sed 's,.*/,,'` by configure."
2878
2879 # First look for the input files in the build tree, otherwise in the
2880 # src tree.
2881 ac_file_inputs=`IFS=:
2882 for f in $ac_file_in; do
2883 case $f in
2884 -) echo $tmp/stdin ;;
2885 [\\/$]*)
2886 # Absolute (can't be DOS-style, as IFS=:)
2887 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2888echo "$as_me: error: cannot find input file: $f" >&2;}
2889 { (exit 1); exit 1; }; }
2890 echo "$f";;
2891 *) # Relative
2892 if test -f "$f"; then
2893 # Build tree
2894 echo "$f"
2895 elif test -f "$srcdir/$f"; then
2896 # Source tree
2897 echo "$srcdir/$f"
2898 else
2899 # /dev/null tree
2900 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2901echo "$as_me: error: cannot find input file: $f" >&2;}
2902 { (exit 1); exit 1; }; }
2903 fi;;
2904 esac
2905 done` || { (exit 1); exit 1; }
2906_ACEOF
2907cat >>$CONFIG_STATUS <<_ACEOF
2908 sed "$ac_vpsub
2909$extrasub
2910_ACEOF
2911cat >>$CONFIG_STATUS <<\_ACEOF
2912:t
2913/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2914s,@configure_input@,$configure_input,;t t
2915s,@srcdir@,$ac_srcdir,;t t
2916s,@abs_srcdir@,$ac_abs_srcdir,;t t
2917s,@top_srcdir@,$ac_top_srcdir,;t t
2918s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2919s,@builddir@,$ac_builddir,;t t
2920s,@abs_builddir@,$ac_abs_builddir,;t t
2921s,@top_builddir@,$ac_top_builddir,;t t
2922s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2923s,@INSTALL@,$ac_INSTALL,;t t
2924" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2925 rm -f $tmp/stdin
2926 if test x"$ac_file" != x-; then
2927 mv $tmp/out $ac_file
2928 else
2929 cat $tmp/out
2930 rm -f $tmp/out
2931 fi
2932
2933 # Run the commands associated with the file.
2934 case $ac_file in
2935 Makefile ) . ${libgloss_topdir}/config-ml.in ;;
2936 esac
2937done
2938_ACEOF
2939cat >>$CONFIG_STATUS <<\_ACEOF
2940
2941#
2942# CONFIG_COMMANDS section.
2943#
2944for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
2945 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
2946 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
2947 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
2948$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2949 X"$ac_dest" : 'X\(//\)[^/]' \| \
2950 X"$ac_dest" : 'X\(//\)$' \| \
2951 X"$ac_dest" : 'X\(/\)' \| \
2952 . : '\(.\)' 2>/dev/null ||
2953echo X"$ac_dest" |
2954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2955 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2956 /^X\(\/\/\)$/{ s//\1/; q; }
2957 /^X\(\/\).*/{ s//\1/; q; }
2958 s/.*/./; q'`
2959 { if $as_mkdir_p; then
2960 mkdir -p "$ac_dir"
2961 else
2962 as_dir="$ac_dir"
2963 as_dirs=
2964 while test ! -d "$as_dir"; do
2965 as_dirs="$as_dir $as_dirs"
2966 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2967$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2968 X"$as_dir" : 'X\(//\)[^/]' \| \
2969 X"$as_dir" : 'X\(//\)$' \| \
2970 X"$as_dir" : 'X\(/\)' \| \
2971 . : '\(.\)' 2>/dev/null ||
2972echo X"$as_dir" |
2973 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2974 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2975 /^X\(\/\/\)$/{ s//\1/; q; }
2976 /^X\(\/\).*/{ s//\1/; q; }
2977 s/.*/./; q'`
2978 done
2979 test ! -n "$as_dirs" || mkdir $as_dirs
2980 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2981echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2982 { (exit 1); exit 1; }; }; }
2983
2984 ac_builddir=.
2985
2986if test "$ac_dir" != .; then
2987 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2988 # A "../" for each directory in $ac_dir_suffix.
2989 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2990else
2991 ac_dir_suffix= ac_top_builddir=
2992fi
2993
2994case $srcdir in
2995 .) # No --srcdir option. We are building in place.
2996 ac_srcdir=.
2997 if test -z "$ac_top_builddir"; then
2998 ac_top_srcdir=.
2999 else
3000 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3001 fi ;;
3002 [\\/]* | ?:[\\/]* ) # Absolute path.
3003 ac_srcdir=$srcdir$ac_dir_suffix;
3004 ac_top_srcdir=$srcdir ;;
3005 *) # Relative path.
3006 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3007 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3008esac
3009
3010# Do not use `cd foo && pwd` to compute absolute paths, because
3011# the directories may not exist.
3012case `pwd` in
3013.) ac_abs_builddir="$ac_dir";;
3014*)
3015 case "$ac_dir" in
3016 .) ac_abs_builddir=`pwd`;;
3017 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3018 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3019 esac;;
3020esac
3021case $ac_abs_builddir in
3022.) ac_abs_top_builddir=${ac_top_builddir}.;;
3023*)
3024 case ${ac_top_builddir}. in
3025 .) ac_abs_top_builddir=$ac_abs_builddir;;
3026 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3027 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3028 esac;;
3029esac
3030case $ac_abs_builddir in
3031.) ac_abs_srcdir=$ac_srcdir;;
3032*)
3033 case $ac_srcdir in
3034 .) ac_abs_srcdir=$ac_abs_builddir;;
3035 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3036 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3037 esac;;
3038esac
3039case $ac_abs_builddir in
3040.) ac_abs_top_srcdir=$ac_top_srcdir;;
3041*)
3042 case $ac_top_srcdir in
3043 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3044 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3045 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3046 esac;;
3047esac
3048
3049
3050 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3051echo "$as_me: executing $ac_dest commands" >&6;}
3052 case $ac_dest in
3053 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
3054 # Strip MF so we end up with the name of the file.
3055 mf=`echo "$mf" | sed -e 's/:.*$//'`
3056 # Check whether this is an Automake generated Makefile or not.
3057 # We used to match only the files named `Makefile.in', but
3058 # some people rename them; so instead we look at the file content.
3059 # Grep'ing the first line is not enough: some people post-process
3060 # each Makefile.in and add a new line on top of each file to say so.
3061 # So let's grep whole file.
3062 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
3063 dirpart=`(dirname "$mf") 2>/dev/null ||
3064$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3065 X"$mf" : 'X\(//\)[^/]' \| \
3066 X"$mf" : 'X\(//\)$' \| \
3067 X"$mf" : 'X\(/\)' \| \
3068 . : '\(.\)' 2>/dev/null ||
3069echo X"$mf" |
3070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3071 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3072 /^X\(\/\/\)$/{ s//\1/; q; }
3073 /^X\(\/\).*/{ s//\1/; q; }
3074 s/.*/./; q'`
3075 else
3076 continue
3077 fi
3078 # Extract the definition of DEPDIR, am__include, and am__quote
3079 # from the Makefile without running `make'.
3080 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3081 test -z "$DEPDIR" && continue
3082 am__include=`sed -n 's/^am__include = //p' < "$mf"`
3083 test -z "am__include" && continue
3084 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3085 # When using ansi2knr, U may be empty or an underscore; expand it
3086 U=`sed -n 's/^U = //p' < "$mf"`
3087 # Find all dependency output files, they are included files with
3088 # $(DEPDIR) in their names. We invoke sed twice because it is the
3089 # simplest approach to changing $(DEPDIR) to its actual value in the
3090 # expansion.
3091 for file in `sed -n "
3092 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3093 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3094 # Make sure the directory exists.
3095 test -f "$dirpart/$file" && continue
3096 fdir=`(dirname "$file") 2>/dev/null ||
3097$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3098 X"$file" : 'X\(//\)[^/]' \| \
3099 X"$file" : 'X\(//\)$' \| \
3100 X"$file" : 'X\(/\)' \| \
3101 . : '\(.\)' 2>/dev/null ||
3102echo X"$file" |
3103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3104 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3105 /^X\(\/\/\)$/{ s//\1/; q; }
3106 /^X\(\/\).*/{ s//\1/; q; }
3107 s/.*/./; q'`
3108 { if $as_mkdir_p; then
3109 mkdir -p $dirpart/$fdir
3110 else
3111 as_dir=$dirpart/$fdir
3112 as_dirs=
3113 while test ! -d "$as_dir"; do
3114 as_dirs="$as_dir $as_dirs"
3115 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3116$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3117 X"$as_dir" : 'X\(//\)[^/]' \| \
3118 X"$as_dir" : 'X\(//\)$' \| \
3119 X"$as_dir" : 'X\(/\)' \| \
3120 . : '\(.\)' 2>/dev/null ||
3121echo X"$as_dir" |
3122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3123 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3124 /^X\(\/\/\)$/{ s//\1/; q; }
3125 /^X\(\/\).*/{ s//\1/; q; }
3126 s/.*/./; q'`
3127 done
3128 test ! -n "$as_dirs" || mkdir $as_dirs
3129 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
3130echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
3131 { (exit 1); exit 1; }; }; }
3132
3133 # echo "creating $dirpart/$file"
3134 echo '# dummy' > "$dirpart/$file"
3135 done
3136done
3137 ;;
3138 esac
3139done
3140_ACEOF
3141
3142cat >>$CONFIG_STATUS <<\_ACEOF
3143
3144{ (exit 0); exit 0; }
3145_ACEOF
62a25ce1 3146chmod +x $CONFIG_STATUS
4e71dc1e
JJ
3147ac_clean_files=$ac_clean_files_save
3148
3149
3150# configure is writing to config.log, and then calls config.status.
3151# config.status does its own redirection, appending to config.log.
3152# Unfortunately, on DOS this fails, as config.log is still kept open
3153# by configure, so config.status won't be able to write to it; its
3154# output is simply discarded. So we exec the FD to /dev/null,
3155# effectively closing config.log, so it can be properly (re)opened and
3156# appended to by config.status. When coming back to configure, we
3157# need to make the FD available again.
3158if test "$no_create" != yes; then
3159 ac_cs_success=:
3160 ac_config_status_args=
3161 test "$silent" = yes &&
3162 ac_config_status_args="$ac_config_status_args --quiet"
3163 exec 5>/dev/null
3164 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3165 exec 5>>config.log
3166 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3167 # would make configure fail if this is the last instruction.
3168 $ac_cs_success || { (exit 1); exit 1; }
3169fi
62a25ce1
MS
3170
3171
This page took 0.412248 seconds and 5 git commands to generate.