2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="Makefile.in"
275 ac_subdirs_all="$ac_subdirs_all include component main bsp samples demos"
276 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP sidtarget_arm SIDTARGET_ARM_TRUE SIDTARGET_ARM_FALSE sidtarget_x86 SIDTARGET_X86_TRUE SIDTARGET_X86_FALSE sidtarget_mips SIDTARGET_MIPS_TRUE SIDTARGET_MIPS_FALSE sidtarget_m32r SIDTARGET_M32R_TRUE SIDTARGET_M32R_FALSE sidtarget_m68k SIDTARGET_M68K_TRUE SIDTARGET_M68K_FALSE sidtarget_mep SIDTARGET_MEP_TRUE SIDTARGET_MEP_FALSE sidtarget_mt SIDTARGET_MT_TRUE SIDTARGET_MT_FALSE sidtarget_ppc SIDTARGET_PPC_TRUE SIDTARGET_PPC_FALSE sidtarget_sh SIDTARGET_SH_TRUE SIDTARGET_SH_FALSE sidtarget_sh64 SIDTARGET_SH64_TRUE SIDTARGET_SH64_FALSE sidtarget_xstormy16 SIDTARGET_XSTORMY16_TRUE SIDTARGET_XSTORMY16_FALSE enable_shared target subdirs LIBOBJS LTLIBOBJS'
279 # Initialize some variables set by options.
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name=s,x,x,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
338 -build | --build | --buil | --bui | --bu)
339 ac_prev=build_alias ;;
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build_alias=$ac_optarg ;;
343 -cache-file | --cache-file | --cache-fil | --cache-fi \
344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345 ac_prev=cache_file ;;
346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348 cache_file=$ac_optarg ;;
351 cache_file=config.cache ;;
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357 datadir=$ac_optarg ;;
359 -disable-* | --disable-*)
360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* | --enable-*)
369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383 | --exec | --exe | --ex)
384 ac_prev=exec_prefix ;;
385 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387 | --exec=* | --exe=* | --ex=*)
388 exec_prefix=$ac_optarg ;;
390 -gas | --gas | --ga | --g)
391 # Obsolete; use --with-gas.
394 -help | --help | --hel | --he | -h)
396 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397 ac_init_help=recursive ;;
398 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399 ac_init_help=short ;;
401 -host | --host | --hos | --ho)
402 ac_prev=host_alias ;;
403 -host=* | --host=* | --hos=* | --ho=*)
404 host_alias=$ac_optarg ;;
406 -includedir | --includedir | --includedi | --included | --include \
407 | --includ | --inclu | --incl | --inc)
408 ac_prev=includedir ;;
409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410 | --includ=* | --inclu=* | --incl=* | --inc=*)
411 includedir=$ac_optarg ;;
413 -infodir | --infodir | --infodi | --infod | --info | --inf)
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416 infodir=$ac_optarg ;;
418 -libdir | --libdir | --libdi | --libd)
420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424 | --libexe | --libex | --libe)
425 ac_prev=libexecdir ;;
426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427 | --libexe=* | --libex=* | --libe=*)
428 libexecdir=$ac_optarg ;;
430 -localstatedir | --localstatedir | --localstatedi | --localstated \
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
433 ac_prev=localstatedir ;;
434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437 localstatedir=$ac_optarg ;;
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
445 # Obsolete; use --without-fp.
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449 | --no-cr | --no-c | -n)
452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
456 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458 | --oldin | --oldi | --old | --ol | --o)
459 ac_prev=oldincludedir ;;
460 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463 oldincludedir=$ac_optarg ;;
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
470 -program-prefix | --program-prefix | --program-prefi | --program-pref \
471 | --program-pre | --program-pr | --program-p)
472 ac_prev=program_prefix ;;
473 -program-prefix=* | --program-prefix=* | --program-prefi=* \
474 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475 program_prefix=$ac_optarg ;;
477 -program-suffix | --program-suffix | --program-suffi | --program-suff \
478 | --program-suf | --program-su | --program-s)
479 ac_prev=program_suffix ;;
480 -program-suffix=* | --program-suffix=* | --program-suffi=* \
481 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482 program_suffix=$ac_optarg ;;
484 -program-transform-name | --program-transform-name \
485 | --program-transform-nam | --program-transform-na \
486 | --program-transform-n | --program-transform- \
487 | --program-transform | --program-transfor \
488 | --program-transfo | --program-transf \
489 | --program-trans | --program-tran \
490 | --progr-tra | --program-tr | --program-t)
491 ac_prev=program_transform_name ;;
492 -program-transform-name=* | --program-transform-name=* \
493 | --program-transform-nam=* | --program-transform-na=* \
494 | --program-transform-n=* | --program-transform-=* \
495 | --program-transform=* | --program-transfor=* \
496 | --program-transfo=* | --program-transf=* \
497 | --program-trans=* | --program-tran=* \
498 | --progr-tra=* | --program-tr=* | --program-t=*)
499 program_transform_name=$ac_optarg ;;
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502 | -silent | --silent | --silen | --sile | --sil)
505 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509 sbindir=$ac_optarg ;;
511 -sharedstatedir | --sharedstatedir | --sharedstatedi \
512 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513 | --sharedst | --shareds | --shared | --share | --shar \
515 ac_prev=sharedstatedir ;;
516 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520 sharedstatedir=$ac_optarg ;;
522 -site | --site | --sit)
524 -site=* | --site=* | --sit=*)
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
532 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533 | --syscon | --sysco | --sysc | --sys | --sy)
534 ac_prev=sysconfdir ;;
535 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537 sysconfdir=$ac_optarg ;;
539 -target | --target | --targe | --targ | --tar | --ta | --t)
540 ac_prev=target_alias ;;
541 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542 target_alias=$ac_optarg ;;
544 -v | -verbose | --verbose | --verbos | --verbo | --verb)
547 -version | --version | --versio | --versi | --vers | -V)
551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* | --without-*)
564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577 | --x-incl | --x-inc | --x-in | --x-i)
578 ac_prev=x_includes ;;
579 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581 x_includes=$ac_optarg ;;
583 -x-libraries | --x-libraries | --x-librarie | --x-librari \
584 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585 ac_prev=x_libraries ;;
586 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588 x_libraries=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
625 eval ac_val=$`echo $ac_var`
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val=$`echo $ac_var`
639 [\\/$]* | ?:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x; then
654 if test "x$build_alias" = x; then
655 cross_compiling=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
666 test "$silent" = yes && exec 6>/dev/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
717 ac_env_CC_set=${CC+set}
719 ac_cv_env_CC_set=${CC+set}
720 ac_cv_env_CC_value=$CC
721 ac_env_CFLAGS_set=${CFLAGS+set}
722 ac_env_CFLAGS_value=$CFLAGS
723 ac_cv_env_CFLAGS_set=${CFLAGS+set}
724 ac_cv_env_CFLAGS_value=$CFLAGS
725 ac_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_env_LDFLAGS_value=$LDFLAGS
727 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728 ac_cv_env_LDFLAGS_value=$LDFLAGS
729 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_env_CPPFLAGS_value=$CPPFLAGS
731 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733 ac_env_CXX_set=${CXX+set}
734 ac_env_CXX_value=$CXX
735 ac_cv_env_CXX_set=${CXX+set}
736 ac_cv_env_CXX_value=$CXX
737 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
738 ac_env_CXXFLAGS_value=$CXXFLAGS
739 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
740 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
741 ac_env_CXXCPP_set=${CXXCPP+set}
742 ac_env_CXXCPP_value=$CXXCPP
743 ac_cv_env_CXXCPP_set=${CXXCPP+set}
744 ac_cv_env_CXXCPP_value=$CXXCPP
747 # Report the --help message.
749 if test "$ac_init_help" = "long"; then
750 # Omit some internal or obsolete options to make the list less imposing.
751 # This message is too long to be a string in the A/UX 3.1 sh.
753 \`configure' configures this package to adapt to many kinds of systems.
755 Usage: $0 [OPTION]... [VAR=VALUE]...
757 To assign environment variables (e.g., CC, CFLAGS...), specify them as
758 VAR=VALUE. See below for descriptions of some of the useful variables.
760 Defaults for the options are specified in brackets.
763 -h, --help display this help and exit
764 --help=short display options specific to this package
765 --help=recursive display the short help of all the included packages
766 -V, --version display version information and exit
767 -q, --quiet, --silent do not print \`checking...' messages
768 --cache-file=FILE cache test results in FILE [disabled]
769 -C, --config-cache alias for \`--cache-file=config.cache'
770 -n, --no-create do not create output files
771 --srcdir=DIR find the sources in DIR [configure dir or \`..']
776 Installation directories:
777 --prefix=PREFIX install architecture-independent files in PREFIX
779 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
782 By default, \`make install' will install all the files in
783 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
784 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
785 for instance \`--prefix=\$HOME'.
787 For better control, use the options below.
789 Fine tuning of the installation directories:
790 --bindir=DIR user executables [EPREFIX/bin]
791 --sbindir=DIR system admin executables [EPREFIX/sbin]
792 --libexecdir=DIR program executables [EPREFIX/libexec]
793 --datadir=DIR read-only architecture-independent data [PREFIX/share]
794 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
795 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
796 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
797 --libdir=DIR object code libraries [EPREFIX/lib]
798 --includedir=DIR C header files [PREFIX/include]
799 --oldincludedir=DIR C header files for non-gcc [/usr/include]
800 --infodir=DIR info documentation [PREFIX/info]
801 --mandir=DIR man documentation [PREFIX/man]
807 --program-prefix=PREFIX prepend PREFIX to installed program names
808 --program-suffix=SUFFIX append SUFFIX to installed program names
809 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
813 if test -n "$ac_init_help"; then
818 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
819 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
820 --disable-dependency-tracking speeds up one-time build
821 --enable-dependency-tracking do not reject slow dependency extractors
822 --enable-maintainer-mode enable make rules and dependencies not useful
823 (and sometimes confusing) to the casual installer
824 --enable-targets=LIST support given additional targets, or all
826 Some influential environment variables:
827 CC C compiler command
828 CFLAGS C compiler flags
829 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
830 nonstandard directory <lib dir>
831 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
832 headers in a nonstandard directory <include dir>
833 CXX C++ compiler command
834 CXXFLAGS C++ compiler flags
835 CXXCPP C++ preprocessor
837 Use these variables to override the choices made by `configure' or to help
838 it to find libraries and programs with nonstandard names/locations.
843 if test "$ac_init_help" = "recursive"; then
844 # If there are subdirs, report their specific --help.
846 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
847 test -d $ac_dir || continue
850 if test "$ac_dir" != .; then
851 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
852 # A "../" for each directory in $ac_dir_suffix.
853 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
855 ac_dir_suffix= ac_top_builddir=
859 .) # No --srcdir option. We are building in place.
861 if test -z "$ac_top_builddir"; then
864 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
866 [\\/]* | ?:[\\/]* ) # Absolute path.
867 ac_srcdir=$srcdir$ac_dir_suffix;
868 ac_top_srcdir=$srcdir ;;
870 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
871 ac_top_srcdir=$ac_top_builddir$srcdir ;;
874 # Do not use `cd foo && pwd` to compute absolute paths, because
875 # the directories may not exist.
877 .) ac_abs_builddir="$ac_dir";;
880 .) ac_abs_builddir=`pwd`;;
881 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
882 *) ac_abs_builddir=`pwd`/"$ac_dir";;
885 case $ac_abs_builddir in
886 .) ac_abs_top_builddir=${ac_top_builddir}.;;
888 case ${ac_top_builddir}. in
889 .) ac_abs_top_builddir=$ac_abs_builddir;;
890 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
891 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
894 case $ac_abs_builddir in
895 .) ac_abs_srcdir=$ac_srcdir;;
898 .) ac_abs_srcdir=$ac_abs_builddir;;
899 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
900 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
903 case $ac_abs_builddir in
904 .) ac_abs_top_srcdir=$ac_top_srcdir;;
906 case $ac_top_srcdir in
907 .) ac_abs_top_srcdir=$ac_abs_builddir;;
908 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
909 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
914 # Check for guested configure; otherwise get Cygnus style configure.
915 if test -f $ac_srcdir/configure.gnu; then
917 $SHELL $ac_srcdir/configure.gnu --help=recursive
918 elif test -f $ac_srcdir/configure; then
920 $SHELL $ac_srcdir/configure --help=recursive
921 elif test -f $ac_srcdir/configure.ac ||
922 test -f $ac_srcdir/configure.in; then
926 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
932 test -n "$ac_init_help" && exit 0
933 if $ac_init_version; then
936 Copyright (C) 2003 Free Software Foundation, Inc.
937 This configure script is free software; the Free Software Foundation
938 gives unlimited permission to copy, distribute and modify it.
944 This file contains any messages produced by compilers while
945 running configure, to aid debugging if configure makes a mistake.
947 It was created by $as_me, which was
948 generated by GNU Autoconf 2.59. Invocation command line was
959 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
960 uname -m = `(uname -m) 2>/dev/null || echo unknown`
961 uname -r = `(uname -r) 2>/dev/null || echo unknown`
962 uname -s = `(uname -s) 2>/dev/null || echo unknown`
963 uname -v = `(uname -v) 2>/dev/null || echo unknown`
965 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
966 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
968 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
969 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
970 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
971 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
972 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
973 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
974 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
982 test -z "$as_dir" && as_dir=.
998 # Keep a trace of the command line.
999 # Strip out --no-create and --no-recursion so they do not pile up.
1000 # Strip out --silent because we don't want to record it for future runs.
1001 # Also quote any args containing shell meta-characters.
1002 # Make two passes to allow for proper duplicate-argument suppression.
1007 ac_must_keep_next=false
1013 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1014 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1015 | -silent | --silent | --silen | --sile | --sil)
1017 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1018 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1021 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1023 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1024 if test $ac_must_keep_next = true; then
1025 ac_must_keep_next=false # Got value, back to normal.
1028 *=* | --config-cache | -C | -disable-* | --disable-* \
1029 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1030 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1031 | -with-* | --with-* | -without-* | --without-* | --x)
1032 case "$ac_configure_args0 " in
1033 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1036 -* ) ac_must_keep_next=true ;;
1039 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1040 # Get rid of the leading space.
1046 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1047 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1049 # When interrupted or exit'd, cleanup temporary files, and complete
1050 # config.log. We remove comments because anyway the quotes in there
1051 # would cause problems or look ugly.
1052 # WARNING: Be sure not to use single quotes in there, as some shells,
1053 # such as our DU 5.0 friend, will then `close' the trap.
1054 trap 'exit_status=$?
1055 # Save into config.log some information that might help in debugging.
1060 ## ---------------- ##
1061 ## Cache variables. ##
1062 ## ---------------- ##
1065 # The following way of writing the cache mishandles newlines in values,
1068 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1071 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1072 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1076 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1083 ## ----------------- ##
1084 ## Output variables. ##
1085 ## ----------------- ##
1088 for ac_var in $ac_subst_vars
1090 eval ac_val=$`echo $ac_var`
1091 echo "$ac_var='"'"'$ac_val'"'"'"
1095 if test -n "$ac_subst_files"; then
1102 for ac_var in $ac_subst_files
1104 eval ac_val=$`echo $ac_var`
1105 echo "$ac_var='"'"'$ac_val'"'"'"
1110 if test -s confdefs.h; then
1117 sed "/^$/d" confdefs.h | sort
1120 test "$ac_signal" != 0 &&
1121 echo "$as_me: caught signal $ac_signal"
1122 echo "$as_me: exit $exit_status"
1124 rm -f core *.core &&
1125 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1128 for ac_signal in 1 2 13 15; do
1129 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1133 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1134 rm -rf conftest* confdefs.h
1135 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1138 # Predefined preprocessor variables.
1140 cat >>confdefs.h <<_ACEOF
1141 #define PACKAGE_NAME "$PACKAGE_NAME"
1145 cat >>confdefs.h <<_ACEOF
1146 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1150 cat >>confdefs.h <<_ACEOF
1151 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1155 cat >>confdefs.h <<_ACEOF
1156 #define PACKAGE_STRING "$PACKAGE_STRING"
1160 cat >>confdefs.h <<_ACEOF
1161 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1165 # Let the site file select an alternate cache file if it wants to.
1166 # Prefer explicitly selected file to automatically selected ones.
1167 if test -z "$CONFIG_SITE"; then
1168 if test "x$prefix" != xNONE; then
1169 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1171 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1174 for ac_site_file in $CONFIG_SITE; do
1175 if test -r "$ac_site_file"; then
1176 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1177 echo "$as_me: loading site script $ac_site_file" >&6;}
1178 sed 's/^/| /' "$ac_site_file" >&5
1183 if test -r "$cache_file"; then
1184 # Some versions of bash will fail to source /dev/null (special
1185 # files actually), so we avoid doing that.
1186 if test -f "$cache_file"; then
1187 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1188 echo "$as_me: loading cache $cache_file" >&6;}
1190 [\\/]* | ?:[\\/]* ) . $cache_file;;
1191 *) . ./$cache_file;;
1195 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1196 echo "$as_me: creating cache $cache_file" >&6;}
1200 # Check that the precious variables saved in the cache have kept the same
1202 ac_cache_corrupted=false
1203 for ac_var in `(set) 2>&1 |
1204 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1205 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1206 eval ac_new_set=\$ac_env_${ac_var}_set
1207 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1208 eval ac_new_val="\$ac_env_${ac_var}_value"
1209 case $ac_old_set,$ac_new_set in
1211 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1212 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1213 ac_cache_corrupted=: ;;
1215 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1216 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1217 ac_cache_corrupted=: ;;
1220 if test "x$ac_old_val" != "x$ac_new_val"; then
1221 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1222 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1223 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1224 echo "$as_me: former value: $ac_old_val" >&2;}
1225 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1226 echo "$as_me: current value: $ac_new_val" >&2;}
1227 ac_cache_corrupted=:
1230 # Pass precious variables to config.status.
1231 if test "$ac_new_set" = set; then
1233 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1234 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1235 *) ac_arg=$ac_var=$ac_new_val ;;
1237 case " $ac_configure_args " in
1238 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1239 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1243 if $ac_cache_corrupted; then
1244 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1245 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1246 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1247 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1248 { (exit 1); exit 1; }; }
1252 ac_cpp='$CPP $CPPFLAGS'
1253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1276 for ac_dir in config $srcdir/config; do
1277 if test -f $ac_dir/install-sh; then
1279 ac_install_sh="$ac_aux_dir/install-sh -c"
1281 elif test -f $ac_dir/install.sh; then
1283 ac_install_sh="$ac_aux_dir/install.sh -c"
1285 elif test -f $ac_dir/shtool; then
1287 ac_install_sh="$ac_aux_dir/shtool install -c"
1291 if test -z "$ac_aux_dir"; then
1292 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1293 echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1294 { (exit 1); exit 1; }; }
1296 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1297 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1298 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1302 ac_cpp='$CPP $CPPFLAGS'
1303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1306 if test -n "$ac_tool_prefix"; then
1307 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1308 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1309 echo "$as_me:$LINENO: checking for $ac_word" >&5
1310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1311 if test "${ac_cv_prog_CC+set}" = set; then
1312 echo $ECHO_N "(cached) $ECHO_C" >&6
1314 if test -n "$CC"; then
1315 ac_cv_prog_CC="$CC" # Let the user override the test.
1317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1321 test -z "$as_dir" && as_dir=.
1322 for ac_exec_ext in '' $ac_executable_extensions; do
1323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1324 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1334 if test -n "$CC"; then
1335 echo "$as_me:$LINENO: result: $CC" >&5
1336 echo "${ECHO_T}$CC" >&6
1338 echo "$as_me:$LINENO: result: no" >&5
1339 echo "${ECHO_T}no" >&6
1343 if test -z "$ac_cv_prog_CC"; then
1345 # Extract the first word of "gcc", so it can be a program name with args.
1346 set dummy gcc; ac_word=$2
1347 echo "$as_me:$LINENO: checking for $ac_word" >&5
1348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1349 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1350 echo $ECHO_N "(cached) $ECHO_C" >&6
1352 if test -n "$ac_ct_CC"; then
1353 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1359 test -z "$as_dir" && as_dir=.
1360 for ac_exec_ext in '' $ac_executable_extensions; do
1361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1362 ac_cv_prog_ac_ct_CC="gcc"
1363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1371 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1372 if test -n "$ac_ct_CC"; then
1373 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1374 echo "${ECHO_T}$ac_ct_CC" >&6
1376 echo "$as_me:$LINENO: result: no" >&5
1377 echo "${ECHO_T}no" >&6
1385 if test -z "$CC"; then
1386 if test -n "$ac_tool_prefix"; then
1387 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1388 set dummy ${ac_tool_prefix}cc; ac_word=$2
1389 echo "$as_me:$LINENO: checking for $ac_word" >&5
1390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1391 if test "${ac_cv_prog_CC+set}" = set; then
1392 echo $ECHO_N "(cached) $ECHO_C" >&6
1394 if test -n "$CC"; then
1395 ac_cv_prog_CC="$CC" # Let the user override the test.
1397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1401 test -z "$as_dir" && as_dir=.
1402 for ac_exec_ext in '' $ac_executable_extensions; do
1403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1404 ac_cv_prog_CC="${ac_tool_prefix}cc"
1405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1414 if test -n "$CC"; then
1415 echo "$as_me:$LINENO: result: $CC" >&5
1416 echo "${ECHO_T}$CC" >&6
1418 echo "$as_me:$LINENO: result: no" >&5
1419 echo "${ECHO_T}no" >&6
1423 if test -z "$ac_cv_prog_CC"; then
1425 # Extract the first word of "cc", so it can be a program name with args.
1426 set dummy cc; ac_word=$2
1427 echo "$as_me:$LINENO: checking for $ac_word" >&5
1428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1429 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1430 echo $ECHO_N "(cached) $ECHO_C" >&6
1432 if test -n "$ac_ct_CC"; then
1433 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1439 test -z "$as_dir" && as_dir=.
1440 for ac_exec_ext in '' $ac_executable_extensions; do
1441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1442 ac_cv_prog_ac_ct_CC="cc"
1443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1451 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1452 if test -n "$ac_ct_CC"; then
1453 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1454 echo "${ECHO_T}$ac_ct_CC" >&6
1456 echo "$as_me:$LINENO: result: no" >&5
1457 echo "${ECHO_T}no" >&6
1466 if test -z "$CC"; then
1467 # Extract the first word of "cc", so it can be a program name with args.
1468 set dummy cc; ac_word=$2
1469 echo "$as_me:$LINENO: checking for $ac_word" >&5
1470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1471 if test "${ac_cv_prog_CC+set}" = set; then
1472 echo $ECHO_N "(cached) $ECHO_C" >&6
1474 if test -n "$CC"; then
1475 ac_cv_prog_CC="$CC" # Let the user override the test.
1478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1482 test -z "$as_dir" && as_dir=.
1483 for ac_exec_ext in '' $ac_executable_extensions; do
1484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1485 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1486 ac_prog_rejected=yes
1490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1496 if test $ac_prog_rejected = yes; then
1497 # We found a bogon in the path, so make sure we never use it.
1498 set dummy $ac_cv_prog_CC
1500 if test $# != 0; then
1501 # We chose a different compiler from the bogus one.
1502 # However, it has the same basename, so the bogon will be chosen
1503 # first if we set CC to just the basename; use the full file name.
1505 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1511 if test -n "$CC"; then
1512 echo "$as_me:$LINENO: result: $CC" >&5
1513 echo "${ECHO_T}$CC" >&6
1515 echo "$as_me:$LINENO: result: no" >&5
1516 echo "${ECHO_T}no" >&6
1520 if test -z "$CC"; then
1521 if test -n "$ac_tool_prefix"; then
1524 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1525 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1526 echo "$as_me:$LINENO: checking for $ac_word" >&5
1527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1528 if test "${ac_cv_prog_CC+set}" = set; then
1529 echo $ECHO_N "(cached) $ECHO_C" >&6
1531 if test -n "$CC"; then
1532 ac_cv_prog_CC="$CC" # Let the user override the test.
1534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1538 test -z "$as_dir" && as_dir=.
1539 for ac_exec_ext in '' $ac_executable_extensions; do
1540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1541 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1551 if test -n "$CC"; then
1552 echo "$as_me:$LINENO: result: $CC" >&5
1553 echo "${ECHO_T}$CC" >&6
1555 echo "$as_me:$LINENO: result: no" >&5
1556 echo "${ECHO_T}no" >&6
1559 test -n "$CC" && break
1562 if test -z "$CC"; then
1566 # Extract the first word of "$ac_prog", so it can be a program name with args.
1567 set dummy $ac_prog; ac_word=$2
1568 echo "$as_me:$LINENO: checking for $ac_word" >&5
1569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1570 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1571 echo $ECHO_N "(cached) $ECHO_C" >&6
1573 if test -n "$ac_ct_CC"; then
1574 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1580 test -z "$as_dir" && as_dir=.
1581 for ac_exec_ext in '' $ac_executable_extensions; do
1582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1583 ac_cv_prog_ac_ct_CC="$ac_prog"
1584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1592 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1593 if test -n "$ac_ct_CC"; then
1594 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1595 echo "${ECHO_T}$ac_ct_CC" >&6
1597 echo "$as_me:$LINENO: result: no" >&5
1598 echo "${ECHO_T}no" >&6
1601 test -n "$ac_ct_CC" && break
1610 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1611 See \`config.log' for more details." >&5
1612 echo "$as_me: error: no acceptable C compiler found in \$PATH
1613 See \`config.log' for more details." >&2;}
1614 { (exit 1); exit 1; }; }
1616 # Provide some information about the compiler.
1617 echo "$as_me:$LINENO:" \
1618 "checking for C compiler version" >&5
1619 ac_compiler=`set X $ac_compile; echo $2`
1620 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1621 (eval $ac_compiler --version </dev/null >&5) 2>&5
1623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1624 (exit $ac_status); }
1625 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1626 (eval $ac_compiler -v </dev/null >&5) 2>&5
1628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1629 (exit $ac_status); }
1630 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1631 (eval $ac_compiler -V </dev/null >&5) 2>&5
1633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1634 (exit $ac_status); }
1636 cat >conftest.$ac_ext <<_ACEOF
1639 cat confdefs.h >>conftest.$ac_ext
1640 cat >>conftest.$ac_ext <<_ACEOF
1641 /* end confdefs.h. */
1651 ac_clean_files_save=$ac_clean_files
1652 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1653 # Try to create an executable without -o first, disregard a.out.
1654 # It will help us diagnose broken compilers, and finding out an intuition
1656 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1657 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1658 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1659 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1660 (eval $ac_link_default) 2>&5
1662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1663 (exit $ac_status); }; then
1664 # Find the output, starting from the most likely. This scheme is
1665 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1668 # Be careful to initialize this variable, since it used to be cached.
1669 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1671 # b.out is created by i960 compilers.
1672 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1674 test -f "$ac_file" || continue
1676 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1679 # This is the source file.
1682 # We found the default executable, but exeext='' is most
1686 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1687 # FIXME: I believe we export ac_cv_exeext for Libtool,
1688 # but it would be cool to find out if it's true. Does anybody
1689 # maintain Libtool? --akim.
1697 echo "$as_me: failed program was:" >&5
1698 sed 's/^/| /' conftest.$ac_ext >&5
1700 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1701 See \`config.log' for more details." >&5
1702 echo "$as_me: error: C compiler cannot create executables
1703 See \`config.log' for more details." >&2;}
1704 { (exit 77); exit 77; }; }
1707 ac_exeext=$ac_cv_exeext
1708 echo "$as_me:$LINENO: result: $ac_file" >&5
1709 echo "${ECHO_T}$ac_file" >&6
1711 # Check the compiler produces executables we can run. If not, either
1712 # the compiler is broken, or we cross compile.
1713 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1714 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1715 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1716 # If not cross compiling, check that we can run a simple program.
1717 if test "$cross_compiling" != yes; then
1718 if { ac_try='./$ac_file'
1719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1723 (exit $ac_status); }; }; then
1726 if test "$cross_compiling" = maybe; then
1729 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1730 If you meant to cross compile, use \`--host'.
1731 See \`config.log' for more details." >&5
1732 echo "$as_me: error: cannot run C compiled programs.
1733 If you meant to cross compile, use \`--host'.
1734 See \`config.log' for more details." >&2;}
1735 { (exit 1); exit 1; }; }
1739 echo "$as_me:$LINENO: result: yes" >&5
1740 echo "${ECHO_T}yes" >&6
1742 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1743 ac_clean_files=$ac_clean_files_save
1744 # Check the compiler produces executables we can run. If not, either
1745 # the compiler is broken, or we cross compile.
1746 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1747 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1748 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1749 echo "${ECHO_T}$cross_compiling" >&6
1751 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1752 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1754 (eval $ac_link) 2>&5
1756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1757 (exit $ac_status); }; then
1758 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1759 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1760 # work properly (i.e., refer to `conftest.exe'), while it won't with
1762 for ac_file in conftest.exe conftest conftest.*; do
1763 test -f "$ac_file" || continue
1765 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1766 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1773 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1774 See \`config.log' for more details." >&5
1775 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1776 See \`config.log' for more details." >&2;}
1777 { (exit 1); exit 1; }; }
1780 rm -f conftest$ac_cv_exeext
1781 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1782 echo "${ECHO_T}$ac_cv_exeext" >&6
1784 rm -f conftest.$ac_ext
1785 EXEEXT=$ac_cv_exeext
1787 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1788 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1789 if test "${ac_cv_objext+set}" = set; then
1790 echo $ECHO_N "(cached) $ECHO_C" >&6
1792 cat >conftest.$ac_ext <<_ACEOF
1795 cat confdefs.h >>conftest.$ac_ext
1796 cat >>conftest.$ac_ext <<_ACEOF
1797 /* end confdefs.h. */
1807 rm -f conftest.o conftest.obj
1808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1809 (eval $ac_compile) 2>&5
1811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1812 (exit $ac_status); }; then
1813 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1815 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1816 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1821 echo "$as_me: failed program was:" >&5
1822 sed 's/^/| /' conftest.$ac_ext >&5
1824 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1825 See \`config.log' for more details." >&5
1826 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1827 See \`config.log' for more details." >&2;}
1828 { (exit 1); exit 1; }; }
1831 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1833 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1834 echo "${ECHO_T}$ac_cv_objext" >&6
1835 OBJEXT=$ac_cv_objext
1837 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1838 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1839 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1840 echo $ECHO_N "(cached) $ECHO_C" >&6
1842 cat >conftest.$ac_ext <<_ACEOF
1845 cat confdefs.h >>conftest.$ac_ext
1846 cat >>conftest.$ac_ext <<_ACEOF
1847 /* end confdefs.h. */
1860 rm -f conftest.$ac_objext
1861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1862 (eval $ac_compile) 2>conftest.er1
1864 grep -v '^ *+' conftest.er1 >conftest.err
1866 cat conftest.err >&5
1867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1868 (exit $ac_status); } &&
1869 { ac_try='test -z "$ac_c_werror_flag"
1870 || test ! -s conftest.err'
1871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1875 (exit $ac_status); }; } &&
1876 { ac_try='test -s conftest.$ac_objext'
1877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1881 (exit $ac_status); }; }; then
1884 echo "$as_me: failed program was:" >&5
1885 sed 's/^/| /' conftest.$ac_ext >&5
1889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1890 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1893 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1894 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1895 GCC=`test $ac_compiler_gnu = yes && echo yes`
1896 ac_test_CFLAGS=${CFLAGS+set}
1897 ac_save_CFLAGS=$CFLAGS
1899 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1900 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1901 if test "${ac_cv_prog_cc_g+set}" = set; then
1902 echo $ECHO_N "(cached) $ECHO_C" >&6
1904 cat >conftest.$ac_ext <<_ACEOF
1907 cat confdefs.h >>conftest.$ac_ext
1908 cat >>conftest.$ac_ext <<_ACEOF
1909 /* end confdefs.h. */
1919 rm -f conftest.$ac_objext
1920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1921 (eval $ac_compile) 2>conftest.er1
1923 grep -v '^ *+' conftest.er1 >conftest.err
1925 cat conftest.err >&5
1926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1927 (exit $ac_status); } &&
1928 { ac_try='test -z "$ac_c_werror_flag"
1929 || test ! -s conftest.err'
1930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1934 (exit $ac_status); }; } &&
1935 { ac_try='test -s conftest.$ac_objext'
1936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1940 (exit $ac_status); }; }; then
1943 echo "$as_me: failed program was:" >&5
1944 sed 's/^/| /' conftest.$ac_ext >&5
1948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1950 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1951 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1952 if test "$ac_test_CFLAGS" = set; then
1953 CFLAGS=$ac_save_CFLAGS
1954 elif test $ac_cv_prog_cc_g = yes; then
1955 if test "$GCC" = yes; then
1961 if test "$GCC" = yes; then
1967 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1968 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1969 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 ac_cv_prog_cc_stdc=no
1974 cat >conftest.$ac_ext <<_ACEOF
1977 cat confdefs.h >>conftest.$ac_ext
1978 cat >>conftest.$ac_ext <<_ACEOF
1979 /* end confdefs.h. */
1982 #include <sys/types.h>
1983 #include <sys/stat.h>
1984 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1985 struct buf { int x; };
1986 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1987 static char *e (p, i)
1993 static char *f (char * (*g) (char **, int), char **p, ...)
1998 s = g (p, va_arg (v,int));
2003 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2004 function prototypes and stuff, but not '\xHH' hex character constants.
2005 These don't provoke an error unfortunately, instead are silently treated
2006 as 'x'. The following induces an error, until -std1 is added to get
2007 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2008 array size at least. It's necessary to write '\x00'==0 to get something
2009 that's true only with -std1. */
2010 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2012 int test (int i, double x);
2013 struct s1 {int (*f) (int a);};
2014 struct s2 {int (*f) (double a);};
2015 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2021 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2026 # Don't try gcc -ansi; that turns off useful extensions and
2027 # breaks some systems' header files.
2028 # AIX -qlanglvl=ansi
2029 # Ultrix and OSF/1 -std1
2030 # HP-UX 10.20 and later -Ae
2031 # HP-UX older versions -Aa -D_HPUX_SOURCE
2032 # SVR4 -Xc -D__EXTENSIONS__
2033 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2035 CC="$ac_save_CC $ac_arg"
2036 rm -f conftest.$ac_objext
2037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2038 (eval $ac_compile) 2>conftest.er1
2040 grep -v '^ *+' conftest.er1 >conftest.err
2042 cat conftest.err >&5
2043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2044 (exit $ac_status); } &&
2045 { ac_try='test -z "$ac_c_werror_flag"
2046 || test ! -s conftest.err'
2047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2051 (exit $ac_status); }; } &&
2052 { ac_try='test -s conftest.$ac_objext'
2053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2057 (exit $ac_status); }; }; then
2058 ac_cv_prog_cc_stdc=$ac_arg
2061 echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2065 rm -f conftest.err conftest.$ac_objext
2067 rm -f conftest.$ac_ext conftest.$ac_objext
2072 case "x$ac_cv_prog_cc_stdc" in
2074 echo "$as_me:$LINENO: result: none needed" >&5
2075 echo "${ECHO_T}none needed" >&6 ;;
2077 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2078 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2079 CC="$CC $ac_cv_prog_cc_stdc" ;;
2082 # Some people use a C++ compiler to compile C. Since we use `exit',
2083 # in C++ we need to declare it. In case someone uses the same compiler
2084 # for both compiling C and C++ we need to have the C++ compiler decide
2085 # the declaration of exit, since it's the most demanding environment.
2086 cat >conftest.$ac_ext <<_ACEOF
2091 rm -f conftest.$ac_objext
2092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2093 (eval $ac_compile) 2>conftest.er1
2095 grep -v '^ *+' conftest.er1 >conftest.err
2097 cat conftest.err >&5
2098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2099 (exit $ac_status); } &&
2100 { ac_try='test -z "$ac_c_werror_flag"
2101 || test ! -s conftest.err'
2102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2106 (exit $ac_status); }; } &&
2107 { ac_try='test -s conftest.$ac_objext'
2108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112 (exit $ac_status); }; }; then
2113 for ac_declaration in \
2115 'extern "C" void std::exit (int) throw (); using std::exit;' \
2116 'extern "C" void std::exit (int); using std::exit;' \
2117 'extern "C" void exit (int) throw ();' \
2118 'extern "C" void exit (int);' \
2121 cat >conftest.$ac_ext <<_ACEOF
2124 cat confdefs.h >>conftest.$ac_ext
2125 cat >>conftest.$ac_ext <<_ACEOF
2126 /* end confdefs.h. */
2137 rm -f conftest.$ac_objext
2138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2139 (eval $ac_compile) 2>conftest.er1
2141 grep -v '^ *+' conftest.er1 >conftest.err
2143 cat conftest.err >&5
2144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2145 (exit $ac_status); } &&
2146 { ac_try='test -z "$ac_c_werror_flag"
2147 || test ! -s conftest.err'
2148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); }; } &&
2153 { ac_try='test -s conftest.$ac_objext'
2154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); }; }; then
2161 echo "$as_me: failed program was:" >&5
2162 sed 's/^/| /' conftest.$ac_ext >&5
2166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2167 cat >conftest.$ac_ext <<_ACEOF
2170 cat confdefs.h >>conftest.$ac_ext
2171 cat >>conftest.$ac_ext <<_ACEOF
2172 /* end confdefs.h. */
2182 rm -f conftest.$ac_objext
2183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2184 (eval $ac_compile) 2>conftest.er1
2186 grep -v '^ *+' conftest.er1 >conftest.err
2188 cat conftest.err >&5
2189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2190 (exit $ac_status); } &&
2191 { ac_try='test -z "$ac_c_werror_flag"
2192 || test ! -s conftest.err'
2193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2197 (exit $ac_status); }; } &&
2198 { ac_try='test -s conftest.$ac_objext'
2199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203 (exit $ac_status); }; }; then
2206 echo "$as_me: failed program was:" >&5
2207 sed 's/^/| /' conftest.$ac_ext >&5
2210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2213 if test -n "$ac_declaration"; then
2214 echo '#ifdef __cplusplus' >>confdefs.h
2215 echo $ac_declaration >>confdefs.h
2216 echo '#endif' >>confdefs.h
2220 echo "$as_me: failed program was:" >&5
2221 sed 's/^/| /' conftest.$ac_ext >&5
2224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2226 ac_cpp='$CPP $CPPFLAGS'
2227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2232 am__api_version="1.9"
2233 # Find a good install program. We prefer a C program (faster),
2234 # so one script is as good as another. But avoid the broken or
2235 # incompatible versions:
2236 # SysV /etc/install, /usr/sbin/install
2237 # SunOS /usr/etc/install
2238 # IRIX /sbin/install
2240 # AmigaOS /C/install, which installs bootblocks on floppy discs
2241 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2242 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2243 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2244 # OS/2's system install, which has a completely different semantic
2245 # ./install, which can be erroneously created by make from ./install.sh.
2246 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2247 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2248 if test -z "$INSTALL"; then
2249 if test "${ac_cv_path_install+set}" = set; then
2250 echo $ECHO_N "(cached) $ECHO_C" >&6
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2256 test -z "$as_dir" && as_dir=.
2257 # Account for people who put trailing slashes in PATH elements.
2259 ./ | .// | /cC/* | \
2260 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2261 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2264 # OSF1 and SCO ODT 3.0 have their own names for install.
2265 # Don't use installbsd from OSF since it installs stuff as root
2267 for ac_prog in ginstall scoinst install; do
2268 for ac_exec_ext in '' $ac_executable_extensions; do
2269 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2270 if test $ac_prog = install &&
2271 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2272 # AIX install. It has an incompatible calling convention.
2274 elif test $ac_prog = install &&
2275 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2276 # program-specific install script used by HP pwplus--don't use.
2279 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2291 if test "${ac_cv_path_install+set}" = set; then
2292 INSTALL=$ac_cv_path_install
2294 # As a last resort, use the slow shell script. We don't cache a
2295 # path for INSTALL within a source directory, because that will
2296 # break other packages using the cache if that directory is
2297 # removed, or if the path is relative.
2298 INSTALL=$ac_install_sh
2301 echo "$as_me:$LINENO: result: $INSTALL" >&5
2302 echo "${ECHO_T}$INSTALL" >&6
2304 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2305 # It thinks the first close brace ends the variable substitution.
2306 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2308 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2310 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2312 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2313 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2316 echo timestamp > conftest.file
2317 # Do `set' in a subshell so we don't clobber the current shell's
2318 # arguments. Must try -L first in case configure is actually a
2319 # symlink; some systems play weird games with the mod time of symlinks
2320 # (eg FreeBSD returns the mod time of the symlink's containing
2323 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2324 if test "$*" = "X"; then
2326 set X `ls -t $srcdir/configure conftest.file`
2329 if test "$*" != "X $srcdir/configure conftest.file" \
2330 && test "$*" != "X conftest.file $srcdir/configure"; then
2332 # If neither matched, then we have a broken ls. This can happen
2333 # if, for instance, CONFIG_SHELL is bash and it inherits a
2334 # broken ls alias from the environment. This has actually
2335 # happened. Such a system could not be considered "sane".
2336 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2337 alias in your environment" >&5
2338 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2339 alias in your environment" >&2;}
2340 { (exit 1); exit 1; }; }
2343 test "$2" = conftest.file
2349 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2350 Check your system clock" >&5
2351 echo "$as_me: error: newly created file is older than distributed files!
2352 Check your system clock" >&2;}
2353 { (exit 1); exit 1; }; }
2355 echo "$as_me:$LINENO: result: yes" >&5
2356 echo "${ECHO_T}yes" >&6
2357 test "$program_prefix" != NONE &&
2358 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2359 # Use a double $ so make ignores it.
2360 test "$program_suffix" != NONE &&
2361 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2362 # Double any \ or $. echo might interpret backslashes.
2363 # By default was `s,x,x', remove it if useless.
2364 cat <<\_ACEOF >conftest.sed
2365 s/[\\$]/&&/g;s/;s,x,x,$//
2367 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2370 # expand $ac_aux_dir to an absolute path
2371 am_aux_dir=`cd $ac_aux_dir && pwd`
2373 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2374 # Use eval to expand $SHELL
2375 if eval "$MISSING --run true"; then
2376 am_missing_run="$MISSING --run "
2379 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2380 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2383 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2384 # We used to keeping the `.' as first argument, in order to
2385 # allow $(mkdir_p) to be used without argument. As in
2386 # $(mkdir_p) $(somedir)
2387 # where $(somedir) is conditionally defined. However this is wrong
2389 # 1. if the package is installed by a user who cannot write `.'
2390 # make install will fail,
2391 # 2. the above comment should most certainly read
2392 # $(mkdir_p) $(DESTDIR)$(somedir)
2393 # so it does not work when $(somedir) is undefined and
2394 # $(DESTDIR) is not.
2395 # To support the latter case, we have to write
2396 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2397 # so the `.' trick is pointless.
2398 mkdir_p='mkdir -p --'
2400 # On NextStep and OpenStep, the `mkdir' command does not
2401 # recognize any option. It will interpret all options as
2402 # directories to create, and then abort because `.' already
2404 for d in ./-p ./--version;
2406 test -d $d && rmdir $d
2408 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2409 if test -f "$ac_aux_dir/mkinstalldirs"; then
2410 mkdir_p='$(mkinstalldirs)'
2412 mkdir_p='$(install_sh) -d'
2416 for ac_prog in gawk mawk nawk awk
2418 # Extract the first word of "$ac_prog", so it can be a program name with args.
2419 set dummy $ac_prog; ac_word=$2
2420 echo "$as_me:$LINENO: checking for $ac_word" >&5
2421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2422 if test "${ac_cv_prog_AWK+set}" = set; then
2423 echo $ECHO_N "(cached) $ECHO_C" >&6
2425 if test -n "$AWK"; then
2426 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2432 test -z "$as_dir" && as_dir=.
2433 for ac_exec_ext in '' $ac_executable_extensions; do
2434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2435 ac_cv_prog_AWK="$ac_prog"
2436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2445 if test -n "$AWK"; then
2446 echo "$as_me:$LINENO: result: $AWK" >&5
2447 echo "${ECHO_T}$AWK" >&6
2449 echo "$as_me:$LINENO: result: no" >&5
2450 echo "${ECHO_T}no" >&6
2453 test -n "$AWK" && break
2456 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2457 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2458 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2459 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 cat >conftest.make <<\_ACEOF
2464 @echo 'ac_maketemp="$(MAKE)"'
2466 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2467 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2468 if test -n "$ac_maketemp"; then
2469 eval ac_cv_prog_make_${ac_make}_set=yes
2471 eval ac_cv_prog_make_${ac_make}_set=no
2475 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2476 echo "$as_me:$LINENO: result: yes" >&5
2477 echo "${ECHO_T}yes" >&6
2480 echo "$as_me:$LINENO: result: no" >&5
2481 echo "${ECHO_T}no" >&6
2482 SET_MAKE="MAKE=${MAKE-make}"
2485 rm -rf .tst 2>/dev/null
2486 mkdir .tst 2>/dev/null
2487 if test -d .tst; then
2492 rmdir .tst 2>/dev/null
2494 DEPDIR="${am__leading_dot}deps"
2496 ac_config_commands="$ac_config_commands depfiles"
2499 am_make=${MAKE-make}
2500 cat > confinc << 'END'
2505 # If we don't find an include directive, just comment out the code.
2506 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2507 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2511 # First try GNU make style include.
2512 echo "include confinc" > confmf
2513 # We grep out `Entering directory' and `Leaving directory'
2514 # messages which can occur if `w' ends up in MAKEFLAGS.
2515 # In particular we don't look at `^make:' because GNU make might
2516 # be invoked under some other name (usually "gmake"), in which
2517 # case it prints its new name instead of `make'.
2518 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2523 # Now try BSD make style include.
2524 if test "$am__include" = "#"; then
2525 echo '.include "confinc"' > confmf
2526 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2527 am__include=.include
2534 echo "$as_me:$LINENO: result: $_am_result" >&5
2535 echo "${ECHO_T}$_am_result" >&6
2536 rm -f confinc confmf
2538 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2539 if test "${enable_dependency_tracking+set}" = set; then
2540 enableval="$enable_dependency_tracking"
2543 if test "x$enable_dependency_tracking" != xno; then
2544 am_depcomp="$ac_aux_dir/depcomp"
2549 if test "x$enable_dependency_tracking" != xno; then
2559 # test to see if srcdir already configured
2560 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2561 test -f $srcdir/config.status; then
2562 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2563 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2564 { (exit 1); exit 1; }; }
2567 # test whether we have cygpath
2568 if test -z "$CYGPATH_W"; then
2569 if (cygpath --version) >/dev/null 2>/dev/null; then
2570 CYGPATH_W='cygpath -w'
2577 # Define the identity of the package.
2582 cat >>confdefs.h <<_ACEOF
2583 #define PACKAGE "$PACKAGE"
2587 cat >>confdefs.h <<_ACEOF
2588 #define VERSION "$VERSION"
2591 # Some tools Automake needs.
2593 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2596 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2599 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2602 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2605 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2607 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2609 # Installed binaries are usually stripped using `strip' when the user
2610 # run `make install-strip'. However `strip' might not be the right
2611 # tool to use in cross-compilation environments, therefore Automake
2612 # will honor the `STRIP' environment variable to overrule this program.
2613 if test "$cross_compiling" != no; then
2614 if test -n "$ac_tool_prefix"; then
2615 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2616 set dummy ${ac_tool_prefix}strip; ac_word=$2
2617 echo "$as_me:$LINENO: checking for $ac_word" >&5
2618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2619 if test "${ac_cv_prog_STRIP+set}" = set; then
2620 echo $ECHO_N "(cached) $ECHO_C" >&6
2622 if test -n "$STRIP"; then
2623 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2629 test -z "$as_dir" && as_dir=.
2630 for ac_exec_ext in '' $ac_executable_extensions; do
2631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2632 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2641 STRIP=$ac_cv_prog_STRIP
2642 if test -n "$STRIP"; then
2643 echo "$as_me:$LINENO: result: $STRIP" >&5
2644 echo "${ECHO_T}$STRIP" >&6
2646 echo "$as_me:$LINENO: result: no" >&5
2647 echo "${ECHO_T}no" >&6
2651 if test -z "$ac_cv_prog_STRIP"; then
2653 # Extract the first word of "strip", so it can be a program name with args.
2654 set dummy strip; ac_word=$2
2655 echo "$as_me:$LINENO: checking for $ac_word" >&5
2656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2657 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2658 echo $ECHO_N "(cached) $ECHO_C" >&6
2660 if test -n "$ac_ct_STRIP"; then
2661 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 test -z "$as_dir" && as_dir=.
2668 for ac_exec_ext in '' $ac_executable_extensions; do
2669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2670 ac_cv_prog_ac_ct_STRIP="strip"
2671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2677 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2680 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2681 if test -n "$ac_ct_STRIP"; then
2682 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2683 echo "${ECHO_T}$ac_ct_STRIP" >&6
2685 echo "$as_me:$LINENO: result: no" >&5
2686 echo "${ECHO_T}no" >&6
2691 STRIP="$ac_cv_prog_STRIP"
2695 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2697 # We need awk for the "check" target. The system "awk" is bad on
2699 # Always define AMTAR for backward compatibility.
2701 AMTAR=${AMTAR-"${am_missing_run}tar"}
2703 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2708 depcc="$CC" am_compiler_list=
2710 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2711 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2712 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2713 echo $ECHO_N "(cached) $ECHO_C" >&6
2715 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2716 # We make a subdir and do the tests there. Otherwise we can end up
2717 # making bogus files that we don't know about and never remove. For
2718 # instance it was reported that on HP-UX the gcc test will end up
2719 # making a dummy file named `D' -- because `-MD' means `put the output
2722 # Copy depcomp to subdir because otherwise we won't find it if we're
2723 # using a relative directory.
2724 cp "$am_depcomp" conftest.dir
2726 # We will build objects and dependencies in a subdirectory because
2727 # it helps to detect inapplicable dependency modes. For instance
2728 # both Tru64's cc and ICC support -MD to output dependencies as a
2729 # side effect of compilation, but ICC will put the dependencies in
2730 # the current directory while Tru64 will put them in the object
2734 am_cv_CC_dependencies_compiler_type=none
2735 if test "$am_compiler_list" = ""; then
2736 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2738 for depmode in $am_compiler_list; do
2739 # Setup a source with many dependencies, because some compilers
2740 # like to wrap large dependency lists on column 80 (with \), and
2741 # we should not choose a depcomp mode which is confused by this.
2743 # We need to recreate these files for each test, as the compiler may
2744 # overwrite some of them when testing with obscure command lines.
2745 # This happens at least with the AIX C compiler.
2747 for i in 1 2 3 4 5 6; do
2748 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2749 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2750 # Solaris 8's {/usr,}/bin/sh.
2751 touch sub/conftst$i.h
2753 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2757 # after this tag, mechanisms are not by side-effect, so they'll
2758 # only be used when explicitly requested
2759 if test "x$enable_dependency_tracking" = xyes; then
2767 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2768 # mode. It turns out that the SunPro C++ compiler does not properly
2769 # handle `-M -o', and we need to detect this.
2770 if depmode=$depmode \
2771 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2772 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2773 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2774 >/dev/null 2>conftest.err &&
2775 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2776 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2777 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2778 # icc doesn't choke on unknown options, it will just issue warnings
2779 # or remarks (even with -Werror). So we grep stderr for any message
2780 # that says an option was ignored or not supported.
2781 # When given -MP, icc 7.0 and 7.1 complain thusly:
2782 # icc: Command line warning: ignoring option '-M'; no argument required
2783 # The diagnosis changed in icc 8.0:
2784 # icc: Command line remark: option '-MP' not supported
2785 if (grep 'ignoring option' conftest.err ||
2786 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2787 am_cv_CC_dependencies_compiler_type=$depmode
2796 am_cv_CC_dependencies_compiler_type=none
2800 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2801 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2802 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2807 test "x$enable_dependency_tracking" != xno \
2808 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2810 am__fastdepCC_FALSE='#'
2812 am__fastdepCC_TRUE='#'
2813 am__fastdepCC_FALSE=
2819 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2820 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2821 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2822 if test "${enable_maintainer_mode+set}" = set; then
2823 enableval="$enable_maintainer_mode"
2824 USE_MAINTAINER_MODE=$enableval
2826 USE_MAINTAINER_MODE=no
2828 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2829 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2832 if test $USE_MAINTAINER_MODE = yes; then
2833 MAINTAINER_MODE_TRUE=
2834 MAINTAINER_MODE_FALSE='#'
2836 MAINTAINER_MODE_TRUE='#'
2837 MAINTAINER_MODE_FALSE=
2840 MAINT=$MAINTAINER_MODE_TRUE
2845 ac_cpp='$CXXCPP $CPPFLAGS'
2846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2849 if test -n "$ac_tool_prefix"; then
2850 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2852 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2853 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2854 echo "$as_me:$LINENO: checking for $ac_word" >&5
2855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2856 if test "${ac_cv_prog_CXX+set}" = set; then
2857 echo $ECHO_N "(cached) $ECHO_C" >&6
2859 if test -n "$CXX"; then
2860 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866 test -z "$as_dir" && as_dir=.
2867 for ac_exec_ext in '' $ac_executable_extensions; do
2868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2869 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2879 if test -n "$CXX"; then
2880 echo "$as_me:$LINENO: result: $CXX" >&5
2881 echo "${ECHO_T}$CXX" >&6
2883 echo "$as_me:$LINENO: result: no" >&5
2884 echo "${ECHO_T}no" >&6
2887 test -n "$CXX" && break
2890 if test -z "$CXX"; then
2892 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2894 # Extract the first word of "$ac_prog", so it can be a program name with args.
2895 set dummy $ac_prog; ac_word=$2
2896 echo "$as_me:$LINENO: checking for $ac_word" >&5
2897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2898 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2899 echo $ECHO_N "(cached) $ECHO_C" >&6
2901 if test -n "$ac_ct_CXX"; then
2902 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2908 test -z "$as_dir" && as_dir=.
2909 for ac_exec_ext in '' $ac_executable_extensions; do
2910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2911 ac_cv_prog_ac_ct_CXX="$ac_prog"
2912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2920 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2921 if test -n "$ac_ct_CXX"; then
2922 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2923 echo "${ECHO_T}$ac_ct_CXX" >&6
2925 echo "$as_me:$LINENO: result: no" >&5
2926 echo "${ECHO_T}no" >&6
2929 test -n "$ac_ct_CXX" && break
2931 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2937 # Provide some information about the compiler.
2938 echo "$as_me:$LINENO:" \
2939 "checking for C++ compiler version" >&5
2940 ac_compiler=`set X $ac_compile; echo $2`
2941 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2942 (eval $ac_compiler --version </dev/null >&5) 2>&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); }
2946 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2947 (eval $ac_compiler -v </dev/null >&5) 2>&5
2949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); }
2951 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2952 (eval $ac_compiler -V </dev/null >&5) 2>&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); }
2957 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2958 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2959 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2960 echo $ECHO_N "(cached) $ECHO_C" >&6
2962 cat >conftest.$ac_ext <<_ACEOF
2965 cat confdefs.h >>conftest.$ac_ext
2966 cat >>conftest.$ac_ext <<_ACEOF
2967 /* end confdefs.h. */
2980 rm -f conftest.$ac_objext
2981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2982 (eval $ac_compile) 2>conftest.er1
2984 grep -v '^ *+' conftest.er1 >conftest.err
2986 cat conftest.err >&5
2987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988 (exit $ac_status); } &&
2989 { ac_try='test -z "$ac_cxx_werror_flag"
2990 || test ! -s conftest.err'
2991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); }; } &&
2996 { ac_try='test -s conftest.$ac_objext'
2997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001 (exit $ac_status); }; }; then
3004 echo "$as_me: failed program was:" >&5
3005 sed 's/^/| /' conftest.$ac_ext >&5
3009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3010 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3013 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3014 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3015 GXX=`test $ac_compiler_gnu = yes && echo yes`
3016 ac_test_CXXFLAGS=${CXXFLAGS+set}
3017 ac_save_CXXFLAGS=$CXXFLAGS
3019 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3020 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3021 if test "${ac_cv_prog_cxx_g+set}" = set; then
3022 echo $ECHO_N "(cached) $ECHO_C" >&6
3024 cat >conftest.$ac_ext <<_ACEOF
3027 cat confdefs.h >>conftest.$ac_ext
3028 cat >>conftest.$ac_ext <<_ACEOF
3029 /* end confdefs.h. */
3039 rm -f conftest.$ac_objext
3040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3041 (eval $ac_compile) 2>conftest.er1
3043 grep -v '^ *+' conftest.er1 >conftest.err
3045 cat conftest.err >&5
3046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); } &&
3048 { ac_try='test -z "$ac_cxx_werror_flag"
3049 || test ! -s conftest.err'
3050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); }; } &&
3055 { ac_try='test -s conftest.$ac_objext'
3056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); }; }; then
3061 ac_cv_prog_cxx_g=yes
3063 echo "$as_me: failed program was:" >&5
3064 sed 's/^/| /' conftest.$ac_ext >&5
3068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3070 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3071 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3072 if test "$ac_test_CXXFLAGS" = set; then
3073 CXXFLAGS=$ac_save_CXXFLAGS
3074 elif test $ac_cv_prog_cxx_g = yes; then
3075 if test "$GXX" = yes; then
3081 if test "$GXX" = yes; then
3087 for ac_declaration in \
3089 'extern "C" void std::exit (int) throw (); using std::exit;' \
3090 'extern "C" void std::exit (int); using std::exit;' \
3091 'extern "C" void exit (int) throw ();' \
3092 'extern "C" void exit (int);' \
3095 cat >conftest.$ac_ext <<_ACEOF
3098 cat confdefs.h >>conftest.$ac_ext
3099 cat >>conftest.$ac_ext <<_ACEOF
3100 /* end confdefs.h. */
3111 rm -f conftest.$ac_objext
3112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3113 (eval $ac_compile) 2>conftest.er1
3115 grep -v '^ *+' conftest.er1 >conftest.err
3117 cat conftest.err >&5
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); } &&
3120 { ac_try='test -z "$ac_cxx_werror_flag"
3121 || test ! -s conftest.err'
3122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); }; } &&
3127 { ac_try='test -s conftest.$ac_objext'
3128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); }; }; then
3135 echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.$ac_ext >&5
3140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3141 cat >conftest.$ac_ext <<_ACEOF
3144 cat confdefs.h >>conftest.$ac_ext
3145 cat >>conftest.$ac_ext <<_ACEOF
3146 /* end confdefs.h. */
3156 rm -f conftest.$ac_objext
3157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3158 (eval $ac_compile) 2>conftest.er1
3160 grep -v '^ *+' conftest.er1 >conftest.err
3162 cat conftest.err >&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } &&
3165 { ac_try='test -z "$ac_cxx_werror_flag"
3166 || test ! -s conftest.err'
3167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); }; } &&
3172 { ac_try='test -s conftest.$ac_objext'
3173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; }; then
3180 echo "$as_me: failed program was:" >&5
3181 sed 's/^/| /' conftest.$ac_ext >&5
3184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3187 if test -n "$ac_declaration"; then
3188 echo '#ifdef __cplusplus' >>confdefs.h
3189 echo $ac_declaration >>confdefs.h
3190 echo '#endif' >>confdefs.h
3194 ac_cpp='$CPP $CPPFLAGS'
3195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3199 depcc="$CXX" am_compiler_list=
3201 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3202 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3203 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3207 # We make a subdir and do the tests there. Otherwise we can end up
3208 # making bogus files that we don't know about and never remove. For
3209 # instance it was reported that on HP-UX the gcc test will end up
3210 # making a dummy file named `D' -- because `-MD' means `put the output
3213 # Copy depcomp to subdir because otherwise we won't find it if we're
3214 # using a relative directory.
3215 cp "$am_depcomp" conftest.dir
3217 # We will build objects and dependencies in a subdirectory because
3218 # it helps to detect inapplicable dependency modes. For instance
3219 # both Tru64's cc and ICC support -MD to output dependencies as a
3220 # side effect of compilation, but ICC will put the dependencies in
3221 # the current directory while Tru64 will put them in the object
3225 am_cv_CXX_dependencies_compiler_type=none
3226 if test "$am_compiler_list" = ""; then
3227 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3229 for depmode in $am_compiler_list; do
3230 # Setup a source with many dependencies, because some compilers
3231 # like to wrap large dependency lists on column 80 (with \), and
3232 # we should not choose a depcomp mode which is confused by this.
3234 # We need to recreate these files for each test, as the compiler may
3235 # overwrite some of them when testing with obscure command lines.
3236 # This happens at least with the AIX C compiler.
3238 for i in 1 2 3 4 5 6; do
3239 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3240 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3241 # Solaris 8's {/usr,}/bin/sh.
3242 touch sub/conftst$i.h
3244 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3248 # after this tag, mechanisms are not by side-effect, so they'll
3249 # only be used when explicitly requested
3250 if test "x$enable_dependency_tracking" = xyes; then
3258 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3259 # mode. It turns out that the SunPro C++ compiler does not properly
3260 # handle `-M -o', and we need to detect this.
3261 if depmode=$depmode \
3262 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3263 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3264 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3265 >/dev/null 2>conftest.err &&
3266 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3267 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3268 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3269 # icc doesn't choke on unknown options, it will just issue warnings
3270 # or remarks (even with -Werror). So we grep stderr for any message
3271 # that says an option was ignored or not supported.
3272 # When given -MP, icc 7.0 and 7.1 complain thusly:
3273 # icc: Command line warning: ignoring option '-M'; no argument required
3274 # The diagnosis changed in icc 8.0:
3275 # icc: Command line remark: option '-MP' not supported
3276 if (grep 'ignoring option' conftest.err ||
3277 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3278 am_cv_CXX_dependencies_compiler_type=$depmode
3287 am_cv_CXX_dependencies_compiler_type=none
3291 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3292 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3293 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3298 test "x$enable_dependency_tracking" != xno \
3299 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3300 am__fastdepCXX_TRUE=
3301 am__fastdepCXX_FALSE='#'
3303 am__fastdepCXX_TRUE='#'
3304 am__fastdepCXX_FALSE=
3309 ac_cpp='$CXXCPP $CPPFLAGS'
3310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3313 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3314 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
3315 if test -z "$CXXCPP"; then
3316 if test "${ac_cv_prog_CXXCPP+set}" = set; then
3317 echo $ECHO_N "(cached) $ECHO_C" >&6
3319 # Double quotes because CXXCPP needs to be expanded
3320 for CXXCPP in "$CXX -E" "/lib/cpp"
3323 for ac_cxx_preproc_warn_flag in '' yes
3325 # Use a header file that comes with gcc, so configuring glibc
3326 # with a fresh cross-compiler works.
3327 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3328 # <limits.h> exists even on freestanding compilers.
3329 # On the NeXT, cc -E runs the code through the compiler's parser,
3330 # not just through cpp. "Syntax error" is here to catch this case.
3331 cat >conftest.$ac_ext <<_ACEOF
3334 cat confdefs.h >>conftest.$ac_ext
3335 cat >>conftest.$ac_ext <<_ACEOF
3336 /* end confdefs.h. */
3338 # include <limits.h>
3340 # include <assert.h>
3344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3345 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3347 grep -v '^ *+' conftest.er1 >conftest.err
3349 cat conftest.err >&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); } >/dev/null; then
3352 if test -s conftest.err; then
3353 ac_cpp_err=$ac_cxx_preproc_warn_flag
3354 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3361 if test -z "$ac_cpp_err"; then
3364 echo "$as_me: failed program was:" >&5
3365 sed 's/^/| /' conftest.$ac_ext >&5
3367 # Broken: fails on valid input.
3370 rm -f conftest.err conftest.$ac_ext
3372 # OK, works on sane cases. Now check whether non-existent headers
3373 # can be detected and how.
3374 cat >conftest.$ac_ext <<_ACEOF
3377 cat confdefs.h >>conftest.$ac_ext
3378 cat >>conftest.$ac_ext <<_ACEOF
3379 /* end confdefs.h. */
3380 #include <ac_nonexistent.h>
3382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3383 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3385 grep -v '^ *+' conftest.er1 >conftest.err
3387 cat conftest.err >&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } >/dev/null; then
3390 if test -s conftest.err; then
3391 ac_cpp_err=$ac_cxx_preproc_warn_flag
3392 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3399 if test -z "$ac_cpp_err"; then
3400 # Broken: success on invalid input.
3403 echo "$as_me: failed program was:" >&5
3404 sed 's/^/| /' conftest.$ac_ext >&5
3406 # Passes both tests.
3410 rm -f conftest.err conftest.$ac_ext
3413 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3414 rm -f conftest.err conftest.$ac_ext
3415 if $ac_preproc_ok; then
3420 ac_cv_prog_CXXCPP=$CXXCPP
3423 CXXCPP=$ac_cv_prog_CXXCPP
3425 ac_cv_prog_CXXCPP=$CXXCPP
3427 echo "$as_me:$LINENO: result: $CXXCPP" >&5
3428 echo "${ECHO_T}$CXXCPP" >&6
3430 for ac_cxx_preproc_warn_flag in '' yes
3432 # Use a header file that comes with gcc, so configuring glibc
3433 # with a fresh cross-compiler works.
3434 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3435 # <limits.h> exists even on freestanding compilers.
3436 # On the NeXT, cc -E runs the code through the compiler's parser,
3437 # not just through cpp. "Syntax error" is here to catch this case.
3438 cat >conftest.$ac_ext <<_ACEOF
3441 cat confdefs.h >>conftest.$ac_ext
3442 cat >>conftest.$ac_ext <<_ACEOF
3443 /* end confdefs.h. */
3445 # include <limits.h>
3447 # include <assert.h>
3451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3452 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3454 grep -v '^ *+' conftest.er1 >conftest.err
3456 cat conftest.err >&5
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); } >/dev/null; then
3459 if test -s conftest.err; then
3460 ac_cpp_err=$ac_cxx_preproc_warn_flag
3461 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3468 if test -z "$ac_cpp_err"; then
3471 echo "$as_me: failed program was:" >&5
3472 sed 's/^/| /' conftest.$ac_ext >&5
3474 # Broken: fails on valid input.
3477 rm -f conftest.err conftest.$ac_ext
3479 # OK, works on sane cases. Now check whether non-existent headers
3480 # can be detected and how.
3481 cat >conftest.$ac_ext <<_ACEOF
3484 cat confdefs.h >>conftest.$ac_ext
3485 cat >>conftest.$ac_ext <<_ACEOF
3486 /* end confdefs.h. */
3487 #include <ac_nonexistent.h>
3489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3490 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3492 grep -v '^ *+' conftest.er1 >conftest.err
3494 cat conftest.err >&5
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); } >/dev/null; then
3497 if test -s conftest.err; then
3498 ac_cpp_err=$ac_cxx_preproc_warn_flag
3499 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
3506 if test -z "$ac_cpp_err"; then
3507 # Broken: success on invalid input.
3510 echo "$as_me: failed program was:" >&5
3511 sed 's/^/| /' conftest.$ac_ext >&5
3513 # Passes both tests.
3517 rm -f conftest.err conftest.$ac_ext
3520 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3521 rm -f conftest.err conftest.$ac_ext
3522 if $ac_preproc_ok; then
3525 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3526 See \`config.log' for more details." >&5
3527 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3528 See \`config.log' for more details." >&2;}
3529 { (exit 1); exit 1; }; }
3533 ac_cpp='$CPP $CPPFLAGS'
3534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3538 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3539 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3540 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3541 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3542 echo $ECHO_N "(cached) $ECHO_C" >&6
3544 cat >conftest.make <<\_ACEOF
3546 @echo 'ac_maketemp="$(MAKE)"'
3548 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3549 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3550 if test -n "$ac_maketemp"; then
3551 eval ac_cv_prog_make_${ac_make}_set=yes
3553 eval ac_cv_prog_make_${ac_make}_set=no
3557 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3558 echo "$as_me:$LINENO: result: yes" >&5
3559 echo "${ECHO_T}yes" >&6
3562 echo "$as_me:$LINENO: result: no" >&5
3563 echo "${ECHO_T}no" >&6
3564 SET_MAKE="MAKE=${MAKE-make}"
3568 ac_cpp='$CXXCPP $CPPFLAGS'
3569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3577 sid_host=`$ac_config_sub $host`
3578 sid_target=`$ac_config_sub $target`
3580 if test "$sid_host" = "$sid_target" -o "$target" = "NONE"
3582 { echo "$as_me:$LINENO: WARNING: Assuming --enable-targets=all" >&5
3583 echo "$as_me: WARNING: Assuming --enable-targets=all" >&2;}
3587 all_targets="$target"
3592 # Check whether --enable-targets or --disable-targets was given.
3593 if test "${enable_targets+set}" = set; then
3594 enableval="$enable_targets"
3596 case "${enable_targets}" in
3597 all) sidtarget_default=1 ;;
3598 no) sidtarget_default=0 ;;
3599 *) all_targets="${all_targets} `echo ${enable_targets} | sed -e 's-,- -g'`" ;;
3604 sidtarget_arm=$sidtarget_default
3605 sidtarget_x86=$sidtarget_default
3606 sidtarget_mips=$sidtarget_default
3607 sidtarget_m32r=$sidtarget_default
3608 sidtarget_m68k=$sidtarget_default
3609 sidtarget_mep=$sidtarget_default
3610 sidtarget_mt=$sidtarget_default
3611 sidtarget_ppc=$sidtarget_default
3612 sidtarget_sh=$sidtarget_default
3613 sidtarget_sh64=$sidtarget_default
3614 sidtarget_xstormy16=$sidtarget_default
3616 for targ in $all_targets
3619 arm*) sidtarget_arm=1 ;;
3620 thumb*) sidtarget_arm=1 ;;
3621 i386*) sidtarget_x86=1 ;;
3622 mips*) sidtarget_mips=1 ;;
3623 m32r*) sidtarget_m32r=1 ;;
3624 m68k*) sidtarget_m68k=1 ;;
3625 mep*) sidtarget_mep=1 ;;
3626 mt*) sidtarget_mt=1 ;;
3627 powerpc*) sidtarget_ppc=1 ;;
3628 ppc*) sidtarget_ppc=1 ;;
3629 sh64*) sidtarget_sh64=1 ;;
3630 sh*) sidtarget_sh=1 ;;
3631 xstormy16*) sidtarget_xstormy16=1 ;;
3632 *) { echo "$as_me:$LINENO: WARNING: \"Unknown target $targ\"" >&5
3633 echo "$as_me: WARNING: \"Unknown target $targ\"" >&2;} ;;
3638 ${sidtarget_arm}) ;;
3639 ${sidtarget_x86}) ;;
3640 ${sidtarget_mips}) ;;
3641 ${sidtarget_m32r}) ;;
3642 ${sidtarget_m68k}) ;;
3643 ${sidtarget_mep}) ;;
3645 ${sidtarget_ppc}) ;;
3647 ${sidtarget_sh64}) ;;
3648 ${sidtarget_xstormy16}) ;;
3649 *) { echo "$as_me:$LINENO: WARNING: No selected sid targets: use --enable-targets or --target" >&5
3650 echo "$as_me: WARNING: No selected sid targets: use --enable-targets or --target" >&2;}
3655 echo "$as_me:$LINENO: checking ARM family support" >&5
3656 echo $ECHO_N "checking ARM family support... $ECHO_C" >&6
3660 if test "x$sidtarget_arm" = x1; then
3662 SIDTARGET_ARM_FALSE='#'
3664 SIDTARGET_ARM_TRUE='#'
3665 SIDTARGET_ARM_FALSE=
3668 echo "$as_me:$LINENO: result: $sidtarget_arm" >&5
3669 echo "${ECHO_T}$sidtarget_arm" >&6
3671 echo "$as_me:$LINENO: checking X86 family support" >&5
3672 echo $ECHO_N "checking X86 family support... $ECHO_C" >&6
3676 if test "x$sidtarget_x86" = x1; then
3678 SIDTARGET_X86_FALSE='#'
3680 SIDTARGET_X86_TRUE='#'
3681 SIDTARGET_X86_FALSE=
3684 echo "$as_me:$LINENO: result: $sidtarget_x86" >&5
3685 echo "${ECHO_T}$sidtarget_x86" >&6
3687 echo "$as_me:$LINENO: checking MIPS family support" >&5
3688 echo $ECHO_N "checking MIPS family support... $ECHO_C" >&6
3692 if test "x$sidtarget_mips" = x1; then
3693 SIDTARGET_MIPS_TRUE=
3694 SIDTARGET_MIPS_FALSE='#'
3696 SIDTARGET_MIPS_TRUE='#'
3697 SIDTARGET_MIPS_FALSE=
3700 echo "$as_me:$LINENO: result: $sidtarget_mips" >&5
3701 echo "${ECHO_T}$sidtarget_mips" >&6
3703 echo "$as_me:$LINENO: checking M32R family support" >&5
3704 echo $ECHO_N "checking M32R family support... $ECHO_C" >&6
3708 if test "x$sidtarget_m32r" = x1; then
3709 SIDTARGET_M32R_TRUE=
3710 SIDTARGET_M32R_FALSE='#'
3712 SIDTARGET_M32R_TRUE='#'
3713 SIDTARGET_M32R_FALSE=
3716 echo "$as_me:$LINENO: result: $sidtarget_m32r" >&5
3717 echo "${ECHO_T}$sidtarget_m32r" >&6
3719 echo "$as_me:$LINENO: checking M68K family support" >&5
3720 echo $ECHO_N "checking M68K family support... $ECHO_C" >&6
3724 if test "x$sidtarget_m68k" = x1; then
3725 SIDTARGET_M68K_TRUE=
3726 SIDTARGET_M68K_FALSE='#'
3728 SIDTARGET_M68K_TRUE='#'
3729 SIDTARGET_M68K_FALSE=
3732 echo "$as_me:$LINENO: result: $sidtarget_m68k" >&5
3733 echo "${ECHO_T}$sidtarget_m68k" >&6
3735 echo "$as_me:$LINENO: checking Toshiba MeP family support" >&5
3736 echo $ECHO_N "checking Toshiba MeP family support... $ECHO_C" >&6
3740 if test "x$sidtarget_mep" = x1; then
3742 SIDTARGET_MEP_FALSE='#'
3744 SIDTARGET_MEP_TRUE='#'
3745 SIDTARGET_MEP_FALSE=
3748 echo "$as_me:$LINENO: result: $sidtarget_mep" >&5
3749 echo "${ECHO_T}$sidtarget_mep" >&6
3751 echo "$as_me:$LINENO: checking MT family support" >&5
3752 echo $ECHO_N "checking MT family support... $ECHO_C" >&6
3756 if test "x$sidtarget_mt" = x1; then
3758 SIDTARGET_MT_FALSE='#'
3760 SIDTARGET_MT_TRUE='#'
3764 echo "$as_me:$LINENO: result: $sidtarget_mt" >&5
3765 echo "${ECHO_T}$sidtarget_mt" >&6
3767 echo "$as_me:$LINENO: checking PPC family support" >&5
3768 echo $ECHO_N "checking PPC family support... $ECHO_C" >&6
3772 if test "x$sidtarget_ppc" = x1; then
3774 SIDTARGET_PPC_FALSE='#'
3776 SIDTARGET_PPC_TRUE='#'
3777 SIDTARGET_PPC_FALSE=
3780 echo "$as_me:$LINENO: result: $sidtarget_ppc" >&5
3781 echo "${ECHO_T}$sidtarget_ppc" >&6
3783 echo "$as_me:$LINENO: checking SH family support" >&5
3784 echo $ECHO_N "checking SH family support... $ECHO_C" >&6
3788 if test "x$sidtarget_sh" = x1; then
3790 SIDTARGET_SH_FALSE='#'
3792 SIDTARGET_SH_TRUE='#'
3796 echo "$as_me:$LINENO: result: $sidtarget_sh" >&5
3797 echo "${ECHO_T}$sidtarget_sh" >&6
3799 echo "$as_me:$LINENO: checking SH64 family support" >&5
3800 echo $ECHO_N "checking SH64 family support... $ECHO_C" >&6
3804 if test "x$sidtarget_sh64" = x1; then
3805 SIDTARGET_SH64_TRUE=
3806 SIDTARGET_SH64_FALSE='#'
3808 SIDTARGET_SH64_TRUE='#'
3809 SIDTARGET_SH64_FALSE=
3812 echo "$as_me:$LINENO: result: $sidtarget_sh64" >&5
3813 echo "${ECHO_T}$sidtarget_sh64" >&6
3815 echo "$as_me:$LINENO: checking Sanyo Xstormy16 family support" >&5
3816 echo $ECHO_N "checking Sanyo Xstormy16 family support... $ECHO_C" >&6
3820 if test "x$sidtarget_xstormy16" = x1; then
3821 SIDTARGET_XSTORMY16_TRUE=
3822 SIDTARGET_XSTORMY16_FALSE='#'
3824 SIDTARGET_XSTORMY16_TRUE='#'
3825 SIDTARGET_XSTORMY16_FALSE=
3828 echo "$as_me:$LINENO: result: $sidtarget_xstormy16" >&5
3829 echo "${ECHO_T}$sidtarget_xstormy16" >&6
3833 echo "$as_me:$LINENO: checking whether can build shared SID component libraries" >&5
3834 echo $ECHO_N "checking whether can build shared SID component libraries... $ECHO_C" >&6
3835 if test "${ac_cv_libstdcxx_shared+set}" = set; then
3836 echo $ECHO_N "(cached) $ECHO_C" >&6
3840 if test x$GXX != xyes
3842 have_libstdcxx_shared=no
3843 have_libstdcxx_static=no
3844 { echo "$as_me:$LINENO: WARNING: Cannot test for libstdc++ without g++" >&5
3845 echo "$as_me: WARNING: Cannot test for libstdc++ without g++" >&2;}
3847 echo "$as_me:$LINENO: checking for libstdc++ {static/shared}" >&5
3848 echo $ECHO_N "checking for libstdc++ {static/shared}... $ECHO_C" >&6
3850 stlibname=libstdc++.a
3852 *-*-cygwin*) shlibname=libstdc++.dll ;;
3853 *) shlibname=libstdc++.so ;;
3856 gxx_stlibname=`eval $CXX --print-file-name=$stlibname`
3857 gxx_shlibname=`eval $CXX --print-file-name=$shlibname`
3859 gxx_stlibdir=`dirname $gxx_stlibname`
3860 gxx_shlibdir=`dirname $gxx_shlibname`
3862 if test "x$gxx_stlibdir" != "x"
3864 have_libstdcxx_static=yes
3866 have_libstdcxx_static=no
3869 # Expect shared libraries to live right beside their static counterparts.
3870 # Some installations put libstdc++.so into $prefix/lib/gcc-lib/*, and make
3871 # it a symlink to $prefix/lib.
3873 # The heuristics are meant to detect and prevent the case where the host may
3874 # have *some other* shared libstdc++.so installed, say in /usr/lib, even though
3875 # the compiler only came with a libstdc++.a in some other directory.
3876 if test "x$gxx_shlibdir" != "x" -a "x$gxx_shlibdir" != "x." -a "x$gxx_stlibdir" = "x$gxx_shlibdir"
3878 have_libstdcxx_shared=yes
3880 have_libstdcxx_shared=no
3883 echo "$as_me:$LINENO: result: ${have_libstdcxx_static}/${have_libstdcxx_shared}" >&5
3884 echo "${ECHO_T}${have_libstdcxx_static}/${have_libstdcxx_shared}" >&6
3887 ac_cv_libstdcxx_shared=$have_libstdcxx_shared
3890 echo "$as_me:$LINENO: result: $ac_cv_libstdcxx_shared" >&5
3891 echo "${ECHO_T}$ac_cv_libstdcxx_shared" >&6
3893 if test x$ac_cv_libstdcxx_shared != xyes -o x$enable_shared = xno
3895 { echo "$as_me:$LINENO: WARNING: Disabling shared SID component libraries." >&5
3896 echo "$as_me: WARNING: Disabling shared SID component libraries." >&2;}
3897 # This variable is not really proper to mess with. However,
3898 # there appears to be no other way of adding an extra argument
3899 # to child directories' configure runs. This is largely safe
3900 # because this code is run long after the ac_configure_args were
3901 # parsed for the enable_* etc. args.
3902 ac_configure_args="$ac_configure_args --disable-shared"
3910 # In case this directory exists, we prefer it to non-pic.
3911 # In case it doesn't exist, create at least a blank one here, so libtool doesn't barf looking for it
3912 mkdir -p ../libiberty/pic
3916 subdirs="$subdirs include component main bsp samples demos"
3918 ac_config_files="$ac_config_files Makefile doc/Makefile config/info.tcl"
3919 cat >confcache <<\_ACEOF
3920 # This file is a shell script that caches the results of configure
3921 # tests run on this system so they can be shared between configure
3922 # scripts and configure runs, see configure's option --config-cache.
3923 # It is not useful on other systems. If it contains results you don't
3924 # want to keep, you may remove or edit it.
3926 # config.status only pays attention to the cache file if you give it
3927 # the --recheck option to rerun configure.
3929 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3930 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3935 # The following way of writing the cache mishandles newlines in values,
3936 # but we know of no workaround that is simple, portable, and efficient.
3937 # So, don't put newlines in cache variables' values.
3938 # Ultrix sh set writes to stderr and can't be redirected directly,
3939 # and sets the high bit in the cache file unless we assign to the vars.
3942 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3944 # `set' does not quote correctly, so add quotes (double-quote
3945 # substitution turns \\\\ into \\, and sed turns \\ into \).
3948 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3951 # `set' quotes correctly as required by POSIX, so do not add quotes.
3953 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3960 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3962 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3964 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3965 if test -w $cache_file; then
3966 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3967 cat confcache >$cache_file
3969 echo "not updating unwritable cache $cache_file"
3974 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3975 # Let make expand exec_prefix.
3976 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3978 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3979 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3980 # trailing colons and then remove the whole line if VPATH becomes empty
3981 # (actually we leave an empty line to preserve line numbers).
3982 if test "x$srcdir" = x.; then
3983 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3984 s/:*\$(srcdir):*/:/;
3985 s/:*\${srcdir}:*/:/;
3987 s/^\([^=]*=[ ]*\):*/\1/;
3993 # Transform confdefs.h into DEFS.
3994 # Protect against shell expansion while executing Makefile rules.
3995 # Protect against Makefile macro expansion.
3997 # If the first sed substitution is executed (which looks for macros that
3998 # take arguments), then we branch to the quote section. Otherwise,
3999 # look for a macro that doesn't take arguments.
4000 cat >confdef2opt.sed <<\_ACEOF
4003 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4005 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4009 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4015 # We use echo to avoid assuming a particular line-breaking character.
4016 # The extra dot is to prevent the shell from consuming trailing
4017 # line-breaks from the sub-command output. A line-break within
4018 # single-quotes doesn't work because, if this script is created in a
4019 # platform that uses two characters for line-breaks (e.g., DOS), tr
4021 ac_LF_and_DOT=`echo; echo .`
4022 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4023 rm -f confdef2opt.sed
4028 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4029 # 1. Remove the extension, and $U if already installed.
4030 ac_i=`echo "$ac_i" |
4031 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4033 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4034 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4038 LTLIBOBJS=$ac_ltlibobjs
4041 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4042 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4043 Usually this means the macro was only invoked conditionally." >&5
4044 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4045 Usually this means the macro was only invoked conditionally." >&2;}
4046 { (exit 1); exit 1; }; }
4048 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4049 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4050 Usually this means the macro was only invoked conditionally." >&5
4051 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4052 Usually this means the macro was only invoked conditionally." >&2;}
4053 { (exit 1); exit 1; }; }
4055 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4056 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4057 Usually this means the macro was only invoked conditionally." >&5
4058 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4059 Usually this means the macro was only invoked conditionally." >&2;}
4060 { (exit 1); exit 1; }; }
4062 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4063 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
4064 Usually this means the macro was only invoked conditionally." >&5
4065 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
4066 Usually this means the macro was only invoked conditionally." >&2;}
4067 { (exit 1); exit 1; }; }
4069 if test -z "${SIDTARGET_ARM_TRUE}" && test -z "${SIDTARGET_ARM_FALSE}"; then
4070 { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_ARM\" was never defined.
4071 Usually this means the macro was only invoked conditionally." >&5
4072 echo "$as_me: error: conditional \"SIDTARGET_ARM\" was never defined.
4073 Usually this means the macro was only invoked conditionally." >&2;}
4074 { (exit 1); exit 1; }; }
4076 if test -z "${SIDTARGET_X86_TRUE}" && test -z "${SIDTARGET_X86_FALSE}"; then
4077 { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_X86\" was never defined.
4078 Usually this means the macro was only invoked conditionally." >&5
4079 echo "$as_me: error: conditional \"SIDTARGET_X86\" was never defined.
4080 Usually this means the macro was only invoked conditionally." >&2;}
4081 { (exit 1); exit 1; }; }
4083 if test -z "${SIDTARGET_MIPS_TRUE}" && test -z "${SIDTARGET_MIPS_FALSE}"; then
4084 { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_MIPS\" was never defined.
4085 Usually this means the macro was only invoked conditionally." >&5
4086 echo "$as_me: error: conditional \"SIDTARGET_MIPS\" was never defined.
4087 Usually this means the macro was only invoked conditionally." >&2;}
4088 { (exit 1); exit 1; }; }
4090 if test -z "${SIDTARGET_M32R_TRUE}" && test -z "${SIDTARGET_M32R_FALSE}"; then
4091 { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_M32R\" was never defined.
4092 Usually this means the macro was only invoked conditionally." >&5
4093 echo "$as_me: error: conditional \"SIDTARGET_M32R\" was never defined.
4094 Usually this means the macro was only invoked conditionally." >&2;}
4095 { (exit 1); exit 1; }; }
4097 if test -z "${SIDTARGET_M68K_TRUE}" && test -z "${SIDTARGET_M68K_FALSE}"; then
4098 { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_M68K\" was never defined.
4099 Usually this means the macro was only invoked conditionally." >&5
4100 echo "$as_me: error: conditional \"SIDTARGET_M68K\" was never defined.
4101 Usually this means the macro was only invoked conditionally." >&2;}
4102 { (exit 1); exit 1; }; }
4104 if test -z "${SIDTARGET_MEP_TRUE}" && test -z "${SIDTARGET_MEP_FALSE}"; then
4105 { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_MEP\" was never defined.
4106 Usually this means the macro was only invoked conditionally." >&5
4107 echo "$as_me: error: conditional \"SIDTARGET_MEP\" was never defined.
4108 Usually this means the macro was only invoked conditionally." >&2;}
4109 { (exit 1); exit 1; }; }
4111 if test -z "${SIDTARGET_MT_TRUE}" && test -z "${SIDTARGET_MT_FALSE}"; then
4112 { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_MT\" was never defined.
4113 Usually this means the macro was only invoked conditionally." >&5
4114 echo "$as_me: error: conditional \"SIDTARGET_MT\" was never defined.
4115 Usually this means the macro was only invoked conditionally." >&2;}
4116 { (exit 1); exit 1; }; }
4118 if test -z "${SIDTARGET_PPC_TRUE}" && test -z "${SIDTARGET_PPC_FALSE}"; then
4119 { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_PPC\" was never defined.
4120 Usually this means the macro was only invoked conditionally." >&5
4121 echo "$as_me: error: conditional \"SIDTARGET_PPC\" was never defined.
4122 Usually this means the macro was only invoked conditionally." >&2;}
4123 { (exit 1); exit 1; }; }
4125 if test -z "${SIDTARGET_SH_TRUE}" && test -z "${SIDTARGET_SH_FALSE}"; then
4126 { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_SH\" was never defined.
4127 Usually this means the macro was only invoked conditionally." >&5
4128 echo "$as_me: error: conditional \"SIDTARGET_SH\" was never defined.
4129 Usually this means the macro was only invoked conditionally." >&2;}
4130 { (exit 1); exit 1; }; }
4132 if test -z "${SIDTARGET_SH64_TRUE}" && test -z "${SIDTARGET_SH64_FALSE}"; then
4133 { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_SH64\" was never defined.
4134 Usually this means the macro was only invoked conditionally." >&5
4135 echo "$as_me: error: conditional \"SIDTARGET_SH64\" was never defined.
4136 Usually this means the macro was only invoked conditionally." >&2;}
4137 { (exit 1); exit 1; }; }
4139 if test -z "${SIDTARGET_XSTORMY16_TRUE}" && test -z "${SIDTARGET_XSTORMY16_FALSE}"; then
4140 { { echo "$as_me:$LINENO: error: conditional \"SIDTARGET_XSTORMY16\" was never defined.
4141 Usually this means the macro was only invoked conditionally." >&5
4142 echo "$as_me: error: conditional \"SIDTARGET_XSTORMY16\" was never defined.
4143 Usually this means the macro was only invoked conditionally." >&2;}
4144 { (exit 1); exit 1; }; }
4147 : ${CONFIG_STATUS=./config.status}
4148 ac_clean_files_save=$ac_clean_files
4149 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4150 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4151 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4152 cat >$CONFIG_STATUS <<_ACEOF
4154 # Generated by $as_me.
4155 # Run this file to recreate the current configuration.
4156 # Compiler output produced by configure, useful for debugging
4157 # configure, is in config.log if it exists.
4162 SHELL=\${CONFIG_SHELL-$SHELL}
4165 cat >>$CONFIG_STATUS <<\_ACEOF
4166 ## --------------------- ##
4167 ## M4sh Initialization. ##
4168 ## --------------------- ##
4170 # Be Bourne compatible
4171 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4174 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4175 # is contrary to our usage. Disable this feature.
4176 alias -g '${1+"$@"}'='"$@"'
4177 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4180 DUALCASE=1; export DUALCASE # for MKS sh
4182 # Support unset when possible.
4183 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4190 # Work around bugs in pre-3.0 UWIN ksh.
4191 $as_unset ENV MAIL MAILPATH
4198 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4199 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4200 LC_TELEPHONE LC_TIME
4202 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4203 eval $as_var=C; export $as_var
4209 # Required to use basename.
4210 if expr a : '\(a\)' >/dev/null 2>&1; then
4216 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4217 as_basename=basename
4223 # Name of the executable.
4224 as_me=`$as_basename "$0" ||
4225 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4226 X"$0" : 'X\(//\)$' \| \
4227 X"$0" : 'X\(/\)$' \| \
4228 . : '\(.\)' 2>/dev/null ||
4230 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4231 /^X\/\(\/\/\)$/{ s//\1/; q; }
4232 /^X\/\(\/\).*/{ s//\1/; q; }
4236 # PATH needs CR, and LINENO needs CR and PATH.
4237 # Avoid depending upon Character Ranges.
4238 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4239 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4240 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4241 as_cr_digits='0123456789'
4242 as_cr_alnum=$as_cr_Letters$as_cr_digits
4244 # The user is always right.
4245 if test "${PATH_SEPARATOR+set}" != set; then
4246 echo "#! /bin/sh" >conf$$.sh
4247 echo "exit 0" >>conf$$.sh
4249 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4260 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4261 test "x$as_lineno_1" != "x$as_lineno_2" &&
4262 test "x$as_lineno_3" = "x$as_lineno_2" || {
4263 # Find who we are. Look in the path if we contain no path at all
4266 *[\\/]* ) as_myself=$0 ;;
4267 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4271 test -z "$as_dir" && as_dir=.
4272 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4277 # We did not find ourselves, most probably we were run as `sh COMMAND'
4278 # in which case we are not to be found in the path.
4279 if test "x$as_myself" = x; then
4282 if test ! -f "$as_myself"; then
4283 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4284 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4285 { (exit 1); exit 1; }; }
4287 case $CONFIG_SHELL in
4289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4290 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4293 test -z "$as_dir" && as_dir=.
4294 for as_base in sh bash ksh sh5; do
4297 if ("$as_dir/$as_base" -c '
4300 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4301 test "x$as_lineno_1" != "x$as_lineno_2" &&
4302 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4303 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4304 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4305 CONFIG_SHELL=$as_dir/$as_base
4307 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4315 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4316 # uniformly replaced by the line number. The first 'sed' inserts a
4317 # line-number line before each line; the second 'sed' does the real
4318 # work. The second script uses 'N' to pair each line-number line
4319 # with the numbered line, and appends trailing '-' during
4320 # substitution so that $LINENO is not a special case at line end.
4321 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4322 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4323 sed '=' <$as_myself |
4328 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4331 s,^['$as_cr_digits']*\n,,
4333 chmod +x $as_me.lineno ||
4334 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4335 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4336 { (exit 1); exit 1; }; }
4338 # Don't try to exec as it changes $[0], causing all sort of problems
4339 # (the dirname of $[0] is not the place where we might find the
4340 # original and so on. Autoconf is especially sensible to this).
4342 # Exit status is that of the last command.
4347 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4348 *c*,-n*) ECHO_N= ECHO_C='
4350 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4351 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4354 if expr a : '\(a\)' >/dev/null 2>&1; then
4360 rm -f conf$$ conf$$.exe conf$$.file
4362 if ln -s conf$$.file conf$$ 2>/dev/null; then
4363 # We could just check for DJGPP; but this test a) works b) is more generic
4364 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4365 if test -f conf$$.exe; then
4366 # Don't use ln at all; we don't have any links
4371 elif ln conf$$.file conf$$ 2>/dev/null; then
4376 rm -f conf$$ conf$$.exe conf$$.file
4378 if mkdir -p . 2>/dev/null; then
4381 test -d ./-p && rmdir ./-p
4385 as_executable_p="test -f"
4387 # Sed expression to map a string onto a valid CPP name.
4388 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4390 # Sed expression to map a string onto a valid variable name.
4391 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4395 # We need space, tab and new line, in precisely that order.
4405 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4406 # report actual input values of CONFIG_FILES etc. instead of their
4407 # values after options handling. Logging --version etc. is OK.
4411 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4412 ## Running $as_me. ##
4417 This file was extended by $as_me, which was
4418 generated by GNU Autoconf 2.59. Invocation command line was
4420 CONFIG_FILES = $CONFIG_FILES
4421 CONFIG_HEADERS = $CONFIG_HEADERS
4422 CONFIG_LINKS = $CONFIG_LINKS
4423 CONFIG_COMMANDS = $CONFIG_COMMANDS
4427 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4431 # Files that config.status was made for.
4432 if test -n "$ac_config_files"; then
4433 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4436 if test -n "$ac_config_headers"; then
4437 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4440 if test -n "$ac_config_links"; then
4441 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4444 if test -n "$ac_config_commands"; then
4445 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4448 cat >>$CONFIG_STATUS <<\_ACEOF
4451 \`$as_me' instantiates files from templates according to the
4452 current configuration.
4454 Usage: $0 [OPTIONS] [FILE]...
4456 -h, --help print this help, then exit
4457 -V, --version print version number, then exit
4458 -q, --quiet do not print progress messages
4459 -d, --debug don't remove temporary files
4460 --recheck update $as_me by reconfiguring in the same conditions
4461 --file=FILE[:TEMPLATE]
4462 instantiate the configuration file FILE
4464 Configuration files:
4467 Configuration commands:
4470 Report bugs to <bug-autoconf@gnu.org>."
4473 cat >>$CONFIG_STATUS <<_ACEOF
4476 configured by $0, generated by GNU Autoconf 2.59,
4477 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4479 Copyright (C) 2003 Free Software Foundation, Inc.
4480 This config.status script is free software; the Free Software Foundation
4481 gives unlimited permission to copy, distribute and modify it."
4486 cat >>$CONFIG_STATUS <<\_ACEOF
4487 # If no file are specified by the user, then we need to provide default
4488 # value. By we need to know if files were specified by the user.
4494 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4495 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4503 *) # This is not an option, so the user has probably given explicit
4506 ac_need_defaults=false;;
4510 # Handling of the options.
4512 cat >>$CONFIG_STATUS <<\_ACEOF
4513 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4515 --version | --vers* | -V )
4516 echo "$ac_cs_version"; exit 0 ;;
4518 # Conflict between --help and --header
4519 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4520 Try \`$0 --help' for more information." >&5
4521 echo "$as_me: error: ambiguous option: $1
4522 Try \`$0 --help' for more information." >&2;}
4523 { (exit 1); exit 1; }; };;
4524 --help | --hel | -h )
4525 echo "$ac_cs_usage"; exit 0 ;;
4526 --debug | --d* | -d )
4528 --file | --fil | --fi | --f )
4530 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4531 ac_need_defaults=false;;
4532 --header | --heade | --head | --hea )
4534 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4535 ac_need_defaults=false;;
4536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4537 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4541 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4542 Try \`$0 --help' for more information." >&5
4543 echo "$as_me: error: unrecognized option: $1
4544 Try \`$0 --help' for more information." >&2;}
4545 { (exit 1); exit 1; }; } ;;
4547 *) ac_config_targets="$ac_config_targets $1" ;;
4553 ac_configure_extra_args=
4555 if $ac_cs_silent; then
4557 ac_configure_extra_args="$ac_configure_extra_args --silent"
4561 cat >>$CONFIG_STATUS <<_ACEOF
4562 if \$ac_cs_recheck; then
4563 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4564 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4569 cat >>$CONFIG_STATUS <<_ACEOF
4571 # INIT-COMMANDS section.
4574 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4580 cat >>$CONFIG_STATUS <<\_ACEOF
4581 for ac_config_target in $ac_config_targets
4583 case "$ac_config_target" in
4584 # Handling of arguments.
4585 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4586 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
4587 "config/info.tcl" ) CONFIG_FILES="$CONFIG_FILES config/info.tcl" ;;
4588 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4589 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4590 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4591 { (exit 1); exit 1; }; };;
4595 # If the user did not use the arguments to specify the items to instantiate,
4596 # then the envvar interface is used. Set only those that are not.
4597 # We use the long form for the default assignment because of an extremely
4598 # bizarre bug on SunOS 4.1.3.
4599 if $ac_need_defaults; then
4600 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4601 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4604 # Have a temporary directory for convenience. Make it in the build tree
4605 # simply because there is no reason to put it here, and in addition,
4606 # creating and moving files from /tmp can sometimes cause problems.
4607 # Create a temporary directory, and hook for its removal unless debugging.
4610 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4611 trap '{ (exit 1); exit 1; }' 1 2 13 15
4614 # Create a (secure) tmp directory for tmp files.
4617 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4618 test -n "$tmp" && test -d "$tmp"
4621 tmp=./confstat$$-$RANDOM
4622 (umask 077 && mkdir $tmp)
4625 echo "$me: cannot create a temporary directory in ." >&2
4626 { (exit 1); exit 1; }
4631 cat >>$CONFIG_STATUS <<_ACEOF
4634 # CONFIG_FILES section.
4637 # No need to generate the scripts if there are no CONFIG_FILES.
4638 # This happens for instance when ./config.status config.h
4639 if test -n "\$CONFIG_FILES"; then
4640 # Protect against being on the right side of a sed subst in config.status.
4641 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4642 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4643 s,@SHELL@,$SHELL,;t t
4644 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4645 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4646 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4647 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4648 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4649 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4650 s,@exec_prefix@,$exec_prefix,;t t
4651 s,@prefix@,$prefix,;t t
4652 s,@program_transform_name@,$program_transform_name,;t t
4653 s,@bindir@,$bindir,;t t
4654 s,@sbindir@,$sbindir,;t t
4655 s,@libexecdir@,$libexecdir,;t t
4656 s,@datadir@,$datadir,;t t
4657 s,@sysconfdir@,$sysconfdir,;t t
4658 s,@sharedstatedir@,$sharedstatedir,;t t
4659 s,@localstatedir@,$localstatedir,;t t
4660 s,@libdir@,$libdir,;t t
4661 s,@includedir@,$includedir,;t t
4662 s,@oldincludedir@,$oldincludedir,;t t
4663 s,@infodir@,$infodir,;t t
4664 s,@mandir@,$mandir,;t t
4665 s,@build_alias@,$build_alias,;t t
4666 s,@host_alias@,$host_alias,;t t
4667 s,@target_alias@,$target_alias,;t t
4669 s,@ECHO_C@,$ECHO_C,;t t
4670 s,@ECHO_N@,$ECHO_N,;t t
4671 s,@ECHO_T@,$ECHO_T,;t t
4674 s,@CFLAGS@,$CFLAGS,;t t
4675 s,@LDFLAGS@,$LDFLAGS,;t t
4676 s,@CPPFLAGS@,$CPPFLAGS,;t t
4677 s,@ac_ct_CC@,$ac_ct_CC,;t t
4678 s,@EXEEXT@,$EXEEXT,;t t
4679 s,@OBJEXT@,$OBJEXT,;t t
4680 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4681 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4682 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4683 s,@CYGPATH_W@,$CYGPATH_W,;t t
4684 s,@PACKAGE@,$PACKAGE,;t t
4685 s,@VERSION@,$VERSION,;t t
4686 s,@ACLOCAL@,$ACLOCAL,;t t
4687 s,@AUTOCONF@,$AUTOCONF,;t t
4688 s,@AUTOMAKE@,$AUTOMAKE,;t t
4689 s,@AUTOHEADER@,$AUTOHEADER,;t t
4690 s,@MAKEINFO@,$MAKEINFO,;t t
4691 s,@install_sh@,$install_sh,;t t
4692 s,@STRIP@,$STRIP,;t t
4693 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4694 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4695 s,@mkdir_p@,$mkdir_p,;t t
4697 s,@SET_MAKE@,$SET_MAKE,;t t
4698 s,@am__leading_dot@,$am__leading_dot,;t t
4699 s,@AMTAR@,$AMTAR,;t t
4700 s,@am__tar@,$am__tar,;t t
4701 s,@am__untar@,$am__untar,;t t
4702 s,@DEPDIR@,$DEPDIR,;t t
4703 s,@am__include@,$am__include,;t t
4704 s,@am__quote@,$am__quote,;t t
4705 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4706 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4707 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4708 s,@CCDEPMODE@,$CCDEPMODE,;t t
4709 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4710 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4711 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4712 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4713 s,@MAINT@,$MAINT,;t t
4715 s,@CXXFLAGS@,$CXXFLAGS,;t t
4716 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
4717 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
4718 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
4719 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
4720 s,@CXXCPP@,$CXXCPP,;t t
4721 s,@sidtarget_arm@,$sidtarget_arm,;t t
4722 s,@SIDTARGET_ARM_TRUE@,$SIDTARGET_ARM_TRUE,;t t
4723 s,@SIDTARGET_ARM_FALSE@,$SIDTARGET_ARM_FALSE,;t t
4724 s,@sidtarget_x86@,$sidtarget_x86,;t t
4725 s,@SIDTARGET_X86_TRUE@,$SIDTARGET_X86_TRUE,;t t
4726 s,@SIDTARGET_X86_FALSE@,$SIDTARGET_X86_FALSE,;t t
4727 s,@sidtarget_mips@,$sidtarget_mips,;t t
4728 s,@SIDTARGET_MIPS_TRUE@,$SIDTARGET_MIPS_TRUE,;t t
4729 s,@SIDTARGET_MIPS_FALSE@,$SIDTARGET_MIPS_FALSE,;t t
4730 s,@sidtarget_m32r@,$sidtarget_m32r,;t t
4731 s,@SIDTARGET_M32R_TRUE@,$SIDTARGET_M32R_TRUE,;t t
4732 s,@SIDTARGET_M32R_FALSE@,$SIDTARGET_M32R_FALSE,;t t
4733 s,@sidtarget_m68k@,$sidtarget_m68k,;t t
4734 s,@SIDTARGET_M68K_TRUE@,$SIDTARGET_M68K_TRUE,;t t
4735 s,@SIDTARGET_M68K_FALSE@,$SIDTARGET_M68K_FALSE,;t t
4736 s,@sidtarget_mep@,$sidtarget_mep,;t t
4737 s,@SIDTARGET_MEP_TRUE@,$SIDTARGET_MEP_TRUE,;t t
4738 s,@SIDTARGET_MEP_FALSE@,$SIDTARGET_MEP_FALSE,;t t
4739 s,@sidtarget_mt@,$sidtarget_mt,;t t
4740 s,@SIDTARGET_MT_TRUE@,$SIDTARGET_MT_TRUE,;t t
4741 s,@SIDTARGET_MT_FALSE@,$SIDTARGET_MT_FALSE,;t t
4742 s,@sidtarget_ppc@,$sidtarget_ppc,;t t
4743 s,@SIDTARGET_PPC_TRUE@,$SIDTARGET_PPC_TRUE,;t t
4744 s,@SIDTARGET_PPC_FALSE@,$SIDTARGET_PPC_FALSE,;t t
4745 s,@sidtarget_sh@,$sidtarget_sh,;t t
4746 s,@SIDTARGET_SH_TRUE@,$SIDTARGET_SH_TRUE,;t t
4747 s,@SIDTARGET_SH_FALSE@,$SIDTARGET_SH_FALSE,;t t
4748 s,@sidtarget_sh64@,$sidtarget_sh64,;t t
4749 s,@SIDTARGET_SH64_TRUE@,$SIDTARGET_SH64_TRUE,;t t
4750 s,@SIDTARGET_SH64_FALSE@,$SIDTARGET_SH64_FALSE,;t t
4751 s,@sidtarget_xstormy16@,$sidtarget_xstormy16,;t t
4752 s,@SIDTARGET_XSTORMY16_TRUE@,$SIDTARGET_XSTORMY16_TRUE,;t t
4753 s,@SIDTARGET_XSTORMY16_FALSE@,$SIDTARGET_XSTORMY16_FALSE,;t t
4754 s,@enable_shared@,$enable_shared,;t t
4755 s,@target@,$target,;t t
4756 s,@subdirs@,$subdirs,;t t
4757 s,@LIBOBJS@,$LIBOBJS,;t t
4758 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4763 cat >>$CONFIG_STATUS <<\_ACEOF
4764 # Split the substitutions into bite-sized pieces for seds with
4765 # small command number limits, like on Digital OSF/1 and HP-UX.
4767 ac_sed_frag=1 # Number of current file.
4768 ac_beg=1 # First line for current file.
4769 ac_end=$ac_max_sed_lines # Line after last line for current file.
4772 while $ac_more_lines; do
4773 if test $ac_beg -gt 1; then
4774 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4776 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4778 if test ! -s $tmp/subs.frag; then
4781 # The purpose of the label and of the branching condition is to
4782 # speed up the sed processing (if there are no `@' at all, there
4783 # is no need to browse any of the substitutions).
4784 # These are the two extra sed commands mentioned above.
4786 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4787 if test -z "$ac_sed_cmds"; then
4788 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4790 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4792 ac_sed_frag=`expr $ac_sed_frag + 1`
4794 ac_end=`expr $ac_end + $ac_max_sed_lines`
4797 if test -z "$ac_sed_cmds"; then
4800 fi # test -n "$CONFIG_FILES"
4803 cat >>$CONFIG_STATUS <<\_ACEOF
4804 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4805 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4807 - | *:- | *:-:* ) # input from stdin
4809 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4810 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4811 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4812 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4813 * ) ac_file_in=$ac_file.in ;;
4816 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4817 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4818 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4819 X"$ac_file" : 'X\(//\)[^/]' \| \
4820 X"$ac_file" : 'X\(//\)$' \| \
4821 X"$ac_file" : 'X\(/\)' \| \
4822 . : '\(.\)' 2>/dev/null ||
4824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4825 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4826 /^X\(\/\/\)$/{ s//\1/; q; }
4827 /^X\(\/\).*/{ s//\1/; q; }
4829 { if $as_mkdir_p; then
4834 while test ! -d "$as_dir"; do
4835 as_dirs="$as_dir $as_dirs"
4836 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4837 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4838 X"$as_dir" : 'X\(//\)[^/]' \| \
4839 X"$as_dir" : 'X\(//\)$' \| \
4840 X"$as_dir" : 'X\(/\)' \| \
4841 . : '\(.\)' 2>/dev/null ||
4843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4844 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4845 /^X\(\/\/\)$/{ s//\1/; q; }
4846 /^X\(\/\).*/{ s//\1/; q; }
4849 test ! -n "$as_dirs" || mkdir $as_dirs
4850 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4851 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4852 { (exit 1); exit 1; }; }; }
4856 if test "$ac_dir" != .; then
4857 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4858 # A "../" for each directory in $ac_dir_suffix.
4859 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4861 ac_dir_suffix= ac_top_builddir=
4865 .) # No --srcdir option. We are building in place.
4867 if test -z "$ac_top_builddir"; then
4870 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4872 [\\/]* | ?:[\\/]* ) # Absolute path.
4873 ac_srcdir=$srcdir$ac_dir_suffix;
4874 ac_top_srcdir=$srcdir ;;
4876 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4877 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4880 # Do not use `cd foo && pwd` to compute absolute paths, because
4881 # the directories may not exist.
4883 .) ac_abs_builddir="$ac_dir";;
4886 .) ac_abs_builddir=`pwd`;;
4887 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4888 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4891 case $ac_abs_builddir in
4892 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4894 case ${ac_top_builddir}. in
4895 .) ac_abs_top_builddir=$ac_abs_builddir;;
4896 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4897 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4900 case $ac_abs_builddir in
4901 .) ac_abs_srcdir=$ac_srcdir;;
4904 .) ac_abs_srcdir=$ac_abs_builddir;;
4905 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4906 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4909 case $ac_abs_builddir in
4910 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4912 case $ac_top_srcdir in
4913 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4914 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4915 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4921 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4922 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4925 if test x"$ac_file" != x-; then
4926 { echo "$as_me:$LINENO: creating $ac_file" >&5
4927 echo "$as_me: creating $ac_file" >&6;}
4930 # Let's still pretend it is `configure' which instantiates (i.e., don't
4931 # use $as_me), people would be surprised to read:
4932 # /* config.h. Generated by config.status. */
4933 if test x"$ac_file" = x-; then
4936 configure_input="$ac_file. "
4938 configure_input=$configure_input"Generated from `echo $ac_file_in |
4939 sed 's,.*/,,'` by configure."
4941 # First look for the input files in the build tree, otherwise in the
4943 ac_file_inputs=`IFS=:
4944 for f in $ac_file_in; do
4946 -) echo $tmp/stdin ;;
4948 # Absolute (can't be DOS-style, as IFS=:)
4949 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4950 echo "$as_me: error: cannot find input file: $f" >&2;}
4951 { (exit 1); exit 1; }; }
4954 if test -f "$f"; then
4957 elif test -f "$srcdir/$f"; then
4962 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4963 echo "$as_me: error: cannot find input file: $f" >&2;}
4964 { (exit 1); exit 1; }; }
4967 done` || { (exit 1); exit 1; }
4969 cat >>$CONFIG_STATUS <<_ACEOF
4973 cat >>$CONFIG_STATUS <<\_ACEOF
4975 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4976 s,@configure_input@,$configure_input,;t t
4977 s,@srcdir@,$ac_srcdir,;t t
4978 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4979 s,@top_srcdir@,$ac_top_srcdir,;t t
4980 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4981 s,@builddir@,$ac_builddir,;t t
4982 s,@abs_builddir@,$ac_abs_builddir,;t t
4983 s,@top_builddir@,$ac_top_builddir,;t t
4984 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4985 s,@INSTALL@,$ac_INSTALL,;t t
4986 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4988 if test x"$ac_file" != x-; then
4989 mv $tmp/out $ac_file
4997 cat >>$CONFIG_STATUS <<\_ACEOF
5000 # CONFIG_COMMANDS section.
5002 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5003 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5004 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5005 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5006 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5007 X"$ac_dest" : 'X\(//\)[^/]' \| \
5008 X"$ac_dest" : 'X\(//\)$' \| \
5009 X"$ac_dest" : 'X\(/\)' \| \
5010 . : '\(.\)' 2>/dev/null ||
5012 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5013 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5014 /^X\(\/\/\)$/{ s//\1/; q; }
5015 /^X\(\/\).*/{ s//\1/; q; }
5017 { if $as_mkdir_p; then
5022 while test ! -d "$as_dir"; do
5023 as_dirs="$as_dir $as_dirs"
5024 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5025 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5026 X"$as_dir" : 'X\(//\)[^/]' \| \
5027 X"$as_dir" : 'X\(//\)$' \| \
5028 X"$as_dir" : 'X\(/\)' \| \
5029 . : '\(.\)' 2>/dev/null ||
5031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5032 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5033 /^X\(\/\/\)$/{ s//\1/; q; }
5034 /^X\(\/\).*/{ s//\1/; q; }
5037 test ! -n "$as_dirs" || mkdir $as_dirs
5038 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5039 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5040 { (exit 1); exit 1; }; }; }
5044 if test "$ac_dir" != .; then
5045 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5046 # A "../" for each directory in $ac_dir_suffix.
5047 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5049 ac_dir_suffix= ac_top_builddir=
5053 .) # No --srcdir option. We are building in place.
5055 if test -z "$ac_top_builddir"; then
5058 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5060 [\\/]* | ?:[\\/]* ) # Absolute path.
5061 ac_srcdir=$srcdir$ac_dir_suffix;
5062 ac_top_srcdir=$srcdir ;;
5064 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5065 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5068 # Do not use `cd foo && pwd` to compute absolute paths, because
5069 # the directories may not exist.
5071 .) ac_abs_builddir="$ac_dir";;
5074 .) ac_abs_builddir=`pwd`;;
5075 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5076 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5079 case $ac_abs_builddir in
5080 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5082 case ${ac_top_builddir}. in
5083 .) ac_abs_top_builddir=$ac_abs_builddir;;
5084 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5085 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5088 case $ac_abs_builddir in
5089 .) ac_abs_srcdir=$ac_srcdir;;
5092 .) ac_abs_srcdir=$ac_abs_builddir;;
5093 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5094 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5097 case $ac_abs_builddir in
5098 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5100 case $ac_top_srcdir in
5101 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5102 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5103 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5108 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5109 echo "$as_me: executing $ac_dest commands" >&6;}
5111 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5112 # Strip MF so we end up with the name of the file.
5113 mf=`echo "$mf" | sed -e 's/:.*$//'`
5114 # Check whether this is an Automake generated Makefile or not.
5115 # We used to match only the files named `Makefile.in', but
5116 # some people rename them; so instead we look at the file content.
5117 # Grep'ing the first line is not enough: some people post-process
5118 # each Makefile.in and add a new line on top of each file to say so.
5119 # So let's grep whole file.
5120 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5121 dirpart=`(dirname "$mf") 2>/dev/null ||
5122 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5123 X"$mf" : 'X\(//\)[^/]' \| \
5124 X"$mf" : 'X\(//\)$' \| \
5125 X"$mf" : 'X\(/\)' \| \
5126 . : '\(.\)' 2>/dev/null ||
5128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5129 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5130 /^X\(\/\/\)$/{ s//\1/; q; }
5131 /^X\(\/\).*/{ s//\1/; q; }
5136 # Extract the definition of DEPDIR, am__include, and am__quote
5137 # from the Makefile without running `make'.
5138 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5139 test -z "$DEPDIR" && continue
5140 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5141 test -z "am__include" && continue
5142 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5143 # When using ansi2knr, U may be empty or an underscore; expand it
5144 U=`sed -n 's/^U = //p' < "$mf"`
5145 # Find all dependency output files, they are included files with
5146 # $(DEPDIR) in their names. We invoke sed twice because it is the
5147 # simplest approach to changing $(DEPDIR) to its actual value in the
5149 for file in `sed -n "
5150 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5151 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5152 # Make sure the directory exists.
5153 test -f "$dirpart/$file" && continue
5154 fdir=`(dirname "$file") 2>/dev/null ||
5155 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5156 X"$file" : 'X\(//\)[^/]' \| \
5157 X"$file" : 'X\(//\)$' \| \
5158 X"$file" : 'X\(/\)' \| \
5159 . : '\(.\)' 2>/dev/null ||
5161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5162 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5163 /^X\(\/\/\)$/{ s//\1/; q; }
5164 /^X\(\/\).*/{ s//\1/; q; }
5166 { if $as_mkdir_p; then
5167 mkdir -p $dirpart/$fdir
5169 as_dir=$dirpart/$fdir
5171 while test ! -d "$as_dir"; do
5172 as_dirs="$as_dir $as_dirs"
5173 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5174 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5175 X"$as_dir" : 'X\(//\)[^/]' \| \
5176 X"$as_dir" : 'X\(//\)$' \| \
5177 X"$as_dir" : 'X\(/\)' \| \
5178 . : '\(.\)' 2>/dev/null ||
5180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5181 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5182 /^X\(\/\/\)$/{ s//\1/; q; }
5183 /^X\(\/\).*/{ s//\1/; q; }
5186 test ! -n "$as_dirs" || mkdir $as_dirs
5187 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5188 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5189 { (exit 1); exit 1; }; }; }
5191 # echo "creating $dirpart/$file"
5192 echo '# dummy' > "$dirpart/$file"
5200 cat >>$CONFIG_STATUS <<\_ACEOF
5202 { (exit 0); exit 0; }
5204 chmod +x $CONFIG_STATUS
5205 ac_clean_files=$ac_clean_files_save
5208 # configure is writing to config.log, and then calls config.status.
5209 # config.status does its own redirection, appending to config.log.
5210 # Unfortunately, on DOS this fails, as config.log is still kept open
5211 # by configure, so config.status won't be able to write to it; its
5212 # output is simply discarded. So we exec the FD to /dev/null,
5213 # effectively closing config.log, so it can be properly (re)opened and
5214 # appended to by config.status. When coming back to configure, we
5215 # need to make the FD available again.
5216 if test "$no_create" != yes; then
5218 ac_config_status_args=
5219 test "$silent" = yes &&
5220 ac_config_status_args="$ac_config_status_args --quiet"
5222 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5224 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5225 # would make configure fail if this is the last instruction.
5226 $ac_cs_success || { (exit 1); exit 1; }
5230 # CONFIG_SUBDIRS section.
5232 if test "$no_recursion" != yes; then
5234 # Remove --cache-file and --srcdir arguments so they do not pile up.
5235 ac_sub_configure_args=
5237 for ac_arg in $ac_configure_args; do
5238 if test -n "$ac_prev"; then
5243 -cache-file | --cache-file | --cache-fil | --cache-fi \
5244 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5245 ac_prev=cache_file ;;
5246 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5247 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
5250 --config-cache | -C)
5252 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5254 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5256 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5258 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
5260 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
5264 # Always prepend --prefix to ensure using the same prefix
5265 # in subdir configurations.
5266 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
5269 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
5271 # Do not complain, so a configure script can configure whichever
5272 # parts of a large source tree are present.
5273 test -d $srcdir/$ac_dir || continue
5275 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
5276 echo "$as_me: configuring in $ac_dir" >&6;}
5277 { if $as_mkdir_p; then
5282 while test ! -d "$as_dir"; do
5283 as_dirs="$as_dir $as_dirs"
5284 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5285 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5286 X"$as_dir" : 'X\(//\)[^/]' \| \
5287 X"$as_dir" : 'X\(//\)$' \| \
5288 X"$as_dir" : 'X\(/\)' \| \
5289 . : '\(.\)' 2>/dev/null ||
5291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5292 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5293 /^X\(\/\/\)$/{ s//\1/; q; }
5294 /^X\(\/\).*/{ s//\1/; q; }
5297 test ! -n "$as_dirs" || mkdir $as_dirs
5298 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5299 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5300 { (exit 1); exit 1; }; }; }
5304 if test "$ac_dir" != .; then
5305 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5306 # A "../" for each directory in $ac_dir_suffix.
5307 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5309 ac_dir_suffix= ac_top_builddir=
5313 .) # No --srcdir option. We are building in place.
5315 if test -z "$ac_top_builddir"; then
5318 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5320 [\\/]* | ?:[\\/]* ) # Absolute path.
5321 ac_srcdir=$srcdir$ac_dir_suffix;
5322 ac_top_srcdir=$srcdir ;;
5324 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5325 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5328 # Do not use `cd foo && pwd` to compute absolute paths, because
5329 # the directories may not exist.
5331 .) ac_abs_builddir="$ac_dir";;
5334 .) ac_abs_builddir=`pwd`;;
5335 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5336 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5339 case $ac_abs_builddir in
5340 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5342 case ${ac_top_builddir}. in
5343 .) ac_abs_top_builddir=$ac_abs_builddir;;
5344 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5345 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5348 case $ac_abs_builddir in
5349 .) ac_abs_srcdir=$ac_srcdir;;
5352 .) ac_abs_srcdir=$ac_abs_builddir;;
5353 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5354 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5357 case $ac_abs_builddir in
5358 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5360 case $ac_top_srcdir in
5361 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5362 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5363 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5370 # Check for guested configure; otherwise get Cygnus style configure.
5371 if test -f $ac_srcdir/configure.gnu; then
5372 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
5373 elif test -f $ac_srcdir/configure; then
5374 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
5375 elif test -f $ac_srcdir/configure.in; then
5376 ac_sub_configure=$ac_configure
5378 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
5379 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5383 # The recursion is here.
5384 if test -n "$ac_sub_configure"; then
5385 # Make the cache file name correct relative to the subdirectory.
5387 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
5389 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
5392 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5393 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5394 # The eval makes quoting arguments work.
5395 eval $ac_sub_configure $ac_sub_configure_args \
5396 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
5397 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
5398 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
5399 { (exit 1); exit 1; }; }