OSDN Git Service

Merge branch 'master' of github.com:monaka/binutils
[pf3gnuchains/pf3gnuchains4x.git] / sid / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete.  It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME=
269 PACKAGE_TARNAME=
270 PACKAGE_VERSION=
271 PACKAGE_STRING=
272 PACKAGE_BUGREPORT=
273
274 ac_unique_file="Makefile.in"
275 ac_subdirs_all="$ac_subdirs_all include component main bsp samples demos"
276 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA 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 DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP sidtarget_arm SIDTARGET_ARM_TRUE SIDTARGET_ARM_FALSE sidtarget_x86 SIDTARGET_X86_TRUE SIDTARGET_X86_FALSE sidtarget_mips SIDTARGET_MIPS_TRUE SIDTARGET_MIPS_FALSE sidtarget_m32r SIDTARGET_M32R_TRUE SIDTARGET_M32R_FALSE sidtarget_m68k SIDTARGET_M68K_TRUE SIDTARGET_M68K_FALSE sidtarget_mep SIDTARGET_MEP_TRUE SIDTARGET_MEP_FALSE sidtarget_mt SIDTARGET_MT_TRUE SIDTARGET_MT_FALSE sidtarget_ppc SIDTARGET_PPC_TRUE SIDTARGET_PPC_FALSE sidtarget_sh SIDTARGET_SH_TRUE SIDTARGET_SH_FALSE sidtarget_sh64 SIDTARGET_SH64_TRUE SIDTARGET_SH64_FALSE sidtarget_xstormy16 SIDTARGET_XSTORMY16_TRUE SIDTARGET_XSTORMY16_FALSE enable_shared target subdirs LIBOBJS LTLIBOBJS'
277 ac_subst_files=''
278
279 # Initialize some variables set by options.
280 ac_init_help=
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
284 cache_file=/dev/null
285 exec_prefix=NONE
286 no_create=
287 no_recursion=
288 prefix=NONE
289 program_prefix=NONE
290 program_suffix=NONE
291 program_transform_name=s,x,x,
292 silent=
293 site=
294 srcdir=
295 verbose=
296 x_includes=NONE
297 x_libraries=NONE
298
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
316
317 ac_prev=
318 for ac_option
319 do
320   # If the previous option needs an argument, assign it.
321   if test -n "$ac_prev"; then
322     eval "$ac_prev=\$ac_option"
323     ac_prev=
324     continue
325   fi
326
327   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328
329   # Accept the important Cygnus configure options, so we can diagnose typos.
330
331   case $ac_option in
332
333   -bindir | --bindir | --bindi | --bind | --bin | --bi)
334     ac_prev=bindir ;;
335   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336     bindir=$ac_optarg ;;
337
338   -build | --build | --buil | --bui | --bu)
339     ac_prev=build_alias ;;
340   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341     build_alias=$ac_optarg ;;
342
343   -cache-file | --cache-file | --cache-fil | --cache-fi \
344   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345     ac_prev=cache_file ;;
346   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348     cache_file=$ac_optarg ;;
349
350   --config-cache | -C)
351     cache_file=config.cache ;;
352
353   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354     ac_prev=datadir ;;
355   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356   | --da=*)
357     datadir=$ac_optarg ;;
358
359   -disable-* | --disable-*)
360     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361     # Reject names that are not valid shell variable names.
362     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364    { (exit 1); exit 1; }; }
365     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366     eval "enable_$ac_feature=no" ;;
367
368   -enable-* | --enable-*)
369     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370     # Reject names that are not valid shell variable names.
371     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373    { (exit 1); exit 1; }; }
374     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375     case $ac_option in
376       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377       *) ac_optarg=yes ;;
378     esac
379     eval "enable_$ac_feature='$ac_optarg'" ;;
380
381   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383   | --exec | --exe | --ex)
384     ac_prev=exec_prefix ;;
385   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387   | --exec=* | --exe=* | --ex=*)
388     exec_prefix=$ac_optarg ;;
389
390   -gas | --gas | --ga | --g)
391     # Obsolete; use --with-gas.
392     with_gas=yes ;;
393
394   -help | --help | --hel | --he | -h)
395     ac_init_help=long ;;
396   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397     ac_init_help=recursive ;;
398   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399     ac_init_help=short ;;
400
401   -host | --host | --hos | --ho)
402     ac_prev=host_alias ;;
403   -host=* | --host=* | --hos=* | --ho=*)
404     host_alias=$ac_optarg ;;
405
406   -includedir | --includedir | --includedi | --included | --include \
407   | --includ | --inclu | --incl | --inc)
408     ac_prev=includedir ;;
409   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410   | --includ=* | --inclu=* | --incl=* | --inc=*)
411     includedir=$ac_optarg ;;
412
413   -infodir | --infodir | --infodi | --infod | --info | --inf)
414     ac_prev=infodir ;;
415   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416     infodir=$ac_optarg ;;
417
418   -libdir | --libdir | --libdi | --libd)
419     ac_prev=libdir ;;
420   -libdir=* | --libdir=* | --libdi=* | --libd=*)
421     libdir=$ac_optarg ;;
422
423   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424   | --libexe | --libex | --libe)
425     ac_prev=libexecdir ;;
426   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427   | --libexe=* | --libex=* | --libe=*)
428     libexecdir=$ac_optarg ;;
429
430   -localstatedir | --localstatedir | --localstatedi | --localstated \
431   | --localstate | --localstat | --localsta | --localst \
432   | --locals | --local | --loca | --loc | --lo)
433     ac_prev=localstatedir ;;
434   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437     localstatedir=$ac_optarg ;;
438
439   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440     ac_prev=mandir ;;
441   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442     mandir=$ac_optarg ;;
443
444   -nfp | --nfp | --nf)
445     # Obsolete; use --without-fp.
446     with_fp=no ;;
447
448   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449   | --no-cr | --no-c | -n)
450     no_create=yes ;;
451
452   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454     no_recursion=yes ;;
455
456   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458   | --oldin | --oldi | --old | --ol | --o)
459     ac_prev=oldincludedir ;;
460   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463     oldincludedir=$ac_optarg ;;
464
465   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466     ac_prev=prefix ;;
467   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468     prefix=$ac_optarg ;;
469
470   -program-prefix | --program-prefix | --program-prefi | --program-pref \
471   | --program-pre | --program-pr | --program-p)
472     ac_prev=program_prefix ;;
473   -program-prefix=* | --program-prefix=* | --program-prefi=* \
474   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475     program_prefix=$ac_optarg ;;
476
477   -program-suffix | --program-suffix | --program-suffi | --program-suff \
478   | --program-suf | --program-su | --program-s)
479     ac_prev=program_suffix ;;
480   -program-suffix=* | --program-suffix=* | --program-suffi=* \
481   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482     program_suffix=$ac_optarg ;;
483
484   -program-transform-name | --program-transform-name \
485   | --program-transform-nam | --program-transform-na \
486   | --program-transform-n | --program-transform- \
487   | --program-transform | --program-transfor \
488   | --program-transfo | --program-transf \
489   | --program-trans | --program-tran \
490   | --progr-tra | --program-tr | --program-t)
491     ac_prev=program_transform_name ;;
492   -program-transform-name=* | --program-transform-name=* \
493   | --program-transform-nam=* | --program-transform-na=* \
494   | --program-transform-n=* | --program-transform-=* \
495   | --program-transform=* | --program-transfor=* \
496   | --program-transfo=* | --program-transf=* \
497   | --program-trans=* | --program-tran=* \
498   | --progr-tra=* | --program-tr=* | --program-t=*)
499     program_transform_name=$ac_optarg ;;
500
501   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502   | -silent | --silent | --silen | --sile | --sil)
503     silent=yes ;;
504
505   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506     ac_prev=sbindir ;;
507   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508   | --sbi=* | --sb=*)
509     sbindir=$ac_optarg ;;
510
511   -sharedstatedir | --sharedstatedir | --sharedstatedi \
512   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513   | --sharedst | --shareds | --shared | --share | --shar \
514   | --sha | --sh)
515     ac_prev=sharedstatedir ;;
516   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519   | --sha=* | --sh=*)
520     sharedstatedir=$ac_optarg ;;
521
522   -site | --site | --sit)
523     ac_prev=site ;;
524   -site=* | --site=* | --sit=*)
525     site=$ac_optarg ;;
526
527   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528     ac_prev=srcdir ;;
529   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530     srcdir=$ac_optarg ;;
531
532   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533   | --syscon | --sysco | --sysc | --sys | --sy)
534     ac_prev=sysconfdir ;;
535   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537     sysconfdir=$ac_optarg ;;
538
539   -target | --target | --targe | --targ | --tar | --ta | --t)
540     ac_prev=target_alias ;;
541   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542     target_alias=$ac_optarg ;;
543
544   -v | -verbose | --verbose | --verbos | --verbo | --verb)
545     verbose=yes ;;
546
547   -version | --version | --versio | --versi | --vers | -V)
548     ac_init_version=: ;;
549
550   -with-* | --with-*)
551     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552     # Reject names that are not valid shell variable names.
553     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554       { echo "$as_me: error: invalid package name: $ac_package" >&2
555    { (exit 1); exit 1; }; }
556     ac_package=`echo $ac_package| sed 's/-/_/g'`
557     case $ac_option in
558       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559       *) ac_optarg=yes ;;
560     esac
561     eval "with_$ac_package='$ac_optarg'" ;;
562
563   -without-* | --without-*)
564     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565     # Reject names that are not valid shell variable names.
566     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567       { echo "$as_me: error: invalid package name: $ac_package" >&2
568    { (exit 1); exit 1; }; }
569     ac_package=`echo $ac_package | sed 's/-/_/g'`
570     eval "with_$ac_package=no" ;;
571
572   --x)
573     # Obsolete; use --with-x.
574     with_x=yes ;;
575
576   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577   | --x-incl | --x-inc | --x-in | --x-i)
578     ac_prev=x_includes ;;
579   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581     x_includes=$ac_optarg ;;
582
583   -x-libraries | --x-libraries | --x-librarie | --x-librari \
584   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585     ac_prev=x_libraries ;;
586   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588     x_libraries=$ac_optarg ;;
589
590   -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592    { (exit 1); exit 1; }; }
593     ;;
594
595   *=*)
596     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597     # Reject names that are not valid shell variable names.
598     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600    { (exit 1); exit 1; }; }
601     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602     eval "$ac_envvar='$ac_optarg'"
603     export $ac_envvar ;;
604
605   *)
606     # FIXME: should be removed in autoconf 3.0.
607     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
611     ;;
612
613   esac
614 done
615
616 if test -n "$ac_prev"; then
617   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618   { echo "$as_me: error: missing argument to $ac_option" >&2
619    { (exit 1); exit 1; }; }
620 fi
621
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
624 do
625   eval ac_val=$`echo $ac_var`
626   case $ac_val in
627     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629    { (exit 1); exit 1; }; };;
630   esac
631 done
632
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635               localstatedir libdir includedir oldincludedir infodir mandir
636 do
637   eval ac_val=$`echo $ac_var`
638   case $ac_val in
639     [\\/$]* | ?:[\\/]* ) ;;
640     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641    { (exit 1); exit 1; }; };;
642   esac
643 done
644
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
648 build=$build_alias
649 host=$host_alias
650 target=$target_alias
651
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x; then
654   if test "x$build_alias" = x; then
655     cross_compiling=maybe
656     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657     If a cross compiler is detected then cross compile mode will be used." >&2
658   elif test "x$build_alias" != "x$host_alias"; then
659     cross_compiling=yes
660   fi
661 fi
662
663 ac_tool_prefix=
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
665
666 test "$silent" = yes && exec 6>/dev/null
667
668
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671   ac_srcdir_defaulted=yes
672   # Try the directory containing this script, then its parent.
673   ac_confdir=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675          X"$0" : 'X\(//\)[^/]' \| \
676          X"$0" : 'X\(//\)$' \| \
677          X"$0" : 'X\(/\)' \| \
678          .     : '\(.\)' 2>/dev/null ||
679 echo X"$0" |
680     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682           /^X\(\/\/\)$/{ s//\1/; q; }
683           /^X\(\/\).*/{ s//\1/; q; }
684           s/.*/./; q'`
685   srcdir=$ac_confdir
686   if test ! -r $srcdir/$ac_unique_file; then
687     srcdir=..
688   fi
689 else
690   ac_srcdir_defaulted=no
691 fi
692 if test ! -r $srcdir/$ac_unique_file; then
693   if test "$ac_srcdir_defaulted" = yes; then
694     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695    { (exit 1); exit 1; }; }
696   else
697     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698    { (exit 1); exit 1; }; }
699   fi
700 fi
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703    { (exit 1); exit 1; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
717 ac_env_CC_set=${CC+set}
718 ac_env_CC_value=$CC
719 ac_cv_env_CC_set=${CC+set}
720 ac_cv_env_CC_value=$CC
721 ac_env_CFLAGS_set=${CFLAGS+set}
722 ac_env_CFLAGS_value=$CFLAGS
723 ac_cv_env_CFLAGS_set=${CFLAGS+set}
724 ac_cv_env_CFLAGS_value=$CFLAGS
725 ac_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_env_LDFLAGS_value=$LDFLAGS
727 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728 ac_cv_env_LDFLAGS_value=$LDFLAGS
729 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_env_CPPFLAGS_value=$CPPFLAGS
731 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733 ac_env_CXX_set=${CXX+set}
734 ac_env_CXX_value=$CXX
735 ac_cv_env_CXX_set=${CXX+set}
736 ac_cv_env_CXX_value=$CXX
737 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
738 ac_env_CXXFLAGS_value=$CXXFLAGS
739 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
740 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
741 ac_env_CXXCPP_set=${CXXCPP+set}
742 ac_env_CXXCPP_value=$CXXCPP
743 ac_cv_env_CXXCPP_set=${CXXCPP+set}
744 ac_cv_env_CXXCPP_value=$CXXCPP
745
746 #
747 # Report the --help message.
748 #
749 if test "$ac_init_help" = "long"; then
750   # Omit some internal or obsolete options to make the list less imposing.
751   # This message is too long to be a string in the A/UX 3.1 sh.
752   cat <<_ACEOF
753 \`configure' configures this package to adapt to many kinds of systems.
754
755 Usage: $0 [OPTION]... [VAR=VALUE]...
756
757 To assign environment variables (e.g., CC, CFLAGS...), specify them as
758 VAR=VALUE.  See below for descriptions of some of the useful variables.
759
760 Defaults for the options are specified in brackets.
761
762 Configuration:
763   -h, --help              display this help and exit
764       --help=short        display options specific to this package
765       --help=recursive    display the short help of all the included packages
766   -V, --version           display version information and exit
767   -q, --quiet, --silent   do not print \`checking...' messages
768       --cache-file=FILE   cache test results in FILE [disabled]
769   -C, --config-cache      alias for \`--cache-file=config.cache'
770   -n, --no-create         do not create output files
771       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
772
773 _ACEOF
774
775   cat <<_ACEOF
776 Installation directories:
777   --prefix=PREFIX         install architecture-independent files in PREFIX
778                           [$ac_default_prefix]
779   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
780                           [PREFIX]
781
782 By default, \`make install' will install all the files in
783 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
784 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
785 for instance \`--prefix=\$HOME'.
786
787 For better control, use the options below.
788
789 Fine tuning of the installation directories:
790   --bindir=DIR           user executables [EPREFIX/bin]
791   --sbindir=DIR          system admin executables [EPREFIX/sbin]
792   --libexecdir=DIR       program executables [EPREFIX/libexec]
793   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
794   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
795   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
796   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
797   --libdir=DIR           object code libraries [EPREFIX/lib]
798   --includedir=DIR       C header files [PREFIX/include]
799   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
800   --infodir=DIR          info documentation [PREFIX/info]
801   --mandir=DIR           man documentation [PREFIX/man]
802 _ACEOF
803
804   cat <<\_ACEOF
805
806 Program names:
807   --program-prefix=PREFIX            prepend PREFIX to installed program names
808   --program-suffix=SUFFIX            append SUFFIX to installed program names
809   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
810 _ACEOF
811 fi
812
813 if test -n "$ac_init_help"; then
814
815   cat <<\_ACEOF
816
817 Optional Features:
818   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
819   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
820   --disable-dependency-tracking  speeds up one-time build
821   --enable-dependency-tracking   do not reject slow dependency extractors
822   --enable-maintainer-mode  enable make rules and dependencies not useful
823                           (and sometimes confusing) to the casual installer
824   --enable-targets=LIST   support given additional targets, or all
825
826 Some influential environment variables:
827   CC          C compiler command
828   CFLAGS      C compiler flags
829   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
830               nonstandard directory <lib dir>
831   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
832               headers in a nonstandard directory <include dir>
833   CXX         C++ compiler command
834   CXXFLAGS    C++ compiler flags
835   CXXCPP      C++ preprocessor
836
837 Use these variables to override the choices made by `configure' or to help
838 it to find libraries and programs with nonstandard names/locations.
839
840 _ACEOF
841 fi
842
843 if test "$ac_init_help" = "recursive"; then
844   # If there are subdirs, report their specific --help.
845   ac_popdir=`pwd`
846   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
847     test -d $ac_dir || continue
848     ac_builddir=.
849
850 if test "$ac_dir" != .; then
851   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
852   # A "../" for each directory in $ac_dir_suffix.
853   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
854 else
855   ac_dir_suffix= ac_top_builddir=
856 fi
857
858 case $srcdir in
859   .)  # No --srcdir option.  We are building in place.
860     ac_srcdir=.
861     if test -z "$ac_top_builddir"; then
862        ac_top_srcdir=.
863     else
864        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
865     fi ;;
866   [\\/]* | ?:[\\/]* )  # Absolute path.
867     ac_srcdir=$srcdir$ac_dir_suffix;
868     ac_top_srcdir=$srcdir ;;
869   *) # Relative path.
870     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
871     ac_top_srcdir=$ac_top_builddir$srcdir ;;
872 esac
873
874 # Do not use `cd foo && pwd` to compute absolute paths, because
875 # the directories may not exist.
876 case `pwd` in
877 .) ac_abs_builddir="$ac_dir";;
878 *)
879   case "$ac_dir" in
880   .) ac_abs_builddir=`pwd`;;
881   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
882   *) ac_abs_builddir=`pwd`/"$ac_dir";;
883   esac;;
884 esac
885 case $ac_abs_builddir in
886 .) ac_abs_top_builddir=${ac_top_builddir}.;;
887 *)
888   case ${ac_top_builddir}. in
889   .) ac_abs_top_builddir=$ac_abs_builddir;;
890   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
891   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
892   esac;;
893 esac
894 case $ac_abs_builddir in
895 .) ac_abs_srcdir=$ac_srcdir;;
896 *)
897   case $ac_srcdir in
898   .) ac_abs_srcdir=$ac_abs_builddir;;
899   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
900   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
901   esac;;
902 esac
903 case $ac_abs_builddir in
904 .) ac_abs_top_srcdir=$ac_top_srcdir;;
905 *)
906   case $ac_top_srcdir in
907   .) ac_abs_top_srcdir=$ac_abs_builddir;;
908   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
909   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
910   esac;;
911 esac
912
913     cd $ac_dir
914     # Check for guested configure; otherwise get Cygnus style configure.
915     if test -f $ac_srcdir/configure.gnu; then
916       echo
917       $SHELL $ac_srcdir/configure.gnu  --help=recursive
918     elif test -f $ac_srcdir/configure; then
919       echo
920       $SHELL $ac_srcdir/configure  --help=recursive
921     elif test -f $ac_srcdir/configure.ac ||
922            test -f $ac_srcdir/configure.in; then
923       echo
924       $ac_configure --help
925     else
926       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
927     fi
928     cd $ac_popdir
929   done
930 fi
931
932 test -n "$ac_init_help" && exit 0
933 if $ac_init_version; then
934   cat <<\_ACEOF
935
936 Copyright (C) 2003 Free Software Foundation, Inc.
937 This configure script is free software; the Free Software Foundation
938 gives unlimited permission to copy, distribute and modify it.
939 _ACEOF
940   exit 0
941 fi
942 exec 5>config.log
943 cat >&5 <<_ACEOF
944 This file contains any messages produced by compilers while
945 running configure, to aid debugging if configure makes a mistake.
946
947 It was created by $as_me, which was
948 generated by GNU Autoconf 2.59.  Invocation command line was
949
950   $ $0 $@
951
952 _ACEOF
953 {
954 cat <<_ASUNAME
955 ## --------- ##
956 ## Platform. ##
957 ## --------- ##
958
959 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
960 uname -m = `(uname -m) 2>/dev/null || echo unknown`
961 uname -r = `(uname -r) 2>/dev/null || echo unknown`
962 uname -s = `(uname -s) 2>/dev/null || echo unknown`
963 uname -v = `(uname -v) 2>/dev/null || echo unknown`
964
965 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
966 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
967
968 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
969 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
970 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
971 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
972 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
973 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
974 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
975
976 _ASUNAME
977
978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
979 for as_dir in $PATH
980 do
981   IFS=$as_save_IFS
982   test -z "$as_dir" && as_dir=.
983   echo "PATH: $as_dir"
984 done
985
986 } >&5
987
988 cat >&5 <<_ACEOF
989
990
991 ## ----------- ##
992 ## Core tests. ##
993 ## ----------- ##
994
995 _ACEOF
996
997
998 # Keep a trace of the command line.
999 # Strip out --no-create and --no-recursion so they do not pile up.
1000 # Strip out --silent because we don't want to record it for future runs.
1001 # Also quote any args containing shell meta-characters.
1002 # Make two passes to allow for proper duplicate-argument suppression.
1003 ac_configure_args=
1004 ac_configure_args0=
1005 ac_configure_args1=
1006 ac_sep=
1007 ac_must_keep_next=false
1008 for ac_pass in 1 2
1009 do
1010   for ac_arg
1011   do
1012     case $ac_arg in
1013     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1014     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1015     | -silent | --silent | --silen | --sile | --sil)
1016       continue ;;
1017     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1018       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1019     esac
1020     case $ac_pass in
1021     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1022     2)
1023       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1024       if test $ac_must_keep_next = true; then
1025         ac_must_keep_next=false # Got value, back to normal.
1026       else
1027         case $ac_arg in
1028           *=* | --config-cache | -C | -disable-* | --disable-* \
1029           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1030           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1031           | -with-* | --with-* | -without-* | --without-* | --x)
1032             case "$ac_configure_args0 " in
1033               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1034             esac
1035             ;;
1036           -* ) ac_must_keep_next=true ;;
1037         esac
1038       fi
1039       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1040       # Get rid of the leading space.
1041       ac_sep=" "
1042       ;;
1043     esac
1044   done
1045 done
1046 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1047 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1048
1049 # When interrupted or exit'd, cleanup temporary files, and complete
1050 # config.log.  We remove comments because anyway the quotes in there
1051 # would cause problems or look ugly.
1052 # WARNING: Be sure not to use single quotes in there, as some shells,
1053 # such as our DU 5.0 friend, will then `close' the trap.
1054 trap 'exit_status=$?
1055   # Save into config.log some information that might help in debugging.
1056   {
1057     echo
1058
1059     cat <<\_ASBOX
1060 ## ---------------- ##
1061 ## Cache variables. ##
1062 ## ---------------- ##
1063 _ASBOX
1064     echo
1065     # The following way of writing the cache mishandles newlines in values,
1066 {
1067   (set) 2>&1 |
1068     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1069     *ac_space=\ *)
1070       sed -n \
1071         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1072           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1073       ;;
1074     *)
1075       sed -n \
1076         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1077       ;;
1078     esac;
1079 }
1080     echo
1081
1082     cat <<\_ASBOX
1083 ## ----------------- ##
1084 ## Output variables. ##
1085 ## ----------------- ##
1086 _ASBOX
1087     echo
1088     for ac_var in $ac_subst_vars
1089     do
1090       eval ac_val=$`echo $ac_var`
1091       echo "$ac_var='"'"'$ac_val'"'"'"
1092     done | sort
1093     echo
1094
1095     if test -n "$ac_subst_files"; then
1096       cat <<\_ASBOX
1097 ## ------------- ##
1098 ## Output files. ##
1099 ## ------------- ##
1100 _ASBOX
1101       echo
1102       for ac_var in $ac_subst_files
1103       do
1104         eval ac_val=$`echo $ac_var`
1105         echo "$ac_var='"'"'$ac_val'"'"'"
1106       done | sort
1107       echo
1108     fi
1109
1110     if test -s confdefs.h; then
1111       cat <<\_ASBOX
1112 ## ----------- ##
1113 ## confdefs.h. ##
1114 ## ----------- ##
1115 _ASBOX
1116       echo
1117       sed "/^$/d" confdefs.h | sort
1118       echo
1119     fi
1120     test "$ac_signal" != 0 &&
1121       echo "$as_me: caught signal $ac_signal"
1122     echo "$as_me: exit $exit_status"
1123   } >&5
1124   rm -f core *.core &&
1125   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1126     exit $exit_status
1127      ' 0
1128 for ac_signal in 1 2 13 15; do
1129   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1130 done
1131 ac_signal=0
1132
1133 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1134 rm -rf conftest* confdefs.h
1135 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1136 echo >confdefs.h
1137
1138 # Predefined preprocessor variables.
1139
1140 cat >>confdefs.h <<_ACEOF
1141 #define PACKAGE_NAME "$PACKAGE_NAME"
1142 _ACEOF
1143
1144
1145 cat >>confdefs.h <<_ACEOF
1146 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1147 _ACEOF
1148
1149
1150 cat >>confdefs.h <<_ACEOF
1151 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1152 _ACEOF
1153
1154
1155 cat >>confdefs.h <<_ACEOF
1156 #define PACKAGE_STRING "$PACKAGE_STRING"
1157 _ACEOF
1158
1159
1160 cat >>confdefs.h <<_ACEOF
1161 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1162 _ACEOF
1163
1164
1165 # Let the site file select an alternate cache file if it wants to.
1166 # Prefer explicitly selected file to automatically selected ones.
1167 if test -z "$CONFIG_SITE"; then
1168   if test "x$prefix" != xNONE; then
1169     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1170   else
1171     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1172   fi
1173 fi
1174 for ac_site_file in $CONFIG_SITE; do
1175   if test -r "$ac_site_file"; then
1176     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1177 echo "$as_me: loading site script $ac_site_file" >&6;}
1178     sed 's/^/| /' "$ac_site_file" >&5
1179     . "$ac_site_file"
1180   fi
1181 done
1182
1183 if test -r "$cache_file"; then
1184   # Some versions of bash will fail to source /dev/null (special
1185   # files actually), so we avoid doing that.
1186   if test -f "$cache_file"; then
1187     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1188 echo "$as_me: loading cache $cache_file" >&6;}
1189     case $cache_file in
1190       [\\/]* | ?:[\\/]* ) . $cache_file;;
1191       *)                      . ./$cache_file;;
1192     esac
1193   fi
1194 else
1195   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1196 echo "$as_me: creating cache $cache_file" >&6;}
1197   >$cache_file
1198 fi
1199
1200 # Check that the precious variables saved in the cache have kept the same
1201 # value.
1202 ac_cache_corrupted=false
1203 for ac_var in `(set) 2>&1 |
1204                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1205   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1206   eval ac_new_set=\$ac_env_${ac_var}_set
1207   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1208   eval ac_new_val="\$ac_env_${ac_var}_value"
1209   case $ac_old_set,$ac_new_set in
1210     set,)
1211       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1212 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1213       ac_cache_corrupted=: ;;
1214     ,set)
1215       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1216 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1217       ac_cache_corrupted=: ;;
1218     ,);;
1219     *)
1220       if test "x$ac_old_val" != "x$ac_new_val"; then
1221         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1222 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1223         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1224 echo "$as_me:   former value:  $ac_old_val" >&2;}
1225         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1226 echo "$as_me:   current value: $ac_new_val" >&2;}
1227         ac_cache_corrupted=:
1228       fi;;
1229   esac
1230   # Pass precious variables to config.status.
1231   if test "$ac_new_set" = set; then
1232     case $ac_new_val in
1233     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1234       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1235     *) ac_arg=$ac_var=$ac_new_val ;;
1236     esac
1237     case " $ac_configure_args " in
1238       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1239       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1240     esac
1241   fi
1242 done
1243 if $ac_cache_corrupted; then
1244   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1245 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1246   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1247 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1248    { (exit 1); exit 1; }; }
1249 fi
1250
1251 ac_ext=c
1252 ac_cpp='$CPP $CPPFLAGS'
1253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275 ac_aux_dir=
1276 for ac_dir in config $srcdir/config; do
1277   if test -f $ac_dir/install-sh; then
1278     ac_aux_dir=$ac_dir
1279     ac_install_sh="$ac_aux_dir/install-sh -c"
1280     break
1281   elif test -f $ac_dir/install.sh; then
1282     ac_aux_dir=$ac_dir
1283     ac_install_sh="$ac_aux_dir/install.sh -c"
1284     break
1285   elif test -f $ac_dir/shtool; then
1286     ac_aux_dir=$ac_dir
1287     ac_install_sh="$ac_aux_dir/shtool install -c"
1288     break
1289   fi
1290 done
1291 if test -z "$ac_aux_dir"; then
1292   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1293 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1294    { (exit 1); exit 1; }; }
1295 fi
1296 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1297 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1298 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1299
1300
1301 ac_ext=c
1302 ac_cpp='$CPP $CPPFLAGS'
1303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1306 if test -n "$ac_tool_prefix"; then
1307   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1308 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1309 echo "$as_me:$LINENO: checking for $ac_word" >&5
1310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1311 if test "${ac_cv_prog_CC+set}" = set; then
1312   echo $ECHO_N "(cached) $ECHO_C" >&6
1313 else
1314   if test -n "$CC"; then
1315   ac_cv_prog_CC="$CC" # Let the user override the test.
1316 else
1317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1318 for as_dir in $PATH
1319 do
1320   IFS=$as_save_IFS
1321   test -z "$as_dir" && as_dir=.
1322   for ac_exec_ext in '' $ac_executable_extensions; do
1323   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1324     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1325     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1326     break 2
1327   fi
1328 done
1329 done
1330
1331 fi
1332 fi
1333 CC=$ac_cv_prog_CC
1334 if test -n "$CC"; then
1335   echo "$as_me:$LINENO: result: $CC" >&5
1336 echo "${ECHO_T}$CC" >&6
1337 else
1338   echo "$as_me:$LINENO: result: no" >&5
1339 echo "${ECHO_T}no" >&6
1340 fi
1341
1342 fi
1343 if test -z "$ac_cv_prog_CC"; then
1344   ac_ct_CC=$CC
1345   # Extract the first word of "gcc", so it can be a program name with args.
1346 set dummy gcc; ac_word=$2
1347 echo "$as_me:$LINENO: checking for $ac_word" >&5
1348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1349 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1350   echo $ECHO_N "(cached) $ECHO_C" >&6
1351 else
1352   if test -n "$ac_ct_CC"; then
1353   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1354 else
1355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1356 for as_dir in $PATH
1357 do
1358   IFS=$as_save_IFS
1359   test -z "$as_dir" && as_dir=.
1360   for ac_exec_ext in '' $ac_executable_extensions; do
1361   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1362     ac_cv_prog_ac_ct_CC="gcc"
1363     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1364     break 2
1365   fi
1366 done
1367 done
1368
1369 fi
1370 fi
1371 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1372 if test -n "$ac_ct_CC"; then
1373   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1374 echo "${ECHO_T}$ac_ct_CC" >&6
1375 else
1376   echo "$as_me:$LINENO: result: no" >&5
1377 echo "${ECHO_T}no" >&6
1378 fi
1379
1380   CC=$ac_ct_CC
1381 else
1382   CC="$ac_cv_prog_CC"
1383 fi
1384
1385 if test -z "$CC"; then
1386   if test -n "$ac_tool_prefix"; then
1387   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1388 set dummy ${ac_tool_prefix}cc; ac_word=$2
1389 echo "$as_me:$LINENO: checking for $ac_word" >&5
1390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1391 if test "${ac_cv_prog_CC+set}" = set; then
1392   echo $ECHO_N "(cached) $ECHO_C" >&6
1393 else
1394   if test -n "$CC"; then
1395   ac_cv_prog_CC="$CC" # Let the user override the test.
1396 else
1397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1398 for as_dir in $PATH
1399 do
1400   IFS=$as_save_IFS
1401   test -z "$as_dir" && as_dir=.
1402   for ac_exec_ext in '' $ac_executable_extensions; do
1403   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1404     ac_cv_prog_CC="${ac_tool_prefix}cc"
1405     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1406     break 2
1407   fi
1408 done
1409 done
1410
1411 fi
1412 fi
1413 CC=$ac_cv_prog_CC
1414 if test -n "$CC"; then
1415   echo "$as_me:$LINENO: result: $CC" >&5
1416 echo "${ECHO_T}$CC" >&6
1417 else
1418   echo "$as_me:$LINENO: result: no" >&5
1419 echo "${ECHO_T}no" >&6
1420 fi
1421
1422 fi
1423 if test -z "$ac_cv_prog_CC"; then
1424   ac_ct_CC=$CC
1425   # Extract the first word of "cc", so it can be a program name with args.
1426 set dummy cc; ac_word=$2
1427 echo "$as_me:$LINENO: checking for $ac_word" >&5
1428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1429 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1430   echo $ECHO_N "(cached) $ECHO_C" >&6
1431 else
1432   if test -n "$ac_ct_CC"; then
1433   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1434 else
1435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1436 for as_dir in $PATH
1437 do
1438   IFS=$as_save_IFS
1439   test -z "$as_dir" && as_dir=.
1440   for ac_exec_ext in '' $ac_executable_extensions; do
1441   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1442     ac_cv_prog_ac_ct_CC="cc"
1443     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1444     break 2
1445   fi
1446 done
1447 done
1448
1449 fi
1450 fi
1451 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1452 if test -n "$ac_ct_CC"; then
1453   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1454 echo "${ECHO_T}$ac_ct_CC" >&6
1455 else
1456   echo "$as_me:$LINENO: result: no" >&5
1457 echo "${ECHO_T}no" >&6
1458 fi
1459
1460   CC=$ac_ct_CC
1461 else
1462   CC="$ac_cv_prog_CC"
1463 fi
1464
1465 fi
1466 if test -z "$CC"; then
1467   # Extract the first word of "cc", so it can be a program name with args.
1468 set dummy cc; ac_word=$2
1469 echo "$as_me:$LINENO: checking for $ac_word" >&5
1470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1471 if test "${ac_cv_prog_CC+set}" = set; then
1472   echo $ECHO_N "(cached) $ECHO_C" >&6
1473 else
1474   if test -n "$CC"; then
1475   ac_cv_prog_CC="$CC" # Let the user override the test.
1476 else
1477   ac_prog_rejected=no
1478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1479 for as_dir in $PATH
1480 do
1481   IFS=$as_save_IFS
1482   test -z "$as_dir" && as_dir=.
1483   for ac_exec_ext in '' $ac_executable_extensions; do
1484   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1485     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1486        ac_prog_rejected=yes
1487        continue
1488      fi
1489     ac_cv_prog_CC="cc"
1490     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1491     break 2
1492   fi
1493 done
1494 done
1495
1496 if test $ac_prog_rejected = yes; then
1497   # We found a bogon in the path, so make sure we never use it.
1498   set dummy $ac_cv_prog_CC
1499   shift
1500   if test $# != 0; then
1501     # We chose a different compiler from the bogus one.
1502     # However, it has the same basename, so the bogon will be chosen
1503     # first if we set CC to just the basename; use the full file name.
1504     shift
1505     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1506   fi
1507 fi
1508 fi
1509 fi
1510 CC=$ac_cv_prog_CC
1511 if test -n "$CC"; then
1512   echo "$as_me:$LINENO: result: $CC" >&5
1513 echo "${ECHO_T}$CC" >&6
1514 else
1515   echo "$as_me:$LINENO: result: no" >&5
1516 echo "${ECHO_T}no" >&6
1517 fi
1518
1519 fi
1520 if test -z "$CC"; then
1521   if test -n "$ac_tool_prefix"; then
1522   for ac_prog in cl
1523   do
1524     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1525 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1526 echo "$as_me:$LINENO: checking for $ac_word" >&5
1527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1528 if test "${ac_cv_prog_CC+set}" = set; then
1529   echo $ECHO_N "(cached) $ECHO_C" >&6
1530 else
1531   if test -n "$CC"; then
1532   ac_cv_prog_CC="$CC" # Let the user override the test.
1533 else
1534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1535 for as_dir in $PATH
1536 do
1537   IFS=$as_save_IFS
1538   test -z "$as_dir" && as_dir=.
1539   for ac_exec_ext in '' $ac_executable_extensions; do
1540   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1541     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1542     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1543     break 2
1544   fi
1545 done
1546 done
1547
1548 fi
1549 fi
1550 CC=$ac_cv_prog_CC
1551 if test -n "$CC"; then
1552   echo "$as_me:$LINENO: result: $CC" >&5
1553 echo "${ECHO_T}$CC" >&6
1554 else
1555   echo "$as_me:$LINENO: result: no" >&5
1556 echo "${ECHO_T}no" >&6
1557 fi
1558
1559     test -n "$CC" && break
1560   done
1561 fi
1562 if test -z "$CC"; then
1563   ac_ct_CC=$CC
1564   for ac_prog in cl
1565 do
1566   # Extract the first word of "$ac_prog", so it can be a program name with args.
1567 set dummy $ac_prog; ac_word=$2
1568 echo "$as_me:$LINENO: checking for $ac_word" >&5
1569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1570 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1571   echo $ECHO_N "(cached) $ECHO_C" >&6
1572 else
1573   if test -n "$ac_ct_CC"; then
1574   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1575 else
1576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1577 for as_dir in $PATH
1578 do
1579   IFS=$as_save_IFS
1580   test -z "$as_dir" && as_dir=.
1581   for ac_exec_ext in '' $ac_executable_extensions; do
1582   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1583     ac_cv_prog_ac_ct_CC="$ac_prog"
1584     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1585     break 2
1586   fi
1587 done
1588 done
1589
1590 fi
1591 fi
1592 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1593 if test -n "$ac_ct_CC"; then
1594   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1595 echo "${ECHO_T}$ac_ct_CC" >&6
1596 else
1597   echo "$as_me:$LINENO: result: no" >&5
1598 echo "${ECHO_T}no" >&6
1599 fi
1600
1601   test -n "$ac_ct_CC" && break
1602 done
1603
1604   CC=$ac_ct_CC
1605 fi
1606
1607 fi
1608
1609
1610 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1611 See \`config.log' for more details." >&5
1612 echo "$as_me: error: no acceptable C compiler found in \$PATH
1613 See \`config.log' for more details." >&2;}
1614    { (exit 1); exit 1; }; }
1615
1616 # Provide some information about the compiler.
1617 echo "$as_me:$LINENO:" \
1618      "checking for C compiler version" >&5
1619 ac_compiler=`set X $ac_compile; echo $2`
1620 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1621   (eval $ac_compiler --version </dev/null >&5) 2>&5
1622   ac_status=$?
1623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1624   (exit $ac_status); }
1625 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1626   (eval $ac_compiler -v </dev/null >&5) 2>&5
1627   ac_status=$?
1628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1629   (exit $ac_status); }
1630 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1631   (eval $ac_compiler -V </dev/null >&5) 2>&5
1632   ac_status=$?
1633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1634   (exit $ac_status); }
1635
1636 cat >conftest.$ac_ext <<_ACEOF
1637 /* confdefs.h.  */
1638 _ACEOF
1639 cat confdefs.h >>conftest.$ac_ext
1640 cat >>conftest.$ac_ext <<_ACEOF
1641 /* end confdefs.h.  */
1642
1643 int
1644 main ()
1645 {
1646
1647   ;
1648   return 0;
1649 }
1650 _ACEOF
1651 ac_clean_files_save=$ac_clean_files
1652 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1653 # Try to create an executable without -o first, disregard a.out.
1654 # It will help us diagnose broken compilers, and finding out an intuition
1655 # of exeext.
1656 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1657 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1658 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1659 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1660   (eval $ac_link_default) 2>&5
1661   ac_status=$?
1662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1663   (exit $ac_status); }; then
1664   # Find the output, starting from the most likely.  This scheme is
1665 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1666 # resort.
1667
1668 # Be careful to initialize this variable, since it used to be cached.
1669 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1670 ac_cv_exeext=
1671 # b.out is created by i960 compilers.
1672 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1673 do
1674   test -f "$ac_file" || continue
1675   case $ac_file in
1676     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1677         ;;
1678     conftest.$ac_ext )
1679         # This is the source file.
1680         ;;
1681     [ab].out )
1682         # We found the default executable, but exeext='' is most
1683         # certainly right.
1684         break;;
1685     *.* )
1686         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1687         # FIXME: I believe we export ac_cv_exeext for Libtool,
1688         # but it would be cool to find out if it's true.  Does anybody
1689         # maintain Libtool? --akim.
1690         export ac_cv_exeext
1691         break;;
1692     * )
1693         break;;
1694   esac
1695 done
1696 else
1697   echo "$as_me: failed program was:" >&5
1698 sed 's/^/| /' conftest.$ac_ext >&5
1699
1700 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1701 See \`config.log' for more details." >&5
1702 echo "$as_me: error: C compiler cannot create executables
1703 See \`config.log' for more details." >&2;}
1704    { (exit 77); exit 77; }; }
1705 fi
1706
1707 ac_exeext=$ac_cv_exeext
1708 echo "$as_me:$LINENO: result: $ac_file" >&5
1709 echo "${ECHO_T}$ac_file" >&6
1710
1711 # Check the compiler produces executables we can run.  If not, either
1712 # the compiler is broken, or we cross compile.
1713 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1714 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1715 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1716 # If not cross compiling, check that we can run a simple program.
1717 if test "$cross_compiling" != yes; then
1718   if { ac_try='./$ac_file'
1719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1720   (eval $ac_try) 2>&5
1721   ac_status=$?
1722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1723   (exit $ac_status); }; }; then
1724     cross_compiling=no
1725   else
1726     if test "$cross_compiling" = maybe; then
1727         cross_compiling=yes
1728     else
1729         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1730 If you meant to cross compile, use \`--host'.
1731 See \`config.log' for more details." >&5
1732 echo "$as_me: error: cannot run C compiled programs.
1733 If you meant to cross compile, use \`--host'.
1734 See \`config.log' for more details." >&2;}
1735    { (exit 1); exit 1; }; }
1736     fi
1737   fi
1738 fi
1739 echo "$as_me:$LINENO: result: yes" >&5
1740 echo "${ECHO_T}yes" >&6
1741
1742 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1743 ac_clean_files=$ac_clean_files_save
1744 # Check the compiler produces executables we can run.  If not, either
1745 # the compiler is broken, or we cross compile.
1746 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1747 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1748 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1749 echo "${ECHO_T}$cross_compiling" >&6
1750
1751 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1752 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1754   (eval $ac_link) 2>&5
1755   ac_status=$?
1756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1757   (exit $ac_status); }; then
1758   # If both `conftest.exe' and `conftest' are `present' (well, observable)
1759 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1760 # work properly (i.e., refer to `conftest.exe'), while it won't with
1761 # `rm'.
1762 for ac_file in conftest.exe conftest conftest.*; do
1763   test -f "$ac_file" || continue
1764   case $ac_file in
1765     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1766     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1767           export ac_cv_exeext
1768           break;;
1769     * ) break;;
1770   esac
1771 done
1772 else
1773   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1774 See \`config.log' for more details." >&5
1775 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1776 See \`config.log' for more details." >&2;}
1777    { (exit 1); exit 1; }; }
1778 fi
1779
1780 rm -f conftest$ac_cv_exeext
1781 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1782 echo "${ECHO_T}$ac_cv_exeext" >&6
1783
1784 rm -f conftest.$ac_ext
1785 EXEEXT=$ac_cv_exeext
1786 ac_exeext=$EXEEXT
1787 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1788 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1789 if test "${ac_cv_objext+set}" = set; then
1790   echo $ECHO_N "(cached) $ECHO_C" >&6
1791 else
1792   cat >conftest.$ac_ext <<_ACEOF
1793 /* confdefs.h.  */
1794 _ACEOF
1795 cat confdefs.h >>conftest.$ac_ext
1796 cat >>conftest.$ac_ext <<_ACEOF
1797 /* end confdefs.h.  */
1798
1799 int
1800 main ()
1801 {
1802
1803   ;
1804   return 0;
1805 }
1806 _ACEOF
1807 rm -f conftest.o conftest.obj
1808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1809   (eval $ac_compile) 2>&5
1810   ac_status=$?
1811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1812   (exit $ac_status); }; then
1813   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1814   case $ac_file in
1815     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1816     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1817        break;;
1818   esac
1819 done
1820 else
1821   echo "$as_me: failed program was:" >&5
1822 sed 's/^/| /' conftest.$ac_ext >&5
1823
1824 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1825 See \`config.log' for more details." >&5
1826 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1827 See \`config.log' for more details." >&2;}
1828    { (exit 1); exit 1; }; }
1829 fi
1830
1831 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1832 fi
1833 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1834 echo "${ECHO_T}$ac_cv_objext" >&6
1835 OBJEXT=$ac_cv_objext
1836 ac_objext=$OBJEXT
1837 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1838 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1839 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1840   echo $ECHO_N "(cached) $ECHO_C" >&6
1841 else
1842   cat >conftest.$ac_ext <<_ACEOF
1843 /* confdefs.h.  */
1844 _ACEOF
1845 cat confdefs.h >>conftest.$ac_ext
1846 cat >>conftest.$ac_ext <<_ACEOF
1847 /* end confdefs.h.  */
1848
1849 int
1850 main ()
1851 {
1852 #ifndef __GNUC__
1853        choke me
1854 #endif
1855
1856   ;
1857   return 0;
1858 }
1859 _ACEOF
1860 rm -f conftest.$ac_objext
1861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1862   (eval $ac_compile) 2>conftest.er1
1863   ac_status=$?
1864   grep -v '^ *+' conftest.er1 >conftest.err
1865   rm -f conftest.er1
1866   cat conftest.err >&5
1867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1868   (exit $ac_status); } &&
1869          { ac_try='test -z "$ac_c_werror_flag"
1870                          || test ! -s conftest.err'
1871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1872   (eval $ac_try) 2>&5
1873   ac_status=$?
1874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1875   (exit $ac_status); }; } &&
1876          { ac_try='test -s conftest.$ac_objext'
1877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1878   (eval $ac_try) 2>&5
1879   ac_status=$?
1880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1881   (exit $ac_status); }; }; then
1882   ac_compiler_gnu=yes
1883 else
1884   echo "$as_me: failed program was:" >&5
1885 sed 's/^/| /' conftest.$ac_ext >&5
1886
1887 ac_compiler_gnu=no
1888 fi
1889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1890 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1891
1892 fi
1893 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1894 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1895 GCC=`test $ac_compiler_gnu = yes && echo yes`
1896 ac_test_CFLAGS=${CFLAGS+set}
1897 ac_save_CFLAGS=$CFLAGS
1898 CFLAGS="-g"
1899 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1900 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1901 if test "${ac_cv_prog_cc_g+set}" = set; then
1902   echo $ECHO_N "(cached) $ECHO_C" >&6
1903 else
1904   cat >conftest.$ac_ext <<_ACEOF
1905 /* confdefs.h.  */
1906 _ACEOF
1907 cat confdefs.h >>conftest.$ac_ext
1908 cat >>conftest.$ac_ext <<_ACEOF
1909 /* end confdefs.h.  */
1910
1911 int
1912 main ()
1913 {
1914
1915   ;
1916   return 0;
1917 }
1918 _ACEOF
1919 rm -f conftest.$ac_objext
1920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1921   (eval $ac_compile) 2>conftest.er1
1922   ac_status=$?
1923   grep -v '^ *+' conftest.er1 >conftest.err
1924   rm -f conftest.er1
1925   cat conftest.err >&5
1926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1927   (exit $ac_status); } &&
1928          { ac_try='test -z "$ac_c_werror_flag"
1929                          || test ! -s conftest.err'
1930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1931   (eval $ac_try) 2>&5
1932   ac_status=$?
1933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1934   (exit $ac_status); }; } &&
1935          { ac_try='test -s conftest.$ac_objext'
1936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1937   (eval $ac_try) 2>&5
1938   ac_status=$?
1939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1940   (exit $ac_status); }; }; then
1941   ac_cv_prog_cc_g=yes
1942 else
1943   echo "$as_me: failed program was:" >&5
1944 sed 's/^/| /' conftest.$ac_ext >&5
1945
1946 ac_cv_prog_cc_g=no
1947 fi
1948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1949 fi
1950 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1951 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1952 if test "$ac_test_CFLAGS" = set; then
1953   CFLAGS=$ac_save_CFLAGS
1954 elif test $ac_cv_prog_cc_g = yes; then
1955   if test "$GCC" = yes; then
1956     CFLAGS="-g -O2"
1957   else
1958     CFLAGS="-g"
1959   fi
1960 else
1961   if test "$GCC" = yes; then
1962     CFLAGS="-O2"
1963   else
1964     CFLAGS=
1965   fi
1966 fi
1967 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1968 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1969 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1970   echo $ECHO_N "(cached) $ECHO_C" >&6
1971 else
1972   ac_cv_prog_cc_stdc=no
1973 ac_save_CC=$CC
1974 cat >conftest.$ac_ext <<_ACEOF
1975 /* confdefs.h.  */
1976 _ACEOF
1977 cat confdefs.h >>conftest.$ac_ext
1978 cat >>conftest.$ac_ext <<_ACEOF
1979 /* end confdefs.h.  */
1980 #include <stdarg.h>
1981 #include <stdio.h>
1982 #include <sys/types.h>
1983 #include <sys/stat.h>
1984 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
1985 struct buf { int x; };
1986 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1987 static char *e (p, i)
1988      char **p;
1989      int i;
1990 {
1991   return p[i];
1992 }
1993 static char *f (char * (*g) (char **, int), char **p, ...)
1994 {
1995   char *s;
1996   va_list v;
1997   va_start (v,p);
1998   s = g (p, va_arg (v,int));
1999   va_end (v);
2000   return s;
2001 }
2002
2003 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2004    function prototypes and stuff, but not '\xHH' hex character constants.
2005    These don't provoke an error unfortunately, instead are silently treated
2006    as 'x'.  The following induces an error, until -std1 is added to get
2007    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2008    array size at least.  It's necessary to write '\x00'==0 to get something
2009    that's true only with -std1.  */
2010 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2011
2012 int test (int i, double x);
2013 struct s1 {int (*f) (int a);};
2014 struct s2 {int (*f) (double a);};
2015 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2016 int argc;
2017 char **argv;
2018 int
2019 main ()
2020 {
2021 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2022   ;
2023   return 0;
2024 }
2025 _ACEOF
2026 # Don't try gcc -ansi; that turns off useful extensions and
2027 # breaks some systems' header files.
2028 # AIX                   -qlanglvl=ansi
2029 # Ultrix and OSF/1      -std1
2030 # HP-UX 10.20 and later -Ae
2031 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2032 # SVR4                  -Xc -D__EXTENSIONS__
2033 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2034 do
2035   CC="$ac_save_CC $ac_arg"
2036   rm -f conftest.$ac_objext
2037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2038   (eval $ac_compile) 2>conftest.er1
2039   ac_status=$?
2040   grep -v '^ *+' conftest.er1 >conftest.err
2041   rm -f conftest.er1
2042   cat conftest.err >&5
2043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2044   (exit $ac_status); } &&
2045          { ac_try='test -z "$ac_c_werror_flag"
2046                          || test ! -s conftest.err'
2047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2048   (eval $ac_try) 2>&5
2049   ac_status=$?
2050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2051   (exit $ac_status); }; } &&
2052          { ac_try='test -s conftest.$ac_objext'
2053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2054   (eval $ac_try) 2>&5
2055   ac_status=$?
2056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2057   (exit $ac_status); }; }; then
2058   ac_cv_prog_cc_stdc=$ac_arg
2059 break
2060 else
2061   echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2063
2064 fi
2065 rm -f conftest.err conftest.$ac_objext
2066 done
2067 rm -f conftest.$ac_ext conftest.$ac_objext
2068 CC=$ac_save_CC
2069
2070 fi
2071
2072 case "x$ac_cv_prog_cc_stdc" in
2073   x|xno)
2074     echo "$as_me:$LINENO: result: none needed" >&5
2075 echo "${ECHO_T}none needed" >&6 ;;
2076   *)
2077     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2078 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2079     CC="$CC $ac_cv_prog_cc_stdc" ;;
2080 esac
2081
2082 # Some people use a C++ compiler to compile C.  Since we use `exit',
2083 # in C++ we need to declare it.  In case someone uses the same compiler
2084 # for both compiling C and C++ we need to have the C++ compiler decide
2085 # the declaration of exit, since it's the most demanding environment.
2086 cat >conftest.$ac_ext <<_ACEOF
2087 #ifndef __cplusplus
2088   choke me
2089 #endif
2090 _ACEOF
2091 rm -f conftest.$ac_objext
2092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2093   (eval $ac_compile) 2>conftest.er1
2094   ac_status=$?
2095   grep -v '^ *+' conftest.er1 >conftest.err
2096   rm -f conftest.er1
2097   cat conftest.err >&5
2098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2099   (exit $ac_status); } &&
2100          { ac_try='test -z "$ac_c_werror_flag"
2101                          || test ! -s conftest.err'
2102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2103   (eval $ac_try) 2>&5
2104   ac_status=$?
2105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2106   (exit $ac_status); }; } &&
2107          { ac_try='test -s conftest.$ac_objext'
2108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2109   (eval $ac_try) 2>&5
2110   ac_status=$?
2111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112   (exit $ac_status); }; }; then
2113   for ac_declaration in \
2114    '' \
2115    'extern "C" void std::exit (int) throw (); using std::exit;' \
2116    'extern "C" void std::exit (int); using std::exit;' \
2117    'extern "C" void exit (int) throw ();' \
2118    'extern "C" void exit (int);' \
2119    'void exit (int);'
2120 do
2121   cat >conftest.$ac_ext <<_ACEOF
2122 /* confdefs.h.  */
2123 _ACEOF
2124 cat confdefs.h >>conftest.$ac_ext
2125 cat >>conftest.$ac_ext <<_ACEOF
2126 /* end confdefs.h.  */
2127 $ac_declaration
2128 #include <stdlib.h>
2129 int
2130 main ()
2131 {
2132 exit (42);
2133   ;
2134   return 0;
2135 }
2136 _ACEOF
2137 rm -f conftest.$ac_objext
2138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2139   (eval $ac_compile) 2>conftest.er1
2140   ac_status=$?
2141   grep -v '^ *+' conftest.er1 >conftest.err
2142   rm -f conftest.er1
2143   cat conftest.err >&5
2144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2145   (exit $ac_status); } &&
2146          { ac_try='test -z "$ac_c_werror_flag"
2147                          || test ! -s conftest.err'
2148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2149   (eval $ac_try) 2>&5
2150   ac_status=$?
2151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152   (exit $ac_status); }; } &&
2153          { ac_try='test -s conftest.$ac_objext'
2154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2155   (eval $ac_try) 2>&5
2156   ac_status=$?
2157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158   (exit $ac_status); }; }; then
2159   :
2160 else
2161   echo "$as_me: failed program was:" >&5
2162 sed 's/^/| /' conftest.$ac_ext >&5
2163
2164 continue
2165 fi
2166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2167   cat >conftest.$ac_ext <<_ACEOF
2168 /* confdefs.h.  */
2169 _ACEOF
2170 cat confdefs.h >>conftest.$ac_ext
2171 cat >>conftest.$ac_ext <<_ACEOF
2172 /* end confdefs.h.  */
2173 $ac_declaration
2174 int
2175 main ()
2176 {
2177 exit (42);
2178   ;
2179   return 0;
2180 }
2181 _ACEOF
2182 rm -f conftest.$ac_objext
2183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2184   (eval $ac_compile) 2>conftest.er1
2185   ac_status=$?
2186   grep -v '^ *+' conftest.er1 >conftest.err
2187   rm -f conftest.er1
2188   cat conftest.err >&5
2189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2190   (exit $ac_status); } &&
2191          { ac_try='test -z "$ac_c_werror_flag"
2192                          || test ! -s conftest.err'
2193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2194   (eval $ac_try) 2>&5
2195   ac_status=$?
2196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2197   (exit $ac_status); }; } &&
2198          { ac_try='test -s conftest.$ac_objext'
2199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2200   (eval $ac_try) 2>&5
2201   ac_status=$?
2202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203   (exit $ac_status); }; }; then
2204   break
2205 else
2206   echo "$as_me: failed program was:" >&5
2207 sed 's/^/| /' conftest.$ac_ext >&5
2208
2209 fi
2210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2211 done
2212 rm -f conftest*
2213 if test -n "$ac_declaration"; then
2214   echo '#ifdef __cplusplus' >>confdefs.h
2215   echo $ac_declaration      >>confdefs.h
2216   echo '#endif'             >>confdefs.h
2217 fi
2218
2219 else
2220   echo "$as_me: failed program was:" >&5
2221 sed 's/^/| /' conftest.$ac_ext >&5
2222
2223 fi
2224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2225 ac_ext=c
2226 ac_cpp='$CPP $CPPFLAGS'
2227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2230
2231
2232 am__api_version="1.9"
2233 # Find a good install program.  We prefer a C program (faster),
2234 # so one script is as good as another.  But avoid the broken or
2235 # incompatible versions:
2236 # SysV /etc/install, /usr/sbin/install
2237 # SunOS /usr/etc/install
2238 # IRIX /sbin/install
2239 # AIX /bin/install
2240 # AmigaOS /C/install, which installs bootblocks on floppy discs
2241 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2242 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2243 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2244 # OS/2's system install, which has a completely different semantic
2245 # ./install, which can be erroneously created by make from ./install.sh.
2246 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2247 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2248 if test -z "$INSTALL"; then
2249 if test "${ac_cv_path_install+set}" = set; then
2250   echo $ECHO_N "(cached) $ECHO_C" >&6
2251 else
2252   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2253 for as_dir in $PATH
2254 do
2255   IFS=$as_save_IFS
2256   test -z "$as_dir" && as_dir=.
2257   # Account for people who put trailing slashes in PATH elements.
2258 case $as_dir/ in
2259   ./ | .// | /cC/* | \
2260   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2261   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2262   /usr/ucb/* ) ;;
2263   *)
2264     # OSF1 and SCO ODT 3.0 have their own names for install.
2265     # Don't use installbsd from OSF since it installs stuff as root
2266     # by default.
2267     for ac_prog in ginstall scoinst install; do
2268       for ac_exec_ext in '' $ac_executable_extensions; do
2269         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2270           if test $ac_prog = install &&
2271             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2272             # AIX install.  It has an incompatible calling convention.
2273             :
2274           elif test $ac_prog = install &&
2275             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2276             # program-specific install script used by HP pwplus--don't use.
2277             :
2278           else
2279             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2280             break 3
2281           fi
2282         fi
2283       done
2284     done
2285     ;;
2286 esac
2287 done
2288
2289
2290 fi
2291   if test "${ac_cv_path_install+set}" = set; then
2292     INSTALL=$ac_cv_path_install
2293   else
2294     # As a last resort, use the slow shell script.  We don't cache a
2295     # path for INSTALL within a source directory, because that will
2296     # break other packages using the cache if that directory is
2297     # removed, or if the path is relative.
2298     INSTALL=$ac_install_sh
2299   fi
2300 fi
2301 echo "$as_me:$LINENO: result: $INSTALL" >&5
2302 echo "${ECHO_T}$INSTALL" >&6
2303
2304 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2305 # It thinks the first close brace ends the variable substitution.
2306 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2307
2308 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2309
2310 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2311
2312 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2313 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2314 # Just in case
2315 sleep 1
2316 echo timestamp > conftest.file
2317 # Do `set' in a subshell so we don't clobber the current shell's
2318 # arguments.  Must try -L first in case configure is actually a
2319 # symlink; some systems play weird games with the mod time of symlinks
2320 # (eg FreeBSD returns the mod time of the symlink's containing
2321 # directory).
2322 if (
2323    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2324    if test "$*" = "X"; then
2325       # -L didn't work.
2326       set X `ls -t $srcdir/configure conftest.file`
2327    fi
2328    rm -f conftest.file
2329    if test "$*" != "X $srcdir/configure conftest.file" \
2330       && test "$*" != "X conftest.file $srcdir/configure"; then
2331
2332       # If neither matched, then we have a broken ls.  This can happen
2333       # if, for instance, CONFIG_SHELL is bash and it inherits a
2334       # broken ls alias from the environment.  This has actually
2335       # happened.  Such a system could not be considered "sane".
2336       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2337 alias in your environment" >&5
2338 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2339 alias in your environment" >&2;}
2340    { (exit 1); exit 1; }; }
2341    fi
2342
2343    test "$2" = conftest.file
2344    )
2345 then
2346    # Ok.
2347    :
2348 else
2349    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2350 Check your system clock" >&5
2351 echo "$as_me: error: newly created file is older than distributed files!
2352 Check your system clock" >&2;}
2353    { (exit 1); exit 1; }; }
2354 fi
2355 echo "$as_me:$LINENO: result: yes" >&5
2356 echo "${ECHO_T}yes" >&6
2357 test "$program_prefix" != NONE &&
2358   program_transform_name="s,^,$program_prefix,;$program_transform_name"
2359 # Use a double $ so make ignores it.
2360 test "$program_suffix" != NONE &&
2361   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2362 # Double any \ or $.  echo might interpret backslashes.
2363 # By default was `s,x,x', remove it if useless.
2364 cat <<\_ACEOF >conftest.sed
2365 s/[\\$]/&&/g;s/;s,x,x,$//
2366 _ACEOF
2367 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2368 rm conftest.sed
2369
2370 # expand $ac_aux_dir to an absolute path
2371 am_aux_dir=`cd $ac_aux_dir && pwd`
2372
2373 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2374 # Use eval to expand $SHELL
2375 if eval "$MISSING --run true"; then
2376   am_missing_run="$MISSING --run "
2377 else
2378   am_missing_run=
2379   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2380 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2381 fi
2382
2383 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2384   # We used to keeping the `.' as first argument, in order to
2385   # allow $(mkdir_p) to be used without argument.  As in
2386   #   $(mkdir_p) $(somedir)
2387   # where $(somedir) is conditionally defined.  However this is wrong
2388   # for two reasons:
2389   #  1. if the package is installed by a user who cannot write `.'
2390   #     make install will fail,
2391   #  2. the above comment should most certainly read
2392   #     $(mkdir_p) $(DESTDIR)$(somedir)
2393   #     so it does not work when $(somedir) is undefined and
2394   #     $(DESTDIR) is not.
2395   #  To support the latter case, we have to write
2396   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2397   #  so the `.' trick is pointless.
2398   mkdir_p='mkdir -p --'
2399 else
2400   # On NextStep and OpenStep, the `mkdir' command does not
2401   # recognize any option.  It will interpret all options as
2402   # directories to create, and then abort because `.' already
2403   # exists.
2404   for d in ./-p ./--version;
2405   do
2406     test -d $d && rmdir $d
2407   done
2408   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2409   if test -f "$ac_aux_dir/mkinstalldirs"; then
2410     mkdir_p='$(mkinstalldirs)'
2411   else
2412     mkdir_p='$(install_sh) -d'
2413   fi
2414 fi
2415
2416 for ac_prog in gawk mawk nawk awk
2417 do
2418   # Extract the first word of "$ac_prog", so it can be a program name with args.
2419 set dummy $ac_prog; ac_word=$2
2420 echo "$as_me:$LINENO: checking for $ac_word" >&5
2421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2422 if test "${ac_cv_prog_AWK+set}" = set; then
2423   echo $ECHO_N "(cached) $ECHO_C" >&6
2424 else
2425   if test -n "$AWK"; then
2426   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2427 else
2428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2429 for as_dir in $PATH
2430 do
2431   IFS=$as_save_IFS
2432   test -z "$as_dir" && as_dir=.
2433   for ac_exec_ext in '' $ac_executable_extensions; do
2434   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2435     ac_cv_prog_AWK="$ac_prog"
2436     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2437     break 2
2438   fi
2439 done
2440 done
2441
2442 fi
2443 fi
2444 AWK=$ac_cv_prog_AWK
2445 if test -n "$AWK"; then
2446   echo "$as_me:$LINENO: result: $AWK" >&5
2447 echo "${ECHO_T}$AWK" >&6
2448 else
2449   echo "$as_me:$LINENO: result: no" >&5
2450 echo "${ECHO_T}no" >&6
2451 fi
2452
2453   test -n "$AWK" && break
2454 done
2455
2456 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2457 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2458 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2459 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2460   echo $ECHO_N "(cached) $ECHO_C" >&6
2461 else
2462   cat >conftest.make <<\_ACEOF
2463 all:
2464         @echo 'ac_maketemp="$(MAKE)"'
2465 _ACEOF
2466 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2467 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2468 if test -n "$ac_maketemp"; then
2469   eval ac_cv_prog_make_${ac_make}_set=yes
2470 else
2471   eval ac_cv_prog_make_${ac_make}_set=no
2472 fi
2473 rm -f conftest.make
2474 fi
2475 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2476   echo "$as_me:$LINENO: result: yes" >&5
2477 echo "${ECHO_T}yes" >&6
2478   SET_MAKE=
2479 else
2480   echo "$as_me:$LINENO: result: no" >&5
2481 echo "${ECHO_T}no" >&6
2482   SET_MAKE="MAKE=${MAKE-make}"
2483 fi
2484
2485 rm -rf .tst 2>/dev/null
2486 mkdir .tst 2>/dev/null
2487 if test -d .tst; then
2488   am__leading_dot=.
2489 else
2490   am__leading_dot=_
2491 fi
2492 rmdir .tst 2>/dev/null
2493
2494 DEPDIR="${am__leading_dot}deps"
2495
2496           ac_config_commands="$ac_config_commands depfiles"
2497
2498
2499 am_make=${MAKE-make}
2500 cat > confinc << 'END'
2501 am__doit:
2502         @echo done
2503 .PHONY: am__doit
2504 END
2505 # If we don't find an include directive, just comment out the code.
2506 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2507 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2508 am__include="#"
2509 am__quote=
2510 _am_result=none
2511 # First try GNU make style include.
2512 echo "include confinc" > confmf
2513 # We grep out `Entering directory' and `Leaving directory'
2514 # messages which can occur if `w' ends up in MAKEFLAGS.
2515 # In particular we don't look at `^make:' because GNU make might
2516 # be invoked under some other name (usually "gmake"), in which
2517 # case it prints its new name instead of `make'.
2518 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2519    am__include=include
2520    am__quote=
2521    _am_result=GNU
2522 fi
2523 # Now try BSD make style include.
2524 if test "$am__include" = "#"; then
2525    echo '.include "confinc"' > confmf
2526    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2527       am__include=.include
2528       am__quote="\""
2529       _am_result=BSD
2530    fi
2531 fi
2532
2533
2534 echo "$as_me:$LINENO: result: $_am_result" >&5
2535 echo "${ECHO_T}$_am_result" >&6
2536 rm -f confinc confmf
2537
2538 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2539 if test "${enable_dependency_tracking+set}" = set; then
2540   enableval="$enable_dependency_tracking"
2541
2542 fi;
2543 if test "x$enable_dependency_tracking" != xno; then
2544   am_depcomp="$ac_aux_dir/depcomp"
2545   AMDEPBACKSLASH='\'
2546 fi
2547
2548
2549 if test "x$enable_dependency_tracking" != xno; then
2550   AMDEP_TRUE=
2551   AMDEP_FALSE='#'
2552 else
2553   AMDEP_TRUE='#'
2554   AMDEP_FALSE=
2555 fi
2556
2557
2558
2559 # test to see if srcdir already configured
2560 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2561    test -f $srcdir/config.status; then
2562   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2563 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2564    { (exit 1); exit 1; }; }
2565 fi
2566
2567 # test whether we have cygpath
2568 if test -z "$CYGPATH_W"; then
2569   if (cygpath --version) >/dev/null 2>/dev/null; then
2570     CYGPATH_W='cygpath -w'
2571   else
2572     CYGPATH_W=echo
2573   fi
2574 fi
2575
2576
2577 # Define the identity of the package.
2578  PACKAGE=sid
2579  VERSION=0.1-net
2580
2581
2582 cat >>confdefs.h <<_ACEOF
2583 #define PACKAGE "$PACKAGE"
2584 _ACEOF
2585
2586
2587 cat >>confdefs.h <<_ACEOF
2588 #define VERSION "$VERSION"
2589 _ACEOF
2590
2591 # Some tools Automake needs.
2592
2593 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2594
2595
2596 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2597
2598
2599 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2600
2601
2602 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2603
2604
2605 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2606
2607 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2608
2609 # Installed binaries are usually stripped using `strip' when the user
2610 # run `make install-strip'.  However `strip' might not be the right
2611 # tool to use in cross-compilation environments, therefore Automake
2612 # will honor the `STRIP' environment variable to overrule this program.
2613 if test "$cross_compiling" != no; then
2614   if test -n "$ac_tool_prefix"; then
2615   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2616 set dummy ${ac_tool_prefix}strip; ac_word=$2
2617 echo "$as_me:$LINENO: checking for $ac_word" >&5
2618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2619 if test "${ac_cv_prog_STRIP+set}" = set; then
2620   echo $ECHO_N "(cached) $ECHO_C" >&6
2621 else
2622   if test -n "$STRIP"; then
2623   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2624 else
2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 for as_dir in $PATH
2627 do
2628   IFS=$as_save_IFS
2629   test -z "$as_dir" && as_dir=.
2630   for ac_exec_ext in '' $ac_executable_extensions; do
2631   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2632     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2633     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2634     break 2
2635   fi
2636 done
2637 done
2638
2639 fi
2640 fi
2641 STRIP=$ac_cv_prog_STRIP
2642 if test -n "$STRIP"; then
2643   echo "$as_me:$LINENO: result: $STRIP" >&5
2644 echo "${ECHO_T}$STRIP" >&6
2645 else
2646   echo "$as_me:$LINENO: result: no" >&5
2647 echo "${ECHO_T}no" >&6
2648 fi
2649
2650 fi
2651 if test -z "$ac_cv_prog_STRIP"; then
2652   ac_ct_STRIP=$STRIP
2653   # Extract the first word of "strip", so it can be a program name with args.
2654 set dummy strip; ac_word=$2
2655 echo "$as_me:$LINENO: checking for $ac_word" >&5
2656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2657 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2658   echo $ECHO_N "(cached) $ECHO_C" >&6
2659 else
2660   if test -n "$ac_ct_STRIP"; then
2661   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2662 else
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 for as_dir in $PATH
2665 do
2666   IFS=$as_save_IFS
2667   test -z "$as_dir" && as_dir=.
2668   for ac_exec_ext in '' $ac_executable_extensions; do
2669   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2670     ac_cv_prog_ac_ct_STRIP="strip"
2671     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2672     break 2
2673   fi
2674 done
2675 done
2676
2677   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2678 fi
2679 fi
2680 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2681 if test -n "$ac_ct_STRIP"; then
2682   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2683 echo "${ECHO_T}$ac_ct_STRIP" >&6
2684 else
2685   echo "$as_me:$LINENO: result: no" >&5
2686 echo "${ECHO_T}no" >&6
2687 fi
2688
2689   STRIP=$ac_ct_STRIP
2690 else
2691   STRIP="$ac_cv_prog_STRIP"
2692 fi
2693
2694 fi
2695 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2696
2697 # We need awk for the "check" target.  The system "awk" is bad on
2698 # some platforms.
2699 # Always define AMTAR for backward compatibility.
2700
2701 AMTAR=${AMTAR-"${am_missing_run}tar"}
2702
2703 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2704
2705
2706
2707
2708 depcc="$CC"   am_compiler_list=
2709
2710 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2711 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2712 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2713   echo $ECHO_N "(cached) $ECHO_C" >&6
2714 else
2715   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2716   # We make a subdir and do the tests there.  Otherwise we can end up
2717   # making bogus files that we don't know about and never remove.  For
2718   # instance it was reported that on HP-UX the gcc test will end up
2719   # making a dummy file named `D' -- because `-MD' means `put the output
2720   # in D'.
2721   mkdir conftest.dir
2722   # Copy depcomp to subdir because otherwise we won't find it if we're
2723   # using a relative directory.
2724   cp "$am_depcomp" conftest.dir
2725   cd conftest.dir
2726   # We will build objects and dependencies in a subdirectory because
2727   # it helps to detect inapplicable dependency modes.  For instance
2728   # both Tru64's cc and ICC support -MD to output dependencies as a
2729   # side effect of compilation, but ICC will put the dependencies in
2730   # the current directory while Tru64 will put them in the object
2731   # directory.
2732   mkdir sub
2733
2734   am_cv_CC_dependencies_compiler_type=none
2735   if test "$am_compiler_list" = ""; then
2736      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2737   fi
2738   for depmode in $am_compiler_list; do
2739     # Setup a source with many dependencies, because some compilers
2740     # like to wrap large dependency lists on column 80 (with \), and
2741     # we should not choose a depcomp mode which is confused by this.
2742     #
2743     # We need to recreate these files for each test, as the compiler may
2744     # overwrite some of them when testing with obscure command lines.
2745     # This happens at least with the AIX C compiler.
2746     : > sub/conftest.c
2747     for i in 1 2 3 4 5 6; do
2748       echo '#include "conftst'$i'.h"' >> sub/conftest.c
2749       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2750       # Solaris 8's {/usr,}/bin/sh.
2751       touch sub/conftst$i.h
2752     done
2753     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2754
2755     case $depmode in
2756     nosideeffect)
2757       # after this tag, mechanisms are not by side-effect, so they'll
2758       # only be used when explicitly requested
2759       if test "x$enable_dependency_tracking" = xyes; then
2760         continue
2761       else
2762         break
2763       fi
2764       ;;
2765     none) break ;;
2766     esac
2767     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2768     # mode.  It turns out that the SunPro C++ compiler does not properly
2769     # handle `-M -o', and we need to detect this.
2770     if depmode=$depmode \
2771        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2772        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2773        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2774          >/dev/null 2>conftest.err &&
2775        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2776        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2777        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2778       # icc doesn't choke on unknown options, it will just issue warnings
2779       # or remarks (even with -Werror).  So we grep stderr for any message
2780       # that says an option was ignored or not supported.
2781       # When given -MP, icc 7.0 and 7.1 complain thusly:
2782       #   icc: Command line warning: ignoring option '-M'; no argument required
2783       # The diagnosis changed in icc 8.0:
2784       #   icc: Command line remark: option '-MP' not supported
2785       if (grep 'ignoring option' conftest.err ||
2786           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2787         am_cv_CC_dependencies_compiler_type=$depmode
2788         break
2789       fi
2790     fi
2791   done
2792
2793   cd ..
2794   rm -rf conftest.dir
2795 else
2796   am_cv_CC_dependencies_compiler_type=none
2797 fi
2798
2799 fi
2800 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2801 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2802 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2803
2804
2805
2806 if
2807   test "x$enable_dependency_tracking" != xno \
2808   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2809   am__fastdepCC_TRUE=
2810   am__fastdepCC_FALSE='#'
2811 else
2812   am__fastdepCC_TRUE='#'
2813   am__fastdepCC_FALSE=
2814 fi
2815
2816
2817
2818
2819 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2820 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2821     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2822 if test "${enable_maintainer_mode+set}" = set; then
2823   enableval="$enable_maintainer_mode"
2824   USE_MAINTAINER_MODE=$enableval
2825 else
2826   USE_MAINTAINER_MODE=no
2827 fi;
2828   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2829 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2830
2831
2832 if test $USE_MAINTAINER_MODE = yes; then
2833   MAINTAINER_MODE_TRUE=
2834   MAINTAINER_MODE_FALSE='#'
2835 else
2836   MAINTAINER_MODE_TRUE='#'
2837   MAINTAINER_MODE_FALSE=
2838 fi
2839
2840   MAINT=$MAINTAINER_MODE_TRUE
2841
2842
2843
2844 ac_ext=cc
2845 ac_cpp='$CXXCPP $CPPFLAGS'
2846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2849 if test -n "$ac_tool_prefix"; then
2850   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2851   do
2852     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2853 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2854 echo "$as_me:$LINENO: checking for $ac_word" >&5
2855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2856 if test "${ac_cv_prog_CXX+set}" = set; then
2857   echo $ECHO_N "(cached) $ECHO_C" >&6
2858 else
2859   if test -n "$CXX"; then
2860   ac_cv_prog_CXX="$CXX" # Let the user override the test.
2861 else
2862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2863 for as_dir in $PATH
2864 do
2865   IFS=$as_save_IFS
2866   test -z "$as_dir" && as_dir=.
2867   for ac_exec_ext in '' $ac_executable_extensions; do
2868   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2869     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2870     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2871     break 2
2872   fi
2873 done
2874 done
2875
2876 fi
2877 fi
2878 CXX=$ac_cv_prog_CXX
2879 if test -n "$CXX"; then
2880   echo "$as_me:$LINENO: result: $CXX" >&5
2881 echo "${ECHO_T}$CXX" >&6
2882 else
2883   echo "$as_me:$LINENO: result: no" >&5
2884 echo "${ECHO_T}no" >&6
2885 fi
2886
2887     test -n "$CXX" && break
2888   done
2889 fi
2890 if test -z "$CXX"; then
2891   ac_ct_CXX=$CXX
2892   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2893 do
2894   # Extract the first word of "$ac_prog", so it can be a program name with args.
2895 set dummy $ac_prog; ac_word=$2
2896 echo "$as_me:$LINENO: checking for $ac_word" >&5
2897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2898 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2899   echo $ECHO_N "(cached) $ECHO_C" >&6
2900 else
2901   if test -n "$ac_ct_CXX"; then
2902   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2903 else
2904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2905 for as_dir in $PATH
2906 do
2907   IFS=$as_save_IFS
2908   test -z "$as_dir" && as_dir=.
2909   for ac_exec_ext in '' $ac_executable_extensions; do
2910   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2911     ac_cv_prog_ac_ct_CXX="$ac_prog"
2912     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2913     break 2
2914   fi
2915 done
2916 done
2917
2918 fi
2919 fi
2920 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2921 if test -n "$ac_ct_CXX"; then
2922   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2923 echo "${ECHO_T}$ac_ct_CXX" >&6
2924 else
2925   echo "$as_me:$LINENO: result: no" >&5
2926 echo "${ECHO_T}no" >&6
2927 fi
2928
2929   test -n "$ac_ct_CXX" && break
2930 done
2931 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2932
2933   CXX=$ac_ct_CXX
2934 fi
2935
2936
2937 # Provide some information about the compiler.
2938 echo "$as_me:$LINENO:" \
2939      "checking for C++ compiler version" >&5
2940 ac_compiler=`set X $ac_compile; echo $2`
2941 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2942   (eval $ac_compiler --version </dev/null >&5) 2>&5
2943   ac_status=$?
2944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945   (exit $ac_status); }
2946 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2947   (eval $ac_compiler -v </dev/null >&5) 2>&5
2948   ac_status=$?
2949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950   (exit $ac_status); }
2951 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2952   (eval $ac_compiler -V </dev/null >&5) 2>&5
2953   ac_status=$?
2954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955   (exit $ac_status); }
2956
2957 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2958 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2959 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2960   echo $ECHO_N "(cached) $ECHO_C" >&6
2961 else
2962   cat >conftest.$ac_ext <<_ACEOF
2963 /* confdefs.h.  */
2964 _ACEOF
2965 cat confdefs.h >>conftest.$ac_ext
2966 cat >>conftest.$ac_ext <<_ACEOF
2967 /* end confdefs.h.  */
2968
2969 int
2970 main ()
2971 {
2972 #ifndef __GNUC__
2973        choke me
2974 #endif
2975
2976   ;
2977   return 0;
2978 }
2979 _ACEOF
2980 rm -f conftest.$ac_objext
2981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2982   (eval $ac_compile) 2>conftest.er1
2983   ac_status=$?
2984   grep -v '^ *+' conftest.er1 >conftest.err
2985   rm -f conftest.er1
2986   cat conftest.err >&5
2987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988   (exit $ac_status); } &&
2989          { ac_try='test -z "$ac_cxx_werror_flag"
2990                          || test ! -s conftest.err'
2991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2992   (eval $ac_try) 2>&5
2993   ac_status=$?
2994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995   (exit $ac_status); }; } &&
2996          { ac_try='test -s conftest.$ac_objext'
2997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2998   (eval $ac_try) 2>&5
2999   ac_status=$?
3000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001   (exit $ac_status); }; }; then
3002   ac_compiler_gnu=yes
3003 else
3004   echo "$as_me: failed program was:" >&5
3005 sed 's/^/| /' conftest.$ac_ext >&5
3006
3007 ac_compiler_gnu=no
3008 fi
3009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3010 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3011
3012 fi
3013 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3014 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3015 GXX=`test $ac_compiler_gnu = yes && echo yes`
3016 ac_test_CXXFLAGS=${CXXFLAGS+set}
3017 ac_save_CXXFLAGS=$CXXFLAGS
3018 CXXFLAGS="-g"
3019 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3020 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3021 if test "${ac_cv_prog_cxx_g+set}" = set; then
3022   echo $ECHO_N "(cached) $ECHO_C" >&6
3023 else
3024   cat >conftest.$ac_ext <<_ACEOF
3025 /* confdefs.h.  */
3026 _ACEOF
3027 cat confdefs.h >>conftest.$ac_ext
3028 cat >>conftest.$ac_ext <<_ACEOF
3029 /* end confdefs.h.  */
3030
3031 int
3032 main ()
3033 {
3034
3035   ;
3036   return 0;
3037 }
3038 _ACEOF
3039 rm -f conftest.$ac_objext
3040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3041   (eval $ac_compile) 2>conftest.er1
3042   ac_status=$?
3043   grep -v '^ *+' conftest.er1 >conftest.err
3044   rm -f conftest.er1
3045   cat conftest.err >&5
3046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047   (exit $ac_status); } &&
3048          { ac_try='test -z "$ac_cxx_werror_flag"
3049                          || test ! -s conftest.err'
3050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3051   (eval $ac_try) 2>&5
3052   ac_status=$?
3053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054   (exit $ac_status); }; } &&
3055          { ac_try='test -s conftest.$ac_objext'
3056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3057   (eval $ac_try) 2>&5
3058   ac_status=$?
3059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060   (exit $ac_status); }; }; then
3061   ac_cv_prog_cxx_g=yes
3062 else
3063   echo "$as_me: failed program was:" >&5
3064 sed 's/^/| /' conftest.$ac_ext >&5
3065
3066 ac_cv_prog_cxx_g=no
3067 fi
3068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3069 fi
3070 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3071 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3072 if test "$ac_test_CXXFLAGS" = set; then
3073   CXXFLAGS=$ac_save_CXXFLAGS
3074 elif test $ac_cv_prog_cxx_g = yes; then
3075   if test "$GXX" = yes; then
3076     CXXFLAGS="-g -O2"
3077   else
3078     CXXFLAGS="-g"
3079   fi
3080 else
3081   if test "$GXX" = yes; then
3082     CXXFLAGS="-O2"
3083   else
3084     CXXFLAGS=
3085   fi
3086 fi
3087 for ac_declaration in \
3088    '' \
3089    'extern "C" void std::exit (int) throw (); using std::exit;' \
3090    'extern "C" void std::exit (int); using std::exit;' \
3091    'extern "C" void exit (int) throw ();' \
3092    'extern "C" void exit (int);' \
3093    'void exit (int);'
3094 do
3095   cat >conftest.$ac_ext <<_ACEOF
3096 /* confdefs.h.  */
3097 _ACEOF
3098 cat confdefs.h >>conftest.$ac_ext
3099 cat >>conftest.$ac_ext <<_ACEOF
3100 /* end confdefs.h.  */
3101 $ac_declaration
3102 #include <stdlib.h>
3103 int
3104 main ()
3105 {
3106 exit (42);
3107   ;
3108   return 0;
3109 }
3110 _ACEOF
3111 rm -f conftest.$ac_objext
3112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3113   (eval $ac_compile) 2>conftest.er1
3114   ac_status=$?
3115   grep -v '^ *+' conftest.er1 >conftest.err
3116   rm -f conftest.er1
3117   cat conftest.err >&5
3118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119   (exit $ac_status); } &&
3120          { ac_try='test -z "$ac_cxx_werror_flag"
3121                          || test ! -s conftest.err'
3122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3123   (eval $ac_try) 2>&5
3124   ac_status=$?
3125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126   (exit $ac_status); }; } &&
3127          { ac_try='test -s conftest.$ac_objext'
3128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3129   (eval $ac_try) 2>&5
3130   ac_status=$?
3131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132   (exit $ac_status); }; }; then
3133   :
3134 else
3135   echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.$ac_ext >&5
3137
3138 continue
3139 fi
3140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3141   cat >conftest.$ac_ext <<_ACEOF
3142 /* confdefs.h.  */
3143 _ACEOF
3144 cat confdefs.h >>conftest.$ac_ext
3145 cat >>conftest.$ac_ext <<_ACEOF
3146 /* end confdefs.h.  */
3147 $ac_declaration
3148 int
3149 main ()
3150 {
3151 exit (42);
3152   ;
3153   return 0;
3154 }
3155 _ACEOF
3156 rm -f conftest.$ac_objext
3157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3158   (eval $ac_compile) 2>conftest.er1
3159   ac_status=$?
3160   grep -v '^ *+' conftest.er1 >conftest.err
3161   rm -f conftest.er1
3162   cat conftest.err >&5
3163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164   (exit $ac_status); } &&
3165          { ac_try='test -z "$ac_cxx_werror_flag"
3166                          || test ! -s conftest.err'
3167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3168   (eval $ac_try) 2>&5
3169   ac_status=$?
3170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171   (exit $ac_status); }; } &&
3172          { ac_try='test -s conftest.$ac_objext'
3173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3174   (eval $ac_try) 2>&5
3175   ac_status=$?
3176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177   (exit $ac_status); }; }; then
3178   break
3179 else
3180   echo "$as_me: failed program was:" >&5
3181 sed 's/^/| /' conftest.$ac_ext >&5
3182
3183 fi
3184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3185 done
3186 rm -f conftest*
3187 if test -n "$ac_declaration"; then
3188   echo '#ifdef __cplusplus' >>confdefs.h
3189   echo $ac_declaration      >>confdefs.h
3190   echo '#endif'             >>confdefs.h
3191 fi
3192
3193 ac_ext=c
3194 ac_cpp='$CPP $CPPFLAGS'
3195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3198
3199 depcc="$CXX"  am_compiler_list=
3200
3201 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3202 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3203 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3204   echo $ECHO_N "(cached) $ECHO_C" >&6
3205 else
3206   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3207   # We make a subdir and do the tests there.  Otherwise we can end up
3208   # making bogus files that we don't know about and never remove.  For
3209   # instance it was reported that on HP-UX the gcc test will end up
3210   # making a dummy file named `D' -- because `-MD' means `put the output
3211   # in D'.
3212   mkdir conftest.dir
3213   # Copy depcomp to subdir because otherwise we won't find it if we're
3214   # using a relative directory.
3215   cp "$am_depcomp" conftest.dir
3216   cd conftest.dir
3217   # We will build objects and dependencies in a subdirectory because
3218   # it helps to detect inapplicable dependency modes.  For instance
3219   # both Tru64's cc and ICC support -MD to output dependencies as a
3220   # side effect of compilation, but ICC will put the dependencies in
3221   # the current directory while Tru64 will put them in the object
3222   # directory.
3223   mkdir sub
3224
3225   am_cv_CXX_dependencies_compiler_type=none
3226   if test "$am_compiler_list" = ""; then
3227      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3228   fi
3229   for depmode in $am_compiler_list; do
3230     # Setup a source with many dependencies, because some compilers
3231     # like to wrap large dependency lists on column 80 (with \), and
3232     # we should not choose a depcomp mode which is confused by this.
3233     #
3234     # We need to recreate these files for each test, as the compiler may
3235     # overwrite some of them when testing with obscure command lines.
3236     # This happens at least with the AIX C compiler.
3237     : > sub/conftest.c
3238     for i in 1 2 3 4 5 6; do
3239       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3240       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3241       # Solaris 8's {/usr,}/bin/sh.
3242       touch sub/conftst$i.h
3243     done
3244     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3245
3246     case $depmode in
3247     nosideeffect)
3248       # after this tag, mechanisms are not by side-effect, so they'll
3249       # only be used when explicitly requested
3250       if test "x$enable_dependency_tracking" = xyes; then
3251         continue
3252       else
3253         break
3254       fi
3255       ;;
3256     none) break ;;
3257     esac
3258     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3259     # mode.  It turns out that the SunPro C++ compiler does not properly
3260     # handle `-M -o', and we need to detect this.
3261     if depmode=$depmode \
3262        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3263        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3264        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3265          >/dev/null 2>conftest.err &&
3266        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3267        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3268        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3269       # icc doesn't choke on unknown options, it will just issue warnings
3270       # or remarks (even with -Werror).  So we grep stderr for any message
3271       # that says an option was ignored or not supported.
3272       # When given -MP, icc 7.0 and 7.1 complain thusly:
3273       #   icc: Command line warning: ignoring option '-M'; no argument required
3274       # The diagnosis changed in icc 8.0:
3275       #   icc: Command line remark: option '-MP' not supported
3276       if (grep 'ignoring option' conftest.err ||
3277           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3278         am_cv_CXX_dependencies_compiler_type=$depmode
3279         break
3280       fi
3281     fi
3282   done
3283
3284   cd ..
3285   rm -rf conftest.dir
3286 else
3287   am_cv_CXX_dependencies_compiler_type=none
3288 fi
3289
3290 fi
3291 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3292 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3293 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3294
3295
3296
3297 if
3298   test "x$enable_dependency_tracking" != xno \
3299   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3300   am__fastdepCXX_TRUE=
3301   am__fastdepCXX_FALSE='#'
3302 else
3303   am__fastdepCXX_TRUE='#'
3304   am__fastdepCXX_FALSE=
3305 fi
3306
3307
3308 ac_ext=cc
3309 ac_cpp='$CXXCPP $CPPFLAGS'
3310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3313 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3314 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
3315 if test -z "$CXXCPP"; then
3316   if test "${ac_cv_prog_CXXCPP+set}" = set; then
3317   echo $ECHO_N "(cached) $ECHO_C" >&6
3318 else
3319       # Double quotes because CXXCPP needs to be expanded
3320     for CXXCPP in "$CXX -E" "/lib/cpp"
3321     do
3322       ac_preproc_ok=false
3323 for ac_cxx_preproc_warn_flag in '' yes
3324 do
3325   # Use a header file that comes with gcc, so configuring glibc
3326   # with a fresh cross-compiler works.
3327   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3328   # <limits.h> exists even on freestanding compilers.
3329   # On the NeXT, cc -E runs the code through the compiler's parser,
3330   # not just through cpp. "Syntax error" is here to catch this case.
3331   cat >conftest.$ac_ext <<_ACEOF
3332 /* confdefs.h.  */
3333 _ACEOF
3334 cat confdefs.h >>conftest.$ac_ext
3335 cat >>conftest.$ac_ext <<_ACEOF
3336 /* end confdefs.h.  */
3337 #ifdef __STDC__
3338 # include <limits.h>
3339 #else
3340 # include <assert.h>
3341 #endif
3342                      Syntax error
3343 _ACEOF
3344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3345   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3346   ac_status=$?
3347   grep -v '^ *+' conftest.er1 >conftest.err
3348   rm -f conftest.er1
3349   cat conftest.err >&5
3350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351   (exit $ac_status); } >/dev/null; then
3352   if test -s conftest.err; then
3353     ac_cpp_err=$ac_cxx_preproc_warn_flag
3354     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3355   else
3356     ac_cpp_err=
3357   fi
3358 else
3359   ac_cpp_err=yes
3360 fi
3361 if test -z "$ac_cpp_err"; then
3362   :
3363 else
3364   echo "$as_me: failed program was:" >&5
3365 sed 's/^/| /' conftest.$ac_ext >&5
3366
3367   # Broken: fails on valid input.
3368 continue
3369 fi
3370 rm -f conftest.err conftest.$ac_ext
3371
3372   # OK, works on sane cases.  Now check whether non-existent headers
3373   # can be detected and how.
3374   cat >conftest.$ac_ext <<_ACEOF
3375 /* confdefs.h.  */
3376 _ACEOF
3377 cat confdefs.h >>conftest.$ac_ext
3378 cat >>conftest.$ac_ext <<_ACEOF
3379 /* end confdefs.h.  */
3380 #include <ac_nonexistent.h>
3381 _ACEOF
3382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3383   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3384   ac_status=$?
3385   grep -v '^ *+' conftest.er1 >conftest.err
3386   rm -f conftest.er1
3387   cat conftest.err >&5
3388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389   (exit $ac_status); } >/dev/null; then
3390   if test -s conftest.err; then
3391     ac_cpp_err=$ac_cxx_preproc_warn_flag
3392     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3393   else
3394     ac_cpp_err=
3395   fi
3396 else
3397   ac_cpp_err=yes
3398 fi
3399 if test -z "$ac_cpp_err"; then
3400   # Broken: success on invalid input.
3401 continue
3402 else
3403   echo "$as_me: failed program was:" >&5
3404 sed 's/^/| /' conftest.$ac_ext >&5
3405
3406   # Passes both tests.
3407 ac_preproc_ok=:
3408 break
3409 fi
3410 rm -f conftest.err conftest.$ac_ext
3411
3412 done
3413 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3414 rm -f conftest.err conftest.$ac_ext
3415 if $ac_preproc_ok; then
3416   break
3417 fi
3418
3419     done
3420     ac_cv_prog_CXXCPP=$CXXCPP
3421
3422 fi
3423   CXXCPP=$ac_cv_prog_CXXCPP
3424 else
3425   ac_cv_prog_CXXCPP=$CXXCPP
3426 fi
3427 echo "$as_me:$LINENO: result: $CXXCPP" >&5
3428 echo "${ECHO_T}$CXXCPP" >&6
3429 ac_preproc_ok=false
3430 for ac_cxx_preproc_warn_flag in '' yes
3431 do
3432   # Use a header file that comes with gcc, so configuring glibc
3433   # with a fresh cross-compiler works.
3434   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3435   # <limits.h> exists even on freestanding compilers.
3436   # On the NeXT, cc -E runs the code through the compiler's parser,
3437   # not just through cpp. "Syntax error" is here to catch this case.
3438   cat >conftest.$ac_ext <<_ACEOF
3439 /* confdefs.h.  */
3440 _ACEOF
3441 cat confdefs.h >>conftest.$ac_ext
3442 cat >>conftest.$ac_ext <<_ACEOF
3443 /* end confdefs.h.  */
3444 #ifdef __STDC__
3445 # include <limits.h>
3446 #else
3447 # include <assert.h>
3448 #endif
3449                      Syntax error
3450 _ACEOF
3451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3452   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3453   ac_status=$?
3454   grep -v '^ *+' conftest.er1 >conftest.err
3455   rm -f conftest.er1
3456   cat conftest.err >&5
3457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458   (exit $ac_status); } >/dev/null; then
3459   if test -s conftest.err; then
3460     ac_cpp_err=$ac_cxx_preproc_warn_flag
3461     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3462   else
3463     ac_cpp_err=
3464   fi
3465 else
3466   ac_cpp_err=yes
3467 fi
3468 if test -z "$ac_cpp_err"; then
3469   :
3470 else
3471   echo "$as_me: failed program was:" >&5
3472 sed 's/^/| /' conftest.$ac_ext >&5
3473
3474   # Broken: fails on valid input.
3475 continue
3476 fi
3477 rm -f conftest.err conftest.$ac_ext
3478
3479   # OK, works on sane cases.  Now check whether non-existent headers
3480   # can be detected and how.
3481   cat >conftest.$ac_ext <<_ACEOF
3482 /* confdefs.h.  */
3483 _ACEOF
3484 cat confdefs.h >>conftest.$ac_ext
3485 cat >>conftest.$ac_ext <<_ACEOF
3486 /* end confdefs.h.  */
3487 #include <ac_nonexistent.h>
3488 _ACEOF
3489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3490   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3491   ac_status=$?
3492   grep -v '^ *+' conftest.er1 >conftest.err
3493   rm -f conftest.er1
3494   cat conftest.err >&5
3495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496   (exit $ac_status); } >/dev/null; then
3497   if test -s conftest.err; then
3498     ac_cpp_err=$ac_cxx_preproc_warn_flag
3499     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3500   else
3501     ac_cpp_err=
3502   fi
3503 else
3504   ac_cpp_err=yes
3505 fi
3506 if test -z "$ac_cpp_err"; then
3507   # Broken: success on invalid input.
3508 continue
3509 else
3510   echo "$as_me: failed program was:" >&5
3511 sed 's/^/| /' conftest.$ac_ext >&5
3512
3513   # Passes both tests.
3514 ac_preproc_ok=:
3515 break
3516 fi
3517 rm -f conftest.err conftest.$ac_ext
3518
3519 done
3520 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3521 rm -f conftest.err conftest.$ac_ext
3522 if $ac_preproc_ok; then
3523   :
3524 else
3525   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3526 See \`config.log' for more details." >&5
3527 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3528 See \`config.log' for more details." >&2;}
3529    { (exit 1); exit 1; }; }
3530 fi
3531
3532 ac_ext=c
3533 ac_cpp='$CPP $CPPFLAGS'
3534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3537
3538 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3539 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3540 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3541 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3542   echo $ECHO_N "(cached) $ECHO_C" >&6
3543 else
3544   cat >conftest.make <<\_ACEOF
3545 all:
3546         @echo 'ac_maketemp="$(MAKE)"'
3547 _ACEOF
3548 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3549 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3550 if test -n "$ac_maketemp"; then
3551   eval ac_cv_prog_make_${ac_make}_set=yes
3552 else
3553   eval ac_cv_prog_make_${ac_make}_set=no
3554 fi
3555 rm -f conftest.make
3556 fi
3557 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3558   echo "$as_me:$LINENO: result: yes" >&5
3559 echo "${ECHO_T}yes" >&6
3560   SET_MAKE=
3561 else
3562   echo "$as_me:$LINENO: result: no" >&5
3563 echo "${ECHO_T}no" >&6
3564   SET_MAKE="MAKE=${MAKE-make}"
3565 fi
3566
3567 ac_ext=cc
3568 ac_cpp='$CXXCPP $CPPFLAGS'
3569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3572
3573
3574
3575
3576
3577 sid_host=`$ac_config_sub $host`
3578 sid_target=`$ac_config_sub $target`
3579
3580 if test "$sid_host" = "$sid_target" -o "$target" = "NONE"
3581 then
3582     { echo "$as_me:$LINENO: WARNING: Assuming --enable-targets=all" >&5
3583 echo "$as_me: WARNING: Assuming --enable-targets=all" >&2;}
3584     all_targets=""
3585     sidtarget_default=1
3586 else
3587     all_targets="$target"
3588     sidtarget_default=0
3589 fi
3590
3591
3592 # Check whether --enable-targets or --disable-targets was given.
3593 if test "${enable_targets+set}" = set; then
3594   enableval="$enable_targets"
3595
3596   case "${enable_targets}" in
3597     all)  sidtarget_default=1 ;;
3598     no)   sidtarget_default=0 ;;
3599     *)    all_targets="${all_targets} `echo ${enable_targets} | sed -e 's-,- -g'`" ;;
3600   esac
3601
3602 fi;
3603
3604 sidtarget_arm=$sidtarget_default
3605 sidtarget_x86=$sidtarget_default
3606 sidtarget_mips=$sidtarget_default
3607 sidtarget_m32r=$sidtarget_default
3608 sidtarget_m68k=$sidtarget_default
3609 sidtarget_mep=$sidtarget_default
3610 sidtarget_mt=$sidtarget_default
3611 sidtarget_ppc=$sidtarget_default
3612 sidtarget_sh=$sidtarget_default
3613 sidtarget_sh64=$sidtarget_default
3614 sidtarget_xstormy16=$sidtarget_default
3615
3616 for targ in $all_targets
3617 do
3618    case "$targ" in
3619       arm*)   sidtarget_arm=1 ;;
3620       thumb*) sidtarget_arm=1 ;;
3621       i386*) sidtarget_x86=1 ;;
3622       mips*)  sidtarget_mips=1 ;;
3623       m32r*)  sidtarget_m32r=1 ;;
3624       m68k*)  sidtarget_m68k=1 ;;
3625       mep*)   sidtarget_mep=1 ;;
3626       mt*)    sidtarget_mt=1 ;;
3627       powerpc*) sidtarget_ppc=1 ;;
3628       ppc*)   sidtarget_ppc=1 ;;
3629       sh64*) sidtarget_sh64=1 ;;
3630       sh*)   sidtarget_sh=1 ;;
3631       xstormy16*) sidtarget_xstormy16=1 ;;
3632       *)      { echo "$as_me:$LINENO: WARNING: \"Unknown target $targ\"" >&5
3633 echo "$as_me: WARNING: \"Unknown target $targ\"" >&2;} ;;
3634    esac
3635 done
3636
3637 case 1 in
3638   ${sidtarget_arm}) ;;
3639   ${sidtarget_x86}) ;;
3640   ${sidtarget_mips}) ;;
3641   ${sidtarget_m32r}) ;;
3642   ${sidtarget_m68k}) ;;
3643   ${sidtarget_mep}) ;;
3644   ${sidtarget_mt}) ;;
3645   ${sidtarget_ppc}) ;;
3646   ${sidtarget_sh}) ;;
3647   ${sidtarget_sh64}) ;;
3648   ${sidtarget_xstormy16}) ;;
3649   *) { echo "$as_me:$LINENO: WARNING: No selected sid targets: use --enable-targets or --target" >&5
3650 echo "$as_me: WARNING: No selected sid targets: use --enable-targets or --target" >&2;}
3651         ;;
3652 esac
3653
3654
3655 echo "$as_me:$LINENO: checking ARM family support" >&5
3656 echo $ECHO_N "checking ARM family support... $ECHO_C" >&6
3657
3658
3659
3660 if test "x$sidtarget_arm" = x1; then
3661   SIDTARGET_ARM_TRUE=
3662   SIDTARGET_ARM_FALSE='#'
3663 else
3664   SIDTARGET_ARM_TRUE='#'
3665   SIDTARGET_ARM_FALSE=
3666 fi
3667
3668 echo "$as_me:$LINENO: result: $sidtarget_arm" >&5
3669 echo "${ECHO_T}$sidtarget_arm" >&6
3670
3671 echo "$as_me:$LINENO: checking X86 family support" >&5
3672 echo $ECHO_N "checking X86 family support... $ECHO_C" >&6
3673
3674
3675
3676 if test "x$sidtarget_x86" = x1; then
3677   SIDTARGET_X86_TRUE=
3678   SIDTARGET_X86_FALSE='#'
3679 else
3680   SIDTARGET_X86_TRUE='#'
3681   SIDTARGET_X86_FALSE=
3682 fi
3683
3684 echo "$as_me:$LINENO: result: $sidtarget_x86" >&5
3685 echo "${ECHO_T}$sidtarget_x86" >&6
3686
3687 echo "$as_me:$LINENO: checking MIPS family support" >&5
3688 echo $ECHO_N "checking MIPS family support... $ECHO_C" >&6
3689
3690
3691
3692 if test "x$sidtarget_mips" = x1; then
3693   SIDTARGET_MIPS_TRUE=
3694   SIDTARGET_MIPS_FALSE='#'
3695 else
3696   SIDTARGET_MIPS_TRUE='#'
3697   SIDTARGET_MIPS_FALSE=
3698 fi
3699
3700 echo "$as_me:$LINENO: result: $sidtarget_mips" >&5
3701 echo "${ECHO_T}$sidtarget_mips" >&6
3702
3703 echo "$as_me:$LINENO: checking M32R family support" >&5
3704 echo $ECHO_N "checking M32R family support... $ECHO_C" >&6
3705
3706
3707
3708 if test "x$sidtarget_m32r" = x1; then
3709   SIDTARGET_M32R_TRUE=
3710   SIDTARGET_M32R_FALSE='#'
3711 else
3712   SIDTARGET_M32R_TRUE='#'
3713   SIDTARGET_M32R_FALSE=
3714 fi
3715
3716 echo "$as_me:$LINENO: result: $sidtarget_m32r" >&5
3717 echo "${ECHO_T}$sidtarget_m32r" >&6
3718
3719 echo "$as_me:$LINENO: checking M68K family support" >&5
3720 echo $ECHO_N "checking M68K family support... $ECHO_C" >&6
3721
3722
3723
3724 if test "x$sidtarget_m68k" = x1; then
3725   SIDTARGET_M68K_TRUE=
3726   SIDTARGET_M68K_FALSE='#'
3727 else
3728   SIDTARGET_M68K_TRUE='#'
3729   SIDTARGET_M68K_FALSE=
3730 fi
3731
3732 echo "$as_me:$LINENO: result: $sidtarget_m68k" >&5
3733 echo "${ECHO_T}$sidtarget_m68k" >&6
3734
3735 echo "$as_me:$LINENO: checking Toshiba MeP family support" >&5
3736 echo $ECHO_N "checking Toshiba MeP family support... $ECHO_C" >&6
3737
3738
3739
3740 if test "x$sidtarget_mep" = x1; then
3741   SIDTARGET_MEP_TRUE=
3742   SIDTARGET_MEP_FALSE='#'
3743 else
3744   SIDTARGET_MEP_TRUE='#'
3745   SIDTARGET_MEP_FALSE=
3746 fi
3747
3748 echo "$as_me:$LINENO: result: $sidtarget_mep" >&5
3749 echo "${ECHO_T}$sidtarget_mep" >&6
3750
3751 echo "$as_me:$LINENO: checking MT family support" >&5
3752 echo $ECHO_N "checking MT family support... $ECHO_C" >&6
3753
3754
3755
3756 if test "x$sidtarget_mt" = x1; then
3757   SIDTARGET_MT_TRUE=
3758   SIDTARGET_MT_FALSE='#'
3759 else
3760   SIDTARGET_MT_TRUE='#'
3761   SIDTARGET_MT_FALSE=
3762 fi
3763
3764 echo "$as_me:$LINENO: result: $sidtarget_mt" >&5
3765 echo "${ECHO_T}$sidtarget_mt" >&6
3766
3767 echo "$as_me:$LINENO: checking PPC family support" >&5
3768 echo $ECHO_N "checking PPC family support... $ECHO_C" >&6
3769
3770
3771
3772 if test "x$sidtarget_ppc" = x1; then
3773   SIDTARGET_PPC_TRUE=
3774   SIDTARGET_PPC_FALSE='#'
3775 else
3776   SIDTARGET_PPC_TRUE='#'
3777   SIDTARGET_PPC_FALSE=
3778 fi
3779
3780 echo "$as_me:$LINENO: result: $sidtarget_ppc" >&5
3781 echo "${ECHO_T}$sidtarget_ppc" >&6
3782
3783 echo "$as_me:$LINENO: checking SH family support" >&5
3784 echo $ECHO_N "checking SH family support... $ECHO_C" >&6
3785
3786
3787
3788 if test "x$sidtarget_sh" = x1; then
3789   SIDTARGET_SH_TRUE=
3790   SIDTARGET_SH_FALSE='#'
3791 else
3792   SIDTARGET_SH_TRUE='#'
3793   SIDTARGET_SH_FALSE=
3794 fi
3795
3796 echo "$as_me:$LINENO: result: $sidtarget_sh" >&5
3797 echo "${ECHO_T}$sidtarget_sh" >&6
3798
3799 echo "$as_me:$LINENO: checking SH64 family support" >&5
3800 echo $ECHO_N "checking SH64 family support... $ECHO_C" >&6
3801
3802
3803
3804 if test "x$sidtarget_sh64" = x1; then
3805   SIDTARGET_SH64_TRUE=
3806   SIDTARGET_SH64_FALSE='#'
3807 else
3808   SIDTARGET_SH64_TRUE='#'
3809   SIDTARGET_SH64_FALSE=
3810 fi
3811
3812 echo "$as_me:$LINENO: result: $sidtarget_sh64" >&5
3813 echo "${ECHO_T}$sidtarget_sh64" >&6
3814
3815 echo "$as_me:$LINENO: checking Sanyo Xstormy16 family support" >&5
3816 echo $ECHO_N "checking Sanyo Xstormy16 family support... $ECHO_C" >&6
3817
3818
3819
3820 if test "x$sidtarget_xstormy16" = x1; then
3821   SIDTARGET_XSTORMY16_TRUE=
3822   SIDTARGET_XSTORMY16_FALSE='#'
3823 else
3824   SIDTARGET_XSTORMY16_TRUE='#'
3825   SIDTARGET_XSTORMY16_FALSE=
3826 fi
3827
3828 echo "$as_me:$LINENO: result: $sidtarget_xstormy16" >&5
3829 echo "${ECHO_T}$sidtarget_xstormy16" >&6
3830
3831
3832
3833 echo "$as_me:$LINENO: checking whether can build shared SID component libraries" >&5
3834 echo $ECHO_N "checking whether can build shared SID component libraries... $ECHO_C" >&6
3835 if test "${ac_cv_libstdcxx_shared+set}" = set; then
3836   echo $ECHO_N "(cached) $ECHO_C" >&6
3837 else
3838
3839
3840 if test x$GXX != xyes
3841 then
3842   have_libstdcxx_shared=no
3843   have_libstdcxx_static=no
3844   { echo "$as_me:$LINENO: WARNING: Cannot test for libstdc++ without g++" >&5
3845 echo "$as_me: WARNING: Cannot test for libstdc++ without g++" >&2;}
3846 else
3847   echo "$as_me:$LINENO: checking for libstdc++ {static/shared}" >&5
3848 echo $ECHO_N "checking for libstdc++ {static/shared}... $ECHO_C" >&6
3849
3850   stlibname=libstdc++.a
3851   case ${host} in
3852     *-*-cygwin*) shlibname=libstdc++.dll ;;
3853     *)           shlibname=libstdc++.so ;;
3854   esac
3855
3856   gxx_stlibname=`eval $CXX --print-file-name=$stlibname`
3857   gxx_shlibname=`eval $CXX --print-file-name=$shlibname`
3858
3859   gxx_stlibdir=`dirname $gxx_stlibname`
3860   gxx_shlibdir=`dirname $gxx_shlibname`
3861
3862   if test "x$gxx_stlibdir" != "x"
3863   then
3864     have_libstdcxx_static=yes
3865   else
3866     have_libstdcxx_static=no
3867   fi
3868
3869   # Expect shared libraries to live right beside their static counterparts.
3870   # Some installations put libstdc++.so into $prefix/lib/gcc-lib/*, and make
3871   # it a symlink to $prefix/lib.
3872
3873   # The heuristics are meant to detect and prevent the case where the host may
3874   # have *some other* shared libstdc++.so installed, say in /usr/lib, even though
3875   # the compiler only came with a libstdc++.a in some other directory.
3876   if test "x$gxx_shlibdir" != "x" -a "x$gxx_shlibdir" != "x." -a "x$gxx_stlibdir" = "x$gxx_shlibdir"
3877   then
3878     have_libstdcxx_shared=yes
3879   else
3880     have_libstdcxx_shared=no
3881   fi
3882
3883   echo "$as_me:$LINENO: result: ${have_libstdcxx_static}/${have_libstdcxx_shared}" >&5
3884 echo "${ECHO_T}${have_libstdcxx_static}/${have_libstdcxx_shared}" >&6
3885 fi
3886
3887    ac_cv_libstdcxx_shared=$have_libstdcxx_shared
3888
3889 fi
3890 echo "$as_me:$LINENO: result: $ac_cv_libstdcxx_shared" >&5
3891 echo "${ECHO_T}$ac_cv_libstdcxx_shared" >&6
3892
3893 if test x$ac_cv_libstdcxx_shared != xyes -o x$enable_shared = xno
3894 then
3895   { echo "$as_me:$LINENO: WARNING: Disabling shared SID component libraries." >&5
3896 echo "$as_me: WARNING: Disabling shared SID component libraries." >&2;}
3897   # This variable is not really proper to mess with.  However,
3898   # there appears to be no other way of adding an extra argument
3899   # to child directories' configure runs.  This is largely safe
3900   # because this code is run long after the ac_configure_args were
3901   # parsed for the enable_* etc. args.
3902   ac_configure_args="$ac_configure_args --disable-shared"
3903   enable_shared=no
3904 else
3905   enable_shared=yes
3906 fi
3907
3908
3909
3910 # In case this directory exists, we prefer it to non-pic.
3911 # In case it doesn't exist, create at least a blank one here, so libtool doesn't barf looking for it
3912 mkdir -p ../libiberty/pic
3913
3914
3915
3916 subdirs="$subdirs include component main bsp samples demos"
3917
3918                               ac_config_files="$ac_config_files Makefile doc/Makefile config/info.tcl"
3919 cat >confcache <<\_ACEOF
3920 # This file is a shell script that caches the results of configure
3921 # tests run on this system so they can be shared between configure
3922 # scripts and configure runs, see configure's option --config-cache.
3923 # It is not useful on other systems.  If it contains results you don't
3924 # want to keep, you may remove or edit it.
3925 #
3926 # config.status only pays attention to the cache file if you give it
3927 # the --recheck option to rerun configure.
3928 #
3929 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3930 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3931 # following values.
3932
3933 _ACEOF
3934
3935 # The following way of writing the cache mishandles newlines in values,
3936 # but we know of no workaround that is simple, portable, and efficient.
3937 # So, don't put newlines in cache variables' values.
3938 # Ultrix sh set writes to stderr and can't be redirected directly,
3939 # and sets the high bit in the cache file unless we assign to the vars.
3940 {
3941   (set) 2>&1 |
3942     case `(ac_space=' '; set | grep ac_space) 2>&1` in
3943     *ac_space=\ *)
3944       # `set' does not quote correctly, so add quotes (double-quote
3945       # substitution turns \\\\ into \\, and sed turns \\ into \).
3946       sed -n \
3947         "s/'/'\\\\''/g;
3948           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3949       ;;
3950     *)
3951       # `set' quotes correctly as required by POSIX, so do not add quotes.
3952       sed -n \
3953         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3954       ;;
3955     esac;
3956 } |
3957   sed '
3958      t clear
3959      : clear
3960      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3961      t end
3962      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3963      : end' >>confcache
3964 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3965   if test -w $cache_file; then
3966     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3967     cat confcache >$cache_file
3968   else
3969     echo "not updating unwritable cache $cache_file"
3970   fi
3971 fi
3972 rm -f confcache
3973
3974 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3975 # Let make expand exec_prefix.
3976 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3977
3978 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3979 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3980 # trailing colons and then remove the whole line if VPATH becomes empty
3981 # (actually we leave an empty line to preserve line numbers).
3982 if test "x$srcdir" = x.; then
3983   ac_vpsub='/^[  ]*VPATH[        ]*=/{
3984 s/:*\$(srcdir):*/:/;
3985 s/:*\${srcdir}:*/:/;
3986 s/:*@srcdir@:*/:/;
3987 s/^\([^=]*=[     ]*\):*/\1/;
3988 s/:*$//;
3989 s/^[^=]*=[       ]*$//;
3990 }'
3991 fi
3992
3993 # Transform confdefs.h into DEFS.
3994 # Protect against shell expansion while executing Makefile rules.
3995 # Protect against Makefile macro expansion.
3996 #
3997 # If the first sed substitution is executed (which looks for macros that
3998 # take arguments), then we branch to the quote section.  Otherwise,
3999 # look for a macro that doesn't take arguments.
4000 cat >confdef2opt.sed <<\_ACEOF
4001 t clear
4002 : clear
4003 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
4004 t quote
4005 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
4006 t quote
4007 d
4008 : quote
4009 s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
4010 s,\[,\\&,g
4011 s,\],\\&,g
4012 s,\$,$$,g
4013 p
4014 _ACEOF
4015 # We use echo to avoid assuming a particular line-breaking character.
4016 # The extra dot is to prevent the shell from consuming trailing
4017 # line-breaks from the sub-command output.  A line-break within
4018 # single-quotes doesn't work because, if this script is created in a
4019 # platform that uses two characters for line-breaks (e.g., DOS), tr
4020 # would break.
4021 ac_LF_and_DOT=`echo; echo .`
4022 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4023 rm -f confdef2opt.sed
4024
4025
4026 ac_libobjs=
4027 ac_ltlibobjs=
4028 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4029   # 1. Remove the extension, and $U if already installed.
4030   ac_i=`echo "$ac_i" |
4031          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4032   # 2. Add them.
4033   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4034   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4035 done
4036 LIBOBJS=$ac_libobjs
4037
4038 LTLIBOBJS=$ac_ltlibobjs
4039
4040
4041 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4042   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4043 Usually this means the macro was only invoked conditionally." >&5
4044 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4045 Usually this means the macro was only invoked conditionally." >&2;}
4046    { (exit 1); exit 1; }; }
4047 fi
4048 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4049   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4050 Usually this means the macro was only invoked conditionally." >&5
4051 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4052 Usually this means the macro was only invoked conditionally." >&2;}
4053    { (exit 1); exit 1; }; }
4054 fi
4055 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4056   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4057 Usually this means the macro was only invoked conditionally." >&5
4058 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4059 Usually this means the macro was only invoked conditionally." >&2;}
4060    { (exit 1); exit 1; }; }
4061 fi
4062 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4063   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
4064 Usually this means the macro was only invoked conditionally." >&5
4065 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
4066 Usually this means the macro was only invoked conditionally." >&2;}
4067    { (exit 1); exit 1; }; }
4068 fi
4069 if test -z "${SIDTARGET_ARM_TRUE}" && test -z "${SIDTARGET_ARM_FALSE}"; then
4070   { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_ARM\" was never defined.
4071 Usually this means the macro was only invoked conditionally." >&5
4072 echo "$as_me: error: conditional \"SIDTARGET_ARM\" was never defined.
4073 Usually this means the macro was only invoked conditionally." >&2;}
4074    { (exit 1); exit 1; }; }
4075 fi
4076 if test -z "${SIDTARGET_X86_TRUE}" && test -z "${SIDTARGET_X86_FALSE}"; then
4077   { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_X86\" was never defined.
4078 Usually this means the macro was only invoked conditionally." >&5
4079 echo "$as_me: error: conditional \"SIDTARGET_X86\" was never defined.
4080 Usually this means the macro was only invoked conditionally." >&2;}
4081    { (exit 1); exit 1; }; }
4082 fi
4083 if test -z "${SIDTARGET_MIPS_TRUE}" && test -z "${SIDTARGET_MIPS_FALSE}"; then
4084   { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_MIPS\" was never defined.
4085 Usually this means the macro was only invoked conditionally." >&5
4086 echo "$as_me: error: conditional \"SIDTARGET_MIPS\" was never defined.
4087 Usually this means the macro was only invoked conditionally." >&2;}
4088    { (exit 1); exit 1; }; }
4089 fi
4090 if test -z "${SIDTARGET_M32R_TRUE}" && test -z "${SIDTARGET_M32R_FALSE}"; then
4091   { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_M32R\" was never defined.
4092 Usually this means the macro was only invoked conditionally." >&5
4093 echo "$as_me: error: conditional \"SIDTARGET_M32R\" was never defined.
4094 Usually this means the macro was only invoked conditionally." >&2;}
4095    { (exit 1); exit 1; }; }
4096 fi
4097 if test -z "${SIDTARGET_M68K_TRUE}" && test -z "${SIDTARGET_M68K_FALSE}"; then
4098   { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_M68K\" was never defined.
4099 Usually this means the macro was only invoked conditionally." >&5
4100 echo "$as_me: error: conditional \"SIDTARGET_M68K\" was never defined.
4101 Usually this means the macro was only invoked conditionally." >&2;}
4102    { (exit 1); exit 1; }; }
4103 fi
4104 if test -z "${SIDTARGET_MEP_TRUE}" && test -z "${SIDTARGET_MEP_FALSE}"; then
4105   { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_MEP\" was never defined.
4106 Usually this means the macro was only invoked conditionally." >&5
4107 echo "$as_me: error: conditional \"SIDTARGET_MEP\" was never defined.
4108 Usually this means the macro was only invoked conditionally." >&2;}
4109    { (exit 1); exit 1; }; }
4110 fi
4111 if test -z "${SIDTARGET_MT_TRUE}" && test -z "${SIDTARGET_MT_FALSE}"; then
4112   { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_MT\" was never defined.
4113 Usually this means the macro was only invoked conditionally." >&5
4114 echo "$as_me: error: conditional \"SIDTARGET_MT\" was never defined.
4115 Usually this means the macro was only invoked conditionally." >&2;}
4116    { (exit 1); exit 1; }; }
4117 fi
4118 if test -z "${SIDTARGET_PPC_TRUE}" && test -z "${SIDTARGET_PPC_FALSE}"; then
4119   { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_PPC\" was never defined.
4120 Usually this means the macro was only invoked conditionally." >&5
4121 echo "$as_me: error: conditional \"SIDTARGET_PPC\" was never defined.
4122 Usually this means the macro was only invoked conditionally." >&2;}
4123    { (exit 1); exit 1; }; }
4124 fi
4125 if test -z "${SIDTARGET_SH_TRUE}" && test -z "${SIDTARGET_SH_FALSE}"; then
4126   { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_SH\" was never defined.
4127 Usually this means the macro was only invoked conditionally." >&5
4128 echo "$as_me: error: conditional \"SIDTARGET_SH\" was never defined.
4129 Usually this means the macro was only invoked conditionally." >&2;}
4130    { (exit 1); exit 1; }; }
4131 fi
4132 if test -z "${SIDTARGET_SH64_TRUE}" && test -z "${SIDTARGET_SH64_FALSE}"; then
4133   { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_SH64\" was never defined.
4134 Usually this means the macro was only invoked conditionally." >&5
4135 echo "$as_me: error: conditional \"SIDTARGET_SH64\" was never defined.
4136 Usually this means the macro was only invoked conditionally." >&2;}
4137    { (exit 1); exit 1; }; }
4138 fi
4139 if test -z "${SIDTARGET_XSTORMY16_TRUE}" && test -z "${SIDTARGET_XSTORMY16_FALSE}"; then
4140   { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_XSTORMY16\" was never defined.
4141 Usually this means the macro was only invoked conditionally." >&5
4142 echo "$as_me: error: conditional \"SIDTARGET_XSTORMY16\" was never defined.
4143 Usually this means the macro was only invoked conditionally." >&2;}
4144    { (exit 1); exit 1; }; }
4145 fi
4146
4147 : ${CONFIG_STATUS=./config.status}
4148 ac_clean_files_save=$ac_clean_files
4149 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4150 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4151 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4152 cat >$CONFIG_STATUS <<_ACEOF
4153 #! $SHELL
4154 # Generated by $as_me.
4155 # Run this file to recreate the current configuration.
4156 # Compiler output produced by configure, useful for debugging
4157 # configure, is in config.log if it exists.
4158
4159 debug=false
4160 ac_cs_recheck=false
4161 ac_cs_silent=false
4162 SHELL=\${CONFIG_SHELL-$SHELL}
4163 _ACEOF
4164
4165 cat >>$CONFIG_STATUS <<\_ACEOF
4166 ## --------------------- ##
4167 ## M4sh Initialization.  ##
4168 ## --------------------- ##
4169
4170 # Be Bourne compatible
4171 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4172   emulate sh
4173   NULLCMD=:
4174   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4175   # is contrary to our usage.  Disable this feature.
4176   alias -g '${1+"$@"}'='"$@"'
4177 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4178   set -o posix
4179 fi
4180 DUALCASE=1; export DUALCASE # for MKS sh
4181
4182 # Support unset when possible.
4183 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4184   as_unset=unset
4185 else
4186   as_unset=false
4187 fi
4188
4189
4190 # Work around bugs in pre-3.0 UWIN ksh.
4191 $as_unset ENV MAIL MAILPATH
4192 PS1='$ '
4193 PS2='> '
4194 PS4='+ '
4195
4196 # NLS nuisances.
4197 for as_var in \
4198   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4199   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4200   LC_TELEPHONE LC_TIME
4201 do
4202   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4203     eval $as_var=C; export $as_var
4204   else
4205     $as_unset $as_var
4206   fi
4207 done
4208
4209 # Required to use basename.
4210 if expr a : '\(a\)' >/dev/null 2>&1; then
4211   as_expr=expr
4212 else
4213   as_expr=false
4214 fi
4215
4216 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4217   as_basename=basename
4218 else
4219   as_basename=false
4220 fi
4221
4222
4223 # Name of the executable.
4224 as_me=`$as_basename "$0" ||
4225 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4226          X"$0" : 'X\(//\)$' \| \
4227          X"$0" : 'X\(/\)$' \| \
4228          .     : '\(.\)' 2>/dev/null ||
4229 echo X/"$0" |
4230     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4231           /^X\/\(\/\/\)$/{ s//\1/; q; }
4232           /^X\/\(\/\).*/{ s//\1/; q; }
4233           s/.*/./; q'`
4234
4235
4236 # PATH needs CR, and LINENO needs CR and PATH.
4237 # Avoid depending upon Character Ranges.
4238 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4239 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4240 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4241 as_cr_digits='0123456789'
4242 as_cr_alnum=$as_cr_Letters$as_cr_digits
4243
4244 # The user is always right.
4245 if test "${PATH_SEPARATOR+set}" != set; then
4246   echo "#! /bin/sh" >conf$$.sh
4247   echo  "exit 0"   >>conf$$.sh
4248   chmod +x conf$$.sh
4249   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4250     PATH_SEPARATOR=';'
4251   else
4252     PATH_SEPARATOR=:
4253   fi
4254   rm -f conf$$.sh
4255 fi
4256
4257
4258   as_lineno_1=$LINENO
4259   as_lineno_2=$LINENO
4260   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4261   test "x$as_lineno_1" != "x$as_lineno_2" &&
4262   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
4263   # Find who we are.  Look in the path if we contain no path at all
4264   # relative or not.
4265   case $0 in
4266     *[\\/]* ) as_myself=$0 ;;
4267     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4268 for as_dir in $PATH
4269 do
4270   IFS=$as_save_IFS
4271   test -z "$as_dir" && as_dir=.
4272   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4273 done
4274
4275        ;;
4276   esac
4277   # We did not find ourselves, most probably we were run as `sh COMMAND'
4278   # in which case we are not to be found in the path.
4279   if test "x$as_myself" = x; then
4280     as_myself=$0
4281   fi
4282   if test ! -f "$as_myself"; then
4283     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4284 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4285    { (exit 1); exit 1; }; }
4286   fi
4287   case $CONFIG_SHELL in
4288   '')
4289     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4290 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4291 do
4292   IFS=$as_save_IFS
4293   test -z "$as_dir" && as_dir=.
4294   for as_base in sh bash ksh sh5; do
4295          case $as_dir in
4296          /*)
4297            if ("$as_dir/$as_base" -c '
4298   as_lineno_1=$LINENO
4299   as_lineno_2=$LINENO
4300   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4301   test "x$as_lineno_1" != "x$as_lineno_2" &&
4302   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
4303              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4304              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4305              CONFIG_SHELL=$as_dir/$as_base
4306              export CONFIG_SHELL
4307              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4308            fi;;
4309          esac
4310        done
4311 done
4312 ;;
4313   esac
4314
4315   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4316   # uniformly replaced by the line number.  The first 'sed' inserts a
4317   # line-number line before each line; the second 'sed' does the real
4318   # work.  The second script uses 'N' to pair each line-number line
4319   # with the numbered line, and appends trailing '-' during
4320   # substitution so that $LINENO is not a special case at line end.
4321   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4322   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4323   sed '=' <$as_myself |
4324     sed '
4325       N
4326       s,$,-,
4327       : loop
4328       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4329       t loop
4330       s,-$,,
4331       s,^['$as_cr_digits']*\n,,
4332     ' >$as_me.lineno &&
4333   chmod +x $as_me.lineno ||
4334     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4335 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4336    { (exit 1); exit 1; }; }
4337
4338   # Don't try to exec as it changes $[0], causing all sort of problems
4339   # (the dirname of $[0] is not the place where we might find the
4340   # original and so on.  Autoconf is especially sensible to this).
4341   . ./$as_me.lineno
4342   # Exit status is that of the last command.
4343   exit
4344 }
4345
4346
4347 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4348   *c*,-n*) ECHO_N= ECHO_C='
4349 ' ECHO_T='      ' ;;
4350   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4351   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
4352 esac
4353
4354 if expr a : '\(a\)' >/dev/null 2>&1; then
4355   as_expr=expr
4356 else
4357   as_expr=false
4358 fi
4359
4360 rm -f conf$$ conf$$.exe conf$$.file
4361 echo >conf$$.file
4362 if ln -s conf$$.file conf$$ 2>/dev/null; then
4363   # We could just check for DJGPP; but this test a) works b) is more generic
4364   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4365   if test -f conf$$.exe; then
4366     # Don't use ln at all; we don't have any links
4367     as_ln_s='cp -p'
4368   else
4369     as_ln_s='ln -s'
4370   fi
4371 elif ln conf$$.file conf$$ 2>/dev/null; then
4372   as_ln_s=ln
4373 else
4374   as_ln_s='cp -p'
4375 fi
4376 rm -f conf$$ conf$$.exe conf$$.file
4377
4378 if mkdir -p . 2>/dev/null; then
4379   as_mkdir_p=:
4380 else
4381   test -d ./-p && rmdir ./-p
4382   as_mkdir_p=false
4383 fi
4384
4385 as_executable_p="test -f"
4386
4387 # Sed expression to map a string onto a valid CPP name.
4388 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4389
4390 # Sed expression to map a string onto a valid variable name.
4391 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4392
4393
4394 # IFS
4395 # We need space, tab and new line, in precisely that order.
4396 as_nl='
4397 '
4398 IFS="   $as_nl"
4399
4400 # CDPATH.
4401 $as_unset CDPATH
4402
4403 exec 6>&1
4404
4405 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4406 # report actual input values of CONFIG_FILES etc. instead of their
4407 # values after options handling.  Logging --version etc. is OK.
4408 exec 5>>config.log
4409 {
4410   echo
4411   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4412 ## Running $as_me. ##
4413 _ASBOX
4414 } >&5
4415 cat >&5 <<_CSEOF
4416
4417 This file was extended by $as_me, which was
4418 generated by GNU Autoconf 2.59.  Invocation command line was
4419
4420   CONFIG_FILES    = $CONFIG_FILES
4421   CONFIG_HEADERS  = $CONFIG_HEADERS
4422   CONFIG_LINKS    = $CONFIG_LINKS
4423   CONFIG_COMMANDS = $CONFIG_COMMANDS
4424   $ $0 $@
4425
4426 _CSEOF
4427 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4428 echo >&5
4429 _ACEOF
4430
4431 # Files that config.status was made for.
4432 if test -n "$ac_config_files"; then
4433   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4434 fi
4435
4436 if test -n "$ac_config_headers"; then
4437   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4438 fi
4439
4440 if test -n "$ac_config_links"; then
4441   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4442 fi
4443
4444 if test -n "$ac_config_commands"; then
4445   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4446 fi
4447
4448 cat >>$CONFIG_STATUS <<\_ACEOF
4449
4450 ac_cs_usage="\
4451 \`$as_me' instantiates files from templates according to the
4452 current configuration.
4453
4454 Usage: $0 [OPTIONS] [FILE]...
4455
4456   -h, --help       print this help, then exit
4457   -V, --version    print version number, then exit
4458   -q, --quiet      do not print progress messages
4459   -d, --debug      don't remove temporary files
4460       --recheck    update $as_me by reconfiguring in the same conditions
4461   --file=FILE[:TEMPLATE]
4462                    instantiate the configuration file FILE
4463
4464 Configuration files:
4465 $config_files
4466
4467 Configuration commands:
4468 $config_commands
4469
4470 Report bugs to <bug-autoconf@gnu.org>."
4471 _ACEOF
4472
4473 cat >>$CONFIG_STATUS <<_ACEOF
4474 ac_cs_version="\\
4475 config.status
4476 configured by $0, generated by GNU Autoconf 2.59,
4477   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4478
4479 Copyright (C) 2003 Free Software Foundation, Inc.
4480 This config.status script is free software; the Free Software Foundation
4481 gives unlimited permission to copy, distribute and modify it."
4482 srcdir=$srcdir
4483 INSTALL="$INSTALL"
4484 _ACEOF
4485
4486 cat >>$CONFIG_STATUS <<\_ACEOF
4487 # If no file are specified by the user, then we need to provide default
4488 # value.  By we need to know if files were specified by the user.
4489 ac_need_defaults=:
4490 while test $# != 0
4491 do
4492   case $1 in
4493   --*=*)
4494     ac_option=`expr "x$1" : 'x\([^=]*\)='`
4495     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4496     ac_shift=:
4497     ;;
4498   -*)
4499     ac_option=$1
4500     ac_optarg=$2
4501     ac_shift=shift
4502     ;;
4503   *) # This is not an option, so the user has probably given explicit
4504      # arguments.
4505      ac_option=$1
4506      ac_need_defaults=false;;
4507   esac
4508
4509   case $ac_option in
4510   # Handling of the options.
4511 _ACEOF
4512 cat >>$CONFIG_STATUS <<\_ACEOF
4513   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4514     ac_cs_recheck=: ;;
4515   --version | --vers* | -V )
4516     echo "$ac_cs_version"; exit 0 ;;
4517   --he | --h)
4518     # Conflict between --help and --header
4519     { { echo "$as_me:$LINENO: error: ambiguous option: $1
4520 Try \`$0 --help' for more information." >&5
4521 echo "$as_me: error: ambiguous option: $1
4522 Try \`$0 --help' for more information." >&2;}
4523    { (exit 1); exit 1; }; };;
4524   --help | --hel | -h )
4525     echo "$ac_cs_usage"; exit 0 ;;
4526   --debug | --d* | -d )
4527     debug=: ;;
4528   --file | --fil | --fi | --f )
4529     $ac_shift
4530     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4531     ac_need_defaults=false;;
4532   --header | --heade | --head | --hea )
4533     $ac_shift
4534     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4535     ac_need_defaults=false;;
4536   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4537   | -silent | --silent | --silen | --sile | --sil | --si | --s)
4538     ac_cs_silent=: ;;
4539
4540   # This is an error.
4541   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4542 Try \`$0 --help' for more information." >&5
4543 echo "$as_me: error: unrecognized option: $1
4544 Try \`$0 --help' for more information." >&2;}
4545    { (exit 1); exit 1; }; } ;;
4546
4547   *) ac_config_targets="$ac_config_targets $1" ;;
4548
4549   esac
4550   shift
4551 done
4552
4553 ac_configure_extra_args=
4554
4555 if $ac_cs_silent; then
4556   exec 6>/dev/null
4557   ac_configure_extra_args="$ac_configure_extra_args --silent"
4558 fi
4559
4560 _ACEOF
4561 cat >>$CONFIG_STATUS <<_ACEOF
4562 if \$ac_cs_recheck; then
4563   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4564   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4565 fi
4566
4567 _ACEOF
4568
4569 cat >>$CONFIG_STATUS <<_ACEOF
4570 #
4571 # INIT-COMMANDS section.
4572 #
4573
4574 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4575
4576 _ACEOF
4577
4578
4579
4580 cat >>$CONFIG_STATUS <<\_ACEOF
4581 for ac_config_target in $ac_config_targets
4582 do
4583   case "$ac_config_target" in
4584   # Handling of arguments.
4585   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4586   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
4587   "config/info.tcl" ) CONFIG_FILES="$CONFIG_FILES config/info.tcl" ;;
4588   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4589   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4590 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4591    { (exit 1); exit 1; }; };;
4592   esac
4593 done
4594
4595 # If the user did not use the arguments to specify the items to instantiate,
4596 # then the envvar interface is used.  Set only those that are not.
4597 # We use the long form for the default assignment because of an extremely
4598 # bizarre bug on SunOS 4.1.3.
4599 if $ac_need_defaults; then
4600   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4601   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4602 fi
4603
4604 # Have a temporary directory for convenience.  Make it in the build tree
4605 # simply because there is no reason to put it here, and in addition,
4606 # creating and moving files from /tmp can sometimes cause problems.
4607 # Create a temporary directory, and hook for its removal unless debugging.
4608 $debug ||
4609 {
4610   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4611   trap '{ (exit 1); exit 1; }' 1 2 13 15
4612 }
4613
4614 # Create a (secure) tmp directory for tmp files.
4615
4616 {
4617   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4618   test -n "$tmp" && test -d "$tmp"
4619 }  ||
4620 {
4621   tmp=./confstat$$-$RANDOM
4622   (umask 077 && mkdir $tmp)
4623 } ||
4624 {
4625    echo "$me: cannot create a temporary directory in ." >&2
4626    { (exit 1); exit 1; }
4627 }
4628
4629 _ACEOF
4630
4631 cat >>$CONFIG_STATUS <<_ACEOF
4632
4633 #
4634 # CONFIG_FILES section.
4635 #
4636
4637 # No need to generate the scripts if there are no CONFIG_FILES.
4638 # This happens for instance when ./config.status config.h
4639 if test -n "\$CONFIG_FILES"; then
4640   # Protect against being on the right side of a sed subst in config.status.
4641   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4642    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4643 s,@SHELL@,$SHELL,;t t
4644 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4645 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4646 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4647 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4648 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4649 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4650 s,@exec_prefix@,$exec_prefix,;t t
4651 s,@prefix@,$prefix,;t t
4652 s,@program_transform_name@,$program_transform_name,;t t
4653 s,@bindir@,$bindir,;t t
4654 s,@sbindir@,$sbindir,;t t
4655 s,@libexecdir@,$libexecdir,;t t
4656 s,@datadir@,$datadir,;t t
4657 s,@sysconfdir@,$sysconfdir,;t t
4658 s,@sharedstatedir@,$sharedstatedir,;t t
4659 s,@localstatedir@,$localstatedir,;t t
4660 s,@libdir@,$libdir,;t t
4661 s,@includedir@,$includedir,;t t
4662 s,@oldincludedir@,$oldincludedir,;t t
4663 s,@infodir@,$infodir,;t t
4664 s,@mandir@,$mandir,;t t
4665 s,@build_alias@,$build_alias,;t t
4666 s,@host_alias@,$host_alias,;t t
4667 s,@target_alias@,$target_alias,;t t
4668 s,@DEFS@,$DEFS,;t t
4669 s,@ECHO_C@,$ECHO_C,;t t
4670 s,@ECHO_N@,$ECHO_N,;t t
4671 s,@ECHO_T@,$ECHO_T,;t t
4672 s,@LIBS@,$LIBS,;t t
4673 s,@CC@,$CC,;t t
4674 s,@CFLAGS@,$CFLAGS,;t t
4675 s,@LDFLAGS@,$LDFLAGS,;t t
4676 s,@CPPFLAGS@,$CPPFLAGS,;t t
4677 s,@ac_ct_CC@,$ac_ct_CC,;t t
4678 s,@EXEEXT@,$EXEEXT,;t t
4679 s,@OBJEXT@,$OBJEXT,;t t
4680 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4681 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4682 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4683 s,@CYGPATH_W@,$CYGPATH_W,;t t
4684 s,@PACKAGE@,$PACKAGE,;t t
4685 s,@VERSION@,$VERSION,;t t
4686 s,@ACLOCAL@,$ACLOCAL,;t t
4687 s,@AUTOCONF@,$AUTOCONF,;t t
4688 s,@AUTOMAKE@,$AUTOMAKE,;t t
4689 s,@AUTOHEADER@,$AUTOHEADER,;t t
4690 s,@MAKEINFO@,$MAKEINFO,;t t
4691 s,@install_sh@,$install_sh,;t t
4692 s,@STRIP@,$STRIP,;t t
4693 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4694 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4695 s,@mkdir_p@,$mkdir_p,;t t
4696 s,@AWK@,$AWK,;t t
4697 s,@SET_MAKE@,$SET_MAKE,;t t
4698 s,@am__leading_dot@,$am__leading_dot,;t t
4699 s,@AMTAR@,$AMTAR,;t t
4700 s,@am__tar@,$am__tar,;t t
4701 s,@am__untar@,$am__untar,;t t
4702 s,@DEPDIR@,$DEPDIR,;t t
4703 s,@am__include@,$am__include,;t t
4704 s,@am__quote@,$am__quote,;t t
4705 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4706 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4707 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4708 s,@CCDEPMODE@,$CCDEPMODE,;t t
4709 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4710 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4711 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4712 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4713 s,@MAINT@,$MAINT,;t t
4714 s,@CXX@,$CXX,;t t
4715 s,@CXXFLAGS@,$CXXFLAGS,;t t
4716 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
4717 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
4718 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
4719 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
4720 s,@CXXCPP@,$CXXCPP,;t t
4721 s,@sidtarget_arm@,$sidtarget_arm,;t t
4722 s,@SIDTARGET_ARM_TRUE@,$SIDTARGET_ARM_TRUE,;t t
4723 s,@SIDTARGET_ARM_FALSE@,$SIDTARGET_ARM_FALSE,;t t
4724 s,@sidtarget_x86@,$sidtarget_x86,;t t
4725 s,@SIDTARGET_X86_TRUE@,$SIDTARGET_X86_TRUE,;t t
4726 s,@SIDTARGET_X86_FALSE@,$SIDTARGET_X86_FALSE,;t t
4727 s,@sidtarget_mips@,$sidtarget_mips,;t t
4728 s,@SIDTARGET_MIPS_TRUE@,$SIDTARGET_MIPS_TRUE,;t t
4729 s,@SIDTARGET_MIPS_FALSE@,$SIDTARGET_MIPS_FALSE,;t t
4730 s,@sidtarget_m32r@,$sidtarget_m32r,;t t
4731 s,@SIDTARGET_M32R_TRUE@,$SIDTARGET_M32R_TRUE,;t t
4732 s,@SIDTARGET_M32R_FALSE@,$SIDTARGET_M32R_FALSE,;t t
4733 s,@sidtarget_m68k@,$sidtarget_m68k,;t t
4734 s,@SIDTARGET_M68K_TRUE@,$SIDTARGET_M68K_TRUE,;t t
4735 s,@SIDTARGET_M68K_FALSE@,$SIDTARGET_M68K_FALSE,;t t
4736 s,@sidtarget_mep@,$sidtarget_mep,;t t
4737 s,@SIDTARGET_MEP_TRUE@,$SIDTARGET_MEP_TRUE,;t t
4738 s,@SIDTARGET_MEP_FALSE@,$SIDTARGET_MEP_FALSE,;t t
4739 s,@sidtarget_mt@,$sidtarget_mt,;t t
4740 s,@SIDTARGET_MT_TRUE@,$SIDTARGET_MT_TRUE,;t t
4741 s,@SIDTARGET_MT_FALSE@,$SIDTARGET_MT_FALSE,;t t
4742 s,@sidtarget_ppc@,$sidtarget_ppc,;t t
4743 s,@SIDTARGET_PPC_TRUE@,$SIDTARGET_PPC_TRUE,;t t
4744 s,@SIDTARGET_PPC_FALSE@,$SIDTARGET_PPC_FALSE,;t t
4745 s,@sidtarget_sh@,$sidtarget_sh,;t t
4746 s,@SIDTARGET_SH_TRUE@,$SIDTARGET_SH_TRUE,;t t
4747 s,@SIDTARGET_SH_FALSE@,$SIDTARGET_SH_FALSE,;t t
4748 s,@sidtarget_sh64@,$sidtarget_sh64,;t t
4749 s,@SIDTARGET_SH64_TRUE@,$SIDTARGET_SH64_TRUE,;t t
4750 s,@SIDTARGET_SH64_FALSE@,$SIDTARGET_SH64_FALSE,;t t
4751 s,@sidtarget_xstormy16@,$sidtarget_xstormy16,;t t
4752 s,@SIDTARGET_XSTORMY16_TRUE@,$SIDTARGET_XSTORMY16_TRUE,;t t
4753 s,@SIDTARGET_XSTORMY16_FALSE@,$SIDTARGET_XSTORMY16_FALSE,;t t
4754 s,@enable_shared@,$enable_shared,;t t
4755 s,@target@,$target,;t t
4756 s,@subdirs@,$subdirs,;t t
4757 s,@LIBOBJS@,$LIBOBJS,;t t
4758 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4759 CEOF
4760
4761 _ACEOF
4762
4763   cat >>$CONFIG_STATUS <<\_ACEOF
4764   # Split the substitutions into bite-sized pieces for seds with
4765   # small command number limits, like on Digital OSF/1 and HP-UX.
4766   ac_max_sed_lines=48
4767   ac_sed_frag=1 # Number of current file.
4768   ac_beg=1 # First line for current file.
4769   ac_end=$ac_max_sed_lines # Line after last line for current file.
4770   ac_more_lines=:
4771   ac_sed_cmds=
4772   while $ac_more_lines; do
4773     if test $ac_beg -gt 1; then
4774       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4775     else
4776       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4777     fi
4778     if test ! -s $tmp/subs.frag; then
4779       ac_more_lines=false
4780     else
4781       # The purpose of the label and of the branching condition is to
4782       # speed up the sed processing (if there are no `@' at all, there
4783       # is no need to browse any of the substitutions).
4784       # These are the two extra sed commands mentioned above.
4785       (echo ':t
4786   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4787       if test -z "$ac_sed_cmds"; then
4788         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4789       else
4790         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4791       fi
4792       ac_sed_frag=`expr $ac_sed_frag + 1`
4793       ac_beg=$ac_end
4794       ac_end=`expr $ac_end + $ac_max_sed_lines`
4795     fi
4796   done
4797   if test -z "$ac_sed_cmds"; then
4798     ac_sed_cmds=cat
4799   fi
4800 fi # test -n "$CONFIG_FILES"
4801
4802 _ACEOF
4803 cat >>$CONFIG_STATUS <<\_ACEOF
4804 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4805   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4806   case $ac_file in
4807   - | *:- | *:-:* ) # input from stdin
4808         cat >$tmp/stdin
4809         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4810         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4811   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4812         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4813   * )   ac_file_in=$ac_file.in ;;
4814   esac
4815
4816   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4817   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4818 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4819          X"$ac_file" : 'X\(//\)[^/]' \| \
4820          X"$ac_file" : 'X\(//\)$' \| \
4821          X"$ac_file" : 'X\(/\)' \| \
4822          .     : '\(.\)' 2>/dev/null ||
4823 echo X"$ac_file" |
4824     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4825           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4826           /^X\(\/\/\)$/{ s//\1/; q; }
4827           /^X\(\/\).*/{ s//\1/; q; }
4828           s/.*/./; q'`
4829   { if $as_mkdir_p; then
4830     mkdir -p "$ac_dir"
4831   else
4832     as_dir="$ac_dir"
4833     as_dirs=
4834     while test ! -d "$as_dir"; do
4835       as_dirs="$as_dir $as_dirs"
4836       as_dir=`(dirname "$as_dir") 2>/dev/null ||
4837 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4838          X"$as_dir" : 'X\(//\)[^/]' \| \
4839          X"$as_dir" : 'X\(//\)$' \| \
4840          X"$as_dir" : 'X\(/\)' \| \
4841          .     : '\(.\)' 2>/dev/null ||
4842 echo X"$as_dir" |
4843     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4844           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4845           /^X\(\/\/\)$/{ s//\1/; q; }
4846           /^X\(\/\).*/{ s//\1/; q; }
4847           s/.*/./; q'`
4848     done
4849     test ! -n "$as_dirs" || mkdir $as_dirs
4850   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4851 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4852    { (exit 1); exit 1; }; }; }
4853
4854   ac_builddir=.
4855
4856 if test "$ac_dir" != .; then
4857   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4858   # A "../" for each directory in $ac_dir_suffix.
4859   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4860 else
4861   ac_dir_suffix= ac_top_builddir=
4862 fi
4863
4864 case $srcdir in
4865   .)  # No --srcdir option.  We are building in place.
4866     ac_srcdir=.
4867     if test -z "$ac_top_builddir"; then
4868        ac_top_srcdir=.
4869     else
4870        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4871     fi ;;
4872   [\\/]* | ?:[\\/]* )  # Absolute path.
4873     ac_srcdir=$srcdir$ac_dir_suffix;
4874     ac_top_srcdir=$srcdir ;;
4875   *) # Relative path.
4876     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4877     ac_top_srcdir=$ac_top_builddir$srcdir ;;
4878 esac
4879
4880 # Do not use `cd foo && pwd` to compute absolute paths, because
4881 # the directories may not exist.
4882 case `pwd` in
4883 .) ac_abs_builddir="$ac_dir";;
4884 *)
4885   case "$ac_dir" in
4886   .) ac_abs_builddir=`pwd`;;
4887   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4888   *) ac_abs_builddir=`pwd`/"$ac_dir";;
4889   esac;;
4890 esac
4891 case $ac_abs_builddir in
4892 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4893 *)
4894   case ${ac_top_builddir}. in
4895   .) ac_abs_top_builddir=$ac_abs_builddir;;
4896   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4897   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4898   esac;;
4899 esac
4900 case $ac_abs_builddir in
4901 .) ac_abs_srcdir=$ac_srcdir;;
4902 *)
4903   case $ac_srcdir in
4904   .) ac_abs_srcdir=$ac_abs_builddir;;
4905   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4906   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4907   esac;;
4908 esac
4909 case $ac_abs_builddir in
4910 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4911 *)
4912   case $ac_top_srcdir in
4913   .) ac_abs_top_srcdir=$ac_abs_builddir;;
4914   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4915   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4916   esac;;
4917 esac
4918
4919
4920   case $INSTALL in
4921   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4922   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4923   esac
4924
4925   if test x"$ac_file" != x-; then
4926     { echo "$as_me:$LINENO: creating $ac_file" >&5
4927 echo "$as_me: creating $ac_file" >&6;}
4928     rm -f "$ac_file"
4929   fi
4930   # Let's still pretend it is `configure' which instantiates (i.e., don't
4931   # use $as_me), people would be surprised to read:
4932   #    /* config.h.  Generated by config.status.  */
4933   if test x"$ac_file" = x-; then
4934     configure_input=
4935   else
4936     configure_input="$ac_file.  "
4937   fi
4938   configure_input=$configure_input"Generated from `echo $ac_file_in |
4939                                      sed 's,.*/,,'` by configure."
4940
4941   # First look for the input files in the build tree, otherwise in the
4942   # src tree.
4943   ac_file_inputs=`IFS=:
4944     for f in $ac_file_in; do
4945       case $f in
4946       -) echo $tmp/stdin ;;
4947       [\\/$]*)
4948          # Absolute (can't be DOS-style, as IFS=:)
4949          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4950 echo "$as_me: error: cannot find input file: $f" >&2;}
4951    { (exit 1); exit 1; }; }
4952          echo "$f";;
4953       *) # Relative
4954          if test -f "$f"; then
4955            # Build tree
4956            echo "$f"
4957          elif test -f "$srcdir/$f"; then
4958            # Source tree
4959            echo "$srcdir/$f"
4960          else
4961            # /dev/null tree
4962            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4963 echo "$as_me: error: cannot find input file: $f" >&2;}
4964    { (exit 1); exit 1; }; }
4965          fi;;
4966       esac
4967     done` || { (exit 1); exit 1; }
4968 _ACEOF
4969 cat >>$CONFIG_STATUS <<_ACEOF
4970   sed "$ac_vpsub
4971 $extrasub
4972 _ACEOF
4973 cat >>$CONFIG_STATUS <<\_ACEOF
4974 :t
4975 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4976 s,@configure_input@,$configure_input,;t t
4977 s,@srcdir@,$ac_srcdir,;t t
4978 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4979 s,@top_srcdir@,$ac_top_srcdir,;t t
4980 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4981 s,@builddir@,$ac_builddir,;t t
4982 s,@abs_builddir@,$ac_abs_builddir,;t t
4983 s,@top_builddir@,$ac_top_builddir,;t t
4984 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4985 s,@INSTALL@,$ac_INSTALL,;t t
4986 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4987   rm -f $tmp/stdin
4988   if test x"$ac_file" != x-; then
4989     mv $tmp/out $ac_file
4990   else
4991     cat $tmp/out
4992     rm -f $tmp/out
4993   fi
4994
4995 done
4996 _ACEOF
4997 cat >>$CONFIG_STATUS <<\_ACEOF
4998
4999 #
5000 # CONFIG_COMMANDS section.
5001 #
5002 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5003   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5004   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5005   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5006 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5007          X"$ac_dest" : 'X\(//\)[^/]' \| \
5008          X"$ac_dest" : 'X\(//\)$' \| \
5009          X"$ac_dest" : 'X\(/\)' \| \
5010          .     : '\(.\)' 2>/dev/null ||
5011 echo X"$ac_dest" |
5012     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5013           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5014           /^X\(\/\/\)$/{ s//\1/; q; }
5015           /^X\(\/\).*/{ s//\1/; q; }
5016           s/.*/./; q'`
5017   { if $as_mkdir_p; then
5018     mkdir -p "$ac_dir"
5019   else
5020     as_dir="$ac_dir"
5021     as_dirs=
5022     while test ! -d "$as_dir"; do
5023       as_dirs="$as_dir $as_dirs"
5024       as_dir=`(dirname "$as_dir") 2>/dev/null ||
5025 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5026          X"$as_dir" : 'X\(//\)[^/]' \| \
5027          X"$as_dir" : 'X\(//\)$' \| \
5028          X"$as_dir" : 'X\(/\)' \| \
5029          .     : '\(.\)' 2>/dev/null ||
5030 echo X"$as_dir" |
5031     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5032           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5033           /^X\(\/\/\)$/{ s//\1/; q; }
5034           /^X\(\/\).*/{ s//\1/; q; }
5035           s/.*/./; q'`
5036     done
5037     test ! -n "$as_dirs" || mkdir $as_dirs
5038   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5039 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5040    { (exit 1); exit 1; }; }; }
5041
5042   ac_builddir=.
5043
5044 if test "$ac_dir" != .; then
5045   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5046   # A "../" for each directory in $ac_dir_suffix.
5047   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5048 else
5049   ac_dir_suffix= ac_top_builddir=
5050 fi
5051
5052 case $srcdir in
5053   .)  # No --srcdir option.  We are building in place.
5054     ac_srcdir=.
5055     if test -z "$ac_top_builddir"; then
5056        ac_top_srcdir=.
5057     else
5058        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5059     fi ;;
5060   [\\/]* | ?:[\\/]* )  # Absolute path.
5061     ac_srcdir=$srcdir$ac_dir_suffix;
5062     ac_top_srcdir=$srcdir ;;
5063   *) # Relative path.
5064     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5065     ac_top_srcdir=$ac_top_builddir$srcdir ;;
5066 esac
5067
5068 # Do not use `cd foo && pwd` to compute absolute paths, because
5069 # the directories may not exist.
5070 case `pwd` in
5071 .) ac_abs_builddir="$ac_dir";;
5072 *)
5073   case "$ac_dir" in
5074   .) ac_abs_builddir=`pwd`;;
5075   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5076   *) ac_abs_builddir=`pwd`/"$ac_dir";;
5077   esac;;
5078 esac
5079 case $ac_abs_builddir in
5080 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5081 *)
5082   case ${ac_top_builddir}. in
5083   .) ac_abs_top_builddir=$ac_abs_builddir;;
5084   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5085   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5086   esac;;
5087 esac
5088 case $ac_abs_builddir in
5089 .) ac_abs_srcdir=$ac_srcdir;;
5090 *)
5091   case $ac_srcdir in
5092   .) ac_abs_srcdir=$ac_abs_builddir;;
5093   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5094   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5095   esac;;
5096 esac
5097 case $ac_abs_builddir in
5098 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5099 *)
5100   case $ac_top_srcdir in
5101   .) ac_abs_top_srcdir=$ac_abs_builddir;;
5102   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5103   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5104   esac;;
5105 esac
5106
5107
5108   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5109 echo "$as_me: executing $ac_dest commands" >&6;}
5110   case $ac_dest in
5111     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5112   # Strip MF so we end up with the name of the file.
5113   mf=`echo "$mf" | sed -e 's/:.*$//'`
5114   # Check whether this is an Automake generated Makefile or not.
5115   # We used to match only the files named `Makefile.in', but
5116   # some people rename them; so instead we look at the file content.
5117   # Grep'ing the first line is not enough: some people post-process
5118   # each Makefile.in and add a new line on top of each file to say so.
5119   # So let's grep whole file.
5120   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5121     dirpart=`(dirname "$mf") 2>/dev/null ||
5122 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5123          X"$mf" : 'X\(//\)[^/]' \| \
5124          X"$mf" : 'X\(//\)$' \| \
5125          X"$mf" : 'X\(/\)' \| \
5126          .     : '\(.\)' 2>/dev/null ||
5127 echo X"$mf" |
5128     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5129           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5130           /^X\(\/\/\)$/{ s//\1/; q; }
5131           /^X\(\/\).*/{ s//\1/; q; }
5132           s/.*/./; q'`
5133   else
5134     continue
5135   fi
5136   # Extract the definition of DEPDIR, am__include, and am__quote
5137   # from the Makefile without running `make'.
5138   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5139   test -z "$DEPDIR" && continue
5140   am__include=`sed -n 's/^am__include = //p' < "$mf"`
5141   test -z "am__include" && continue
5142   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5143   # When using ansi2knr, U may be empty or an underscore; expand it
5144   U=`sed -n 's/^U = //p' < "$mf"`
5145   # Find all dependency output files, they are included files with
5146   # $(DEPDIR) in their names.  We invoke sed twice because it is the
5147   # simplest approach to changing $(DEPDIR) to its actual value in the
5148   # expansion.
5149   for file in `sed -n "
5150     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5151        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5152     # Make sure the directory exists.
5153     test -f "$dirpart/$file" && continue
5154     fdir=`(dirname "$file") 2>/dev/null ||
5155 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5156          X"$file" : 'X\(//\)[^/]' \| \
5157          X"$file" : 'X\(//\)$' \| \
5158          X"$file" : 'X\(/\)' \| \
5159          .     : '\(.\)' 2>/dev/null ||
5160 echo X"$file" |
5161     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5162           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5163           /^X\(\/\/\)$/{ s//\1/; q; }
5164           /^X\(\/\).*/{ s//\1/; q; }
5165           s/.*/./; q'`
5166     { if $as_mkdir_p; then
5167     mkdir -p $dirpart/$fdir
5168   else
5169     as_dir=$dirpart/$fdir
5170     as_dirs=
5171     while test ! -d "$as_dir"; do
5172       as_dirs="$as_dir $as_dirs"
5173       as_dir=`(dirname "$as_dir") 2>/dev/null ||
5174 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5175          X"$as_dir" : 'X\(//\)[^/]' \| \
5176          X"$as_dir" : 'X\(//\)$' \| \
5177          X"$as_dir" : 'X\(/\)' \| \
5178          .     : '\(.\)' 2>/dev/null ||
5179 echo X"$as_dir" |
5180     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5181           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5182           /^X\(\/\/\)$/{ s//\1/; q; }
5183           /^X\(\/\).*/{ s//\1/; q; }
5184           s/.*/./; q'`
5185     done
5186     test ! -n "$as_dirs" || mkdir $as_dirs
5187   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5188 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5189    { (exit 1); exit 1; }; }; }
5190
5191     # echo "creating $dirpart/$file"
5192     echo '# dummy' > "$dirpart/$file"
5193   done
5194 done
5195  ;;
5196   esac
5197 done
5198 _ACEOF
5199
5200 cat >>$CONFIG_STATUS <<\_ACEOF
5201
5202 { (exit 0); exit 0; }
5203 _ACEOF
5204 chmod +x $CONFIG_STATUS
5205 ac_clean_files=$ac_clean_files_save
5206
5207
5208 # configure is writing to config.log, and then calls config.status.
5209 # config.status does its own redirection, appending to config.log.
5210 # Unfortunately, on DOS this fails, as config.log is still kept open
5211 # by configure, so config.status won't be able to write to it; its
5212 # output is simply discarded.  So we exec the FD to /dev/null,
5213 # effectively closing config.log, so it can be properly (re)opened and
5214 # appended to by config.status.  When coming back to configure, we
5215 # need to make the FD available again.
5216 if test "$no_create" != yes; then
5217   ac_cs_success=:
5218   ac_config_status_args=
5219   test "$silent" = yes &&
5220     ac_config_status_args="$ac_config_status_args --quiet"
5221   exec 5>/dev/null
5222   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5223   exec 5>>config.log
5224   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5225   # would make configure fail if this is the last instruction.
5226   $ac_cs_success || { (exit 1); exit 1; }
5227 fi
5228
5229 #
5230 # CONFIG_SUBDIRS section.
5231 #
5232 if test "$no_recursion" != yes; then
5233
5234   # Remove --cache-file and --srcdir arguments so they do not pile up.
5235   ac_sub_configure_args=
5236   ac_prev=
5237   for ac_arg in $ac_configure_args; do
5238     if test -n "$ac_prev"; then
5239       ac_prev=
5240       continue
5241     fi
5242     case $ac_arg in
5243     -cache-file | --cache-file | --cache-fil | --cache-fi \
5244     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5245       ac_prev=cache_file ;;
5246     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5247     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
5248     | --c=*)
5249       ;;
5250     --config-cache | -C)
5251       ;;
5252     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5253       ac_prev=srcdir ;;
5254     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5255       ;;
5256     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5257       ac_prev=prefix ;;
5258     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5259       ;;
5260     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
5261     esac
5262   done
5263
5264   # Always prepend --prefix to ensure using the same prefix
5265   # in subdir configurations.
5266   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
5267
5268   ac_popdir=`pwd`
5269   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
5270
5271     # Do not complain, so a configure script can configure whichever
5272     # parts of a large source tree are present.
5273     test -d $srcdir/$ac_dir || continue
5274
5275     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
5276 echo "$as_me: configuring in $ac_dir" >&6;}
5277     { if $as_mkdir_p; then
5278     mkdir -p "$ac_dir"
5279   else
5280     as_dir="$ac_dir"
5281     as_dirs=
5282     while test ! -d "$as_dir"; do
5283       as_dirs="$as_dir $as_dirs"
5284       as_dir=`(dirname "$as_dir") 2>/dev/null ||
5285 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5286          X"$as_dir" : 'X\(//\)[^/]' \| \
5287          X"$as_dir" : 'X\(//\)$' \| \
5288          X"$as_dir" : 'X\(/\)' \| \
5289          .     : '\(.\)' 2>/dev/null ||
5290 echo X"$as_dir" |
5291     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5292           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5293           /^X\(\/\/\)$/{ s//\1/; q; }
5294           /^X\(\/\).*/{ s//\1/; q; }
5295           s/.*/./; q'`
5296     done
5297     test ! -n "$as_dirs" || mkdir $as_dirs
5298   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5299 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5300    { (exit 1); exit 1; }; }; }
5301
5302     ac_builddir=.
5303
5304 if test "$ac_dir" != .; then
5305   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5306   # A "../" for each directory in $ac_dir_suffix.
5307   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5308 else
5309   ac_dir_suffix= ac_top_builddir=
5310 fi
5311
5312 case $srcdir in
5313   .)  # No --srcdir option.  We are building in place.
5314     ac_srcdir=.
5315     if test -z "$ac_top_builddir"; then
5316        ac_top_srcdir=.
5317     else
5318        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5319     fi ;;
5320   [\\/]* | ?:[\\/]* )  # Absolute path.
5321     ac_srcdir=$srcdir$ac_dir_suffix;
5322     ac_top_srcdir=$srcdir ;;
5323   *) # Relative path.
5324     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5325     ac_top_srcdir=$ac_top_builddir$srcdir ;;
5326 esac
5327
5328 # Do not use `cd foo && pwd` to compute absolute paths, because
5329 # the directories may not exist.
5330 case `pwd` in
5331 .) ac_abs_builddir="$ac_dir";;
5332 *)
5333   case "$ac_dir" in
5334   .) ac_abs_builddir=`pwd`;;
5335   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5336   *) ac_abs_builddir=`pwd`/"$ac_dir";;
5337   esac;;
5338 esac
5339 case $ac_abs_builddir in
5340 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5341 *)
5342   case ${ac_top_builddir}. in
5343   .) ac_abs_top_builddir=$ac_abs_builddir;;
5344   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5345   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5346   esac;;
5347 esac
5348 case $ac_abs_builddir in
5349 .) ac_abs_srcdir=$ac_srcdir;;
5350 *)
5351   case $ac_srcdir in
5352   .) ac_abs_srcdir=$ac_abs_builddir;;
5353   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5354   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5355   esac;;
5356 esac
5357 case $ac_abs_builddir in
5358 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5359 *)
5360   case $ac_top_srcdir in
5361   .) ac_abs_top_srcdir=$ac_abs_builddir;;
5362   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5363   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5364   esac;;
5365 esac
5366
5367
5368     cd $ac_dir
5369
5370     # Check for guested configure; otherwise get Cygnus style configure.
5371     if test -f $ac_srcdir/configure.gnu; then
5372       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
5373     elif test -f $ac_srcdir/configure; then
5374       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
5375     elif test -f $ac_srcdir/configure.in; then
5376       ac_sub_configure=$ac_configure
5377     else
5378       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
5379 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5380       ac_sub_configure=
5381     fi
5382
5383     # The recursion is here.
5384     if test -n "$ac_sub_configure"; then
5385       # Make the cache file name correct relative to the subdirectory.
5386       case $cache_file in
5387       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
5388       *) # Relative path.
5389         ac_sub_cache_file=$ac_top_builddir$cache_file ;;
5390       esac
5391
5392       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5393 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5394       # The eval makes quoting arguments work.
5395       eval $ac_sub_configure $ac_sub_configure_args \
5396            --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
5397         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
5398 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
5399    { (exit 1); exit 1; }; }
5400     fi
5401
5402     cd $ac_popdir
5403   done
5404 fi
5405