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="close.c"
275 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC am__leading_dot DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS AR LD RANLIB ac_ct_RANLIB CCAS CCASFLAGS host_makefile_frag_path LIBOBJS LTLIBOBJS'
276 ac_subst_files='host_makefile_frag'
278 # Initialize some variables set by options.
280 ac_init_version=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name=s,x,x,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir='${exec_prefix}/bin'
304 sbindir='${exec_prefix}/sbin'
305 libexecdir='${exec_prefix}/libexec'
306 datadir='${prefix}/share'
307 sysconfdir='${prefix}/etc'
308 sharedstatedir='${prefix}/com'
309 localstatedir='${prefix}/var'
310 libdir='${exec_prefix}/lib'
311 includedir='${prefix}/include'
312 oldincludedir='/usr/include'
313 infodir='${prefix}/info'
314 mandir='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337 -build | --build | --buil | --bui | --bu)
338 ac_prev=build_alias ;;
339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340 build_alias=$ac_optarg ;;
342 -cache-file | --cache-file | --cache-fil | --cache-fi \
343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344 ac_prev=cache_file ;;
345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347 cache_file=$ac_optarg ;;
350 cache_file=config.cache ;;
352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 datadir=$ac_optarg ;;
358 -disable-* | --disable-*)
359 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* | --enable-*)
368 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382 | --exec | --exe | --ex)
383 ac_prev=exec_prefix ;;
384 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386 | --exec=* | --exe=* | --ex=*)
387 exec_prefix=$ac_optarg ;;
389 -gas | --gas | --ga | --g)
390 # Obsolete; use --with-gas.
393 -help | --help | --hel | --he | -h)
395 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396 ac_init_help=recursive ;;
397 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398 ac_init_help=short ;;
400 -host | --host | --hos | --ho)
401 ac_prev=host_alias ;;
402 -host=* | --host=* | --hos=* | --ho=*)
403 host_alias=$ac_optarg ;;
405 -includedir | --includedir | --includedi | --included | --include \
406 | --includ | --inclu | --incl | --inc)
407 ac_prev=includedir ;;
408 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409 | --includ=* | --inclu=* | --incl=* | --inc=*)
410 includedir=$ac_optarg ;;
412 -infodir | --infodir | --infodi | --infod | --info | --inf)
414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415 infodir=$ac_optarg ;;
417 -libdir | --libdir | --libdi | --libd)
419 -libdir=* | --libdir=* | --libdi=* | --libd=*)
422 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423 | --libexe | --libex | --libe)
424 ac_prev=libexecdir ;;
425 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426 | --libexe=* | --libex=* | --libe=*)
427 libexecdir=$ac_optarg ;;
429 -localstatedir | --localstatedir | --localstatedi | --localstated \
430 | --localstate | --localstat | --localsta | --localst \
431 | --locals | --local | --loca | --loc | --lo)
432 ac_prev=localstatedir ;;
433 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436 localstatedir=$ac_optarg ;;
438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
444 # Obsolete; use --without-fp.
447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448 | --no-cr | --no-c | -n)
451 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457 | --oldin | --oldi | --old | --ol | --o)
458 ac_prev=oldincludedir ;;
459 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462 oldincludedir=$ac_optarg ;;
464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469 -program-prefix | --program-prefix | --program-prefi | --program-pref \
470 | --program-pre | --program-pr | --program-p)
471 ac_prev=program_prefix ;;
472 -program-prefix=* | --program-prefix=* | --program-prefi=* \
473 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474 program_prefix=$ac_optarg ;;
476 -program-suffix | --program-suffix | --program-suffi | --program-suff \
477 | --program-suf | --program-su | --program-s)
478 ac_prev=program_suffix ;;
479 -program-suffix=* | --program-suffix=* | --program-suffi=* \
480 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481 program_suffix=$ac_optarg ;;
483 -program-transform-name | --program-transform-name \
484 | --program-transform-nam | --program-transform-na \
485 | --program-transform-n | --program-transform- \
486 | --program-transform | --program-transfor \
487 | --program-transfo | --program-transf \
488 | --program-trans | --program-tran \
489 | --progr-tra | --program-tr | --program-t)
490 ac_prev=program_transform_name ;;
491 -program-transform-name=* | --program-transform-name=* \
492 | --program-transform-nam=* | --program-transform-na=* \
493 | --program-transform-n=* | --program-transform-=* \
494 | --program-transform=* | --program-transfor=* \
495 | --program-transfo=* | --program-transf=* \
496 | --program-trans=* | --program-tran=* \
497 | --progr-tra=* | --program-tr=* | --program-t=*)
498 program_transform_name=$ac_optarg ;;
500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501 | -silent | --silent | --silen | --sile | --sil)
504 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508 sbindir=$ac_optarg ;;
510 -sharedstatedir | --sharedstatedir | --sharedstatedi \
511 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512 | --sharedst | --shareds | --shared | --share | --shar \
514 ac_prev=sharedstatedir ;;
515 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519 sharedstatedir=$ac_optarg ;;
521 -site | --site | --sit)
523 -site=* | --site=* | --sit=*)
526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532 | --syscon | --sysco | --sysc | --sys | --sy)
533 ac_prev=sysconfdir ;;
534 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536 sysconfdir=$ac_optarg ;;
538 -target | --target | --targe | --targ | --tar | --ta | --t)
539 ac_prev=target_alias ;;
540 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541 target_alias=$ac_optarg ;;
543 -v | -verbose | --verbose | --verbos | --verbo | --verb)
546 -version | --version | --versio | --versi | --vers | -V)
550 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package=`echo $ac_package| sed 's/-/_/g'`
557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* | --without-*)
563 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576 | --x-incl | --x-inc | --x-in | --x-i)
577 ac_prev=x_includes ;;
578 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580 x_includes=$ac_optarg ;;
582 -x-libraries | --x-libraries | --x-librarie | --x-librari \
583 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584 ac_prev=x_libraries ;;
585 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587 x_libraries=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var in exec_prefix prefix
624 eval ac_val=$`echo $ac_var`
626 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val=$`echo $ac_var`
638 [\\/$]* | ?:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x; then
653 if test "x$build_alias" = x; then
654 cross_compiling=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix=$host_alias-
665 test "$silent" = yes && exec 6>/dev/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set=${build_alias+set}
705 ac_env_build_alias_value=$build_alias
706 ac_cv_env_build_alias_set=${build_alias+set}
707 ac_cv_env_build_alias_value=$build_alias
708 ac_env_host_alias_set=${host_alias+set}
709 ac_env_host_alias_value=$host_alias
710 ac_cv_env_host_alias_set=${host_alias+set}
711 ac_cv_env_host_alias_value=$host_alias
712 ac_env_target_alias_set=${target_alias+set}
713 ac_env_target_alias_value=$target_alias
714 ac_cv_env_target_alias_set=${target_alias+set}
715 ac_cv_env_target_alias_value=$target_alias
716 ac_env_CCAS_set=${CCAS+set}
717 ac_env_CCAS_value=$CCAS
718 ac_cv_env_CCAS_set=${CCAS+set}
719 ac_cv_env_CCAS_value=$CCAS
720 ac_env_CCASFLAGS_set=${CCASFLAGS+set}
721 ac_env_CCASFLAGS_value=$CCASFLAGS
722 ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
723 ac_cv_env_CCASFLAGS_value=$CCASFLAGS
726 # Report the --help message.
728 if test "$ac_init_help" = "long"; then
729 # Omit some internal or obsolete options to make the list less imposing.
730 # This message is too long to be a string in the A/UX 3.1 sh.
732 \`configure' configures this package to adapt to many kinds of systems.
734 Usage: $0 [OPTION]... [VAR=VALUE]...
736 To assign environment variables (e.g., CC, CFLAGS...), specify them as
737 VAR=VALUE. See below for descriptions of some of the useful variables.
739 Defaults for the options are specified in brackets.
742 -h, --help display this help and exit
743 --help=short display options specific to this package
744 --help=recursive display the short help of all the included packages
745 -V, --version display version information and exit
746 -q, --quiet, --silent do not print \`checking...' messages
747 --cache-file=FILE cache test results in FILE [disabled]
748 -C, --config-cache alias for \`--cache-file=config.cache'
749 -n, --no-create do not create output files
750 --srcdir=DIR find the sources in DIR [configure dir or \`..']
755 Installation directories:
756 --prefix=PREFIX install architecture-independent files in PREFIX
758 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
761 By default, \`make install' will install all the files in
762 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
763 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
764 for instance \`--prefix=\$HOME'.
766 For better control, use the options below.
768 Fine tuning of the installation directories:
769 --bindir=DIR user executables [EPREFIX/bin]
770 --sbindir=DIR system admin executables [EPREFIX/sbin]
771 --libexecdir=DIR program executables [EPREFIX/libexec]
772 --datadir=DIR read-only architecture-independent data [PREFIX/share]
773 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
774 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
775 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
776 --libdir=DIR object code libraries [EPREFIX/lib]
777 --includedir=DIR C header files [PREFIX/include]
778 --oldincludedir=DIR C header files for non-gcc [/usr/include]
779 --infodir=DIR info documentation [PREFIX/info]
780 --mandir=DIR man documentation [PREFIX/man]
786 --program-prefix=PREFIX prepend PREFIX to installed program names
787 --program-suffix=SUFFIX append SUFFIX to installed program names
788 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
791 --build=BUILD configure for building on BUILD [guessed]
792 --host=HOST cross-compile to build programs to run on HOST [BUILD]
793 --target=TARGET configure for building compilers for TARGET [HOST]
797 if test -n "$ac_init_help"; then
802 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
803 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
804 --disable-dependency-tracking speeds up one-time build
805 --enable-dependency-tracking do not reject slow dependency extractors
807 Some influential environment variables:
808 CCAS assembler compiler command (defaults to CC)
809 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
811 Use these variables to override the choices made by `configure' or to help
812 it to find libraries and programs with nonstandard names/locations.
817 if test "$ac_init_help" = "recursive"; then
818 # If there are subdirs, report their specific --help.
820 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
821 test -d $ac_dir || continue
824 if test "$ac_dir" != .; then
825 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
826 # A "../" for each directory in $ac_dir_suffix.
827 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
829 ac_dir_suffix= ac_top_builddir=
833 .) # No --srcdir option. We are building in place.
835 if test -z "$ac_top_builddir"; then
838 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
840 [\\/]* | ?:[\\/]* ) # Absolute path.
841 ac_srcdir=$srcdir$ac_dir_suffix;
842 ac_top_srcdir=$srcdir ;;
844 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
845 ac_top_srcdir=$ac_top_builddir$srcdir ;;
848 # Do not use `cd foo && pwd` to compute absolute paths, because
849 # the directories may not exist.
851 .) ac_abs_builddir="$ac_dir";;
854 .) ac_abs_builddir=`pwd`;;
855 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
856 *) ac_abs_builddir=`pwd`/"$ac_dir";;
859 case $ac_abs_builddir in
860 .) ac_abs_top_builddir=${ac_top_builddir}.;;
862 case ${ac_top_builddir}. in
863 .) ac_abs_top_builddir=$ac_abs_builddir;;
864 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
865 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
868 case $ac_abs_builddir in
869 .) ac_abs_srcdir=$ac_srcdir;;
872 .) ac_abs_srcdir=$ac_abs_builddir;;
873 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
874 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
877 case $ac_abs_builddir in
878 .) ac_abs_top_srcdir=$ac_top_srcdir;;
880 case $ac_top_srcdir in
881 .) ac_abs_top_srcdir=$ac_abs_builddir;;
882 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
883 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
888 # Check for guested configure; otherwise get Cygnus style configure.
889 if test -f $ac_srcdir/configure.gnu; then
891 $SHELL $ac_srcdir/configure.gnu --help=recursive
892 elif test -f $ac_srcdir/configure; then
894 $SHELL $ac_srcdir/configure --help=recursive
895 elif test -f $ac_srcdir/configure.ac ||
896 test -f $ac_srcdir/configure.in; then
900 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
906 test -n "$ac_init_help" && exit 0
907 if $ac_init_version; then
910 Copyright (C) 2003 Free Software Foundation, Inc.
911 This configure script is free software; the Free Software Foundation
912 gives unlimited permission to copy, distribute and modify it.
918 This file contains any messages produced by compilers while
919 running configure, to aid debugging if configure makes a mistake.
921 It was created by $as_me, which was
922 generated by GNU Autoconf 2.59. Invocation command line was
933 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
934 uname -m = `(uname -m) 2>/dev/null || echo unknown`
935 uname -r = `(uname -r) 2>/dev/null || echo unknown`
936 uname -s = `(uname -s) 2>/dev/null || echo unknown`
937 uname -v = `(uname -v) 2>/dev/null || echo unknown`
939 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
940 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
942 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
943 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
944 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
945 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
946 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
947 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
948 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
956 test -z "$as_dir" && as_dir=.
972 # Keep a trace of the command line.
973 # Strip out --no-create and --no-recursion so they do not pile up.
974 # Strip out --silent because we don't want to record it for future runs.
975 # Also quote any args containing shell meta-characters.
976 # Make two passes to allow for proper duplicate-argument suppression.
981 ac_must_keep_next=false
987 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
988 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
989 | -silent | --silent | --silen | --sile | --sil)
991 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
992 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
995 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
997 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
998 if test $ac_must_keep_next = true; then
999 ac_must_keep_next=false # Got value, back to normal.
1002 *=* | --config-cache | -C | -disable-* | --disable-* \
1003 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1004 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1005 | -with-* | --with-* | -without-* | --without-* | --x)
1006 case "$ac_configure_args0 " in
1007 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1010 -* ) ac_must_keep_next=true ;;
1013 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1014 # Get rid of the leading space.
1020 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1021 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1023 # When interrupted or exit'd, cleanup temporary files, and complete
1024 # config.log. We remove comments because anyway the quotes in there
1025 # would cause problems or look ugly.
1026 # WARNING: Be sure not to use single quotes in there, as some shells,
1027 # such as our DU 5.0 friend, will then `close' the trap.
1028 trap 'exit_status=$?
1029 # Save into config.log some information that might help in debugging.
1034 ## ---------------- ##
1035 ## Cache variables. ##
1036 ## ---------------- ##
1039 # The following way of writing the cache mishandles newlines in values,
1042 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1045 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1046 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1050 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1057 ## ----------------- ##
1058 ## Output variables. ##
1059 ## ----------------- ##
1062 for ac_var in $ac_subst_vars
1064 eval ac_val=$`echo $ac_var`
1065 echo "$ac_var='"'"'$ac_val'"'"'"
1069 if test -n "$ac_subst_files"; then
1076 for ac_var in $ac_subst_files
1078 eval ac_val=$`echo $ac_var`
1079 echo "$ac_var='"'"'$ac_val'"'"'"
1084 if test -s confdefs.h; then
1091 sed "/^$/d" confdefs.h | sort
1094 test "$ac_signal" != 0 &&
1095 echo "$as_me: caught signal $ac_signal"
1096 echo "$as_me: exit $exit_status"
1098 rm -f core *.core &&
1099 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1102 for ac_signal in 1 2 13 15; do
1103 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1107 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1108 rm -rf conftest* confdefs.h
1109 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1112 # Predefined preprocessor variables.
1114 cat >>confdefs.h <<_ACEOF
1115 #define PACKAGE_NAME "$PACKAGE_NAME"
1119 cat >>confdefs.h <<_ACEOF
1120 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1124 cat >>confdefs.h <<_ACEOF
1125 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1129 cat >>confdefs.h <<_ACEOF
1130 #define PACKAGE_STRING "$PACKAGE_STRING"
1134 cat >>confdefs.h <<_ACEOF
1135 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1139 # Let the site file select an alternate cache file if it wants to.
1140 # Prefer explicitly selected file to automatically selected ones.
1141 if test -z "$CONFIG_SITE"; then
1142 if test "x$prefix" != xNONE; then
1143 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1145 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1148 for ac_site_file in $CONFIG_SITE; do
1149 if test -r "$ac_site_file"; then
1150 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1151 echo "$as_me: loading site script $ac_site_file" >&6;}
1152 sed 's/^/| /' "$ac_site_file" >&5
1157 if test -r "$cache_file"; then
1158 # Some versions of bash will fail to source /dev/null (special
1159 # files actually), so we avoid doing that.
1160 if test -f "$cache_file"; then
1161 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1162 echo "$as_me: loading cache $cache_file" >&6;}
1164 [\\/]* | ?:[\\/]* ) . $cache_file;;
1165 *) . ./$cache_file;;
1169 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1170 echo "$as_me: creating cache $cache_file" >&6;}
1174 # Check that the precious variables saved in the cache have kept the same
1176 ac_cache_corrupted=false
1177 for ac_var in `(set) 2>&1 |
1178 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1179 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1180 eval ac_new_set=\$ac_env_${ac_var}_set
1181 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1182 eval ac_new_val="\$ac_env_${ac_var}_value"
1183 case $ac_old_set,$ac_new_set in
1185 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1186 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1187 ac_cache_corrupted=: ;;
1189 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1190 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1191 ac_cache_corrupted=: ;;
1194 if test "x$ac_old_val" != "x$ac_new_val"; then
1195 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1196 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1197 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1198 echo "$as_me: former value: $ac_old_val" >&2;}
1199 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1200 echo "$as_me: current value: $ac_new_val" >&2;}
1201 ac_cache_corrupted=:
1204 # Pass precious variables to config.status.
1205 if test "$ac_new_set" = set; then
1207 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1208 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1209 *) ac_arg=$ac_var=$ac_new_val ;;
1211 case " $ac_configure_args " in
1212 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1213 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1217 if $ac_cache_corrupted; then
1218 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1219 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1220 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1221 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1222 { (exit 1); exit 1; }; }
1226 ac_cpp='$CPP $CPPFLAGS'
1227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1249 ac_config_headers="$ac_config_headers config.h"
1252 if test "${enable_shared}" = "yes" ; then
1253 echo "Shared libraries not supported for cross compiling, ignored"
1256 if test "$srcdir" = "." ; then
1257 if test "${with_target_subdir}" != "." ; then
1258 libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
1260 libgloss_topdir="${srcdir}/${with_multisrctop}../.."
1263 libgloss_topdir="${srcdir}/../.."
1266 for ac_dir in $libgloss_topdir $srcdir/$libgloss_topdir; do
1267 if test -f $ac_dir/install-sh; then
1269 ac_install_sh="$ac_aux_dir/install-sh -c"
1271 elif test -f $ac_dir/install.sh; then
1273 ac_install_sh="$ac_aux_dir/install.sh -c"
1275 elif test -f $ac_dir/shtool; then
1277 ac_install_sh="$ac_aux_dir/shtool install -c"
1281 if test -z "$ac_aux_dir"; then
1282 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir $srcdir/$libgloss_topdir" >&5
1283 echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir $srcdir/$libgloss_topdir" >&2;}
1284 { (exit 1); exit 1; }; }
1286 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1287 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1288 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1291 # Make sure we can run config.sub.
1292 $ac_config_sub sun4 >/dev/null 2>&1 ||
1293 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1294 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1295 { (exit 1); exit 1; }; }
1297 echo "$as_me:$LINENO: checking build system type" >&5
1298 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1299 if test "${ac_cv_build+set}" = set; then
1300 echo $ECHO_N "(cached) $ECHO_C" >&6
1302 ac_cv_build_alias=$build_alias
1303 test -z "$ac_cv_build_alias" &&
1304 ac_cv_build_alias=`$ac_config_guess`
1305 test -z "$ac_cv_build_alias" &&
1306 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1307 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1308 { (exit 1); exit 1; }; }
1309 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1310 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1311 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1312 { (exit 1); exit 1; }; }
1315 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1316 echo "${ECHO_T}$ac_cv_build" >&6
1318 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1319 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1320 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1323 echo "$as_me:$LINENO: checking host system type" >&5
1324 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1325 if test "${ac_cv_host+set}" = set; then
1326 echo $ECHO_N "(cached) $ECHO_C" >&6
1328 ac_cv_host_alias=$host_alias
1329 test -z "$ac_cv_host_alias" &&
1330 ac_cv_host_alias=$ac_cv_build_alias
1331 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1332 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1333 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1334 { (exit 1); exit 1; }; }
1337 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1338 echo "${ECHO_T}$ac_cv_host" >&6
1340 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1341 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1342 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1345 echo "$as_me:$LINENO: checking target system type" >&5
1346 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1347 if test "${ac_cv_target+set}" = set; then
1348 echo $ECHO_N "(cached) $ECHO_C" >&6
1350 ac_cv_target_alias=$target_alias
1351 test "x$ac_cv_target_alias" = "x" &&
1352 ac_cv_target_alias=$ac_cv_host_alias
1353 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1354 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1355 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1356 { (exit 1); exit 1; }; }
1359 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1360 echo "${ECHO_T}$ac_cv_target" >&6
1361 target=$ac_cv_target
1362 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1363 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1364 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1367 # The aliases save the names the user supplied, while $host etc.
1368 # will get canonicalized.
1369 test -n "$target_alias" &&
1370 test "$program_prefix$program_suffix$program_transform_name" = \
1372 program_prefix=${target_alias}-
1373 test "$program_prefix" != NONE &&
1374 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1375 # Use a double $ so make ignores it.
1376 test "$program_suffix" != NONE &&
1377 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1378 # Double any \ or $. echo might interpret backslashes.
1379 # By default was `s,x,x', remove it if useless.
1380 cat <<\_ACEOF >conftest.sed
1381 s/[\\$]/&&/g;s/;s,x,x,$//
1383 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1387 # Find a good install program. We prefer a C program (faster),
1388 # so one script is as good as another. But avoid the broken or
1389 # incompatible versions:
1390 # SysV /etc/install, /usr/sbin/install
1391 # SunOS /usr/etc/install
1392 # IRIX /sbin/install
1394 # AmigaOS /C/install, which installs bootblocks on floppy discs
1395 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1396 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1397 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1398 # OS/2's system install, which has a completely different semantic
1399 # ./install, which can be erroneously created by make from ./install.sh.
1400 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1401 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1402 if test -z "$INSTALL"; then
1403 if test "${ac_cv_path_install+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1410 test -z "$as_dir" && as_dir=.
1411 # Account for people who put trailing slashes in PATH elements.
1413 ./ | .// | /cC/* | \
1414 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1415 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1418 # OSF1 and SCO ODT 3.0 have their own names for install.
1419 # Don't use installbsd from OSF since it installs stuff as root
1421 for ac_prog in ginstall scoinst install; do
1422 for ac_exec_ext in '' $ac_executable_extensions; do
1423 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1424 if test $ac_prog = install &&
1425 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1426 # AIX install. It has an incompatible calling convention.
1428 elif test $ac_prog = install &&
1429 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1430 # program-specific install script used by HP pwplus--don't use.
1433 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1445 if test "${ac_cv_path_install+set}" = set; then
1446 INSTALL=$ac_cv_path_install
1448 # As a last resort, use the slow shell script. We don't cache a
1449 # path for INSTALL within a source directory, because that will
1450 # break other packages using the cache if that directory is
1451 # removed, or if the path is relative.
1452 INSTALL=$ac_install_sh
1455 echo "$as_me:$LINENO: result: $INSTALL" >&5
1456 echo "${ECHO_T}$INSTALL" >&6
1458 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1459 # It thinks the first close brace ends the variable substitution.
1460 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1462 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1464 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1467 cat >>confdefs.h <<\_ACEOF
1468 #define HAVE_GNU_LD 1
1484 cris-*-* | crisv32-*-*)
1523 cat >>confdefs.h <<\_ACEOF
1524 #define MISSING_SYSCALL_NAMES 1
1532 cat >>confdefs.h <<\_ACEOF
1537 echo "$as_me:$LINENO: checking for .previous assembler directive" >&5
1538 echo $ECHO_N "checking for .previous assembler directive... $ECHO_C" >&6
1539 if test "${libc_cv_asm_previous_directive+set}" = set; then
1540 echo $ECHO_N "(cached) $ECHO_C" >&6
1542 libc_cv_asm_previous_directive=no
1543 cat > conftest.s <<EOF
1544 .section foo_section
1547 if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
1548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1552 (exit $ac_status); }; }; then
1553 libc_cv_asm_previous_directive=yes
1557 echo "$as_me:$LINENO: result: $libc_cv_asm_previous_directive" >&5
1558 echo "${ECHO_T}$libc_cv_asm_previous_directive" >&6
1560 if test "x${libc_cv_asm_previous_directive}" = "xyes"; then
1561 cat >>confdefs.h <<\_ACEOF
1562 #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
1567 echo "$as_me:$LINENO: checking for .popsection assembler directive" >&5
1568 echo $ECHO_N "checking for .popsection assembler directive... $ECHO_C" >&6
1569 if test "${libc_cv_asm_popsection_directive+set}" = set; then
1570 echo $ECHO_N "(cached) $ECHO_C" >&6
1572 libc_cv_asm_popsection_directive=no
1573 cat > conftest.s <<EOF
1574 .pushsection foo_section
1577 if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
1578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1582 (exit $ac_status); }; }; then
1583 libc_cv_asm_popsection_directive=yes
1587 echo "$as_me:$LINENO: result: $libc_cv_asm_popsection_directive" >&5
1588 echo "${ECHO_T}$libc_cv_asm_popsection_directive" >&6
1590 if test "x${libc_cv_asm_popsection_directive}" = "xyes"; then
1591 cat >>confdefs.h <<\_ACEOF
1592 #define HAVE_ASM_POPSECTION_DIRECTIVE 1
1597 echo "$as_me:$LINENO: checking for section attributes" >&5
1598 echo $ECHO_N "checking for section attributes... $ECHO_C" >&6
1599 if test "${libc_cv_section_attributes+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1602 libc_cv_section_attributes=no
1603 cat > conftest.c <<EOF
1604 int secttest __attribute__ ((section (".gnu.warning.secttest"))) = 10;
1607 if { ac_try='${CC-cc} -c $CFLAGS conftest.c 1>&5'
1608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1612 (exit $ac_status); }; }; then
1613 libc_cv_section_attributes=yes
1617 echo "$as_me:$LINENO: result: $libc_cv_section_attributes" >&5
1618 echo "${ECHO_T}$libc_cv_section_attributes" >&6
1619 if test "x${libc_cv_section_attributes}" = "xyes"; then
1620 cat >>confdefs.h <<\_ACEOF
1621 #define HAVE_SECTION_ATTRIBUTES 1
1628 echo "$as_me:$LINENO: checking for symbol prefix" >&5
1629 echo $ECHO_N "checking for symbol prefix... $ECHO_C" >&6
1630 if test "${libc_symbol_prefix+set}" = set; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1633 cat > conftest.c <<\EOF
1636 libc_symbol_prefix=none
1637 if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null'
1638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1642 (exit $ac_status); }; };
1644 libc_symbol_prefix='$'
1646 if { ac_try='${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null'
1647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1651 (exit $ac_status); }; };
1653 libc_symbol_prefix=_
1658 echo "$as_me:$LINENO: result: $libc_symbol_prefix" >&5
1659 echo "${ECHO_T}$libc_symbol_prefix" >&6
1660 if test $libc_symbol_prefix != none; then
1661 cat >>confdefs.h <<_ACEOF
1662 #define __SYMBOL_PREFIX "$libc_symbol_prefix"
1666 cat >>confdefs.h <<\_ACEOF
1667 #define __SYMBOL_PREFIX ""
1672 rm -rf .tst 2>/dev/null
1673 mkdir .tst 2>/dev/null
1674 if test -d .tst; then
1679 rmdir .tst 2>/dev/null
1681 DEPDIR="${am__leading_dot}deps"
1683 ac_config_commands="$ac_config_commands depfiles"
1686 am_make=${MAKE-make}
1687 cat > confinc << 'END'
1692 # If we don't find an include directive, just comment out the code.
1693 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1694 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1698 # First try GNU make style include.
1699 echo "include confinc" > confmf
1700 # We grep out `Entering directory' and `Leaving directory'
1701 # messages which can occur if `w' ends up in MAKEFLAGS.
1702 # In particular we don't look at `^make:' because GNU make might
1703 # be invoked under some other name (usually "gmake"), in which
1704 # case it prints its new name instead of `make'.
1705 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1710 # Now try BSD make style include.
1711 if test "$am__include" = "#"; then
1712 echo '.include "confinc"' > confmf
1713 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1714 am__include=.include
1721 echo "$as_me:$LINENO: result: $_am_result" >&5
1722 echo "${ECHO_T}$_am_result" >&6
1723 rm -f confinc confmf
1725 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1726 if test "${enable_dependency_tracking+set}" = set; then
1727 enableval="$enable_dependency_tracking"
1730 if test "x$enable_dependency_tracking" != xno; then
1731 am_depcomp="$ac_aux_dir/depcomp"
1736 if test "x$enable_dependency_tracking" != xno; then
1746 # Extract the first word of "gcc", so it can be a program name with args.
1747 set dummy gcc; ac_word=$2
1748 echo "$as_me:$LINENO: checking for $ac_word" >&5
1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1750 if test "${ac_cv_prog_CC+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 if test -n "$CC"; then
1754 ac_cv_prog_CC="$CC" # Let the user override the test.
1756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1760 test -z "$as_dir" && as_dir=.
1761 for ac_exec_ext in '' $ac_executable_extensions; do
1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1773 if test -n "$CC"; then
1774 echo "$as_me:$LINENO: result: $CC" >&5
1775 echo "${ECHO_T}$CC" >&6
1777 echo "$as_me:$LINENO: result: no" >&5
1778 echo "${ECHO_T}no" >&6
1782 depcc="$CC" am_compiler_list=
1784 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
1785 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
1786 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
1787 echo $ECHO_N "(cached) $ECHO_C" >&6
1789 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1790 # We make a subdir and do the tests there. Otherwise we can end up
1791 # making bogus files that we don't know about and never remove. For
1792 # instance it was reported that on HP-UX the gcc test will end up
1793 # making a dummy file named `D' -- because `-MD' means `put the output
1796 # Copy depcomp to subdir because otherwise we won't find it if we're
1797 # using a relative directory.
1798 cp "$am_depcomp" conftest.dir
1800 # We will build objects and dependencies in a subdirectory because
1801 # it helps to detect inapplicable dependency modes. For instance
1802 # both Tru64's cc and ICC support -MD to output dependencies as a
1803 # side effect of compilation, but ICC will put the dependencies in
1804 # the current directory while Tru64 will put them in the object
1808 am_cv_CC_dependencies_compiler_type=none
1809 if test "$am_compiler_list" = ""; then
1810 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1812 for depmode in $am_compiler_list; do
1813 # Setup a source with many dependencies, because some compilers
1814 # like to wrap large dependency lists on column 80 (with \), and
1815 # we should not choose a depcomp mode which is confused by this.
1817 # We need to recreate these files for each test, as the compiler may
1818 # overwrite some of them when testing with obscure command lines.
1819 # This happens at least with the AIX C compiler.
1821 for i in 1 2 3 4 5 6; do
1822 echo '#include "conftst'$i'.h"' >> sub/conftest.c
1823 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
1824 # Solaris 8's {/usr,}/bin/sh.
1825 touch sub/conftst$i.h
1827 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1831 # after this tag, mechanisms are not by side-effect, so they'll
1832 # only be used when explicitly requested
1833 if test "x$enable_dependency_tracking" = xyes; then
1841 # We check with `-c' and `-o' for the sake of the "dashmstdout"
1842 # mode. It turns out that the SunPro C++ compiler does not properly
1843 # handle `-M -o', and we need to detect this.
1844 if depmode=$depmode \
1845 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1846 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1847 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1848 >/dev/null 2>conftest.err &&
1849 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1850 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1851 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1852 # icc doesn't choke on unknown options, it will just issue warnings
1853 # or remarks (even with -Werror). So we grep stderr for any message
1854 # that says an option was ignored or not supported.
1855 # When given -MP, icc 7.0 and 7.1 complain thusly:
1856 # icc: Command line warning: ignoring option '-M'; no argument required
1857 # The diagnosis changed in icc 8.0:
1858 # icc: Command line remark: option '-MP' not supported
1859 if (grep 'ignoring option' conftest.err ||
1860 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
1861 am_cv_CC_dependencies_compiler_type=$depmode
1870 am_cv_CC_dependencies_compiler_type=none
1874 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
1875 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
1876 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
1881 test "x$enable_dependency_tracking" != xno \
1882 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
1884 am__fastdepCC_FALSE='#'
1886 am__fastdepCC_TRUE='#'
1887 am__fastdepCC_FALSE=
1891 if test -z "$CC"; then
1892 # Extract the first word of "cc", so it can be a program name with args.
1893 set dummy cc; ac_word=$2
1894 echo "$as_me:$LINENO: checking for $ac_word" >&5
1895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1896 if test "${ac_cv_prog_CC+set}" = set; then
1897 echo $ECHO_N "(cached) $ECHO_C" >&6
1899 if test -n "$CC"; then
1900 ac_cv_prog_CC="$CC" # Let the user override the test.
1903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907 test -z "$as_dir" && as_dir=.
1908 for ac_exec_ext in '' $ac_executable_extensions; do
1909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1910 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1911 ac_prog_rejected=yes
1915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1921 if test $ac_prog_rejected = yes; then
1922 # We found a bogon in the path, so make sure we never use it.
1923 set dummy $ac_cv_prog_CC
1925 if test $# != 0; then
1926 # We chose a different compiler from the bogus one.
1927 # However, it has the same basename, so the bogon will be chosen
1928 # first if we set CC to just the basename; use the full file name.
1930 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1936 if test -n "$CC"; then
1937 echo "$as_me:$LINENO: result: $CC" >&5
1938 echo "${ECHO_T}$CC" >&6
1940 echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1944 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
1945 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1946 { (exit 1); exit 1; }; }
1949 echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
1950 echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" >&6
1951 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1952 echo $ECHO_N "(cached) $ECHO_C" >&6
1954 cat > conftest.c <<EOF
1959 if { ac_try='${CC-cc} -E conftest.c'
1960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1964 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
1965 ac_cv_c_compiler_gnu=yes
1967 ac_cv_c_compiler_gnu=no
1970 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1971 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1973 if test $ac_cv_c_compiler_gnu = yes; then
1975 ac_test_CFLAGS="${CFLAGS+set}"
1976 ac_save_CFLAGS="$CFLAGS"
1978 ac_test_CFLAGS=${CFLAGS+set}
1979 ac_save_CFLAGS=$CFLAGS
1981 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1982 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1983 if test "${ac_cv_prog_cc_g+set}" = set; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1986 cat >conftest.$ac_ext <<_ACEOF
1989 cat confdefs.h >>conftest.$ac_ext
1990 cat >>conftest.$ac_ext <<_ACEOF
1991 /* end confdefs.h. */
2001 rm -f conftest.$ac_objext
2002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2003 (eval $ac_compile) 2>conftest.er1
2005 grep -v '^ *+' conftest.er1 >conftest.err
2007 cat conftest.err >&5
2008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2009 (exit $ac_status); } &&
2010 { ac_try='test -z "$ac_c_werror_flag"
2011 || test ! -s conftest.err'
2012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2016 (exit $ac_status); }; } &&
2017 { ac_try='test -s conftest.$ac_objext'
2018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2022 (exit $ac_status); }; }; then
2025 echo "$as_me: failed program was:" >&5
2026 sed 's/^/| /' conftest.$ac_ext >&5
2030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2032 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2033 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2034 if test "$ac_test_CFLAGS" = set; then
2035 CFLAGS=$ac_save_CFLAGS
2036 elif test $ac_cv_prog_cc_g = yes; then
2037 if test "$GCC" = yes; then
2043 if test "$GCC" = yes; then
2049 if test "$ac_test_CFLAGS" = set; then
2050 CFLAGS="$ac_save_CFLAGS"
2051 elif test $ac_cv_prog_cc_g = yes; then
2058 test "${CFLAGS+set}" = set || CFLAGS="-g"
2067 if test -n "$ac_tool_prefix"; then
2068 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2069 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2070 echo "$as_me:$LINENO: checking for $ac_word" >&5
2071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2072 if test "${ac_cv_prog_RANLIB+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2075 if test -n "$RANLIB"; then
2076 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2085 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2094 RANLIB=$ac_cv_prog_RANLIB
2095 if test -n "$RANLIB"; then
2096 echo "$as_me:$LINENO: result: $RANLIB" >&5
2097 echo "${ECHO_T}$RANLIB" >&6
2099 echo "$as_me:$LINENO: result: no" >&5
2100 echo "${ECHO_T}no" >&6
2104 if test -z "$ac_cv_prog_RANLIB"; then
2105 ac_ct_RANLIB=$RANLIB
2106 # Extract the first word of "ranlib", so it can be a program name with args.
2107 set dummy ranlib; ac_word=$2
2108 echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2110 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 if test -n "$ac_ct_RANLIB"; then
2114 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir=.
2121 for ac_exec_ext in '' $ac_executable_extensions; do
2122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2123 ac_cv_prog_ac_ct_RANLIB="ranlib"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2130 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2133 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2134 if test -n "$ac_ct_RANLIB"; then
2135 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2136 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2138 echo "$as_me:$LINENO: result: no" >&5
2139 echo "${ECHO_T}no" >&6
2142 RANLIB=$ac_ct_RANLIB
2144 RANLIB="$ac_cv_prog_RANLIB"
2147 # By default we simply use the C compiler to build assembly code.
2149 test "${CCAS+set}" = set || CCAS=$CC
2150 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2155 host_makefile_frag=${srcdir}/../config/default.mh
2157 host_makefile_frag_path=$host_makefile_frag
2161 ac_config_files="$ac_config_files Makefile"
2163 cat >confcache <<\_ACEOF
2164 # This file is a shell script that caches the results of configure
2165 # tests run on this system so they can be shared between configure
2166 # scripts and configure runs, see configure's option --config-cache.
2167 # It is not useful on other systems. If it contains results you don't
2168 # want to keep, you may remove or edit it.
2170 # config.status only pays attention to the cache file if you give it
2171 # the --recheck option to rerun configure.
2173 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2174 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2179 # The following way of writing the cache mishandles newlines in values,
2180 # but we know of no workaround that is simple, portable, and efficient.
2181 # So, don't put newlines in cache variables' values.
2182 # Ultrix sh set writes to stderr and can't be redirected directly,
2183 # and sets the high bit in the cache file unless we assign to the vars.
2186 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2188 # `set' does not quote correctly, so add quotes (double-quote
2189 # substitution turns \\\\ into \\, and sed turns \\ into \).
2192 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2195 # `set' quotes correctly as required by POSIX, so do not add quotes.
2197 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2204 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2206 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2208 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2209 if test -w $cache_file; then
2210 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2211 cat confcache >$cache_file
2213 echo "not updating unwritable cache $cache_file"
2218 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2219 # Let make expand exec_prefix.
2220 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2222 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2223 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2224 # trailing colons and then remove the whole line if VPATH becomes empty
2225 # (actually we leave an empty line to preserve line numbers).
2226 if test "x$srcdir" = x.; then
2227 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2228 s/:*\$(srcdir):*/:/;
2229 s/:*\${srcdir}:*/:/;
2231 s/^\([^=]*=[ ]*\):*/\1/;
2237 DEFS=-DHAVE_CONFIG_H
2241 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2242 # 1. Remove the extension, and $U if already installed.
2243 ac_i=`echo "$ac_i" |
2244 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2246 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2247 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2251 LTLIBOBJS=$ac_ltlibobjs
2254 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2255 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
2256 Usually this means the macro was only invoked conditionally." >&5
2257 echo "$as_me: error: conditional \"AMDEP\" was never defined.
2258 Usually this means the macro was only invoked conditionally." >&2;}
2259 { (exit 1); exit 1; }; }
2261 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
2262 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
2263 Usually this means the macro was only invoked conditionally." >&5
2264 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
2265 Usually this means the macro was only invoked conditionally." >&2;}
2266 { (exit 1); exit 1; }; }
2269 : ${CONFIG_STATUS=./config.status}
2270 ac_clean_files_save=$ac_clean_files
2271 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2272 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2273 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2274 cat >$CONFIG_STATUS <<_ACEOF
2276 # Generated by $as_me.
2277 # Run this file to recreate the current configuration.
2278 # Compiler output produced by configure, useful for debugging
2279 # configure, is in config.log if it exists.
2284 SHELL=\${CONFIG_SHELL-$SHELL}
2287 cat >>$CONFIG_STATUS <<\_ACEOF
2288 ## --------------------- ##
2289 ## M4sh Initialization. ##
2290 ## --------------------- ##
2292 # Be Bourne compatible
2293 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2296 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2297 # is contrary to our usage. Disable this feature.
2298 alias -g '${1+"$@"}'='"$@"'
2299 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2302 DUALCASE=1; export DUALCASE # for MKS sh
2304 # Support unset when possible.
2305 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2312 # Work around bugs in pre-3.0 UWIN ksh.
2313 $as_unset ENV MAIL MAILPATH
2320 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2321 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2322 LC_TELEPHONE LC_TIME
2324 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2325 eval $as_var=C; export $as_var
2331 # Required to use basename.
2332 if expr a : '\(a\)' >/dev/null 2>&1; then
2338 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2339 as_basename=basename
2345 # Name of the executable.
2346 as_me=`$as_basename "$0" ||
2347 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2348 X"$0" : 'X\(//\)$' \| \
2349 X"$0" : 'X\(/\)$' \| \
2350 . : '\(.\)' 2>/dev/null ||
2352 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2353 /^X\/\(\/\/\)$/{ s//\1/; q; }
2354 /^X\/\(\/\).*/{ s//\1/; q; }
2358 # PATH needs CR, and LINENO needs CR and PATH.
2359 # Avoid depending upon Character Ranges.
2360 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2361 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2362 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2363 as_cr_digits='0123456789'
2364 as_cr_alnum=$as_cr_Letters$as_cr_digits
2366 # The user is always right.
2367 if test "${PATH_SEPARATOR+set}" != set; then
2368 echo "#! /bin/sh" >conf$$.sh
2369 echo "exit 0" >>conf$$.sh
2371 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2382 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2383 test "x$as_lineno_1" != "x$as_lineno_2" &&
2384 test "x$as_lineno_3" = "x$as_lineno_2" || {
2385 # Find who we are. Look in the path if we contain no path at all
2388 *[\\/]* ) as_myself=$0 ;;
2389 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2393 test -z "$as_dir" && as_dir=.
2394 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2399 # We did not find ourselves, most probably we were run as `sh COMMAND'
2400 # in which case we are not to be found in the path.
2401 if test "x$as_myself" = x; then
2404 if test ! -f "$as_myself"; then
2405 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2406 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2407 { (exit 1); exit 1; }; }
2409 case $CONFIG_SHELL in
2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2415 test -z "$as_dir" && as_dir=.
2416 for as_base in sh bash ksh sh5; do
2419 if ("$as_dir/$as_base" -c '
2422 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2423 test "x$as_lineno_1" != "x$as_lineno_2" &&
2424 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2425 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2426 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2427 CONFIG_SHELL=$as_dir/$as_base
2429 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2437 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2438 # uniformly replaced by the line number. The first 'sed' inserts a
2439 # line-number line before each line; the second 'sed' does the real
2440 # work. The second script uses 'N' to pair each line-number line
2441 # with the numbered line, and appends trailing '-' during
2442 # substitution so that $LINENO is not a special case at line end.
2443 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2444 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2445 sed '=' <$as_myself |
2450 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2453 s,^['$as_cr_digits']*\n,,
2455 chmod +x $as_me.lineno ||
2456 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2457 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2458 { (exit 1); exit 1; }; }
2460 # Don't try to exec as it changes $[0], causing all sort of problems
2461 # (the dirname of $[0] is not the place where we might find the
2462 # original and so on. Autoconf is especially sensible to this).
2464 # Exit status is that of the last command.
2469 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2470 *c*,-n*) ECHO_N= ECHO_C='
2472 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2473 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2476 if expr a : '\(a\)' >/dev/null 2>&1; then
2482 rm -f conf$$ conf$$.exe conf$$.file
2484 if ln -s conf$$.file conf$$ 2>/dev/null; then
2485 # We could just check for DJGPP; but this test a) works b) is more generic
2486 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2487 if test -f conf$$.exe; then
2488 # Don't use ln at all; we don't have any links
2493 elif ln conf$$.file conf$$ 2>/dev/null; then
2498 rm -f conf$$ conf$$.exe conf$$.file
2500 if mkdir -p . 2>/dev/null; then
2503 test -d ./-p && rmdir ./-p
2507 as_executable_p="test -f"
2509 # Sed expression to map a string onto a valid CPP name.
2510 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2512 # Sed expression to map a string onto a valid variable name.
2513 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2517 # We need space, tab and new line, in precisely that order.
2527 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2528 # report actual input values of CONFIG_FILES etc. instead of their
2529 # values after options handling. Logging --version etc. is OK.
2533 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2534 ## Running $as_me. ##
2539 This file was extended by $as_me, which was
2540 generated by GNU Autoconf 2.59. Invocation command line was
2542 CONFIG_FILES = $CONFIG_FILES
2543 CONFIG_HEADERS = $CONFIG_HEADERS
2544 CONFIG_LINKS = $CONFIG_LINKS
2545 CONFIG_COMMANDS = $CONFIG_COMMANDS
2549 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2553 # Files that config.status was made for.
2554 if test -n "$ac_config_files"; then
2555 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2558 if test -n "$ac_config_headers"; then
2559 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2562 if test -n "$ac_config_links"; then
2563 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2566 if test -n "$ac_config_commands"; then
2567 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2570 cat >>$CONFIG_STATUS <<\_ACEOF
2573 \`$as_me' instantiates files from templates according to the
2574 current configuration.
2576 Usage: $0 [OPTIONS] [FILE]...
2578 -h, --help print this help, then exit
2579 -V, --version print version number, then exit
2580 -q, --quiet do not print progress messages
2581 -d, --debug don't remove temporary files
2582 --recheck update $as_me by reconfiguring in the same conditions
2583 --file=FILE[:TEMPLATE]
2584 instantiate the configuration file FILE
2585 --header=FILE[:TEMPLATE]
2586 instantiate the configuration header FILE
2588 Configuration files:
2591 Configuration headers:
2594 Configuration commands:
2597 Report bugs to <bug-autoconf@gnu.org>."
2600 cat >>$CONFIG_STATUS <<_ACEOF
2603 configured by $0, generated by GNU Autoconf 2.59,
2604 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2606 Copyright (C) 2003 Free Software Foundation, Inc.
2607 This config.status script is free software; the Free Software Foundation
2608 gives unlimited permission to copy, distribute and modify it."
2613 cat >>$CONFIG_STATUS <<\_ACEOF
2614 # If no file are specified by the user, then we need to provide default
2615 # value. By we need to know if files were specified by the user.
2621 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2622 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2630 *) # This is not an option, so the user has probably given explicit
2633 ac_need_defaults=false;;
2637 # Handling of the options.
2639 cat >>$CONFIG_STATUS <<\_ACEOF
2640 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2642 --version | --vers* | -V )
2643 echo "$ac_cs_version"; exit 0 ;;
2645 # Conflict between --help and --header
2646 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2647 Try \`$0 --help' for more information." >&5
2648 echo "$as_me: error: ambiguous option: $1
2649 Try \`$0 --help' for more information." >&2;}
2650 { (exit 1); exit 1; }; };;
2651 --help | --hel | -h )
2652 echo "$ac_cs_usage"; exit 0 ;;
2653 --debug | --d* | -d )
2655 --file | --fil | --fi | --f )
2657 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2658 ac_need_defaults=false;;
2659 --header | --heade | --head | --hea )
2661 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2662 ac_need_defaults=false;;
2663 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2664 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2668 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2669 Try \`$0 --help' for more information." >&5
2670 echo "$as_me: error: unrecognized option: $1
2671 Try \`$0 --help' for more information." >&2;}
2672 { (exit 1); exit 1; }; } ;;
2674 *) ac_config_targets="$ac_config_targets $1" ;;
2680 ac_configure_extra_args=
2682 if $ac_cs_silent; then
2684 ac_configure_extra_args="$ac_configure_extra_args --silent"
2688 cat >>$CONFIG_STATUS <<_ACEOF
2689 if \$ac_cs_recheck; then
2690 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2691 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2696 cat >>$CONFIG_STATUS <<_ACEOF
2698 # INIT-COMMANDS section.
2701 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
2704 with_multisubdir=${with_multisubdir}
2705 ac_configure_args="${ac_configure_args} --enable-multilib"
2706 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
2707 libgloss_topdir=${libgloss_topdir}
2714 cat >>$CONFIG_STATUS <<\_ACEOF
2715 for ac_config_target in $ac_config_targets
2717 case "$ac_config_target" in
2718 # Handling of arguments.
2719 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2720 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
2721 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
2722 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2723 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2724 { (exit 1); exit 1; }; };;
2728 # If the user did not use the arguments to specify the items to instantiate,
2729 # then the envvar interface is used. Set only those that are not.
2730 # We use the long form for the default assignment because of an extremely
2731 # bizarre bug on SunOS 4.1.3.
2732 if $ac_need_defaults; then
2733 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2734 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
2735 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
2738 # Have a temporary directory for convenience. Make it in the build tree
2739 # simply because there is no reason to put it here, and in addition,
2740 # creating and moving files from /tmp can sometimes cause problems.
2741 # Create a temporary directory, and hook for its removal unless debugging.
2744 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2745 trap '{ (exit 1); exit 1; }' 1 2 13 15
2748 # Create a (secure) tmp directory for tmp files.
2751 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2752 test -n "$tmp" && test -d "$tmp"
2755 tmp=./confstat$$-$RANDOM
2756 (umask 077 && mkdir $tmp)
2759 echo "$me: cannot create a temporary directory in ." >&2
2760 { (exit 1); exit 1; }
2765 cat >>$CONFIG_STATUS <<_ACEOF
2768 # CONFIG_FILES section.
2771 # No need to generate the scripts if there are no CONFIG_FILES.
2772 # This happens for instance when ./config.status config.h
2773 if test -n "\$CONFIG_FILES"; then
2774 # Protect against being on the right side of a sed subst in config.status.
2775 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2776 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2777 s,@SHELL@,$SHELL,;t t
2778 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2779 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2780 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2781 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2782 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2783 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2784 s,@exec_prefix@,$exec_prefix,;t t
2785 s,@prefix@,$prefix,;t t
2786 s,@program_transform_name@,$program_transform_name,;t t
2787 s,@bindir@,$bindir,;t t
2788 s,@sbindir@,$sbindir,;t t
2789 s,@libexecdir@,$libexecdir,;t t
2790 s,@datadir@,$datadir,;t t
2791 s,@sysconfdir@,$sysconfdir,;t t
2792 s,@sharedstatedir@,$sharedstatedir,;t t
2793 s,@localstatedir@,$localstatedir,;t t
2794 s,@libdir@,$libdir,;t t
2795 s,@includedir@,$includedir,;t t
2796 s,@oldincludedir@,$oldincludedir,;t t
2797 s,@infodir@,$infodir,;t t
2798 s,@mandir@,$mandir,;t t
2799 s,@build_alias@,$build_alias,;t t
2800 s,@host_alias@,$host_alias,;t t
2801 s,@target_alias@,$target_alias,;t t
2803 s,@ECHO_C@,$ECHO_C,;t t
2804 s,@ECHO_N@,$ECHO_N,;t t
2805 s,@ECHO_T@,$ECHO_T,;t t
2807 s,@build@,$build,;t t
2808 s,@build_cpu@,$build_cpu,;t t
2809 s,@build_vendor@,$build_vendor,;t t
2810 s,@build_os@,$build_os,;t t
2812 s,@host_cpu@,$host_cpu,;t t
2813 s,@host_vendor@,$host_vendor,;t t
2814 s,@host_os@,$host_os,;t t
2815 s,@target@,$target,;t t
2816 s,@target_cpu@,$target_cpu,;t t
2817 s,@target_vendor@,$target_vendor,;t t
2818 s,@target_os@,$target_os,;t t
2819 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2820 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2821 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2823 s,@am__leading_dot@,$am__leading_dot,;t t
2824 s,@DEPDIR@,$DEPDIR,;t t
2825 s,@am__include@,$am__include,;t t
2826 s,@am__quote@,$am__quote,;t t
2827 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
2828 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
2829 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
2830 s,@CCDEPMODE@,$CCDEPMODE,;t t
2831 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
2832 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
2836 s,@RANLIB@,$RANLIB,;t t
2837 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
2839 s,@CCASFLAGS@,$CCASFLAGS,;t t
2840 s,@host_makefile_frag_path@,$host_makefile_frag_path,;t t
2841 s,@LIBOBJS@,$LIBOBJS,;t t
2842 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2843 /@host_makefile_frag@/r $host_makefile_frag
2844 s,@host_makefile_frag@,,;t t
2849 cat >>$CONFIG_STATUS <<\_ACEOF
2850 # Split the substitutions into bite-sized pieces for seds with
2851 # small command number limits, like on Digital OSF/1 and HP-UX.
2853 ac_sed_frag=1 # Number of current file.
2854 ac_beg=1 # First line for current file.
2855 ac_end=$ac_max_sed_lines # Line after last line for current file.
2858 while $ac_more_lines; do
2859 if test $ac_beg -gt 1; then
2860 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2862 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2864 if test ! -s $tmp/subs.frag; then
2867 # The purpose of the label and of the branching condition is to
2868 # speed up the sed processing (if there are no `@' at all, there
2869 # is no need to browse any of the substitutions).
2870 # These are the two extra sed commands mentioned above.
2872 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2873 if test -z "$ac_sed_cmds"; then
2874 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2876 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2878 ac_sed_frag=`expr $ac_sed_frag + 1`
2880 ac_end=`expr $ac_end + $ac_max_sed_lines`
2883 if test -z "$ac_sed_cmds"; then
2886 fi # test -n "$CONFIG_FILES"
2889 cat >>$CONFIG_STATUS <<\_ACEOF
2890 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2891 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2893 - | *:- | *:-:* ) # input from stdin
2895 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2896 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2897 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2898 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2899 * ) ac_file_in=$ac_file.in ;;
2902 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2903 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2904 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2905 X"$ac_file" : 'X\(//\)[^/]' \| \
2906 X"$ac_file" : 'X\(//\)$' \| \
2907 X"$ac_file" : 'X\(/\)' \| \
2908 . : '\(.\)' 2>/dev/null ||
2910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2911 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2912 /^X\(\/\/\)$/{ s//\1/; q; }
2913 /^X\(\/\).*/{ s//\1/; q; }
2915 { if $as_mkdir_p; then
2920 while test ! -d "$as_dir"; do
2921 as_dirs="$as_dir $as_dirs"
2922 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2923 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2924 X"$as_dir" : 'X\(//\)[^/]' \| \
2925 X"$as_dir" : 'X\(//\)$' \| \
2926 X"$as_dir" : 'X\(/\)' \| \
2927 . : '\(.\)' 2>/dev/null ||
2929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2930 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2931 /^X\(\/\/\)$/{ s//\1/; q; }
2932 /^X\(\/\).*/{ s//\1/; q; }
2935 test ! -n "$as_dirs" || mkdir $as_dirs
2936 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2937 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2938 { (exit 1); exit 1; }; }; }
2942 if test "$ac_dir" != .; then
2943 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2944 # A "../" for each directory in $ac_dir_suffix.
2945 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2947 ac_dir_suffix= ac_top_builddir=
2951 .) # No --srcdir option. We are building in place.
2953 if test -z "$ac_top_builddir"; then
2956 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2958 [\\/]* | ?:[\\/]* ) # Absolute path.
2959 ac_srcdir=$srcdir$ac_dir_suffix;
2960 ac_top_srcdir=$srcdir ;;
2962 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2963 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2966 # Do not use `cd foo && pwd` to compute absolute paths, because
2967 # the directories may not exist.
2969 .) ac_abs_builddir="$ac_dir";;
2972 .) ac_abs_builddir=`pwd`;;
2973 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2974 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2977 case $ac_abs_builddir in
2978 .) ac_abs_top_builddir=${ac_top_builddir}.;;
2980 case ${ac_top_builddir}. in
2981 .) ac_abs_top_builddir=$ac_abs_builddir;;
2982 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2983 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2986 case $ac_abs_builddir in
2987 .) ac_abs_srcdir=$ac_srcdir;;
2990 .) ac_abs_srcdir=$ac_abs_builddir;;
2991 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2992 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2995 case $ac_abs_builddir in
2996 .) ac_abs_top_srcdir=$ac_top_srcdir;;
2998 case $ac_top_srcdir in
2999 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3000 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3001 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3007 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3008 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3011 if test x"$ac_file" != x-; then
3012 { echo "$as_me:$LINENO: creating $ac_file" >&5
3013 echo "$as_me: creating $ac_file" >&6;}
3016 # Let's still pretend it is `configure' which instantiates (i.e., don't
3017 # use $as_me), people would be surprised to read:
3018 # /* config.h. Generated by config.status. */
3019 if test x"$ac_file" = x-; then
3022 configure_input="$ac_file. "
3024 configure_input=$configure_input"Generated from `echo $ac_file_in |
3025 sed 's,.*/,,'` by configure."
3027 # First look for the input files in the build tree, otherwise in the
3029 ac_file_inputs=`IFS=:
3030 for f in $ac_file_in; do
3032 -) echo $tmp/stdin ;;
3034 # Absolute (can't be DOS-style, as IFS=:)
3035 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3036 echo "$as_me: error: cannot find input file: $f" >&2;}
3037 { (exit 1); exit 1; }; }
3040 if test -f "$f"; then
3043 elif test -f "$srcdir/$f"; then
3048 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3049 echo "$as_me: error: cannot find input file: $f" >&2;}
3050 { (exit 1); exit 1; }; }
3053 done` || { (exit 1); exit 1; }
3055 cat >>$CONFIG_STATUS <<_ACEOF
3059 cat >>$CONFIG_STATUS <<\_ACEOF
3061 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3062 s,@configure_input@,$configure_input,;t t
3063 s,@srcdir@,$ac_srcdir,;t t
3064 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3065 s,@top_srcdir@,$ac_top_srcdir,;t t
3066 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3067 s,@builddir@,$ac_builddir,;t t
3068 s,@abs_builddir@,$ac_abs_builddir,;t t
3069 s,@top_builddir@,$ac_top_builddir,;t t
3070 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3071 s,@INSTALL@,$ac_INSTALL,;t t
3072 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3074 if test x"$ac_file" != x-; then
3075 mv $tmp/out $ac_file
3081 # Run the commands associated with the file.
3083 Makefile ) ac_file=Makefile . ${libgloss_topdir}/config-ml.in ;;
3087 cat >>$CONFIG_STATUS <<\_ACEOF
3090 # CONFIG_HEADER section.
3093 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3094 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3096 # ac_d sets the value in "#define NAME VALUE" lines.
3097 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3098 ac_dB='[ ].*$,\1#\2'
3101 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3102 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3103 ac_uB='$,\1#\2define\3'
3107 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3108 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3110 - | *:- | *:-:* ) # input from stdin
3112 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3113 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3114 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3115 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3116 * ) ac_file_in=$ac_file.in ;;
3119 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3120 echo "$as_me: creating $ac_file" >&6;}
3122 # First look for the input files in the build tree, otherwise in the
3124 ac_file_inputs=`IFS=:
3125 for f in $ac_file_in; do
3127 -) echo $tmp/stdin ;;
3129 # Absolute (can't be DOS-style, as IFS=:)
3130 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3131 echo "$as_me: error: cannot find input file: $f" >&2;}
3132 { (exit 1); exit 1; }; }
3133 # Do quote $f, to prevent DOS paths from being IFS'd.
3136 if test -f "$f"; then
3139 elif test -f "$srcdir/$f"; then
3144 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3145 echo "$as_me: error: cannot find input file: $f" >&2;}
3146 { (exit 1); exit 1; }; }
3149 done` || { (exit 1); exit 1; }
3150 # Remove the trailing spaces.
3151 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3155 # Transform confdefs.h into two sed scripts, `conftest.defines' and
3156 # `conftest.undefs', that substitutes the proper values into
3157 # config.h.in to produce config.h. The first handles `#define'
3158 # templates, and the second `#undef' templates.
3159 # And first: Protect against being on the right side of a sed subst in
3160 # config.status. Protect against being in an unquoted here document
3162 rm -f conftest.defines conftest.undefs
3163 # Using a here document instead of a string reduces the quoting nightmare.
3164 # Putting comments in sed scripts is not portable.
3166 # `end' is used to avoid that the second main sed command (meant for
3167 # 0-ary CPP macros) applies to n-ary macro definitions.
3168 # See the Autoconf documentation for `clear'.
3169 cat >confdef2sed.sed <<\_ACEOF
3174 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3176 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3179 # If some macros were called several times there might be several times
3180 # the same #defines, which is useless. Nevertheless, we may not want to
3181 # sort them, since we want the *last* AC-DEFINE to be honored.
3182 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3183 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3184 rm -f confdef2sed.sed
3186 # This sed command replaces #undef with comments. This is necessary, for
3187 # example, in the case of _POSIX_SOURCE, which is predefined and required
3188 # on some systems where configure will not decide to define it.
3189 cat >>conftest.undefs <<\_ACEOF
3190 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3193 # Break up conftest.defines because some shells have a limit on the size
3194 # of here documents, and old seds have small limits too (100 cmds).
3195 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3196 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3197 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3198 echo ' :' >>$CONFIG_STATUS
3200 while grep . conftest.defines >/dev/null
3202 # Write a limited-size here document to $tmp/defines.sed.
3203 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3204 # Speed up: don't consider the non `#define' lines.
3205 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
3206 # Work around the forget-to-reset-the-flag bug.
3207 echo 't clr' >>$CONFIG_STATUS
3208 echo ': clr' >>$CONFIG_STATUS
3209 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
3211 sed -f $tmp/defines.sed $tmp/in >$tmp/out
3215 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
3216 rm -f conftest.defines
3217 mv conftest.tail conftest.defines
3219 rm -f conftest.defines
3220 echo ' fi # grep' >>$CONFIG_STATUS
3221 echo >>$CONFIG_STATUS
3223 # Break up conftest.undefs because some shells have a limit on the size
3224 # of here documents, and old seds have small limits too (100 cmds).
3225 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
3227 while grep . conftest.undefs >/dev/null
3229 # Write a limited-size here document to $tmp/undefs.sed.
3230 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3231 # Speed up: don't consider the non `#undef'
3232 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
3233 # Work around the forget-to-reset-the-flag bug.
3234 echo 't clr' >>$CONFIG_STATUS
3235 echo ': clr' >>$CONFIG_STATUS
3236 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3238 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3242 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3243 rm -f conftest.undefs
3244 mv conftest.tail conftest.undefs
3246 rm -f conftest.undefs
3248 cat >>$CONFIG_STATUS <<\_ACEOF
3249 # Let's still pretend it is `configure' which instantiates (i.e., don't
3250 # use $as_me), people would be surprised to read:
3251 # /* config.h. Generated by config.status. */
3252 if test x"$ac_file" = x-; then
3253 echo "/* Generated by configure. */" >$tmp/config.h
3255 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
3257 cat $tmp/in >>$tmp/config.h
3259 if test x"$ac_file" != x-; then
3260 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
3261 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3262 echo "$as_me: $ac_file is unchanged" >&6;}
3264 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3265 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3266 X"$ac_file" : 'X\(//\)[^/]' \| \
3267 X"$ac_file" : 'X\(//\)$' \| \
3268 X"$ac_file" : 'X\(/\)' \| \
3269 . : '\(.\)' 2>/dev/null ||
3271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3272 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3273 /^X\(\/\/\)$/{ s//\1/; q; }
3274 /^X\(\/\).*/{ s//\1/; q; }
3276 { if $as_mkdir_p; then
3281 while test ! -d "$as_dir"; do
3282 as_dirs="$as_dir $as_dirs"
3283 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3284 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3285 X"$as_dir" : 'X\(//\)[^/]' \| \
3286 X"$as_dir" : 'X\(//\)$' \| \
3287 X"$as_dir" : 'X\(/\)' \| \
3288 . : '\(.\)' 2>/dev/null ||
3290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3291 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3292 /^X\(\/\/\)$/{ s//\1/; q; }
3293 /^X\(\/\).*/{ s//\1/; q; }
3296 test ! -n "$as_dirs" || mkdir $as_dirs
3297 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3298 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3299 { (exit 1); exit 1; }; }; }
3302 mv $tmp/config.h $ac_file
3310 cat >>$CONFIG_STATUS <<\_ACEOF
3313 # CONFIG_COMMANDS section.
3315 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3316 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3317 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3318 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3319 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3320 X"$ac_dest" : 'X\(//\)[^/]' \| \
3321 X"$ac_dest" : 'X\(//\)$' \| \
3322 X"$ac_dest" : 'X\(/\)' \| \
3323 . : '\(.\)' 2>/dev/null ||
3325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3326 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3327 /^X\(\/\/\)$/{ s//\1/; q; }
3328 /^X\(\/\).*/{ s//\1/; q; }
3330 { if $as_mkdir_p; then
3335 while test ! -d "$as_dir"; do
3336 as_dirs="$as_dir $as_dirs"
3337 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3339 X"$as_dir" : 'X\(//\)[^/]' \| \
3340 X"$as_dir" : 'X\(//\)$' \| \
3341 X"$as_dir" : 'X\(/\)' \| \
3342 . : '\(.\)' 2>/dev/null ||
3344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3345 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3346 /^X\(\/\/\)$/{ s//\1/; q; }
3347 /^X\(\/\).*/{ s//\1/; q; }
3350 test ! -n "$as_dirs" || mkdir $as_dirs
3351 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3352 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3353 { (exit 1); exit 1; }; }; }
3357 if test "$ac_dir" != .; then
3358 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3359 # A "../" for each directory in $ac_dir_suffix.
3360 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3362 ac_dir_suffix= ac_top_builddir=
3366 .) # No --srcdir option. We are building in place.
3368 if test -z "$ac_top_builddir"; then
3371 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3373 [\\/]* | ?:[\\/]* ) # Absolute path.
3374 ac_srcdir=$srcdir$ac_dir_suffix;
3375 ac_top_srcdir=$srcdir ;;
3377 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3378 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3381 # Do not use `cd foo && pwd` to compute absolute paths, because
3382 # the directories may not exist.
3384 .) ac_abs_builddir="$ac_dir";;
3387 .) ac_abs_builddir=`pwd`;;
3388 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3389 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3392 case $ac_abs_builddir in
3393 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3395 case ${ac_top_builddir}. in
3396 .) ac_abs_top_builddir=$ac_abs_builddir;;
3397 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3398 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3401 case $ac_abs_builddir in
3402 .) ac_abs_srcdir=$ac_srcdir;;
3405 .) ac_abs_srcdir=$ac_abs_builddir;;
3406 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3407 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3410 case $ac_abs_builddir in
3411 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3413 case $ac_top_srcdir in
3414 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3415 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3416 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3421 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3422 echo "$as_me: executing $ac_dest commands" >&6;}
3424 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
3425 # Strip MF so we end up with the name of the file.
3426 mf=`echo "$mf" | sed -e 's/:.*$//'`
3427 # Check whether this is an Automake generated Makefile or not.
3428 # We used to match only the files named `Makefile.in', but
3429 # some people rename them; so instead we look at the file content.
3430 # Grep'ing the first line is not enough: some people post-process
3431 # each Makefile.in and add a new line on top of each file to say so.
3432 # So let's grep whole file.
3433 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
3434 dirpart=`(dirname "$mf") 2>/dev/null ||
3435 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3436 X"$mf" : 'X\(//\)[^/]' \| \
3437 X"$mf" : 'X\(//\)$' \| \
3438 X"$mf" : 'X\(/\)' \| \
3439 . : '\(.\)' 2>/dev/null ||
3441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3442 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3443 /^X\(\/\/\)$/{ s//\1/; q; }
3444 /^X\(\/\).*/{ s//\1/; q; }
3449 # Extract the definition of DEPDIR, am__include, and am__quote
3450 # from the Makefile without running `make'.
3451 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3452 test -z "$DEPDIR" && continue
3453 am__include=`sed -n 's/^am__include = //p' < "$mf"`
3454 test -z "am__include" && continue
3455 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3456 # When using ansi2knr, U may be empty or an underscore; expand it
3457 U=`sed -n 's/^U = //p' < "$mf"`
3458 # Find all dependency output files, they are included files with
3459 # $(DEPDIR) in their names. We invoke sed twice because it is the
3460 # simplest approach to changing $(DEPDIR) to its actual value in the
3462 for file in `sed -n "
3463 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3464 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3465 # Make sure the directory exists.
3466 test -f "$dirpart/$file" && continue
3467 fdir=`(dirname "$file") 2>/dev/null ||
3468 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3469 X"$file" : 'X\(//\)[^/]' \| \
3470 X"$file" : 'X\(//\)$' \| \
3471 X"$file" : 'X\(/\)' \| \
3472 . : '\(.\)' 2>/dev/null ||
3474 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3475 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3476 /^X\(\/\/\)$/{ s//\1/; q; }
3477 /^X\(\/\).*/{ s//\1/; q; }
3479 { if $as_mkdir_p; then
3480 mkdir -p $dirpart/$fdir
3482 as_dir=$dirpart/$fdir
3484 while test ! -d "$as_dir"; do
3485 as_dirs="$as_dir $as_dirs"
3486 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3487 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3488 X"$as_dir" : 'X\(//\)[^/]' \| \
3489 X"$as_dir" : 'X\(//\)$' \| \
3490 X"$as_dir" : 'X\(/\)' \| \
3491 . : '\(.\)' 2>/dev/null ||
3493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3494 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3495 /^X\(\/\/\)$/{ s//\1/; q; }
3496 /^X\(\/\).*/{ s//\1/; q; }
3499 test ! -n "$as_dirs" || mkdir $as_dirs
3500 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
3501 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
3502 { (exit 1); exit 1; }; }; }
3504 # echo "creating $dirpart/$file"
3505 echo '# dummy' > "$dirpart/$file"
3513 cat >>$CONFIG_STATUS <<\_ACEOF
3515 { (exit 0); exit 0; }
3517 chmod +x $CONFIG_STATUS
3518 ac_clean_files=$ac_clean_files_save
3521 # configure is writing to config.log, and then calls config.status.
3522 # config.status does its own redirection, appending to config.log.
3523 # Unfortunately, on DOS this fails, as config.log is still kept open
3524 # by configure, so config.status won't be able to write to it; its
3525 # output is simply discarded. So we exec the FD to /dev/null,
3526 # effectively closing config.log, so it can be properly (re)opened and
3527 # appended to by config.status. When coming back to configure, we
3528 # need to make the FD available again.
3529 if test "$no_create" != yes; then
3531 ac_config_status_args=
3532 test "$silent" = yes &&
3533 ac_config_status_args="$ac_config_status_args --quiet"
3535 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3537 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3538 # would make configure fail if this is the last instruction.
3539 $ac_cs_success || { (exit 1); exit 1; }