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