]> git.ipfire.org Git - thirdparty/gcc.git/blob - boehm-gc/configure
configure.in (GCINCS): Don't use "boehm-cflags".
[thirdparty/gcc.git] / boehm-gc / 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="gcj_mlc.c"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
311
312 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 multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os mkinstalldirs 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 CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CFLAGS CXXFLAGS CCAS CCASFLAGS AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GC_CFLAGS LN_S LIBTOOL CXXCPP CPPFLAGS THREADLIBS POWERPC_DARWIN_TRUE POWERPC_DARWIN_FALSE EXTRA_TEST_LIBS target_all target_noncanonical CPLUSPLUS_TRUE CPLUSPLUS_FALSE AM_CPPFLAGS addobjs addincludes addlibs addtests CPP EGREP MY_CFLAGS toolexecdir toolexeclibdir LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
314
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
334
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
352
353 ac_prev=
354 for ac_option
355 do
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
361 fi
362
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365 # Accept the important Cygnus configure options, so we can diagnose typos.
366
367 case $ac_option in
368
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
373
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
378
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
385
386 --config-cache | -C)
387 cache_file=config.cache ;;
388
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
394
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
403
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
416
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
425
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
429
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
436
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
441
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
448
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
453
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
458
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
465
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
474
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
479
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
483
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
487
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
491
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
500
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
505
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
512
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
519
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
536
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
540
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
546
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
557
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
562
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
567
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
574
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
579
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
582
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
585
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
598
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
607
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
611
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
618
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
625
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
629 ;;
630
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
640
641 *)
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647 ;;
648
649 esac
650 done
651
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
656 fi
657
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
660 do
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
668
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
672 do
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
680
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
687
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
696 fi
697 fi
698
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702 test "$silent" = yes && exec 6>/dev/null
703
704
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
724 fi
725 else
726 ac_srcdir_defaulted=no
727 fi
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
735 fi
736 fi
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
765
766 #
767 # Report the --help message.
768 #
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
772 cat <<_ACEOF
773 \`configure' configures this package to adapt to many kinds of systems.
774
775 Usage: $0 [OPTION]... [VAR=VALUE]...
776
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
779
780 Defaults for the options are specified in brackets.
781
782 Configuration:
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
792
793 _ACEOF
794
795 cat <<_ACEOF
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
798 [$ac_default_prefix]
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 [PREFIX]
801
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
806
807 For better control, use the options below.
808
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
822 _ACEOF
823
824 cat <<\_ACEOF
825
826 Program names:
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
830
831 System types:
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
835 _ACEOF
836 fi
837
838 if test -n "$ac_init_help"; then
839
840 cat <<\_ACEOF
841
842 Optional Features:
843 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
844 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
845 --enable-multilib build many library versions (default)
846 --disable-dependency-tracking speeds up one-time build
847 --enable-dependency-tracking do not reject slow dependency extractors
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
851 --enable-static=PKGS build static libraries default=yes
852 --enable-fast-install=PKGS optimize for fast installation default=yes
853 --disable-libtool-lock avoid locking (might break parallel builds)
854 --enable-parallel-mark parallelize marking and free list construction
855 --enable-full-debug include full support for pointer backtracing etc.
856
857 Optional Packages:
858 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
859 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
860 --with-gnu-ld assume the C compiler uses GNU ld default=no
861 --with-pic try to use only PIC/non-PIC objects default=use both
862 --with-target-subdir=SUBDIR
863 configuring with a cross compiler
864 --with-cross-host=HOST configuring with a cross compiler
865 --with-ecos enable runtime eCos target support
866
867 Some influential environment variables:
868 CC C compiler command
869 CFLAGS C compiler flags
870 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
871 nonstandard directory <lib dir>
872 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
873 headers in a nonstandard directory <include dir>
874 CXX C++ compiler command
875 CXXFLAGS C++ compiler flags
876 CXXCPP C++ preprocessor
877 CPP C preprocessor
878
879 Use these variables to override the choices made by `configure' or to help
880 it to find libraries and programs with nonstandard names/locations.
881
882 _ACEOF
883 fi
884
885 if test "$ac_init_help" = "recursive"; then
886 # If there are subdirs, report their specific --help.
887 ac_popdir=`pwd`
888 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
889 test -d $ac_dir || continue
890 ac_builddir=.
891
892 if test "$ac_dir" != .; then
893 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
894 # A "../" for each directory in $ac_dir_suffix.
895 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
896 else
897 ac_dir_suffix= ac_top_builddir=
898 fi
899
900 case $srcdir in
901 .) # No --srcdir option. We are building in place.
902 ac_srcdir=.
903 if test -z "$ac_top_builddir"; then
904 ac_top_srcdir=.
905 else
906 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
907 fi ;;
908 [\\/]* | ?:[\\/]* ) # Absolute path.
909 ac_srcdir=$srcdir$ac_dir_suffix;
910 ac_top_srcdir=$srcdir ;;
911 *) # Relative path.
912 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
913 ac_top_srcdir=$ac_top_builddir$srcdir ;;
914 esac
915
916 # Do not use `cd foo && pwd` to compute absolute paths, because
917 # the directories may not exist.
918 case `pwd` in
919 .) ac_abs_builddir="$ac_dir";;
920 *)
921 case "$ac_dir" in
922 .) ac_abs_builddir=`pwd`;;
923 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
924 *) ac_abs_builddir=`pwd`/"$ac_dir";;
925 esac;;
926 esac
927 case $ac_abs_builddir in
928 .) ac_abs_top_builddir=${ac_top_builddir}.;;
929 *)
930 case ${ac_top_builddir}. in
931 .) ac_abs_top_builddir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
933 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
934 esac;;
935 esac
936 case $ac_abs_builddir in
937 .) ac_abs_srcdir=$ac_srcdir;;
938 *)
939 case $ac_srcdir in
940 .) ac_abs_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
942 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
943 esac;;
944 esac
945 case $ac_abs_builddir in
946 .) ac_abs_top_srcdir=$ac_top_srcdir;;
947 *)
948 case $ac_top_srcdir in
949 .) ac_abs_top_srcdir=$ac_abs_builddir;;
950 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
951 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
952 esac;;
953 esac
954
955 cd $ac_dir
956 # Check for guested configure; otherwise get Cygnus style configure.
957 if test -f $ac_srcdir/configure.gnu; then
958 echo
959 $SHELL $ac_srcdir/configure.gnu --help=recursive
960 elif test -f $ac_srcdir/configure; then
961 echo
962 $SHELL $ac_srcdir/configure --help=recursive
963 elif test -f $ac_srcdir/configure.ac ||
964 test -f $ac_srcdir/configure.in; then
965 echo
966 $ac_configure --help
967 else
968 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
969 fi
970 cd $ac_popdir
971 done
972 fi
973
974 test -n "$ac_init_help" && exit 0
975 if $ac_init_version; then
976 cat <<\_ACEOF
977
978 Copyright (C) 2003 Free Software Foundation, Inc.
979 This configure script is free software; the Free Software Foundation
980 gives unlimited permission to copy, distribute and modify it.
981 _ACEOF
982 exit 0
983 fi
984 exec 5>config.log
985 cat >&5 <<_ACEOF
986 This file contains any messages produced by compilers while
987 running configure, to aid debugging if configure makes a mistake.
988
989 It was created by $as_me, which was
990 generated by GNU Autoconf 2.59. Invocation command line was
991
992 $ $0 $@
993
994 _ACEOF
995 {
996 cat <<_ASUNAME
997 ## --------- ##
998 ## Platform. ##
999 ## --------- ##
1000
1001 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1002 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1003 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1004 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1005 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1006
1007 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1008 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1009
1010 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1011 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1012 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1013 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1014 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1015 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1016 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1017
1018 _ASUNAME
1019
1020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1021 for as_dir in $PATH
1022 do
1023 IFS=$as_save_IFS
1024 test -z "$as_dir" && as_dir=.
1025 echo "PATH: $as_dir"
1026 done
1027
1028 } >&5
1029
1030 cat >&5 <<_ACEOF
1031
1032
1033 ## ----------- ##
1034 ## Core tests. ##
1035 ## ----------- ##
1036
1037 _ACEOF
1038
1039
1040 # Keep a trace of the command line.
1041 # Strip out --no-create and --no-recursion so they do not pile up.
1042 # Strip out --silent because we don't want to record it for future runs.
1043 # Also quote any args containing shell meta-characters.
1044 # Make two passes to allow for proper duplicate-argument suppression.
1045 ac_configure_args=
1046 ac_configure_args0=
1047 ac_configure_args1=
1048 ac_sep=
1049 ac_must_keep_next=false
1050 for ac_pass in 1 2
1051 do
1052 for ac_arg
1053 do
1054 case $ac_arg in
1055 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1056 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1057 | -silent | --silent | --silen | --sile | --sil)
1058 continue ;;
1059 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1060 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1061 esac
1062 case $ac_pass in
1063 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1064 2)
1065 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1066 if test $ac_must_keep_next = true; then
1067 ac_must_keep_next=false # Got value, back to normal.
1068 else
1069 case $ac_arg in
1070 *=* | --config-cache | -C | -disable-* | --disable-* \
1071 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1072 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1073 | -with-* | --with-* | -without-* | --without-* | --x)
1074 case "$ac_configure_args0 " in
1075 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1076 esac
1077 ;;
1078 -* ) ac_must_keep_next=true ;;
1079 esac
1080 fi
1081 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1082 # Get rid of the leading space.
1083 ac_sep=" "
1084 ;;
1085 esac
1086 done
1087 done
1088 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1089 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1090
1091 # When interrupted or exit'd, cleanup temporary files, and complete
1092 # config.log. We remove comments because anyway the quotes in there
1093 # would cause problems or look ugly.
1094 # WARNING: Be sure not to use single quotes in there, as some shells,
1095 # such as our DU 5.0 friend, will then `close' the trap.
1096 trap 'exit_status=$?
1097 # Save into config.log some information that might help in debugging.
1098 {
1099 echo
1100
1101 cat <<\_ASBOX
1102 ## ---------------- ##
1103 ## Cache variables. ##
1104 ## ---------------- ##
1105 _ASBOX
1106 echo
1107 # The following way of writing the cache mishandles newlines in values,
1108 {
1109 (set) 2>&1 |
1110 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1111 *ac_space=\ *)
1112 sed -n \
1113 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1115 ;;
1116 *)
1117 sed -n \
1118 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1119 ;;
1120 esac;
1121 }
1122 echo
1123
1124 cat <<\_ASBOX
1125 ## ----------------- ##
1126 ## Output variables. ##
1127 ## ----------------- ##
1128 _ASBOX
1129 echo
1130 for ac_var in $ac_subst_vars
1131 do
1132 eval ac_val=$`echo $ac_var`
1133 echo "$ac_var='"'"'$ac_val'"'"'"
1134 done | sort
1135 echo
1136
1137 if test -n "$ac_subst_files"; then
1138 cat <<\_ASBOX
1139 ## ------------- ##
1140 ## Output files. ##
1141 ## ------------- ##
1142 _ASBOX
1143 echo
1144 for ac_var in $ac_subst_files
1145 do
1146 eval ac_val=$`echo $ac_var`
1147 echo "$ac_var='"'"'$ac_val'"'"'"
1148 done | sort
1149 echo
1150 fi
1151
1152 if test -s confdefs.h; then
1153 cat <<\_ASBOX
1154 ## ----------- ##
1155 ## confdefs.h. ##
1156 ## ----------- ##
1157 _ASBOX
1158 echo
1159 sed "/^$/d" confdefs.h | sort
1160 echo
1161 fi
1162 test "$ac_signal" != 0 &&
1163 echo "$as_me: caught signal $ac_signal"
1164 echo "$as_me: exit $exit_status"
1165 } >&5
1166 rm -f core *.core &&
1167 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1168 exit $exit_status
1169 ' 0
1170 for ac_signal in 1 2 13 15; do
1171 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1172 done
1173 ac_signal=0
1174
1175 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1176 rm -rf conftest* confdefs.h
1177 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1178 echo >confdefs.h
1179
1180 # Predefined preprocessor variables.
1181
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_NAME "$PACKAGE_NAME"
1184 _ACEOF
1185
1186
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1189 _ACEOF
1190
1191
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1194 _ACEOF
1195
1196
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_STRING "$PACKAGE_STRING"
1199 _ACEOF
1200
1201
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1204 _ACEOF
1205
1206
1207 # Let the site file select an alternate cache file if it wants to.
1208 # Prefer explicitly selected file to automatically selected ones.
1209 if test -z "$CONFIG_SITE"; then
1210 if test "x$prefix" != xNONE; then
1211 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1212 else
1213 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1214 fi
1215 fi
1216 for ac_site_file in $CONFIG_SITE; do
1217 if test -r "$ac_site_file"; then
1218 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1219 echo "$as_me: loading site script $ac_site_file" >&6;}
1220 sed 's/^/| /' "$ac_site_file" >&5
1221 . "$ac_site_file"
1222 fi
1223 done
1224
1225 if test -r "$cache_file"; then
1226 # Some versions of bash will fail to source /dev/null (special
1227 # files actually), so we avoid doing that.
1228 if test -f "$cache_file"; then
1229 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1230 echo "$as_me: loading cache $cache_file" >&6;}
1231 case $cache_file in
1232 [\\/]* | ?:[\\/]* ) . $cache_file;;
1233 *) . ./$cache_file;;
1234 esac
1235 fi
1236 else
1237 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1238 echo "$as_me: creating cache $cache_file" >&6;}
1239 >$cache_file
1240 fi
1241
1242 # Check that the precious variables saved in the cache have kept the same
1243 # value.
1244 ac_cache_corrupted=false
1245 for ac_var in `(set) 2>&1 |
1246 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1247 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1248 eval ac_new_set=\$ac_env_${ac_var}_set
1249 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1250 eval ac_new_val="\$ac_env_${ac_var}_value"
1251 case $ac_old_set,$ac_new_set in
1252 set,)
1253 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1254 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1255 ac_cache_corrupted=: ;;
1256 ,set)
1257 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1259 ac_cache_corrupted=: ;;
1260 ,);;
1261 *)
1262 if test "x$ac_old_val" != "x$ac_new_val"; then
1263 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1264 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1265 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1266 echo "$as_me: former value: $ac_old_val" >&2;}
1267 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1268 echo "$as_me: current value: $ac_new_val" >&2;}
1269 ac_cache_corrupted=:
1270 fi;;
1271 esac
1272 # Pass precious variables to config.status.
1273 if test "$ac_new_set" = set; then
1274 case $ac_new_val in
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1277 *) ac_arg=$ac_var=$ac_new_val ;;
1278 esac
1279 case " $ac_configure_args " in
1280 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1281 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1282 esac
1283 fi
1284 done
1285 if $ac_cache_corrupted; then
1286 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1287 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1288 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1289 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1290 { (exit 1); exit 1; }; }
1291 fi
1292
1293 ac_ext=c
1294 ac_cpp='$CPP $CPPFLAGS'
1295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318 # This works around the fact that libtool configuration may change LD
1319 # for this particular configuration, but some shells, instead of
1320 # keeping the changes in LD private, export them just because LD is
1321 # exported.
1322 ORIGINAL_LD_FOR_MULTILIBS=$LD
1323
1324 # Default to --enable-multilib
1325 # Check whether --enable-multilib or --disable-multilib was given.
1326 if test "${enable_multilib+set}" = set; then
1327 enableval="$enable_multilib"
1328 case "$enableval" in
1329 yes) multilib=yes ;;
1330 no) multilib=no ;;
1331 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1332 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1333 { (exit 1); exit 1; }; } ;;
1334 esac
1335 else
1336 multilib=yes
1337 fi;
1338
1339 # We may get other options which we leave undocumented:
1340 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1341 # See config-ml.in if you want the gory details.
1342
1343 if test "$srcdir" = "."; then
1344 if test "$with_target_subdir" != "."; then
1345 multi_basedir="$srcdir/$with_multisrctop../.."
1346 else
1347 multi_basedir="$srcdir/$with_multisrctop.."
1348 fi
1349 else
1350 multi_basedir="$srcdir/.."
1351 fi
1352
1353
1354 ac_config_commands="$ac_config_commands default-1"
1355
1356
1357 ac_aux_dir=
1358 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1359 if test -f $ac_dir/install-sh; then
1360 ac_aux_dir=$ac_dir
1361 ac_install_sh="$ac_aux_dir/install-sh -c"
1362 break
1363 elif test -f $ac_dir/install.sh; then
1364 ac_aux_dir=$ac_dir
1365 ac_install_sh="$ac_aux_dir/install.sh -c"
1366 break
1367 elif test -f $ac_dir/shtool; then
1368 ac_aux_dir=$ac_dir
1369 ac_install_sh="$ac_aux_dir/shtool install -c"
1370 break
1371 fi
1372 done
1373 if test -z "$ac_aux_dir"; then
1374 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1375 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1376 { (exit 1); exit 1; }; }
1377 fi
1378 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1379 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1380 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1381
1382 # Make sure we can run config.sub.
1383 $ac_config_sub sun4 >/dev/null 2>&1 ||
1384 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1385 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1386 { (exit 1); exit 1; }; }
1387
1388 echo "$as_me:$LINENO: checking build system type" >&5
1389 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1390 if test "${ac_cv_build+set}" = set; then
1391 echo $ECHO_N "(cached) $ECHO_C" >&6
1392 else
1393 ac_cv_build_alias=$build_alias
1394 test -z "$ac_cv_build_alias" &&
1395 ac_cv_build_alias=`$ac_config_guess`
1396 test -z "$ac_cv_build_alias" &&
1397 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1398 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1399 { (exit 1); exit 1; }; }
1400 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1401 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1402 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1403 { (exit 1); exit 1; }; }
1404
1405 fi
1406 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1407 echo "${ECHO_T}$ac_cv_build" >&6
1408 build=$ac_cv_build
1409 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1410 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1411 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1412
1413
1414 echo "$as_me:$LINENO: checking host system type" >&5
1415 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1416 if test "${ac_cv_host+set}" = set; then
1417 echo $ECHO_N "(cached) $ECHO_C" >&6
1418 else
1419 ac_cv_host_alias=$host_alias
1420 test -z "$ac_cv_host_alias" &&
1421 ac_cv_host_alias=$ac_cv_build_alias
1422 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1423 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1424 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1425 { (exit 1); exit 1; }; }
1426
1427 fi
1428 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1429 echo "${ECHO_T}$ac_cv_host" >&6
1430 host=$ac_cv_host
1431 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1432 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1433 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1434
1435
1436 echo "$as_me:$LINENO: checking target system type" >&5
1437 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1438 if test "${ac_cv_target+set}" = set; then
1439 echo $ECHO_N "(cached) $ECHO_C" >&6
1440 else
1441 ac_cv_target_alias=$target_alias
1442 test "x$ac_cv_target_alias" = "x" &&
1443 ac_cv_target_alias=$ac_cv_host_alias
1444 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1445 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1446 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1447 { (exit 1); exit 1; }; }
1448
1449 fi
1450 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1451 echo "${ECHO_T}$ac_cv_target" >&6
1452 target=$ac_cv_target
1453 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1454 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1455 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1456
1457
1458 # The aliases save the names the user supplied, while $host etc.
1459 # will get canonicalized.
1460 test -n "$target_alias" &&
1461 test "$program_prefix$program_suffix$program_transform_name" = \
1462 NONENONEs,x,x, &&
1463 program_prefix=${target_alias}-
1464
1465 # Get the 'noncanonical' system names.
1466 case ${build_alias} in
1467 "") build_noncanonical=${build} ;;
1468 *) build_noncanonical=${build_alias} ;;
1469 esac
1470
1471 case ${host_alias} in
1472 "") host_noncanonical=${build_noncanonical} ;;
1473 *) host_noncanonical=${host_alias} ;;
1474 esac
1475
1476 case ${target_alias} in
1477 "") target_noncanonical=${host_noncanonical} ;;
1478 *) target_noncanonical=${target_alias} ;;
1479 esac
1480
1481
1482 # This works around an automake problem.
1483 mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1484
1485
1486 am__api_version="1.9"
1487 # Find a good install program. We prefer a C program (faster),
1488 # so one script is as good as another. But avoid the broken or
1489 # incompatible versions:
1490 # SysV /etc/install, /usr/sbin/install
1491 # SunOS /usr/etc/install
1492 # IRIX /sbin/install
1493 # AIX /bin/install
1494 # AmigaOS /C/install, which installs bootblocks on floppy discs
1495 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1496 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1497 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1498 # OS/2's system install, which has a completely different semantic
1499 # ./install, which can be erroneously created by make from ./install.sh.
1500 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1501 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1502 if test -z "$INSTALL"; then
1503 if test "${ac_cv_path_install+set}" = set; then
1504 echo $ECHO_N "(cached) $ECHO_C" >&6
1505 else
1506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1507 for as_dir in $PATH
1508 do
1509 IFS=$as_save_IFS
1510 test -z "$as_dir" && as_dir=.
1511 # Account for people who put trailing slashes in PATH elements.
1512 case $as_dir/ in
1513 ./ | .// | /cC/* | \
1514 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1515 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1516 /usr/ucb/* ) ;;
1517 *)
1518 # OSF1 and SCO ODT 3.0 have their own names for install.
1519 # Don't use installbsd from OSF since it installs stuff as root
1520 # by default.
1521 for ac_prog in ginstall scoinst install; do
1522 for ac_exec_ext in '' $ac_executable_extensions; do
1523 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1524 if test $ac_prog = install &&
1525 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1526 # AIX install. It has an incompatible calling convention.
1527 :
1528 elif test $ac_prog = install &&
1529 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1530 # program-specific install script used by HP pwplus--don't use.
1531 :
1532 else
1533 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1534 break 3
1535 fi
1536 fi
1537 done
1538 done
1539 ;;
1540 esac
1541 done
1542
1543
1544 fi
1545 if test "${ac_cv_path_install+set}" = set; then
1546 INSTALL=$ac_cv_path_install
1547 else
1548 # As a last resort, use the slow shell script. We don't cache a
1549 # path for INSTALL within a source directory, because that will
1550 # break other packages using the cache if that directory is
1551 # removed, or if the path is relative.
1552 INSTALL=$ac_install_sh
1553 fi
1554 fi
1555 echo "$as_me:$LINENO: result: $INSTALL" >&5
1556 echo "${ECHO_T}$INSTALL" >&6
1557
1558 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1559 # It thinks the first close brace ends the variable substitution.
1560 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1561
1562 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1563
1564 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1565
1566 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1567 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1568 # Just in case
1569 sleep 1
1570 echo timestamp > conftest.file
1571 # Do `set' in a subshell so we don't clobber the current shell's
1572 # arguments. Must try -L first in case configure is actually a
1573 # symlink; some systems play weird games with the mod time of symlinks
1574 # (eg FreeBSD returns the mod time of the symlink's containing
1575 # directory).
1576 if (
1577 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1578 if test "$*" = "X"; then
1579 # -L didn't work.
1580 set X `ls -t $srcdir/configure conftest.file`
1581 fi
1582 rm -f conftest.file
1583 if test "$*" != "X $srcdir/configure conftest.file" \
1584 && test "$*" != "X conftest.file $srcdir/configure"; then
1585
1586 # If neither matched, then we have a broken ls. This can happen
1587 # if, for instance, CONFIG_SHELL is bash and it inherits a
1588 # broken ls alias from the environment. This has actually
1589 # happened. Such a system could not be considered "sane".
1590 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1591 alias in your environment" >&5
1592 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1593 alias in your environment" >&2;}
1594 { (exit 1); exit 1; }; }
1595 fi
1596
1597 test "$2" = conftest.file
1598 )
1599 then
1600 # Ok.
1601 :
1602 else
1603 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1604 Check your system clock" >&5
1605 echo "$as_me: error: newly created file is older than distributed files!
1606 Check your system clock" >&2;}
1607 { (exit 1); exit 1; }; }
1608 fi
1609 echo "$as_me:$LINENO: result: yes" >&5
1610 echo "${ECHO_T}yes" >&6
1611 test "$program_prefix" != NONE &&
1612 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1613 # Use a double $ so make ignores it.
1614 test "$program_suffix" != NONE &&
1615 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1616 # Double any \ or $. echo might interpret backslashes.
1617 # By default was `s,x,x', remove it if useless.
1618 cat <<\_ACEOF >conftest.sed
1619 s/[\\$]/&&/g;s/;s,x,x,$//
1620 _ACEOF
1621 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1622 rm conftest.sed
1623
1624 # expand $ac_aux_dir to an absolute path
1625 am_aux_dir=`cd $ac_aux_dir && pwd`
1626
1627 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1628 # Use eval to expand $SHELL
1629 if eval "$MISSING --run true"; then
1630 am_missing_run="$MISSING --run "
1631 else
1632 am_missing_run=
1633 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1634 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1635 fi
1636
1637 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1638 # We used to keeping the `.' as first argument, in order to
1639 # allow $(mkdir_p) to be used without argument. As in
1640 # $(mkdir_p) $(somedir)
1641 # where $(somedir) is conditionally defined. However this is wrong
1642 # for two reasons:
1643 # 1. if the package is installed by a user who cannot write `.'
1644 # make install will fail,
1645 # 2. the above comment should most certainly read
1646 # $(mkdir_p) $(DESTDIR)$(somedir)
1647 # so it does not work when $(somedir) is undefined and
1648 # $(DESTDIR) is not.
1649 # To support the latter case, we have to write
1650 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1651 # so the `.' trick is pointless.
1652 mkdir_p='mkdir -p --'
1653 else
1654 # On NextStep and OpenStep, the `mkdir' command does not
1655 # recognize any option. It will interpret all options as
1656 # directories to create, and then abort because `.' already
1657 # exists.
1658 for d in ./-p ./--version;
1659 do
1660 test -d $d && rmdir $d
1661 done
1662 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1663 if test -f "$ac_aux_dir/mkinstalldirs"; then
1664 mkdir_p='$(mkinstalldirs)'
1665 else
1666 mkdir_p='$(install_sh) -d'
1667 fi
1668 fi
1669
1670 for ac_prog in gawk mawk nawk awk
1671 do
1672 # Extract the first word of "$ac_prog", so it can be a program name with args.
1673 set dummy $ac_prog; ac_word=$2
1674 echo "$as_me:$LINENO: checking for $ac_word" >&5
1675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1676 if test "${ac_cv_prog_AWK+set}" = set; then
1677 echo $ECHO_N "(cached) $ECHO_C" >&6
1678 else
1679 if test -n "$AWK"; then
1680 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1681 else
1682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1683 for as_dir in $PATH
1684 do
1685 IFS=$as_save_IFS
1686 test -z "$as_dir" && as_dir=.
1687 for ac_exec_ext in '' $ac_executable_extensions; do
1688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1689 ac_cv_prog_AWK="$ac_prog"
1690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1691 break 2
1692 fi
1693 done
1694 done
1695
1696 fi
1697 fi
1698 AWK=$ac_cv_prog_AWK
1699 if test -n "$AWK"; then
1700 echo "$as_me:$LINENO: result: $AWK" >&5
1701 echo "${ECHO_T}$AWK" >&6
1702 else
1703 echo "$as_me:$LINENO: result: no" >&5
1704 echo "${ECHO_T}no" >&6
1705 fi
1706
1707 test -n "$AWK" && break
1708 done
1709
1710 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1711 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1712 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1713 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1714 echo $ECHO_N "(cached) $ECHO_C" >&6
1715 else
1716 cat >conftest.make <<\_ACEOF
1717 all:
1718 @echo 'ac_maketemp="$(MAKE)"'
1719 _ACEOF
1720 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1721 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1722 if test -n "$ac_maketemp"; then
1723 eval ac_cv_prog_make_${ac_make}_set=yes
1724 else
1725 eval ac_cv_prog_make_${ac_make}_set=no
1726 fi
1727 rm -f conftest.make
1728 fi
1729 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1730 echo "$as_me:$LINENO: result: yes" >&5
1731 echo "${ECHO_T}yes" >&6
1732 SET_MAKE=
1733 else
1734 echo "$as_me:$LINENO: result: no" >&5
1735 echo "${ECHO_T}no" >&6
1736 SET_MAKE="MAKE=${MAKE-make}"
1737 fi
1738
1739 rm -rf .tst 2>/dev/null
1740 mkdir .tst 2>/dev/null
1741 if test -d .tst; then
1742 am__leading_dot=.
1743 else
1744 am__leading_dot=_
1745 fi
1746 rmdir .tst 2>/dev/null
1747
1748 # test to see if srcdir already configured
1749 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1750 test -f $srcdir/config.status; then
1751 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1752 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1753 { (exit 1); exit 1; }; }
1754 fi
1755
1756 # test whether we have cygpath
1757 if test -z "$CYGPATH_W"; then
1758 if (cygpath --version) >/dev/null 2>/dev/null; then
1759 CYGPATH_W='cygpath -w'
1760 else
1761 CYGPATH_W=echo
1762 fi
1763 fi
1764
1765
1766 # Define the identity of the package.
1767 PACKAGE=gc
1768 VERSION=6.3
1769
1770
1771 # Some tools Automake needs.
1772
1773 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1774
1775
1776 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1777
1778
1779 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1780
1781
1782 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1783
1784
1785 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1786
1787 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1788
1789 # Installed binaries are usually stripped using `strip' when the user
1790 # run `make install-strip'. However `strip' might not be the right
1791 # tool to use in cross-compilation environments, therefore Automake
1792 # will honor the `STRIP' environment variable to overrule this program.
1793 if test "$cross_compiling" != no; then
1794 if test -n "$ac_tool_prefix"; then
1795 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1796 set dummy ${ac_tool_prefix}strip; ac_word=$2
1797 echo "$as_me:$LINENO: checking for $ac_word" >&5
1798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1799 if test "${ac_cv_prog_STRIP+set}" = set; then
1800 echo $ECHO_N "(cached) $ECHO_C" >&6
1801 else
1802 if test -n "$STRIP"; then
1803 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1804 else
1805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1806 for as_dir in $PATH
1807 do
1808 IFS=$as_save_IFS
1809 test -z "$as_dir" && as_dir=.
1810 for ac_exec_ext in '' $ac_executable_extensions; do
1811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1812 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1814 break 2
1815 fi
1816 done
1817 done
1818
1819 fi
1820 fi
1821 STRIP=$ac_cv_prog_STRIP
1822 if test -n "$STRIP"; then
1823 echo "$as_me:$LINENO: result: $STRIP" >&5
1824 echo "${ECHO_T}$STRIP" >&6
1825 else
1826 echo "$as_me:$LINENO: result: no" >&5
1827 echo "${ECHO_T}no" >&6
1828 fi
1829
1830 fi
1831 if test -z "$ac_cv_prog_STRIP"; then
1832 ac_ct_STRIP=$STRIP
1833 # Extract the first word of "strip", so it can be a program name with args.
1834 set dummy strip; ac_word=$2
1835 echo "$as_me:$LINENO: checking for $ac_word" >&5
1836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1837 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1838 echo $ECHO_N "(cached) $ECHO_C" >&6
1839 else
1840 if test -n "$ac_ct_STRIP"; then
1841 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1842 else
1843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1844 for as_dir in $PATH
1845 do
1846 IFS=$as_save_IFS
1847 test -z "$as_dir" && as_dir=.
1848 for ac_exec_ext in '' $ac_executable_extensions; do
1849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1850 ac_cv_prog_ac_ct_STRIP="strip"
1851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1852 break 2
1853 fi
1854 done
1855 done
1856
1857 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1858 fi
1859 fi
1860 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1861 if test -n "$ac_ct_STRIP"; then
1862 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1863 echo "${ECHO_T}$ac_ct_STRIP" >&6
1864 else
1865 echo "$as_me:$LINENO: result: no" >&5
1866 echo "${ECHO_T}no" >&6
1867 fi
1868
1869 STRIP=$ac_ct_STRIP
1870 else
1871 STRIP="$ac_cv_prog_STRIP"
1872 fi
1873
1874 fi
1875 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1876
1877 # We need awk for the "check" target. The system "awk" is bad on
1878 # some platforms.
1879 # Always define AMTAR for backward compatibility.
1880
1881 AMTAR=${AMTAR-"${am_missing_run}tar"}
1882
1883 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1884
1885
1886
1887
1888
1889
1890 # The autoconf 2.5x version of the no-executables hack.
1891 # GCC_NO_EXECUTABLES
1892 # -----------------
1893 # FIXME: The GCC team has specific needs which the current Autoconf
1894 # framework cannot solve elegantly. This macro implements a dirty
1895 # hack until Autoconf is able to provide the services its users
1896 # need.
1897 #
1898 # Several of the support libraries that are often built with GCC can't
1899 # assume the tool-chain is already capable of linking a program: the
1900 # compiler often expects to be able to link with some of such
1901 # libraries.
1902 #
1903 # In several of these libraries, workarounds have been introduced to
1904 # avoid the AC_PROG_CC_WORKS test, that would just abort their
1905 # configuration. The introduction of AC_EXEEXT, enabled either by
1906 # libtool or by CVS autoconf, have just made matters worse.
1907 #
1908 # Unlike the previous AC_NO_EXECUTABLES, this test does not
1909 # disable link tests at autoconf time, but at configure time.
1910 # This allows AC_NO_EXECUTABLES to be invoked conditionally.
1911 # GCC_NO_EXECUTABLES
1912
1913
1914
1915 # Yak. We must force CC and CXX to /not/ be precious variables; otherwise
1916 # the wrong, non-multilib-adjusted value will be used in multilibs.
1917 # As a side effect, we have to subst CFLAGS and CXXFLAGS ourselves.
1918
1919
1920
1921 ac_ext=c
1922 ac_cpp='$CPP $CPPFLAGS'
1923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1926 if test -n "$ac_tool_prefix"; then
1927 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1928 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1929 echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931 if test "${ac_cv_prog_CC+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934 if test -n "$CC"; then
1935 ac_cv_prog_CC="$CC" # Let the user override the test.
1936 else
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938 for as_dir in $PATH
1939 do
1940 IFS=$as_save_IFS
1941 test -z "$as_dir" && as_dir=.
1942 for ac_exec_ext in '' $ac_executable_extensions; do
1943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946 break 2
1947 fi
1948 done
1949 done
1950
1951 fi
1952 fi
1953 CC=$ac_cv_prog_CC
1954 if test -n "$CC"; then
1955 echo "$as_me:$LINENO: result: $CC" >&5
1956 echo "${ECHO_T}$CC" >&6
1957 else
1958 echo "$as_me:$LINENO: result: no" >&5
1959 echo "${ECHO_T}no" >&6
1960 fi
1961
1962 fi
1963 if test -z "$ac_cv_prog_CC"; then
1964 ac_ct_CC=$CC
1965 # Extract the first word of "gcc", so it can be a program name with args.
1966 set dummy gcc; ac_word=$2
1967 echo "$as_me:$LINENO: checking for $ac_word" >&5
1968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1969 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 else
1972 if test -n "$ac_ct_CC"; then
1973 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1974 else
1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1976 for as_dir in $PATH
1977 do
1978 IFS=$as_save_IFS
1979 test -z "$as_dir" && as_dir=.
1980 for ac_exec_ext in '' $ac_executable_extensions; do
1981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1982 ac_cv_prog_ac_ct_CC="gcc"
1983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1984 break 2
1985 fi
1986 done
1987 done
1988
1989 fi
1990 fi
1991 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1992 if test -n "$ac_ct_CC"; then
1993 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1994 echo "${ECHO_T}$ac_ct_CC" >&6
1995 else
1996 echo "$as_me:$LINENO: result: no" >&5
1997 echo "${ECHO_T}no" >&6
1998 fi
1999
2000 CC=$ac_ct_CC
2001 else
2002 CC="$ac_cv_prog_CC"
2003 fi
2004
2005 if test -z "$CC"; then
2006 if test -n "$ac_tool_prefix"; then
2007 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2008 set dummy ${ac_tool_prefix}cc; ac_word=$2
2009 echo "$as_me:$LINENO: checking for $ac_word" >&5
2010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2011 if test "${ac_cv_prog_CC+set}" = set; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2013 else
2014 if test -n "$CC"; then
2015 ac_cv_prog_CC="$CC" # Let the user override the test.
2016 else
2017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2018 for as_dir in $PATH
2019 do
2020 IFS=$as_save_IFS
2021 test -z "$as_dir" && as_dir=.
2022 for ac_exec_ext in '' $ac_executable_extensions; do
2023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2024 ac_cv_prog_CC="${ac_tool_prefix}cc"
2025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2026 break 2
2027 fi
2028 done
2029 done
2030
2031 fi
2032 fi
2033 CC=$ac_cv_prog_CC
2034 if test -n "$CC"; then
2035 echo "$as_me:$LINENO: result: $CC" >&5
2036 echo "${ECHO_T}$CC" >&6
2037 else
2038 echo "$as_me:$LINENO: result: no" >&5
2039 echo "${ECHO_T}no" >&6
2040 fi
2041
2042 fi
2043 if test -z "$ac_cv_prog_CC"; then
2044 ac_ct_CC=$CC
2045 # Extract the first word of "cc", so it can be a program name with args.
2046 set dummy cc; ac_word=$2
2047 echo "$as_me:$LINENO: checking for $ac_word" >&5
2048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2049 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2050 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 else
2052 if test -n "$ac_ct_CC"; then
2053 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2054 else
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 for as_dir in $PATH
2057 do
2058 IFS=$as_save_IFS
2059 test -z "$as_dir" && as_dir=.
2060 for ac_exec_ext in '' $ac_executable_extensions; do
2061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2062 ac_cv_prog_ac_ct_CC="cc"
2063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064 break 2
2065 fi
2066 done
2067 done
2068
2069 fi
2070 fi
2071 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2072 if test -n "$ac_ct_CC"; then
2073 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2074 echo "${ECHO_T}$ac_ct_CC" >&6
2075 else
2076 echo "$as_me:$LINENO: result: no" >&5
2077 echo "${ECHO_T}no" >&6
2078 fi
2079
2080 CC=$ac_ct_CC
2081 else
2082 CC="$ac_cv_prog_CC"
2083 fi
2084
2085 fi
2086 if test -z "$CC"; then
2087 # Extract the first word of "cc", so it can be a program name with args.
2088 set dummy cc; ac_word=$2
2089 echo "$as_me:$LINENO: checking for $ac_word" >&5
2090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2091 if test "${ac_cv_prog_CC+set}" = set; then
2092 echo $ECHO_N "(cached) $ECHO_C" >&6
2093 else
2094 if test -n "$CC"; then
2095 ac_cv_prog_CC="$CC" # Let the user override the test.
2096 else
2097 ac_prog_rejected=no
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099 for as_dir in $PATH
2100 do
2101 IFS=$as_save_IFS
2102 test -z "$as_dir" && as_dir=.
2103 for ac_exec_ext in '' $ac_executable_extensions; do
2104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2105 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2106 ac_prog_rejected=yes
2107 continue
2108 fi
2109 ac_cv_prog_CC="cc"
2110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111 break 2
2112 fi
2113 done
2114 done
2115
2116 if test $ac_prog_rejected = yes; then
2117 # We found a bogon in the path, so make sure we never use it.
2118 set dummy $ac_cv_prog_CC
2119 shift
2120 if test $# != 0; then
2121 # We chose a different compiler from the bogus one.
2122 # However, it has the same basename, so the bogon will be chosen
2123 # first if we set CC to just the basename; use the full file name.
2124 shift
2125 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2126 fi
2127 fi
2128 fi
2129 fi
2130 CC=$ac_cv_prog_CC
2131 if test -n "$CC"; then
2132 echo "$as_me:$LINENO: result: $CC" >&5
2133 echo "${ECHO_T}$CC" >&6
2134 else
2135 echo "$as_me:$LINENO: result: no" >&5
2136 echo "${ECHO_T}no" >&6
2137 fi
2138
2139 fi
2140 if test -z "$CC"; then
2141 if test -n "$ac_tool_prefix"; then
2142 for ac_prog in cl
2143 do
2144 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2145 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2146 echo "$as_me:$LINENO: checking for $ac_word" >&5
2147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2148 if test "${ac_cv_prog_CC+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2150 else
2151 if test -n "$CC"; then
2152 ac_cv_prog_CC="$CC" # Let the user override the test.
2153 else
2154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155 for as_dir in $PATH
2156 do
2157 IFS=$as_save_IFS
2158 test -z "$as_dir" && as_dir=.
2159 for ac_exec_ext in '' $ac_executable_extensions; do
2160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2161 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2163 break 2
2164 fi
2165 done
2166 done
2167
2168 fi
2169 fi
2170 CC=$ac_cv_prog_CC
2171 if test -n "$CC"; then
2172 echo "$as_me:$LINENO: result: $CC" >&5
2173 echo "${ECHO_T}$CC" >&6
2174 else
2175 echo "$as_me:$LINENO: result: no" >&5
2176 echo "${ECHO_T}no" >&6
2177 fi
2178
2179 test -n "$CC" && break
2180 done
2181 fi
2182 if test -z "$CC"; then
2183 ac_ct_CC=$CC
2184 for ac_prog in cl
2185 do
2186 # Extract the first word of "$ac_prog", so it can be a program name with args.
2187 set dummy $ac_prog; ac_word=$2
2188 echo "$as_me:$LINENO: checking for $ac_word" >&5
2189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2190 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2191 echo $ECHO_N "(cached) $ECHO_C" >&6
2192 else
2193 if test -n "$ac_ct_CC"; then
2194 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2195 else
2196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2197 for as_dir in $PATH
2198 do
2199 IFS=$as_save_IFS
2200 test -z "$as_dir" && as_dir=.
2201 for ac_exec_ext in '' $ac_executable_extensions; do
2202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2203 ac_cv_prog_ac_ct_CC="$ac_prog"
2204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 break 2
2206 fi
2207 done
2208 done
2209
2210 fi
2211 fi
2212 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2213 if test -n "$ac_ct_CC"; then
2214 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2215 echo "${ECHO_T}$ac_ct_CC" >&6
2216 else
2217 echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6
2219 fi
2220
2221 test -n "$ac_ct_CC" && break
2222 done
2223
2224 CC=$ac_ct_CC
2225 fi
2226
2227 fi
2228
2229
2230 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2231 See \`config.log' for more details." >&5
2232 echo "$as_me: error: no acceptable C compiler found in \$PATH
2233 See \`config.log' for more details." >&2;}
2234 { (exit 1); exit 1; }; }
2235
2236 # Provide some information about the compiler.
2237 echo "$as_me:$LINENO:" \
2238 "checking for C compiler version" >&5
2239 ac_compiler=`set X $ac_compile; echo $2`
2240 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2241 (eval $ac_compiler --version </dev/null >&5) 2>&5
2242 ac_status=$?
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); }
2245 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2246 (eval $ac_compiler -v </dev/null >&5) 2>&5
2247 ac_status=$?
2248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2249 (exit $ac_status); }
2250 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2251 (eval $ac_compiler -V </dev/null >&5) 2>&5
2252 ac_status=$?
2253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254 (exit $ac_status); }
2255
2256 cat >conftest.$ac_ext <<_ACEOF
2257 /* confdefs.h. */
2258 _ACEOF
2259 cat confdefs.h >>conftest.$ac_ext
2260 cat >>conftest.$ac_ext <<_ACEOF
2261 /* end confdefs.h. */
2262
2263 int
2264 main ()
2265 {
2266
2267 ;
2268 return 0;
2269 }
2270 _ACEOF
2271 # FIXME: Cleanup?
2272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2273 (eval $ac_link) 2>&5
2274 ac_status=$?
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }; then
2277 gcc_no_link=no
2278 else
2279 gcc_no_link=yes
2280 fi
2281
2282 if test x$gcc_no_link = xyes; then
2283 # Setting cross_compile will disable run tests; it will
2284 # also disable AC_CHECK_FILE but that's generally
2285 # correct if we can't link.
2286 cross_compiling=yes
2287 EXEEXT=
2288 else
2289 cat >conftest.$ac_ext <<_ACEOF
2290 /* confdefs.h. */
2291 _ACEOF
2292 cat confdefs.h >>conftest.$ac_ext
2293 cat >>conftest.$ac_ext <<_ACEOF
2294 /* end confdefs.h. */
2295
2296 int
2297 main ()
2298 {
2299
2300 ;
2301 return 0;
2302 }
2303 _ACEOF
2304 ac_clean_files_save=$ac_clean_files
2305 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2306 # Try to create an executable without -o first, disregard a.out.
2307 # It will help us diagnose broken compilers, and finding out an intuition
2308 # of exeext.
2309 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2310 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2311 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2312 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2313 (eval $ac_link_default) 2>&5
2314 ac_status=$?
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); }; then
2317 # Find the output, starting from the most likely. This scheme is
2318 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2319 # resort.
2320
2321 # Be careful to initialize this variable, since it used to be cached.
2322 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2323 ac_cv_exeext=
2324 # b.out is created by i960 compilers.
2325 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2326 do
2327 test -f "$ac_file" || continue
2328 case $ac_file in
2329 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2330 ;;
2331 conftest.$ac_ext )
2332 # This is the source file.
2333 ;;
2334 [ab].out )
2335 # We found the default executable, but exeext='' is most
2336 # certainly right.
2337 break;;
2338 *.* )
2339 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2340 # FIXME: I believe we export ac_cv_exeext for Libtool,
2341 # but it would be cool to find out if it's true. Does anybody
2342 # maintain Libtool? --akim.
2343 export ac_cv_exeext
2344 break;;
2345 * )
2346 break;;
2347 esac
2348 done
2349 else
2350 echo "$as_me: failed program was:" >&5
2351 sed 's/^/| /' conftest.$ac_ext >&5
2352
2353 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2354 See \`config.log' for more details." >&5
2355 echo "$as_me: error: C compiler cannot create executables
2356 See \`config.log' for more details." >&2;}
2357 { (exit 77); exit 77; }; }
2358 fi
2359
2360 ac_exeext=$ac_cv_exeext
2361 echo "$as_me:$LINENO: result: $ac_file" >&5
2362 echo "${ECHO_T}$ac_file" >&6
2363
2364 # Check the compiler produces executables we can run. If not, either
2365 # the compiler is broken, or we cross compile.
2366 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2367 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2368 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2369 # If not cross compiling, check that we can run a simple program.
2370 if test "$cross_compiling" != yes; then
2371 if { ac_try='./$ac_file'
2372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2373 (eval $ac_try) 2>&5
2374 ac_status=$?
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }; }; then
2377 cross_compiling=no
2378 else
2379 if test "$cross_compiling" = maybe; then
2380 cross_compiling=yes
2381 else
2382 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2383 If you meant to cross compile, use \`--host'.
2384 See \`config.log' for more details." >&5
2385 echo "$as_me: error: cannot run C compiled programs.
2386 If you meant to cross compile, use \`--host'.
2387 See \`config.log' for more details." >&2;}
2388 { (exit 1); exit 1; }; }
2389 fi
2390 fi
2391 fi
2392 echo "$as_me:$LINENO: result: yes" >&5
2393 echo "${ECHO_T}yes" >&6
2394
2395 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2396 ac_clean_files=$ac_clean_files_save
2397 # Check the compiler produces executables we can run. If not, either
2398 # the compiler is broken, or we cross compile.
2399 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2400 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2401 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2402 echo "${ECHO_T}$cross_compiling" >&6
2403
2404 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2405 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2407 (eval $ac_link) 2>&5
2408 ac_status=$?
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); }; then
2411 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2412 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2413 # work properly (i.e., refer to `conftest.exe'), while it won't with
2414 # `rm'.
2415 for ac_file in conftest.exe conftest conftest.*; do
2416 test -f "$ac_file" || continue
2417 case $ac_file in
2418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2419 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2420 export ac_cv_exeext
2421 break;;
2422 * ) break;;
2423 esac
2424 done
2425 else
2426 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2427 See \`config.log' for more details." >&5
2428 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2429 See \`config.log' for more details." >&2;}
2430 { (exit 1); exit 1; }; }
2431 fi
2432
2433 rm -f conftest$ac_cv_exeext
2434 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2435 echo "${ECHO_T}$ac_cv_exeext" >&6
2436
2437 rm -f conftest.$ac_ext
2438 EXEEXT=$ac_cv_exeext
2439 ac_exeext=$EXEEXT
2440 fi
2441 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2442 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2443 if test "${ac_cv_objext+set}" = set; then
2444 echo $ECHO_N "(cached) $ECHO_C" >&6
2445 else
2446 cat >conftest.$ac_ext <<_ACEOF
2447 /* confdefs.h. */
2448 _ACEOF
2449 cat confdefs.h >>conftest.$ac_ext
2450 cat >>conftest.$ac_ext <<_ACEOF
2451 /* end confdefs.h. */
2452
2453 int
2454 main ()
2455 {
2456
2457 ;
2458 return 0;
2459 }
2460 _ACEOF
2461 rm -f conftest.o conftest.obj
2462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2463 (eval $ac_compile) 2>&5
2464 ac_status=$?
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); }; then
2467 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2468 case $ac_file in
2469 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2470 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2471 break;;
2472 esac
2473 done
2474 else
2475 echo "$as_me: failed program was:" >&5
2476 sed 's/^/| /' conftest.$ac_ext >&5
2477
2478 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2479 See \`config.log' for more details." >&5
2480 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2481 See \`config.log' for more details." >&2;}
2482 { (exit 1); exit 1; }; }
2483 fi
2484
2485 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2486 fi
2487 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2488 echo "${ECHO_T}$ac_cv_objext" >&6
2489 OBJEXT=$ac_cv_objext
2490 ac_objext=$OBJEXT
2491 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2492 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2493 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2494 echo $ECHO_N "(cached) $ECHO_C" >&6
2495 else
2496 cat >conftest.$ac_ext <<_ACEOF
2497 /* confdefs.h. */
2498 _ACEOF
2499 cat confdefs.h >>conftest.$ac_ext
2500 cat >>conftest.$ac_ext <<_ACEOF
2501 /* end confdefs.h. */
2502
2503 int
2504 main ()
2505 {
2506 #ifndef __GNUC__
2507 choke me
2508 #endif
2509
2510 ;
2511 return 0;
2512 }
2513 _ACEOF
2514 rm -f conftest.$ac_objext
2515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2516 (eval $ac_compile) 2>conftest.er1
2517 ac_status=$?
2518 grep -v '^ *+' conftest.er1 >conftest.err
2519 rm -f conftest.er1
2520 cat conftest.err >&5
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); } &&
2523 { ac_try='test -z "$ac_c_werror_flag"
2524 || test ! -s conftest.err'
2525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2526 (eval $ac_try) 2>&5
2527 ac_status=$?
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }; } &&
2530 { ac_try='test -s conftest.$ac_objext'
2531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532 (eval $ac_try) 2>&5
2533 ac_status=$?
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }; }; then
2536 ac_compiler_gnu=yes
2537 else
2538 echo "$as_me: failed program was:" >&5
2539 sed 's/^/| /' conftest.$ac_ext >&5
2540
2541 ac_compiler_gnu=no
2542 fi
2543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2544 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2545
2546 fi
2547 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2548 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2549 GCC=`test $ac_compiler_gnu = yes && echo yes`
2550 ac_test_CFLAGS=${CFLAGS+set}
2551 ac_save_CFLAGS=$CFLAGS
2552 CFLAGS="-g"
2553 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2554 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2555 if test "${ac_cv_prog_cc_g+set}" = set; then
2556 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 else
2558 cat >conftest.$ac_ext <<_ACEOF
2559 /* confdefs.h. */
2560 _ACEOF
2561 cat confdefs.h >>conftest.$ac_ext
2562 cat >>conftest.$ac_ext <<_ACEOF
2563 /* end confdefs.h. */
2564
2565 int
2566 main ()
2567 {
2568
2569 ;
2570 return 0;
2571 }
2572 _ACEOF
2573 rm -f conftest.$ac_objext
2574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2575 (eval $ac_compile) 2>conftest.er1
2576 ac_status=$?
2577 grep -v '^ *+' conftest.er1 >conftest.err
2578 rm -f conftest.er1
2579 cat conftest.err >&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); } &&
2582 { ac_try='test -z "$ac_c_werror_flag"
2583 || test ! -s conftest.err'
2584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2585 (eval $ac_try) 2>&5
2586 ac_status=$?
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); }; } &&
2589 { ac_try='test -s conftest.$ac_objext'
2590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2591 (eval $ac_try) 2>&5
2592 ac_status=$?
2593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594 (exit $ac_status); }; }; then
2595 ac_cv_prog_cc_g=yes
2596 else
2597 echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.$ac_ext >&5
2599
2600 ac_cv_prog_cc_g=no
2601 fi
2602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2603 fi
2604 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2605 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2606 if test "$ac_test_CFLAGS" = set; then
2607 CFLAGS=$ac_save_CFLAGS
2608 elif test $ac_cv_prog_cc_g = yes; then
2609 if test "$GCC" = yes; then
2610 CFLAGS="-g -O2"
2611 else
2612 CFLAGS="-g"
2613 fi
2614 else
2615 if test "$GCC" = yes; then
2616 CFLAGS="-O2"
2617 else
2618 CFLAGS=
2619 fi
2620 fi
2621 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2622 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2623 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2625 else
2626 ac_cv_prog_cc_stdc=no
2627 ac_save_CC=$CC
2628 cat >conftest.$ac_ext <<_ACEOF
2629 /* confdefs.h. */
2630 _ACEOF
2631 cat confdefs.h >>conftest.$ac_ext
2632 cat >>conftest.$ac_ext <<_ACEOF
2633 /* end confdefs.h. */
2634 #include <stdarg.h>
2635 #include <stdio.h>
2636 #include <sys/types.h>
2637 #include <sys/stat.h>
2638 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2639 struct buf { int x; };
2640 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2641 static char *e (p, i)
2642 char **p;
2643 int i;
2644 {
2645 return p[i];
2646 }
2647 static char *f (char * (*g) (char **, int), char **p, ...)
2648 {
2649 char *s;
2650 va_list v;
2651 va_start (v,p);
2652 s = g (p, va_arg (v,int));
2653 va_end (v);
2654 return s;
2655 }
2656
2657 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2658 function prototypes and stuff, but not '\xHH' hex character constants.
2659 These don't provoke an error unfortunately, instead are silently treated
2660 as 'x'. The following induces an error, until -std1 is added to get
2661 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2662 array size at least. It's necessary to write '\x00'==0 to get something
2663 that's true only with -std1. */
2664 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2665
2666 int test (int i, double x);
2667 struct s1 {int (*f) (int a);};
2668 struct s2 {int (*f) (double a);};
2669 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2670 int argc;
2671 char **argv;
2672 int
2673 main ()
2674 {
2675 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2676 ;
2677 return 0;
2678 }
2679 _ACEOF
2680 # Don't try gcc -ansi; that turns off useful extensions and
2681 # breaks some systems' header files.
2682 # AIX -qlanglvl=ansi
2683 # Ultrix and OSF/1 -std1
2684 # HP-UX 10.20 and later -Ae
2685 # HP-UX older versions -Aa -D_HPUX_SOURCE
2686 # SVR4 -Xc -D__EXTENSIONS__
2687 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2688 do
2689 CC="$ac_save_CC $ac_arg"
2690 rm -f conftest.$ac_objext
2691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2692 (eval $ac_compile) 2>conftest.er1
2693 ac_status=$?
2694 grep -v '^ *+' conftest.er1 >conftest.err
2695 rm -f conftest.er1
2696 cat conftest.err >&5
2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); } &&
2699 { ac_try='test -z "$ac_c_werror_flag"
2700 || test ! -s conftest.err'
2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2702 (eval $ac_try) 2>&5
2703 ac_status=$?
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }; } &&
2706 { ac_try='test -s conftest.$ac_objext'
2707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2708 (eval $ac_try) 2>&5
2709 ac_status=$?
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); }; }; then
2712 ac_cv_prog_cc_stdc=$ac_arg
2713 break
2714 else
2715 echo "$as_me: failed program was:" >&5
2716 sed 's/^/| /' conftest.$ac_ext >&5
2717
2718 fi
2719 rm -f conftest.err conftest.$ac_objext
2720 done
2721 rm -f conftest.$ac_ext conftest.$ac_objext
2722 CC=$ac_save_CC
2723
2724 fi
2725
2726 case "x$ac_cv_prog_cc_stdc" in
2727 x|xno)
2728 echo "$as_me:$LINENO: result: none needed" >&5
2729 echo "${ECHO_T}none needed" >&6 ;;
2730 *)
2731 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2732 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2733 CC="$CC $ac_cv_prog_cc_stdc" ;;
2734 esac
2735
2736 # Some people use a C++ compiler to compile C. Since we use `exit',
2737 # in C++ we need to declare it. In case someone uses the same compiler
2738 # for both compiling C and C++ we need to have the C++ compiler decide
2739 # the declaration of exit, since it's the most demanding environment.
2740 cat >conftest.$ac_ext <<_ACEOF
2741 #ifndef __cplusplus
2742 choke me
2743 #endif
2744 _ACEOF
2745 rm -f conftest.$ac_objext
2746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2747 (eval $ac_compile) 2>conftest.er1
2748 ac_status=$?
2749 grep -v '^ *+' conftest.er1 >conftest.err
2750 rm -f conftest.er1
2751 cat conftest.err >&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); } &&
2754 { ac_try='test -z "$ac_c_werror_flag"
2755 || test ! -s conftest.err'
2756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2757 (eval $ac_try) 2>&5
2758 ac_status=$?
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); }; } &&
2761 { ac_try='test -s conftest.$ac_objext'
2762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2763 (eval $ac_try) 2>&5
2764 ac_status=$?
2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); }; }; then
2767 for ac_declaration in \
2768 '' \
2769 'extern "C" void std::exit (int) throw (); using std::exit;' \
2770 'extern "C" void std::exit (int); using std::exit;' \
2771 'extern "C" void exit (int) throw ();' \
2772 'extern "C" void exit (int);' \
2773 'void exit (int);'
2774 do
2775 cat >conftest.$ac_ext <<_ACEOF
2776 /* confdefs.h. */
2777 _ACEOF
2778 cat confdefs.h >>conftest.$ac_ext
2779 cat >>conftest.$ac_ext <<_ACEOF
2780 /* end confdefs.h. */
2781 $ac_declaration
2782 #include <stdlib.h>
2783 int
2784 main ()
2785 {
2786 exit (42);
2787 ;
2788 return 0;
2789 }
2790 _ACEOF
2791 rm -f conftest.$ac_objext
2792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2793 (eval $ac_compile) 2>conftest.er1
2794 ac_status=$?
2795 grep -v '^ *+' conftest.er1 >conftest.err
2796 rm -f conftest.er1
2797 cat conftest.err >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); } &&
2800 { ac_try='test -z "$ac_c_werror_flag"
2801 || test ! -s conftest.err'
2802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2803 (eval $ac_try) 2>&5
2804 ac_status=$?
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); }; } &&
2807 { ac_try='test -s conftest.$ac_objext'
2808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2809 (eval $ac_try) 2>&5
2810 ac_status=$?
2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812 (exit $ac_status); }; }; then
2813 :
2814 else
2815 echo "$as_me: failed program was:" >&5
2816 sed 's/^/| /' conftest.$ac_ext >&5
2817
2818 continue
2819 fi
2820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2821 cat >conftest.$ac_ext <<_ACEOF
2822 /* confdefs.h. */
2823 _ACEOF
2824 cat confdefs.h >>conftest.$ac_ext
2825 cat >>conftest.$ac_ext <<_ACEOF
2826 /* end confdefs.h. */
2827 $ac_declaration
2828 int
2829 main ()
2830 {
2831 exit (42);
2832 ;
2833 return 0;
2834 }
2835 _ACEOF
2836 rm -f conftest.$ac_objext
2837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2838 (eval $ac_compile) 2>conftest.er1
2839 ac_status=$?
2840 grep -v '^ *+' conftest.er1 >conftest.err
2841 rm -f conftest.er1
2842 cat conftest.err >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); } &&
2845 { ac_try='test -z "$ac_c_werror_flag"
2846 || test ! -s conftest.err'
2847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2848 (eval $ac_try) 2>&5
2849 ac_status=$?
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; } &&
2852 { ac_try='test -s conftest.$ac_objext'
2853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2854 (eval $ac_try) 2>&5
2855 ac_status=$?
2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); }; }; then
2858 break
2859 else
2860 echo "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.$ac_ext >&5
2862
2863 fi
2864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2865 done
2866 rm -f conftest*
2867 if test -n "$ac_declaration"; then
2868 echo '#ifdef __cplusplus' >>confdefs.h
2869 echo $ac_declaration >>confdefs.h
2870 echo '#endif' >>confdefs.h
2871 fi
2872
2873 else
2874 echo "$as_me: failed program was:" >&5
2875 sed 's/^/| /' conftest.$ac_ext >&5
2876
2877 fi
2878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2879 ac_ext=c
2880 ac_cpp='$CPP $CPPFLAGS'
2881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2884 DEPDIR="${am__leading_dot}deps"
2885
2886 ac_config_commands="$ac_config_commands depfiles"
2887
2888
2889 am_make=${MAKE-make}
2890 cat > confinc << 'END'
2891 am__doit:
2892 @echo done
2893 .PHONY: am__doit
2894 END
2895 # If we don't find an include directive, just comment out the code.
2896 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2897 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2898 am__include="#"
2899 am__quote=
2900 _am_result=none
2901 # First try GNU make style include.
2902 echo "include confinc" > confmf
2903 # We grep out `Entering directory' and `Leaving directory'
2904 # messages which can occur if `w' ends up in MAKEFLAGS.
2905 # In particular we don't look at `^make:' because GNU make might
2906 # be invoked under some other name (usually "gmake"), in which
2907 # case it prints its new name instead of `make'.
2908 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2909 am__include=include
2910 am__quote=
2911 _am_result=GNU
2912 fi
2913 # Now try BSD make style include.
2914 if test "$am__include" = "#"; then
2915 echo '.include "confinc"' > confmf
2916 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2917 am__include=.include
2918 am__quote="\""
2919 _am_result=BSD
2920 fi
2921 fi
2922
2923
2924 echo "$as_me:$LINENO: result: $_am_result" >&5
2925 echo "${ECHO_T}$_am_result" >&6
2926 rm -f confinc confmf
2927
2928 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2929 if test "${enable_dependency_tracking+set}" = set; then
2930 enableval="$enable_dependency_tracking"
2931
2932 fi;
2933 if test "x$enable_dependency_tracking" != xno; then
2934 am_depcomp="$ac_aux_dir/depcomp"
2935 AMDEPBACKSLASH='\'
2936 fi
2937
2938
2939 if test "x$enable_dependency_tracking" != xno; then
2940 AMDEP_TRUE=
2941 AMDEP_FALSE='#'
2942 else
2943 AMDEP_TRUE='#'
2944 AMDEP_FALSE=
2945 fi
2946
2947
2948
2949
2950 depcc="$CC" am_compiler_list=
2951
2952 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2953 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2954 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2955 echo $ECHO_N "(cached) $ECHO_C" >&6
2956 else
2957 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2958 # We make a subdir and do the tests there. Otherwise we can end up
2959 # making bogus files that we don't know about and never remove. For
2960 # instance it was reported that on HP-UX the gcc test will end up
2961 # making a dummy file named `D' -- because `-MD' means `put the output
2962 # in D'.
2963 mkdir conftest.dir
2964 # Copy depcomp to subdir because otherwise we won't find it if we're
2965 # using a relative directory.
2966 cp "$am_depcomp" conftest.dir
2967 cd conftest.dir
2968 # We will build objects and dependencies in a subdirectory because
2969 # it helps to detect inapplicable dependency modes. For instance
2970 # both Tru64's cc and ICC support -MD to output dependencies as a
2971 # side effect of compilation, but ICC will put the dependencies in
2972 # the current directory while Tru64 will put them in the object
2973 # directory.
2974 mkdir sub
2975
2976 am_cv_CC_dependencies_compiler_type=none
2977 if test "$am_compiler_list" = ""; then
2978 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2979 fi
2980 for depmode in $am_compiler_list; do
2981 # Setup a source with many dependencies, because some compilers
2982 # like to wrap large dependency lists on column 80 (with \), and
2983 # we should not choose a depcomp mode which is confused by this.
2984 #
2985 # We need to recreate these files for each test, as the compiler may
2986 # overwrite some of them when testing with obscure command lines.
2987 # This happens at least with the AIX C compiler.
2988 : > sub/conftest.c
2989 for i in 1 2 3 4 5 6; do
2990 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2991 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2992 # Solaris 8's {/usr,}/bin/sh.
2993 touch sub/conftst$i.h
2994 done
2995 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2996
2997 case $depmode in
2998 nosideeffect)
2999 # after this tag, mechanisms are not by side-effect, so they'll
3000 # only be used when explicitly requested
3001 if test "x$enable_dependency_tracking" = xyes; then
3002 continue
3003 else
3004 break
3005 fi
3006 ;;
3007 none) break ;;
3008 esac
3009 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3010 # mode. It turns out that the SunPro C++ compiler does not properly
3011 # handle `-M -o', and we need to detect this.
3012 if depmode=$depmode \
3013 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3014 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3015 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3016 >/dev/null 2>conftest.err &&
3017 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3018 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3019 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3020 # icc doesn't choke on unknown options, it will just issue warnings
3021 # or remarks (even with -Werror). So we grep stderr for any message
3022 # that says an option was ignored or not supported.
3023 # When given -MP, icc 7.0 and 7.1 complain thusly:
3024 # icc: Command line warning: ignoring option '-M'; no argument required
3025 # The diagnosis changed in icc 8.0:
3026 # icc: Command line remark: option '-MP' not supported
3027 if (grep 'ignoring option' conftest.err ||
3028 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3029 am_cv_CC_dependencies_compiler_type=$depmode
3030 break
3031 fi
3032 fi
3033 done
3034
3035 cd ..
3036 rm -rf conftest.dir
3037 else
3038 am_cv_CC_dependencies_compiler_type=none
3039 fi
3040
3041 fi
3042 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3043 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3044 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3045
3046
3047
3048 if
3049 test "x$enable_dependency_tracking" != xno \
3050 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3051 am__fastdepCC_TRUE=
3052 am__fastdepCC_FALSE='#'
3053 else
3054 am__fastdepCC_TRUE='#'
3055 am__fastdepCC_FALSE=
3056 fi
3057
3058
3059 ac_ext=cc
3060 ac_cpp='$CXXCPP $CPPFLAGS'
3061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3064 if test -n "$ac_tool_prefix"; then
3065 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3066 do
3067 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3068 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3069 echo "$as_me:$LINENO: checking for $ac_word" >&5
3070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3071 if test "${ac_cv_prog_CXX+set}" = set; then
3072 echo $ECHO_N "(cached) $ECHO_C" >&6
3073 else
3074 if test -n "$CXX"; then
3075 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3076 else
3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078 for as_dir in $PATH
3079 do
3080 IFS=$as_save_IFS
3081 test -z "$as_dir" && as_dir=.
3082 for ac_exec_ext in '' $ac_executable_extensions; do
3083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3084 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 break 2
3087 fi
3088 done
3089 done
3090
3091 fi
3092 fi
3093 CXX=$ac_cv_prog_CXX
3094 if test -n "$CXX"; then
3095 echo "$as_me:$LINENO: result: $CXX" >&5
3096 echo "${ECHO_T}$CXX" >&6
3097 else
3098 echo "$as_me:$LINENO: result: no" >&5
3099 echo "${ECHO_T}no" >&6
3100 fi
3101
3102 test -n "$CXX" && break
3103 done
3104 fi
3105 if test -z "$CXX"; then
3106 ac_ct_CXX=$CXX
3107 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3108 do
3109 # Extract the first word of "$ac_prog", so it can be a program name with args.
3110 set dummy $ac_prog; ac_word=$2
3111 echo "$as_me:$LINENO: checking for $ac_word" >&5
3112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3113 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3114 echo $ECHO_N "(cached) $ECHO_C" >&6
3115 else
3116 if test -n "$ac_ct_CXX"; then
3117 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3118 else
3119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3120 for as_dir in $PATH
3121 do
3122 IFS=$as_save_IFS
3123 test -z "$as_dir" && as_dir=.
3124 for ac_exec_ext in '' $ac_executable_extensions; do
3125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3126 ac_cv_prog_ac_ct_CXX="$ac_prog"
3127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3128 break 2
3129 fi
3130 done
3131 done
3132
3133 fi
3134 fi
3135 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3136 if test -n "$ac_ct_CXX"; then
3137 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3138 echo "${ECHO_T}$ac_ct_CXX" >&6
3139 else
3140 echo "$as_me:$LINENO: result: no" >&5
3141 echo "${ECHO_T}no" >&6
3142 fi
3143
3144 test -n "$ac_ct_CXX" && break
3145 done
3146 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3147
3148 CXX=$ac_ct_CXX
3149 fi
3150
3151
3152 # Provide some information about the compiler.
3153 echo "$as_me:$LINENO:" \
3154 "checking for C++ compiler version" >&5
3155 ac_compiler=`set X $ac_compile; echo $2`
3156 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3157 (eval $ac_compiler --version </dev/null >&5) 2>&5
3158 ac_status=$?
3159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3160 (exit $ac_status); }
3161 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3162 (eval $ac_compiler -v </dev/null >&5) 2>&5
3163 ac_status=$?
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); }
3166 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3167 (eval $ac_compiler -V </dev/null >&5) 2>&5
3168 ac_status=$?
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); }
3171
3172 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3173 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3174 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3175 echo $ECHO_N "(cached) $ECHO_C" >&6
3176 else
3177 cat >conftest.$ac_ext <<_ACEOF
3178 /* confdefs.h. */
3179 _ACEOF
3180 cat confdefs.h >>conftest.$ac_ext
3181 cat >>conftest.$ac_ext <<_ACEOF
3182 /* end confdefs.h. */
3183
3184 int
3185 main ()
3186 {
3187 #ifndef __GNUC__
3188 choke me
3189 #endif
3190
3191 ;
3192 return 0;
3193 }
3194 _ACEOF
3195 rm -f conftest.$ac_objext
3196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3197 (eval $ac_compile) 2>conftest.er1
3198 ac_status=$?
3199 grep -v '^ *+' conftest.er1 >conftest.err
3200 rm -f conftest.er1
3201 cat conftest.err >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); } &&
3204 { ac_try='test -z "$ac_cxx_werror_flag"
3205 || test ! -s conftest.err'
3206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3207 (eval $ac_try) 2>&5
3208 ac_status=$?
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); }; } &&
3211 { ac_try='test -s conftest.$ac_objext'
3212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3213 (eval $ac_try) 2>&5
3214 ac_status=$?
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); }; }; then
3217 ac_compiler_gnu=yes
3218 else
3219 echo "$as_me: failed program was:" >&5
3220 sed 's/^/| /' conftest.$ac_ext >&5
3221
3222 ac_compiler_gnu=no
3223 fi
3224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3225 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3226
3227 fi
3228 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3229 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3230 GXX=`test $ac_compiler_gnu = yes && echo yes`
3231 ac_test_CXXFLAGS=${CXXFLAGS+set}
3232 ac_save_CXXFLAGS=$CXXFLAGS
3233 CXXFLAGS="-g"
3234 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3235 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3236 if test "${ac_cv_prog_cxx_g+set}" = set; then
3237 echo $ECHO_N "(cached) $ECHO_C" >&6
3238 else
3239 cat >conftest.$ac_ext <<_ACEOF
3240 /* confdefs.h. */
3241 _ACEOF
3242 cat confdefs.h >>conftest.$ac_ext
3243 cat >>conftest.$ac_ext <<_ACEOF
3244 /* end confdefs.h. */
3245
3246 int
3247 main ()
3248 {
3249
3250 ;
3251 return 0;
3252 }
3253 _ACEOF
3254 rm -f conftest.$ac_objext
3255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3256 (eval $ac_compile) 2>conftest.er1
3257 ac_status=$?
3258 grep -v '^ *+' conftest.er1 >conftest.err
3259 rm -f conftest.er1
3260 cat conftest.err >&5
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); } &&
3263 { ac_try='test -z "$ac_cxx_werror_flag"
3264 || test ! -s conftest.err'
3265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3266 (eval $ac_try) 2>&5
3267 ac_status=$?
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); }; } &&
3270 { ac_try='test -s conftest.$ac_objext'
3271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3272 (eval $ac_try) 2>&5
3273 ac_status=$?
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); }; }; then
3276 ac_cv_prog_cxx_g=yes
3277 else
3278 echo "$as_me: failed program was:" >&5
3279 sed 's/^/| /' conftest.$ac_ext >&5
3280
3281 ac_cv_prog_cxx_g=no
3282 fi
3283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3284 fi
3285 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3286 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3287 if test "$ac_test_CXXFLAGS" = set; then
3288 CXXFLAGS=$ac_save_CXXFLAGS
3289 elif test $ac_cv_prog_cxx_g = yes; then
3290 if test "$GXX" = yes; then
3291 CXXFLAGS="-g -O2"
3292 else
3293 CXXFLAGS="-g"
3294 fi
3295 else
3296 if test "$GXX" = yes; then
3297 CXXFLAGS="-O2"
3298 else
3299 CXXFLAGS=
3300 fi
3301 fi
3302 for ac_declaration in \
3303 '' \
3304 'extern "C" void std::exit (int) throw (); using std::exit;' \
3305 'extern "C" void std::exit (int); using std::exit;' \
3306 'extern "C" void exit (int) throw ();' \
3307 'extern "C" void exit (int);' \
3308 'void exit (int);'
3309 do
3310 cat >conftest.$ac_ext <<_ACEOF
3311 /* confdefs.h. */
3312 _ACEOF
3313 cat confdefs.h >>conftest.$ac_ext
3314 cat >>conftest.$ac_ext <<_ACEOF
3315 /* end confdefs.h. */
3316 $ac_declaration
3317 #include <stdlib.h>
3318 int
3319 main ()
3320 {
3321 exit (42);
3322 ;
3323 return 0;
3324 }
3325 _ACEOF
3326 rm -f conftest.$ac_objext
3327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3328 (eval $ac_compile) 2>conftest.er1
3329 ac_status=$?
3330 grep -v '^ *+' conftest.er1 >conftest.err
3331 rm -f conftest.er1
3332 cat conftest.err >&5
3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); } &&
3335 { ac_try='test -z "$ac_cxx_werror_flag"
3336 || test ! -s conftest.err'
3337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338 (eval $ac_try) 2>&5
3339 ac_status=$?
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); }; } &&
3342 { ac_try='test -s conftest.$ac_objext'
3343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3344 (eval $ac_try) 2>&5
3345 ac_status=$?
3346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3347 (exit $ac_status); }; }; then
3348 :
3349 else
3350 echo "$as_me: failed program was:" >&5
3351 sed 's/^/| /' conftest.$ac_ext >&5
3352
3353 continue
3354 fi
3355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3356 cat >conftest.$ac_ext <<_ACEOF
3357 /* confdefs.h. */
3358 _ACEOF
3359 cat confdefs.h >>conftest.$ac_ext
3360 cat >>conftest.$ac_ext <<_ACEOF
3361 /* end confdefs.h. */
3362 $ac_declaration
3363 int
3364 main ()
3365 {
3366 exit (42);
3367 ;
3368 return 0;
3369 }
3370 _ACEOF
3371 rm -f conftest.$ac_objext
3372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3373 (eval $ac_compile) 2>conftest.er1
3374 ac_status=$?
3375 grep -v '^ *+' conftest.er1 >conftest.err
3376 rm -f conftest.er1
3377 cat conftest.err >&5
3378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379 (exit $ac_status); } &&
3380 { ac_try='test -z "$ac_cxx_werror_flag"
3381 || test ! -s conftest.err'
3382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3383 (eval $ac_try) 2>&5
3384 ac_status=$?
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); }; } &&
3387 { ac_try='test -s conftest.$ac_objext'
3388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3389 (eval $ac_try) 2>&5
3390 ac_status=$?
3391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3392 (exit $ac_status); }; }; then
3393 break
3394 else
3395 echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.$ac_ext >&5
3397
3398 fi
3399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3400 done
3401 rm -f conftest*
3402 if test -n "$ac_declaration"; then
3403 echo '#ifdef __cplusplus' >>confdefs.h
3404 echo $ac_declaration >>confdefs.h
3405 echo '#endif' >>confdefs.h
3406 fi
3407
3408 ac_ext=c
3409 ac_cpp='$CPP $CPPFLAGS'
3410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3413
3414 depcc="$CXX" am_compiler_list=
3415
3416 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3417 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3418 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3419 echo $ECHO_N "(cached) $ECHO_C" >&6
3420 else
3421 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3422 # We make a subdir and do the tests there. Otherwise we can end up
3423 # making bogus files that we don't know about and never remove. For
3424 # instance it was reported that on HP-UX the gcc test will end up
3425 # making a dummy file named `D' -- because `-MD' means `put the output
3426 # in D'.
3427 mkdir conftest.dir
3428 # Copy depcomp to subdir because otherwise we won't find it if we're
3429 # using a relative directory.
3430 cp "$am_depcomp" conftest.dir
3431 cd conftest.dir
3432 # We will build objects and dependencies in a subdirectory because
3433 # it helps to detect inapplicable dependency modes. For instance
3434 # both Tru64's cc and ICC support -MD to output dependencies as a
3435 # side effect of compilation, but ICC will put the dependencies in
3436 # the current directory while Tru64 will put them in the object
3437 # directory.
3438 mkdir sub
3439
3440 am_cv_CXX_dependencies_compiler_type=none
3441 if test "$am_compiler_list" = ""; then
3442 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3443 fi
3444 for depmode in $am_compiler_list; do
3445 # Setup a source with many dependencies, because some compilers
3446 # like to wrap large dependency lists on column 80 (with \), and
3447 # we should not choose a depcomp mode which is confused by this.
3448 #
3449 # We need to recreate these files for each test, as the compiler may
3450 # overwrite some of them when testing with obscure command lines.
3451 # This happens at least with the AIX C compiler.
3452 : > sub/conftest.c
3453 for i in 1 2 3 4 5 6; do
3454 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3455 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3456 # Solaris 8's {/usr,}/bin/sh.
3457 touch sub/conftst$i.h
3458 done
3459 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3460
3461 case $depmode in
3462 nosideeffect)
3463 # after this tag, mechanisms are not by side-effect, so they'll
3464 # only be used when explicitly requested
3465 if test "x$enable_dependency_tracking" = xyes; then
3466 continue
3467 else
3468 break
3469 fi
3470 ;;
3471 none) break ;;
3472 esac
3473 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3474 # mode. It turns out that the SunPro C++ compiler does not properly
3475 # handle `-M -o', and we need to detect this.
3476 if depmode=$depmode \
3477 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3478 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3479 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3480 >/dev/null 2>conftest.err &&
3481 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3482 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3483 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3484 # icc doesn't choke on unknown options, it will just issue warnings
3485 # or remarks (even with -Werror). So we grep stderr for any message
3486 # that says an option was ignored or not supported.
3487 # When given -MP, icc 7.0 and 7.1 complain thusly:
3488 # icc: Command line warning: ignoring option '-M'; no argument required
3489 # The diagnosis changed in icc 8.0:
3490 # icc: Command line remark: option '-MP' not supported
3491 if (grep 'ignoring option' conftest.err ||
3492 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3493 am_cv_CXX_dependencies_compiler_type=$depmode
3494 break
3495 fi
3496 fi
3497 done
3498
3499 cd ..
3500 rm -rf conftest.dir
3501 else
3502 am_cv_CXX_dependencies_compiler_type=none
3503 fi
3504
3505 fi
3506 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3507 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3508 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3509
3510
3511
3512 if
3513 test "x$enable_dependency_tracking" != xno \
3514 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3515 am__fastdepCXX_TRUE=
3516 am__fastdepCXX_FALSE='#'
3517 else
3518 am__fastdepCXX_TRUE='#'
3519 am__fastdepCXX_FALSE=
3520 fi
3521
3522
3523
3524
3525 if test "x$CC" != xcc; then
3526 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3527 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
3528 else
3529 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3530 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
3531 fi
3532 set dummy $CC; ac_cc=`echo $2 |
3533 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3534 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
3535 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 else
3537 cat >conftest.$ac_ext <<_ACEOF
3538 /* confdefs.h. */
3539 _ACEOF
3540 cat confdefs.h >>conftest.$ac_ext
3541 cat >>conftest.$ac_ext <<_ACEOF
3542 /* end confdefs.h. */
3543
3544 int
3545 main ()
3546 {
3547
3548 ;
3549 return 0;
3550 }
3551 _ACEOF
3552 # Make sure it works both with $CC and with simple cc.
3553 # We do the test twice because some compilers refuse to overwrite an
3554 # existing .o file with -o, though they will create one.
3555 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3556 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3557 (eval $ac_try) 2>&5
3558 ac_status=$?
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); } &&
3561 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3562 (eval $ac_try) 2>&5
3563 ac_status=$?
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); };
3566 then
3567 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3568 if test "x$CC" != xcc; then
3569 # Test first that cc exists at all.
3570 if { ac_try='cc -c conftest.$ac_ext >&5'
3571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3572 (eval $ac_try) 2>&5
3573 ac_status=$?
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); }; }; then
3576 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3577 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3578 (eval $ac_try) 2>&5
3579 ac_status=$?
3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581 (exit $ac_status); } &&
3582 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3583 (eval $ac_try) 2>&5
3584 ac_status=$?
3585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); };
3587 then
3588 # cc works too.
3589 :
3590 else
3591 # cc exists but doesn't like -o.
3592 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3593 fi
3594 fi
3595 fi
3596 else
3597 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3598 fi
3599 rm -f conftest*
3600
3601 fi
3602 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3603 echo "$as_me:$LINENO: result: yes" >&5
3604 echo "${ECHO_T}yes" >&6
3605 else
3606 echo "$as_me:$LINENO: result: no" >&5
3607 echo "${ECHO_T}no" >&6
3608
3609 cat >>confdefs.h <<\_ACEOF
3610 #define NO_MINUS_C_MINUS_O 1
3611 _ACEOF
3612
3613 fi
3614
3615 # FIXME: we rely on the cache variable name because
3616 # there is no other way.
3617 set dummy $CC
3618 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3619 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3620 # Losing compiler, so override with the script.
3621 # FIXME: It is wrong to rewrite CC.
3622 # But if we don't then we get into trouble of one sort or another.
3623 # A longer-term fix would be to have automake use am__CC in this case,
3624 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3625 CC="$am_aux_dir/compile $CC"
3626 fi
3627
3628
3629
3630
3631
3632 # Newer automakes demand CCAS and CCASFLAGS.
3633 : ${CCAS='$(CC)'}
3634 : ${CCASFLAGS='$(CFLAGS)'}
3635
3636
3637
3638 if test -n "$ac_tool_prefix"; then
3639 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3640 set dummy ${ac_tool_prefix}as; ac_word=$2
3641 echo "$as_me:$LINENO: checking for $ac_word" >&5
3642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3643 if test "${ac_cv_prog_AS+set}" = set; then
3644 echo $ECHO_N "(cached) $ECHO_C" >&6
3645 else
3646 if test -n "$AS"; then
3647 ac_cv_prog_AS="$AS" # Let the user override the test.
3648 else
3649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3650 for as_dir in $PATH
3651 do
3652 IFS=$as_save_IFS
3653 test -z "$as_dir" && as_dir=.
3654 for ac_exec_ext in '' $ac_executable_extensions; do
3655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3656 ac_cv_prog_AS="${ac_tool_prefix}as"
3657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3658 break 2
3659 fi
3660 done
3661 done
3662
3663 fi
3664 fi
3665 AS=$ac_cv_prog_AS
3666 if test -n "$AS"; then
3667 echo "$as_me:$LINENO: result: $AS" >&5
3668 echo "${ECHO_T}$AS" >&6
3669 else
3670 echo "$as_me:$LINENO: result: no" >&5
3671 echo "${ECHO_T}no" >&6
3672 fi
3673
3674 fi
3675 if test -z "$ac_cv_prog_AS"; then
3676 ac_ct_AS=$AS
3677 # Extract the first word of "as", so it can be a program name with args.
3678 set dummy as; ac_word=$2
3679 echo "$as_me:$LINENO: checking for $ac_word" >&5
3680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3681 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3682 echo $ECHO_N "(cached) $ECHO_C" >&6
3683 else
3684 if test -n "$ac_ct_AS"; then
3685 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3686 else
3687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3688 for as_dir in $PATH
3689 do
3690 IFS=$as_save_IFS
3691 test -z "$as_dir" && as_dir=.
3692 for ac_exec_ext in '' $ac_executable_extensions; do
3693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3694 ac_cv_prog_ac_ct_AS="as"
3695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3696 break 2
3697 fi
3698 done
3699 done
3700
3701 fi
3702 fi
3703 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3704 if test -n "$ac_ct_AS"; then
3705 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3706 echo "${ECHO_T}$ac_ct_AS" >&6
3707 else
3708 echo "$as_me:$LINENO: result: no" >&5
3709 echo "${ECHO_T}no" >&6
3710 fi
3711
3712 AS=$ac_ct_AS
3713 else
3714 AS="$ac_cv_prog_AS"
3715 fi
3716
3717 if test -n "$ac_tool_prefix"; then
3718 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3719 set dummy ${ac_tool_prefix}ar; ac_word=$2
3720 echo "$as_me:$LINENO: checking for $ac_word" >&5
3721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3722 if test "${ac_cv_prog_AR+set}" = set; then
3723 echo $ECHO_N "(cached) $ECHO_C" >&6
3724 else
3725 if test -n "$AR"; then
3726 ac_cv_prog_AR="$AR" # Let the user override the test.
3727 else
3728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3729 for as_dir in $PATH
3730 do
3731 IFS=$as_save_IFS
3732 test -z "$as_dir" && as_dir=.
3733 for ac_exec_ext in '' $ac_executable_extensions; do
3734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3735 ac_cv_prog_AR="${ac_tool_prefix}ar"
3736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3737 break 2
3738 fi
3739 done
3740 done
3741
3742 fi
3743 fi
3744 AR=$ac_cv_prog_AR
3745 if test -n "$AR"; then
3746 echo "$as_me:$LINENO: result: $AR" >&5
3747 echo "${ECHO_T}$AR" >&6
3748 else
3749 echo "$as_me:$LINENO: result: no" >&5
3750 echo "${ECHO_T}no" >&6
3751 fi
3752
3753 fi
3754 if test -z "$ac_cv_prog_AR"; then
3755 ac_ct_AR=$AR
3756 # Extract the first word of "ar", so it can be a program name with args.
3757 set dummy ar; ac_word=$2
3758 echo "$as_me:$LINENO: checking for $ac_word" >&5
3759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3760 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3761 echo $ECHO_N "(cached) $ECHO_C" >&6
3762 else
3763 if test -n "$ac_ct_AR"; then
3764 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3765 else
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3767 for as_dir in $PATH
3768 do
3769 IFS=$as_save_IFS
3770 test -z "$as_dir" && as_dir=.
3771 for ac_exec_ext in '' $ac_executable_extensions; do
3772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3773 ac_cv_prog_ac_ct_AR="ar"
3774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 break 2
3776 fi
3777 done
3778 done
3779
3780 fi
3781 fi
3782 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3783 if test -n "$ac_ct_AR"; then
3784 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3785 echo "${ECHO_T}$ac_ct_AR" >&6
3786 else
3787 echo "$as_me:$LINENO: result: no" >&5
3788 echo "${ECHO_T}no" >&6
3789 fi
3790
3791 AR=$ac_ct_AR
3792 else
3793 AR="$ac_cv_prog_AR"
3794 fi
3795
3796 if test -n "$ac_tool_prefix"; then
3797 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3798 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3799 echo "$as_me:$LINENO: checking for $ac_word" >&5
3800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3801 if test "${ac_cv_prog_RANLIB+set}" = set; then
3802 echo $ECHO_N "(cached) $ECHO_C" >&6
3803 else
3804 if test -n "$RANLIB"; then
3805 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3806 else
3807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3808 for as_dir in $PATH
3809 do
3810 IFS=$as_save_IFS
3811 test -z "$as_dir" && as_dir=.
3812 for ac_exec_ext in '' $ac_executable_extensions; do
3813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3814 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3816 break 2
3817 fi
3818 done
3819 done
3820
3821 fi
3822 fi
3823 RANLIB=$ac_cv_prog_RANLIB
3824 if test -n "$RANLIB"; then
3825 echo "$as_me:$LINENO: result: $RANLIB" >&5
3826 echo "${ECHO_T}$RANLIB" >&6
3827 else
3828 echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6
3830 fi
3831
3832 fi
3833 if test -z "$ac_cv_prog_RANLIB"; then
3834 ac_ct_RANLIB=$RANLIB
3835 # Extract the first word of "ranlib", so it can be a program name with args.
3836 set dummy ranlib; ac_word=$2
3837 echo "$as_me:$LINENO: checking for $ac_word" >&5
3838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3839 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3840 echo $ECHO_N "(cached) $ECHO_C" >&6
3841 else
3842 if test -n "$ac_ct_RANLIB"; then
3843 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3844 else
3845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846 for as_dir in $PATH
3847 do
3848 IFS=$as_save_IFS
3849 test -z "$as_dir" && as_dir=.
3850 for ac_exec_ext in '' $ac_executable_extensions; do
3851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3852 ac_cv_prog_ac_ct_RANLIB="ranlib"
3853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 break 2
3855 fi
3856 done
3857 done
3858
3859 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3860 fi
3861 fi
3862 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3863 if test -n "$ac_ct_RANLIB"; then
3864 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3865 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3866 else
3867 echo "$as_me:$LINENO: result: no" >&5
3868 echo "${ECHO_T}no" >&6
3869 fi
3870
3871 RANLIB=$ac_ct_RANLIB
3872 else
3873 RANLIB="$ac_cv_prog_RANLIB"
3874 fi
3875
3876
3877 # Find a good install program. We prefer a C program (faster),
3878 # so one script is as good as another. But avoid the broken or
3879 # incompatible versions:
3880 # SysV /etc/install, /usr/sbin/install
3881 # SunOS /usr/etc/install
3882 # IRIX /sbin/install
3883 # AIX /bin/install
3884 # AmigaOS /C/install, which installs bootblocks on floppy discs
3885 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3886 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3887 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3888 # OS/2's system install, which has a completely different semantic
3889 # ./install, which can be erroneously created by make from ./install.sh.
3890 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3891 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3892 if test -z "$INSTALL"; then
3893 if test "${ac_cv_path_install+set}" = set; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3895 else
3896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3897 for as_dir in $PATH
3898 do
3899 IFS=$as_save_IFS
3900 test -z "$as_dir" && as_dir=.
3901 # Account for people who put trailing slashes in PATH elements.
3902 case $as_dir/ in
3903 ./ | .// | /cC/* | \
3904 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3905 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3906 /usr/ucb/* ) ;;
3907 *)
3908 # OSF1 and SCO ODT 3.0 have their own names for install.
3909 # Don't use installbsd from OSF since it installs stuff as root
3910 # by default.
3911 for ac_prog in ginstall scoinst install; do
3912 for ac_exec_ext in '' $ac_executable_extensions; do
3913 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3914 if test $ac_prog = install &&
3915 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3916 # AIX install. It has an incompatible calling convention.
3917 :
3918 elif test $ac_prog = install &&
3919 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3920 # program-specific install script used by HP pwplus--don't use.
3921 :
3922 else
3923 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3924 break 3
3925 fi
3926 fi
3927 done
3928 done
3929 ;;
3930 esac
3931 done
3932
3933
3934 fi
3935 if test "${ac_cv_path_install+set}" = set; then
3936 INSTALL=$ac_cv_path_install
3937 else
3938 # As a last resort, use the slow shell script. We don't cache a
3939 # path for INSTALL within a source directory, because that will
3940 # break other packages using the cache if that directory is
3941 # removed, or if the path is relative.
3942 INSTALL=$ac_install_sh
3943 fi
3944 fi
3945 echo "$as_me:$LINENO: result: $INSTALL" >&5
3946 echo "${ECHO_T}$INSTALL" >&6
3947
3948 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3949 # It thinks the first close brace ends the variable substitution.
3950 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3951
3952 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3953
3954 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3955
3956
3957 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3958 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3959 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3960 if test "${enable_maintainer_mode+set}" = set; then
3961 enableval="$enable_maintainer_mode"
3962 USE_MAINTAINER_MODE=$enableval
3963 else
3964 USE_MAINTAINER_MODE=no
3965 fi;
3966 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3967 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3968
3969
3970 if test $USE_MAINTAINER_MODE = yes; then
3971 MAINTAINER_MODE_TRUE=
3972 MAINTAINER_MODE_FALSE='#'
3973 else
3974 MAINTAINER_MODE_TRUE='#'
3975 MAINTAINER_MODE_FALSE=
3976 fi
3977
3978 MAINT=$MAINTAINER_MODE_TRUE
3979
3980
3981
3982 . ${srcdir}/configure.host
3983
3984 case ${gc_basedir} in
3985 /* | A-Za-z:/\\*) gc_flagbasedir=${gc_basedir} ;;
3986 *) gc_flagbasedir='$(top_builddir)/'${gc_basedir} ;;
3987 esac
3988
3989 gc_cflags="${gc_cflags} -Iinclude -I"'$(top_builddir)'"/./targ-include -I${gc_flagbasedir}/libc/include"
3990 case "${host}" in
3991 *-*-cygwin32*)
3992 gc_cflags="${gc_cflags} -I${gc_flagbasedir}/../winsup/include"
3993 ;;
3994 esac
3995
3996
3997 GC_CFLAGS=${gc_cflags}
3998
3999
4000 # Check whether --enable-shared or --disable-shared was given.
4001 if test "${enable_shared+set}" = set; then
4002 enableval="$enable_shared"
4003 p=${PACKAGE-default}
4004 case $enableval in
4005 yes) enable_shared=yes ;;
4006 no) enable_shared=no ;;
4007 *)
4008 enable_shared=no
4009 # Look at the argument we got. We use all the common list separators.
4010 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4011 for pkg in $enableval; do
4012 if test "X$pkg" = "X$p"; then
4013 enable_shared=yes
4014 fi
4015 done
4016 IFS="$ac_save_ifs"
4017 ;;
4018 esac
4019 else
4020 enable_shared=yes
4021 fi;
4022 # Check whether --enable-static or --disable-static was given.
4023 if test "${enable_static+set}" = set; then
4024 enableval="$enable_static"
4025 p=${PACKAGE-default}
4026 case $enableval in
4027 yes) enable_static=yes ;;
4028 no) enable_static=no ;;
4029 *)
4030 enable_static=no
4031 # Look at the argument we got. We use all the common list separators.
4032 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4033 for pkg in $enableval; do
4034 if test "X$pkg" = "X$p"; then
4035 enable_static=yes
4036 fi
4037 done
4038 IFS="$ac_save_ifs"
4039 ;;
4040 esac
4041 else
4042 enable_static=yes
4043 fi;
4044 # Check whether --enable-fast-install or --disable-fast-install was given.
4045 if test "${enable_fast_install+set}" = set; then
4046 enableval="$enable_fast_install"
4047 p=${PACKAGE-default}
4048 case $enableval in
4049 yes) enable_fast_install=yes ;;
4050 no) enable_fast_install=no ;;
4051 *)
4052 enable_fast_install=no
4053 # Look at the argument we got. We use all the common list separators.
4054 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4055 for pkg in $enableval; do
4056 if test "X$pkg" = "X$p"; then
4057 enable_fast_install=yes
4058 fi
4059 done
4060 IFS="$ac_save_ifs"
4061 ;;
4062 esac
4063 else
4064 enable_fast_install=yes
4065 fi;
4066
4067 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4068 if test "${with_gnu_ld+set}" = set; then
4069 withval="$with_gnu_ld"
4070 test "$withval" = no || with_gnu_ld=yes
4071 else
4072 with_gnu_ld=no
4073 fi;
4074 ac_prog=ld
4075 if test "$GCC" = yes; then
4076 # Check if gcc -print-prog-name=ld gives a path.
4077 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4078 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4079 case $host in
4080 *-*-mingw*)
4081 # gcc leaves a trailing carriage return which upsets mingw
4082 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4083 *)
4084 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4085 esac
4086 case $ac_prog in
4087 # Accept absolute paths.
4088 [\\/]* | [A-Za-z]:[\\/]*)
4089 re_direlt='/[^/][^/]*/\.\./'
4090 # Canonicalize the path of ld
4091 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4092 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4093 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4094 done
4095 test -z "$LD" && LD="$ac_prog"
4096 ;;
4097 "")
4098 # If it fails, then pretend we aren't using GCC.
4099 ac_prog=ld
4100 ;;
4101 *)
4102 # If it is relative, then search for the first ld in PATH.
4103 with_gnu_ld=unknown
4104 ;;
4105 esac
4106 elif test "$with_gnu_ld" = yes; then
4107 echo "$as_me:$LINENO: checking for GNU ld" >&5
4108 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4109 else
4110 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4111 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4112 fi
4113 if test "${lt_cv_path_LD+set}" = set; then
4114 echo $ECHO_N "(cached) $ECHO_C" >&6
4115 else
4116 if test -z "$LD"; then
4117 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4118 for ac_dir in $PATH; do
4119 test -z "$ac_dir" && ac_dir=.
4120 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4121 lt_cv_path_LD="$ac_dir/$ac_prog"
4122 # Check to see if the program is GNU ld. I'd rather use --version,
4123 # but apparently some GNU ld's only accept -v.
4124 # Break only if it was the GNU/non-GNU ld that we prefer.
4125 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4126 test "$with_gnu_ld" != no && break
4127 else
4128 test "$with_gnu_ld" != yes && break
4129 fi
4130 fi
4131 done
4132 IFS="$ac_save_ifs"
4133 else
4134 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4135 fi
4136 fi
4137
4138 LD="$lt_cv_path_LD"
4139 if test -n "$LD"; then
4140 echo "$as_me:$LINENO: result: $LD" >&5
4141 echo "${ECHO_T}$LD" >&6
4142 else
4143 echo "$as_me:$LINENO: result: no" >&5
4144 echo "${ECHO_T}no" >&6
4145 fi
4146 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4147 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4148 { (exit 1); exit 1; }; }
4149 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4150 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4151 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4152 echo $ECHO_N "(cached) $ECHO_C" >&6
4153 else
4154 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4155 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4156 lt_cv_prog_gnu_ld=yes
4157 else
4158 lt_cv_prog_gnu_ld=no
4159 fi
4160 fi
4161 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4162 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4163 with_gnu_ld=$lt_cv_prog_gnu_ld
4164
4165
4166 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4167 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4168 if test "${lt_cv_ld_reload_flag+set}" = set; then
4169 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 else
4171 lt_cv_ld_reload_flag='-r'
4172 fi
4173 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4174 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4175 reload_flag=$lt_cv_ld_reload_flag
4176 test -n "$reload_flag" && reload_flag=" $reload_flag"
4177
4178 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4179 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4180 if test "${lt_cv_path_NM+set}" = set; then
4181 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 else
4183 if test -n "$NM"; then
4184 # Let the user override the test.
4185 lt_cv_path_NM="$NM"
4186 else
4187 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4188 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4189 test -z "$ac_dir" && ac_dir=.
4190 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4191 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4192 # Check to see if the nm accepts a BSD-compat flag.
4193 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4194 # nm: unknown option "B" ignored
4195 # Tru64's nm complains that /dev/null is an invalid object file
4196 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4197 lt_cv_path_NM="$tmp_nm -B"
4198 break
4199 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4200 lt_cv_path_NM="$tmp_nm -p"
4201 break
4202 else
4203 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4204 continue # so that we can try to find one that supports BSD flags
4205 fi
4206 fi
4207 done
4208 IFS="$ac_save_ifs"
4209 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4210 fi
4211 fi
4212
4213 NM="$lt_cv_path_NM"
4214 echo "$as_me:$LINENO: result: $NM" >&5
4215 echo "${ECHO_T}$NM" >&6
4216
4217 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4218 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4219 LN_S=$as_ln_s
4220 if test "$LN_S" = "ln -s"; then
4221 echo "$as_me:$LINENO: result: yes" >&5
4222 echo "${ECHO_T}yes" >&6
4223 else
4224 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4225 echo "${ECHO_T}no, using $LN_S" >&6
4226 fi
4227
4228 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4229 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4230 if test "${lt_cv_deplibs_check_method+set}" = set; then
4231 echo $ECHO_N "(cached) $ECHO_C" >&6
4232 else
4233 lt_cv_file_magic_cmd='$MAGIC_CMD'
4234 lt_cv_file_magic_test_file=
4235 lt_cv_deplibs_check_method='unknown'
4236 # Need to set the preceding variable on all platforms that support
4237 # interlibrary dependencies.
4238 # 'none' -- dependencies not supported.
4239 # `unknown' -- same as none, but documents that we really don't know.
4240 # 'pass_all' -- all dependencies passed with no checks.
4241 # 'test_compile' -- check by making test program.
4242 # 'file_magic [regex]' -- check by looking for files in library path
4243 # which responds to the $file_magic_cmd with a given egrep regex.
4244 # If you have `file' or equivalent on your system and you're not sure
4245 # whether `pass_all' will *always* work, you probably want this one.
4246
4247 case $host_os in
4248 aix*)
4249 lt_cv_deplibs_check_method=pass_all
4250 ;;
4251
4252 beos*)
4253 lt_cv_deplibs_check_method=pass_all
4254 ;;
4255
4256 bsdi4*)
4257 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4258 lt_cv_file_magic_cmd='/usr/bin/file -L'
4259 lt_cv_file_magic_test_file=/shlib/libc.so
4260 ;;
4261
4262 cygwin* | mingw* |pw32*)
4263 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4264 lt_cv_file_magic_cmd='$OBJDUMP -f'
4265 ;;
4266
4267 darwin* | rhapsody*)
4268 # this will be overwritten by pass_all, but leave it in just in case
4269 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4270 lt_cv_file_magic_cmd='/usr/bin/file -L'
4271 case "$host_os" in
4272 rhapsody* | darwin1.012)
4273 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4274 ;;
4275 *) # Darwin 1.3 on
4276 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4277 ;;
4278 esac
4279 lt_cv_deplibs_check_method=pass_all
4280 ;;
4281
4282 freebsd* | kfreebsd*-gnu)
4283 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4284 case $host_cpu in
4285 i*86 )
4286 # Not sure whether the presence of OpenBSD here was a mistake.
4287 # Let's accept both of them until this is cleared up.
4288 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4289 lt_cv_file_magic_cmd=/usr/bin/file
4290 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4291 ;;
4292 esac
4293 else
4294 lt_cv_deplibs_check_method=pass_all
4295 fi
4296 ;;
4297
4298 gnu*)
4299 lt_cv_deplibs_check_method=pass_all
4300 ;;
4301
4302 hpux10.20*|hpux11*)
4303 case $host_cpu in
4304 hppa*)
4305 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4306 lt_cv_file_magic_cmd=/usr/bin/file
4307 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4308 ;;
4309 ia64*)
4310 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4311 lt_cv_file_magic_cmd=/usr/bin/file
4312 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4313 ;;
4314 esac
4315 ;;
4316
4317 irix5* | irix6*)
4318 case $host_os in
4319 irix5*)
4320 # this will be overridden with pass_all, but let us keep it just in case
4321 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4322 ;;
4323 *)
4324 case $LD in
4325 *-32|*"-32 ") libmagic=32-bit;;
4326 *-n32|*"-n32 ") libmagic=N32;;
4327 *-64|*"-64 ") libmagic=64-bit;;
4328 *) libmagic=never-match;;
4329 esac
4330 # this will be overridden with pass_all, but let us keep it just in case
4331 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4332 ;;
4333 esac
4334 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4335 lt_cv_deplibs_check_method=pass_all
4336 ;;
4337
4338 # This must be Linux ELF.
4339 linux-gnu*)
4340 case $host_cpu in
4341 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
4342 lt_cv_deplibs_check_method=pass_all ;;
4343 *)
4344 # glibc up to 2.1.1 does not perform some relocations on ARM
4345 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4346 esac
4347 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4348 ;;
4349
4350 netbsd* | knetbsd*-gnu)
4351 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4352 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4353 else
4354 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4355 fi
4356 ;;
4357
4358 newsos6)
4359 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4360 lt_cv_file_magic_cmd=/usr/bin/file
4361 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4362 ;;
4363
4364 osf3* | osf4* | osf5*)
4365 # this will be overridden with pass_all, but let us keep it just in case
4366 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4367 lt_cv_file_magic_test_file=/shlib/libc.so
4368 lt_cv_deplibs_check_method=pass_all
4369 ;;
4370
4371 sco3.2v5*)
4372 lt_cv_deplibs_check_method=pass_all
4373 ;;
4374
4375 solaris*)
4376 lt_cv_deplibs_check_method=pass_all
4377 lt_cv_file_magic_test_file=/lib/libc.so
4378 ;;
4379
4380 sysv5uw[78]* | sysv4*uw2*)
4381 lt_cv_deplibs_check_method=pass_all
4382 ;;
4383
4384 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4385 case $host_vendor in
4386 ncr)
4387 lt_cv_deplibs_check_method=pass_all
4388 ;;
4389 motorola)
4390 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4391 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4392 ;;
4393 esac
4394 ;;
4395 esac
4396
4397 fi
4398 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4399 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4400 file_magic_cmd=$lt_cv_file_magic_cmd
4401 deplibs_check_method=$lt_cv_deplibs_check_method
4402
4403
4404
4405
4406
4407 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4408
4409 # Only perform the check for file, if the check method requires it
4410 case $deplibs_check_method in
4411 file_magic*)
4412 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4413 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4414 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4415 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4416 echo $ECHO_N "(cached) $ECHO_C" >&6
4417 else
4418 case $MAGIC_CMD in
4419 /*)
4420 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4421 ;;
4422 ?:/*)
4423 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4424 ;;
4425 *)
4426 ac_save_MAGIC_CMD="$MAGIC_CMD"
4427 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4428 ac_dummy="/usr/bin:$PATH"
4429 for ac_dir in $ac_dummy; do
4430 test -z "$ac_dir" && ac_dir=.
4431 if test -f $ac_dir/${ac_tool_prefix}file; then
4432 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4433 if test -n "$file_magic_test_file"; then
4434 case $deplibs_check_method in
4435 "file_magic "*)
4436 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4437 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4438 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4439 egrep "$file_magic_regex" > /dev/null; then
4440 :
4441 else
4442 cat <<EOF 1>&2
4443
4444 *** Warning: the command libtool uses to detect shared libraries,
4445 *** $file_magic_cmd, produces output that libtool cannot recognize.
4446 *** The result is that libtool may fail to recognize shared libraries
4447 *** as such. This will affect the creation of libtool libraries that
4448 *** depend on shared libraries, but programs linked with such libtool
4449 *** libraries will work regardless of this problem. Nevertheless, you
4450 *** may want to report the problem to your system manager and/or to
4451 *** bug-libtool@gnu.org
4452
4453 EOF
4454 fi ;;
4455 esac
4456 fi
4457 break
4458 fi
4459 done
4460 IFS="$ac_save_ifs"
4461 MAGIC_CMD="$ac_save_MAGIC_CMD"
4462 ;;
4463 esac
4464 fi
4465
4466 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4467 if test -n "$MAGIC_CMD"; then
4468 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4469 echo "${ECHO_T}$MAGIC_CMD" >&6
4470 else
4471 echo "$as_me:$LINENO: result: no" >&5
4472 echo "${ECHO_T}no" >&6
4473 fi
4474
4475 if test -z "$lt_cv_path_MAGIC_CMD"; then
4476 if test -n "$ac_tool_prefix"; then
4477 echo "$as_me:$LINENO: checking for file" >&5
4478 echo $ECHO_N "checking for file... $ECHO_C" >&6
4479 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4480 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 else
4482 case $MAGIC_CMD in
4483 /*)
4484 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4485 ;;
4486 ?:/*)
4487 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4488 ;;
4489 *)
4490 ac_save_MAGIC_CMD="$MAGIC_CMD"
4491 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4492 ac_dummy="/usr/bin:$PATH"
4493 for ac_dir in $ac_dummy; do
4494 test -z "$ac_dir" && ac_dir=.
4495 if test -f $ac_dir/file; then
4496 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4497 if test -n "$file_magic_test_file"; then
4498 case $deplibs_check_method in
4499 "file_magic "*)
4500 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4501 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4502 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4503 egrep "$file_magic_regex" > /dev/null; then
4504 :
4505 else
4506 cat <<EOF 1>&2
4507
4508 *** Warning: the command libtool uses to detect shared libraries,
4509 *** $file_magic_cmd, produces output that libtool cannot recognize.
4510 *** The result is that libtool may fail to recognize shared libraries
4511 *** as such. This will affect the creation of libtool libraries that
4512 *** depend on shared libraries, but programs linked with such libtool
4513 *** libraries will work regardless of this problem. Nevertheless, you
4514 *** may want to report the problem to your system manager and/or to
4515 *** bug-libtool@gnu.org
4516
4517 EOF
4518 fi ;;
4519 esac
4520 fi
4521 break
4522 fi
4523 done
4524 IFS="$ac_save_ifs"
4525 MAGIC_CMD="$ac_save_MAGIC_CMD"
4526 ;;
4527 esac
4528 fi
4529
4530 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4531 if test -n "$MAGIC_CMD"; then
4532 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4533 echo "${ECHO_T}$MAGIC_CMD" >&6
4534 else
4535 echo "$as_me:$LINENO: result: no" >&5
4536 echo "${ECHO_T}no" >&6
4537 fi
4538
4539 else
4540 MAGIC_CMD=:
4541 fi
4542 fi
4543
4544 fi
4545 ;;
4546 esac
4547
4548 if test -n "$ac_tool_prefix"; then
4549 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4550 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4551 echo "$as_me:$LINENO: checking for $ac_word" >&5
4552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4553 if test "${ac_cv_prog_RANLIB+set}" = set; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4555 else
4556 if test -n "$RANLIB"; then
4557 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4558 else
4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560 for as_dir in $PATH
4561 do
4562 IFS=$as_save_IFS
4563 test -z "$as_dir" && as_dir=.
4564 for ac_exec_ext in '' $ac_executable_extensions; do
4565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4566 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4568 break 2
4569 fi
4570 done
4571 done
4572
4573 fi
4574 fi
4575 RANLIB=$ac_cv_prog_RANLIB
4576 if test -n "$RANLIB"; then
4577 echo "$as_me:$LINENO: result: $RANLIB" >&5
4578 echo "${ECHO_T}$RANLIB" >&6
4579 else
4580 echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6
4582 fi
4583
4584 fi
4585 if test -z "$ac_cv_prog_RANLIB"; then
4586 ac_ct_RANLIB=$RANLIB
4587 # Extract the first word of "ranlib", so it can be a program name with args.
4588 set dummy ranlib; ac_word=$2
4589 echo "$as_me:$LINENO: checking for $ac_word" >&5
4590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4591 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4592 echo $ECHO_N "(cached) $ECHO_C" >&6
4593 else
4594 if test -n "$ac_ct_RANLIB"; then
4595 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4596 else
4597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4598 for as_dir in $PATH
4599 do
4600 IFS=$as_save_IFS
4601 test -z "$as_dir" && as_dir=.
4602 for ac_exec_ext in '' $ac_executable_extensions; do
4603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4604 ac_cv_prog_ac_ct_RANLIB="ranlib"
4605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4606 break 2
4607 fi
4608 done
4609 done
4610
4611 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4612 fi
4613 fi
4614 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4615 if test -n "$ac_ct_RANLIB"; then
4616 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4617 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4618 else
4619 echo "$as_me:$LINENO: result: no" >&5
4620 echo "${ECHO_T}no" >&6
4621 fi
4622
4623 RANLIB=$ac_ct_RANLIB
4624 else
4625 RANLIB="$ac_cv_prog_RANLIB"
4626 fi
4627
4628 if test -n "$ac_tool_prefix"; then
4629 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4630 set dummy ${ac_tool_prefix}strip; ac_word=$2
4631 echo "$as_me:$LINENO: checking for $ac_word" >&5
4632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4633 if test "${ac_cv_prog_STRIP+set}" = set; then
4634 echo $ECHO_N "(cached) $ECHO_C" >&6
4635 else
4636 if test -n "$STRIP"; then
4637 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4638 else
4639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4640 for as_dir in $PATH
4641 do
4642 IFS=$as_save_IFS
4643 test -z "$as_dir" && as_dir=.
4644 for ac_exec_ext in '' $ac_executable_extensions; do
4645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4646 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4648 break 2
4649 fi
4650 done
4651 done
4652
4653 fi
4654 fi
4655 STRIP=$ac_cv_prog_STRIP
4656 if test -n "$STRIP"; then
4657 echo "$as_me:$LINENO: result: $STRIP" >&5
4658 echo "${ECHO_T}$STRIP" >&6
4659 else
4660 echo "$as_me:$LINENO: result: no" >&5
4661 echo "${ECHO_T}no" >&6
4662 fi
4663
4664 fi
4665 if test -z "$ac_cv_prog_STRIP"; then
4666 ac_ct_STRIP=$STRIP
4667 # Extract the first word of "strip", so it can be a program name with args.
4668 set dummy strip; ac_word=$2
4669 echo "$as_me:$LINENO: checking for $ac_word" >&5
4670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4671 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4672 echo $ECHO_N "(cached) $ECHO_C" >&6
4673 else
4674 if test -n "$ac_ct_STRIP"; then
4675 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4676 else
4677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678 for as_dir in $PATH
4679 do
4680 IFS=$as_save_IFS
4681 test -z "$as_dir" && as_dir=.
4682 for ac_exec_ext in '' $ac_executable_extensions; do
4683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4684 ac_cv_prog_ac_ct_STRIP="strip"
4685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 break 2
4687 fi
4688 done
4689 done
4690
4691 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4692 fi
4693 fi
4694 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4695 if test -n "$ac_ct_STRIP"; then
4696 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4697 echo "${ECHO_T}$ac_ct_STRIP" >&6
4698 else
4699 echo "$as_me:$LINENO: result: no" >&5
4700 echo "${ECHO_T}no" >&6
4701 fi
4702
4703 STRIP=$ac_ct_STRIP
4704 else
4705 STRIP="$ac_cv_prog_STRIP"
4706 fi
4707
4708
4709 # Check for any special flags to pass to ltconfig.
4710 libtool_flags="--cache-file=$cache_file"
4711 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4712 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4713 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4714 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4715 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4716
4717
4718 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4719 if test "${enable_libtool_lock+set}" = set; then
4720 enableval="$enable_libtool_lock"
4721
4722 fi;
4723 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4724 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4725
4726
4727 # Check whether --with-pic or --without-pic was given.
4728 if test "${with_pic+set}" = set; then
4729 withval="$with_pic"
4730 pic_mode="$withval"
4731 else
4732 pic_mode=default
4733 fi;
4734 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4735 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4736
4737 # Some flags need to be propagated to the compiler or linker for good
4738 # libtool support.
4739 case $host in
4740 *-*-irix6*)
4741 # Find out which ABI we are using.
4742 echo '#line 4742 "configure"' > conftest.$ac_ext
4743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4744 (eval $ac_compile) 2>&5
4745 ac_status=$?
4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); }; then
4748 if test "$lt_cv_prog_gnu_ld" = yes; then
4749 case `/usr/bin/file conftest.$ac_objext` in
4750 *32-bit*)
4751 LD="${LD-ld} -melf32bsmip"
4752 ;;
4753 *N32*)
4754 LD="${LD-ld} -melf32bmipn32"
4755 ;;
4756 *64-bit*)
4757 LD="${LD-ld} -melf64bmip"
4758 ;;
4759 esac
4760 else
4761 case `/usr/bin/file conftest.$ac_objext` in
4762 *32-bit*)
4763 LD="${LD-ld} -32"
4764 ;;
4765 *N32*)
4766 LD="${LD-ld} -n32"
4767 ;;
4768 *64-bit*)
4769 LD="${LD-ld} -64"
4770 ;;
4771 esac
4772 fi
4773 fi
4774 rm -rf conftest*
4775 ;;
4776
4777 ia64-*-hpux*)
4778 # Find out which ABI we are using.
4779 echo 'int i;' > conftest.$ac_ext
4780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4781 (eval $ac_compile) 2>&5
4782 ac_status=$?
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); }; then
4785 case "`/usr/bin/file conftest.o`" in
4786 *ELF-32*)
4787 HPUX_IA64_MODE="32"
4788 ;;
4789 *ELF-64*)
4790 HPUX_IA64_MODE="64"
4791 ;;
4792 esac
4793 fi
4794 rm -rf conftest*
4795 ;;
4796
4797 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4798 # Find out which ABI we are using.
4799 echo 'int i;' > conftest.$ac_ext
4800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4801 (eval $ac_compile) 2>&5
4802 ac_status=$?
4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); }; then
4805 case "`/usr/bin/file conftest.o`" in
4806 *32-bit*)
4807 case $host in
4808 x86_64-*linux*)
4809 LD="${LD-ld} -m elf_i386"
4810 ;;
4811 ppc64-*linux*|powerpc64-*linux*)
4812 LD="${LD-ld} -m elf32ppclinux"
4813 ;;
4814 s390x-*linux*)
4815 LD="${LD-ld} -m elf_s390"
4816 ;;
4817 sparc64-*linux*)
4818 LD="${LD-ld} -m elf32_sparc"
4819 ;;
4820 esac
4821 ;;
4822 *64-bit*)
4823 case $host in
4824 x86_64-*linux*)
4825 LD="${LD-ld} -m elf_x86_64"
4826 ;;
4827 ppc*-*linux*|powerpc*-*linux*)
4828 LD="${LD-ld} -m elf64ppc"
4829 ;;
4830 s390*-*linux*)
4831 LD="${LD-ld} -m elf64_s390"
4832 ;;
4833 sparc*-*linux*)
4834 LD="${LD-ld} -m elf64_sparc"
4835 ;;
4836 esac
4837 ;;
4838 esac
4839 fi
4840 rm -rf conftest*
4841 ;;
4842
4843 *-*-sco3.2v5*)
4844 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4845 SAVE_CFLAGS="$CFLAGS"
4846 CFLAGS="$CFLAGS -belf"
4847 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4848 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4849 if test "${lt_cv_cc_needs_belf+set}" = set; then
4850 echo $ECHO_N "(cached) $ECHO_C" >&6
4851 else
4852
4853
4854 ac_ext=c
4855 ac_cpp='$CPP $CPPFLAGS'
4856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4859
4860 if test x$gcc_no_link = xyes; then
4861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4863 { (exit 1); exit 1; }; }
4864 fi
4865 cat >conftest.$ac_ext <<_ACEOF
4866 /* confdefs.h. */
4867 _ACEOF
4868 cat confdefs.h >>conftest.$ac_ext
4869 cat >>conftest.$ac_ext <<_ACEOF
4870 /* end confdefs.h. */
4871
4872 int
4873 main ()
4874 {
4875
4876 ;
4877 return 0;
4878 }
4879 _ACEOF
4880 rm -f conftest.$ac_objext conftest$ac_exeext
4881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4882 (eval $ac_link) 2>conftest.er1
4883 ac_status=$?
4884 grep -v '^ *+' conftest.er1 >conftest.err
4885 rm -f conftest.er1
4886 cat conftest.err >&5
4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); } &&
4889 { ac_try='test -z "$ac_c_werror_flag"
4890 || test ! -s conftest.err'
4891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892 (eval $ac_try) 2>&5
4893 ac_status=$?
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); }; } &&
4896 { ac_try='test -s conftest$ac_exeext'
4897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4898 (eval $ac_try) 2>&5
4899 ac_status=$?
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); }; }; then
4902 lt_cv_cc_needs_belf=yes
4903 else
4904 echo "$as_me: failed program was:" >&5
4905 sed 's/^/| /' conftest.$ac_ext >&5
4906
4907 lt_cv_cc_needs_belf=no
4908 fi
4909 rm -f conftest.err conftest.$ac_objext \
4910 conftest$ac_exeext conftest.$ac_ext
4911 ac_ext=c
4912 ac_cpp='$CPP $CPPFLAGS'
4913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4916
4917 fi
4918 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4919 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4920 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4921 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4922 CFLAGS="$SAVE_CFLAGS"
4923 fi
4924 ;;
4925
4926
4927 esac
4928
4929
4930 # Save cache, so that ltconfig can load it
4931 cat >confcache <<\_ACEOF
4932 # This file is a shell script that caches the results of configure
4933 # tests run on this system so they can be shared between configure
4934 # scripts and configure runs, see configure's option --config-cache.
4935 # It is not useful on other systems. If it contains results you don't
4936 # want to keep, you may remove or edit it.
4937 #
4938 # config.status only pays attention to the cache file if you give it
4939 # the --recheck option to rerun configure.
4940 #
4941 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4942 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4943 # following values.
4944
4945 _ACEOF
4946
4947 # The following way of writing the cache mishandles newlines in values,
4948 # but we know of no workaround that is simple, portable, and efficient.
4949 # So, don't put newlines in cache variables' values.
4950 # Ultrix sh set writes to stderr and can't be redirected directly,
4951 # and sets the high bit in the cache file unless we assign to the vars.
4952 {
4953 (set) 2>&1 |
4954 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4955 *ac_space=\ *)
4956 # `set' does not quote correctly, so add quotes (double-quote
4957 # substitution turns \\\\ into \\, and sed turns \\ into \).
4958 sed -n \
4959 "s/'/'\\\\''/g;
4960 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4961 ;;
4962 *)
4963 # `set' quotes correctly as required by POSIX, so do not add quotes.
4964 sed -n \
4965 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4966 ;;
4967 esac;
4968 } |
4969 sed '
4970 t clear
4971 : clear
4972 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4973 t end
4974 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4975 : end' >>confcache
4976 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4977 if test -w $cache_file; then
4978 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4979 cat confcache >$cache_file
4980 else
4981 echo "not updating unwritable cache $cache_file"
4982 fi
4983 fi
4984 rm -f confcache
4985
4986 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4987 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4988 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4989 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4990 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4991 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4992 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4993 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4994 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4995 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4996 echo "$as_me: error: libtool configure failed" >&2;}
4997 { (exit 1); exit 1; }; }
4998
4999 # Reload cache, that may have been modified by ltconfig
5000 if test -r "$cache_file"; then
5001 # Some versions of bash will fail to source /dev/null (special
5002 # files actually), so we avoid doing that.
5003 if test -f "$cache_file"; then
5004 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5005 echo "$as_me: loading cache $cache_file" >&6;}
5006 case $cache_file in
5007 [\\/]* | ?:[\\/]* ) . $cache_file;;
5008 *) . ./$cache_file;;
5009 esac
5010 fi
5011 else
5012 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5013 echo "$as_me: creating cache $cache_file" >&6;}
5014 >$cache_file
5015 fi
5016
5017
5018 # This can be used to rebuild libtool when needed
5019 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5020
5021 # Always use our own libtool.
5022 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5023
5024 # Redirect the config.log output again, so that the ltconfig log is not
5025 # clobbered by the next message.
5026 exec 5>>./config.log
5027
5028 ac_ext=cc
5029 ac_cpp='$CXXCPP $CPPFLAGS'
5030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5033 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5034 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5035 if test -z "$CXXCPP"; then
5036 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5037 echo $ECHO_N "(cached) $ECHO_C" >&6
5038 else
5039 # Double quotes because CXXCPP needs to be expanded
5040 for CXXCPP in "$CXX -E" "/lib/cpp"
5041 do
5042 ac_preproc_ok=false
5043 for ac_cxx_preproc_warn_flag in '' yes
5044 do
5045 # Use a header file that comes with gcc, so configuring glibc
5046 # with a fresh cross-compiler works.
5047 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5048 # <limits.h> exists even on freestanding compilers.
5049 # On the NeXT, cc -E runs the code through the compiler's parser,
5050 # not just through cpp. "Syntax error" is here to catch this case.
5051 cat >conftest.$ac_ext <<_ACEOF
5052 /* confdefs.h. */
5053 _ACEOF
5054 cat confdefs.h >>conftest.$ac_ext
5055 cat >>conftest.$ac_ext <<_ACEOF
5056 /* end confdefs.h. */
5057 #ifdef __STDC__
5058 # include <limits.h>
5059 #else
5060 # include <assert.h>
5061 #endif
5062 Syntax error
5063 _ACEOF
5064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5065 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5066 ac_status=$?
5067 grep -v '^ *+' conftest.er1 >conftest.err
5068 rm -f conftest.er1
5069 cat conftest.err >&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); } >/dev/null; then
5072 if test -s conftest.err; then
5073 ac_cpp_err=$ac_cxx_preproc_warn_flag
5074 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5075 else
5076 ac_cpp_err=
5077 fi
5078 else
5079 ac_cpp_err=yes
5080 fi
5081 if test -z "$ac_cpp_err"; then
5082 :
5083 else
5084 echo "$as_me: failed program was:" >&5
5085 sed 's/^/| /' conftest.$ac_ext >&5
5086
5087 # Broken: fails on valid input.
5088 continue
5089 fi
5090 rm -f conftest.err conftest.$ac_ext
5091
5092 # OK, works on sane cases. Now check whether non-existent headers
5093 # can be detected and how.
5094 cat >conftest.$ac_ext <<_ACEOF
5095 /* confdefs.h. */
5096 _ACEOF
5097 cat confdefs.h >>conftest.$ac_ext
5098 cat >>conftest.$ac_ext <<_ACEOF
5099 /* end confdefs.h. */
5100 #include <ac_nonexistent.h>
5101 _ACEOF
5102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5104 ac_status=$?
5105 grep -v '^ *+' conftest.er1 >conftest.err
5106 rm -f conftest.er1
5107 cat conftest.err >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); } >/dev/null; then
5110 if test -s conftest.err; then
5111 ac_cpp_err=$ac_cxx_preproc_warn_flag
5112 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5113 else
5114 ac_cpp_err=
5115 fi
5116 else
5117 ac_cpp_err=yes
5118 fi
5119 if test -z "$ac_cpp_err"; then
5120 # Broken: success on invalid input.
5121 continue
5122 else
5123 echo "$as_me: failed program was:" >&5
5124 sed 's/^/| /' conftest.$ac_ext >&5
5125
5126 # Passes both tests.
5127 ac_preproc_ok=:
5128 break
5129 fi
5130 rm -f conftest.err conftest.$ac_ext
5131
5132 done
5133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5134 rm -f conftest.err conftest.$ac_ext
5135 if $ac_preproc_ok; then
5136 break
5137 fi
5138
5139 done
5140 ac_cv_prog_CXXCPP=$CXXCPP
5141
5142 fi
5143 CXXCPP=$ac_cv_prog_CXXCPP
5144 else
5145 ac_cv_prog_CXXCPP=$CXXCPP
5146 fi
5147 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5148 echo "${ECHO_T}$CXXCPP" >&6
5149 ac_preproc_ok=false
5150 for ac_cxx_preproc_warn_flag in '' yes
5151 do
5152 # Use a header file that comes with gcc, so configuring glibc
5153 # with a fresh cross-compiler works.
5154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5155 # <limits.h> exists even on freestanding compilers.
5156 # On the NeXT, cc -E runs the code through the compiler's parser,
5157 # not just through cpp. "Syntax error" is here to catch this case.
5158 cat >conftest.$ac_ext <<_ACEOF
5159 /* confdefs.h. */
5160 _ACEOF
5161 cat confdefs.h >>conftest.$ac_ext
5162 cat >>conftest.$ac_ext <<_ACEOF
5163 /* end confdefs.h. */
5164 #ifdef __STDC__
5165 # include <limits.h>
5166 #else
5167 # include <assert.h>
5168 #endif
5169 Syntax error
5170 _ACEOF
5171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5172 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5173 ac_status=$?
5174 grep -v '^ *+' conftest.er1 >conftest.err
5175 rm -f conftest.er1
5176 cat conftest.err >&5
5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); } >/dev/null; then
5179 if test -s conftest.err; then
5180 ac_cpp_err=$ac_cxx_preproc_warn_flag
5181 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5182 else
5183 ac_cpp_err=
5184 fi
5185 else
5186 ac_cpp_err=yes
5187 fi
5188 if test -z "$ac_cpp_err"; then
5189 :
5190 else
5191 echo "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.$ac_ext >&5
5193
5194 # Broken: fails on valid input.
5195 continue
5196 fi
5197 rm -f conftest.err conftest.$ac_ext
5198
5199 # OK, works on sane cases. Now check whether non-existent headers
5200 # can be detected and how.
5201 cat >conftest.$ac_ext <<_ACEOF
5202 /* confdefs.h. */
5203 _ACEOF
5204 cat confdefs.h >>conftest.$ac_ext
5205 cat >>conftest.$ac_ext <<_ACEOF
5206 /* end confdefs.h. */
5207 #include <ac_nonexistent.h>
5208 _ACEOF
5209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5210 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5211 ac_status=$?
5212 grep -v '^ *+' conftest.er1 >conftest.err
5213 rm -f conftest.er1
5214 cat conftest.err >&5
5215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216 (exit $ac_status); } >/dev/null; then
5217 if test -s conftest.err; then
5218 ac_cpp_err=$ac_cxx_preproc_warn_flag
5219 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5220 else
5221 ac_cpp_err=
5222 fi
5223 else
5224 ac_cpp_err=yes
5225 fi
5226 if test -z "$ac_cpp_err"; then
5227 # Broken: success on invalid input.
5228 continue
5229 else
5230 echo "$as_me: failed program was:" >&5
5231 sed 's/^/| /' conftest.$ac_ext >&5
5232
5233 # Passes both tests.
5234 ac_preproc_ok=:
5235 break
5236 fi
5237 rm -f conftest.err conftest.$ac_ext
5238
5239 done
5240 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5241 rm -f conftest.err conftest.$ac_ext
5242 if $ac_preproc_ok; then
5243 :
5244 else
5245 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5246 See \`config.log' for more details." >&5
5247 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5248 See \`config.log' for more details." >&2;}
5249 { (exit 1); exit 1; }; }
5250 fi
5251
5252 ac_ext=c
5253 ac_cpp='$CPP $CPPFLAGS'
5254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5257
5258
5259
5260 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5261 lt_save_CC="$CC"
5262 lt_save_CFLAGS="$CFLAGS"
5263 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
5264 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5265 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5266 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5267 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5268 deplibs_check_method="$deplibs_check_method" \
5269 file_magic_cmd="$file_magic_cmd" \
5270 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
5271 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
5272 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5273 echo "$as_me: error: libtool tag configuration failed" >&2;}
5274 { (exit 1); exit 1; }; }
5275 CC="$lt_save_CC"
5276 CFLAGS="$lt_save_CFLAGS"
5277
5278 # Redirect the config.log output again, so that the ltconfig log is not
5279 # clobbered by the next message.
5280 exec 5>>./config.log
5281
5282
5283
5284
5285
5286
5287
5288
5289 # Check whether --with-target-subdir or --without-target-subdir was given.
5290 if test "${with_target_subdir+set}" = set; then
5291 withval="$with_target_subdir"
5292
5293 fi;
5294
5295 # Check whether --with-cross-host or --without-cross-host was given.
5296 if test "${with_cross_host+set}" = set; then
5297 withval="$with_cross_host"
5298
5299 fi;
5300
5301 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
5302 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
5303 THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
5304 if test -z "$THREADS"; then
5305 THREADS=no
5306 fi
5307 echo "$as_me:$LINENO: result: $THREADS" >&5
5308 echo "${ECHO_T}$THREADS" >&6
5309
5310 # Check whether --enable-parallel-mark or --disable-parallel-mark was given.
5311 if test "${enable_parallel_mark+set}" = set; then
5312 enableval="$enable_parallel_mark"
5313 case "$THREADS" in
5314 no | none | single)
5315 { { echo "$as_me:$LINENO: error: Parallel mark requires --enable-threads=x spec" >&5
5316 echo "$as_me: error: Parallel mark requires --enable-threads=x spec" >&2;}
5317 { (exit 1); exit 1; }; }
5318 ;;
5319 esac
5320
5321 fi;
5322
5323 AM_CPPFLAGS="-I`cd $srcdir && ${PWDCMD-pwd}`/include"
5324 THREADLIBS=
5325 case "$THREADS" in
5326 no | none | single)
5327 THREADS=none
5328 ;;
5329 posix | pthreads)
5330 THREADS=posix
5331 THREADLIBS=-lpthread
5332 case "$host" in
5333 x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* | alpha-*-linux*)
5334 cat >>confdefs.h <<\_ACEOF
5335 #define GC_LINUX_THREADS 1
5336 _ACEOF
5337
5338 cat >>confdefs.h <<\_ACEOF
5339 #define _REENTRANT 1
5340 _ACEOF
5341
5342 if test "${enable_parallel_mark}" = yes; then
5343 cat >>confdefs.h <<\_ACEOF
5344 #define PARALLEL_MARK 1
5345 _ACEOF
5346
5347 fi
5348 cat >>confdefs.h <<\_ACEOF
5349 #define THREAD_LOCAL_ALLOC 1
5350 _ACEOF
5351
5352 ;;
5353 *-*-linux*)
5354 cat >>confdefs.h <<\_ACEOF
5355 #define GC_LINUX_THREADS 1
5356 _ACEOF
5357
5358 cat >>confdefs.h <<\_ACEOF
5359 #define _REENTRANT 1
5360 _ACEOF
5361
5362 ;;
5363 *-*-aix*)
5364 cat >>confdefs.h <<\_ACEOF
5365 #define GC_AIX_THREADS 1
5366 _ACEOF
5367
5368 cat >>confdefs.h <<\_ACEOF
5369 #define _REENTRANT 1
5370 _ACEOF
5371
5372 ;;
5373 *-*-hpux*)
5374 { echo "$as_me:$LINENO: WARNING: \"Only HP/UX 11 threads are supported.\"" >&5
5375 echo "$as_me: WARNING: \"Only HP/UX 11 threads are supported.\"" >&2;}
5376 cat >>confdefs.h <<\_ACEOF
5377 #define GC_HPUX_THREADS 1
5378 _ACEOF
5379
5380 cat >>confdefs.h <<\_ACEOF
5381 #define _POSIX_C_SOURCE 199506L
5382 _ACEOF
5383
5384 if test "${enable_parallel_mark}" = yes; then
5385 cat >>confdefs.h <<\_ACEOF
5386 #define PARALLEL_MARK 1
5387 _ACEOF
5388
5389 fi
5390 cat >>confdefs.h <<\_ACEOF
5391 #define THREAD_LOCAL_ALLOC 1
5392 _ACEOF
5393
5394 THREADLIBS="-lpthread -lrt"
5395 ;;
5396 *-*-freebsd*)
5397 { echo "$as_me:$LINENO: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&5
5398 echo "$as_me: WARNING: \"FreeBSD does not yet fully support threads with Boehm GC.\"" >&2;}
5399 cat >>confdefs.h <<\_ACEOF
5400 #define GC_FREEBSD_THREADS 1
5401 _ACEOF
5402
5403 AM_CPPFLAGS="$AM_CPPFLAGS -pthread"
5404 THREADLIBS=-pthread
5405 ;;
5406 *-*-solaris*)
5407 cat >>confdefs.h <<\_ACEOF
5408 #define GC_SOLARIS_THREADS 1
5409 _ACEOF
5410
5411 cat >>confdefs.h <<\_ACEOF
5412 #define GC_SOLARIS_PTHREADS 1
5413 _ACEOF
5414
5415 ;;
5416 *-*-irix*)
5417 cat >>confdefs.h <<\_ACEOF
5418 #define GC_IRIX_THREADS 1
5419 _ACEOF
5420
5421 ;;
5422 *-*-cygwin*)
5423 cat >>confdefs.h <<\_ACEOF
5424 #define GC_WIN32_THREADS 1
5425 _ACEOF
5426
5427 ;;
5428 *-*-darwin*)
5429 cat >>confdefs.h <<\_ACEOF
5430 #define GC_DARWIN_THREADS 1
5431 _ACEOF
5432
5433 cat >>confdefs.h <<\_ACEOF
5434 #define THREAD_LOCAL_ALLOC 1
5435 _ACEOF
5436
5437 if test "${enable_parallel_mark}" = yes; then
5438 cat >>confdefs.h <<\_ACEOF
5439 #define PARALLEL_MARK 1
5440 _ACEOF
5441
5442 fi
5443 ;;
5444 *-*-osf*)
5445 cat >>confdefs.h <<\_ACEOF
5446 #define GC_OSF1_THREADS 1
5447 _ACEOF
5448
5449 if test "${enable_parallel_mark}" = yes; then
5450 cat >>confdefs.h <<\_ACEOF
5451 #define PARALLEL_MARK 1
5452 _ACEOF
5453
5454 cat >>confdefs.h <<\_ACEOF
5455 #define THREAD_LOCAL_ALLOC 1
5456 _ACEOF
5457
5458 # May want to enable it in other cases, too.
5459 # Measurements havent yet been done.
5460 fi
5461 AM_CPPFLAGS="$AM_CPPFLAGS -pthread"
5462 THREADLIBS="-lpthread -lrt"
5463 ;;
5464 esac
5465 ;;
5466 win32)
5467 cat >>confdefs.h <<\_ACEOF
5468 #define GC_WIN32_THREADS 1
5469 _ACEOF
5470
5471 ;;
5472 dgux386)
5473 THREADS=dgux386
5474 echo "$as_me:$LINENO: result: $THREADLIBS" >&5
5475 echo "${ECHO_T}$THREADLIBS" >&6
5476 # Use pthread GCC switch
5477 THREADLIBS=-pthread
5478 if test "${enable_parallel_mark}" = yes; then
5479 cat >>confdefs.h <<\_ACEOF
5480 #define PARALLEL_MARK 1
5481 _ACEOF
5482
5483 fi
5484 cat >>confdefs.h <<\_ACEOF
5485 #define THREAD_LOCAL_ALLOC 1
5486 _ACEOF
5487
5488 cat >>confdefs.h <<\_ACEOF
5489 #define GC_DGUX386_THREADS 1
5490 _ACEOF
5491
5492 cat >>confdefs.h <<\_ACEOF
5493 #define DGUX_THREADS 1
5494 _ACEOF
5495
5496 # Enable _POSIX4A_DRAFT10_SOURCE with flag -pthread
5497 AM_CPPFLAGS="-pthread $AM_CPPFLAGS"
5498 ;;
5499 aix)
5500 THREADS=posix
5501 THREADLIBS=-lpthread
5502 cat >>confdefs.h <<\_ACEOF
5503 #define GC_AIX_THREADS 1
5504 _ACEOF
5505
5506 cat >>confdefs.h <<\_ACEOF
5507 #define _REENTRANT 1
5508 _ACEOF
5509
5510 ;;
5511 decosf1 | irix | mach | os2 | solaris | dce | vxworks)
5512 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
5513 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
5514 { (exit 1); exit 1; }; }
5515 ;;
5516 *)
5517 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
5518 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
5519 { (exit 1); exit 1; }; }
5520 ;;
5521 esac
5522
5523
5524 case "$host" in
5525 powerpc-*-darwin*)
5526 powerpc_darwin=true
5527 ;;
5528 esac
5529
5530
5531 if test x$powerpc_darwin = xtrue; then
5532 POWERPC_DARWIN_TRUE=
5533 POWERPC_DARWIN_FALSE='#'
5534 else
5535 POWERPC_DARWIN_TRUE='#'
5536 POWERPC_DARWIN_FALSE=
5537 fi
5538
5539
5540 # We never want libdl on darwin. It is a fake libdl that just ends up making
5541 # dyld calls anyway
5542 case "$host" in
5543 *-*-darwin*) ;;
5544 *)
5545 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
5546 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
5547 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
5548 echo $ECHO_N "(cached) $ECHO_C" >&6
5549 else
5550 ac_check_lib_save_LIBS=$LIBS
5551 LIBS="-ldl $LIBS"
5552 if test x$gcc_no_link = xyes; then
5553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5555 { (exit 1); exit 1; }; }
5556 fi
5557 cat >conftest.$ac_ext <<_ACEOF
5558 /* confdefs.h. */
5559 _ACEOF
5560 cat confdefs.h >>conftest.$ac_ext
5561 cat >>conftest.$ac_ext <<_ACEOF
5562 /* end confdefs.h. */
5563
5564 /* Override any gcc2 internal prototype to avoid an error. */
5565 #ifdef __cplusplus
5566 extern "C"
5567 #endif
5568 /* We use char because int might match the return type of a gcc2
5569 builtin and then its argument prototype would still apply. */
5570 char dlopen ();
5571 int
5572 main ()
5573 {
5574 dlopen ();
5575 ;
5576 return 0;
5577 }
5578 _ACEOF
5579 rm -f conftest.$ac_objext conftest$ac_exeext
5580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5581 (eval $ac_link) 2>conftest.er1
5582 ac_status=$?
5583 grep -v '^ *+' conftest.er1 >conftest.err
5584 rm -f conftest.er1
5585 cat conftest.err >&5
5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587 (exit $ac_status); } &&
5588 { ac_try='test -z "$ac_c_werror_flag"
5589 || test ! -s conftest.err'
5590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5591 (eval $ac_try) 2>&5
5592 ac_status=$?
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); }; } &&
5595 { ac_try='test -s conftest$ac_exeext'
5596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5597 (eval $ac_try) 2>&5
5598 ac_status=$?
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; }; then
5601 ac_cv_lib_dl_dlopen=yes
5602 else
5603 echo "$as_me: failed program was:" >&5
5604 sed 's/^/| /' conftest.$ac_ext >&5
5605
5606 ac_cv_lib_dl_dlopen=no
5607 fi
5608 rm -f conftest.err conftest.$ac_objext \
5609 conftest$ac_exeext conftest.$ac_ext
5610 LIBS=$ac_check_lib_save_LIBS
5611 fi
5612 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
5613 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5614 if test $ac_cv_lib_dl_dlopen = yes; then
5615 EXTRA_TEST_LIBS="$EXTRA_TEST_LIBS -ldl"
5616 fi
5617
5618 ;;
5619 esac
5620
5621
5622
5623 target_all=libgcjgc.la
5624
5625
5626
5627 TARGET_ECOS="no"
5628
5629 # Check whether --with-ecos or --without-ecos was given.
5630 if test "${with_ecos+set}" = set; then
5631 withval="$with_ecos"
5632 TARGET_ECOS="$with_ecos"
5633
5634 fi;
5635
5636 addobjs=
5637 addlibs=
5638 addincludes=
5639 addtests=
5640 case "$TARGET_ECOS" in
5641 no)
5642 ;;
5643 *)
5644 cat >>confdefs.h <<\_ACEOF
5645 #define ECOS 1
5646 _ACEOF
5647
5648 AM_CPPFLAGS="${AM_CPPFLAGS} -I${TARGET_ECOS}/include"
5649 addobjs="$addobjs ecos.lo"
5650 ;;
5651 esac
5652
5653 if test "${enable_cplusplus}" = yes; then
5654 addincludes="$addincludes include/gc_cpp.h include/gc_allocator.h"
5655 addtests="$addtests test_cpp"
5656 fi
5657
5658
5659
5660 if test "${enable_cplusplus}" = yes; then
5661 CPLUSPLUS_TRUE=
5662 CPLUSPLUS_FALSE='#'
5663 else
5664 CPLUSPLUS_TRUE='#'
5665 CPLUSPLUS_FALSE=
5666 fi
5667
5668
5669
5670
5671
5672
5673 # Configuration of shared libraries
5674 #
5675 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
5676 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
5677 # Check whether --enable-shared or --disable-shared was given.
5678 if test "${enable_shared+set}" = set; then
5679 enableval="$enable_shared"
5680 p=${PACKAGE-default}
5681 case $enableval in
5682 yes) enable_shared=yes ;;
5683 no) enable_shared=no ;;
5684 *)
5685 enable_shared=no
5686 # Look at the argument we got. We use all the common list separators.
5687 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5688 for pkg in $enableval; do
5689 if test "X$pkg" = "X$p"; then
5690 enable_shared=yes
5691 fi
5692 done
5693 IFS="$ac_save_ifs"
5694 ;;
5695 esac
5696 else
5697 enable_shared=yes
5698 fi;
5699
5700 case "$host" in
5701 alpha-*-openbsd*)
5702 enable_shared=no
5703 echo "$as_me:$LINENO: result: no" >&5
5704 echo "${ECHO_T}no" >&6
5705 ;;
5706 *)
5707 echo "$as_me:$LINENO: result: yes" >&5
5708 echo "${ECHO_T}yes" >&6
5709 ;;
5710 esac
5711
5712 # Configuration of machine-dependent code
5713 #
5714 # We don't set NO_EXECUTE_PERMISSION by default because gcj (and
5715 # anything else that creates trampolines in gc-allocated memory)
5716 # always needs exec permission. The exceptions to this are IA-64 and
5717 # some variations of Power PC, where trampolines don't contain
5718 # executable code.
5719 #
5720 echo "$as_me:$LINENO: checking which machine-dependent code should be used" >&5
5721 echo $ECHO_N "checking which machine-dependent code should be used... $ECHO_C" >&6
5722 machdep=
5723 case "$host" in
5724 alpha*-*-openbsd*)
5725 machdep="alpha_mach_dep.lo"
5726 if test x"${ac_cv_lib_dl_dlopen}" != xyes ; then
5727 { echo "$as_me:$LINENO: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&5
5728 echo "$as_me: WARNING: OpenBSD/Alpha without dlopen(). Shared library support is disabled" >&2;}
5729 fi
5730 ;;
5731 alpha*-*-linux*)
5732 machdep="alpha_mach_dep.lo"
5733 ;;
5734 i?86-*-solaris2.[89] | i?86-*-solaris2.1?)
5735 cat >>confdefs.h <<\_ACEOF
5736 #define SOLARIS25_PROC_VDB_BUG_FIXED 1
5737 _ACEOF
5738
5739 ;;
5740 mipstx39-*-elf*)
5741 machdep="mips_ultrix_mach_dep.lo"
5742 cat >>confdefs.h <<\_ACEOF
5743 #define STACKBASE __stackbase
5744 _ACEOF
5745
5746 cat >>confdefs.h <<\_ACEOF
5747 #define DATASTART_IS_ETEXT 1
5748 _ACEOF
5749
5750 ;;
5751 mips-dec-ultrix*)
5752 machdep="mips_ultrix_mach-dep.lo"
5753 ;;
5754 mips-nec-sysv*|mips-unknown-sysv*)
5755 ;;
5756 mips*-*-linux*)
5757 ;;
5758 mips-*-*)
5759 machdep="mips_sgi_mach_dep.lo"
5760 ;;
5761 sparc-*-netbsd*)
5762 machdep="sparc_netbsd_mach_dep.lo"
5763 ;;
5764 sparc-sun-solaris2.3)
5765 machdep="sparc_mach_dep.lo"
5766 cat >>confdefs.h <<\_ACEOF
5767 #define SUNOS53_SHARED_LIB 1
5768 _ACEOF
5769
5770 ;;
5771 sparc-sun-solaris2.*)
5772 machdep="sparc_mach_dep.lo"
5773 ;;
5774 ia64-*-*)
5775 cat >>confdefs.h <<\_ACEOF
5776 #define NO_EXECUTE_PERMISSION 1
5777 _ACEOF
5778
5779 machdep="mach_dep.lo ia64_save_regs_in_stack.lo"
5780 ;;
5781 esac
5782 if test x"$machdep" = x; then
5783 echo "$as_me:$LINENO: result: $machdep" >&5
5784 echo "${ECHO_T}$machdep" >&6
5785 machdep="mach_dep.lo"
5786 fi
5787 addobjs="$addobjs $machdep"
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799 #
5800 # Check for AViiON Machines running DGUX
5801 #
5802 echo "$as_me:$LINENO: checking if host is AViiON running DGUX" >&5
5803 echo $ECHO_N "checking if host is AViiON running DGUX... $ECHO_C" >&6
5804 ac_is_dgux=no
5805 ac_ext=c
5806 ac_cpp='$CPP $CPPFLAGS'
5807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5810 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5811 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5812 # On Suns, sometimes $CPP names a directory.
5813 if test -n "$CPP" && test -d "$CPP"; then
5814 CPP=
5815 fi
5816 if test -z "$CPP"; then
5817 if test "${ac_cv_prog_CPP+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 else
5820 # Double quotes because CPP needs to be expanded
5821 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5822 do
5823 ac_preproc_ok=false
5824 for ac_c_preproc_warn_flag in '' yes
5825 do
5826 # Use a header file that comes with gcc, so configuring glibc
5827 # with a fresh cross-compiler works.
5828 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5829 # <limits.h> exists even on freestanding compilers.
5830 # On the NeXT, cc -E runs the code through the compiler's parser,
5831 # not just through cpp. "Syntax error" is here to catch this case.
5832 cat >conftest.$ac_ext <<_ACEOF
5833 /* confdefs.h. */
5834 _ACEOF
5835 cat confdefs.h >>conftest.$ac_ext
5836 cat >>conftest.$ac_ext <<_ACEOF
5837 /* end confdefs.h. */
5838 #ifdef __STDC__
5839 # include <limits.h>
5840 #else
5841 # include <assert.h>
5842 #endif
5843 Syntax error
5844 _ACEOF
5845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5846 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5847 ac_status=$?
5848 grep -v '^ *+' conftest.er1 >conftest.err
5849 rm -f conftest.er1
5850 cat conftest.err >&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); } >/dev/null; then
5853 if test -s conftest.err; then
5854 ac_cpp_err=$ac_c_preproc_warn_flag
5855 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5856 else
5857 ac_cpp_err=
5858 fi
5859 else
5860 ac_cpp_err=yes
5861 fi
5862 if test -z "$ac_cpp_err"; then
5863 :
5864 else
5865 echo "$as_me: failed program was:" >&5
5866 sed 's/^/| /' conftest.$ac_ext >&5
5867
5868 # Broken: fails on valid input.
5869 continue
5870 fi
5871 rm -f conftest.err conftest.$ac_ext
5872
5873 # OK, works on sane cases. Now check whether non-existent headers
5874 # can be detected and how.
5875 cat >conftest.$ac_ext <<_ACEOF
5876 /* confdefs.h. */
5877 _ACEOF
5878 cat confdefs.h >>conftest.$ac_ext
5879 cat >>conftest.$ac_ext <<_ACEOF
5880 /* end confdefs.h. */
5881 #include <ac_nonexistent.h>
5882 _ACEOF
5883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5884 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5885 ac_status=$?
5886 grep -v '^ *+' conftest.er1 >conftest.err
5887 rm -f conftest.er1
5888 cat conftest.err >&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); } >/dev/null; then
5891 if test -s conftest.err; then
5892 ac_cpp_err=$ac_c_preproc_warn_flag
5893 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5894 else
5895 ac_cpp_err=
5896 fi
5897 else
5898 ac_cpp_err=yes
5899 fi
5900 if test -z "$ac_cpp_err"; then
5901 # Broken: success on invalid input.
5902 continue
5903 else
5904 echo "$as_me: failed program was:" >&5
5905 sed 's/^/| /' conftest.$ac_ext >&5
5906
5907 # Passes both tests.
5908 ac_preproc_ok=:
5909 break
5910 fi
5911 rm -f conftest.err conftest.$ac_ext
5912
5913 done
5914 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5915 rm -f conftest.err conftest.$ac_ext
5916 if $ac_preproc_ok; then
5917 break
5918 fi
5919
5920 done
5921 ac_cv_prog_CPP=$CPP
5922
5923 fi
5924 CPP=$ac_cv_prog_CPP
5925 else
5926 ac_cv_prog_CPP=$CPP
5927 fi
5928 echo "$as_me:$LINENO: result: $CPP" >&5
5929 echo "${ECHO_T}$CPP" >&6
5930 ac_preproc_ok=false
5931 for ac_c_preproc_warn_flag in '' yes
5932 do
5933 # Use a header file that comes with gcc, so configuring glibc
5934 # with a fresh cross-compiler works.
5935 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5936 # <limits.h> exists even on freestanding compilers.
5937 # On the NeXT, cc -E runs the code through the compiler's parser,
5938 # not just through cpp. "Syntax error" is here to catch this case.
5939 cat >conftest.$ac_ext <<_ACEOF
5940 /* confdefs.h. */
5941 _ACEOF
5942 cat confdefs.h >>conftest.$ac_ext
5943 cat >>conftest.$ac_ext <<_ACEOF
5944 /* end confdefs.h. */
5945 #ifdef __STDC__
5946 # include <limits.h>
5947 #else
5948 # include <assert.h>
5949 #endif
5950 Syntax error
5951 _ACEOF
5952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5953 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5954 ac_status=$?
5955 grep -v '^ *+' conftest.er1 >conftest.err
5956 rm -f conftest.er1
5957 cat conftest.err >&5
5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5959 (exit $ac_status); } >/dev/null; then
5960 if test -s conftest.err; then
5961 ac_cpp_err=$ac_c_preproc_warn_flag
5962 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5963 else
5964 ac_cpp_err=
5965 fi
5966 else
5967 ac_cpp_err=yes
5968 fi
5969 if test -z "$ac_cpp_err"; then
5970 :
5971 else
5972 echo "$as_me: failed program was:" >&5
5973 sed 's/^/| /' conftest.$ac_ext >&5
5974
5975 # Broken: fails on valid input.
5976 continue
5977 fi
5978 rm -f conftest.err conftest.$ac_ext
5979
5980 # OK, works on sane cases. Now check whether non-existent headers
5981 # can be detected and how.
5982 cat >conftest.$ac_ext <<_ACEOF
5983 /* confdefs.h. */
5984 _ACEOF
5985 cat confdefs.h >>conftest.$ac_ext
5986 cat >>conftest.$ac_ext <<_ACEOF
5987 /* end confdefs.h. */
5988 #include <ac_nonexistent.h>
5989 _ACEOF
5990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5991 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5992 ac_status=$?
5993 grep -v '^ *+' conftest.er1 >conftest.err
5994 rm -f conftest.er1
5995 cat conftest.err >&5
5996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5997 (exit $ac_status); } >/dev/null; then
5998 if test -s conftest.err; then
5999 ac_cpp_err=$ac_c_preproc_warn_flag
6000 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6001 else
6002 ac_cpp_err=
6003 fi
6004 else
6005 ac_cpp_err=yes
6006 fi
6007 if test -z "$ac_cpp_err"; then
6008 # Broken: success on invalid input.
6009 continue
6010 else
6011 echo "$as_me: failed program was:" >&5
6012 sed 's/^/| /' conftest.$ac_ext >&5
6013
6014 # Passes both tests.
6015 ac_preproc_ok=:
6016 break
6017 fi
6018 rm -f conftest.err conftest.$ac_ext
6019
6020 done
6021 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6022 rm -f conftest.err conftest.$ac_ext
6023 if $ac_preproc_ok; then
6024 :
6025 else
6026 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6027 See \`config.log' for more details." >&5
6028 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6029 See \`config.log' for more details." >&2;}
6030 { (exit 1); exit 1; }; }
6031 fi
6032
6033 ac_ext=c
6034 ac_cpp='$CPP $CPPFLAGS'
6035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6038
6039
6040 echo "$as_me:$LINENO: checking for egrep" >&5
6041 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6042 if test "${ac_cv_prog_egrep+set}" = set; then
6043 echo $ECHO_N "(cached) $ECHO_C" >&6
6044 else
6045 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6046 then ac_cv_prog_egrep='grep -E'
6047 else ac_cv_prog_egrep='egrep'
6048 fi
6049 fi
6050 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6051 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6052 EGREP=$ac_cv_prog_egrep
6053
6054
6055 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6056 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6057 if test "${ac_cv_header_stdc+set}" = set; then
6058 echo $ECHO_N "(cached) $ECHO_C" >&6
6059 else
6060 cat >conftest.$ac_ext <<_ACEOF
6061 /* confdefs.h. */
6062 _ACEOF
6063 cat confdefs.h >>conftest.$ac_ext
6064 cat >>conftest.$ac_ext <<_ACEOF
6065 /* end confdefs.h. */
6066 #include <stdlib.h>
6067 #include <stdarg.h>
6068 #include <string.h>
6069 #include <float.h>
6070
6071 int
6072 main ()
6073 {
6074
6075 ;
6076 return 0;
6077 }
6078 _ACEOF
6079 rm -f conftest.$ac_objext
6080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6081 (eval $ac_compile) 2>conftest.er1
6082 ac_status=$?
6083 grep -v '^ *+' conftest.er1 >conftest.err
6084 rm -f conftest.er1
6085 cat conftest.err >&5
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); } &&
6088 { ac_try='test -z "$ac_c_werror_flag"
6089 || test ! -s conftest.err'
6090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6091 (eval $ac_try) 2>&5
6092 ac_status=$?
6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); }; } &&
6095 { ac_try='test -s conftest.$ac_objext'
6096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6097 (eval $ac_try) 2>&5
6098 ac_status=$?
6099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100 (exit $ac_status); }; }; then
6101 ac_cv_header_stdc=yes
6102 else
6103 echo "$as_me: failed program was:" >&5
6104 sed 's/^/| /' conftest.$ac_ext >&5
6105
6106 ac_cv_header_stdc=no
6107 fi
6108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6109
6110 if test $ac_cv_header_stdc = yes; then
6111 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6112 cat >conftest.$ac_ext <<_ACEOF
6113 /* confdefs.h. */
6114 _ACEOF
6115 cat confdefs.h >>conftest.$ac_ext
6116 cat >>conftest.$ac_ext <<_ACEOF
6117 /* end confdefs.h. */
6118 #include <string.h>
6119
6120 _ACEOF
6121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6122 $EGREP "memchr" >/dev/null 2>&1; then
6123 :
6124 else
6125 ac_cv_header_stdc=no
6126 fi
6127 rm -f conftest*
6128
6129 fi
6130
6131 if test $ac_cv_header_stdc = yes; then
6132 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6133 cat >conftest.$ac_ext <<_ACEOF
6134 /* confdefs.h. */
6135 _ACEOF
6136 cat confdefs.h >>conftest.$ac_ext
6137 cat >>conftest.$ac_ext <<_ACEOF
6138 /* end confdefs.h. */
6139 #include <stdlib.h>
6140
6141 _ACEOF
6142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6143 $EGREP "free" >/dev/null 2>&1; then
6144 :
6145 else
6146 ac_cv_header_stdc=no
6147 fi
6148 rm -f conftest*
6149
6150 fi
6151
6152 if test $ac_cv_header_stdc = yes; then
6153 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6154 if test "$cross_compiling" = yes; then
6155 :
6156 else
6157 cat >conftest.$ac_ext <<_ACEOF
6158 /* confdefs.h. */
6159 _ACEOF
6160 cat confdefs.h >>conftest.$ac_ext
6161 cat >>conftest.$ac_ext <<_ACEOF
6162 /* end confdefs.h. */
6163 #include <ctype.h>
6164 #if ((' ' & 0x0FF) == 0x020)
6165 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6166 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6167 #else
6168 # define ISLOWER(c) \
6169 (('a' <= (c) && (c) <= 'i') \
6170 || ('j' <= (c) && (c) <= 'r') \
6171 || ('s' <= (c) && (c) <= 'z'))
6172 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6173 #endif
6174
6175 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6176 int
6177 main ()
6178 {
6179 int i;
6180 for (i = 0; i < 256; i++)
6181 if (XOR (islower (i), ISLOWER (i))
6182 || toupper (i) != TOUPPER (i))
6183 exit(2);
6184 exit (0);
6185 }
6186 _ACEOF
6187 rm -f conftest$ac_exeext
6188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6189 (eval $ac_link) 2>&5
6190 ac_status=$?
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6194 (eval $ac_try) 2>&5
6195 ac_status=$?
6196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 (exit $ac_status); }; }; then
6198 :
6199 else
6200 echo "$as_me: program exited with status $ac_status" >&5
6201 echo "$as_me: failed program was:" >&5
6202 sed 's/^/| /' conftest.$ac_ext >&5
6203
6204 ( exit $ac_status )
6205 ac_cv_header_stdc=no
6206 fi
6207 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6208 fi
6209 fi
6210 fi
6211 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6212 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6213 if test $ac_cv_header_stdc = yes; then
6214
6215 cat >>confdefs.h <<\_ACEOF
6216 #define STDC_HEADERS 1
6217 _ACEOF
6218
6219 fi
6220
6221 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6232 inttypes.h stdint.h unistd.h
6233 do
6234 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6235 echo "$as_me:$LINENO: checking for $ac_header" >&5
6236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6238 echo $ECHO_N "(cached) $ECHO_C" >&6
6239 else
6240 cat >conftest.$ac_ext <<_ACEOF
6241 /* confdefs.h. */
6242 _ACEOF
6243 cat confdefs.h >>conftest.$ac_ext
6244 cat >>conftest.$ac_ext <<_ACEOF
6245 /* end confdefs.h. */
6246 $ac_includes_default
6247
6248 #include <$ac_header>
6249 _ACEOF
6250 rm -f conftest.$ac_objext
6251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6252 (eval $ac_compile) 2>conftest.er1
6253 ac_status=$?
6254 grep -v '^ *+' conftest.er1 >conftest.err
6255 rm -f conftest.er1
6256 cat conftest.err >&5
6257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6258 (exit $ac_status); } &&
6259 { ac_try='test -z "$ac_c_werror_flag"
6260 || test ! -s conftest.err'
6261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6262 (eval $ac_try) 2>&5
6263 ac_status=$?
6264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265 (exit $ac_status); }; } &&
6266 { ac_try='test -s conftest.$ac_objext'
6267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6268 (eval $ac_try) 2>&5
6269 ac_status=$?
6270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271 (exit $ac_status); }; }; then
6272 eval "$as_ac_Header=yes"
6273 else
6274 echo "$as_me: failed program was:" >&5
6275 sed 's/^/| /' conftest.$ac_ext >&5
6276
6277 eval "$as_ac_Header=no"
6278 fi
6279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6280 fi
6281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6284 cat >>confdefs.h <<_ACEOF
6285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6286 _ACEOF
6287
6288 fi
6289
6290 done
6291
6292
6293 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
6294 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
6295 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
6296 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
6297 echo $ECHO_N "(cached) $ECHO_C" >&6
6298 fi
6299 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
6300 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
6301 else
6302 # Is the header compilable?
6303 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5
6304 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6
6305 cat >conftest.$ac_ext <<_ACEOF
6306 /* confdefs.h. */
6307 _ACEOF
6308 cat confdefs.h >>conftest.$ac_ext
6309 cat >>conftest.$ac_ext <<_ACEOF
6310 /* end confdefs.h. */
6311 $ac_includes_default
6312 #include <sys/dg_sys_info.h>
6313 _ACEOF
6314 rm -f conftest.$ac_objext
6315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6316 (eval $ac_compile) 2>conftest.er1
6317 ac_status=$?
6318 grep -v '^ *+' conftest.er1 >conftest.err
6319 rm -f conftest.er1
6320 cat conftest.err >&5
6321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322 (exit $ac_status); } &&
6323 { ac_try='test -z "$ac_c_werror_flag"
6324 || test ! -s conftest.err'
6325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6326 (eval $ac_try) 2>&5
6327 ac_status=$?
6328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6329 (exit $ac_status); }; } &&
6330 { ac_try='test -s conftest.$ac_objext'
6331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6332 (eval $ac_try) 2>&5
6333 ac_status=$?
6334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6335 (exit $ac_status); }; }; then
6336 ac_header_compiler=yes
6337 else
6338 echo "$as_me: failed program was:" >&5
6339 sed 's/^/| /' conftest.$ac_ext >&5
6340
6341 ac_header_compiler=no
6342 fi
6343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6345 echo "${ECHO_T}$ac_header_compiler" >&6
6346
6347 # Is the header present?
6348 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5
6349 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6
6350 cat >conftest.$ac_ext <<_ACEOF
6351 /* confdefs.h. */
6352 _ACEOF
6353 cat confdefs.h >>conftest.$ac_ext
6354 cat >>conftest.$ac_ext <<_ACEOF
6355 /* end confdefs.h. */
6356 #include <sys/dg_sys_info.h>
6357 _ACEOF
6358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6359 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6360 ac_status=$?
6361 grep -v '^ *+' conftest.er1 >conftest.err
6362 rm -f conftest.er1
6363 cat conftest.err >&5
6364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365 (exit $ac_status); } >/dev/null; then
6366 if test -s conftest.err; then
6367 ac_cpp_err=$ac_c_preproc_warn_flag
6368 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6369 else
6370 ac_cpp_err=
6371 fi
6372 else
6373 ac_cpp_err=yes
6374 fi
6375 if test -z "$ac_cpp_err"; then
6376 ac_header_preproc=yes
6377 else
6378 echo "$as_me: failed program was:" >&5
6379 sed 's/^/| /' conftest.$ac_ext >&5
6380
6381 ac_header_preproc=no
6382 fi
6383 rm -f conftest.err conftest.$ac_ext
6384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6385 echo "${ECHO_T}$ac_header_preproc" >&6
6386
6387 # So? What about this header?
6388 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6389 yes:no: )
6390 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5
6391 echo "$as_me: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6392 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&5
6393 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the compiler's result" >&2;}
6394 ac_header_preproc=yes
6395 ;;
6396 no:yes:* )
6397 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&5
6398 echo "$as_me: WARNING: sys/dg_sys_info.h: present but cannot be compiled" >&2;}
6399 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&5
6400 echo "$as_me: WARNING: sys/dg_sys_info.h: check for missing prerequisite headers?" >&2;}
6401 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&5
6402 echo "$as_me: WARNING: sys/dg_sys_info.h: see the Autoconf documentation" >&2;}
6403 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&5
6404 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;}
6405 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5
6406 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;}
6407 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5
6408 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;}
6409 (
6410 cat <<\_ASBOX
6411 ## ------------------------------------------ ##
6412 ## Report this to the AC_PACKAGE_NAME lists. ##
6413 ## ------------------------------------------ ##
6414 _ASBOX
6415 ) |
6416 sed "s/^/$as_me: WARNING: /" >&2
6417 ;;
6418 esac
6419 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5
6420 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
6421 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
6422 echo $ECHO_N "(cached) $ECHO_C" >&6
6423 else
6424 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc
6425 fi
6426 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5
6427 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
6428
6429 fi
6430 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
6431 ac_is_dgux=yes;
6432 fi
6433
6434
6435
6436 echo "$as_me:$LINENO: result: $ac_is_dgux" >&5
6437 echo "${ECHO_T}$ac_is_dgux" >&6
6438 ## :GOTCHA: we do not check anything but sys/dg_sys_info.h
6439 if test $ac_is_dgux = yes; then
6440 if test "$enable_full_debug" = "yes"; then
6441 CFLAGS="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
6442 CXXFLAGS="-g -mstandard -DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
6443 else
6444 CFLAGS="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
6445 CXXFLAGS="-DDGUX -D_DGUX_SOURCE -Di386 -mno-legend -O2"
6446 fi
6447
6448
6449 fi
6450
6451
6452 # Check whether --with-target-subdir or --without-target-subdir was given.
6453 if test "${with_target_subdir+set}" = set; then
6454 withval="$with_target_subdir"
6455
6456 fi;
6457
6458 # Check whether --with-cross-host or --without-cross-host was given.
6459 if test "${with_cross_host+set}" = set; then
6460 withval="$with_cross_host"
6461
6462 fi;
6463
6464 echo "$as_me:$LINENO: checking whether Solaris gcc optimization fix is necessary" >&5
6465 echo $ECHO_N "checking whether Solaris gcc optimization fix is necessary... $ECHO_C" >&6
6466 case "$host" in
6467 sparc-sun-solaris2*|*aix*)
6468 if test "$GCC" = yes; then
6469 echo "$as_me:$LINENO: result: yes" >&5
6470 echo "${ECHO_T}yes" >&6
6471 new_CFLAGS=
6472 for i in $CFLAGS; do
6473 case "$i" in
6474 -O*)
6475 ;;
6476 *)
6477 new_CFLAGS="$new_CFLAGS $i"
6478 ;;
6479 esac
6480 done
6481 CFLAGS="$new_CFLAGS"
6482 else
6483 echo "$as_me:$LINENO: result: no" >&5
6484 echo "${ECHO_T}no" >&6
6485 fi
6486 ;;
6487 *) echo "$as_me:$LINENO: result: no" >&5
6488 echo "${ECHO_T}no" >&6 ;;
6489 esac
6490
6491 MY_CFLAGS="$CFLAGS"
6492
6493
6494 cat >>confdefs.h <<\_ACEOF
6495 #define SILENT 1
6496 _ACEOF
6497
6498 cat >>confdefs.h <<\_ACEOF
6499 #define NO_SIGNALS 1
6500 _ACEOF
6501
6502 cat >>confdefs.h <<\_ACEOF
6503 #define ALL_INTERIOR_POINTERS 1
6504 _ACEOF
6505
6506
6507 cat >>confdefs.h <<\_ACEOF
6508 #define JAVA_FINALIZATION 1
6509 _ACEOF
6510
6511 cat >>confdefs.h <<\_ACEOF
6512 #define GC_GCJ_SUPPORT 1
6513 _ACEOF
6514
6515 cat >>confdefs.h <<\_ACEOF
6516 #define ATOMIC_UNCOLLECTABLE 1
6517 _ACEOF
6518
6519
6520 if test -n "${with_cross_host}"; then
6521 cat >>confdefs.h <<\_ACEOF
6522 #define NO_SIGSET 1
6523 _ACEOF
6524
6525 cat >>confdefs.h <<\_ACEOF
6526 #define NO_DEBUGGING 1
6527 _ACEOF
6528
6529 fi
6530
6531 # Check whether --enable-full-debug or --disable-full-debug was given.
6532 if test "${enable_full_debug+set}" = set; then
6533 enableval="$enable_full_debug"
6534 if test "$enable_full_debug" = "yes"; then
6535 { echo "$as_me:$LINENO: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&5
6536 echo "$as_me: WARNING: \"Must define GC_DEBUG and use debug alloc. in clients.\"" >&2;}
6537 cat >>confdefs.h <<\_ACEOF
6538 #define KEEP_BACK_PTRS 1
6539 _ACEOF
6540
6541 cat >>confdefs.h <<\_ACEOF
6542 #define DBG_HDRS_ALL 1
6543 _ACEOF
6544
6545 case $host in
6546 ia64-*-linux* )
6547 cat >>confdefs.h <<\_ACEOF
6548 #define MAKE_BACK_GRAPH 1
6549 _ACEOF
6550
6551 ;;
6552 x86-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* )
6553 cat >>confdefs.h <<\_ACEOF
6554 #define MAKE_BACK_GRAPH 1
6555 _ACEOF
6556
6557 { echo "$as_me:$LINENO: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&5
6558 echo "$as_me: WARNING: \"Client must not use -fomit-frame-pointer.\"" >&2;}
6559 cat >>confdefs.h <<\_ACEOF
6560 #define SAVE_CALL_COUNT 8
6561 _ACEOF
6562
6563 ;;
6564 i345686-*-dgux*)
6565 cat >>confdefs.h <<\_ACEOF
6566 #define MAKE_BACK_GRAPH 1
6567 _ACEOF
6568
6569 ;;
6570 esac
6571 fi
6572 fi;
6573
6574 if test -n "$with_cross_host" &&
6575 test x"$with_cross_host" != x"no"; then
6576 toolexecdir='$(exec_prefix)/$(target_noncanonical)'
6577 toolexeclibdir='$(toolexecdir)/lib'
6578 else
6579 toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)'
6580 toolexeclibdir='$(libdir)'
6581 fi
6582 multi_os_directory=`$CC -print-multi-os-directory`
6583 case $multi_os_directory in
6584 .) ;; # Avoid trailing /.
6585 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
6586 esac
6587
6588
6589
6590 if test "${multilib}" = "yes"; then
6591 multilib_arg="--enable-multilib"
6592 else
6593 multilib_arg=
6594 fi
6595
6596 ac_config_headers="$ac_config_headers include/gc_config.h"
6597
6598
6599 ac_config_files="$ac_config_files Makefile include/Makefile"
6600
6601 cat >confcache <<\_ACEOF
6602 # This file is a shell script that caches the results of configure
6603 # tests run on this system so they can be shared between configure
6604 # scripts and configure runs, see configure's option --config-cache.
6605 # It is not useful on other systems. If it contains results you don't
6606 # want to keep, you may remove or edit it.
6607 #
6608 # config.status only pays attention to the cache file if you give it
6609 # the --recheck option to rerun configure.
6610 #
6611 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6612 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6613 # following values.
6614
6615 _ACEOF
6616
6617 # The following way of writing the cache mishandles newlines in values,
6618 # but we know of no workaround that is simple, portable, and efficient.
6619 # So, don't put newlines in cache variables' values.
6620 # Ultrix sh set writes to stderr and can't be redirected directly,
6621 # and sets the high bit in the cache file unless we assign to the vars.
6622 {
6623 (set) 2>&1 |
6624 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6625 *ac_space=\ *)
6626 # `set' does not quote correctly, so add quotes (double-quote
6627 # substitution turns \\\\ into \\, and sed turns \\ into \).
6628 sed -n \
6629 "s/'/'\\\\''/g;
6630 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6631 ;;
6632 *)
6633 # `set' quotes correctly as required by POSIX, so do not add quotes.
6634 sed -n \
6635 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6636 ;;
6637 esac;
6638 } |
6639 sed '
6640 t clear
6641 : clear
6642 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6643 t end
6644 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6645 : end' >>confcache
6646 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6647 if test -w $cache_file; then
6648 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6649 cat confcache >$cache_file
6650 else
6651 echo "not updating unwritable cache $cache_file"
6652 fi
6653 fi
6654 rm -f confcache
6655
6656 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6657 # Let make expand exec_prefix.
6658 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6659
6660 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6661 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6662 # trailing colons and then remove the whole line if VPATH becomes empty
6663 # (actually we leave an empty line to preserve line numbers).
6664 if test "x$srcdir" = x.; then
6665 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6666 s/:*\$(srcdir):*/:/;
6667 s/:*\${srcdir}:*/:/;
6668 s/:*@srcdir@:*/:/;
6669 s/^\([^=]*=[ ]*\):*/\1/;
6670 s/:*$//;
6671 s/^[^=]*=[ ]*$//;
6672 }'
6673 fi
6674
6675 DEFS=-DHAVE_CONFIG_H
6676
6677 ac_libobjs=
6678 ac_ltlibobjs=
6679 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6680 # 1. Remove the extension, and $U if already installed.
6681 ac_i=`echo "$ac_i" |
6682 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6683 # 2. Add them.
6684 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6685 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6686 done
6687 LIBOBJS=$ac_libobjs
6688
6689 LTLIBOBJS=$ac_ltlibobjs
6690
6691
6692 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6693 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6694 Usually this means the macro was only invoked conditionally." >&5
6695 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6696 Usually this means the macro was only invoked conditionally." >&2;}
6697 { (exit 1); exit 1; }; }
6698 fi
6699 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6700 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6701 Usually this means the macro was only invoked conditionally." >&5
6702 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6703 Usually this means the macro was only invoked conditionally." >&2;}
6704 { (exit 1); exit 1; }; }
6705 fi
6706 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6707 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
6708 Usually this means the macro was only invoked conditionally." >&5
6709 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
6710 Usually this means the macro was only invoked conditionally." >&2;}
6711 { (exit 1); exit 1; }; }
6712 fi
6713 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6714 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6715 Usually this means the macro was only invoked conditionally." >&5
6716 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6717 Usually this means the macro was only invoked conditionally." >&2;}
6718 { (exit 1); exit 1; }; }
6719 fi
6720 if test -z "${POWERPC_DARWIN_TRUE}" && test -z "${POWERPC_DARWIN_FALSE}"; then
6721 { { echo "$as_me:$LINENO: error: conditional \"POWERPC_DARWIN\" was never defined.
6722 Usually this means the macro was only invoked conditionally." >&5
6723 echo "$as_me: error: conditional \"POWERPC_DARWIN\" was never defined.
6724 Usually this means the macro was only invoked conditionally." >&2;}
6725 { (exit 1); exit 1; }; }
6726 fi
6727 if test -z "${CPLUSPLUS_TRUE}" && test -z "${CPLUSPLUS_FALSE}"; then
6728 { { echo "$as_me:$LINENO: error: conditional \"CPLUSPLUS\" was never defined.
6729 Usually this means the macro was only invoked conditionally." >&5
6730 echo "$as_me: error: conditional \"CPLUSPLUS\" was never defined.
6731 Usually this means the macro was only invoked conditionally." >&2;}
6732 { (exit 1); exit 1; }; }
6733 fi
6734
6735 : ${CONFIG_STATUS=./config.status}
6736 ac_clean_files_save=$ac_clean_files
6737 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6738 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6739 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6740 cat >$CONFIG_STATUS <<_ACEOF
6741 #! $SHELL
6742 # Generated by $as_me.
6743 # Run this file to recreate the current configuration.
6744 # Compiler output produced by configure, useful for debugging
6745 # configure, is in config.log if it exists.
6746
6747 debug=false
6748 ac_cs_recheck=false
6749 ac_cs_silent=false
6750 SHELL=\${CONFIG_SHELL-$SHELL}
6751 _ACEOF
6752
6753 cat >>$CONFIG_STATUS <<\_ACEOF
6754 ## --------------------- ##
6755 ## M4sh Initialization. ##
6756 ## --------------------- ##
6757
6758 # Be Bourne compatible
6759 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6760 emulate sh
6761 NULLCMD=:
6762 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6763 # is contrary to our usage. Disable this feature.
6764 alias -g '${1+"$@"}'='"$@"'
6765 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6766 set -o posix
6767 fi
6768 DUALCASE=1; export DUALCASE # for MKS sh
6769
6770 # Support unset when possible.
6771 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6772 as_unset=unset
6773 else
6774 as_unset=false
6775 fi
6776
6777
6778 # Work around bugs in pre-3.0 UWIN ksh.
6779 $as_unset ENV MAIL MAILPATH
6780 PS1='$ '
6781 PS2='> '
6782 PS4='+ '
6783
6784 # NLS nuisances.
6785 for as_var in \
6786 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6787 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6788 LC_TELEPHONE LC_TIME
6789 do
6790 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6791 eval $as_var=C; export $as_var
6792 else
6793 $as_unset $as_var
6794 fi
6795 done
6796
6797 # Required to use basename.
6798 if expr a : '\(a\)' >/dev/null 2>&1; then
6799 as_expr=expr
6800 else
6801 as_expr=false
6802 fi
6803
6804 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6805 as_basename=basename
6806 else
6807 as_basename=false
6808 fi
6809
6810
6811 # Name of the executable.
6812 as_me=`$as_basename "$0" ||
6813 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6814 X"$0" : 'X\(//\)$' \| \
6815 X"$0" : 'X\(/\)$' \| \
6816 . : '\(.\)' 2>/dev/null ||
6817 echo X/"$0" |
6818 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6819 /^X\/\(\/\/\)$/{ s//\1/; q; }
6820 /^X\/\(\/\).*/{ s//\1/; q; }
6821 s/.*/./; q'`
6822
6823
6824 # PATH needs CR, and LINENO needs CR and PATH.
6825 # Avoid depending upon Character Ranges.
6826 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6827 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6828 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6829 as_cr_digits='0123456789'
6830 as_cr_alnum=$as_cr_Letters$as_cr_digits
6831
6832 # The user is always right.
6833 if test "${PATH_SEPARATOR+set}" != set; then
6834 echo "#! /bin/sh" >conf$$.sh
6835 echo "exit 0" >>conf$$.sh
6836 chmod +x conf$$.sh
6837 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6838 PATH_SEPARATOR=';'
6839 else
6840 PATH_SEPARATOR=:
6841 fi
6842 rm -f conf$$.sh
6843 fi
6844
6845
6846 as_lineno_1=$LINENO
6847 as_lineno_2=$LINENO
6848 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6849 test "x$as_lineno_1" != "x$as_lineno_2" &&
6850 test "x$as_lineno_3" = "x$as_lineno_2" || {
6851 # Find who we are. Look in the path if we contain no path at all
6852 # relative or not.
6853 case $0 in
6854 *[\\/]* ) as_myself=$0 ;;
6855 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6856 for as_dir in $PATH
6857 do
6858 IFS=$as_save_IFS
6859 test -z "$as_dir" && as_dir=.
6860 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6861 done
6862
6863 ;;
6864 esac
6865 # We did not find ourselves, most probably we were run as `sh COMMAND'
6866 # in which case we are not to be found in the path.
6867 if test "x$as_myself" = x; then
6868 as_myself=$0
6869 fi
6870 if test ! -f "$as_myself"; then
6871 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6872 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6873 { (exit 1); exit 1; }; }
6874 fi
6875 case $CONFIG_SHELL in
6876 '')
6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6878 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6879 do
6880 IFS=$as_save_IFS
6881 test -z "$as_dir" && as_dir=.
6882 for as_base in sh bash ksh sh5; do
6883 case $as_dir in
6884 /*)
6885 if ("$as_dir/$as_base" -c '
6886 as_lineno_1=$LINENO
6887 as_lineno_2=$LINENO
6888 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6889 test "x$as_lineno_1" != "x$as_lineno_2" &&
6890 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6891 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6892 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6893 CONFIG_SHELL=$as_dir/$as_base
6894 export CONFIG_SHELL
6895 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6896 fi;;
6897 esac
6898 done
6899 done
6900 ;;
6901 esac
6902
6903 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6904 # uniformly replaced by the line number. The first 'sed' inserts a
6905 # line-number line before each line; the second 'sed' does the real
6906 # work. The second script uses 'N' to pair each line-number line
6907 # with the numbered line, and appends trailing '-' during
6908 # substitution so that $LINENO is not a special case at line end.
6909 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6910 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6911 sed '=' <$as_myself |
6912 sed '
6913 N
6914 s,$,-,
6915 : loop
6916 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6917 t loop
6918 s,-$,,
6919 s,^['$as_cr_digits']*\n,,
6920 ' >$as_me.lineno &&
6921 chmod +x $as_me.lineno ||
6922 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6923 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6924 { (exit 1); exit 1; }; }
6925
6926 # Don't try to exec as it changes $[0], causing all sort of problems
6927 # (the dirname of $[0] is not the place where we might find the
6928 # original and so on. Autoconf is especially sensible to this).
6929 . ./$as_me.lineno
6930 # Exit status is that of the last command.
6931 exit
6932 }
6933
6934
6935 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6936 *c*,-n*) ECHO_N= ECHO_C='
6937 ' ECHO_T=' ' ;;
6938 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6939 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6940 esac
6941
6942 if expr a : '\(a\)' >/dev/null 2>&1; then
6943 as_expr=expr
6944 else
6945 as_expr=false
6946 fi
6947
6948 rm -f conf$$ conf$$.exe conf$$.file
6949 echo >conf$$.file
6950 if ln -s conf$$.file conf$$ 2>/dev/null; then
6951 # We could just check for DJGPP; but this test a) works b) is more generic
6952 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6953 if test -f conf$$.exe; then
6954 # Don't use ln at all; we don't have any links
6955 as_ln_s='cp -p'
6956 else
6957 as_ln_s='ln -s'
6958 fi
6959 elif ln conf$$.file conf$$ 2>/dev/null; then
6960 as_ln_s=ln
6961 else
6962 as_ln_s='cp -p'
6963 fi
6964 rm -f conf$$ conf$$.exe conf$$.file
6965
6966 if mkdir -p . 2>/dev/null; then
6967 as_mkdir_p=:
6968 else
6969 test -d ./-p && rmdir ./-p
6970 as_mkdir_p=false
6971 fi
6972
6973 as_executable_p="test -f"
6974
6975 # Sed expression to map a string onto a valid CPP name.
6976 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6977
6978 # Sed expression to map a string onto a valid variable name.
6979 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6980
6981
6982 # IFS
6983 # We need space, tab and new line, in precisely that order.
6984 as_nl='
6985 '
6986 IFS=" $as_nl"
6987
6988 # CDPATH.
6989 $as_unset CDPATH
6990
6991 exec 6>&1
6992
6993 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6994 # report actual input values of CONFIG_FILES etc. instead of their
6995 # values after options handling. Logging --version etc. is OK.
6996 exec 5>>config.log
6997 {
6998 echo
6999 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7000 ## Running $as_me. ##
7001 _ASBOX
7002 } >&5
7003 cat >&5 <<_CSEOF
7004
7005 This file was extended by $as_me, which was
7006 generated by GNU Autoconf 2.59. Invocation command line was
7007
7008 CONFIG_FILES = $CONFIG_FILES
7009 CONFIG_HEADERS = $CONFIG_HEADERS
7010 CONFIG_LINKS = $CONFIG_LINKS
7011 CONFIG_COMMANDS = $CONFIG_COMMANDS
7012 $ $0 $@
7013
7014 _CSEOF
7015 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7016 echo >&5
7017 _ACEOF
7018
7019 # Files that config.status was made for.
7020 if test -n "$ac_config_files"; then
7021 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7022 fi
7023
7024 if test -n "$ac_config_headers"; then
7025 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7026 fi
7027
7028 if test -n "$ac_config_links"; then
7029 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7030 fi
7031
7032 if test -n "$ac_config_commands"; then
7033 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7034 fi
7035
7036 cat >>$CONFIG_STATUS <<\_ACEOF
7037
7038 ac_cs_usage="\
7039 \`$as_me' instantiates files from templates according to the
7040 current configuration.
7041
7042 Usage: $0 [OPTIONS] [FILE]...
7043
7044 -h, --help print this help, then exit
7045 -V, --version print version number, then exit
7046 -q, --quiet do not print progress messages
7047 -d, --debug don't remove temporary files
7048 --recheck update $as_me by reconfiguring in the same conditions
7049 --file=FILE[:TEMPLATE]
7050 instantiate the configuration file FILE
7051 --header=FILE[:TEMPLATE]
7052 instantiate the configuration header FILE
7053
7054 Configuration files:
7055 $config_files
7056
7057 Configuration headers:
7058 $config_headers
7059
7060 Configuration commands:
7061 $config_commands
7062
7063 Report bugs to <bug-autoconf@gnu.org>."
7064 _ACEOF
7065
7066 cat >>$CONFIG_STATUS <<_ACEOF
7067 ac_cs_version="\\
7068 config.status
7069 configured by $0, generated by GNU Autoconf 2.59,
7070 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7071
7072 Copyright (C) 2003 Free Software Foundation, Inc.
7073 This config.status script is free software; the Free Software Foundation
7074 gives unlimited permission to copy, distribute and modify it."
7075 srcdir=$srcdir
7076 INSTALL="$INSTALL"
7077 _ACEOF
7078
7079 cat >>$CONFIG_STATUS <<\_ACEOF
7080 # If no file are specified by the user, then we need to provide default
7081 # value. By we need to know if files were specified by the user.
7082 ac_need_defaults=:
7083 while test $# != 0
7084 do
7085 case $1 in
7086 --*=*)
7087 ac_option=`expr "x$1" : 'x\([^=]*\)='`
7088 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7089 ac_shift=:
7090 ;;
7091 -*)
7092 ac_option=$1
7093 ac_optarg=$2
7094 ac_shift=shift
7095 ;;
7096 *) # This is not an option, so the user has probably given explicit
7097 # arguments.
7098 ac_option=$1
7099 ac_need_defaults=false;;
7100 esac
7101
7102 case $ac_option in
7103 # Handling of the options.
7104 _ACEOF
7105 cat >>$CONFIG_STATUS <<\_ACEOF
7106 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7107 ac_cs_recheck=: ;;
7108 --version | --vers* | -V )
7109 echo "$ac_cs_version"; exit 0 ;;
7110 --he | --h)
7111 # Conflict between --help and --header
7112 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7113 Try \`$0 --help' for more information." >&5
7114 echo "$as_me: error: ambiguous option: $1
7115 Try \`$0 --help' for more information." >&2;}
7116 { (exit 1); exit 1; }; };;
7117 --help | --hel | -h )
7118 echo "$ac_cs_usage"; exit 0 ;;
7119 --debug | --d* | -d )
7120 debug=: ;;
7121 --file | --fil | --fi | --f )
7122 $ac_shift
7123 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7124 ac_need_defaults=false;;
7125 --header | --heade | --head | --hea )
7126 $ac_shift
7127 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7128 ac_need_defaults=false;;
7129 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7130 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7131 ac_cs_silent=: ;;
7132
7133 # This is an error.
7134 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7135 Try \`$0 --help' for more information." >&5
7136 echo "$as_me: error: unrecognized option: $1
7137 Try \`$0 --help' for more information." >&2;}
7138 { (exit 1); exit 1; }; } ;;
7139
7140 *) ac_config_targets="$ac_config_targets $1" ;;
7141
7142 esac
7143 shift
7144 done
7145
7146 ac_configure_extra_args=
7147
7148 if $ac_cs_silent; then
7149 exec 6>/dev/null
7150 ac_configure_extra_args="$ac_configure_extra_args --silent"
7151 fi
7152
7153 _ACEOF
7154 cat >>$CONFIG_STATUS <<_ACEOF
7155 if \$ac_cs_recheck; then
7156 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7157 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7158 fi
7159
7160 _ACEOF
7161
7162 cat >>$CONFIG_STATUS <<_ACEOF
7163 #
7164 # INIT-COMMANDS section.
7165 #
7166
7167
7168 srcdir="$srcdir"
7169 host="$host"
7170 target="$target"
7171 with_multisubdir="$with_multisubdir"
7172 with_multisrctop="$with_multisrctop"
7173 with_target_subdir="$with_target_subdir"
7174 ac_configure_args="${multilib_arg} ${ac_configure_args}"
7175 multi_basedir="$multi_basedir"
7176 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
7177 CC="$CC"
7178 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7179
7180 _ACEOF
7181
7182
7183
7184 cat >>$CONFIG_STATUS <<\_ACEOF
7185 for ac_config_target in $ac_config_targets
7186 do
7187 case "$ac_config_target" in
7188 # Handling of arguments.
7189 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7190 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
7191 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
7192 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7193 "include/gc_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/gc_config.h" ;;
7194 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7195 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7196 { (exit 1); exit 1; }; };;
7197 esac
7198 done
7199
7200 # If the user did not use the arguments to specify the items to instantiate,
7201 # then the envvar interface is used. Set only those that are not.
7202 # We use the long form for the default assignment because of an extremely
7203 # bizarre bug on SunOS 4.1.3.
7204 if $ac_need_defaults; then
7205 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7206 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7207 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7208 fi
7209
7210 # Have a temporary directory for convenience. Make it in the build tree
7211 # simply because there is no reason to put it here, and in addition,
7212 # creating and moving files from /tmp can sometimes cause problems.
7213 # Create a temporary directory, and hook for its removal unless debugging.
7214 $debug ||
7215 {
7216 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7217 trap '{ (exit 1); exit 1; }' 1 2 13 15
7218 }
7219
7220 # Create a (secure) tmp directory for tmp files.
7221
7222 {
7223 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7224 test -n "$tmp" && test -d "$tmp"
7225 } ||
7226 {
7227 tmp=./confstat$$-$RANDOM
7228 (umask 077 && mkdir $tmp)
7229 } ||
7230 {
7231 echo "$me: cannot create a temporary directory in ." >&2
7232 { (exit 1); exit 1; }
7233 }
7234
7235 _ACEOF
7236
7237 cat >>$CONFIG_STATUS <<_ACEOF
7238
7239 #
7240 # CONFIG_FILES section.
7241 #
7242
7243 # No need to generate the scripts if there are no CONFIG_FILES.
7244 # This happens for instance when ./config.status config.h
7245 if test -n "\$CONFIG_FILES"; then
7246 # Protect against being on the right side of a sed subst in config.status.
7247 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7248 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7249 s,@SHELL@,$SHELL,;t t
7250 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7251 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7252 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7253 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7254 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7255 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7256 s,@exec_prefix@,$exec_prefix,;t t
7257 s,@prefix@,$prefix,;t t
7258 s,@program_transform_name@,$program_transform_name,;t t
7259 s,@bindir@,$bindir,;t t
7260 s,@sbindir@,$sbindir,;t t
7261 s,@libexecdir@,$libexecdir,;t t
7262 s,@datadir@,$datadir,;t t
7263 s,@sysconfdir@,$sysconfdir,;t t
7264 s,@sharedstatedir@,$sharedstatedir,;t t
7265 s,@localstatedir@,$localstatedir,;t t
7266 s,@libdir@,$libdir,;t t
7267 s,@includedir@,$includedir,;t t
7268 s,@oldincludedir@,$oldincludedir,;t t
7269 s,@infodir@,$infodir,;t t
7270 s,@mandir@,$mandir,;t t
7271 s,@build_alias@,$build_alias,;t t
7272 s,@host_alias@,$host_alias,;t t
7273 s,@target_alias@,$target_alias,;t t
7274 s,@DEFS@,$DEFS,;t t
7275 s,@ECHO_C@,$ECHO_C,;t t
7276 s,@ECHO_N@,$ECHO_N,;t t
7277 s,@ECHO_T@,$ECHO_T,;t t
7278 s,@LIBS@,$LIBS,;t t
7279 s,@multi_basedir@,$multi_basedir,;t t
7280 s,@build@,$build,;t t
7281 s,@build_cpu@,$build_cpu,;t t
7282 s,@build_vendor@,$build_vendor,;t t
7283 s,@build_os@,$build_os,;t t
7284 s,@host@,$host,;t t
7285 s,@host_cpu@,$host_cpu,;t t
7286 s,@host_vendor@,$host_vendor,;t t
7287 s,@host_os@,$host_os,;t t
7288 s,@target@,$target,;t t
7289 s,@target_cpu@,$target_cpu,;t t
7290 s,@target_vendor@,$target_vendor,;t t
7291 s,@target_os@,$target_os,;t t
7292 s,@mkinstalldirs@,$mkinstalldirs,;t t
7293 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7294 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7295 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7296 s,@CYGPATH_W@,$CYGPATH_W,;t t
7297 s,@PACKAGE@,$PACKAGE,;t t
7298 s,@VERSION@,$VERSION,;t t
7299 s,@ACLOCAL@,$ACLOCAL,;t t
7300 s,@AUTOCONF@,$AUTOCONF,;t t
7301 s,@AUTOMAKE@,$AUTOMAKE,;t t
7302 s,@AUTOHEADER@,$AUTOHEADER,;t t
7303 s,@MAKEINFO@,$MAKEINFO,;t t
7304 s,@install_sh@,$install_sh,;t t
7305 s,@STRIP@,$STRIP,;t t
7306 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7307 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7308 s,@mkdir_p@,$mkdir_p,;t t
7309 s,@AWK@,$AWK,;t t
7310 s,@SET_MAKE@,$SET_MAKE,;t t
7311 s,@am__leading_dot@,$am__leading_dot,;t t
7312 s,@AMTAR@,$AMTAR,;t t
7313 s,@am__tar@,$am__tar,;t t
7314 s,@am__untar@,$am__untar,;t t
7315 s,@CC@,$CC,;t t
7316 s,@ac_ct_CC@,$ac_ct_CC,;t t
7317 s,@EXEEXT@,$EXEEXT,;t t
7318 s,@OBJEXT@,$OBJEXT,;t t
7319 s,@DEPDIR@,$DEPDIR,;t t
7320 s,@am__include@,$am__include,;t t
7321 s,@am__quote@,$am__quote,;t t
7322 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7323 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7324 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7325 s,@CCDEPMODE@,$CCDEPMODE,;t t
7326 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7327 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7328 s,@CXX@,$CXX,;t t
7329 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
7330 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
7331 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
7332 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
7333 s,@CFLAGS@,$CFLAGS,;t t
7334 s,@CXXFLAGS@,$CXXFLAGS,;t t
7335 s,@CCAS@,$CCAS,;t t
7336 s,@CCASFLAGS@,$CCASFLAGS,;t t
7337 s,@AS@,$AS,;t t
7338 s,@ac_ct_AS@,$ac_ct_AS,;t t
7339 s,@AR@,$AR,;t t
7340 s,@ac_ct_AR@,$ac_ct_AR,;t t
7341 s,@RANLIB@,$RANLIB,;t t
7342 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7343 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7344 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7345 s,@MAINT@,$MAINT,;t t
7346 s,@GC_CFLAGS@,$GC_CFLAGS,;t t
7347 s,@LN_S@,$LN_S,;t t
7348 s,@LIBTOOL@,$LIBTOOL,;t t
7349 s,@CXXCPP@,$CXXCPP,;t t
7350 s,@CPPFLAGS@,$CPPFLAGS,;t t
7351 s,@THREADLIBS@,$THREADLIBS,;t t
7352 s,@POWERPC_DARWIN_TRUE@,$POWERPC_DARWIN_TRUE,;t t
7353 s,@POWERPC_DARWIN_FALSE@,$POWERPC_DARWIN_FALSE,;t t
7354 s,@EXTRA_TEST_LIBS@,$EXTRA_TEST_LIBS,;t t
7355 s,@target_all@,$target_all,;t t
7356 s,@target_noncanonical@,$target_noncanonical,;t t
7357 s,@CPLUSPLUS_TRUE@,$CPLUSPLUS_TRUE,;t t
7358 s,@CPLUSPLUS_FALSE@,$CPLUSPLUS_FALSE,;t t
7359 s,@AM_CPPFLAGS@,$AM_CPPFLAGS,;t t
7360 s,@addobjs@,$addobjs,;t t
7361 s,@addincludes@,$addincludes,;t t
7362 s,@addlibs@,$addlibs,;t t
7363 s,@addtests@,$addtests,;t t
7364 s,@CPP@,$CPP,;t t
7365 s,@EGREP@,$EGREP,;t t
7366 s,@MY_CFLAGS@,$MY_CFLAGS,;t t
7367 s,@toolexecdir@,$toolexecdir,;t t
7368 s,@toolexeclibdir@,$toolexeclibdir,;t t
7369 s,@LIBOBJS@,$LIBOBJS,;t t
7370 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7371 CEOF
7372
7373 _ACEOF
7374
7375 cat >>$CONFIG_STATUS <<\_ACEOF
7376 # Split the substitutions into bite-sized pieces for seds with
7377 # small command number limits, like on Digital OSF/1 and HP-UX.
7378 ac_max_sed_lines=48
7379 ac_sed_frag=1 # Number of current file.
7380 ac_beg=1 # First line for current file.
7381 ac_end=$ac_max_sed_lines # Line after last line for current file.
7382 ac_more_lines=:
7383 ac_sed_cmds=
7384 while $ac_more_lines; do
7385 if test $ac_beg -gt 1; then
7386 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7387 else
7388 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7389 fi
7390 if test ! -s $tmp/subs.frag; then
7391 ac_more_lines=false
7392 else
7393 # The purpose of the label and of the branching condition is to
7394 # speed up the sed processing (if there are no `@' at all, there
7395 # is no need to browse any of the substitutions).
7396 # These are the two extra sed commands mentioned above.
7397 (echo ':t
7398 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7399 if test -z "$ac_sed_cmds"; then
7400 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7401 else
7402 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7403 fi
7404 ac_sed_frag=`expr $ac_sed_frag + 1`
7405 ac_beg=$ac_end
7406 ac_end=`expr $ac_end + $ac_max_sed_lines`
7407 fi
7408 done
7409 if test -z "$ac_sed_cmds"; then
7410 ac_sed_cmds=cat
7411 fi
7412 fi # test -n "$CONFIG_FILES"
7413
7414 _ACEOF
7415 cat >>$CONFIG_STATUS <<\_ACEOF
7416 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7417 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7418 case $ac_file in
7419 - | *:- | *:-:* ) # input from stdin
7420 cat >$tmp/stdin
7421 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7422 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7423 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7424 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7425 * ) ac_file_in=$ac_file.in ;;
7426 esac
7427
7428 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7429 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7430 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7431 X"$ac_file" : 'X\(//\)[^/]' \| \
7432 X"$ac_file" : 'X\(//\)$' \| \
7433 X"$ac_file" : 'X\(/\)' \| \
7434 . : '\(.\)' 2>/dev/null ||
7435 echo X"$ac_file" |
7436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7437 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7438 /^X\(\/\/\)$/{ s//\1/; q; }
7439 /^X\(\/\).*/{ s//\1/; q; }
7440 s/.*/./; q'`
7441 { if $as_mkdir_p; then
7442 mkdir -p "$ac_dir"
7443 else
7444 as_dir="$ac_dir"
7445 as_dirs=
7446 while test ! -d "$as_dir"; do
7447 as_dirs="$as_dir $as_dirs"
7448 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7449 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7450 X"$as_dir" : 'X\(//\)[^/]' \| \
7451 X"$as_dir" : 'X\(//\)$' \| \
7452 X"$as_dir" : 'X\(/\)' \| \
7453 . : '\(.\)' 2>/dev/null ||
7454 echo X"$as_dir" |
7455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7456 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7457 /^X\(\/\/\)$/{ s//\1/; q; }
7458 /^X\(\/\).*/{ s//\1/; q; }
7459 s/.*/./; q'`
7460 done
7461 test ! -n "$as_dirs" || mkdir $as_dirs
7462 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7463 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7464 { (exit 1); exit 1; }; }; }
7465
7466 ac_builddir=.
7467
7468 if test "$ac_dir" != .; then
7469 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7470 # A "../" for each directory in $ac_dir_suffix.
7471 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7472 else
7473 ac_dir_suffix= ac_top_builddir=
7474 fi
7475
7476 case $srcdir in
7477 .) # No --srcdir option. We are building in place.
7478 ac_srcdir=.
7479 if test -z "$ac_top_builddir"; then
7480 ac_top_srcdir=.
7481 else
7482 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7483 fi ;;
7484 [\\/]* | ?:[\\/]* ) # Absolute path.
7485 ac_srcdir=$srcdir$ac_dir_suffix;
7486 ac_top_srcdir=$srcdir ;;
7487 *) # Relative path.
7488 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7489 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7490 esac
7491
7492 # Do not use `cd foo && pwd` to compute absolute paths, because
7493 # the directories may not exist.
7494 case `pwd` in
7495 .) ac_abs_builddir="$ac_dir";;
7496 *)
7497 case "$ac_dir" in
7498 .) ac_abs_builddir=`pwd`;;
7499 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7500 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7501 esac;;
7502 esac
7503 case $ac_abs_builddir in
7504 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7505 *)
7506 case ${ac_top_builddir}. in
7507 .) ac_abs_top_builddir=$ac_abs_builddir;;
7508 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7509 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7510 esac;;
7511 esac
7512 case $ac_abs_builddir in
7513 .) ac_abs_srcdir=$ac_srcdir;;
7514 *)
7515 case $ac_srcdir in
7516 .) ac_abs_srcdir=$ac_abs_builddir;;
7517 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7518 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7519 esac;;
7520 esac
7521 case $ac_abs_builddir in
7522 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7523 *)
7524 case $ac_top_srcdir in
7525 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7526 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7527 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7528 esac;;
7529 esac
7530
7531
7532 case $INSTALL in
7533 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7534 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7535 esac
7536
7537 if test x"$ac_file" != x-; then
7538 { echo "$as_me:$LINENO: creating $ac_file" >&5
7539 echo "$as_me: creating $ac_file" >&6;}
7540 rm -f "$ac_file"
7541 fi
7542 # Let's still pretend it is `configure' which instantiates (i.e., don't
7543 # use $as_me), people would be surprised to read:
7544 # /* config.h. Generated by config.status. */
7545 if test x"$ac_file" = x-; then
7546 configure_input=
7547 else
7548 configure_input="$ac_file. "
7549 fi
7550 configure_input=$configure_input"Generated from `echo $ac_file_in |
7551 sed 's,.*/,,'` by configure."
7552
7553 # First look for the input files in the build tree, otherwise in the
7554 # src tree.
7555 ac_file_inputs=`IFS=:
7556 for f in $ac_file_in; do
7557 case $f in
7558 -) echo $tmp/stdin ;;
7559 [\\/$]*)
7560 # Absolute (can't be DOS-style, as IFS=:)
7561 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7562 echo "$as_me: error: cannot find input file: $f" >&2;}
7563 { (exit 1); exit 1; }; }
7564 echo "$f";;
7565 *) # Relative
7566 if test -f "$f"; then
7567 # Build tree
7568 echo "$f"
7569 elif test -f "$srcdir/$f"; then
7570 # Source tree
7571 echo "$srcdir/$f"
7572 else
7573 # /dev/null tree
7574 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7575 echo "$as_me: error: cannot find input file: $f" >&2;}
7576 { (exit 1); exit 1; }; }
7577 fi;;
7578 esac
7579 done` || { (exit 1); exit 1; }
7580 _ACEOF
7581 cat >>$CONFIG_STATUS <<_ACEOF
7582 sed "$ac_vpsub
7583 $extrasub
7584 _ACEOF
7585 cat >>$CONFIG_STATUS <<\_ACEOF
7586 :t
7587 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7588 s,@configure_input@,$configure_input,;t t
7589 s,@srcdir@,$ac_srcdir,;t t
7590 s,@abs_srcdir@,$ac_abs_srcdir,;t t
7591 s,@top_srcdir@,$ac_top_srcdir,;t t
7592 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7593 s,@builddir@,$ac_builddir,;t t
7594 s,@abs_builddir@,$ac_abs_builddir,;t t
7595 s,@top_builddir@,$ac_top_builddir,;t t
7596 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7597 s,@INSTALL@,$ac_INSTALL,;t t
7598 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7599 rm -f $tmp/stdin
7600 if test x"$ac_file" != x-; then
7601 mv $tmp/out $ac_file
7602 else
7603 cat $tmp/out
7604 rm -f $tmp/out
7605 fi
7606
7607 done
7608 _ACEOF
7609 cat >>$CONFIG_STATUS <<\_ACEOF
7610
7611 #
7612 # CONFIG_HEADER section.
7613 #
7614
7615 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7616 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7617 #
7618 # ac_d sets the value in "#define NAME VALUE" lines.
7619 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7620 ac_dB='[ ].*$,\1#\2'
7621 ac_dC=' '
7622 ac_dD=',;t'
7623 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7624 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7625 ac_uB='$,\1#\2define\3'
7626 ac_uC=' '
7627 ac_uD=',;t'
7628
7629 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
7630 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7631 case $ac_file in
7632 - | *:- | *:-:* ) # input from stdin
7633 cat >$tmp/stdin
7634 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7635 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7636 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7637 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7638 * ) ac_file_in=$ac_file.in ;;
7639 esac
7640
7641 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7642 echo "$as_me: creating $ac_file" >&6;}
7643
7644 # First look for the input files in the build tree, otherwise in the
7645 # src tree.
7646 ac_file_inputs=`IFS=:
7647 for f in $ac_file_in; do
7648 case $f in
7649 -) echo $tmp/stdin ;;
7650 [\\/$]*)
7651 # Absolute (can't be DOS-style, as IFS=:)
7652 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7653 echo "$as_me: error: cannot find input file: $f" >&2;}
7654 { (exit 1); exit 1; }; }
7655 # Do quote $f, to prevent DOS paths from being IFS'd.
7656 echo "$f";;
7657 *) # Relative
7658 if test -f "$f"; then
7659 # Build tree
7660 echo "$f"
7661 elif test -f "$srcdir/$f"; then
7662 # Source tree
7663 echo "$srcdir/$f"
7664 else
7665 # /dev/null tree
7666 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7667 echo "$as_me: error: cannot find input file: $f" >&2;}
7668 { (exit 1); exit 1; }; }
7669 fi;;
7670 esac
7671 done` || { (exit 1); exit 1; }
7672 # Remove the trailing spaces.
7673 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7674
7675 _ACEOF
7676
7677 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7678 # `conftest.undefs', that substitutes the proper values into
7679 # config.h.in to produce config.h. The first handles `#define'
7680 # templates, and the second `#undef' templates.
7681 # And first: Protect against being on the right side of a sed subst in
7682 # config.status. Protect against being in an unquoted here document
7683 # in config.status.
7684 rm -f conftest.defines conftest.undefs
7685 # Using a here document instead of a string reduces the quoting nightmare.
7686 # Putting comments in sed scripts is not portable.
7687 #
7688 # `end' is used to avoid that the second main sed command (meant for
7689 # 0-ary CPP macros) applies to n-ary macro definitions.
7690 # See the Autoconf documentation for `clear'.
7691 cat >confdef2sed.sed <<\_ACEOF
7692 s/[\\&,]/\\&/g
7693 s,[\\$`],\\&,g
7694 t clear
7695 : clear
7696 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7697 t end
7698 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7699 : end
7700 _ACEOF
7701 # If some macros were called several times there might be several times
7702 # the same #defines, which is useless. Nevertheless, we may not want to
7703 # sort them, since we want the *last* AC-DEFINE to be honored.
7704 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7705 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7706 rm -f confdef2sed.sed
7707
7708 # This sed command replaces #undef with comments. This is necessary, for
7709 # example, in the case of _POSIX_SOURCE, which is predefined and required
7710 # on some systems where configure will not decide to define it.
7711 cat >>conftest.undefs <<\_ACEOF
7712 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7713 _ACEOF
7714
7715 # Break up conftest.defines because some shells have a limit on the size
7716 # of here documents, and old seds have small limits too (100 cmds).
7717 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7718 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7719 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7720 echo ' :' >>$CONFIG_STATUS
7721 rm -f conftest.tail
7722 while grep . conftest.defines >/dev/null
7723 do
7724 # Write a limited-size here document to $tmp/defines.sed.
7725 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7726 # Speed up: don't consider the non `#define' lines.
7727 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7728 # Work around the forget-to-reset-the-flag bug.
7729 echo 't clr' >>$CONFIG_STATUS
7730 echo ': clr' >>$CONFIG_STATUS
7731 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7732 echo 'CEOF
7733 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7734 rm -f $tmp/in
7735 mv $tmp/out $tmp/in
7736 ' >>$CONFIG_STATUS
7737 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7738 rm -f conftest.defines
7739 mv conftest.tail conftest.defines
7740 done
7741 rm -f conftest.defines
7742 echo ' fi # grep' >>$CONFIG_STATUS
7743 echo >>$CONFIG_STATUS
7744
7745 # Break up conftest.undefs because some shells have a limit on the size
7746 # of here documents, and old seds have small limits too (100 cmds).
7747 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7748 rm -f conftest.tail
7749 while grep . conftest.undefs >/dev/null
7750 do
7751 # Write a limited-size here document to $tmp/undefs.sed.
7752 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7753 # Speed up: don't consider the non `#undef'
7754 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7755 # Work around the forget-to-reset-the-flag bug.
7756 echo 't clr' >>$CONFIG_STATUS
7757 echo ': clr' >>$CONFIG_STATUS
7758 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7759 echo 'CEOF
7760 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7761 rm -f $tmp/in
7762 mv $tmp/out $tmp/in
7763 ' >>$CONFIG_STATUS
7764 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7765 rm -f conftest.undefs
7766 mv conftest.tail conftest.undefs
7767 done
7768 rm -f conftest.undefs
7769
7770 cat >>$CONFIG_STATUS <<\_ACEOF
7771 # Let's still pretend it is `configure' which instantiates (i.e., don't
7772 # use $as_me), people would be surprised to read:
7773 # /* config.h. Generated by config.status. */
7774 if test x"$ac_file" = x-; then
7775 echo "/* Generated by configure. */" >$tmp/config.h
7776 else
7777 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7778 fi
7779 cat $tmp/in >>$tmp/config.h
7780 rm -f $tmp/in
7781 if test x"$ac_file" != x-; then
7782 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7783 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7784 echo "$as_me: $ac_file is unchanged" >&6;}
7785 else
7786 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7787 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7788 X"$ac_file" : 'X\(//\)[^/]' \| \
7789 X"$ac_file" : 'X\(//\)$' \| \
7790 X"$ac_file" : 'X\(/\)' \| \
7791 . : '\(.\)' 2>/dev/null ||
7792 echo X"$ac_file" |
7793 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7794 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7795 /^X\(\/\/\)$/{ s//\1/; q; }
7796 /^X\(\/\).*/{ s//\1/; q; }
7797 s/.*/./; q'`
7798 { if $as_mkdir_p; then
7799 mkdir -p "$ac_dir"
7800 else
7801 as_dir="$ac_dir"
7802 as_dirs=
7803 while test ! -d "$as_dir"; do
7804 as_dirs="$as_dir $as_dirs"
7805 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7806 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7807 X"$as_dir" : 'X\(//\)[^/]' \| \
7808 X"$as_dir" : 'X\(//\)$' \| \
7809 X"$as_dir" : 'X\(/\)' \| \
7810 . : '\(.\)' 2>/dev/null ||
7811 echo X"$as_dir" |
7812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7813 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7814 /^X\(\/\/\)$/{ s//\1/; q; }
7815 /^X\(\/\).*/{ s//\1/; q; }
7816 s/.*/./; q'`
7817 done
7818 test ! -n "$as_dirs" || mkdir $as_dirs
7819 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7820 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7821 { (exit 1); exit 1; }; }; }
7822
7823 rm -f $ac_file
7824 mv $tmp/config.h $ac_file
7825 fi
7826 else
7827 cat $tmp/config.h
7828 rm -f $tmp/config.h
7829 fi
7830 # Compute $ac_file's index in $config_headers.
7831 _am_stamp_count=1
7832 for _am_header in $config_headers :; do
7833 case $_am_header in
7834 $ac_file | $ac_file:* )
7835 break ;;
7836 * )
7837 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7838 esac
7839 done
7840 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7841 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7842 X$ac_file : 'X\(//\)[^/]' \| \
7843 X$ac_file : 'X\(//\)$' \| \
7844 X$ac_file : 'X\(/\)' \| \
7845 . : '\(.\)' 2>/dev/null ||
7846 echo X$ac_file |
7847 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7848 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7849 /^X\(\/\/\)$/{ s//\1/; q; }
7850 /^X\(\/\).*/{ s//\1/; q; }
7851 s/.*/./; q'`/stamp-h$_am_stamp_count
7852 done
7853 _ACEOF
7854 cat >>$CONFIG_STATUS <<\_ACEOF
7855
7856 #
7857 # CONFIG_COMMANDS section.
7858 #
7859 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7860 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7861 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7862 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7863 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7864 X"$ac_dest" : 'X\(//\)[^/]' \| \
7865 X"$ac_dest" : 'X\(//\)$' \| \
7866 X"$ac_dest" : 'X\(/\)' \| \
7867 . : '\(.\)' 2>/dev/null ||
7868 echo X"$ac_dest" |
7869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7870 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7871 /^X\(\/\/\)$/{ s//\1/; q; }
7872 /^X\(\/\).*/{ s//\1/; q; }
7873 s/.*/./; q'`
7874 { if $as_mkdir_p; then
7875 mkdir -p "$ac_dir"
7876 else
7877 as_dir="$ac_dir"
7878 as_dirs=
7879 while test ! -d "$as_dir"; do
7880 as_dirs="$as_dir $as_dirs"
7881 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7882 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7883 X"$as_dir" : 'X\(//\)[^/]' \| \
7884 X"$as_dir" : 'X\(//\)$' \| \
7885 X"$as_dir" : 'X\(/\)' \| \
7886 . : '\(.\)' 2>/dev/null ||
7887 echo X"$as_dir" |
7888 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7889 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7890 /^X\(\/\/\)$/{ s//\1/; q; }
7891 /^X\(\/\).*/{ s//\1/; q; }
7892 s/.*/./; q'`
7893 done
7894 test ! -n "$as_dirs" || mkdir $as_dirs
7895 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7896 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7897 { (exit 1); exit 1; }; }; }
7898
7899 ac_builddir=.
7900
7901 if test "$ac_dir" != .; then
7902 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7903 # A "../" for each directory in $ac_dir_suffix.
7904 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7905 else
7906 ac_dir_suffix= ac_top_builddir=
7907 fi
7908
7909 case $srcdir in
7910 .) # No --srcdir option. We are building in place.
7911 ac_srcdir=.
7912 if test -z "$ac_top_builddir"; then
7913 ac_top_srcdir=.
7914 else
7915 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7916 fi ;;
7917 [\\/]* | ?:[\\/]* ) # Absolute path.
7918 ac_srcdir=$srcdir$ac_dir_suffix;
7919 ac_top_srcdir=$srcdir ;;
7920 *) # Relative path.
7921 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7922 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7923 esac
7924
7925 # Do not use `cd foo && pwd` to compute absolute paths, because
7926 # the directories may not exist.
7927 case `pwd` in
7928 .) ac_abs_builddir="$ac_dir";;
7929 *)
7930 case "$ac_dir" in
7931 .) ac_abs_builddir=`pwd`;;
7932 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7933 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7934 esac;;
7935 esac
7936 case $ac_abs_builddir in
7937 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7938 *)
7939 case ${ac_top_builddir}. in
7940 .) ac_abs_top_builddir=$ac_abs_builddir;;
7941 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7942 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7943 esac;;
7944 esac
7945 case $ac_abs_builddir in
7946 .) ac_abs_srcdir=$ac_srcdir;;
7947 *)
7948 case $ac_srcdir in
7949 .) ac_abs_srcdir=$ac_abs_builddir;;
7950 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7951 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7952 esac;;
7953 esac
7954 case $ac_abs_builddir in
7955 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7956 *)
7957 case $ac_top_srcdir in
7958 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7959 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7960 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7961 esac;;
7962 esac
7963
7964
7965 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7966 echo "$as_me: executing $ac_dest commands" >&6;}
7967 case $ac_dest in
7968 default-1 )
7969 # Only add multilib support code if we just rebuilt the top-level
7970 # Makefile.
7971 case " $CONFIG_FILES " in
7972 *" Makefile "*)
7973 ac_file=Makefile . ${multi_basedir}/config-ml.in
7974 ;;
7975 esac ;;
7976 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7977 # Strip MF so we end up with the name of the file.
7978 mf=`echo "$mf" | sed -e 's/:.*$//'`
7979 # Check whether this is an Automake generated Makefile or not.
7980 # We used to match only the files named `Makefile.in', but
7981 # some people rename them; so instead we look at the file content.
7982 # Grep'ing the first line is not enough: some people post-process
7983 # each Makefile.in and add a new line on top of each file to say so.
7984 # So let's grep whole file.
7985 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7986 dirpart=`(dirname "$mf") 2>/dev/null ||
7987 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7988 X"$mf" : 'X\(//\)[^/]' \| \
7989 X"$mf" : 'X\(//\)$' \| \
7990 X"$mf" : 'X\(/\)' \| \
7991 . : '\(.\)' 2>/dev/null ||
7992 echo X"$mf" |
7993 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7994 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7995 /^X\(\/\/\)$/{ s//\1/; q; }
7996 /^X\(\/\).*/{ s//\1/; q; }
7997 s/.*/./; q'`
7998 else
7999 continue
8000 fi
8001 # Extract the definition of DEPDIR, am__include, and am__quote
8002 # from the Makefile without running `make'.
8003 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8004 test -z "$DEPDIR" && continue
8005 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8006 test -z "am__include" && continue
8007 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8008 # When using ansi2knr, U may be empty or an underscore; expand it
8009 U=`sed -n 's/^U = //p' < "$mf"`
8010 # Find all dependency output files, they are included files with
8011 # $(DEPDIR) in their names. We invoke sed twice because it is the
8012 # simplest approach to changing $(DEPDIR) to its actual value in the
8013 # expansion.
8014 for file in `sed -n "
8015 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8016 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8017 # Make sure the directory exists.
8018 test -f "$dirpart/$file" && continue
8019 fdir=`(dirname "$file") 2>/dev/null ||
8020 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8021 X"$file" : 'X\(//\)[^/]' \| \
8022 X"$file" : 'X\(//\)$' \| \
8023 X"$file" : 'X\(/\)' \| \
8024 . : '\(.\)' 2>/dev/null ||
8025 echo X"$file" |
8026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8027 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8028 /^X\(\/\/\)$/{ s//\1/; q; }
8029 /^X\(\/\).*/{ s//\1/; q; }
8030 s/.*/./; q'`
8031 { if $as_mkdir_p; then
8032 mkdir -p $dirpart/$fdir
8033 else
8034 as_dir=$dirpart/$fdir
8035 as_dirs=
8036 while test ! -d "$as_dir"; do
8037 as_dirs="$as_dir $as_dirs"
8038 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8039 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8040 X"$as_dir" : 'X\(//\)[^/]' \| \
8041 X"$as_dir" : 'X\(//\)$' \| \
8042 X"$as_dir" : 'X\(/\)' \| \
8043 . : '\(.\)' 2>/dev/null ||
8044 echo X"$as_dir" |
8045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8046 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8047 /^X\(\/\/\)$/{ s//\1/; q; }
8048 /^X\(\/\).*/{ s//\1/; q; }
8049 s/.*/./; q'`
8050 done
8051 test ! -n "$as_dirs" || mkdir $as_dirs
8052 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8053 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8054 { (exit 1); exit 1; }; }; }
8055
8056 # echo "creating $dirpart/$file"
8057 echo '# dummy' > "$dirpart/$file"
8058 done
8059 done
8060 ;;
8061 esac
8062 done
8063 _ACEOF
8064
8065 cat >>$CONFIG_STATUS <<\_ACEOF
8066
8067 { (exit 0); exit 0; }
8068 _ACEOF
8069 chmod +x $CONFIG_STATUS
8070 ac_clean_files=$ac_clean_files_save
8071
8072
8073 # configure is writing to config.log, and then calls config.status.
8074 # config.status does its own redirection, appending to config.log.
8075 # Unfortunately, on DOS this fails, as config.log is still kept open
8076 # by configure, so config.status won't be able to write to it; its
8077 # output is simply discarded. So we exec the FD to /dev/null,
8078 # effectively closing config.log, so it can be properly (re)opened and
8079 # appended to by config.status. When coming back to configure, we
8080 # need to make the FD available again.
8081 if test "$no_create" != yes; then
8082 ac_cs_success=:
8083 ac_config_status_args=
8084 test "$silent" = yes &&
8085 ac_config_status_args="$ac_config_status_args --quiet"
8086 exec 5>/dev/null
8087 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8088 exec 5>>config.log
8089 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8090 # would make configure fail if this is the last instruction.
8091 $ac_cs_success || { (exit 1); exit 1; }
8092 fi
8093