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