OSDN Git Service

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