OSDN Git Service

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