2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libgloss LIBGLOSS_VERSION.
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 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
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 \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
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 ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
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
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
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
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
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
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
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
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 |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
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; }; }
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).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe 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
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
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'"
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'"
235 # We need space, tab and new line, in precisely that order.
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`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
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}
267 # Identity of this package.
268 PACKAGE_NAME='libgloss'
269 PACKAGE_TARNAME='libgloss'
270 PACKAGE_VERSION='LIBGLOSS_VERSION'
271 PACKAGE_STRING='libgloss LIBGLOSS_VERSION'
274 ac_unique_file="libnosys"
275 ac_subdirs_all="$ac_subdirs_all doc"
276 ac_subdirs_all="$ac_subdirs_all libnosys"
277 ac_subdirs_all="$ac_subdirs_all i386"
278 ac_subdirs_all="$ac_subdirs_all m32r"
279 ac_subdirs_all="$ac_subdirs_all m68hc11"
280 ac_subdirs_all="$ac_subdirs_all m68k"
281 ac_subdirs_all="$ac_subdirs_all pa"
282 ac_subdirs_all="$ac_subdirs_all i960"
283 ac_subdirs_all="$ac_subdirs_all sparc"
284 ac_subdirs_all="$ac_subdirs_all wince"
285 ac_subdirs_all="$ac_subdirs_all mips"
286 ac_subdirs_all="$ac_subdirs_all rs6000"
287 ac_subdirs_all="$ac_subdirs_all mn10200"
288 ac_subdirs_all="$ac_subdirs_all mn10300"
289 ac_subdirs_all="$ac_subdirs_all bfin"
290 ac_subdirs_all="$ac_subdirs_all cris"
291 ac_subdirs_all="$ac_subdirs_all crx"
292 ac_subdirs_all="$ac_subdirs_all d30v"
293 ac_subdirs_all="$ac_subdirs_all fr30"
294 ac_subdirs_all="$ac_subdirs_all frv"
295 ac_subdirs_all="$ac_subdirs_all mcore"
296 ac_subdirs_all="$ac_subdirs_all mep"
297 ac_subdirs_all="$ac_subdirs_all mt"
298 ac_subdirs_all="$ac_subdirs_all xstormy16"
299 ac_subdirs_all="$ac_subdirs_all m32c"
300 ac_subdirs_all="$ac_subdirs_all arm"
301 ac_subdirs_all="$ac_subdirs_all spu"
302 ac_subdirs_all="$ac_subdirs_all iq2000"
303 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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar subdirs CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS AR LD RANLIB ac_ct_RANLIB CCAS CCASFLAGS host_makefile_frag_path LIBOBJS LTLIBOBJS'
304 ac_subst_files='host_makefile_frag'
306 # Initialize some variables set by options.
308 ac_init_version=false
309 # The variables have the same names as the options, with
310 # dashes changed to underlines.
318 program_transform_name=s,x,x,
326 # Installation directory options.
327 # These are left unexpanded so users can "make install exec_prefix=/foo"
328 # and all the variables that are supposed to be based on exec_prefix
329 # by default will actually change.
330 # Use braces instead of parens because sh, perl, etc. also accept them.
331 bindir='${exec_prefix}/bin'
332 sbindir='${exec_prefix}/sbin'
333 libexecdir='${exec_prefix}/libexec'
334 datadir='${prefix}/share'
335 sysconfdir='${prefix}/etc'
336 sharedstatedir='${prefix}/com'
337 localstatedir='${prefix}/var'
338 libdir='${exec_prefix}/lib'
339 includedir='${prefix}/include'
340 oldincludedir='/usr/include'
341 infodir='${prefix}/info'
342 mandir='${prefix}/man'
347 # If the previous option needs an argument, assign it.
348 if test -n "$ac_prev"; then
349 eval "$ac_prev=\$ac_option"
354 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
356 # Accept the important Cygnus configure options, so we can diagnose typos.
360 -bindir | --bindir | --bindi | --bind | --bin | --bi)
362 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
365 -build | --build | --buil | --bui | --bu)
366 ac_prev=build_alias ;;
367 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
368 build_alias=$ac_optarg ;;
370 -cache-file | --cache-file | --cache-fil | --cache-fi \
371 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
372 ac_prev=cache_file ;;
373 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
374 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
375 cache_file=$ac_optarg ;;
378 cache_file=config.cache ;;
380 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
382 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
384 datadir=$ac_optarg ;;
386 -disable-* | --disable-*)
387 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
388 # Reject names that are not valid shell variable names.
389 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
390 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
391 { (exit 1); exit 1; }; }
392 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
393 eval "enable_$ac_feature=no" ;;
395 -enable-* | --enable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
406 eval "enable_$ac_feature='$ac_optarg'" ;;
408 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
409 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
410 | --exec | --exe | --ex)
411 ac_prev=exec_prefix ;;
412 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
413 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
414 | --exec=* | --exe=* | --ex=*)
415 exec_prefix=$ac_optarg ;;
417 -gas | --gas | --ga | --g)
418 # Obsolete; use --with-gas.
421 -help | --help | --hel | --he | -h)
423 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
424 ac_init_help=recursive ;;
425 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
426 ac_init_help=short ;;
428 -host | --host | --hos | --ho)
429 ac_prev=host_alias ;;
430 -host=* | --host=* | --hos=* | --ho=*)
431 host_alias=$ac_optarg ;;
433 -includedir | --includedir | --includedi | --included | --include \
434 | --includ | --inclu | --incl | --inc)
435 ac_prev=includedir ;;
436 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
437 | --includ=* | --inclu=* | --incl=* | --inc=*)
438 includedir=$ac_optarg ;;
440 -infodir | --infodir | --infodi | --infod | --info | --inf)
442 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
443 infodir=$ac_optarg ;;
445 -libdir | --libdir | --libdi | --libd)
447 -libdir=* | --libdir=* | --libdi=* | --libd=*)
450 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
451 | --libexe | --libex | --libe)
452 ac_prev=libexecdir ;;
453 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
454 | --libexe=* | --libex=* | --libe=*)
455 libexecdir=$ac_optarg ;;
457 -localstatedir | --localstatedir | --localstatedi | --localstated \
458 | --localstate | --localstat | --localsta | --localst \
459 | --locals | --local | --loca | --loc | --lo)
460 ac_prev=localstatedir ;;
461 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
462 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
463 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
464 localstatedir=$ac_optarg ;;
466 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
468 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
472 # Obsolete; use --without-fp.
475 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
476 | --no-cr | --no-c | -n)
479 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
480 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
483 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
484 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
485 | --oldin | --oldi | --old | --ol | --o)
486 ac_prev=oldincludedir ;;
487 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
488 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
489 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
490 oldincludedir=$ac_optarg ;;
492 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
494 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
497 -program-prefix | --program-prefix | --program-prefi | --program-pref \
498 | --program-pre | --program-pr | --program-p)
499 ac_prev=program_prefix ;;
500 -program-prefix=* | --program-prefix=* | --program-prefi=* \
501 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
502 program_prefix=$ac_optarg ;;
504 -program-suffix | --program-suffix | --program-suffi | --program-suff \
505 | --program-suf | --program-su | --program-s)
506 ac_prev=program_suffix ;;
507 -program-suffix=* | --program-suffix=* | --program-suffi=* \
508 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
509 program_suffix=$ac_optarg ;;
511 -program-transform-name | --program-transform-name \
512 | --program-transform-nam | --program-transform-na \
513 | --program-transform-n | --program-transform- \
514 | --program-transform | --program-transfor \
515 | --program-transfo | --program-transf \
516 | --program-trans | --program-tran \
517 | --progr-tra | --program-tr | --program-t)
518 ac_prev=program_transform_name ;;
519 -program-transform-name=* | --program-transform-name=* \
520 | --program-transform-nam=* | --program-transform-na=* \
521 | --program-transform-n=* | --program-transform-=* \
522 | --program-transform=* | --program-transfor=* \
523 | --program-transfo=* | --program-transf=* \
524 | --program-trans=* | --program-tran=* \
525 | --progr-tra=* | --program-tr=* | --program-t=*)
526 program_transform_name=$ac_optarg ;;
528 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
529 | -silent | --silent | --silen | --sile | --sil)
532 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
534 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
536 sbindir=$ac_optarg ;;
538 -sharedstatedir | --sharedstatedir | --sharedstatedi \
539 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
540 | --sharedst | --shareds | --shared | --share | --shar \
542 ac_prev=sharedstatedir ;;
543 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
544 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
545 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
547 sharedstatedir=$ac_optarg ;;
549 -site | --site | --sit)
551 -site=* | --site=* | --sit=*)
554 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
556 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
559 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
560 | --syscon | --sysco | --sysc | --sys | --sy)
561 ac_prev=sysconfdir ;;
562 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
563 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
564 sysconfdir=$ac_optarg ;;
566 -target | --target | --targe | --targ | --tar | --ta | --t)
567 ac_prev=target_alias ;;
568 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
569 target_alias=$ac_optarg ;;
571 -v | -verbose | --verbose | --verbos | --verbo | --verb)
574 -version | --version | --versio | --versi | --vers | -V)
578 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
579 # Reject names that are not valid shell variable names.
580 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
581 { echo "$as_me: error: invalid package name: $ac_package" >&2
582 { (exit 1); exit 1; }; }
583 ac_package=`echo $ac_package| sed 's/-/_/g'`
585 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
588 eval "with_$ac_package='$ac_optarg'" ;;
590 -without-* | --without-*)
591 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package | sed 's/-/_/g'`
597 eval "with_$ac_package=no" ;;
600 # Obsolete; use --with-x.
603 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
604 | --x-incl | --x-inc | --x-in | --x-i)
605 ac_prev=x_includes ;;
606 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
607 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
608 x_includes=$ac_optarg ;;
610 -x-libraries | --x-libraries | --x-librarie | --x-librari \
611 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
612 ac_prev=x_libraries ;;
613 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
614 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
615 x_libraries=$ac_optarg ;;
617 -*) { echo "$as_me: error: unrecognized option: $ac_option
618 Try \`$0 --help' for more information." >&2
619 { (exit 1); exit 1; }; }
623 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
624 # Reject names that are not valid shell variable names.
625 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
626 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
627 { (exit 1); exit 1; }; }
628 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
629 eval "$ac_envvar='$ac_optarg'"
633 # FIXME: should be removed in autoconf 3.0.
634 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
635 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
636 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
637 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
643 if test -n "$ac_prev"; then
644 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
645 { echo "$as_me: error: missing argument to $ac_option" >&2
646 { (exit 1); exit 1; }; }
649 # Be sure to have absolute paths.
650 for ac_var in exec_prefix prefix
652 eval ac_val=$`echo $ac_var`
654 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
655 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
656 { (exit 1); exit 1; }; };;
660 # Be sure to have absolute paths.
661 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
662 localstatedir libdir includedir oldincludedir infodir mandir
664 eval ac_val=$`echo $ac_var`
666 [\\/$]* | ?:[\\/]* ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # There might be people who depend on the old broken behavior: `$host'
673 # used to hold the argument of --host etc.
674 # FIXME: To remove some day.
679 # FIXME: To remove some day.
680 if test "x$host_alias" != x; then
681 if test "x$build_alias" = x; then
682 cross_compiling=maybe
683 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
684 If a cross compiler is detected then cross compile mode will be used." >&2
685 elif test "x$build_alias" != "x$host_alias"; then
691 test -n "$host_alias" && ac_tool_prefix=$host_alias-
693 test "$silent" = yes && exec 6>/dev/null
696 # Find the source files, if location was not specified.
697 if test -z "$srcdir"; then
698 ac_srcdir_defaulted=yes
699 # Try the directory containing this script, then its parent.
700 ac_confdir=`(dirname "$0") 2>/dev/null ||
701 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
702 X"$0" : 'X\(//\)[^/]' \| \
703 X"$0" : 'X\(//\)$' \| \
704 X"$0" : 'X\(/\)' \| \
705 . : '\(.\)' 2>/dev/null ||
707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
708 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
709 /^X\(\/\/\)$/{ s//\1/; q; }
710 /^X\(\/\).*/{ s//\1/; q; }
713 if test ! -r $srcdir/$ac_unique_file; then
717 ac_srcdir_defaulted=no
719 if test ! -r $srcdir/$ac_unique_file; then
720 if test "$ac_srcdir_defaulted" = yes; then
721 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
722 { (exit 1); exit 1; }; }
724 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
725 { (exit 1); exit 1; }; }
728 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
729 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
730 { (exit 1); exit 1; }; }
731 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
732 ac_env_build_alias_set=${build_alias+set}
733 ac_env_build_alias_value=$build_alias
734 ac_cv_env_build_alias_set=${build_alias+set}
735 ac_cv_env_build_alias_value=$build_alias
736 ac_env_host_alias_set=${host_alias+set}
737 ac_env_host_alias_value=$host_alias
738 ac_cv_env_host_alias_set=${host_alias+set}
739 ac_cv_env_host_alias_value=$host_alias
740 ac_env_target_alias_set=${target_alias+set}
741 ac_env_target_alias_value=$target_alias
742 ac_cv_env_target_alias_set=${target_alias+set}
743 ac_cv_env_target_alias_value=$target_alias
744 ac_env_CCAS_set=${CCAS+set}
745 ac_env_CCAS_value=$CCAS
746 ac_cv_env_CCAS_set=${CCAS+set}
747 ac_cv_env_CCAS_value=$CCAS
748 ac_env_CCASFLAGS_set=${CCASFLAGS+set}
749 ac_env_CCASFLAGS_value=$CCASFLAGS
750 ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
751 ac_cv_env_CCASFLAGS_value=$CCASFLAGS
754 # Report the --help message.
756 if test "$ac_init_help" = "long"; then
757 # Omit some internal or obsolete options to make the list less imposing.
758 # This message is too long to be a string in the A/UX 3.1 sh.
760 \`configure' configures libgloss LIBGLOSS_VERSION to adapt to many kinds of systems.
762 Usage: $0 [OPTION]... [VAR=VALUE]...
764 To assign environment variables (e.g., CC, CFLAGS...), specify them as
765 VAR=VALUE. See below for descriptions of some of the useful variables.
767 Defaults for the options are specified in brackets.
770 -h, --help display this help and exit
771 --help=short display options specific to this package
772 --help=recursive display the short help of all the included packages
773 -V, --version display version information and exit
774 -q, --quiet, --silent do not print \`checking...' messages
775 --cache-file=FILE cache test results in FILE [disabled]
776 -C, --config-cache alias for \`--cache-file=config.cache'
777 -n, --no-create do not create output files
778 --srcdir=DIR find the sources in DIR [configure dir or \`..']
783 Installation directories:
784 --prefix=PREFIX install architecture-independent files in PREFIX
786 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
789 By default, \`make install' will install all the files in
790 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
791 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
792 for instance \`--prefix=\$HOME'.
794 For better control, use the options below.
796 Fine tuning of the installation directories:
797 --bindir=DIR user executables [EPREFIX/bin]
798 --sbindir=DIR system admin executables [EPREFIX/sbin]
799 --libexecdir=DIR program executables [EPREFIX/libexec]
800 --datadir=DIR read-only architecture-independent data [PREFIX/share]
801 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
802 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
803 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
804 --libdir=DIR object code libraries [EPREFIX/lib]
805 --includedir=DIR C header files [PREFIX/include]
806 --oldincludedir=DIR C header files for non-gcc [/usr/include]
807 --infodir=DIR info documentation [PREFIX/info]
808 --mandir=DIR man documentation [PREFIX/man]
814 --program-prefix=PREFIX prepend PREFIX to installed program names
815 --program-suffix=SUFFIX append SUFFIX to installed program names
816 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
819 --build=BUILD configure for building on BUILD [guessed]
820 --host=HOST cross-compile to build programs to run on HOST [BUILD]
821 --target=TARGET configure for building compilers for TARGET [HOST]
825 if test -n "$ac_init_help"; then
826 case $ac_init_help in
827 short | recursive ) echo "Configuration of libgloss LIBGLOSS_VERSION:";;
832 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
833 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
834 --disable-dependency-tracking speeds up one-time build
835 --enable-dependency-tracking do not reject slow dependency extractors
837 Some influential environment variables:
838 CCAS assembler compiler command (defaults to CC)
839 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
841 Use these variables to override the choices made by `configure' or to help
842 it to find libraries and programs with nonstandard names/locations.
847 if test "$ac_init_help" = "recursive"; then
848 # If there are subdirs, report their specific --help.
850 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
851 test -d $ac_dir || continue
854 if test "$ac_dir" != .; then
855 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
856 # A "../" for each directory in $ac_dir_suffix.
857 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
859 ac_dir_suffix= ac_top_builddir=
863 .) # No --srcdir option. We are building in place.
865 if test -z "$ac_top_builddir"; then
868 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
870 [\\/]* | ?:[\\/]* ) # Absolute path.
871 ac_srcdir=$srcdir$ac_dir_suffix;
872 ac_top_srcdir=$srcdir ;;
874 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
875 ac_top_srcdir=$ac_top_builddir$srcdir ;;
878 # Do not use `cd foo && pwd` to compute absolute paths, because
879 # the directories may not exist.
881 .) ac_abs_builddir="$ac_dir";;
884 .) ac_abs_builddir=`pwd`;;
885 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
886 *) ac_abs_builddir=`pwd`/"$ac_dir";;
889 case $ac_abs_builddir in
890 .) ac_abs_top_builddir=${ac_top_builddir}.;;
892 case ${ac_top_builddir}. in
893 .) ac_abs_top_builddir=$ac_abs_builddir;;
894 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
895 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
898 case $ac_abs_builddir in
899 .) ac_abs_srcdir=$ac_srcdir;;
902 .) ac_abs_srcdir=$ac_abs_builddir;;
903 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
904 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
907 case $ac_abs_builddir in
908 .) ac_abs_top_srcdir=$ac_top_srcdir;;
910 case $ac_top_srcdir in
911 .) ac_abs_top_srcdir=$ac_abs_builddir;;
912 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
913 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
918 # Check for guested configure; otherwise get Cygnus style configure.
919 if test -f $ac_srcdir/configure.gnu; then
921 $SHELL $ac_srcdir/configure.gnu --help=recursive
922 elif test -f $ac_srcdir/configure; then
924 $SHELL $ac_srcdir/configure --help=recursive
925 elif test -f $ac_srcdir/configure.ac ||
926 test -f $ac_srcdir/configure.in; then
930 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
936 test -n "$ac_init_help" && exit 0
937 if $ac_init_version; then
939 libgloss configure LIBGLOSS_VERSION
940 generated by GNU Autoconf 2.59
942 Copyright (C) 2003 Free Software Foundation, Inc.
943 This configure script is free software; the Free Software Foundation
944 gives unlimited permission to copy, distribute and modify it.
950 This file contains any messages produced by compilers while
951 running configure, to aid debugging if configure makes a mistake.
953 It was created by libgloss $as_me LIBGLOSS_VERSION, which was
954 generated by GNU Autoconf 2.59. Invocation command line was
965 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
966 uname -m = `(uname -m) 2>/dev/null || echo unknown`
967 uname -r = `(uname -r) 2>/dev/null || echo unknown`
968 uname -s = `(uname -s) 2>/dev/null || echo unknown`
969 uname -v = `(uname -v) 2>/dev/null || echo unknown`
971 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
972 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
974 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
975 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
976 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
977 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
978 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
979 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
980 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
988 test -z "$as_dir" && as_dir=.
1004 # Keep a trace of the command line.
1005 # Strip out --no-create and --no-recursion so they do not pile up.
1006 # Strip out --silent because we don't want to record it for future runs.
1007 # Also quote any args containing shell meta-characters.
1008 # Make two passes to allow for proper duplicate-argument suppression.
1013 ac_must_keep_next=false
1019 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1020 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1021 | -silent | --silent | --silen | --sile | --sil)
1023 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1024 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1027 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1029 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1030 if test $ac_must_keep_next = true; then
1031 ac_must_keep_next=false # Got value, back to normal.
1034 *=* | --config-cache | -C | -disable-* | --disable-* \
1035 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1036 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1037 | -with-* | --with-* | -without-* | --without-* | --x)
1038 case "$ac_configure_args0 " in
1039 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1042 -* ) ac_must_keep_next=true ;;
1045 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1046 # Get rid of the leading space.
1052 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1053 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1055 # When interrupted or exit'd, cleanup temporary files, and complete
1056 # config.log. We remove comments because anyway the quotes in there
1057 # would cause problems or look ugly.
1058 # WARNING: Be sure not to use single quotes in there, as some shells,
1059 # such as our DU 5.0 friend, will then `close' the trap.
1060 trap 'exit_status=$?
1061 # Save into config.log some information that might help in debugging.
1066 ## ---------------- ##
1067 ## Cache variables. ##
1068 ## ---------------- ##
1071 # The following way of writing the cache mishandles newlines in values,
1074 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1077 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1078 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1082 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1089 ## ----------------- ##
1090 ## Output variables. ##
1091 ## ----------------- ##
1094 for ac_var in $ac_subst_vars
1096 eval ac_val=$`echo $ac_var`
1097 echo "$ac_var='"'"'$ac_val'"'"'"
1101 if test -n "$ac_subst_files"; then
1108 for ac_var in $ac_subst_files
1110 eval ac_val=$`echo $ac_var`
1111 echo "$ac_var='"'"'$ac_val'"'"'"
1116 if test -s confdefs.h; then
1123 sed "/^$/d" confdefs.h | sort
1126 test "$ac_signal" != 0 &&
1127 echo "$as_me: caught signal $ac_signal"
1128 echo "$as_me: exit $exit_status"
1130 rm -f core *.core &&
1131 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1134 for ac_signal in 1 2 13 15; do
1135 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1139 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1140 rm -rf conftest* confdefs.h
1141 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1144 # Predefined preprocessor variables.
1146 cat >>confdefs.h <<_ACEOF
1147 #define PACKAGE_NAME "$PACKAGE_NAME"
1151 cat >>confdefs.h <<_ACEOF
1152 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1156 cat >>confdefs.h <<_ACEOF
1157 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1161 cat >>confdefs.h <<_ACEOF
1162 #define PACKAGE_STRING "$PACKAGE_STRING"
1166 cat >>confdefs.h <<_ACEOF
1167 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1171 # Let the site file select an alternate cache file if it wants to.
1172 # Prefer explicitly selected file to automatically selected ones.
1173 if test -z "$CONFIG_SITE"; then
1174 if test "x$prefix" != xNONE; then
1175 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1177 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1180 for ac_site_file in $CONFIG_SITE; do
1181 if test -r "$ac_site_file"; then
1182 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1183 echo "$as_me: loading site script $ac_site_file" >&6;}
1184 sed 's/^/| /' "$ac_site_file" >&5
1189 if test -r "$cache_file"; then
1190 # Some versions of bash will fail to source /dev/null (special
1191 # files actually), so we avoid doing that.
1192 if test -f "$cache_file"; then
1193 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1194 echo "$as_me: loading cache $cache_file" >&6;}
1196 [\\/]* | ?:[\\/]* ) . $cache_file;;
1197 *) . ./$cache_file;;
1201 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1202 echo "$as_me: creating cache $cache_file" >&6;}
1206 # Check that the precious variables saved in the cache have kept the same
1208 ac_cache_corrupted=false
1209 for ac_var in `(set) 2>&1 |
1210 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1211 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1212 eval ac_new_set=\$ac_env_${ac_var}_set
1213 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1214 eval ac_new_val="\$ac_env_${ac_var}_value"
1215 case $ac_old_set,$ac_new_set in
1217 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1218 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1219 ac_cache_corrupted=: ;;
1221 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1222 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1223 ac_cache_corrupted=: ;;
1226 if test "x$ac_old_val" != "x$ac_new_val"; then
1227 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1228 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1229 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1230 echo "$as_me: former value: $ac_old_val" >&2;}
1231 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1232 echo "$as_me: current value: $ac_new_val" >&2;}
1233 ac_cache_corrupted=:
1236 # Pass precious variables to config.status.
1237 if test "$ac_new_set" = set; then
1239 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1240 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1241 *) ac_arg=$ac_var=$ac_new_val ;;
1243 case " $ac_configure_args " in
1244 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1245 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1249 if $ac_cache_corrupted; then
1250 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1251 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1252 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1253 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1254 { (exit 1); exit 1; }; }
1258 ac_cpp='$CPP $CPPFLAGS'
1259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1291 if test "${enable_shared}" = "yes" ; then
1292 echo "Shared libraries not supported for cross compiling, ignored"
1295 if test "${srcdir}" = "." ; then
1296 if test "${with_target_subdir}" != "." ; then
1297 libgloss_topdir="${srcdir}/${with_multisrctop}../.."
1299 libgloss_topdir="${srcdir}/${with_multisrctop}.."
1302 libgloss_topdir="${srcdir}/.."
1305 for ac_dir in $libgloss_topdir $srcdir/$libgloss_topdir; do
1306 if test -f $ac_dir/install-sh; then
1308 ac_install_sh="$ac_aux_dir/install-sh -c"
1310 elif test -f $ac_dir/install.sh; then
1312 ac_install_sh="$ac_aux_dir/install.sh -c"
1314 elif test -f $ac_dir/shtool; then
1316 ac_install_sh="$ac_aux_dir/shtool install -c"
1320 if test -z "$ac_aux_dir"; then
1321 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir $srcdir/$libgloss_topdir" >&5
1322 echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir $srcdir/$libgloss_topdir" >&2;}
1323 { (exit 1); exit 1; }; }
1325 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1326 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1327 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1330 # Find a good install program. We prefer a C program (faster),
1331 # so one script is as good as another. But avoid the broken or
1332 # incompatible versions:
1333 # SysV /etc/install, /usr/sbin/install
1334 # SunOS /usr/etc/install
1335 # IRIX /sbin/install
1337 # AmigaOS /C/install, which installs bootblocks on floppy discs
1338 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1339 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1340 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1341 # OS/2's system install, which has a completely different semantic
1342 # ./install, which can be erroneously created by make from ./install.sh.
1343 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1344 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1345 if test -z "$INSTALL"; then
1346 if test "${ac_cv_path_install+set}" = set; then
1347 echo $ECHO_N "(cached) $ECHO_C" >&6
1349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1353 test -z "$as_dir" && as_dir=.
1354 # Account for people who put trailing slashes in PATH elements.
1356 ./ | .// | /cC/* | \
1357 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1358 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1361 # OSF1 and SCO ODT 3.0 have their own names for install.
1362 # Don't use installbsd from OSF since it installs stuff as root
1364 for ac_prog in ginstall scoinst install; do
1365 for ac_exec_ext in '' $ac_executable_extensions; do
1366 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1367 if test $ac_prog = install &&
1368 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1369 # AIX install. It has an incompatible calling convention.
1371 elif test $ac_prog = install &&
1372 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1373 # program-specific install script used by HP pwplus--don't use.
1376 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1388 if test "${ac_cv_path_install+set}" = set; then
1389 INSTALL=$ac_cv_path_install
1391 # As a last resort, use the slow shell script. We don't cache a
1392 # path for INSTALL within a source directory, because that will
1393 # break other packages using the cache if that directory is
1394 # removed, or if the path is relative.
1395 INSTALL=$ac_install_sh
1398 echo "$as_me:$LINENO: result: $INSTALL" >&5
1399 echo "${ECHO_T}$INSTALL" >&6
1401 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1402 # It thinks the first close brace ends the variable substitution.
1403 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1405 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1407 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1410 # Make sure we can run config.sub.
1411 $ac_config_sub sun4 >/dev/null 2>&1 ||
1412 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1413 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1414 { (exit 1); exit 1; }; }
1416 echo "$as_me:$LINENO: checking build system type" >&5
1417 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1418 if test "${ac_cv_build+set}" = set; then
1419 echo $ECHO_N "(cached) $ECHO_C" >&6
1421 ac_cv_build_alias=$build_alias
1422 test -z "$ac_cv_build_alias" &&
1423 ac_cv_build_alias=`$ac_config_guess`
1424 test -z "$ac_cv_build_alias" &&
1425 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1426 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1427 { (exit 1); exit 1; }; }
1428 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1429 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1430 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1431 { (exit 1); exit 1; }; }
1434 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1435 echo "${ECHO_T}$ac_cv_build" >&6
1437 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1438 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1439 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1442 echo "$as_me:$LINENO: checking host system type" >&5
1443 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1444 if test "${ac_cv_host+set}" = set; then
1445 echo $ECHO_N "(cached) $ECHO_C" >&6
1447 ac_cv_host_alias=$host_alias
1448 test -z "$ac_cv_host_alias" &&
1449 ac_cv_host_alias=$ac_cv_build_alias
1450 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1451 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1452 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1453 { (exit 1); exit 1; }; }
1456 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1457 echo "${ECHO_T}$ac_cv_host" >&6
1459 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1460 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1461 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1464 echo "$as_me:$LINENO: checking target system type" >&5
1465 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1466 if test "${ac_cv_target+set}" = set; then
1467 echo $ECHO_N "(cached) $ECHO_C" >&6
1469 ac_cv_target_alias=$target_alias
1470 test "x$ac_cv_target_alias" = "x" &&
1471 ac_cv_target_alias=$ac_cv_host_alias
1472 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1473 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1474 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1475 { (exit 1); exit 1; }; }
1478 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1479 echo "${ECHO_T}$ac_cv_target" >&6
1480 target=$ac_cv_target
1481 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1482 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1483 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1486 # The aliases save the names the user supplied, while $host etc.
1487 # will get canonicalized.
1488 test -n "$target_alias" &&
1489 test "$program_prefix$program_suffix$program_transform_name" = \
1491 program_prefix=${target_alias}-
1492 am__api_version="1.9"
1493 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1494 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1497 echo timestamp > conftest.file
1498 # Do `set' in a subshell so we don't clobber the current shell's
1499 # arguments. Must try -L first in case configure is actually a
1500 # symlink; some systems play weird games with the mod time of symlinks
1501 # (eg FreeBSD returns the mod time of the symlink's containing
1504 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1505 if test "$*" = "X"; then
1507 set X `ls -t $srcdir/configure conftest.file`
1510 if test "$*" != "X $srcdir/configure conftest.file" \
1511 && test "$*" != "X conftest.file $srcdir/configure"; then
1513 # If neither matched, then we have a broken ls. This can happen
1514 # if, for instance, CONFIG_SHELL is bash and it inherits a
1515 # broken ls alias from the environment. This has actually
1516 # happened. Such a system could not be considered "sane".
1517 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1518 alias in your environment" >&5
1519 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1520 alias in your environment" >&2;}
1521 { (exit 1); exit 1; }; }
1524 test "$2" = conftest.file
1530 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1531 Check your system clock" >&5
1532 echo "$as_me: error: newly created file is older than distributed files!
1533 Check your system clock" >&2;}
1534 { (exit 1); exit 1; }; }
1536 echo "$as_me:$LINENO: result: yes" >&5
1537 echo "${ECHO_T}yes" >&6
1538 test "$program_prefix" != NONE &&
1539 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1540 # Use a double $ so make ignores it.
1541 test "$program_suffix" != NONE &&
1542 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1543 # Double any \ or $. echo might interpret backslashes.
1544 # By default was `s,x,x', remove it if useless.
1545 cat <<\_ACEOF >conftest.sed
1546 s/[\\$]/&&/g;s/;s,x,x,$//
1548 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1551 # expand $ac_aux_dir to an absolute path
1552 am_aux_dir=`cd $ac_aux_dir && pwd`
1554 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1555 # Use eval to expand $SHELL
1556 if eval "$MISSING --run true"; then
1557 am_missing_run="$MISSING --run "
1560 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1561 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1564 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1565 # We used to keeping the `.' as first argument, in order to
1566 # allow $(mkdir_p) to be used without argument. As in
1567 # $(mkdir_p) $(somedir)
1568 # where $(somedir) is conditionally defined. However this is wrong
1570 # 1. if the package is installed by a user who cannot write `.'
1571 # make install will fail,
1572 # 2. the above comment should most certainly read
1573 # $(mkdir_p) $(DESTDIR)$(somedir)
1574 # so it does not work when $(somedir) is undefined and
1575 # $(DESTDIR) is not.
1576 # To support the latter case, we have to write
1577 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1578 # so the `.' trick is pointless.
1579 mkdir_p='mkdir -p --'
1581 # On NextStep and OpenStep, the `mkdir' command does not
1582 # recognize any option. It will interpret all options as
1583 # directories to create, and then abort because `.' already
1585 for d in ./-p ./--version;
1587 test -d $d && rmdir $d
1589 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1590 if test -f "$ac_aux_dir/mkinstalldirs"; then
1591 mkdir_p='$(mkinstalldirs)'
1593 mkdir_p='$(install_sh) -d'
1597 for ac_prog in gawk mawk nawk awk
1599 # Extract the first word of "$ac_prog", so it can be a program name with args.
1600 set dummy $ac_prog; ac_word=$2
1601 echo "$as_me:$LINENO: checking for $ac_word" >&5
1602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1603 if test "${ac_cv_prog_AWK+set}" = set; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 if test -n "$AWK"; then
1607 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1613 test -z "$as_dir" && as_dir=.
1614 for ac_exec_ext in '' $ac_executable_extensions; do
1615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1616 ac_cv_prog_AWK="$ac_prog"
1617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1626 if test -n "$AWK"; then
1627 echo "$as_me:$LINENO: result: $AWK" >&5
1628 echo "${ECHO_T}$AWK" >&6
1630 echo "$as_me:$LINENO: result: no" >&5
1631 echo "${ECHO_T}no" >&6
1634 test -n "$AWK" && break
1637 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1638 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1639 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1640 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1641 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 cat >conftest.make <<\_ACEOF
1645 @echo 'ac_maketemp="$(MAKE)"'
1647 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1648 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1649 if test -n "$ac_maketemp"; then
1650 eval ac_cv_prog_make_${ac_make}_set=yes
1652 eval ac_cv_prog_make_${ac_make}_set=no
1656 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1657 echo "$as_me:$LINENO: result: yes" >&5
1658 echo "${ECHO_T}yes" >&6
1661 echo "$as_me:$LINENO: result: no" >&5
1662 echo "${ECHO_T}no" >&6
1663 SET_MAKE="MAKE=${MAKE-make}"
1666 rm -rf .tst 2>/dev/null
1667 mkdir .tst 2>/dev/null
1668 if test -d .tst; then
1673 rmdir .tst 2>/dev/null
1675 # test to see if srcdir already configured
1676 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1677 test -f $srcdir/config.status; then
1678 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1679 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1680 { (exit 1); exit 1; }; }
1683 # test whether we have cygpath
1684 if test -z "$CYGPATH_W"; then
1685 if (cygpath --version) >/dev/null 2>/dev/null; then
1686 CYGPATH_W='cygpath -w'
1693 # Define the identity of the package.
1695 VERSION='LIBGLOSS_VERSION'
1698 # Some tools Automake needs.
1700 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1703 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1706 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1709 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1712 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1714 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1716 # Installed binaries are usually stripped using `strip' when the user
1717 # run `make install-strip'. However `strip' might not be the right
1718 # tool to use in cross-compilation environments, therefore Automake
1719 # will honor the `STRIP' environment variable to overrule this program.
1720 if test "$cross_compiling" != no; then
1721 if test -n "$ac_tool_prefix"; then
1722 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1723 set dummy ${ac_tool_prefix}strip; ac_word=$2
1724 echo "$as_me:$LINENO: checking for $ac_word" >&5
1725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1726 if test "${ac_cv_prog_STRIP+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1729 if test -n "$STRIP"; then
1730 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1736 test -z "$as_dir" && as_dir=.
1737 for ac_exec_ext in '' $ac_executable_extensions; do
1738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1739 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1748 STRIP=$ac_cv_prog_STRIP
1749 if test -n "$STRIP"; then
1750 echo "$as_me:$LINENO: result: $STRIP" >&5
1751 echo "${ECHO_T}$STRIP" >&6
1753 echo "$as_me:$LINENO: result: no" >&5
1754 echo "${ECHO_T}no" >&6
1758 if test -z "$ac_cv_prog_STRIP"; then
1760 # Extract the first word of "strip", so it can be a program name with args.
1761 set dummy strip; ac_word=$2
1762 echo "$as_me:$LINENO: checking for $ac_word" >&5
1763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1764 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1765 echo $ECHO_N "(cached) $ECHO_C" >&6
1767 if test -n "$ac_ct_STRIP"; then
1768 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1774 test -z "$as_dir" && as_dir=.
1775 for ac_exec_ext in '' $ac_executable_extensions; do
1776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1777 ac_cv_prog_ac_ct_STRIP="strip"
1778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1784 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1787 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1788 if test -n "$ac_ct_STRIP"; then
1789 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1790 echo "${ECHO_T}$ac_ct_STRIP" >&6
1792 echo "$as_me:$LINENO: result: no" >&5
1793 echo "${ECHO_T}no" >&6
1798 STRIP="$ac_cv_prog_STRIP"
1802 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1804 # We need awk for the "check" target. The system "awk" is bad on
1806 # Always define AMTAR for backward compatibility.
1808 AMTAR=${AMTAR-"${am_missing_run}tar"}
1810 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1817 if test -z "${with_multisubdir}" ; then
1820 subdirs="$subdirs doc"
1826 subdirs="$subdirs libnosys"
1830 i[3456]86-*-elf* | i[3456]86-*-coff*)
1833 subdirs="$subdirs i386"
1835 config_testsuite=true
1840 subdirs="$subdirs m32r"
1842 config_testsuite=true
1844 m68hc11-*-* | m6811-*-* | m68hc12-*-* | m6812-*-*)
1847 subdirs="$subdirs m68hc11"
1849 config_testsuite=true
1851 fido-*-* | m68*-*-*)
1854 subdirs="$subdirs m68k"
1856 config_testsuite=true
1861 subdirs="$subdirs pa"
1863 config_testsuite=true
1868 subdirs="$subdirs i960"
1870 config_testsuite=true
1872 sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*)
1875 subdirs="$subdirs sparc"
1877 config_testsuite=true
1879 sh*-*-pe | mips*-*-pe | *arm-wince-pe)
1882 subdirs="$subdirs wince"
1888 subdirs="$subdirs mips"
1890 config_testsuite=true
1892 powerpc-*-*|powerpcle-*-*)
1895 subdirs="$subdirs rs6000"
1897 config_testsuite=true
1902 subdirs="$subdirs mn10200"
1904 config_testsuite=true
1909 subdirs="$subdirs mn10300"
1911 config_testsuite=true
1916 subdirs="$subdirs bfin"
1918 config_testsuite=true
1920 cris-*-* | crisv32-*-*)
1923 subdirs="$subdirs cris"
1925 config_testsuite=true
1930 subdirs="$subdirs crx"
1936 subdirs="$subdirs d30v"
1938 config_testsuite=true
1943 subdirs="$subdirs fr30"
1945 config_testsuite=true
1950 subdirs="$subdirs frv"
1952 config_testsuite=true
1957 subdirs="$subdirs mcore"
1959 config_testsuite=true
1964 subdirs="$subdirs mep"
1966 config_testsuite = true;
1971 subdirs="$subdirs mt"
1973 config_testsuite=true
1978 subdirs="$subdirs xstormy16"
1980 config_testsuite=true
1985 subdirs="$subdirs m32c"
1987 config_testsuite=true
1989 strongarm-*-elf | strongarm-*-coff | arm*-*-elf | arm*-*-coff | ep9312-*-elf | ep9312-*-coff | xscale-*-elf | xscale-*-coff | *arm-*-*)
1992 subdirs="$subdirs arm"
1994 config_testsuite=true
1999 subdirs="$subdirs spu"
2001 config_testsuite=false
2006 subdirs="$subdirs iq2000"
2008 config_testsuite=true
2012 # For now, don't bother configuring testsuite
2014 # if test ${config_testsuite); then AC_CONFIG_SUBDIRS(testsuite); fi
2017 DEPDIR="${am__leading_dot}deps"
2019 ac_config_commands="$ac_config_commands depfiles"
2022 am_make=${MAKE-make}
2023 cat > confinc << 'END'
2028 # If we don't find an include directive, just comment out the code.
2029 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2030 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2034 # First try GNU make style include.
2035 echo "include confinc" > confmf
2036 # We grep out `Entering directory' and `Leaving directory'
2037 # messages which can occur if `w' ends up in MAKEFLAGS.
2038 # In particular we don't look at `^make:' because GNU make might
2039 # be invoked under some other name (usually "gmake"), in which
2040 # case it prints its new name instead of `make'.
2041 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2046 # Now try BSD make style include.
2047 if test "$am__include" = "#"; then
2048 echo '.include "confinc"' > confmf
2049 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2050 am__include=.include
2057 echo "$as_me:$LINENO: result: $_am_result" >&5
2058 echo "${ECHO_T}$_am_result" >&6
2059 rm -f confinc confmf
2061 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2062 if test "${enable_dependency_tracking+set}" = set; then
2063 enableval="$enable_dependency_tracking"
2066 if test "x$enable_dependency_tracking" != xno; then
2067 am_depcomp="$ac_aux_dir/depcomp"
2072 if test "x$enable_dependency_tracking" != xno; then
2082 # Extract the first word of "gcc", so it can be a program name with args.
2083 set dummy gcc; ac_word=$2
2084 echo "$as_me:$LINENO: checking for $ac_word" >&5
2085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2086 if test "${ac_cv_prog_CC+set}" = set; then
2087 echo $ECHO_N "(cached) $ECHO_C" >&6
2089 if test -n "$CC"; then
2090 ac_cv_prog_CC="$CC" # Let the user override the test.
2092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2096 test -z "$as_dir" && as_dir=.
2097 for ac_exec_ext in '' $ac_executable_extensions; do
2098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2109 if test -n "$CC"; then
2110 echo "$as_me:$LINENO: result: $CC" >&5
2111 echo "${ECHO_T}$CC" >&6
2113 echo "$as_me:$LINENO: result: no" >&5
2114 echo "${ECHO_T}no" >&6
2118 depcc="$CC" am_compiler_list=
2120 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2121 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2122 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2126 # We make a subdir and do the tests there. Otherwise we can end up
2127 # making bogus files that we don't know about and never remove. For
2128 # instance it was reported that on HP-UX the gcc test will end up
2129 # making a dummy file named `D' -- because `-MD' means `put the output
2132 # Copy depcomp to subdir because otherwise we won't find it if we're
2133 # using a relative directory.
2134 cp "$am_depcomp" conftest.dir
2136 # We will build objects and dependencies in a subdirectory because
2137 # it helps to detect inapplicable dependency modes. For instance
2138 # both Tru64's cc and ICC support -MD to output dependencies as a
2139 # side effect of compilation, but ICC will put the dependencies in
2140 # the current directory while Tru64 will put them in the object
2144 am_cv_CC_dependencies_compiler_type=none
2145 if test "$am_compiler_list" = ""; then
2146 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2148 for depmode in $am_compiler_list; do
2149 # Setup a source with many dependencies, because some compilers
2150 # like to wrap large dependency lists on column 80 (with \), and
2151 # we should not choose a depcomp mode which is confused by this.
2153 # We need to recreate these files for each test, as the compiler may
2154 # overwrite some of them when testing with obscure command lines.
2155 # This happens at least with the AIX C compiler.
2157 for i in 1 2 3 4 5 6; do
2158 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2159 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2160 # Solaris 8's {/usr,}/bin/sh.
2161 touch sub/conftst$i.h
2163 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2167 # after this tag, mechanisms are not by side-effect, so they'll
2168 # only be used when explicitly requested
2169 if test "x$enable_dependency_tracking" = xyes; then
2177 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2178 # mode. It turns out that the SunPro C++ compiler does not properly
2179 # handle `-M -o', and we need to detect this.
2180 if depmode=$depmode \
2181 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2182 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2183 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2184 >/dev/null 2>conftest.err &&
2185 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2186 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2187 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2188 # icc doesn't choke on unknown options, it will just issue warnings
2189 # or remarks (even with -Werror). So we grep stderr for any message
2190 # that says an option was ignored or not supported.
2191 # When given -MP, icc 7.0 and 7.1 complain thusly:
2192 # icc: Command line warning: ignoring option '-M'; no argument required
2193 # The diagnosis changed in icc 8.0:
2194 # icc: Command line remark: option '-MP' not supported
2195 if (grep 'ignoring option' conftest.err ||
2196 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2197 am_cv_CC_dependencies_compiler_type=$depmode
2206 am_cv_CC_dependencies_compiler_type=none
2210 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2211 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2212 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2217 test "x$enable_dependency_tracking" != xno \
2218 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2220 am__fastdepCC_FALSE='#'
2222 am__fastdepCC_TRUE='#'
2223 am__fastdepCC_FALSE=
2227 if test -z "$CC"; then
2228 # Extract the first word of "cc", so it can be a program name with args.
2229 set dummy cc; ac_word=$2
2230 echo "$as_me:$LINENO: checking for $ac_word" >&5
2231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2232 if test "${ac_cv_prog_CC+set}" = set; then
2233 echo $ECHO_N "(cached) $ECHO_C" >&6
2235 if test -n "$CC"; then
2236 ac_cv_prog_CC="$CC" # Let the user override the test.
2239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2243 test -z "$as_dir" && as_dir=.
2244 for ac_exec_ext in '' $ac_executable_extensions; do
2245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2246 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2247 ac_prog_rejected=yes
2251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2257 if test $ac_prog_rejected = yes; then
2258 # We found a bogon in the path, so make sure we never use it.
2259 set dummy $ac_cv_prog_CC
2261 if test $# != 0; then
2262 # We chose a different compiler from the bogus one.
2263 # However, it has the same basename, so the bogon will be chosen
2264 # first if we set CC to just the basename; use the full file name.
2266 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2272 if test -n "$CC"; then
2273 echo "$as_me:$LINENO: result: $CC" >&5
2274 echo "${ECHO_T}$CC" >&6
2276 echo "$as_me:$LINENO: result: no" >&5
2277 echo "${ECHO_T}no" >&6
2280 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2281 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2282 { (exit 1); exit 1; }; }
2285 echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2286 echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
2287 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2288 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 cat > conftest.c <<EOF
2295 if { ac_try='${CC-cc} -E conftest.c'
2296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2301 ac_cv_c_compiler_gnu=yes
2303 ac_cv_c_compiler_gnu=no
2306 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2307 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2309 if test $ac_cv_c_compiler_gnu = yes; then
2311 ac_test_CFLAGS="${CFLAGS+set}"
2312 ac_save_CFLAGS="$CFLAGS"
2314 ac_test_CFLAGS=${CFLAGS+set}
2315 ac_save_CFLAGS=$CFLAGS
2317 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2318 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2319 if test "${ac_cv_prog_cc_g+set}" = set; then
2320 echo $ECHO_N "(cached) $ECHO_C" >&6
2322 cat >conftest.$ac_ext <<_ACEOF
2325 cat confdefs.h >>conftest.$ac_ext
2326 cat >>conftest.$ac_ext <<_ACEOF
2327 /* end confdefs.h. */
2337 rm -f conftest.$ac_objext
2338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2339 (eval $ac_compile) 2>conftest.er1
2341 grep -v '^ *+' conftest.er1 >conftest.err
2343 cat conftest.err >&5
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 (exit $ac_status); } &&
2346 { ac_try='test -z "$ac_c_werror_flag"
2347 || test ! -s conftest.err'
2348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }; } &&
2353 { ac_try='test -s conftest.$ac_objext'
2354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358 (exit $ac_status); }; }; then
2361 echo "$as_me: failed program was:" >&5
2362 sed 's/^/| /' conftest.$ac_ext >&5
2366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2368 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2369 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2370 if test "$ac_test_CFLAGS" = set; then
2371 CFLAGS=$ac_save_CFLAGS
2372 elif test $ac_cv_prog_cc_g = yes; then
2373 if test "$GCC" = yes; then
2379 if test "$GCC" = yes; then
2385 if test "$ac_test_CFLAGS" = set; then
2386 CFLAGS="$ac_save_CFLAGS"
2387 elif test $ac_cv_prog_cc_g = yes; then
2394 test "${CFLAGS+set}" = set || CFLAGS="-g"
2399 # Extract the first word of "ar", so it can be a program name with args.
2400 set dummy ar; ac_word=$2
2401 echo "$as_me:$LINENO: checking for $ac_word" >&5
2402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2403 if test "${ac_cv_prog_AR+set}" = set; then
2404 echo $ECHO_N "(cached) $ECHO_C" >&6
2406 if test -n "$AR"; then
2407 ac_cv_prog_AR="$AR" # Let the user override the test.
2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413 test -z "$as_dir" && as_dir=.
2414 for ac_exec_ext in '' $ac_executable_extensions; do
2415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2423 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=":"
2427 if test -n "$AR"; then
2428 echo "$as_me:$LINENO: result: $AR" >&5
2429 echo "${ECHO_T}$AR" >&6
2431 echo "$as_me:$LINENO: result: no" >&5
2432 echo "${ECHO_T}no" >&6
2439 if test -n "$ac_tool_prefix"; then
2440 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2441 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2442 echo "$as_me:$LINENO: checking for $ac_word" >&5
2443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2444 if test "${ac_cv_prog_RANLIB+set}" = set; then
2445 echo $ECHO_N "(cached) $ECHO_C" >&6
2447 if test -n "$RANLIB"; then
2448 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2454 test -z "$as_dir" && as_dir=.
2455 for ac_exec_ext in '' $ac_executable_extensions; do
2456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2457 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2466 RANLIB=$ac_cv_prog_RANLIB
2467 if test -n "$RANLIB"; then
2468 echo "$as_me:$LINENO: result: $RANLIB" >&5
2469 echo "${ECHO_T}$RANLIB" >&6
2471 echo "$as_me:$LINENO: result: no" >&5
2472 echo "${ECHO_T}no" >&6
2476 if test -z "$ac_cv_prog_RANLIB"; then
2477 ac_ct_RANLIB=$RANLIB
2478 # Extract the first word of "ranlib", so it can be a program name with args.
2479 set dummy ranlib; ac_word=$2
2480 echo "$as_me:$LINENO: checking for $ac_word" >&5
2481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2482 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2483 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 if test -n "$ac_ct_RANLIB"; then
2486 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2492 test -z "$as_dir" && as_dir=.
2493 for ac_exec_ext in '' $ac_executable_extensions; do
2494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2495 ac_cv_prog_ac_ct_RANLIB="ranlib"
2496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2502 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2505 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2506 if test -n "$ac_ct_RANLIB"; then
2507 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2508 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2510 echo "$as_me:$LINENO: result: no" >&5
2511 echo "${ECHO_T}no" >&6
2514 RANLIB=$ac_ct_RANLIB
2516 RANLIB="$ac_cv_prog_RANLIB"
2519 # By default we simply use the C compiler to build assembly code.
2521 test "${CCAS+set}" = set || CCAS=$CC
2522 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2527 host_makefile_frag=${srcdir}/config/default.mh
2529 host_makefile_frag_path=$host_makefile_frag
2533 if test "${multilib}" = "yes"; then
2534 multilib_arg="--enable-multilib"
2539 # for now, only add multilibs for specific targets
2540 ac_config_files="$ac_config_files Makefile"
2542 cat >confcache <<\_ACEOF
2543 # This file is a shell script that caches the results of configure
2544 # tests run on this system so they can be shared between configure
2545 # scripts and configure runs, see configure's option --config-cache.
2546 # It is not useful on other systems. If it contains results you don't
2547 # want to keep, you may remove or edit it.
2549 # config.status only pays attention to the cache file if you give it
2550 # the --recheck option to rerun configure.
2552 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2553 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2558 # The following way of writing the cache mishandles newlines in values,
2559 # but we know of no workaround that is simple, portable, and efficient.
2560 # So, don't put newlines in cache variables' values.
2561 # Ultrix sh set writes to stderr and can't be redirected directly,
2562 # and sets the high bit in the cache file unless we assign to the vars.
2565 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2567 # `set' does not quote correctly, so add quotes (double-quote
2568 # substitution turns \\\\ into \\, and sed turns \\ into \).
2571 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2574 # `set' quotes correctly as required by POSIX, so do not add quotes.
2576 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2583 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2585 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2587 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2588 if test -w $cache_file; then
2589 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2590 cat confcache >$cache_file
2592 echo "not updating unwritable cache $cache_file"
2597 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2598 # Let make expand exec_prefix.
2599 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2601 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2602 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2603 # trailing colons and then remove the whole line if VPATH becomes empty
2604 # (actually we leave an empty line to preserve line numbers).
2605 if test "x$srcdir" = x.; then
2606 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2607 s/:*\$(srcdir):*/:/;
2608 s/:*\${srcdir}:*/:/;
2610 s/^\([^=]*=[ ]*\):*/\1/;
2616 # Transform confdefs.h into DEFS.
2617 # Protect against shell expansion while executing Makefile rules.
2618 # Protect against Makefile macro expansion.
2620 # If the first sed substitution is executed (which looks for macros that
2621 # take arguments), then we branch to the quote section. Otherwise,
2622 # look for a macro that doesn't take arguments.
2623 cat >confdef2opt.sed <<\_ACEOF
2626 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2628 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2632 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2638 # We use echo to avoid assuming a particular line-breaking character.
2639 # The extra dot is to prevent the shell from consuming trailing
2640 # line-breaks from the sub-command output. A line-break within
2641 # single-quotes doesn't work because, if this script is created in a
2642 # platform that uses two characters for line-breaks (e.g., DOS), tr
2644 ac_LF_and_DOT=`echo; echo .`
2645 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2646 rm -f confdef2opt.sed
2651 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2652 # 1. Remove the extension, and $U if already installed.
2653 ac_i=`echo "$ac_i" |
2654 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2656 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2657 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2661 LTLIBOBJS=$ac_ltlibobjs
2664 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2665 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
2666 Usually this means the macro was only invoked conditionally." >&5
2667 echo "$as_me: error: conditional \"AMDEP\" was never defined.
2668 Usually this means the macro was only invoked conditionally." >&2;}
2669 { (exit 1); exit 1; }; }
2671 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
2672 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
2673 Usually this means the macro was only invoked conditionally." >&5
2674 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
2675 Usually this means the macro was only invoked conditionally." >&2;}
2676 { (exit 1); exit 1; }; }
2679 : ${CONFIG_STATUS=./config.status}
2680 ac_clean_files_save=$ac_clean_files
2681 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2682 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2683 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2684 cat >$CONFIG_STATUS <<_ACEOF
2686 # Generated by $as_me.
2687 # Run this file to recreate the current configuration.
2688 # Compiler output produced by configure, useful for debugging
2689 # configure, is in config.log if it exists.
2694 SHELL=\${CONFIG_SHELL-$SHELL}
2697 cat >>$CONFIG_STATUS <<\_ACEOF
2698 ## --------------------- ##
2699 ## M4sh Initialization. ##
2700 ## --------------------- ##
2702 # Be Bourne compatible
2703 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2706 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2707 # is contrary to our usage. Disable this feature.
2708 alias -g '${1+"$@"}'='"$@"'
2709 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2712 DUALCASE=1; export DUALCASE # for MKS sh
2714 # Support unset when possible.
2715 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2722 # Work around bugs in pre-3.0 UWIN ksh.
2723 $as_unset ENV MAIL MAILPATH
2730 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2731 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2732 LC_TELEPHONE LC_TIME
2734 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2735 eval $as_var=C; export $as_var
2741 # Required to use basename.
2742 if expr a : '\(a\)' >/dev/null 2>&1; then
2748 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2749 as_basename=basename
2755 # Name of the executable.
2756 as_me=`$as_basename "$0" ||
2757 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2758 X"$0" : 'X\(//\)$' \| \
2759 X"$0" : 'X\(/\)$' \| \
2760 . : '\(.\)' 2>/dev/null ||
2762 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2763 /^X\/\(\/\/\)$/{ s//\1/; q; }
2764 /^X\/\(\/\).*/{ s//\1/; q; }
2768 # PATH needs CR, and LINENO needs CR and PATH.
2769 # Avoid depending upon Character Ranges.
2770 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2771 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2772 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2773 as_cr_digits='0123456789'
2774 as_cr_alnum=$as_cr_Letters$as_cr_digits
2776 # The user is always right.
2777 if test "${PATH_SEPARATOR+set}" != set; then
2778 echo "#! /bin/sh" >conf$$.sh
2779 echo "exit 0" >>conf$$.sh
2781 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2792 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2793 test "x$as_lineno_1" != "x$as_lineno_2" &&
2794 test "x$as_lineno_3" = "x$as_lineno_2" || {
2795 # Find who we are. Look in the path if we contain no path at all
2798 *[\\/]* ) as_myself=$0 ;;
2799 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2803 test -z "$as_dir" && as_dir=.
2804 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2809 # We did not find ourselves, most probably we were run as `sh COMMAND'
2810 # in which case we are not to be found in the path.
2811 if test "x$as_myself" = x; then
2814 if test ! -f "$as_myself"; then
2815 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2816 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2817 { (exit 1); exit 1; }; }
2819 case $CONFIG_SHELL in
2821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2822 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2825 test -z "$as_dir" && as_dir=.
2826 for as_base in sh bash ksh sh5; do
2829 if ("$as_dir/$as_base" -c '
2832 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2833 test "x$as_lineno_1" != "x$as_lineno_2" &&
2834 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2835 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2836 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2837 CONFIG_SHELL=$as_dir/$as_base
2839 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2847 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2848 # uniformly replaced by the line number. The first 'sed' inserts a
2849 # line-number line before each line; the second 'sed' does the real
2850 # work. The second script uses 'N' to pair each line-number line
2851 # with the numbered line, and appends trailing '-' during
2852 # substitution so that $LINENO is not a special case at line end.
2853 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2854 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2855 sed '=' <$as_myself |
2860 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2863 s,^['$as_cr_digits']*\n,,
2865 chmod +x $as_me.lineno ||
2866 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2867 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2868 { (exit 1); exit 1; }; }
2870 # Don't try to exec as it changes $[0], causing all sort of problems
2871 # (the dirname of $[0] is not the place where we might find the
2872 # original and so on. Autoconf is especially sensible to this).
2874 # Exit status is that of the last command.
2879 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2880 *c*,-n*) ECHO_N= ECHO_C='
2882 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2883 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2886 if expr a : '\(a\)' >/dev/null 2>&1; then
2892 rm -f conf$$ conf$$.exe conf$$.file
2894 if ln -s conf$$.file conf$$ 2>/dev/null; then
2895 # We could just check for DJGPP; but this test a) works b) is more generic
2896 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2897 if test -f conf$$.exe; then
2898 # Don't use ln at all; we don't have any links
2903 elif ln conf$$.file conf$$ 2>/dev/null; then
2908 rm -f conf$$ conf$$.exe conf$$.file
2910 if mkdir -p . 2>/dev/null; then
2913 test -d ./-p && rmdir ./-p
2917 as_executable_p="test -f"
2919 # Sed expression to map a string onto a valid CPP name.
2920 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2922 # Sed expression to map a string onto a valid variable name.
2923 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2927 # We need space, tab and new line, in precisely that order.
2937 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2938 # report actual input values of CONFIG_FILES etc. instead of their
2939 # values after options handling. Logging --version etc. is OK.
2943 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2944 ## Running $as_me. ##
2949 This file was extended by libgloss $as_me LIBGLOSS_VERSION, which was
2950 generated by GNU Autoconf 2.59. Invocation command line was
2952 CONFIG_FILES = $CONFIG_FILES
2953 CONFIG_HEADERS = $CONFIG_HEADERS
2954 CONFIG_LINKS = $CONFIG_LINKS
2955 CONFIG_COMMANDS = $CONFIG_COMMANDS
2959 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2963 # Files that config.status was made for.
2964 if test -n "$ac_config_files"; then
2965 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2968 if test -n "$ac_config_headers"; then
2969 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2972 if test -n "$ac_config_links"; then
2973 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2976 if test -n "$ac_config_commands"; then
2977 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2980 cat >>$CONFIG_STATUS <<\_ACEOF
2983 \`$as_me' instantiates files from templates according to the
2984 current configuration.
2986 Usage: $0 [OPTIONS] [FILE]...
2988 -h, --help print this help, then exit
2989 -V, --version print version number, then exit
2990 -q, --quiet do not print progress messages
2991 -d, --debug don't remove temporary files
2992 --recheck update $as_me by reconfiguring in the same conditions
2993 --file=FILE[:TEMPLATE]
2994 instantiate the configuration file FILE
2996 Configuration files:
2999 Configuration commands:
3002 Report bugs to <bug-autoconf@gnu.org>."
3005 cat >>$CONFIG_STATUS <<_ACEOF
3007 libgloss config.status LIBGLOSS_VERSION
3008 configured by $0, generated by GNU Autoconf 2.59,
3009 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3011 Copyright (C) 2003 Free Software Foundation, Inc.
3012 This config.status script is free software; the Free Software Foundation
3013 gives unlimited permission to copy, distribute and modify it."
3018 cat >>$CONFIG_STATUS <<\_ACEOF
3019 # If no file are specified by the user, then we need to provide default
3020 # value. By we need to know if files were specified by the user.
3026 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3027 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3035 *) # This is not an option, so the user has probably given explicit
3038 ac_need_defaults=false;;
3042 # Handling of the options.
3044 cat >>$CONFIG_STATUS <<\_ACEOF
3045 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3047 --version | --vers* | -V )
3048 echo "$ac_cs_version"; exit 0 ;;
3050 # Conflict between --help and --header
3051 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3052 Try \`$0 --help' for more information." >&5
3053 echo "$as_me: error: ambiguous option: $1
3054 Try \`$0 --help' for more information." >&2;}
3055 { (exit 1); exit 1; }; };;
3056 --help | --hel | -h )
3057 echo "$ac_cs_usage"; exit 0 ;;
3058 --debug | --d* | -d )
3060 --file | --fil | --fi | --f )
3062 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3063 ac_need_defaults=false;;
3064 --header | --heade | --head | --hea )
3066 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3067 ac_need_defaults=false;;
3068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3069 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3073 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3074 Try \`$0 --help' for more information." >&5
3075 echo "$as_me: error: unrecognized option: $1
3076 Try \`$0 --help' for more information." >&2;}
3077 { (exit 1); exit 1; }; } ;;
3079 *) ac_config_targets="$ac_config_targets $1" ;;
3085 ac_configure_extra_args=
3087 if $ac_cs_silent; then
3089 ac_configure_extra_args="$ac_configure_extra_args --silent"
3093 cat >>$CONFIG_STATUS <<_ACEOF
3094 if \$ac_cs_recheck; then
3095 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3096 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3101 cat >>$CONFIG_STATUS <<_ACEOF
3103 # INIT-COMMANDS section.
3106 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3109 with_multisubdir=${with_multisubdir}
3110 ac_configure_args="--enable-multilib ${ac_configure_args}"
3111 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3112 libgloss_topdir=${libgloss_topdir}
3121 cat >>$CONFIG_STATUS <<\_ACEOF
3122 for ac_config_target in $ac_config_targets
3124 case "$ac_config_target" in
3125 # Handling of arguments.
3126 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3127 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3128 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3129 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3130 { (exit 1); exit 1; }; };;
3134 # If the user did not use the arguments to specify the items to instantiate,
3135 # then the envvar interface is used. Set only those that are not.
3136 # We use the long form for the default assignment because of an extremely
3137 # bizarre bug on SunOS 4.1.3.
3138 if $ac_need_defaults; then
3139 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3140 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3143 # Have a temporary directory for convenience. Make it in the build tree
3144 # simply because there is no reason to put it here, and in addition,
3145 # creating and moving files from /tmp can sometimes cause problems.
3146 # Create a temporary directory, and hook for its removal unless debugging.
3149 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3150 trap '{ (exit 1); exit 1; }' 1 2 13 15
3153 # Create a (secure) tmp directory for tmp files.
3156 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3157 test -n "$tmp" && test -d "$tmp"
3160 tmp=./confstat$$-$RANDOM
3161 (umask 077 && mkdir $tmp)
3164 echo "$me: cannot create a temporary directory in ." >&2
3165 { (exit 1); exit 1; }
3170 cat >>$CONFIG_STATUS <<_ACEOF
3173 # CONFIG_FILES section.
3176 # No need to generate the scripts if there are no CONFIG_FILES.
3177 # This happens for instance when ./config.status config.h
3178 if test -n "\$CONFIG_FILES"; then
3179 # Protect against being on the right side of a sed subst in config.status.
3180 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3181 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3182 s,@SHELL@,$SHELL,;t t
3183 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3184 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3185 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3186 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3187 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3188 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3189 s,@exec_prefix@,$exec_prefix,;t t
3190 s,@prefix@,$prefix,;t t
3191 s,@program_transform_name@,$program_transform_name,;t t
3192 s,@bindir@,$bindir,;t t
3193 s,@sbindir@,$sbindir,;t t
3194 s,@libexecdir@,$libexecdir,;t t
3195 s,@datadir@,$datadir,;t t
3196 s,@sysconfdir@,$sysconfdir,;t t
3197 s,@sharedstatedir@,$sharedstatedir,;t t
3198 s,@localstatedir@,$localstatedir,;t t
3199 s,@libdir@,$libdir,;t t
3200 s,@includedir@,$includedir,;t t
3201 s,@oldincludedir@,$oldincludedir,;t t
3202 s,@infodir@,$infodir,;t t
3203 s,@mandir@,$mandir,;t t
3204 s,@build_alias@,$build_alias,;t t
3205 s,@host_alias@,$host_alias,;t t
3206 s,@target_alias@,$target_alias,;t t
3208 s,@ECHO_C@,$ECHO_C,;t t
3209 s,@ECHO_N@,$ECHO_N,;t t
3210 s,@ECHO_T@,$ECHO_T,;t t
3212 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3213 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3214 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3215 s,@build@,$build,;t t
3216 s,@build_cpu@,$build_cpu,;t t
3217 s,@build_vendor@,$build_vendor,;t t
3218 s,@build_os@,$build_os,;t t
3220 s,@host_cpu@,$host_cpu,;t t
3221 s,@host_vendor@,$host_vendor,;t t
3222 s,@host_os@,$host_os,;t t
3223 s,@target@,$target,;t t
3224 s,@target_cpu@,$target_cpu,;t t
3225 s,@target_vendor@,$target_vendor,;t t
3226 s,@target_os@,$target_os,;t t
3227 s,@CYGPATH_W@,$CYGPATH_W,;t t
3228 s,@PACKAGE@,$PACKAGE,;t t
3229 s,@VERSION@,$VERSION,;t t
3230 s,@ACLOCAL@,$ACLOCAL,;t t
3231 s,@AUTOCONF@,$AUTOCONF,;t t
3232 s,@AUTOMAKE@,$AUTOMAKE,;t t
3233 s,@AUTOHEADER@,$AUTOHEADER,;t t
3234 s,@MAKEINFO@,$MAKEINFO,;t t
3235 s,@install_sh@,$install_sh,;t t
3236 s,@STRIP@,$STRIP,;t t
3237 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3238 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3239 s,@mkdir_p@,$mkdir_p,;t t
3241 s,@SET_MAKE@,$SET_MAKE,;t t
3242 s,@am__leading_dot@,$am__leading_dot,;t t
3243 s,@AMTAR@,$AMTAR,;t t
3244 s,@am__tar@,$am__tar,;t t
3245 s,@am__untar@,$am__untar,;t t
3246 s,@subdirs@,$subdirs,;t t
3248 s,@DEPDIR@,$DEPDIR,;t t
3249 s,@am__include@,$am__include,;t t
3250 s,@am__quote@,$am__quote,;t t
3251 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3252 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3253 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3254 s,@CCDEPMODE@,$CCDEPMODE,;t t
3255 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
3256 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
3260 s,@RANLIB@,$RANLIB,;t t
3261 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
3263 s,@CCASFLAGS@,$CCASFLAGS,;t t
3264 s,@host_makefile_frag_path@,$host_makefile_frag_path,;t t
3265 s,@LIBOBJS@,$LIBOBJS,;t t
3266 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3267 /@host_makefile_frag@/r $host_makefile_frag
3268 s,@host_makefile_frag@,,;t t
3273 cat >>$CONFIG_STATUS <<\_ACEOF
3274 # Split the substitutions into bite-sized pieces for seds with
3275 # small command number limits, like on Digital OSF/1 and HP-UX.
3277 ac_sed_frag=1 # Number of current file.
3278 ac_beg=1 # First line for current file.
3279 ac_end=$ac_max_sed_lines # Line after last line for current file.
3282 while $ac_more_lines; do
3283 if test $ac_beg -gt 1; then
3284 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3286 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3288 if test ! -s $tmp/subs.frag; then
3291 # The purpose of the label and of the branching condition is to
3292 # speed up the sed processing (if there are no `@' at all, there
3293 # is no need to browse any of the substitutions).
3294 # These are the two extra sed commands mentioned above.
3296 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3297 if test -z "$ac_sed_cmds"; then
3298 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3300 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3302 ac_sed_frag=`expr $ac_sed_frag + 1`
3304 ac_end=`expr $ac_end + $ac_max_sed_lines`
3307 if test -z "$ac_sed_cmds"; then
3310 fi # test -n "$CONFIG_FILES"
3313 cat >>$CONFIG_STATUS <<\_ACEOF
3314 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3315 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3317 - | *:- | *:-:* ) # input from stdin
3319 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3320 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3321 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3322 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3323 * ) ac_file_in=$ac_file.in ;;
3326 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3327 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3328 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3329 X"$ac_file" : 'X\(//\)[^/]' \| \
3330 X"$ac_file" : 'X\(//\)$' \| \
3331 X"$ac_file" : 'X\(/\)' \| \
3332 . : '\(.\)' 2>/dev/null ||
3334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3335 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3336 /^X\(\/\/\)$/{ s//\1/; q; }
3337 /^X\(\/\).*/{ s//\1/; q; }
3339 { if $as_mkdir_p; then
3344 while test ! -d "$as_dir"; do
3345 as_dirs="$as_dir $as_dirs"
3346 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3347 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3348 X"$as_dir" : 'X\(//\)[^/]' \| \
3349 X"$as_dir" : 'X\(//\)$' \| \
3350 X"$as_dir" : 'X\(/\)' \| \
3351 . : '\(.\)' 2>/dev/null ||
3353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3354 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3355 /^X\(\/\/\)$/{ s//\1/; q; }
3356 /^X\(\/\).*/{ s//\1/; q; }
3359 test ! -n "$as_dirs" || mkdir $as_dirs
3360 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3361 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3362 { (exit 1); exit 1; }; }; }
3366 if test "$ac_dir" != .; then
3367 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3368 # A "../" for each directory in $ac_dir_suffix.
3369 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3371 ac_dir_suffix= ac_top_builddir=
3375 .) # No --srcdir option. We are building in place.
3377 if test -z "$ac_top_builddir"; then
3380 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3382 [\\/]* | ?:[\\/]* ) # Absolute path.
3383 ac_srcdir=$srcdir$ac_dir_suffix;
3384 ac_top_srcdir=$srcdir ;;
3386 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3387 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3390 # Do not use `cd foo && pwd` to compute absolute paths, because
3391 # the directories may not exist.
3393 .) ac_abs_builddir="$ac_dir";;
3396 .) ac_abs_builddir=`pwd`;;
3397 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3398 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3401 case $ac_abs_builddir in
3402 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3404 case ${ac_top_builddir}. in
3405 .) ac_abs_top_builddir=$ac_abs_builddir;;
3406 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3407 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3410 case $ac_abs_builddir in
3411 .) ac_abs_srcdir=$ac_srcdir;;
3414 .) ac_abs_srcdir=$ac_abs_builddir;;
3415 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3416 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3419 case $ac_abs_builddir in
3420 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3422 case $ac_top_srcdir in
3423 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3424 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3425 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3431 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3432 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3435 if test x"$ac_file" != x-; then
3436 { echo "$as_me:$LINENO: creating $ac_file" >&5
3437 echo "$as_me: creating $ac_file" >&6;}
3440 # Let's still pretend it is `configure' which instantiates (i.e., don't
3441 # use $as_me), people would be surprised to read:
3442 # /* config.h. Generated by config.status. */
3443 if test x"$ac_file" = x-; then
3446 configure_input="$ac_file. "
3448 configure_input=$configure_input"Generated from `echo $ac_file_in |
3449 sed 's,.*/,,'` by configure."
3451 # First look for the input files in the build tree, otherwise in the
3453 ac_file_inputs=`IFS=:
3454 for f in $ac_file_in; do
3456 -) echo $tmp/stdin ;;
3458 # Absolute (can't be DOS-style, as IFS=:)
3459 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3460 echo "$as_me: error: cannot find input file: $f" >&2;}
3461 { (exit 1); exit 1; }; }
3464 if test -f "$f"; then
3467 elif test -f "$srcdir/$f"; then
3472 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3473 echo "$as_me: error: cannot find input file: $f" >&2;}
3474 { (exit 1); exit 1; }; }
3477 done` || { (exit 1); exit 1; }
3479 cat >>$CONFIG_STATUS <<_ACEOF
3483 cat >>$CONFIG_STATUS <<\_ACEOF
3485 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3486 s,@configure_input@,$configure_input,;t t
3487 s,@srcdir@,$ac_srcdir,;t t
3488 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3489 s,@top_srcdir@,$ac_top_srcdir,;t t
3490 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3491 s,@builddir@,$ac_builddir,;t t
3492 s,@abs_builddir@,$ac_abs_builddir,;t t
3493 s,@top_builddir@,$ac_top_builddir,;t t
3494 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3495 s,@INSTALL@,$ac_INSTALL,;t t
3496 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3498 if test x"$ac_file" != x-; then
3499 mv $tmp/out $ac_file
3505 # Run the commands associated with the file.
3507 Makefile ) if test -n "$CONFIG_FILES"; then
3509 . ${libgloss_topdir}/config-ml.in
3514 cat >>$CONFIG_STATUS <<\_ACEOF
3517 # CONFIG_COMMANDS section.
3519 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3520 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3521 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3522 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3523 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3524 X"$ac_dest" : 'X\(//\)[^/]' \| \
3525 X"$ac_dest" : 'X\(//\)$' \| \
3526 X"$ac_dest" : 'X\(/\)' \| \
3527 . : '\(.\)' 2>/dev/null ||
3529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3530 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3531 /^X\(\/\/\)$/{ s//\1/; q; }
3532 /^X\(\/\).*/{ s//\1/; q; }
3534 { if $as_mkdir_p; then
3539 while test ! -d "$as_dir"; do
3540 as_dirs="$as_dir $as_dirs"
3541 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3542 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3543 X"$as_dir" : 'X\(//\)[^/]' \| \
3544 X"$as_dir" : 'X\(//\)$' \| \
3545 X"$as_dir" : 'X\(/\)' \| \
3546 . : '\(.\)' 2>/dev/null ||
3548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3549 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3550 /^X\(\/\/\)$/{ s//\1/; q; }
3551 /^X\(\/\).*/{ s//\1/; q; }
3554 test ! -n "$as_dirs" || mkdir $as_dirs
3555 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3556 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3557 { (exit 1); exit 1; }; }; }
3561 if test "$ac_dir" != .; then
3562 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3563 # A "../" for each directory in $ac_dir_suffix.
3564 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3566 ac_dir_suffix= ac_top_builddir=
3570 .) # No --srcdir option. We are building in place.
3572 if test -z "$ac_top_builddir"; then
3575 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3577 [\\/]* | ?:[\\/]* ) # Absolute path.
3578 ac_srcdir=$srcdir$ac_dir_suffix;
3579 ac_top_srcdir=$srcdir ;;
3581 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3582 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3585 # Do not use `cd foo && pwd` to compute absolute paths, because
3586 # the directories may not exist.
3588 .) ac_abs_builddir="$ac_dir";;
3591 .) ac_abs_builddir=`pwd`;;
3592 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3593 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3596 case $ac_abs_builddir in
3597 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3599 case ${ac_top_builddir}. in
3600 .) ac_abs_top_builddir=$ac_abs_builddir;;
3601 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3602 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3605 case $ac_abs_builddir in
3606 .) ac_abs_srcdir=$ac_srcdir;;
3609 .) ac_abs_srcdir=$ac_abs_builddir;;
3610 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3611 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3614 case $ac_abs_builddir in
3615 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3617 case $ac_top_srcdir in
3618 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3619 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3620 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3625 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3626 echo "$as_me: executing $ac_dest commands" >&6;}
3628 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
3629 # Strip MF so we end up with the name of the file.
3630 mf=`echo "$mf" | sed -e 's/:.*$//'`
3631 # Check whether this is an Automake generated Makefile or not.
3632 # We used to match only the files named `Makefile.in', but
3633 # some people rename them; so instead we look at the file content.
3634 # Grep'ing the first line is not enough: some people post-process
3635 # each Makefile.in and add a new line on top of each file to say so.
3636 # So let's grep whole file.
3637 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
3638 dirpart=`(dirname "$mf") 2>/dev/null ||
3639 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3640 X"$mf" : 'X\(//\)[^/]' \| \
3641 X"$mf" : 'X\(//\)$' \| \
3642 X"$mf" : 'X\(/\)' \| \
3643 . : '\(.\)' 2>/dev/null ||
3645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3646 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3647 /^X\(\/\/\)$/{ s//\1/; q; }
3648 /^X\(\/\).*/{ s//\1/; q; }
3653 # Extract the definition of DEPDIR, am__include, and am__quote
3654 # from the Makefile without running `make'.
3655 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3656 test -z "$DEPDIR" && continue
3657 am__include=`sed -n 's/^am__include = //p' < "$mf"`
3658 test -z "am__include" && continue
3659 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3660 # When using ansi2knr, U may be empty or an underscore; expand it
3661 U=`sed -n 's/^U = //p' < "$mf"`
3662 # Find all dependency output files, they are included files with
3663 # $(DEPDIR) in their names. We invoke sed twice because it is the
3664 # simplest approach to changing $(DEPDIR) to its actual value in the
3666 for file in `sed -n "
3667 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3668 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3669 # Make sure the directory exists.
3670 test -f "$dirpart/$file" && continue
3671 fdir=`(dirname "$file") 2>/dev/null ||
3672 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3673 X"$file" : 'X\(//\)[^/]' \| \
3674 X"$file" : 'X\(//\)$' \| \
3675 X"$file" : 'X\(/\)' \| \
3676 . : '\(.\)' 2>/dev/null ||
3678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3680 /^X\(\/\/\)$/{ s//\1/; q; }
3681 /^X\(\/\).*/{ s//\1/; q; }
3683 { if $as_mkdir_p; then
3684 mkdir -p $dirpart/$fdir
3686 as_dir=$dirpart/$fdir
3688 while test ! -d "$as_dir"; do
3689 as_dirs="$as_dir $as_dirs"
3690 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3691 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3692 X"$as_dir" : 'X\(//\)[^/]' \| \
3693 X"$as_dir" : 'X\(//\)$' \| \
3694 X"$as_dir" : 'X\(/\)' \| \
3695 . : '\(.\)' 2>/dev/null ||
3697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3698 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3699 /^X\(\/\/\)$/{ s//\1/; q; }
3700 /^X\(\/\).*/{ s//\1/; q; }
3703 test ! -n "$as_dirs" || mkdir $as_dirs
3704 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
3705 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
3706 { (exit 1); exit 1; }; }; }
3708 # echo "creating $dirpart/$file"
3709 echo '# dummy' > "$dirpart/$file"
3717 cat >>$CONFIG_STATUS <<\_ACEOF
3719 { (exit 0); exit 0; }
3721 chmod +x $CONFIG_STATUS
3722 ac_clean_files=$ac_clean_files_save
3725 # configure is writing to config.log, and then calls config.status.
3726 # config.status does its own redirection, appending to config.log.
3727 # Unfortunately, on DOS this fails, as config.log is still kept open
3728 # by configure, so config.status won't be able to write to it; its
3729 # output is simply discarded. So we exec the FD to /dev/null,
3730 # effectively closing config.log, so it can be properly (re)opened and
3731 # appended to by config.status. When coming back to configure, we
3732 # need to make the FD available again.
3733 if test "$no_create" != yes; then
3735 ac_config_status_args=
3736 test "$silent" = yes &&
3737 ac_config_status_args="$ac_config_status_args --quiet"
3739 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3741 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3742 # would make configure fail if this is the last instruction.
3743 $ac_cs_success || { (exit 1); exit 1; }
3747 # CONFIG_SUBDIRS section.
3749 if test "$no_recursion" != yes; then
3751 # Remove --cache-file and --srcdir arguments so they do not pile up.
3752 ac_sub_configure_args=
3754 for ac_arg in $ac_configure_args; do
3755 if test -n "$ac_prev"; then
3760 -cache-file | --cache-file | --cache-fil | --cache-fi \
3761 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3762 ac_prev=cache_file ;;
3763 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3764 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3767 --config-cache | -C)
3769 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3771 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3773 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3775 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3777 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3781 # Always prepend --prefix to ensure using the same prefix
3782 # in subdir configurations.
3783 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
3786 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3788 # Do not complain, so a configure script can configure whichever
3789 # parts of a large source tree are present.
3790 test -d $srcdir/$ac_dir || continue
3792 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
3793 echo "$as_me: configuring in $ac_dir" >&6;}
3794 { if $as_mkdir_p; then
3799 while test ! -d "$as_dir"; do
3800 as_dirs="$as_dir $as_dirs"
3801 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3802 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3803 X"$as_dir" : 'X\(//\)[^/]' \| \
3804 X"$as_dir" : 'X\(//\)$' \| \
3805 X"$as_dir" : 'X\(/\)' \| \
3806 . : '\(.\)' 2>/dev/null ||
3808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3809 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3810 /^X\(\/\/\)$/{ s//\1/; q; }
3811 /^X\(\/\).*/{ s//\1/; q; }
3814 test ! -n "$as_dirs" || mkdir $as_dirs
3815 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3816 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3817 { (exit 1); exit 1; }; }; }
3821 if test "$ac_dir" != .; then
3822 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3823 # A "../" for each directory in $ac_dir_suffix.
3824 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3826 ac_dir_suffix= ac_top_builddir=
3830 .) # No --srcdir option. We are building in place.
3832 if test -z "$ac_top_builddir"; then
3835 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3837 [\\/]* | ?:[\\/]* ) # Absolute path.
3838 ac_srcdir=$srcdir$ac_dir_suffix;
3839 ac_top_srcdir=$srcdir ;;
3841 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3842 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3845 # Do not use `cd foo && pwd` to compute absolute paths, because
3846 # the directories may not exist.
3848 .) ac_abs_builddir="$ac_dir";;
3851 .) ac_abs_builddir=`pwd`;;
3852 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3853 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3856 case $ac_abs_builddir in
3857 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3859 case ${ac_top_builddir}. in
3860 .) ac_abs_top_builddir=$ac_abs_builddir;;
3861 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3862 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3865 case $ac_abs_builddir in
3866 .) ac_abs_srcdir=$ac_srcdir;;
3869 .) ac_abs_srcdir=$ac_abs_builddir;;
3870 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3871 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3874 case $ac_abs_builddir in
3875 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3877 case $ac_top_srcdir in
3878 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3879 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3880 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3887 # Check for guested configure; otherwise get Cygnus style configure.
3888 if test -f $ac_srcdir/configure.gnu; then
3889 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
3890 elif test -f $ac_srcdir/configure; then
3891 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
3892 elif test -f $ac_srcdir/configure.in; then
3893 ac_sub_configure=$ac_configure
3895 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
3896 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3900 # The recursion is here.
3901 if test -n "$ac_sub_configure"; then
3902 # Make the cache file name correct relative to the subdirectory.
3904 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3906 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
3909 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3910 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3911 # The eval makes quoting arguments work.
3912 eval $ac_sub_configure $ac_sub_configure_args \
3913 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
3914 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
3915 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
3916 { (exit 1); exit 1; }; }