2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for sst 2.0.
5 # Report bugs to <stsp>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
271 PACKAGE_TARNAME='sst'
272 PACKAGE_VERSION='2.0'
273 PACKAGE_STRING='sst 2.0'
274 PACKAGE_BUGREPORT='stsp'
276 # Factoring default headers for most tests.
277 ac_includes_default="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os INTL_MACOSX_LIBS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB LN_S have_xmlto ac_ct_have_xmlto have_python ac_ct_have_python CPP EGREP LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name=s,x,x,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir='${exec_prefix}/bin'
342 sbindir='${exec_prefix}/sbin'
343 libexecdir='${exec_prefix}/libexec'
344 datadir='${prefix}/share'
345 sysconfdir='${prefix}/etc'
346 sharedstatedir='${prefix}/com'
347 localstatedir='${prefix}/var'
348 libdir='${exec_prefix}/lib'
349 includedir='${prefix}/include'
350 oldincludedir='/usr/include'
351 infodir='${prefix}/info'
352 mandir='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 -build | --build | --buil | --bui | --bu)
376 ac_prev=build_alias ;;
377 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
378 build_alias=$ac_optarg ;;
380 -cache-file | --cache-file | --cache-fil | --cache-fi \
381 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382 ac_prev=cache_file ;;
383 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385 cache_file=$ac_optarg ;;
388 cache_file=config.cache ;;
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 datadir=$ac_optarg ;;
396 -disable-* | --disable-*)
397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* | --enable-*)
406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420 | --exec | --exe | --ex)
421 ac_prev=exec_prefix ;;
422 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424 | --exec=* | --exe=* | --ex=*)
425 exec_prefix=$ac_optarg ;;
427 -gas | --gas | --ga | --g)
428 # Obsolete; use --with-gas.
431 -help | --help | --hel | --he | -h)
433 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434 ac_init_help=recursive ;;
435 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436 ac_init_help=short ;;
438 -host | --host | --hos | --ho)
439 ac_prev=host_alias ;;
440 -host=* | --host=* | --hos=* | --ho=*)
441 host_alias=$ac_optarg ;;
443 -includedir | --includedir | --includedi | --included | --include \
444 | --includ | --inclu | --incl | --inc)
445 ac_prev=includedir ;;
446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447 | --includ=* | --inclu=* | --incl=* | --inc=*)
448 includedir=$ac_optarg ;;
450 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453 infodir=$ac_optarg ;;
455 -libdir | --libdir | --libdi | --libd)
457 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461 | --libexe | --libex | --libe)
462 ac_prev=libexecdir ;;
463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464 | --libexe=* | --libex=* | --libe=*)
465 libexecdir=$ac_optarg ;;
467 -localstatedir | --localstatedir | --localstatedi | --localstated \
468 | --localstate | --localstat | --localsta | --localst \
469 | --locals | --local | --loca | --loc | --lo)
470 ac_prev=localstatedir ;;
471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474 localstatedir=$ac_optarg ;;
476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 # Obsolete; use --without-fp.
485 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
486 | --no-cr | --no-c | -n)
489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495 | --oldin | --oldi | --old | --ol | --o)
496 ac_prev=oldincludedir ;;
497 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500 oldincludedir=$ac_optarg ;;
502 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 -program-prefix | --program-prefix | --program-prefi | --program-pref \
508 | --program-pre | --program-pr | --program-p)
509 ac_prev=program_prefix ;;
510 -program-prefix=* | --program-prefix=* | --program-prefi=* \
511 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512 program_prefix=$ac_optarg ;;
514 -program-suffix | --program-suffix | --program-suffi | --program-suff \
515 | --program-suf | --program-su | --program-s)
516 ac_prev=program_suffix ;;
517 -program-suffix=* | --program-suffix=* | --program-suffi=* \
518 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519 program_suffix=$ac_optarg ;;
521 -program-transform-name | --program-transform-name \
522 | --program-transform-nam | --program-transform-na \
523 | --program-transform-n | --program-transform- \
524 | --program-transform | --program-transfor \
525 | --program-transfo | --program-transf \
526 | --program-trans | --program-tran \
527 | --progr-tra | --program-tr | --program-t)
528 ac_prev=program_transform_name ;;
529 -program-transform-name=* | --program-transform-name=* \
530 | --program-transform-nam=* | --program-transform-na=* \
531 | --program-transform-n=* | --program-transform-=* \
532 | --program-transform=* | --program-transfor=* \
533 | --program-transfo=* | --program-transf=* \
534 | --program-trans=* | --program-tran=* \
535 | --progr-tra=* | --program-tr=* | --program-t=*)
536 program_transform_name=$ac_optarg ;;
538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539 | -silent | --silent | --silen | --sile | --sil)
542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 sbindir=$ac_optarg ;;
548 -sharedstatedir | --sharedstatedir | --sharedstatedi \
549 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550 | --sharedst | --shareds | --shared | --share | --shar \
552 ac_prev=sharedstatedir ;;
553 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 sharedstatedir=$ac_optarg ;;
559 -site | --site | --sit)
561 -site=* | --site=* | --sit=*)
564 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570 | --syscon | --sysco | --sysc | --sys | --sy)
571 ac_prev=sysconfdir ;;
572 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574 sysconfdir=$ac_optarg ;;
576 -target | --target | --targe | --targ | --tar | --ta | --t)
577 ac_prev=target_alias ;;
578 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579 target_alias=$ac_optarg ;;
581 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 -version | --version | --versio | --versi | --vers | -V)
588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* | --without-*)
601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614 | --x-incl | --x-inc | --x-in | --x-i)
615 ac_prev=x_includes ;;
616 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618 x_includes=$ac_optarg ;;
620 -x-libraries | --x-libraries | --x-librarie | --x-librari \
621 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622 ac_prev=x_libraries ;;
623 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625 x_libraries=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var in exec_prefix prefix
662 eval ac_val=$`echo $ac_var`
664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val=$`echo $ac_var`
676 [\\/$]* | ?:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x; then
691 if test "x$build_alias" = x; then
692 cross_compiling=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix=$host_alias-
703 test "$silent" = yes && exec 6>/dev/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set=${build_alias+set}
743 ac_env_build_alias_value=$build_alias
744 ac_cv_env_build_alias_set=${build_alias+set}
745 ac_cv_env_build_alias_value=$build_alias
746 ac_env_host_alias_set=${host_alias+set}
747 ac_env_host_alias_value=$host_alias
748 ac_cv_env_host_alias_set=${host_alias+set}
749 ac_cv_env_host_alias_value=$host_alias
750 ac_env_target_alias_set=${target_alias+set}
751 ac_env_target_alias_value=$target_alias
752 ac_cv_env_target_alias_set=${target_alias+set}
753 ac_cv_env_target_alias_value=$target_alias
754 ac_env_CC_set=${CC+set}
756 ac_cv_env_CC_set=${CC+set}
757 ac_cv_env_CC_value=$CC
758 ac_env_CFLAGS_set=${CFLAGS+set}
759 ac_env_CFLAGS_value=$CFLAGS
760 ac_cv_env_CFLAGS_set=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value=$CFLAGS
762 ac_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_env_LDFLAGS_value=$LDFLAGS
764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value=$LDFLAGS
766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770 ac_env_CPP_set=${CPP+set}
771 ac_env_CPP_value=$CPP
772 ac_cv_env_CPP_set=${CPP+set}
773 ac_cv_env_CPP_value=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures sst 2.0 to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --program-prefix=PREFIX prepend PREFIX to installed program names
837 --program-suffix=SUFFIX append SUFFIX to installed program names
838 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
841 --build=BUILD configure for building on BUILD [guessed]
842 --host=HOST cross-compile to build programs to run on HOST [BUILD]
846 if test -n "$ac_init_help"; then
847 case $ac_init_help in
848 short | recursive ) echo "Configuration of sst 2.0:";;
853 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
854 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
855 --disable-nls do not use Native Language Support
856 --disable-dependency-tracking speeds up one-time build
857 --enable-dependency-tracking do not reject slow dependency extractors
858 --disable-rpath do not hardcode runtime library paths
861 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
862 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
863 --with-gnu-ld assume the C compiler uses GNU ld default=no
864 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
865 --without-libiconv-prefix don't search for libiconv in includedir and libdir
866 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
867 --without-libintl-prefix don't search for libintl in includedir and libdir
869 Some influential environment variables:
870 CC C compiler command
871 CFLAGS C compiler flags
872 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
873 nonstandard directory <lib dir>
874 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
875 headers in a nonstandard directory <include dir>
878 Use these variables to override the choices made by `configure' or to help
879 it to find libraries and programs with nonstandard names/locations.
881 Report bugs to <stsp>.
885 if test "$ac_init_help" = "recursive"; then
886 # If there are subdirs, report their specific --help.
888 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
889 test -d $ac_dir || continue
892 if test "$ac_dir" != .; then
893 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
894 # A "../" for each directory in $ac_dir_suffix.
895 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
897 ac_dir_suffix= ac_top_builddir=
901 .) # No --srcdir option. We are building in place.
903 if test -z "$ac_top_builddir"; then
906 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
908 [\\/]* | ?:[\\/]* ) # Absolute path.
909 ac_srcdir=$srcdir$ac_dir_suffix;
910 ac_top_srcdir=$srcdir ;;
912 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
913 ac_top_srcdir=$ac_top_builddir$srcdir ;;
916 # Do not use `cd foo && pwd` to compute absolute paths, because
917 # the directories may not exist.
919 .) ac_abs_builddir="$ac_dir";;
922 .) ac_abs_builddir=`pwd`;;
923 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
924 *) ac_abs_builddir=`pwd`/"$ac_dir";;
927 case $ac_abs_builddir in
928 .) ac_abs_top_builddir=${ac_top_builddir}.;;
930 case ${ac_top_builddir}. in
931 .) ac_abs_top_builddir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
933 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
936 case $ac_abs_builddir in
937 .) ac_abs_srcdir=$ac_srcdir;;
940 .) ac_abs_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
942 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
945 case $ac_abs_builddir in
946 .) ac_abs_top_srcdir=$ac_top_srcdir;;
948 case $ac_top_srcdir in
949 .) ac_abs_top_srcdir=$ac_abs_builddir;;
950 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
951 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
956 # Check for guested configure; otherwise get Cygnus style configure.
957 if test -f $ac_srcdir/configure.gnu; then
959 $SHELL $ac_srcdir/configure.gnu --help=recursive
960 elif test -f $ac_srcdir/configure; then
962 $SHELL $ac_srcdir/configure --help=recursive
963 elif test -f $ac_srcdir/configure.ac ||
964 test -f $ac_srcdir/configure.in; then
968 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
974 test -n "$ac_init_help" && exit 0
975 if $ac_init_version; then
978 generated by GNU Autoconf 2.59
980 Copyright (C) 2003 Free Software Foundation, Inc.
981 This configure script is free software; the Free Software Foundation
982 gives unlimited permission to copy, distribute and modify it.
988 This file contains any messages produced by compilers while
989 running configure, to aid debugging if configure makes a mistake.
991 It was created by sst $as_me 2.0, which was
992 generated by GNU Autoconf 2.59. Invocation command line was
1003 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1004 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1005 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1006 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1007 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1009 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1010 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1012 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1013 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1014 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1015 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1016 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1017 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1018 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1026 test -z "$as_dir" && as_dir=.
1027 echo "PATH: $as_dir"
1042 # Keep a trace of the command line.
1043 # Strip out --no-create and --no-recursion so they do not pile up.
1044 # Strip out --silent because we don't want to record it for future runs.
1045 # Also quote any args containing shell meta-characters.
1046 # Make two passes to allow for proper duplicate-argument suppression.
1051 ac_must_keep_next=false
1057 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059 | -silent | --silent | --silen | --sile | --sil)
1061 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1062 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1065 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1067 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1068 if test $ac_must_keep_next = true; then
1069 ac_must_keep_next=false # Got value, back to normal.
1072 *=* | --config-cache | -C | -disable-* | --disable-* \
1073 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1074 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1075 | -with-* | --with-* | -without-* | --without-* | --x)
1076 case "$ac_configure_args0 " in
1077 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1080 -* ) ac_must_keep_next=true ;;
1083 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1084 # Get rid of the leading space.
1090 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1091 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1093 # When interrupted or exit'd, cleanup temporary files, and complete
1094 # config.log. We remove comments because anyway the quotes in there
1095 # would cause problems or look ugly.
1096 # WARNING: Be sure not to use single quotes in there, as some shells,
1097 # such as our DU 5.0 friend, will then `close' the trap.
1098 trap 'exit_status=$?
1099 # Save into config.log some information that might help in debugging.
1104 ## ---------------- ##
1105 ## Cache variables. ##
1106 ## ---------------- ##
1109 # The following way of writing the cache mishandles newlines in values,
1112 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1115 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1116 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1120 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1127 ## ----------------- ##
1128 ## Output variables. ##
1129 ## ----------------- ##
1132 for ac_var in $ac_subst_vars
1134 eval ac_val=$`echo $ac_var`
1135 echo "$ac_var='"'"'$ac_val'"'"'"
1139 if test -n "$ac_subst_files"; then
1146 for ac_var in $ac_subst_files
1148 eval ac_val=$`echo $ac_var`
1149 echo "$ac_var='"'"'$ac_val'"'"'"
1154 if test -s confdefs.h; then
1161 sed "/^$/d" confdefs.h | sort
1164 test "$ac_signal" != 0 &&
1165 echo "$as_me: caught signal $ac_signal"
1166 echo "$as_me: exit $exit_status"
1168 rm -f core *.core &&
1169 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1172 for ac_signal in 1 2 13 15; do
1173 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1177 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1178 rm -rf conftest* confdefs.h
1179 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1182 # Predefined preprocessor variables.
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_NAME "$PACKAGE_NAME"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_STRING "$PACKAGE_STRING"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1209 # Let the site file select an alternate cache file if it wants to.
1210 # Prefer explicitly selected file to automatically selected ones.
1211 if test -z "$CONFIG_SITE"; then
1212 if test "x$prefix" != xNONE; then
1213 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1215 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1218 for ac_site_file in $CONFIG_SITE; do
1219 if test -r "$ac_site_file"; then
1220 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1221 echo "$as_me: loading site script $ac_site_file" >&6;}
1222 sed 's/^/| /' "$ac_site_file" >&5
1227 if test -r "$cache_file"; then
1228 # Some versions of bash will fail to source /dev/null (special
1229 # files actually), so we avoid doing that.
1230 if test -f "$cache_file"; then
1231 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1232 echo "$as_me: loading cache $cache_file" >&6;}
1234 [\\/]* | ?:[\\/]* ) . $cache_file;;
1235 *) . ./$cache_file;;
1239 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1240 echo "$as_me: creating cache $cache_file" >&6;}
1244 # Check that the precious variables saved in the cache have kept the same
1246 ac_cache_corrupted=false
1247 for ac_var in `(set) 2>&1 |
1248 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1249 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1250 eval ac_new_set=\$ac_env_${ac_var}_set
1251 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1252 eval ac_new_val="\$ac_env_${ac_var}_value"
1253 case $ac_old_set,$ac_new_set in
1255 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1256 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1257 ac_cache_corrupted=: ;;
1259 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1260 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1261 ac_cache_corrupted=: ;;
1264 if test "x$ac_old_val" != "x$ac_new_val"; then
1265 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1266 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1267 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1268 echo "$as_me: former value: $ac_old_val" >&2;}
1269 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1270 echo "$as_me: current value: $ac_new_val" >&2;}
1271 ac_cache_corrupted=:
1274 # Pass precious variables to config.status.
1275 if test "$ac_new_set" = set; then
1277 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1278 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1279 *) ac_arg=$ac_var=$ac_new_val ;;
1281 case " $ac_configure_args " in
1282 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1283 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1287 if $ac_cache_corrupted; then
1288 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1289 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1290 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1291 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1292 { (exit 1); exit 1; }; }
1296 ac_cpp='$CPP $CPPFLAGS'
1297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1327 am__api_version="1.9"
1329 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1330 if test -f $ac_dir/install-sh; then
1332 ac_install_sh="$ac_aux_dir/install-sh -c"
1334 elif test -f $ac_dir/install.sh; then
1336 ac_install_sh="$ac_aux_dir/install.sh -c"
1338 elif test -f $ac_dir/shtool; then
1340 ac_install_sh="$ac_aux_dir/shtool install -c"
1344 if test -z "$ac_aux_dir"; then
1345 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1346 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1347 { (exit 1); exit 1; }; }
1349 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1350 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1351 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1353 # Find a good install program. We prefer a C program (faster),
1354 # so one script is as good as another. But avoid the broken or
1355 # incompatible versions:
1356 # SysV /etc/install, /usr/sbin/install
1357 # SunOS /usr/etc/install
1358 # IRIX /sbin/install
1360 # AmigaOS /C/install, which installs bootblocks on floppy discs
1361 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1362 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1363 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1364 # OS/2's system install, which has a completely different semantic
1365 # ./install, which can be erroneously created by make from ./install.sh.
1366 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1367 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1368 if test -z "$INSTALL"; then
1369 if test "${ac_cv_path_install+set}" = set; then
1370 echo $ECHO_N "(cached) $ECHO_C" >&6
1372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1376 test -z "$as_dir" && as_dir=.
1377 # Account for people who put trailing slashes in PATH elements.
1379 ./ | .// | /cC/* | \
1380 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1381 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1384 # OSF1 and SCO ODT 3.0 have their own names for install.
1385 # Don't use installbsd from OSF since it installs stuff as root
1387 for ac_prog in ginstall scoinst install; do
1388 for ac_exec_ext in '' $ac_executable_extensions; do
1389 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1390 if test $ac_prog = install &&
1391 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1392 # AIX install. It has an incompatible calling convention.
1394 elif test $ac_prog = install &&
1395 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1396 # program-specific install script used by HP pwplus--don't use.
1399 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1411 if test "${ac_cv_path_install+set}" = set; then
1412 INSTALL=$ac_cv_path_install
1414 # As a last resort, use the slow shell script. We don't cache a
1415 # path for INSTALL within a source directory, because that will
1416 # break other packages using the cache if that directory is
1417 # removed, or if the path is relative.
1418 INSTALL=$ac_install_sh
1421 echo "$as_me:$LINENO: result: $INSTALL" >&5
1422 echo "${ECHO_T}$INSTALL" >&6
1424 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1425 # It thinks the first close brace ends the variable substitution.
1426 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1428 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1430 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1432 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1433 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1436 echo timestamp > conftest.file
1437 # Do `set' in a subshell so we don't clobber the current shell's
1438 # arguments. Must try -L first in case configure is actually a
1439 # symlink; some systems play weird games with the mod time of symlinks
1440 # (eg FreeBSD returns the mod time of the symlink's containing
1443 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1444 if test "$*" = "X"; then
1446 set X `ls -t $srcdir/configure conftest.file`
1449 if test "$*" != "X $srcdir/configure conftest.file" \
1450 && test "$*" != "X conftest.file $srcdir/configure"; then
1452 # If neither matched, then we have a broken ls. This can happen
1453 # if, for instance, CONFIG_SHELL is bash and it inherits a
1454 # broken ls alias from the environment. This has actually
1455 # happened. Such a system could not be considered "sane".
1456 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1457 alias in your environment" >&5
1458 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1459 alias in your environment" >&2;}
1460 { (exit 1); exit 1; }; }
1463 test "$2" = conftest.file
1469 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1470 Check your system clock" >&5
1471 echo "$as_me: error: newly created file is older than distributed files!
1472 Check your system clock" >&2;}
1473 { (exit 1); exit 1; }; }
1475 echo "$as_me:$LINENO: result: yes" >&5
1476 echo "${ECHO_T}yes" >&6
1477 test "$program_prefix" != NONE &&
1478 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1479 # Use a double $ so make ignores it.
1480 test "$program_suffix" != NONE &&
1481 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1482 # Double any \ or $. echo might interpret backslashes.
1483 # By default was `s,x,x', remove it if useless.
1484 cat <<\_ACEOF >conftest.sed
1485 s/[\\$]/&&/g;s/;s,x,x,$//
1487 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1490 # expand $ac_aux_dir to an absolute path
1491 am_aux_dir=`cd $ac_aux_dir && pwd`
1493 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1494 # Use eval to expand $SHELL
1495 if eval "$MISSING --run true"; then
1496 am_missing_run="$MISSING --run "
1499 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1500 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1503 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1504 # We used to keeping the `.' as first argument, in order to
1505 # allow $(mkdir_p) to be used without argument. As in
1506 # $(mkdir_p) $(somedir)
1507 # where $(somedir) is conditionally defined. However this is wrong
1509 # 1. if the package is installed by a user who cannot write `.'
1510 # make install will fail,
1511 # 2. the above comment should most certainly read
1512 # $(mkdir_p) $(DESTDIR)$(somedir)
1513 # so it does not work when $(somedir) is undefined and
1514 # $(DESTDIR) is not.
1515 # To support the latter case, we have to write
1516 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1517 # so the `.' trick is pointless.
1518 mkdir_p='mkdir -p --'
1520 # On NextStep and OpenStep, the `mkdir' command does not
1521 # recognize any option. It will interpret all options as
1522 # directories to create, and then abort because `.' already
1524 for d in ./-p ./--version;
1526 test -d $d && rmdir $d
1528 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1529 if test -f "$ac_aux_dir/mkinstalldirs"; then
1530 mkdir_p='$(mkinstalldirs)'
1532 mkdir_p='$(install_sh) -d'
1536 for ac_prog in gawk mawk nawk awk
1538 # Extract the first word of "$ac_prog", so it can be a program name with args.
1539 set dummy $ac_prog; ac_word=$2
1540 echo "$as_me:$LINENO: checking for $ac_word" >&5
1541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1542 if test "${ac_cv_prog_AWK+set}" = set; then
1543 echo $ECHO_N "(cached) $ECHO_C" >&6
1545 if test -n "$AWK"; then
1546 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1552 test -z "$as_dir" && as_dir=.
1553 for ac_exec_ext in '' $ac_executable_extensions; do
1554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1555 ac_cv_prog_AWK="$ac_prog"
1556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1565 if test -n "$AWK"; then
1566 echo "$as_me:$LINENO: result: $AWK" >&5
1567 echo "${ECHO_T}$AWK" >&6
1569 echo "$as_me:$LINENO: result: no" >&5
1570 echo "${ECHO_T}no" >&6
1573 test -n "$AWK" && break
1576 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1577 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1578 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1579 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1580 echo $ECHO_N "(cached) $ECHO_C" >&6
1582 cat >conftest.make <<\_ACEOF
1584 @echo 'ac_maketemp="$(MAKE)"'
1586 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1587 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1588 if test -n "$ac_maketemp"; then
1589 eval ac_cv_prog_make_${ac_make}_set=yes
1591 eval ac_cv_prog_make_${ac_make}_set=no
1595 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1596 echo "$as_me:$LINENO: result: yes" >&5
1597 echo "${ECHO_T}yes" >&6
1600 echo "$as_me:$LINENO: result: no" >&5
1601 echo "${ECHO_T}no" >&6
1602 SET_MAKE="MAKE=${MAKE-make}"
1605 rm -rf .tst 2>/dev/null
1606 mkdir .tst 2>/dev/null
1607 if test -d .tst; then
1612 rmdir .tst 2>/dev/null
1614 # test to see if srcdir already configured
1615 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1616 test -f $srcdir/config.status; then
1617 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1618 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1619 { (exit 1); exit 1; }; }
1622 # test whether we have cygpath
1623 if test -z "$CYGPATH_W"; then
1624 if (cygpath --version) >/dev/null 2>/dev/null; then
1625 CYGPATH_W='cygpath -w'
1632 # Define the identity of the package.
1637 cat >>confdefs.h <<_ACEOF
1638 #define PACKAGE "$PACKAGE"
1642 cat >>confdefs.h <<_ACEOF
1643 #define VERSION "$VERSION"
1646 # Some tools Automake needs.
1648 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1651 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1654 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1657 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1660 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1662 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1664 # Installed binaries are usually stripped using `strip' when the user
1665 # run `make install-strip'. However `strip' might not be the right
1666 # tool to use in cross-compilation environments, therefore Automake
1667 # will honor the `STRIP' environment variable to overrule this program.
1668 if test "$cross_compiling" != no; then
1669 if test -n "$ac_tool_prefix"; then
1670 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1671 set dummy ${ac_tool_prefix}strip; ac_word=$2
1672 echo "$as_me:$LINENO: checking for $ac_word" >&5
1673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1674 if test "${ac_cv_prog_STRIP+set}" = set; then
1675 echo $ECHO_N "(cached) $ECHO_C" >&6
1677 if test -n "$STRIP"; then
1678 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1684 test -z "$as_dir" && as_dir=.
1685 for ac_exec_ext in '' $ac_executable_extensions; do
1686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1687 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1696 STRIP=$ac_cv_prog_STRIP
1697 if test -n "$STRIP"; then
1698 echo "$as_me:$LINENO: result: $STRIP" >&5
1699 echo "${ECHO_T}$STRIP" >&6
1701 echo "$as_me:$LINENO: result: no" >&5
1702 echo "${ECHO_T}no" >&6
1706 if test -z "$ac_cv_prog_STRIP"; then
1708 # Extract the first word of "strip", so it can be a program name with args.
1709 set dummy strip; ac_word=$2
1710 echo "$as_me:$LINENO: checking for $ac_word" >&5
1711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1712 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1713 echo $ECHO_N "(cached) $ECHO_C" >&6
1715 if test -n "$ac_ct_STRIP"; then
1716 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1722 test -z "$as_dir" && as_dir=.
1723 for ac_exec_ext in '' $ac_executable_extensions; do
1724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1725 ac_cv_prog_ac_ct_STRIP="strip"
1726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1732 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1735 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1736 if test -n "$ac_ct_STRIP"; then
1737 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1738 echo "${ECHO_T}$ac_ct_STRIP" >&6
1740 echo "$as_me:$LINENO: result: no" >&5
1741 echo "${ECHO_T}no" >&6
1746 STRIP="$ac_cv_prog_STRIP"
1750 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1752 # We need awk for the "check" target. The system "awk" is bad on
1754 # Always define AMTAR for backward compatibility.
1756 AMTAR=${AMTAR-"${am_missing_run}tar"}
1758 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1767 if test -n "$ac_aux_dir"; then
1768 case "$ac_aux_dir" in
1769 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
1770 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
1773 if test -z "$MKINSTALLDIRS"; then
1774 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
1779 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
1780 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
1781 # Check whether --enable-nls or --disable-nls was given.
1782 if test "${enable_nls+set}" = set; then
1783 enableval="$enable_nls"
1788 echo "$as_me:$LINENO: result: $USE_NLS" >&5
1789 echo "${ECHO_T}$USE_NLS" >&6
1796 # Prepare PATH_SEPARATOR.
1797 # The user is always right.
1798 if test "${PATH_SEPARATOR+set}" != set; then
1799 echo "#! /bin/sh" >conf$$.sh
1800 echo "exit 0" >>conf$$.sh
1802 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1810 # Find out how to test for executable files. Don't use a zero-byte file,
1811 # as systems may use methods other than mode bits to determine executability.
1812 cat >conf$$.file <<_ASEOF
1816 chmod +x conf$$.file
1817 if test -x conf$$.file >/dev/null 2>&1; then
1818 ac_executable_p="test -x"
1820 ac_executable_p="test -f"
1824 # Extract the first word of "msgfmt", so it can be a program name with args.
1825 set dummy msgfmt; ac_word=$2
1826 echo "$as_me:$LINENO: checking for $ac_word" >&5
1827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1828 if test "${ac_cv_path_MSGFMT+set}" = set; then
1829 echo $ECHO_N "(cached) $ECHO_C" >&6
1833 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
1836 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
1837 for ac_dir in $PATH; do
1839 test -z "$ac_dir" && ac_dir=.
1840 for ac_exec_ext in '' $ac_executable_extensions; do
1841 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
1842 echo "$as_me: trying $ac_dir/$ac_word..." >&5
1843 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
1844 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
1845 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
1852 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
1856 MSGFMT="$ac_cv_path_MSGFMT"
1857 if test "$MSGFMT" != ":"; then
1858 echo "$as_me:$LINENO: result: $MSGFMT" >&5
1859 echo "${ECHO_T}$MSGFMT" >&6
1861 echo "$as_me:$LINENO: result: no" >&5
1862 echo "${ECHO_T}no" >&6
1865 # Extract the first word of "gmsgfmt", so it can be a program name with args.
1866 set dummy gmsgfmt; ac_word=$2
1867 echo "$as_me:$LINENO: checking for $ac_word" >&5
1868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1869 if test "${ac_cv_path_GMSGFMT+set}" = set; then
1870 echo $ECHO_N "(cached) $ECHO_C" >&6
1874 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
1877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 test -z "$as_dir" && as_dir=.
1882 for ac_exec_ext in '' $ac_executable_extensions; do
1883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1884 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
1885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1891 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
1895 GMSGFMT=$ac_cv_path_GMSGFMT
1897 if test -n "$GMSGFMT"; then
1898 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
1899 echo "${ECHO_T}$GMSGFMT" >&6
1901 echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6
1907 # Prepare PATH_SEPARATOR.
1908 # The user is always right.
1909 if test "${PATH_SEPARATOR+set}" != set; then
1910 echo "#! /bin/sh" >conf$$.sh
1911 echo "exit 0" >>conf$$.sh
1913 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1921 # Find out how to test for executable files. Don't use a zero-byte file,
1922 # as systems may use methods other than mode bits to determine executability.
1923 cat >conf$$.file <<_ASEOF
1927 chmod +x conf$$.file
1928 if test -x conf$$.file >/dev/null 2>&1; then
1929 ac_executable_p="test -x"
1931 ac_executable_p="test -f"
1935 # Extract the first word of "xgettext", so it can be a program name with args.
1936 set dummy xgettext; ac_word=$2
1937 echo "$as_me:$LINENO: checking for $ac_word" >&5
1938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1939 if test "${ac_cv_path_XGETTEXT+set}" = set; then
1940 echo $ECHO_N "(cached) $ECHO_C" >&6
1944 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
1947 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
1948 for ac_dir in $PATH; do
1950 test -z "$ac_dir" && ac_dir=.
1951 for ac_exec_ext in '' $ac_executable_extensions; do
1952 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
1953 echo "$as_me: trying $ac_dir/$ac_word..." >&5
1954 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
1955 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
1956 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
1963 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
1967 XGETTEXT="$ac_cv_path_XGETTEXT"
1968 if test "$XGETTEXT" != ":"; then
1969 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
1970 echo "${ECHO_T}$XGETTEXT" >&6
1972 echo "$as_me:$LINENO: result: no" >&5
1973 echo "${ECHO_T}no" >&6
1979 # Prepare PATH_SEPARATOR.
1980 # The user is always right.
1981 if test "${PATH_SEPARATOR+set}" != set; then
1982 echo "#! /bin/sh" >conf$$.sh
1983 echo "exit 0" >>conf$$.sh
1985 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1993 # Find out how to test for executable files. Don't use a zero-byte file,
1994 # as systems may use methods other than mode bits to determine executability.
1995 cat >conf$$.file <<_ASEOF
1999 chmod +x conf$$.file
2000 if test -x conf$$.file >/dev/null 2>&1; then
2001 ac_executable_p="test -x"
2003 ac_executable_p="test -f"
2007 # Extract the first word of "msgmerge", so it can be a program name with args.
2008 set dummy msgmerge; ac_word=$2
2009 echo "$as_me:$LINENO: checking for $ac_word" >&5
2010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2011 if test "${ac_cv_path_MSGMERGE+set}" = set; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
2019 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2020 for ac_dir in $PATH; do
2022 test -z "$ac_dir" && ac_dir=.
2023 for ac_exec_ext in '' $ac_executable_extensions; do
2024 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2025 echo "$as_me: trying $ac_dir/$ac_word..." >&5
2026 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
2027 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
2034 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
2038 MSGMERGE="$ac_cv_path_MSGMERGE"
2039 if test "$MSGMERGE" != ":"; then
2040 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
2041 echo "${ECHO_T}$MSGMERGE" >&6
2043 echo "$as_me:$LINENO: result: no" >&5
2044 echo "${ECHO_T}no" >&6
2048 if test "$GMSGFMT" != ":"; then
2049 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
2050 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2053 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
2054 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
2055 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
2060 if test "$XGETTEXT" != ":"; then
2061 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
2062 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2065 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
2066 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
2072 ac_config_commands="$ac_config_commands default-1"
2076 if test "X$prefix" = "XNONE"; then
2077 acl_final_prefix="$ac_default_prefix"
2079 acl_final_prefix="$prefix"
2081 if test "X$exec_prefix" = "XNONE"; then
2082 acl_final_exec_prefix='${prefix}'
2084 acl_final_exec_prefix="$exec_prefix"
2086 acl_save_prefix="$prefix"
2087 prefix="$acl_final_prefix"
2088 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
2089 prefix="$acl_save_prefix"
2091 DEPDIR="${am__leading_dot}deps"
2093 ac_config_commands="$ac_config_commands depfiles"
2096 am_make=${MAKE-make}
2097 cat > confinc << 'END'
2102 # If we don't find an include directive, just comment out the code.
2103 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2104 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2108 # First try GNU make style include.
2109 echo "include confinc" > confmf
2110 # We grep out `Entering directory' and `Leaving directory'
2111 # messages which can occur if `w' ends up in MAKEFLAGS.
2112 # In particular we don't look at `^make:' because GNU make might
2113 # be invoked under some other name (usually "gmake"), in which
2114 # case it prints its new name instead of `make'.
2115 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2120 # Now try BSD make style include.
2121 if test "$am__include" = "#"; then
2122 echo '.include "confinc"' > confmf
2123 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2124 am__include=.include
2131 echo "$as_me:$LINENO: result: $_am_result" >&5
2132 echo "${ECHO_T}$_am_result" >&6
2133 rm -f confinc confmf
2135 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2136 if test "${enable_dependency_tracking+set}" = set; then
2137 enableval="$enable_dependency_tracking"
2140 if test "x$enable_dependency_tracking" != xno; then
2141 am_depcomp="$ac_aux_dir/depcomp"
2146 if test "x$enable_dependency_tracking" != xno; then
2157 ac_cpp='$CPP $CPPFLAGS'
2158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2161 if test -n "$ac_tool_prefix"; then
2162 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2163 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2164 echo "$as_me:$LINENO: checking for $ac_word" >&5
2165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2166 if test "${ac_cv_prog_CC+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 if test -n "$CC"; then
2170 ac_cv_prog_CC="$CC" # Let the user override the test.
2172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2176 test -z "$as_dir" && as_dir=.
2177 for ac_exec_ext in '' $ac_executable_extensions; do
2178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2179 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2189 if test -n "$CC"; then
2190 echo "$as_me:$LINENO: result: $CC" >&5
2191 echo "${ECHO_T}$CC" >&6
2193 echo "$as_me:$LINENO: result: no" >&5
2194 echo "${ECHO_T}no" >&6
2198 if test -z "$ac_cv_prog_CC"; then
2200 # Extract the first word of "gcc", so it can be a program name with args.
2201 set dummy gcc; ac_word=$2
2202 echo "$as_me:$LINENO: checking for $ac_word" >&5
2203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2204 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2205 echo $ECHO_N "(cached) $ECHO_C" >&6
2207 if test -n "$ac_ct_CC"; then
2208 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2214 test -z "$as_dir" && as_dir=.
2215 for ac_exec_ext in '' $ac_executable_extensions; do
2216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2217 ac_cv_prog_ac_ct_CC="gcc"
2218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2227 if test -n "$ac_ct_CC"; then
2228 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2229 echo "${ECHO_T}$ac_ct_CC" >&6
2231 echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6
2240 if test -z "$CC"; then
2241 if test -n "$ac_tool_prefix"; then
2242 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2243 set dummy ${ac_tool_prefix}cc; ac_word=$2
2244 echo "$as_me:$LINENO: checking for $ac_word" >&5
2245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2246 if test "${ac_cv_prog_CC+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 if test -n "$CC"; then
2250 ac_cv_prog_CC="$CC" # Let the user override the test.
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2256 test -z "$as_dir" && as_dir=.
2257 for ac_exec_ext in '' $ac_executable_extensions; do
2258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2259 ac_cv_prog_CC="${ac_tool_prefix}cc"
2260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2269 if test -n "$CC"; then
2270 echo "$as_me:$LINENO: result: $CC" >&5
2271 echo "${ECHO_T}$CC" >&6
2273 echo "$as_me:$LINENO: result: no" >&5
2274 echo "${ECHO_T}no" >&6
2278 if test -z "$ac_cv_prog_CC"; then
2280 # Extract the first word of "cc", so it can be a program name with args.
2281 set dummy cc; ac_word=$2
2282 echo "$as_me:$LINENO: checking for $ac_word" >&5
2283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2284 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2285 echo $ECHO_N "(cached) $ECHO_C" >&6
2287 if test -n "$ac_ct_CC"; then
2288 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 test -z "$as_dir" && as_dir=.
2295 for ac_exec_ext in '' $ac_executable_extensions; do
2296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2297 ac_cv_prog_ac_ct_CC="cc"
2298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2307 if test -n "$ac_ct_CC"; then
2308 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2309 echo "${ECHO_T}$ac_ct_CC" >&6
2311 echo "$as_me:$LINENO: result: no" >&5
2312 echo "${ECHO_T}no" >&6
2321 if test -z "$CC"; then
2322 # Extract the first word of "cc", so it can be a program name with args.
2323 set dummy cc; ac_word=$2
2324 echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2326 if test "${ac_cv_prog_CC+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6
2329 if test -n "$CC"; then
2330 ac_cv_prog_CC="$CC" # Let the user override the test.
2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2337 test -z "$as_dir" && as_dir=.
2338 for ac_exec_ext in '' $ac_executable_extensions; do
2339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2340 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2341 ac_prog_rejected=yes
2345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351 if test $ac_prog_rejected = yes; then
2352 # We found a bogon in the path, so make sure we never use it.
2353 set dummy $ac_cv_prog_CC
2355 if test $# != 0; then
2356 # We chose a different compiler from the bogus one.
2357 # However, it has the same basename, so the bogon will be chosen
2358 # first if we set CC to just the basename; use the full file name.
2360 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2366 if test -n "$CC"; then
2367 echo "$as_me:$LINENO: result: $CC" >&5
2368 echo "${ECHO_T}$CC" >&6
2370 echo "$as_me:$LINENO: result: no" >&5
2371 echo "${ECHO_T}no" >&6
2375 if test -z "$CC"; then
2376 if test -n "$ac_tool_prefix"; then
2379 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2380 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2381 echo "$as_me:$LINENO: checking for $ac_word" >&5
2382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2383 if test "${ac_cv_prog_CC+set}" = set; then
2384 echo $ECHO_N "(cached) $ECHO_C" >&6
2386 if test -n "$CC"; then
2387 ac_cv_prog_CC="$CC" # Let the user override the test.
2389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2393 test -z "$as_dir" && as_dir=.
2394 for ac_exec_ext in '' $ac_executable_extensions; do
2395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2396 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2406 if test -n "$CC"; then
2407 echo "$as_me:$LINENO: result: $CC" >&5
2408 echo "${ECHO_T}$CC" >&6
2410 echo "$as_me:$LINENO: result: no" >&5
2411 echo "${ECHO_T}no" >&6
2414 test -n "$CC" && break
2417 if test -z "$CC"; then
2421 # Extract the first word of "$ac_prog", so it can be a program name with args.
2422 set dummy $ac_prog; ac_word=$2
2423 echo "$as_me:$LINENO: checking for $ac_word" >&5
2424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2425 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6
2428 if test -n "$ac_ct_CC"; then
2429 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2435 test -z "$as_dir" && as_dir=.
2436 for ac_exec_ext in '' $ac_executable_extensions; do
2437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2438 ac_cv_prog_ac_ct_CC="$ac_prog"
2439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2447 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2448 if test -n "$ac_ct_CC"; then
2449 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2450 echo "${ECHO_T}$ac_ct_CC" >&6
2452 echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6
2456 test -n "$ac_ct_CC" && break
2465 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2466 See \`config.log' for more details." >&5
2467 echo "$as_me: error: no acceptable C compiler found in \$PATH
2468 See \`config.log' for more details." >&2;}
2469 { (exit 1); exit 1; }; }
2471 # Provide some information about the compiler.
2472 echo "$as_me:$LINENO:" \
2473 "checking for C compiler version" >&5
2474 ac_compiler=`set X $ac_compile; echo $2`
2475 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2476 (eval $ac_compiler --version </dev/null >&5) 2>&5
2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479 (exit $ac_status); }
2480 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2481 (eval $ac_compiler -v </dev/null >&5) 2>&5
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }
2485 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2486 (eval $ac_compiler -V </dev/null >&5) 2>&5
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); }
2491 cat >conftest.$ac_ext <<_ACEOF
2494 cat confdefs.h >>conftest.$ac_ext
2495 cat >>conftest.$ac_ext <<_ACEOF
2496 /* end confdefs.h. */
2506 ac_clean_files_save=$ac_clean_files
2507 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2508 # Try to create an executable without -o first, disregard a.out.
2509 # It will help us diagnose broken compilers, and finding out an intuition
2511 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2512 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2513 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2514 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2515 (eval $ac_link_default) 2>&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }; then
2519 # Find the output, starting from the most likely. This scheme is
2520 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2523 # Be careful to initialize this variable, since it used to be cached.
2524 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2526 # b.out is created by i960 compilers.
2527 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2529 test -f "$ac_file" || continue
2531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2534 # This is the source file.
2537 # We found the default executable, but exeext='' is most
2541 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2542 # FIXME: I believe we export ac_cv_exeext for Libtool,
2543 # but it would be cool to find out if it's true. Does anybody
2544 # maintain Libtool? --akim.
2552 echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.$ac_ext >&5
2555 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2556 See \`config.log' for more details." >&5
2557 echo "$as_me: error: C compiler cannot create executables
2558 See \`config.log' for more details." >&2;}
2559 { (exit 77); exit 77; }; }
2562 ac_exeext=$ac_cv_exeext
2563 echo "$as_me:$LINENO: result: $ac_file" >&5
2564 echo "${ECHO_T}$ac_file" >&6
2566 # Check the compiler produces executables we can run. If not, either
2567 # the compiler is broken, or we cross compile.
2568 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2569 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2570 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2571 # If not cross compiling, check that we can run a simple program.
2572 if test "$cross_compiling" != yes; then
2573 if { ac_try='./$ac_file'
2574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; }; then
2581 if test "$cross_compiling" = maybe; then
2584 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2585 If you meant to cross compile, use \`--host'.
2586 See \`config.log' for more details." >&5
2587 echo "$as_me: error: cannot run C compiled programs.
2588 If you meant to cross compile, use \`--host'.
2589 See \`config.log' for more details." >&2;}
2590 { (exit 1); exit 1; }; }
2594 echo "$as_me:$LINENO: result: yes" >&5
2595 echo "${ECHO_T}yes" >&6
2597 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2598 ac_clean_files=$ac_clean_files_save
2599 # Check the compiler produces executables we can run. If not, either
2600 # the compiler is broken, or we cross compile.
2601 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2602 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2603 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2604 echo "${ECHO_T}$cross_compiling" >&6
2606 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2607 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2609 (eval $ac_link) 2>&5
2611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612 (exit $ac_status); }; then
2613 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2614 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2615 # work properly (i.e., refer to `conftest.exe'), while it won't with
2617 for ac_file in conftest.exe conftest conftest.*; do
2618 test -f "$ac_file" || continue
2620 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2621 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2628 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2629 See \`config.log' for more details." >&5
2630 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2631 See \`config.log' for more details." >&2;}
2632 { (exit 1); exit 1; }; }
2635 rm -f conftest$ac_cv_exeext
2636 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2637 echo "${ECHO_T}$ac_cv_exeext" >&6
2639 rm -f conftest.$ac_ext
2640 EXEEXT=$ac_cv_exeext
2642 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2643 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2644 if test "${ac_cv_objext+set}" = set; then
2645 echo $ECHO_N "(cached) $ECHO_C" >&6
2647 cat >conftest.$ac_ext <<_ACEOF
2650 cat confdefs.h >>conftest.$ac_ext
2651 cat >>conftest.$ac_ext <<_ACEOF
2652 /* end confdefs.h. */
2662 rm -f conftest.o conftest.obj
2663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2664 (eval $ac_compile) 2>&5
2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); }; then
2668 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2670 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2671 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2676 echo "$as_me: failed program was:" >&5
2677 sed 's/^/| /' conftest.$ac_ext >&5
2679 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2680 See \`config.log' for more details." >&5
2681 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2682 See \`config.log' for more details." >&2;}
2683 { (exit 1); exit 1; }; }
2686 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2688 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2689 echo "${ECHO_T}$ac_cv_objext" >&6
2690 OBJEXT=$ac_cv_objext
2692 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2693 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2694 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2695 echo $ECHO_N "(cached) $ECHO_C" >&6
2697 cat >conftest.$ac_ext <<_ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2715 rm -f conftest.$ac_objext
2716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2717 (eval $ac_compile) 2>conftest.er1
2719 grep -v '^ *+' conftest.er1 >conftest.err
2721 cat conftest.err >&5
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); } &&
2724 { ac_try='test -z "$ac_c_werror_flag"
2725 || test ! -s conftest.err'
2726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); }; } &&
2731 { ac_try='test -s conftest.$ac_objext'
2732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }; }; then
2739 echo "$as_me: failed program was:" >&5
2740 sed 's/^/| /' conftest.$ac_ext >&5
2744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2745 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2748 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2749 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2750 GCC=`test $ac_compiler_gnu = yes && echo yes`
2751 ac_test_CFLAGS=${CFLAGS+set}
2752 ac_save_CFLAGS=$CFLAGS
2754 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2755 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2756 if test "${ac_cv_prog_cc_g+set}" = set; then
2757 echo $ECHO_N "(cached) $ECHO_C" >&6
2759 cat >conftest.$ac_ext <<_ACEOF
2762 cat confdefs.h >>conftest.$ac_ext
2763 cat >>conftest.$ac_ext <<_ACEOF
2764 /* end confdefs.h. */
2774 rm -f conftest.$ac_objext
2775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2776 (eval $ac_compile) 2>conftest.er1
2778 grep -v '^ *+' conftest.er1 >conftest.err
2780 cat conftest.err >&5
2781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782 (exit $ac_status); } &&
2783 { ac_try='test -z "$ac_c_werror_flag"
2784 || test ! -s conftest.err'
2785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }; } &&
2790 { ac_try='test -s conftest.$ac_objext'
2791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); }; }; then
2798 echo "$as_me: failed program was:" >&5
2799 sed 's/^/| /' conftest.$ac_ext >&5
2803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2805 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2806 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2807 if test "$ac_test_CFLAGS" = set; then
2808 CFLAGS=$ac_save_CFLAGS
2809 elif test $ac_cv_prog_cc_g = yes; then
2810 if test "$GCC" = yes; then
2816 if test "$GCC" = yes; then
2822 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2823 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2824 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2825 echo $ECHO_N "(cached) $ECHO_C" >&6
2827 ac_cv_prog_cc_stdc=no
2829 cat >conftest.$ac_ext <<_ACEOF
2832 cat confdefs.h >>conftest.$ac_ext
2833 cat >>conftest.$ac_ext <<_ACEOF
2834 /* end confdefs.h. */
2837 #include <sys/types.h>
2838 #include <sys/stat.h>
2839 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2840 struct buf { int x; };
2841 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2842 static char *e (p, i)
2848 static char *f (char * (*g) (char **, int), char **p, ...)
2853 s = g (p, va_arg (v,int));
2858 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2859 function prototypes and stuff, but not '\xHH' hex character constants.
2860 These don't provoke an error unfortunately, instead are silently treated
2861 as 'x'. The following induces an error, until -std1 is added to get
2862 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2863 array size at least. It's necessary to write '\x00'==0 to get something
2864 that's true only with -std1. */
2865 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2867 int test (int i, double x);
2868 struct s1 {int (*f) (int a);};
2869 struct s2 {int (*f) (double a);};
2870 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2876 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2881 # Don't try gcc -ansi; that turns off useful extensions and
2882 # breaks some systems' header files.
2883 # AIX -qlanglvl=ansi
2884 # Ultrix and OSF/1 -std1
2885 # HP-UX 10.20 and later -Ae
2886 # HP-UX older versions -Aa -D_HPUX_SOURCE
2887 # SVR4 -Xc -D__EXTENSIONS__
2888 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2890 CC="$ac_save_CC $ac_arg"
2891 rm -f conftest.$ac_objext
2892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2893 (eval $ac_compile) 2>conftest.er1
2895 grep -v '^ *+' conftest.er1 >conftest.err
2897 cat conftest.err >&5
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); } &&
2900 { ac_try='test -z "$ac_c_werror_flag"
2901 || test ! -s conftest.err'
2902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906 (exit $ac_status); }; } &&
2907 { ac_try='test -s conftest.$ac_objext'
2908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912 (exit $ac_status); }; }; then
2913 ac_cv_prog_cc_stdc=$ac_arg
2916 echo "$as_me: failed program was:" >&5
2917 sed 's/^/| /' conftest.$ac_ext >&5
2920 rm -f conftest.err conftest.$ac_objext
2922 rm -f conftest.$ac_ext conftest.$ac_objext
2927 case "x$ac_cv_prog_cc_stdc" in
2929 echo "$as_me:$LINENO: result: none needed" >&5
2930 echo "${ECHO_T}none needed" >&6 ;;
2932 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2933 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2934 CC="$CC $ac_cv_prog_cc_stdc" ;;
2937 # Some people use a C++ compiler to compile C. Since we use `exit',
2938 # in C++ we need to declare it. In case someone uses the same compiler
2939 # for both compiling C and C++ we need to have the C++ compiler decide
2940 # the declaration of exit, since it's the most demanding environment.
2941 cat >conftest.$ac_ext <<_ACEOF
2946 rm -f conftest.$ac_objext
2947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2948 (eval $ac_compile) 2>conftest.er1
2950 grep -v '^ *+' conftest.er1 >conftest.err
2952 cat conftest.err >&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); } &&
2955 { ac_try='test -z "$ac_c_werror_flag"
2956 || test ! -s conftest.err'
2957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); }; } &&
2962 { ac_try='test -s conftest.$ac_objext'
2963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 (exit $ac_status); }; }; then
2968 for ac_declaration in \
2970 'extern "C" void std::exit (int) throw (); using std::exit;' \
2971 'extern "C" void std::exit (int); using std::exit;' \
2972 'extern "C" void exit (int) throw ();' \
2973 'extern "C" void exit (int);' \
2976 cat >conftest.$ac_ext <<_ACEOF
2979 cat confdefs.h >>conftest.$ac_ext
2980 cat >>conftest.$ac_ext <<_ACEOF
2981 /* end confdefs.h. */
2992 rm -f conftest.$ac_objext
2993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2994 (eval $ac_compile) 2>conftest.er1
2996 grep -v '^ *+' conftest.er1 >conftest.err
2998 cat conftest.err >&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); } &&
3001 { ac_try='test -z "$ac_c_werror_flag"
3002 || test ! -s conftest.err'
3003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); }; } &&
3008 { ac_try='test -s conftest.$ac_objext'
3009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); }; }; then
3016 echo "$as_me: failed program was:" >&5
3017 sed 's/^/| /' conftest.$ac_ext >&5
3021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3022 cat >conftest.$ac_ext <<_ACEOF
3025 cat confdefs.h >>conftest.$ac_ext
3026 cat >>conftest.$ac_ext <<_ACEOF
3027 /* end confdefs.h. */
3037 rm -f conftest.$ac_objext
3038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3039 (eval $ac_compile) 2>conftest.er1
3041 grep -v '^ *+' conftest.er1 >conftest.err
3043 cat conftest.err >&5
3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); } &&
3046 { ac_try='test -z "$ac_c_werror_flag"
3047 || test ! -s conftest.err'
3048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052 (exit $ac_status); }; } &&
3053 { ac_try='test -s conftest.$ac_objext'
3054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058 (exit $ac_status); }; }; then
3061 echo "$as_me: failed program was:" >&5
3062 sed 's/^/| /' conftest.$ac_ext >&5
3065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3068 if test -n "$ac_declaration"; then
3069 echo '#ifdef __cplusplus' >>confdefs.h
3070 echo $ac_declaration >>confdefs.h
3071 echo '#endif' >>confdefs.h
3075 echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.$ac_ext >&5
3079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3081 ac_cpp='$CPP $CPPFLAGS'
3082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3086 depcc="$CC" am_compiler_list=
3088 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3089 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3090 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3091 echo $ECHO_N "(cached) $ECHO_C" >&6
3093 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3094 # We make a subdir and do the tests there. Otherwise we can end up
3095 # making bogus files that we don't know about and never remove. For
3096 # instance it was reported that on HP-UX the gcc test will end up
3097 # making a dummy file named `D' -- because `-MD' means `put the output
3100 # Copy depcomp to subdir because otherwise we won't find it if we're
3101 # using a relative directory.
3102 cp "$am_depcomp" conftest.dir
3104 # We will build objects and dependencies in a subdirectory because
3105 # it helps to detect inapplicable dependency modes. For instance
3106 # both Tru64's cc and ICC support -MD to output dependencies as a
3107 # side effect of compilation, but ICC will put the dependencies in
3108 # the current directory while Tru64 will put them in the object
3112 am_cv_CC_dependencies_compiler_type=none
3113 if test "$am_compiler_list" = ""; then
3114 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3116 for depmode in $am_compiler_list; do
3117 # Setup a source with many dependencies, because some compilers
3118 # like to wrap large dependency lists on column 80 (with \), and
3119 # we should not choose a depcomp mode which is confused by this.
3121 # We need to recreate these files for each test, as the compiler may
3122 # overwrite some of them when testing with obscure command lines.
3123 # This happens at least with the AIX C compiler.
3125 for i in 1 2 3 4 5 6; do
3126 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3127 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3128 # Solaris 8's {/usr,}/bin/sh.
3129 touch sub/conftst$i.h
3131 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3135 # after this tag, mechanisms are not by side-effect, so they'll
3136 # only be used when explicitly requested
3137 if test "x$enable_dependency_tracking" = xyes; then
3145 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3146 # mode. It turns out that the SunPro C++ compiler does not properly
3147 # handle `-M -o', and we need to detect this.
3148 if depmode=$depmode \
3149 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3150 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3151 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3152 >/dev/null 2>conftest.err &&
3153 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3154 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3155 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3156 # icc doesn't choke on unknown options, it will just issue warnings
3157 # or remarks (even with -Werror). So we grep stderr for any message
3158 # that says an option was ignored or not supported.
3159 # When given -MP, icc 7.0 and 7.1 complain thusly:
3160 # icc: Command line warning: ignoring option '-M'; no argument required
3161 # The diagnosis changed in icc 8.0:
3162 # icc: Command line remark: option '-MP' not supported
3163 if (grep 'ignoring option' conftest.err ||
3164 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3165 am_cv_CC_dependencies_compiler_type=$depmode
3174 am_cv_CC_dependencies_compiler_type=none
3178 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3179 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3180 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3185 test "x$enable_dependency_tracking" != xno \
3186 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3188 am__fastdepCC_FALSE='#'
3190 am__fastdepCC_TRUE='#'
3191 am__fastdepCC_FALSE=
3195 # Make sure we can run config.sub.
3196 $ac_config_sub sun4 >/dev/null 2>&1 ||
3197 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3198 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3199 { (exit 1); exit 1; }; }
3201 echo "$as_me:$LINENO: checking build system type" >&5
3202 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3203 if test "${ac_cv_build+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 ac_cv_build_alias=$build_alias
3207 test -z "$ac_cv_build_alias" &&
3208 ac_cv_build_alias=`$ac_config_guess`
3209 test -z "$ac_cv_build_alias" &&
3210 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3211 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3212 { (exit 1); exit 1; }; }
3213 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3214 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3215 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3216 { (exit 1); exit 1; }; }
3219 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3220 echo "${ECHO_T}$ac_cv_build" >&6
3222 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3223 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3224 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3227 echo "$as_me:$LINENO: checking host system type" >&5
3228 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3229 if test "${ac_cv_host+set}" = set; then
3230 echo $ECHO_N "(cached) $ECHO_C" >&6
3232 ac_cv_host_alias=$host_alias
3233 test -z "$ac_cv_host_alias" &&
3234 ac_cv_host_alias=$ac_cv_build_alias
3235 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3236 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3237 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3238 { (exit 1); exit 1; }; }
3241 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3242 echo "${ECHO_T}$ac_cv_host" >&6
3244 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3245 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3246 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3250 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3251 if test "${with_gnu_ld+set}" = set; then
3252 withval="$with_gnu_ld"
3253 test "$withval" = no || with_gnu_ld=yes
3257 # Prepare PATH_SEPARATOR.
3258 # The user is always right.
3259 if test "${PATH_SEPARATOR+set}" != set; then
3260 echo "#! /bin/sh" >conf$$.sh
3261 echo "exit 0" >>conf$$.sh
3263 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3271 if test "$GCC" = yes; then
3272 # Check if gcc -print-prog-name=ld gives a path.
3273 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3274 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3277 # gcc leaves a trailing carriage return which upsets mingw
3278 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3280 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3283 # Accept absolute paths.
3284 [\\/]* | [A-Za-z]:[\\/]*)
3285 re_direlt='/[^/][^/]*/\.\./'
3286 # Canonicalize the path of ld
3287 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3288 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3289 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3291 test -z "$LD" && LD="$ac_prog"
3294 # If it fails, then pretend we aren't using GCC.
3298 # If it is relative, then search for the first ld in PATH.
3302 elif test "$with_gnu_ld" = yes; then
3303 echo "$as_me:$LINENO: checking for GNU ld" >&5
3304 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3306 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3307 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3309 if test "${acl_cv_path_LD+set}" = set; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 if test -z "$LD"; then
3313 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3314 for ac_dir in $PATH; do
3315 test -z "$ac_dir" && ac_dir=.
3316 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3317 acl_cv_path_LD="$ac_dir/$ac_prog"
3318 # Check to see if the program is GNU ld. I'd rather use --version,
3319 # but apparently some GNU ld's only accept -v.
3320 # Break only if it was the GNU/non-GNU ld that we prefer.
3321 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
3322 *GNU* | *'with BFD'*)
3323 test "$with_gnu_ld" != no && break ;;
3325 test "$with_gnu_ld" != yes && break ;;
3331 acl_cv_path_LD="$LD" # Let the user override the test with a path.
3335 LD="$acl_cv_path_LD"
3336 if test -n "$LD"; then
3337 echo "$as_me:$LINENO: result: $LD" >&5
3338 echo "${ECHO_T}$LD" >&6
3340 echo "$as_me:$LINENO: result: no" >&5
3341 echo "${ECHO_T}no" >&6
3343 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3344 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3345 { (exit 1); exit 1; }; }
3346 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3347 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3348 if test "${acl_cv_prog_gnu_ld+set}" = set; then
3349 echo $ECHO_N "(cached) $ECHO_C" >&6
3351 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3352 case `$LD -v 2>&1 </dev/null` in
3353 *GNU* | *'with BFD'*)
3354 acl_cv_prog_gnu_ld=yes ;;
3356 acl_cv_prog_gnu_ld=no ;;
3359 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
3360 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
3361 with_gnu_ld=$acl_cv_prog_gnu_ld
3366 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
3367 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
3368 if test "${acl_cv_rpath+set}" = set; then
3369 echo $ECHO_N "(cached) $ECHO_C" >&6
3372 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
3373 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
3379 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
3380 echo "${ECHO_T}$acl_cv_rpath" >&6
3382 libext="$acl_cv_libext"
3383 shlibext="$acl_cv_shlibext"
3384 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
3385 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
3386 hardcode_direct="$acl_cv_hardcode_direct"
3387 hardcode_minus_L="$acl_cv_hardcode_minus_L"
3388 # Check whether --enable-rpath or --disable-rpath was given.
3389 if test "${enable_rpath+set}" = set; then
3390 enableval="$enable_rpath"
3404 acl_save_prefix="$prefix"
3405 prefix="$acl_final_prefix"
3406 acl_save_exec_prefix="$exec_prefix"
3407 exec_prefix="$acl_final_exec_prefix"
3409 eval additional_includedir=\"$includedir\"
3410 eval additional_libdir=\"$libdir\"
3412 exec_prefix="$acl_save_exec_prefix"
3413 prefix="$acl_save_prefix"
3416 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
3417 if test "${with_libiconv_prefix+set}" = set; then
3418 withval="$with_libiconv_prefix"
3420 if test "X$withval" = "Xno"; then
3423 if test "X$withval" = "X"; then
3425 acl_save_prefix="$prefix"
3426 prefix="$acl_final_prefix"
3427 acl_save_exec_prefix="$exec_prefix"
3428 exec_prefix="$acl_final_exec_prefix"
3430 eval additional_includedir=\"$includedir\"
3431 eval additional_libdir=\"$libdir\"
3433 exec_prefix="$acl_save_exec_prefix"
3434 prefix="$acl_save_prefix"
3437 additional_includedir="$withval/include"
3438 additional_libdir="$withval/lib"
3448 names_already_handled=
3449 names_next_round='iconv '
3450 while test -n "$names_next_round"; do
3451 names_this_round="$names_next_round"
3453 for name in $names_this_round; do
3455 for n in $names_already_handled; do
3456 if test "$n" = "$name"; then
3461 if test -z "$already_handled"; then
3462 names_already_handled="$names_already_handled $name"
3463 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
3464 eval value=\"\$HAVE_LIB$uppername\"
3465 if test -n "$value"; then
3466 if test "$value" = yes; then
3467 eval value=\"\$LIB$uppername\"
3468 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
3469 eval value=\"\$LTLIB$uppername\"
3470 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
3479 if test $use_additional = yes; then
3480 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
3481 found_dir="$additional_libdir"
3482 found_so="$additional_libdir/lib$name.$shlibext"
3483 if test -f "$additional_libdir/lib$name.la"; then
3484 found_la="$additional_libdir/lib$name.la"
3487 if test -f "$additional_libdir/lib$name.$libext"; then
3488 found_dir="$additional_libdir"
3489 found_a="$additional_libdir/lib$name.$libext"
3490 if test -f "$additional_libdir/lib$name.la"; then
3491 found_la="$additional_libdir/lib$name.la"
3496 if test "X$found_dir" = "X"; then
3497 for x in $LDFLAGS $LTLIBICONV; do
3499 acl_save_prefix="$prefix"
3500 prefix="$acl_final_prefix"
3501 acl_save_exec_prefix="$exec_prefix"
3502 exec_prefix="$acl_final_exec_prefix"
3504 exec_prefix="$acl_save_exec_prefix"
3505 prefix="$acl_save_prefix"
3509 dir=`echo "X$x" | sed -e 's/^X-L//'`
3510 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
3512 found_so="$dir/lib$name.$shlibext"
3513 if test -f "$dir/lib$name.la"; then
3514 found_la="$dir/lib$name.la"
3517 if test -f "$dir/lib$name.$libext"; then
3519 found_a="$dir/lib$name.$libext"
3520 if test -f "$dir/lib$name.la"; then
3521 found_la="$dir/lib$name.la"
3527 if test "X$found_dir" != "X"; then
3532 if test "X$found_dir" != "X"; then
3533 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
3534 if test "X$found_so" != "X"; then
3535 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
3536 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3539 for x in $ltrpathdirs; do
3540 if test "X$x" = "X$found_dir"; then
3545 if test -z "$haveit"; then
3546 ltrpathdirs="$ltrpathdirs $found_dir"
3548 if test "$hardcode_direct" = yes; then
3549 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3551 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
3552 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3554 for x in $rpathdirs; do
3555 if test "X$x" = "X$found_dir"; then
3560 if test -z "$haveit"; then
3561 rpathdirs="$rpathdirs $found_dir"
3565 for x in $LDFLAGS $LIBICONV; do
3567 acl_save_prefix="$prefix"
3568 prefix="$acl_final_prefix"
3569 acl_save_exec_prefix="$exec_prefix"
3570 exec_prefix="$acl_final_exec_prefix"
3572 exec_prefix="$acl_save_exec_prefix"
3573 prefix="$acl_save_prefix"
3575 if test "X$x" = "X-L$found_dir"; then
3580 if test -z "$haveit"; then
3581 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
3583 if test "$hardcode_minus_L" != no; then
3584 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
3586 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
3592 if test "X$found_a" != "X"; then
3593 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
3595 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
3598 additional_includedir=
3599 case "$found_dir" in
3601 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
3602 additional_includedir="$basedir/include"
3605 if test "X$additional_includedir" != "X"; then
3606 if test "X$additional_includedir" != "X/usr/include"; then
3608 if test "X$additional_includedir" = "X/usr/local/include"; then
3609 if test -n "$GCC"; then
3611 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
3615 if test -z "$haveit"; then
3616 for x in $CPPFLAGS $INCICONV; do
3618 acl_save_prefix="$prefix"
3619 prefix="$acl_final_prefix"
3620 acl_save_exec_prefix="$exec_prefix"
3621 exec_prefix="$acl_final_exec_prefix"
3623 exec_prefix="$acl_save_exec_prefix"
3624 prefix="$acl_save_prefix"
3626 if test "X$x" = "X-I$additional_includedir"; then
3631 if test -z "$haveit"; then
3632 if test -d "$additional_includedir"; then
3633 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
3639 if test -n "$found_la"; then
3640 save_libdir="$libdir"
3642 */* | *\\*) . "$found_la" ;;
3643 *) . "./$found_la" ;;
3645 libdir="$save_libdir"
3646 for dep in $dependency_libs; do
3649 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
3650 if test "X$additional_libdir" != "X/usr/lib"; then
3652 if test "X$additional_libdir" = "X/usr/local/lib"; then
3653 if test -n "$GCC"; then
3655 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
3659 if test -z "$haveit"; then
3661 for x in $LDFLAGS $LIBICONV; do
3663 acl_save_prefix="$prefix"
3664 prefix="$acl_final_prefix"
3665 acl_save_exec_prefix="$exec_prefix"
3666 exec_prefix="$acl_final_exec_prefix"
3668 exec_prefix="$acl_save_exec_prefix"
3669 prefix="$acl_save_prefix"
3671 if test "X$x" = "X-L$additional_libdir"; then
3676 if test -z "$haveit"; then
3677 if test -d "$additional_libdir"; then
3678 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
3682 for x in $LDFLAGS $LTLIBICONV; do
3684 acl_save_prefix="$prefix"
3685 prefix="$acl_final_prefix"
3686 acl_save_exec_prefix="$exec_prefix"
3687 exec_prefix="$acl_final_exec_prefix"
3689 exec_prefix="$acl_save_exec_prefix"
3690 prefix="$acl_save_prefix"
3692 if test "X$x" = "X-L$additional_libdir"; then
3697 if test -z "$haveit"; then
3698 if test -d "$additional_libdir"; then
3699 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
3706 dir=`echo "X$dep" | sed -e 's/^X-R//'`
3707 if test "$enable_rpath" != no; then
3709 for x in $rpathdirs; do
3710 if test "X$x" = "X$dir"; then
3715 if test -z "$haveit"; then
3716 rpathdirs="$rpathdirs $dir"
3719 for x in $ltrpathdirs; do
3720 if test "X$x" = "X$dir"; then
3725 if test -z "$haveit"; then
3726 ltrpathdirs="$ltrpathdirs $dir"
3731 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
3734 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
3737 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
3738 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
3744 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
3745 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
3751 if test "X$rpathdirs" != "X"; then
3752 if test -n "$hardcode_libdir_separator"; then
3754 for found_dir in $rpathdirs; do
3755 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
3757 acl_save_libdir="$libdir"
3759 eval flag=\"$hardcode_libdir_flag_spec\"
3760 libdir="$acl_save_libdir"
3761 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
3763 for found_dir in $rpathdirs; do
3764 acl_save_libdir="$libdir"
3766 eval flag=\"$hardcode_libdir_flag_spec\"
3767 libdir="$acl_save_libdir"
3768 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
3772 if test "X$ltrpathdirs" != "X"; then
3773 for found_dir in $ltrpathdirs; do
3774 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
3796 echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
3797 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6
3798 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
3799 echo $ECHO_N "(cached) $ECHO_C" >&6
3801 gt_save_CPPFLAGS="$CPPFLAGS"
3802 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
3803 gt_save_LIBS="$LIBS"
3804 LIBS="$LIBS -framework CoreFoundation"
3805 cat >conftest.$ac_ext <<_ACEOF
3808 cat confdefs.h >>conftest.$ac_ext
3809 cat >>conftest.$ac_ext <<_ACEOF
3810 /* end confdefs.h. */
3811 #include <CFPreferences.h>
3815 CFPreferencesCopyAppValue(NULL, NULL)
3820 rm -f conftest.$ac_objext conftest$ac_exeext
3821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3822 (eval $ac_link) 2>conftest.er1
3824 grep -v '^ *+' conftest.er1 >conftest.err
3826 cat conftest.err >&5
3827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3828 (exit $ac_status); } &&
3829 { ac_try='test -z "$ac_c_werror_flag"
3830 || test ! -s conftest.err'
3831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); }; } &&
3836 { ac_try='test -s conftest$ac_exeext'
3837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841 (exit $ac_status); }; }; then
3842 gt_cv_func_CFPreferencesCopyAppValue=yes
3844 echo "$as_me: failed program was:" >&5
3845 sed 's/^/| /' conftest.$ac_ext >&5
3847 gt_cv_func_CFPreferencesCopyAppValue=no
3849 rm -f conftest.err conftest.$ac_objext \
3850 conftest$ac_exeext conftest.$ac_ext
3851 CPPFLAGS="$gt_save_CPPFLAGS"
3852 LIBS="$gt_save_LIBS"
3854 echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
3855 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6
3856 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
3858 cat >>confdefs.h <<\_ACEOF
3859 #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
3863 echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
3864 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6
3865 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 gt_save_CPPFLAGS="$CPPFLAGS"
3869 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
3870 gt_save_LIBS="$LIBS"
3871 LIBS="$LIBS -framework CoreFoundation"
3872 cat >conftest.$ac_ext <<_ACEOF
3875 cat confdefs.h >>conftest.$ac_ext
3876 cat >>conftest.$ac_ext <<_ACEOF
3877 /* end confdefs.h. */
3878 #include <CFLocale.h>
3882 CFLocaleCopyCurrent();
3887 rm -f conftest.$ac_objext conftest$ac_exeext
3888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3889 (eval $ac_link) 2>conftest.er1
3891 grep -v '^ *+' conftest.er1 >conftest.err
3893 cat conftest.err >&5
3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); } &&
3896 { ac_try='test -z "$ac_c_werror_flag"
3897 || test ! -s conftest.err'
3898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3902 (exit $ac_status); }; } &&
3903 { ac_try='test -s conftest$ac_exeext'
3904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); }; }; then
3909 gt_cv_func_CFLocaleCopyCurrent=yes
3911 echo "$as_me: failed program was:" >&5
3912 sed 's/^/| /' conftest.$ac_ext >&5
3914 gt_cv_func_CFLocaleCopyCurrent=no
3916 rm -f conftest.err conftest.$ac_objext \
3917 conftest$ac_exeext conftest.$ac_ext
3918 CPPFLAGS="$gt_save_CPPFLAGS"
3919 LIBS="$gt_save_LIBS"
3921 echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
3922 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6
3923 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
3925 cat >>confdefs.h <<\_ACEOF
3926 #define HAVE_CFLOCALECOPYCURRENT 1
3931 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
3932 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
3938 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3939 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3940 # Check whether --enable-nls or --disable-nls was given.
3941 if test "${enable_nls+set}" = set; then
3942 enableval="$enable_nls"
3947 echo "$as_me:$LINENO: result: $USE_NLS" >&5
3948 echo "${ECHO_T}$USE_NLS" >&6
3957 if test "$USE_NLS" = "yes"; then
3958 gt_use_preinstalled_gnugettext=no
3965 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
3966 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
3967 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
3968 echo $ECHO_N "(cached) $ECHO_C" >&6
3970 cat >conftest.$ac_ext <<_ACEOF
3973 cat confdefs.h >>conftest.$ac_ext
3974 cat >>conftest.$ac_ext <<_ACEOF
3975 /* end confdefs.h. */
3976 #include <libintl.h>
3977 extern int _nl_msg_cat_cntr;
3978 extern int *_nl_domain_bindings;
3982 bindtextdomain ("", "");
3983 return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
3988 rm -f conftest.$ac_objext conftest$ac_exeext
3989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3990 (eval $ac_link) 2>conftest.er1
3992 grep -v '^ *+' conftest.er1 >conftest.err
3994 cat conftest.err >&5
3995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996 (exit $ac_status); } &&
3997 { ac_try='test -z "$ac_c_werror_flag"
3998 || test ! -s conftest.err'
3999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4003 (exit $ac_status); }; } &&
4004 { ac_try='test -s conftest$ac_exeext'
4005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4009 (exit $ac_status); }; }; then
4010 gt_cv_func_gnugettext1_libc=yes
4012 echo "$as_me: failed program was:" >&5
4013 sed 's/^/| /' conftest.$ac_ext >&5
4015 gt_cv_func_gnugettext1_libc=no
4017 rm -f conftest.err conftest.$ac_objext \
4018 conftest$ac_exeext conftest.$ac_ext
4020 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
4021 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
4023 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
4029 am_save_CPPFLAGS="$CPPFLAGS"
4031 for element in $INCICONV; do
4033 for x in $CPPFLAGS; do
4035 acl_save_prefix="$prefix"
4036 prefix="$acl_final_prefix"
4037 acl_save_exec_prefix="$exec_prefix"
4038 exec_prefix="$acl_final_exec_prefix"
4040 exec_prefix="$acl_save_exec_prefix"
4041 prefix="$acl_save_prefix"
4043 if test "X$x" = "X$element"; then
4048 if test -z "$haveit"; then
4049 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
4054 echo "$as_me:$LINENO: checking for iconv" >&5
4055 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
4056 if test "${am_cv_func_iconv+set}" = set; then
4057 echo $ECHO_N "(cached) $ECHO_C" >&6
4060 am_cv_func_iconv="no, consider installing GNU libiconv"
4062 cat >conftest.$ac_ext <<_ACEOF
4065 cat confdefs.h >>conftest.$ac_ext
4066 cat >>conftest.$ac_ext <<_ACEOF
4067 /* end confdefs.h. */
4073 iconv_t cd = iconv_open("","");
4074 iconv(cd,NULL,NULL,NULL,NULL);
4080 rm -f conftest.$ac_objext conftest$ac_exeext
4081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4082 (eval $ac_link) 2>conftest.er1
4084 grep -v '^ *+' conftest.er1 >conftest.err
4086 cat conftest.err >&5
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); } &&
4089 { ac_try='test -z "$ac_c_werror_flag"
4090 || test ! -s conftest.err'
4091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095 (exit $ac_status); }; } &&
4096 { ac_try='test -s conftest$ac_exeext'
4097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); }; }; then
4102 am_cv_func_iconv=yes
4104 echo "$as_me: failed program was:" >&5
4105 sed 's/^/| /' conftest.$ac_ext >&5
4108 rm -f conftest.err conftest.$ac_objext \
4109 conftest$ac_exeext conftest.$ac_ext
4110 if test "$am_cv_func_iconv" != yes; then
4111 am_save_LIBS="$LIBS"
4112 LIBS="$LIBS $LIBICONV"
4113 cat >conftest.$ac_ext <<_ACEOF
4116 cat confdefs.h >>conftest.$ac_ext
4117 cat >>conftest.$ac_ext <<_ACEOF
4118 /* end confdefs.h. */
4124 iconv_t cd = iconv_open("","");
4125 iconv(cd,NULL,NULL,NULL,NULL);
4131 rm -f conftest.$ac_objext conftest$ac_exeext
4132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4133 (eval $ac_link) 2>conftest.er1
4135 grep -v '^ *+' conftest.er1 >conftest.err
4137 cat conftest.err >&5
4138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4139 (exit $ac_status); } &&
4140 { ac_try='test -z "$ac_c_werror_flag"
4141 || test ! -s conftest.err'
4142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4146 (exit $ac_status); }; } &&
4147 { ac_try='test -s conftest$ac_exeext'
4148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4152 (exit $ac_status); }; }; then
4154 am_cv_func_iconv=yes
4156 echo "$as_me: failed program was:" >&5
4157 sed 's/^/| /' conftest.$ac_ext >&5
4160 rm -f conftest.err conftest.$ac_objext \
4161 conftest$ac_exeext conftest.$ac_ext
4162 LIBS="$am_save_LIBS"
4166 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
4167 echo "${ECHO_T}$am_cv_func_iconv" >&6
4168 if test "$am_cv_func_iconv" = yes; then
4170 cat >>confdefs.h <<\_ACEOF
4171 #define HAVE_ICONV 1
4175 if test "$am_cv_lib_iconv" = yes; then
4176 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
4177 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
4178 echo "$as_me:$LINENO: result: $LIBICONV" >&5
4179 echo "${ECHO_T}$LIBICONV" >&6
4181 CPPFLAGS="$am_save_CPPFLAGS"
4193 acl_save_prefix="$prefix"
4194 prefix="$acl_final_prefix"
4195 acl_save_exec_prefix="$exec_prefix"
4196 exec_prefix="$acl_final_exec_prefix"
4198 eval additional_includedir=\"$includedir\"
4199 eval additional_libdir=\"$libdir\"
4201 exec_prefix="$acl_save_exec_prefix"
4202 prefix="$acl_save_prefix"
4205 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
4206 if test "${with_libintl_prefix+set}" = set; then
4207 withval="$with_libintl_prefix"
4209 if test "X$withval" = "Xno"; then
4212 if test "X$withval" = "X"; then
4214 acl_save_prefix="$prefix"
4215 prefix="$acl_final_prefix"
4216 acl_save_exec_prefix="$exec_prefix"
4217 exec_prefix="$acl_final_exec_prefix"
4219 eval additional_includedir=\"$includedir\"
4220 eval additional_libdir=\"$libdir\"
4222 exec_prefix="$acl_save_exec_prefix"
4223 prefix="$acl_save_prefix"
4226 additional_includedir="$withval/include"
4227 additional_libdir="$withval/lib"
4237 names_already_handled=
4238 names_next_round='intl '
4239 while test -n "$names_next_round"; do
4240 names_this_round="$names_next_round"
4242 for name in $names_this_round; do
4244 for n in $names_already_handled; do
4245 if test "$n" = "$name"; then
4250 if test -z "$already_handled"; then
4251 names_already_handled="$names_already_handled $name"
4252 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4253 eval value=\"\$HAVE_LIB$uppername\"
4254 if test -n "$value"; then
4255 if test "$value" = yes; then
4256 eval value=\"\$LIB$uppername\"
4257 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
4258 eval value=\"\$LTLIB$uppername\"
4259 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
4268 if test $use_additional = yes; then
4269 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
4270 found_dir="$additional_libdir"
4271 found_so="$additional_libdir/lib$name.$shlibext"
4272 if test -f "$additional_libdir/lib$name.la"; then
4273 found_la="$additional_libdir/lib$name.la"
4276 if test -f "$additional_libdir/lib$name.$libext"; then
4277 found_dir="$additional_libdir"
4278 found_a="$additional_libdir/lib$name.$libext"
4279 if test -f "$additional_libdir/lib$name.la"; then
4280 found_la="$additional_libdir/lib$name.la"
4285 if test "X$found_dir" = "X"; then
4286 for x in $LDFLAGS $LTLIBINTL; do
4288 acl_save_prefix="$prefix"
4289 prefix="$acl_final_prefix"
4290 acl_save_exec_prefix="$exec_prefix"
4291 exec_prefix="$acl_final_exec_prefix"
4293 exec_prefix="$acl_save_exec_prefix"
4294 prefix="$acl_save_prefix"
4298 dir=`echo "X$x" | sed -e 's/^X-L//'`
4299 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4301 found_so="$dir/lib$name.$shlibext"
4302 if test -f "$dir/lib$name.la"; then
4303 found_la="$dir/lib$name.la"
4306 if test -f "$dir/lib$name.$libext"; then
4308 found_a="$dir/lib$name.$libext"
4309 if test -f "$dir/lib$name.la"; then
4310 found_la="$dir/lib$name.la"
4316 if test "X$found_dir" != "X"; then
4321 if test "X$found_dir" != "X"; then
4322 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
4323 if test "X$found_so" != "X"; then
4324 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
4325 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4328 for x in $ltrpathdirs; do
4329 if test "X$x" = "X$found_dir"; then
4334 if test -z "$haveit"; then
4335 ltrpathdirs="$ltrpathdirs $found_dir"
4337 if test "$hardcode_direct" = yes; then
4338 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4340 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4341 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4343 for x in $rpathdirs; do
4344 if test "X$x" = "X$found_dir"; then
4349 if test -z "$haveit"; then
4350 rpathdirs="$rpathdirs $found_dir"
4354 for x in $LDFLAGS $LIBINTL; do
4356 acl_save_prefix="$prefix"
4357 prefix="$acl_final_prefix"
4358 acl_save_exec_prefix="$exec_prefix"
4359 exec_prefix="$acl_final_exec_prefix"
4361 exec_prefix="$acl_save_exec_prefix"
4362 prefix="$acl_save_prefix"
4364 if test "X$x" = "X-L$found_dir"; then
4369 if test -z "$haveit"; then
4370 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
4372 if test "$hardcode_minus_L" != no; then
4373 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
4375 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
4381 if test "X$found_a" != "X"; then
4382 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
4384 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
4387 additional_includedir=
4388 case "$found_dir" in
4390 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
4391 additional_includedir="$basedir/include"
4394 if test "X$additional_includedir" != "X"; then
4395 if test "X$additional_includedir" != "X/usr/include"; then
4397 if test "X$additional_includedir" = "X/usr/local/include"; then
4398 if test -n "$GCC"; then
4400 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4404 if test -z "$haveit"; then
4405 for x in $CPPFLAGS $INCINTL; do
4407 acl_save_prefix="$prefix"
4408 prefix="$acl_final_prefix"
4409 acl_save_exec_prefix="$exec_prefix"
4410 exec_prefix="$acl_final_exec_prefix"
4412 exec_prefix="$acl_save_exec_prefix"
4413 prefix="$acl_save_prefix"
4415 if test "X$x" = "X-I$additional_includedir"; then
4420 if test -z "$haveit"; then
4421 if test -d "$additional_includedir"; then
4422 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
4428 if test -n "$found_la"; then
4429 save_libdir="$libdir"
4431 */* | *\\*) . "$found_la" ;;
4432 *) . "./$found_la" ;;
4434 libdir="$save_libdir"
4435 for dep in $dependency_libs; do
4438 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4439 if test "X$additional_libdir" != "X/usr/lib"; then
4441 if test "X$additional_libdir" = "X/usr/local/lib"; then
4442 if test -n "$GCC"; then
4444 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4448 if test -z "$haveit"; then
4450 for x in $LDFLAGS $LIBINTL; do
4452 acl_save_prefix="$prefix"
4453 prefix="$acl_final_prefix"
4454 acl_save_exec_prefix="$exec_prefix"
4455 exec_prefix="$acl_final_exec_prefix"
4457 exec_prefix="$acl_save_exec_prefix"
4458 prefix="$acl_save_prefix"
4460 if test "X$x" = "X-L$additional_libdir"; then
4465 if test -z "$haveit"; then
4466 if test -d "$additional_libdir"; then
4467 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
4471 for x in $LDFLAGS $LTLIBINTL; do
4473 acl_save_prefix="$prefix"
4474 prefix="$acl_final_prefix"
4475 acl_save_exec_prefix="$exec_prefix"
4476 exec_prefix="$acl_final_exec_prefix"
4478 exec_prefix="$acl_save_exec_prefix"
4479 prefix="$acl_save_prefix"
4481 if test "X$x" = "X-L$additional_libdir"; then
4486 if test -z "$haveit"; then
4487 if test -d "$additional_libdir"; then
4488 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
4495 dir=`echo "X$dep" | sed -e 's/^X-R//'`
4496 if test "$enable_rpath" != no; then
4498 for x in $rpathdirs; do
4499 if test "X$x" = "X$dir"; then
4504 if test -z "$haveit"; then
4505 rpathdirs="$rpathdirs $dir"
4508 for x in $ltrpathdirs; do
4509 if test "X$x" = "X$dir"; then
4514 if test -z "$haveit"; then
4515 ltrpathdirs="$ltrpathdirs $dir"
4520 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4523 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4526 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
4527 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
4533 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
4534 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
4540 if test "X$rpathdirs" != "X"; then
4541 if test -n "$hardcode_libdir_separator"; then
4543 for found_dir in $rpathdirs; do
4544 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4546 acl_save_libdir="$libdir"
4548 eval flag=\"$hardcode_libdir_flag_spec\"
4549 libdir="$acl_save_libdir"
4550 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
4552 for found_dir in $rpathdirs; do
4553 acl_save_libdir="$libdir"
4555 eval flag=\"$hardcode_libdir_flag_spec\"
4556 libdir="$acl_save_libdir"
4557 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
4561 if test "X$ltrpathdirs" != "X"; then
4562 for found_dir in $ltrpathdirs; do
4563 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
4567 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
4568 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
4569 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 gt_save_CPPFLAGS="$CPPFLAGS"
4573 CPPFLAGS="$CPPFLAGS $INCINTL"
4574 gt_save_LIBS="$LIBS"
4575 LIBS="$LIBS $LIBINTL"
4576 cat >conftest.$ac_ext <<_ACEOF
4579 cat confdefs.h >>conftest.$ac_ext
4580 cat >>conftest.$ac_ext <<_ACEOF
4581 /* end confdefs.h. */
4582 #include <libintl.h>
4583 extern int _nl_msg_cat_cntr;
4588 const char *_nl_expand_alias (const char *);
4592 bindtextdomain ("", "");
4593 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
4598 rm -f conftest.$ac_objext conftest$ac_exeext
4599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4600 (eval $ac_link) 2>conftest.er1
4602 grep -v '^ *+' conftest.er1 >conftest.err
4604 cat conftest.err >&5
4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); } &&
4607 { ac_try='test -z "$ac_c_werror_flag"
4608 || test ! -s conftest.err'
4609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613 (exit $ac_status); }; } &&
4614 { ac_try='test -s conftest$ac_exeext'
4615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619 (exit $ac_status); }; }; then
4620 gt_cv_func_gnugettext1_libintl=yes
4622 echo "$as_me: failed program was:" >&5
4623 sed 's/^/| /' conftest.$ac_ext >&5
4625 gt_cv_func_gnugettext1_libintl=no
4627 rm -f conftest.err conftest.$ac_objext \
4628 conftest$ac_exeext conftest.$ac_ext
4629 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
4630 LIBS="$LIBS $LIBICONV"
4631 cat >conftest.$ac_ext <<_ACEOF
4634 cat confdefs.h >>conftest.$ac_ext
4635 cat >>conftest.$ac_ext <<_ACEOF
4636 /* end confdefs.h. */
4637 #include <libintl.h>
4638 extern int _nl_msg_cat_cntr;
4643 const char *_nl_expand_alias (const char *);
4647 bindtextdomain ("", "");
4648 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
4653 rm -f conftest.$ac_objext conftest$ac_exeext
4654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4655 (eval $ac_link) 2>conftest.er1
4657 grep -v '^ *+' conftest.er1 >conftest.err
4659 cat conftest.err >&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); } &&
4662 { ac_try='test -z "$ac_c_werror_flag"
4663 || test ! -s conftest.err'
4664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668 (exit $ac_status); }; } &&
4669 { ac_try='test -s conftest$ac_exeext'
4670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); }; }; then
4675 LIBINTL="$LIBINTL $LIBICONV"
4676 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
4677 gt_cv_func_gnugettext1_libintl=yes
4680 echo "$as_me: failed program was:" >&5
4681 sed 's/^/| /' conftest.$ac_ext >&5
4684 rm -f conftest.err conftest.$ac_objext \
4685 conftest$ac_exeext conftest.$ac_ext
4687 CPPFLAGS="$gt_save_CPPFLAGS"
4688 LIBS="$gt_save_LIBS"
4690 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
4691 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
4694 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
4695 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
4696 && test "$PACKAGE" != gettext-runtime \
4697 && test "$PACKAGE" != gettext-tools; }; then
4698 gt_use_preinstalled_gnugettext=yes
4707 if test -n "$INTL_MACOSX_LIBS"; then
4708 if test "$gt_use_preinstalled_gnugettext" = "yes" \
4709 || test "$nls_cv_use_gnu_gettext" = "yes"; then
4710 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
4711 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
4715 if test "$gt_use_preinstalled_gnugettext" = "yes" \
4716 || test "$nls_cv_use_gnu_gettext" = "yes"; then
4718 cat >>confdefs.h <<\_ACEOF
4719 #define ENABLE_NLS 1
4727 echo "$as_me:$LINENO: checking whether to use NLS" >&5
4728 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
4729 echo "$as_me:$LINENO: result: $USE_NLS" >&5
4730 echo "${ECHO_T}$USE_NLS" >&6
4731 if test "$USE_NLS" = "yes"; then
4732 echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
4733 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
4734 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
4735 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
4736 gt_source="external libintl"
4741 gt_source="included intl directory"
4743 echo "$as_me:$LINENO: result: $gt_source" >&5
4744 echo "${ECHO_T}$gt_source" >&6
4747 if test "$USE_NLS" = "yes"; then
4749 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
4750 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
4751 echo "$as_me:$LINENO: checking how to link with libintl" >&5
4752 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
4753 echo "$as_me:$LINENO: result: $LIBINTL" >&5
4754 echo "${ECHO_T}$LIBINTL" >&6
4756 for element in $INCINTL; do
4758 for x in $CPPFLAGS; do
4760 acl_save_prefix="$prefix"
4761 prefix="$acl_final_prefix"
4762 acl_save_exec_prefix="$exec_prefix"
4763 exec_prefix="$acl_final_exec_prefix"
4765 exec_prefix="$acl_save_exec_prefix"
4766 prefix="$acl_save_prefix"
4768 if test "X$x" = "X$element"; then
4773 if test -z "$haveit"; then
4774 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
4781 cat >>confdefs.h <<\_ACEOF
4782 #define HAVE_GETTEXT 1
4786 cat >>confdefs.h <<\_ACEOF
4787 #define HAVE_DCGETTEXT 1
4805 ac_config_headers="$ac_config_headers src/config.h"
4808 # Checks for programs.
4810 ac_cpp='$CPP $CPPFLAGS'
4811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4814 if test -n "$ac_tool_prefix"; then
4815 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4816 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4817 echo "$as_me:$LINENO: checking for $ac_word" >&5
4818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4819 if test "${ac_cv_prog_CC+set}" = set; then
4820 echo $ECHO_N "(cached) $ECHO_C" >&6
4822 if test -n "$CC"; then
4823 ac_cv_prog_CC="$CC" # Let the user override the test.
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 test -z "$as_dir" && as_dir=.
4830 for ac_exec_ext in '' $ac_executable_extensions; do
4831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4832 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4842 if test -n "$CC"; then
4843 echo "$as_me:$LINENO: result: $CC" >&5
4844 echo "${ECHO_T}$CC" >&6
4846 echo "$as_me:$LINENO: result: no" >&5
4847 echo "${ECHO_T}no" >&6
4851 if test -z "$ac_cv_prog_CC"; then
4853 # Extract the first word of "gcc", so it can be a program name with args.
4854 set dummy gcc; ac_word=$2
4855 echo "$as_me:$LINENO: checking for $ac_word" >&5
4856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4857 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4858 echo $ECHO_N "(cached) $ECHO_C" >&6
4860 if test -n "$ac_ct_CC"; then
4861 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4867 test -z "$as_dir" && as_dir=.
4868 for ac_exec_ext in '' $ac_executable_extensions; do
4869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4870 ac_cv_prog_ac_ct_CC="gcc"
4871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4879 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4880 if test -n "$ac_ct_CC"; then
4881 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4882 echo "${ECHO_T}$ac_ct_CC" >&6
4884 echo "$as_me:$LINENO: result: no" >&5
4885 echo "${ECHO_T}no" >&6
4893 if test -z "$CC"; then
4894 if test -n "$ac_tool_prefix"; then
4895 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4896 set dummy ${ac_tool_prefix}cc; ac_word=$2
4897 echo "$as_me:$LINENO: checking for $ac_word" >&5
4898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4899 if test "${ac_cv_prog_CC+set}" = set; then
4900 echo $ECHO_N "(cached) $ECHO_C" >&6
4902 if test -n "$CC"; then
4903 ac_cv_prog_CC="$CC" # Let the user override the test.
4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir=.
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_CC="${ac_tool_prefix}cc"
4913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 if test -n "$CC"; then
4923 echo "$as_me:$LINENO: result: $CC" >&5
4924 echo "${ECHO_T}$CC" >&6
4926 echo "$as_me:$LINENO: result: no" >&5
4927 echo "${ECHO_T}no" >&6
4931 if test -z "$ac_cv_prog_CC"; then
4933 # Extract the first word of "cc", so it can be a program name with args.
4934 set dummy cc; ac_word=$2
4935 echo "$as_me:$LINENO: checking for $ac_word" >&5
4936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4937 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4938 echo $ECHO_N "(cached) $ECHO_C" >&6
4940 if test -n "$ac_ct_CC"; then
4941 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 test -z "$as_dir" && as_dir=.
4948 for ac_exec_ext in '' $ac_executable_extensions; do
4949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4950 ac_cv_prog_ac_ct_CC="cc"
4951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4959 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4960 if test -n "$ac_ct_CC"; then
4961 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4962 echo "${ECHO_T}$ac_ct_CC" >&6
4964 echo "$as_me:$LINENO: result: no" >&5
4965 echo "${ECHO_T}no" >&6
4974 if test -z "$CC"; then
4975 # Extract the first word of "cc", so it can be a program name with args.
4976 set dummy cc; ac_word=$2
4977 echo "$as_me:$LINENO: checking for $ac_word" >&5
4978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4979 if test "${ac_cv_prog_CC+set}" = set; then
4980 echo $ECHO_N "(cached) $ECHO_C" >&6
4982 if test -n "$CC"; then
4983 ac_cv_prog_CC="$CC" # Let the user override the test.
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4993 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4994 ac_prog_rejected=yes
4998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5004 if test $ac_prog_rejected = yes; then
5005 # We found a bogon in the path, so make sure we never use it.
5006 set dummy $ac_cv_prog_CC
5008 if test $# != 0; then
5009 # We chose a different compiler from the bogus one.
5010 # However, it has the same basename, so the bogon will be chosen
5011 # first if we set CC to just the basename; use the full file name.
5013 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5019 if test -n "$CC"; then
5020 echo "$as_me:$LINENO: result: $CC" >&5
5021 echo "${ECHO_T}$CC" >&6
5023 echo "$as_me:$LINENO: result: no" >&5
5024 echo "${ECHO_T}no" >&6
5028 if test -z "$CC"; then
5029 if test -n "$ac_tool_prefix"; then
5032 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5033 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5034 echo "$as_me:$LINENO: checking for $ac_word" >&5
5035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5036 if test "${ac_cv_prog_CC+set}" = set; then
5037 echo $ECHO_N "(cached) $ECHO_C" >&6
5039 if test -n "$CC"; then
5040 ac_cv_prog_CC="$CC" # Let the user override the test.
5042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 test -z "$as_dir" && as_dir=.
5047 for ac_exec_ext in '' $ac_executable_extensions; do
5048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5049 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5059 if test -n "$CC"; then
5060 echo "$as_me:$LINENO: result: $CC" >&5
5061 echo "${ECHO_T}$CC" >&6
5063 echo "$as_me:$LINENO: result: no" >&5
5064 echo "${ECHO_T}no" >&6
5067 test -n "$CC" && break
5070 if test -z "$CC"; then
5074 # Extract the first word of "$ac_prog", so it can be a program name with args.
5075 set dummy $ac_prog; ac_word=$2
5076 echo "$as_me:$LINENO: checking for $ac_word" >&5
5077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5078 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5079 echo $ECHO_N "(cached) $ECHO_C" >&6
5081 if test -n "$ac_ct_CC"; then
5082 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 test -z "$as_dir" && as_dir=.
5089 for ac_exec_ext in '' $ac_executable_extensions; do
5090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5091 ac_cv_prog_ac_ct_CC="$ac_prog"
5092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5100 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5101 if test -n "$ac_ct_CC"; then
5102 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5103 echo "${ECHO_T}$ac_ct_CC" >&6
5105 echo "$as_me:$LINENO: result: no" >&5
5106 echo "${ECHO_T}no" >&6
5109 test -n "$ac_ct_CC" && break
5118 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5119 See \`config.log' for more details." >&5
5120 echo "$as_me: error: no acceptable C compiler found in \$PATH
5121 See \`config.log' for more details." >&2;}
5122 { (exit 1); exit 1; }; }
5124 # Provide some information about the compiler.
5125 echo "$as_me:$LINENO:" \
5126 "checking for C compiler version" >&5
5127 ac_compiler=`set X $ac_compile; echo $2`
5128 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5129 (eval $ac_compiler --version </dev/null >&5) 2>&5
5131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132 (exit $ac_status); }
5133 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5134 (eval $ac_compiler -v </dev/null >&5) 2>&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); }
5138 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5139 (eval $ac_compiler -V </dev/null >&5) 2>&5
5141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5142 (exit $ac_status); }
5144 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5145 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5146 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5149 cat >conftest.$ac_ext <<_ACEOF
5152 cat confdefs.h >>conftest.$ac_ext
5153 cat >>conftest.$ac_ext <<_ACEOF
5154 /* end confdefs.h. */
5167 rm -f conftest.$ac_objext
5168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5169 (eval $ac_compile) 2>conftest.er1
5171 grep -v '^ *+' conftest.er1 >conftest.err
5173 cat conftest.err >&5
5174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175 (exit $ac_status); } &&
5176 { ac_try='test -z "$ac_c_werror_flag"
5177 || test ! -s conftest.err'
5178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182 (exit $ac_status); }; } &&
5183 { ac_try='test -s conftest.$ac_objext'
5184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188 (exit $ac_status); }; }; then
5191 echo "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.$ac_ext >&5
5196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5197 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5200 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5201 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5202 GCC=`test $ac_compiler_gnu = yes && echo yes`
5203 ac_test_CFLAGS=${CFLAGS+set}
5204 ac_save_CFLAGS=$CFLAGS
5206 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5207 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5208 if test "${ac_cv_prog_cc_g+set}" = set; then
5209 echo $ECHO_N "(cached) $ECHO_C" >&6
5211 cat >conftest.$ac_ext <<_ACEOF
5214 cat confdefs.h >>conftest.$ac_ext
5215 cat >>conftest.$ac_ext <<_ACEOF
5216 /* end confdefs.h. */
5226 rm -f conftest.$ac_objext
5227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5228 (eval $ac_compile) 2>conftest.er1
5230 grep -v '^ *+' conftest.er1 >conftest.err
5232 cat conftest.err >&5
5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); } &&
5235 { ac_try='test -z "$ac_c_werror_flag"
5236 || test ! -s conftest.err'
5237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); }; } &&
5242 { ac_try='test -s conftest.$ac_objext'
5243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); }; }; then
5250 echo "$as_me: failed program was:" >&5
5251 sed 's/^/| /' conftest.$ac_ext >&5
5255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5257 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5258 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5259 if test "$ac_test_CFLAGS" = set; then
5260 CFLAGS=$ac_save_CFLAGS
5261 elif test $ac_cv_prog_cc_g = yes; then
5262 if test "$GCC" = yes; then
5268 if test "$GCC" = yes; then
5274 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5275 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5276 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5277 echo $ECHO_N "(cached) $ECHO_C" >&6
5279 ac_cv_prog_cc_stdc=no
5281 cat >conftest.$ac_ext <<_ACEOF
5284 cat confdefs.h >>conftest.$ac_ext
5285 cat >>conftest.$ac_ext <<_ACEOF
5286 /* end confdefs.h. */
5289 #include <sys/types.h>
5290 #include <sys/stat.h>
5291 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5292 struct buf { int x; };
5293 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5294 static char *e (p, i)
5300 static char *f (char * (*g) (char **, int), char **p, ...)
5305 s = g (p, va_arg (v,int));
5310 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5311 function prototypes and stuff, but not '\xHH' hex character constants.
5312 These don't provoke an error unfortunately, instead are silently treated
5313 as 'x'. The following induces an error, until -std1 is added to get
5314 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5315 array size at least. It's necessary to write '\x00'==0 to get something
5316 that's true only with -std1. */
5317 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5319 int test (int i, double x);
5320 struct s1 {int (*f) (int a);};
5321 struct s2 {int (*f) (double a);};
5322 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5328 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5333 # Don't try gcc -ansi; that turns off useful extensions and
5334 # breaks some systems' header files.
5335 # AIX -qlanglvl=ansi
5336 # Ultrix and OSF/1 -std1
5337 # HP-UX 10.20 and later -Ae
5338 # HP-UX older versions -Aa -D_HPUX_SOURCE
5339 # SVR4 -Xc -D__EXTENSIONS__
5340 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5342 CC="$ac_save_CC $ac_arg"
5343 rm -f conftest.$ac_objext
5344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5345 (eval $ac_compile) 2>conftest.er1
5347 grep -v '^ *+' conftest.er1 >conftest.err
5349 cat conftest.err >&5
5350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351 (exit $ac_status); } &&
5352 { ac_try='test -z "$ac_c_werror_flag"
5353 || test ! -s conftest.err'
5354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5358 (exit $ac_status); }; } &&
5359 { ac_try='test -s conftest.$ac_objext'
5360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5364 (exit $ac_status); }; }; then
5365 ac_cv_prog_cc_stdc=$ac_arg
5368 echo "$as_me: failed program was:" >&5
5369 sed 's/^/| /' conftest.$ac_ext >&5
5372 rm -f conftest.err conftest.$ac_objext
5374 rm -f conftest.$ac_ext conftest.$ac_objext
5379 case "x$ac_cv_prog_cc_stdc" in
5381 echo "$as_me:$LINENO: result: none needed" >&5
5382 echo "${ECHO_T}none needed" >&6 ;;
5384 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5385 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5386 CC="$CC $ac_cv_prog_cc_stdc" ;;
5389 # Some people use a C++ compiler to compile C. Since we use `exit',
5390 # in C++ we need to declare it. In case someone uses the same compiler
5391 # for both compiling C and C++ we need to have the C++ compiler decide
5392 # the declaration of exit, since it's the most demanding environment.
5393 cat >conftest.$ac_ext <<_ACEOF
5398 rm -f conftest.$ac_objext
5399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5400 (eval $ac_compile) 2>conftest.er1
5402 grep -v '^ *+' conftest.er1 >conftest.err
5404 cat conftest.err >&5
5405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5406 (exit $ac_status); } &&
5407 { ac_try='test -z "$ac_c_werror_flag"
5408 || test ! -s conftest.err'
5409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413 (exit $ac_status); }; } &&
5414 { ac_try='test -s conftest.$ac_objext'
5415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419 (exit $ac_status); }; }; then
5420 for ac_declaration in \
5422 'extern "C" void std::exit (int) throw (); using std::exit;' \
5423 'extern "C" void std::exit (int); using std::exit;' \
5424 'extern "C" void exit (int) throw ();' \
5425 'extern "C" void exit (int);' \
5428 cat >conftest.$ac_ext <<_ACEOF
5431 cat confdefs.h >>conftest.$ac_ext
5432 cat >>conftest.$ac_ext <<_ACEOF
5433 /* end confdefs.h. */
5444 rm -f conftest.$ac_objext
5445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5446 (eval $ac_compile) 2>conftest.er1
5448 grep -v '^ *+' conftest.er1 >conftest.err
5450 cat conftest.err >&5
5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452 (exit $ac_status); } &&
5453 { ac_try='test -z "$ac_c_werror_flag"
5454 || test ! -s conftest.err'
5455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459 (exit $ac_status); }; } &&
5460 { ac_try='test -s conftest.$ac_objext'
5461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465 (exit $ac_status); }; }; then
5468 echo "$as_me: failed program was:" >&5
5469 sed 's/^/| /' conftest.$ac_ext >&5
5473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5474 cat >conftest.$ac_ext <<_ACEOF
5477 cat confdefs.h >>conftest.$ac_ext
5478 cat >>conftest.$ac_ext <<_ACEOF
5479 /* end confdefs.h. */
5489 rm -f conftest.$ac_objext
5490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5491 (eval $ac_compile) 2>conftest.er1
5493 grep -v '^ *+' conftest.er1 >conftest.err
5495 cat conftest.err >&5
5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 (exit $ac_status); } &&
5498 { ac_try='test -z "$ac_c_werror_flag"
5499 || test ! -s conftest.err'
5500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); }; } &&
5505 { ac_try='test -s conftest.$ac_objext'
5506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); }; }; then
5513 echo "$as_me: failed program was:" >&5
5514 sed 's/^/| /' conftest.$ac_ext >&5
5517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5520 if test -n "$ac_declaration"; then
5521 echo '#ifdef __cplusplus' >>confdefs.h
5522 echo $ac_declaration >>confdefs.h
5523 echo '#endif' >>confdefs.h
5527 echo "$as_me: failed program was:" >&5
5528 sed 's/^/| /' conftest.$ac_ext >&5
5531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5533 ac_cpp='$CPP $CPPFLAGS'
5534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5538 depcc="$CC" am_compiler_list=
5540 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5541 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5542 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5543 echo $ECHO_N "(cached) $ECHO_C" >&6
5545 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5546 # We make a subdir and do the tests there. Otherwise we can end up
5547 # making bogus files that we don't know about and never remove. For
5548 # instance it was reported that on HP-UX the gcc test will end up
5549 # making a dummy file named `D' -- because `-MD' means `put the output
5552 # Copy depcomp to subdir because otherwise we won't find it if we're
5553 # using a relative directory.
5554 cp "$am_depcomp" conftest.dir
5556 # We will build objects and dependencies in a subdirectory because
5557 # it helps to detect inapplicable dependency modes. For instance
5558 # both Tru64's cc and ICC support -MD to output dependencies as a
5559 # side effect of compilation, but ICC will put the dependencies in
5560 # the current directory while Tru64 will put them in the object
5564 am_cv_CC_dependencies_compiler_type=none
5565 if test "$am_compiler_list" = ""; then
5566 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5568 for depmode in $am_compiler_list; do
5569 # Setup a source with many dependencies, because some compilers
5570 # like to wrap large dependency lists on column 80 (with \), and
5571 # we should not choose a depcomp mode which is confused by this.
5573 # We need to recreate these files for each test, as the compiler may
5574 # overwrite some of them when testing with obscure command lines.
5575 # This happens at least with the AIX C compiler.
5577 for i in 1 2 3 4 5 6; do
5578 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5579 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5580 # Solaris 8's {/usr,}/bin/sh.
5581 touch sub/conftst$i.h
5583 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5587 # after this tag, mechanisms are not by side-effect, so they'll
5588 # only be used when explicitly requested
5589 if test "x$enable_dependency_tracking" = xyes; then
5597 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5598 # mode. It turns out that the SunPro C++ compiler does not properly
5599 # handle `-M -o', and we need to detect this.
5600 if depmode=$depmode \
5601 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5602 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5603 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5604 >/dev/null 2>conftest.err &&
5605 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5606 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5607 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5608 # icc doesn't choke on unknown options, it will just issue warnings
5609 # or remarks (even with -Werror). So we grep stderr for any message
5610 # that says an option was ignored or not supported.
5611 # When given -MP, icc 7.0 and 7.1 complain thusly:
5612 # icc: Command line warning: ignoring option '-M'; no argument required
5613 # The diagnosis changed in icc 8.0:
5614 # icc: Command line remark: option '-MP' not supported
5615 if (grep 'ignoring option' conftest.err ||
5616 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5617 am_cv_CC_dependencies_compiler_type=$depmode
5626 am_cv_CC_dependencies_compiler_type=none
5630 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5631 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
5632 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5637 test "x$enable_dependency_tracking" != xno \
5638 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5640 am__fastdepCC_FALSE='#'
5642 am__fastdepCC_TRUE='#'
5643 am__fastdepCC_FALSE=
5647 # Find a good install program. We prefer a C program (faster),
5648 # so one script is as good as another. But avoid the broken or
5649 # incompatible versions:
5650 # SysV /etc/install, /usr/sbin/install
5651 # SunOS /usr/etc/install
5652 # IRIX /sbin/install
5654 # AmigaOS /C/install, which installs bootblocks on floppy discs
5655 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5656 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5657 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5658 # OS/2's system install, which has a completely different semantic
5659 # ./install, which can be erroneously created by make from ./install.sh.
5660 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5661 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5662 if test -z "$INSTALL"; then
5663 if test "${ac_cv_path_install+set}" = set; then
5664 echo $ECHO_N "(cached) $ECHO_C" >&6
5666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5670 test -z "$as_dir" && as_dir=.
5671 # Account for people who put trailing slashes in PATH elements.
5673 ./ | .// | /cC/* | \
5674 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5675 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5678 # OSF1 and SCO ODT 3.0 have their own names for install.
5679 # Don't use installbsd from OSF since it installs stuff as root
5681 for ac_prog in ginstall scoinst install; do
5682 for ac_exec_ext in '' $ac_executable_extensions; do
5683 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5684 if test $ac_prog = install &&
5685 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5686 # AIX install. It has an incompatible calling convention.
5688 elif test $ac_prog = install &&
5689 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5690 # program-specific install script used by HP pwplus--don't use.
5693 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5705 if test "${ac_cv_path_install+set}" = set; then
5706 INSTALL=$ac_cv_path_install
5708 # As a last resort, use the slow shell script. We don't cache a
5709 # path for INSTALL within a source directory, because that will
5710 # break other packages using the cache if that directory is
5711 # removed, or if the path is relative.
5712 INSTALL=$ac_install_sh
5715 echo "$as_me:$LINENO: result: $INSTALL" >&5
5716 echo "${ECHO_T}$INSTALL" >&6
5718 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5719 # It thinks the first close brace ends the variable substitution.
5720 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5722 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5724 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5726 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5727 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5729 if test "$LN_S" = "ln -s"; then
5730 echo "$as_me:$LINENO: result: yes" >&5
5731 echo "${ECHO_T}yes" >&6
5733 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5734 echo "${ECHO_T}no, using $LN_S" >&6
5738 if test -n "$ac_tool_prefix"; then
5739 # Extract the first word of "${ac_tool_prefix}xmlto", so it can be a program name with args.
5740 set dummy ${ac_tool_prefix}xmlto; ac_word=$2
5741 echo "$as_me:$LINENO: checking for $ac_word" >&5
5742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5743 if test "${ac_cv_prog_have_xmlto+set}" = set; then
5744 echo $ECHO_N "(cached) $ECHO_C" >&6
5746 if test -n "$have_xmlto"; then
5747 ac_cv_prog_have_xmlto="$have_xmlto" # Let the user override the test.
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5756 ac_cv_prog_have_xmlto="${ac_tool_prefix}xmlto"
5757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 have_xmlto=$ac_cv_prog_have_xmlto
5766 if test -n "$have_xmlto"; then
5767 echo "$as_me:$LINENO: result: $have_xmlto" >&5
5768 echo "${ECHO_T}$have_xmlto" >&6
5770 echo "$as_me:$LINENO: result: no" >&5
5771 echo "${ECHO_T}no" >&6
5775 if test -z "$ac_cv_prog_have_xmlto"; then
5776 ac_ct_have_xmlto=$have_xmlto
5777 # Extract the first word of "xmlto", so it can be a program name with args.
5778 set dummy xmlto; ac_word=$2
5779 echo "$as_me:$LINENO: checking for $ac_word" >&5
5780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5781 if test "${ac_cv_prog_ac_ct_have_xmlto+set}" = set; then
5782 echo $ECHO_N "(cached) $ECHO_C" >&6
5784 if test -n "$ac_ct_have_xmlto"; then
5785 ac_cv_prog_ac_ct_have_xmlto="$ac_ct_have_xmlto" # Let the user override the test.
5787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5791 test -z "$as_dir" && as_dir=.
5792 for ac_exec_ext in '' $ac_executable_extensions; do
5793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5794 ac_cv_prog_ac_ct_have_xmlto="xmlto"
5795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5801 test -z "$ac_cv_prog_ac_ct_have_xmlto" && ac_cv_prog_ac_ct_have_xmlto=""no""
5804 ac_ct_have_xmlto=$ac_cv_prog_ac_ct_have_xmlto
5805 if test -n "$ac_ct_have_xmlto"; then
5806 echo "$as_me:$LINENO: result: $ac_ct_have_xmlto" >&5
5807 echo "${ECHO_T}$ac_ct_have_xmlto" >&6
5809 echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6
5813 have_xmlto=$ac_ct_have_xmlto
5815 have_xmlto="$ac_cv_prog_have_xmlto"
5818 if test "$have_xmlto" = "no";
5820 { { echo "$as_me:$LINENO: error: xmlto is not installed" >&5
5821 echo "$as_me: error: xmlto is not installed" >&2;}
5822 { (exit 1); exit 1; }; }
5824 if test -n "$ac_tool_prefix"; then
5825 # Extract the first word of "${ac_tool_prefix}python", so it can be a program name with args.
5826 set dummy ${ac_tool_prefix}python; ac_word=$2
5827 echo "$as_me:$LINENO: checking for $ac_word" >&5
5828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5829 if test "${ac_cv_prog_have_python+set}" = set; then
5830 echo $ECHO_N "(cached) $ECHO_C" >&6
5832 if test -n "$have_python"; then
5833 ac_cv_prog_have_python="$have_python" # Let the user override the test.
5835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5839 test -z "$as_dir" && as_dir=.
5840 for ac_exec_ext in '' $ac_executable_extensions; do
5841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5842 ac_cv_prog_have_python="${ac_tool_prefix}python"
5843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5851 have_python=$ac_cv_prog_have_python
5852 if test -n "$have_python"; then
5853 echo "$as_me:$LINENO: result: $have_python" >&5
5854 echo "${ECHO_T}$have_python" >&6
5856 echo "$as_me:$LINENO: result: no" >&5
5857 echo "${ECHO_T}no" >&6
5861 if test -z "$ac_cv_prog_have_python"; then
5862 ac_ct_have_python=$have_python
5863 # Extract the first word of "python", so it can be a program name with args.
5864 set dummy python; ac_word=$2
5865 echo "$as_me:$LINENO: checking for $ac_word" >&5
5866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5867 if test "${ac_cv_prog_ac_ct_have_python+set}" = set; then
5868 echo $ECHO_N "(cached) $ECHO_C" >&6
5870 if test -n "$ac_ct_have_python"; then
5871 ac_cv_prog_ac_ct_have_python="$ac_ct_have_python" # Let the user override the test.
5873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 test -z "$as_dir" && as_dir=.
5878 for ac_exec_ext in '' $ac_executable_extensions; do
5879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5880 ac_cv_prog_ac_ct_have_python="python"
5881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5887 test -z "$ac_cv_prog_ac_ct_have_python" && ac_cv_prog_ac_ct_have_python=""no""
5890 ac_ct_have_python=$ac_cv_prog_ac_ct_have_python
5891 if test -n "$ac_ct_have_python"; then
5892 echo "$as_me:$LINENO: result: $ac_ct_have_python" >&5
5893 echo "${ECHO_T}$ac_ct_have_python" >&6
5895 echo "$as_me:$LINENO: result: no" >&5
5896 echo "${ECHO_T}no" >&6
5899 have_python=$ac_ct_have_python
5901 have_python="$ac_cv_prog_have_python"
5904 if test "$have_python" = "no";
5906 { { echo "$as_me:$LINENO: error: python is not installed" >&5
5907 echo "$as_me: error: python is not installed" >&2;}
5908 { (exit 1); exit 1; }; }
5911 # Checks for libraries.
5913 echo "$as_me:$LINENO: checking for floor in -lm" >&5
5914 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
5915 if test "${ac_cv_lib_m_floor+set}" = set; then
5916 echo $ECHO_N "(cached) $ECHO_C" >&6
5918 ac_check_lib_save_LIBS=$LIBS
5920 cat >conftest.$ac_ext <<_ACEOF
5923 cat confdefs.h >>conftest.$ac_ext
5924 cat >>conftest.$ac_ext <<_ACEOF
5925 /* end confdefs.h. */
5927 /* Override any gcc2 internal prototype to avoid an error. */
5931 /* We use char because int might match the return type of a gcc2
5932 builtin and then its argument prototype would still apply. */
5942 rm -f conftest.$ac_objext conftest$ac_exeext
5943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5944 (eval $ac_link) 2>conftest.er1
5946 grep -v '^ *+' conftest.er1 >conftest.err
5948 cat conftest.err >&5
5949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5950 (exit $ac_status); } &&
5951 { ac_try='test -z "$ac_c_werror_flag"
5952 || test ! -s conftest.err'
5953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); }; } &&
5958 { ac_try='test -s conftest$ac_exeext'
5959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5963 (exit $ac_status); }; }; then
5964 ac_cv_lib_m_floor=yes
5966 echo "$as_me: failed program was:" >&5
5967 sed 's/^/| /' conftest.$ac_ext >&5
5969 ac_cv_lib_m_floor=no
5971 rm -f conftest.err conftest.$ac_objext \
5972 conftest$ac_exeext conftest.$ac_ext
5973 LIBS=$ac_check_lib_save_LIBS
5975 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
5976 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
5977 if test $ac_cv_lib_m_floor = yes; then
5978 cat >>confdefs.h <<_ACEOF
5985 { { echo "$as_me:$LINENO: error: math library is missing on your system." >&5
5986 echo "$as_me: error: math library is missing on your system." >&2;}
5987 { (exit 1); exit 1; }; }
5991 echo "$as_me:$LINENO: checking for newwin in -lncurses" >&5
5992 echo $ECHO_N "checking for newwin in -lncurses... $ECHO_C" >&6
5993 if test "${ac_cv_lib_ncurses_newwin+set}" = set; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 ac_check_lib_save_LIBS=$LIBS
5997 LIBS="-lncurses $LIBS"
5998 cat >conftest.$ac_ext <<_ACEOF
6001 cat confdefs.h >>conftest.$ac_ext
6002 cat >>conftest.$ac_ext <<_ACEOF
6003 /* end confdefs.h. */
6005 /* Override any gcc2 internal prototype to avoid an error. */
6009 /* We use char because int might match the return type of a gcc2
6010 builtin and then its argument prototype would still apply. */
6020 rm -f conftest.$ac_objext conftest$ac_exeext
6021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6022 (eval $ac_link) 2>conftest.er1
6024 grep -v '^ *+' conftest.er1 >conftest.err
6026 cat conftest.err >&5
6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028 (exit $ac_status); } &&
6029 { ac_try='test -z "$ac_c_werror_flag"
6030 || test ! -s conftest.err'
6031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6035 (exit $ac_status); }; } &&
6036 { ac_try='test -s conftest$ac_exeext'
6037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041 (exit $ac_status); }; }; then
6042 ac_cv_lib_ncurses_newwin=yes
6044 echo "$as_me: failed program was:" >&5
6045 sed 's/^/| /' conftest.$ac_ext >&5
6047 ac_cv_lib_ncurses_newwin=no
6049 rm -f conftest.err conftest.$ac_objext \
6050 conftest$ac_exeext conftest.$ac_ext
6051 LIBS=$ac_check_lib_save_LIBS
6053 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_newwin" >&5
6054 echo "${ECHO_T}$ac_cv_lib_ncurses_newwin" >&6
6055 if test $ac_cv_lib_ncurses_newwin = yes; then
6056 cat >>confdefs.h <<_ACEOF
6057 #define HAVE_LIBNCURSES 1
6060 LIBS="-lncurses $LIBS"
6063 { { echo "$as_me:$LINENO: error: ncurses library is missing on your system." >&5
6064 echo "$as_me: error: ncurses library is missing on your system." >&2;}
6065 { (exit 1); exit 1; }; }
6069 # Checks for header files.
6071 ac_cpp='$CPP $CPPFLAGS'
6072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6075 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6076 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6077 # On Suns, sometimes $CPP names a directory.
6078 if test -n "$CPP" && test -d "$CPP"; then
6081 if test -z "$CPP"; then
6082 if test "${ac_cv_prog_CPP+set}" = set; then
6083 echo $ECHO_N "(cached) $ECHO_C" >&6
6085 # Double quotes because CPP needs to be expanded
6086 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6089 for ac_c_preproc_warn_flag in '' yes
6091 # Use a header file that comes with gcc, so configuring glibc
6092 # with a fresh cross-compiler works.
6093 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6094 # <limits.h> exists even on freestanding compilers.
6095 # On the NeXT, cc -E runs the code through the compiler's parser,
6096 # not just through cpp. "Syntax error" is here to catch this case.
6097 cat >conftest.$ac_ext <<_ACEOF
6100 cat confdefs.h >>conftest.$ac_ext
6101 cat >>conftest.$ac_ext <<_ACEOF
6102 /* end confdefs.h. */
6104 # include <limits.h>
6106 # include <assert.h>
6110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6111 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6113 grep -v '^ *+' conftest.er1 >conftest.err
6115 cat conftest.err >&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); } >/dev/null; then
6118 if test -s conftest.err; then
6119 ac_cpp_err=$ac_c_preproc_warn_flag
6120 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6127 if test -z "$ac_cpp_err"; then
6130 echo "$as_me: failed program was:" >&5
6131 sed 's/^/| /' conftest.$ac_ext >&5
6133 # Broken: fails on valid input.
6136 rm -f conftest.err conftest.$ac_ext
6138 # OK, works on sane cases. Now check whether non-existent headers
6139 # can be detected and how.
6140 cat >conftest.$ac_ext <<_ACEOF
6143 cat confdefs.h >>conftest.$ac_ext
6144 cat >>conftest.$ac_ext <<_ACEOF
6145 /* end confdefs.h. */
6146 #include <ac_nonexistent.h>
6148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6151 grep -v '^ *+' conftest.er1 >conftest.err
6153 cat conftest.err >&5
6154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6155 (exit $ac_status); } >/dev/null; then
6156 if test -s conftest.err; then
6157 ac_cpp_err=$ac_c_preproc_warn_flag
6158 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6165 if test -z "$ac_cpp_err"; then
6166 # Broken: success on invalid input.
6169 echo "$as_me: failed program was:" >&5
6170 sed 's/^/| /' conftest.$ac_ext >&5
6172 # Passes both tests.
6176 rm -f conftest.err conftest.$ac_ext
6179 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6180 rm -f conftest.err conftest.$ac_ext
6181 if $ac_preproc_ok; then
6193 echo "$as_me:$LINENO: result: $CPP" >&5
6194 echo "${ECHO_T}$CPP" >&6
6196 for ac_c_preproc_warn_flag in '' yes
6198 # Use a header file that comes with gcc, so configuring glibc
6199 # with a fresh cross-compiler works.
6200 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6201 # <limits.h> exists even on freestanding compilers.
6202 # On the NeXT, cc -E runs the code through the compiler's parser,
6203 # not just through cpp. "Syntax error" is here to catch this case.
6204 cat >conftest.$ac_ext <<_ACEOF
6207 cat confdefs.h >>conftest.$ac_ext
6208 cat >>conftest.$ac_ext <<_ACEOF
6209 /* end confdefs.h. */
6211 # include <limits.h>
6213 # include <assert.h>
6217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6218 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6220 grep -v '^ *+' conftest.er1 >conftest.err
6222 cat conftest.err >&5
6223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); } >/dev/null; then
6225 if test -s conftest.err; then
6226 ac_cpp_err=$ac_c_preproc_warn_flag
6227 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6234 if test -z "$ac_cpp_err"; then
6237 echo "$as_me: failed program was:" >&5
6238 sed 's/^/| /' conftest.$ac_ext >&5
6240 # Broken: fails on valid input.
6243 rm -f conftest.err conftest.$ac_ext
6245 # OK, works on sane cases. Now check whether non-existent headers
6246 # can be detected and how.
6247 cat >conftest.$ac_ext <<_ACEOF
6250 cat confdefs.h >>conftest.$ac_ext
6251 cat >>conftest.$ac_ext <<_ACEOF
6252 /* end confdefs.h. */
6253 #include <ac_nonexistent.h>
6255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6256 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6258 grep -v '^ *+' conftest.er1 >conftest.err
6260 cat conftest.err >&5
6261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262 (exit $ac_status); } >/dev/null; then
6263 if test -s conftest.err; then
6264 ac_cpp_err=$ac_c_preproc_warn_flag
6265 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6272 if test -z "$ac_cpp_err"; then
6273 # Broken: success on invalid input.
6276 echo "$as_me: failed program was:" >&5
6277 sed 's/^/| /' conftest.$ac_ext >&5
6279 # Passes both tests.
6283 rm -f conftest.err conftest.$ac_ext
6286 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6287 rm -f conftest.err conftest.$ac_ext
6288 if $ac_preproc_ok; then
6291 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6292 See \`config.log' for more details." >&5
6293 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6294 See \`config.log' for more details." >&2;}
6295 { (exit 1); exit 1; }; }
6299 ac_cpp='$CPP $CPPFLAGS'
6300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6305 echo "$as_me:$LINENO: checking for egrep" >&5
6306 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6307 if test "${ac_cv_prog_egrep+set}" = set; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6310 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6311 then ac_cv_prog_egrep='grep -E'
6312 else ac_cv_prog_egrep='egrep'
6315 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6316 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6317 EGREP=$ac_cv_prog_egrep
6320 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6321 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6322 if test "${ac_cv_header_stdc+set}" = set; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6325 cat >conftest.$ac_ext <<_ACEOF
6328 cat confdefs.h >>conftest.$ac_ext
6329 cat >>conftest.$ac_ext <<_ACEOF
6330 /* end confdefs.h. */
6344 rm -f conftest.$ac_objext
6345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6346 (eval $ac_compile) 2>conftest.er1
6348 grep -v '^ *+' conftest.er1 >conftest.err
6350 cat conftest.err >&5
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 (exit $ac_status); } &&
6353 { ac_try='test -z "$ac_c_werror_flag"
6354 || test ! -s conftest.err'
6355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6359 (exit $ac_status); }; } &&
6360 { ac_try='test -s conftest.$ac_objext'
6361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365 (exit $ac_status); }; }; then
6366 ac_cv_header_stdc=yes
6368 echo "$as_me: failed program was:" >&5
6369 sed 's/^/| /' conftest.$ac_ext >&5
6371 ac_cv_header_stdc=no
6373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6375 if test $ac_cv_header_stdc = yes; then
6376 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6377 cat >conftest.$ac_ext <<_ACEOF
6380 cat confdefs.h >>conftest.$ac_ext
6381 cat >>conftest.$ac_ext <<_ACEOF
6382 /* end confdefs.h. */
6386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6387 $EGREP "memchr" >/dev/null 2>&1; then
6390 ac_cv_header_stdc=no
6396 if test $ac_cv_header_stdc = yes; then
6397 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6398 cat >conftest.$ac_ext <<_ACEOF
6401 cat confdefs.h >>conftest.$ac_ext
6402 cat >>conftest.$ac_ext <<_ACEOF
6403 /* end confdefs.h. */
6407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6408 $EGREP "free" >/dev/null 2>&1; then
6411 ac_cv_header_stdc=no
6417 if test $ac_cv_header_stdc = yes; then
6418 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6419 if test "$cross_compiling" = yes; then
6422 cat >conftest.$ac_ext <<_ACEOF
6425 cat confdefs.h >>conftest.$ac_ext
6426 cat >>conftest.$ac_ext <<_ACEOF
6427 /* end confdefs.h. */
6429 #if ((' ' & 0x0FF) == 0x020)
6430 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6431 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6433 # define ISLOWER(c) \
6434 (('a' <= (c) && (c) <= 'i') \
6435 || ('j' <= (c) && (c) <= 'r') \
6436 || ('s' <= (c) && (c) <= 'z'))
6437 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6440 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6445 for (i = 0; i < 256; i++)
6446 if (XOR (islower (i), ISLOWER (i))
6447 || toupper (i) != TOUPPER (i))
6452 rm -f conftest$ac_exeext
6453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6454 (eval $ac_link) 2>&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); }; }; then
6465 echo "$as_me: program exited with status $ac_status" >&5
6466 echo "$as_me: failed program was:" >&5
6467 sed 's/^/| /' conftest.$ac_ext >&5
6470 ac_cv_header_stdc=no
6472 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6476 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6477 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6478 if test $ac_cv_header_stdc = yes; then
6480 cat >>confdefs.h <<\_ACEOF
6481 #define STDC_HEADERS 1
6486 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6496 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6497 inttypes.h stdint.h unistd.h
6499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6500 echo "$as_me:$LINENO: checking for $ac_header" >&5
6501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6503 echo $ECHO_N "(cached) $ECHO_C" >&6
6505 cat >conftest.$ac_ext <<_ACEOF
6508 cat confdefs.h >>conftest.$ac_ext
6509 cat >>conftest.$ac_ext <<_ACEOF
6510 /* end confdefs.h. */
6511 $ac_includes_default
6513 #include <$ac_header>
6515 rm -f conftest.$ac_objext
6516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6517 (eval $ac_compile) 2>conftest.er1
6519 grep -v '^ *+' conftest.er1 >conftest.err
6521 cat conftest.err >&5
6522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523 (exit $ac_status); } &&
6524 { ac_try='test -z "$ac_c_werror_flag"
6525 || test ! -s conftest.err'
6526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6530 (exit $ac_status); }; } &&
6531 { ac_try='test -s conftest.$ac_objext'
6532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536 (exit $ac_status); }; }; then
6537 eval "$as_ac_Header=yes"
6539 echo "$as_me: failed program was:" >&5
6540 sed 's/^/| /' conftest.$ac_ext >&5
6542 eval "$as_ac_Header=no"
6544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6548 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6549 cat >>confdefs.h <<_ACEOF
6550 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6559 for ac_header in curses.h
6561 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6563 echo "$as_me:$LINENO: checking for $ac_header" >&5
6564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6566 echo $ECHO_N "(cached) $ECHO_C" >&6
6568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6571 # Is the header compilable?
6572 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6573 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6574 cat >conftest.$ac_ext <<_ACEOF
6577 cat confdefs.h >>conftest.$ac_ext
6578 cat >>conftest.$ac_ext <<_ACEOF
6579 /* end confdefs.h. */
6580 $ac_includes_default
6581 #include <$ac_header>
6583 rm -f conftest.$ac_objext
6584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6585 (eval $ac_compile) 2>conftest.er1
6587 grep -v '^ *+' conftest.er1 >conftest.err
6589 cat conftest.err >&5
6590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6591 (exit $ac_status); } &&
6592 { ac_try='test -z "$ac_c_werror_flag"
6593 || test ! -s conftest.err'
6594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598 (exit $ac_status); }; } &&
6599 { ac_try='test -s conftest.$ac_objext'
6600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604 (exit $ac_status); }; }; then
6605 ac_header_compiler=yes
6607 echo "$as_me: failed program was:" >&5
6608 sed 's/^/| /' conftest.$ac_ext >&5
6610 ac_header_compiler=no
6612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6613 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6614 echo "${ECHO_T}$ac_header_compiler" >&6
6616 # Is the header present?
6617 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6618 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6619 cat >conftest.$ac_ext <<_ACEOF
6622 cat confdefs.h >>conftest.$ac_ext
6623 cat >>conftest.$ac_ext <<_ACEOF
6624 /* end confdefs.h. */
6625 #include <$ac_header>
6627 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6628 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6630 grep -v '^ *+' conftest.er1 >conftest.err
6632 cat conftest.err >&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); } >/dev/null; then
6635 if test -s conftest.err; then
6636 ac_cpp_err=$ac_c_preproc_warn_flag
6637 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6644 if test -z "$ac_cpp_err"; then
6645 ac_header_preproc=yes
6647 echo "$as_me: failed program was:" >&5
6648 sed 's/^/| /' conftest.$ac_ext >&5
6650 ac_header_preproc=no
6652 rm -f conftest.err conftest.$ac_ext
6653 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6654 echo "${ECHO_T}$ac_header_preproc" >&6
6656 # So? What about this header?
6657 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6659 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6660 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6661 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6662 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6663 ac_header_preproc=yes
6666 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6667 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6668 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6669 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6670 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6671 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6672 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6673 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6674 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6675 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6676 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6677 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6680 ## ------------------- ##
6681 ## Report this to stsp ##
6682 ## ------------------- ##
6685 sed "s/^/$as_me: WARNING: /" >&2
6688 echo "$as_me:$LINENO: checking for $ac_header" >&5
6689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6691 echo $ECHO_N "(cached) $ECHO_C" >&6
6693 eval "$as_ac_Header=\$ac_header_preproc"
6695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6699 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6700 cat >>confdefs.h <<_ACEOF
6701 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6705 { { echo "$as_me:$LINENO: error: curses headers are missing on your system." >&5
6706 echo "$as_me: error: curses headers are missing on your system." >&2;}
6707 { (exit 1); exit 1; }; }
6715 for ac_header in fcntl.h sys/ioctl.h linux/kd.h
6717 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6719 echo "$as_me:$LINENO: checking for $ac_header" >&5
6720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6722 echo $ECHO_N "(cached) $ECHO_C" >&6
6724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6727 # Is the header compilable?
6728 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6729 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6730 cat >conftest.$ac_ext <<_ACEOF
6733 cat confdefs.h >>conftest.$ac_ext
6734 cat >>conftest.$ac_ext <<_ACEOF
6735 /* end confdefs.h. */
6736 $ac_includes_default
6737 #include <$ac_header>
6739 rm -f conftest.$ac_objext
6740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6741 (eval $ac_compile) 2>conftest.er1
6743 grep -v '^ *+' conftest.er1 >conftest.err
6745 cat conftest.err >&5
6746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6747 (exit $ac_status); } &&
6748 { ac_try='test -z "$ac_c_werror_flag"
6749 || test ! -s conftest.err'
6750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6754 (exit $ac_status); }; } &&
6755 { ac_try='test -s conftest.$ac_objext'
6756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6760 (exit $ac_status); }; }; then
6761 ac_header_compiler=yes
6763 echo "$as_me: failed program was:" >&5
6764 sed 's/^/| /' conftest.$ac_ext >&5
6766 ac_header_compiler=no
6768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6769 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6770 echo "${ECHO_T}$ac_header_compiler" >&6
6772 # Is the header present?
6773 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6774 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6775 cat >conftest.$ac_ext <<_ACEOF
6778 cat confdefs.h >>conftest.$ac_ext
6779 cat >>conftest.$ac_ext <<_ACEOF
6780 /* end confdefs.h. */
6781 #include <$ac_header>
6783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6784 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6786 grep -v '^ *+' conftest.er1 >conftest.err
6788 cat conftest.err >&5
6789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790 (exit $ac_status); } >/dev/null; then
6791 if test -s conftest.err; then
6792 ac_cpp_err=$ac_c_preproc_warn_flag
6793 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6800 if test -z "$ac_cpp_err"; then
6801 ac_header_preproc=yes
6803 echo "$as_me: failed program was:" >&5
6804 sed 's/^/| /' conftest.$ac_ext >&5
6806 ac_header_preproc=no
6808 rm -f conftest.err conftest.$ac_ext
6809 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6810 echo "${ECHO_T}$ac_header_preproc" >&6
6812 # So? What about this header?
6813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6815 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6816 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6818 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6819 ac_header_preproc=yes
6822 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6823 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6824 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6825 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6826 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6827 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6828 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6829 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6831 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6832 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6833 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6836 ## ------------------- ##
6837 ## Report this to stsp ##
6838 ## ------------------- ##
6841 sed "s/^/$as_me: WARNING: /" >&2
6844 echo "$as_me:$LINENO: checking for $ac_header" >&5
6845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6847 echo $ECHO_N "(cached) $ECHO_C" >&6
6849 eval "$as_ac_Header=\$ac_header_preproc"
6851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6855 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6856 cat >>confdefs.h <<_ACEOF
6857 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6864 # Checks for typedefs, structures, and compiler characteristics.
6866 # Checks for library functions.
6867 if test $ac_cv_c_compiler_gnu = yes; then
6868 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
6869 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
6870 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
6871 echo $ECHO_N "(cached) $ECHO_C" >&6
6873 ac_pattern="Autoconf.*'x'"
6874 cat >conftest.$ac_ext <<_ACEOF
6877 cat confdefs.h >>conftest.$ac_ext
6878 cat >>conftest.$ac_ext <<_ACEOF
6879 /* end confdefs.h. */
6883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6884 $EGREP "$ac_pattern" >/dev/null 2>&1; then
6885 ac_cv_prog_gcc_traditional=yes
6887 ac_cv_prog_gcc_traditional=no
6892 if test $ac_cv_prog_gcc_traditional = no; then
6893 cat >conftest.$ac_ext <<_ACEOF
6896 cat confdefs.h >>conftest.$ac_ext
6897 cat >>conftest.$ac_ext <<_ACEOF
6898 /* end confdefs.h. */
6902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6903 $EGREP "$ac_pattern" >/dev/null 2>&1; then
6904 ac_cv_prog_gcc_traditional=yes
6910 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
6911 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
6912 if test $ac_cv_prog_gcc_traditional = yes; then
6913 CC="$CC -traditional"
6918 for ac_func in vprintf
6920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6921 echo "$as_me:$LINENO: checking for $ac_func" >&5
6922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6923 if eval "test \"\${$as_ac_var+set}\" = set"; then
6924 echo $ECHO_N "(cached) $ECHO_C" >&6
6926 cat >conftest.$ac_ext <<_ACEOF
6929 cat confdefs.h >>conftest.$ac_ext
6930 cat >>conftest.$ac_ext <<_ACEOF
6931 /* end confdefs.h. */
6932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6934 #define $ac_func innocuous_$ac_func
6936 /* System header to define __stub macros and hopefully few prototypes,
6937 which can conflict with char $ac_func (); below.
6938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6939 <limits.h> exists even on freestanding compilers. */
6942 # include <limits.h>
6944 # include <assert.h>
6949 /* Override any gcc2 internal prototype to avoid an error. */
6954 /* We use char because int might match the return type of a gcc2
6955 builtin and then its argument prototype would still apply. */
6957 /* The GNU C library defines this for functions which it implements
6958 to always fail with ENOSYS. Some functions are actually named
6959 something starting with __ and the normal name is an alias. */
6960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6963 char (*f) () = $ac_func;
6972 return f != $ac_func;
6977 rm -f conftest.$ac_objext conftest$ac_exeext
6978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6979 (eval $ac_link) 2>conftest.er1
6981 grep -v '^ *+' conftest.er1 >conftest.err
6983 cat conftest.err >&5
6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); } &&
6986 { ac_try='test -z "$ac_c_werror_flag"
6987 || test ! -s conftest.err'
6988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992 (exit $ac_status); }; } &&
6993 { ac_try='test -s conftest$ac_exeext'
6994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6998 (exit $ac_status); }; }; then
6999 eval "$as_ac_var=yes"
7001 echo "$as_me: failed program was:" >&5
7002 sed 's/^/| /' conftest.$ac_ext >&5
7004 eval "$as_ac_var=no"
7006 rm -f conftest.err conftest.$ac_objext \
7007 conftest$ac_exeext conftest.$ac_ext
7009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7011 if test `eval echo '${'$as_ac_var'}'` = yes; then
7012 cat >>confdefs.h <<_ACEOF
7013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7016 echo "$as_me:$LINENO: checking for _doprnt" >&5
7017 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
7018 if test "${ac_cv_func__doprnt+set}" = set; then
7019 echo $ECHO_N "(cached) $ECHO_C" >&6
7021 cat >conftest.$ac_ext <<_ACEOF
7024 cat confdefs.h >>conftest.$ac_ext
7025 cat >>conftest.$ac_ext <<_ACEOF
7026 /* end confdefs.h. */
7027 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
7028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7029 #define _doprnt innocuous__doprnt
7031 /* System header to define __stub macros and hopefully few prototypes,
7032 which can conflict with char _doprnt (); below.
7033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7034 <limits.h> exists even on freestanding compilers. */
7037 # include <limits.h>
7039 # include <assert.h>
7044 /* Override any gcc2 internal prototype to avoid an error. */
7049 /* We use char because int might match the return type of a gcc2
7050 builtin and then its argument prototype would still apply. */
7052 /* The GNU C library defines this for functions which it implements
7053 to always fail with ENOSYS. Some functions are actually named
7054 something starting with __ and the normal name is an alias. */
7055 #if defined (__stub__doprnt) || defined (__stub____doprnt)
7058 char (*f) () = _doprnt;
7067 return f != _doprnt;
7072 rm -f conftest.$ac_objext conftest$ac_exeext
7073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7074 (eval $ac_link) 2>conftest.er1
7076 grep -v '^ *+' conftest.er1 >conftest.err
7078 cat conftest.err >&5
7079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7080 (exit $ac_status); } &&
7081 { ac_try='test -z "$ac_c_werror_flag"
7082 || test ! -s conftest.err'
7083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087 (exit $ac_status); }; } &&
7088 { ac_try='test -s conftest$ac_exeext'
7089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7093 (exit $ac_status); }; }; then
7094 ac_cv_func__doprnt=yes
7096 echo "$as_me: failed program was:" >&5
7097 sed 's/^/| /' conftest.$ac_ext >&5
7099 ac_cv_func__doprnt=no
7101 rm -f conftest.err conftest.$ac_objext \
7102 conftest$ac_exeext conftest.$ac_ext
7104 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
7105 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
7106 if test $ac_cv_func__doprnt = yes; then
7108 cat >>confdefs.h <<\_ACEOF
7109 #define HAVE_DOPRNT 1
7126 for ac_func in pow sqrt floor strcasecmp strncasecmp strchr strstr atexit
7128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7129 echo "$as_me:$LINENO: checking for $ac_func" >&5
7130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7131 if eval "test \"\${$as_ac_var+set}\" = set"; then
7132 echo $ECHO_N "(cached) $ECHO_C" >&6
7134 cat >conftest.$ac_ext <<_ACEOF
7137 cat confdefs.h >>conftest.$ac_ext
7138 cat >>conftest.$ac_ext <<_ACEOF
7139 /* end confdefs.h. */
7140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7142 #define $ac_func innocuous_$ac_func
7144 /* System header to define __stub macros and hopefully few prototypes,
7145 which can conflict with char $ac_func (); below.
7146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7147 <limits.h> exists even on freestanding compilers. */
7150 # include <limits.h>
7152 # include <assert.h>
7157 /* Override any gcc2 internal prototype to avoid an error. */
7162 /* We use char because int might match the return type of a gcc2
7163 builtin and then its argument prototype would still apply. */
7165 /* The GNU C library defines this for functions which it implements
7166 to always fail with ENOSYS. Some functions are actually named
7167 something starting with __ and the normal name is an alias. */
7168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7171 char (*f) () = $ac_func;
7180 return f != $ac_func;
7185 rm -f conftest.$ac_objext conftest$ac_exeext
7186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7187 (eval $ac_link) 2>conftest.er1
7189 grep -v '^ *+' conftest.er1 >conftest.err
7191 cat conftest.err >&5
7192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7193 (exit $ac_status); } &&
7194 { ac_try='test -z "$ac_c_werror_flag"
7195 || test ! -s conftest.err'
7196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7200 (exit $ac_status); }; } &&
7201 { ac_try='test -s conftest$ac_exeext'
7202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7206 (exit $ac_status); }; }; then
7207 eval "$as_ac_var=yes"
7209 echo "$as_me: failed program was:" >&5
7210 sed 's/^/| /' conftest.$ac_ext >&5
7212 eval "$as_ac_var=no"
7214 rm -f conftest.err conftest.$ac_objext \
7215 conftest$ac_exeext conftest.$ac_ext
7217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7219 if test `eval echo '${'$as_ac_var'}'` = yes; then
7220 cat >>confdefs.h <<_ACEOF
7221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7225 { { echo "$as_me:$LINENO: error: some functions are missing on your system." >&5
7226 echo "$as_me: error: some functions are missing on your system." >&2;}
7227 { (exit 1); exit 1; }; }
7232 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in doc/Makefile"
7234 cat >confcache <<\_ACEOF
7235 # This file is a shell script that caches the results of configure
7236 # tests run on this system so they can be shared between configure
7237 # scripts and configure runs, see configure's option --config-cache.
7238 # It is not useful on other systems. If it contains results you don't
7239 # want to keep, you may remove or edit it.
7241 # config.status only pays attention to the cache file if you give it
7242 # the --recheck option to rerun configure.
7244 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7245 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7250 # The following way of writing the cache mishandles newlines in values,
7251 # but we know of no workaround that is simple, portable, and efficient.
7252 # So, don't put newlines in cache variables' values.
7253 # Ultrix sh set writes to stderr and can't be redirected directly,
7254 # and sets the high bit in the cache file unless we assign to the vars.
7257 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7259 # `set' does not quote correctly, so add quotes (double-quote
7260 # substitution turns \\\\ into \\, and sed turns \\ into \).
7263 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7266 # `set' quotes correctly as required by POSIX, so do not add quotes.
7268 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7275 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7277 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7279 if diff $cache_file confcache >/dev/null 2>&1; then :; else
7280 if test -w $cache_file; then
7281 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7282 cat confcache >$cache_file
7284 echo "not updating unwritable cache $cache_file"
7289 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7290 # Let make expand exec_prefix.
7291 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7293 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7294 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7295 # trailing colons and then remove the whole line if VPATH becomes empty
7296 # (actually we leave an empty line to preserve line numbers).
7297 if test "x$srcdir" = x.; then
7298 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7299 s/:*\$(srcdir):*/:/;
7300 s/:*\${srcdir}:*/:/;
7302 s/^\([^=]*=[ ]*\):*/\1/;
7308 DEFS=-DHAVE_CONFIG_H
7312 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7313 # 1. Remove the extension, and $U if already installed.
7314 ac_i=`echo "$ac_i" |
7315 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7317 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7318 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7322 LTLIBOBJS=$ac_ltlibobjs
7325 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7326 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7327 Usually this means the macro was only invoked conditionally." >&5
7328 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7329 Usually this means the macro was only invoked conditionally." >&2;}
7330 { (exit 1); exit 1; }; }
7332 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7333 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7334 Usually this means the macro was only invoked conditionally." >&5
7335 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7336 Usually this means the macro was only invoked conditionally." >&2;}
7337 { (exit 1); exit 1; }; }
7339 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7340 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7341 Usually this means the macro was only invoked conditionally." >&5
7342 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7343 Usually this means the macro was only invoked conditionally." >&2;}
7344 { (exit 1); exit 1; }; }
7347 : ${CONFIG_STATUS=./config.status}
7348 ac_clean_files_save=$ac_clean_files
7349 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7350 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7351 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7352 cat >$CONFIG_STATUS <<_ACEOF
7354 # Generated by $as_me.
7355 # Run this file to recreate the current configuration.
7356 # Compiler output produced by configure, useful for debugging
7357 # configure, is in config.log if it exists.
7362 SHELL=\${CONFIG_SHELL-$SHELL}
7365 cat >>$CONFIG_STATUS <<\_ACEOF
7366 ## --------------------- ##
7367 ## M4sh Initialization. ##
7368 ## --------------------- ##
7370 # Be Bourne compatible
7371 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7374 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7375 # is contrary to our usage. Disable this feature.
7376 alias -g '${1+"$@"}'='"$@"'
7377 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7380 DUALCASE=1; export DUALCASE # for MKS sh
7382 # Support unset when possible.
7383 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7390 # Work around bugs in pre-3.0 UWIN ksh.
7391 $as_unset ENV MAIL MAILPATH
7398 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7399 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7400 LC_TELEPHONE LC_TIME
7402 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7403 eval $as_var=C; export $as_var
7409 # Required to use basename.
7410 if expr a : '\(a\)' >/dev/null 2>&1; then
7416 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7417 as_basename=basename
7423 # Name of the executable.
7424 as_me=`$as_basename "$0" ||
7425 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7426 X"$0" : 'X\(//\)$' \| \
7427 X"$0" : 'X\(/\)$' \| \
7428 . : '\(.\)' 2>/dev/null ||
7430 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7431 /^X\/\(\/\/\)$/{ s//\1/; q; }
7432 /^X\/\(\/\).*/{ s//\1/; q; }
7436 # PATH needs CR, and LINENO needs CR and PATH.
7437 # Avoid depending upon Character Ranges.
7438 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7439 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7440 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7441 as_cr_digits='0123456789'
7442 as_cr_alnum=$as_cr_Letters$as_cr_digits
7444 # The user is always right.
7445 if test "${PATH_SEPARATOR+set}" != set; then
7446 echo "#! /bin/sh" >conf$$.sh
7447 echo "exit 0" >>conf$$.sh
7449 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7460 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7461 test "x$as_lineno_1" != "x$as_lineno_2" &&
7462 test "x$as_lineno_3" = "x$as_lineno_2" || {
7463 # Find who we are. Look in the path if we contain no path at all
7466 *[\\/]* ) as_myself=$0 ;;
7467 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7471 test -z "$as_dir" && as_dir=.
7472 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7477 # We did not find ourselves, most probably we were run as `sh COMMAND'
7478 # in which case we are not to be found in the path.
7479 if test "x$as_myself" = x; then
7482 if test ! -f "$as_myself"; then
7483 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7484 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7485 { (exit 1); exit 1; }; }
7487 case $CONFIG_SHELL in
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7493 test -z "$as_dir" && as_dir=.
7494 for as_base in sh bash ksh sh5; do
7497 if ("$as_dir/$as_base" -c '
7500 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7501 test "x$as_lineno_1" != "x$as_lineno_2" &&
7502 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
7503 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7504 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7505 CONFIG_SHELL=$as_dir/$as_base
7507 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7515 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7516 # uniformly replaced by the line number. The first 'sed' inserts a
7517 # line-number line before each line; the second 'sed' does the real
7518 # work. The second script uses 'N' to pair each line-number line
7519 # with the numbered line, and appends trailing '-' during
7520 # substitution so that $LINENO is not a special case at line end.
7521 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7522 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7523 sed '=' <$as_myself |
7528 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7531 s,^['$as_cr_digits']*\n,,
7533 chmod +x $as_me.lineno ||
7534 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7535 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7536 { (exit 1); exit 1; }; }
7538 # Don't try to exec as it changes $[0], causing all sort of problems
7539 # (the dirname of $[0] is not the place where we might find the
7540 # original and so on. Autoconf is especially sensible to this).
7542 # Exit status is that of the last command.
7547 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7548 *c*,-n*) ECHO_N= ECHO_C='
7550 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7551 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7554 if expr a : '\(a\)' >/dev/null 2>&1; then
7560 rm -f conf$$ conf$$.exe conf$$.file
7562 if ln -s conf$$.file conf$$ 2>/dev/null; then
7563 # We could just check for DJGPP; but this test a) works b) is more generic
7564 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7565 if test -f conf$$.exe; then
7566 # Don't use ln at all; we don't have any links
7571 elif ln conf$$.file conf$$ 2>/dev/null; then
7576 rm -f conf$$ conf$$.exe conf$$.file
7578 if mkdir -p . 2>/dev/null; then
7581 test -d ./-p && rmdir ./-p
7585 as_executable_p="test -f"
7587 # Sed expression to map a string onto a valid CPP name.
7588 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7590 # Sed expression to map a string onto a valid variable name.
7591 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7595 # We need space, tab and new line, in precisely that order.
7605 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7606 # report actual input values of CONFIG_FILES etc. instead of their
7607 # values after options handling. Logging --version etc. is OK.
7611 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7612 ## Running $as_me. ##
7617 This file was extended by sst $as_me 2.0, which was
7618 generated by GNU Autoconf 2.59. Invocation command line was
7620 CONFIG_FILES = $CONFIG_FILES
7621 CONFIG_HEADERS = $CONFIG_HEADERS
7622 CONFIG_LINKS = $CONFIG_LINKS
7623 CONFIG_COMMANDS = $CONFIG_COMMANDS
7627 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7631 # Files that config.status was made for.
7632 if test -n "$ac_config_files"; then
7633 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7636 if test -n "$ac_config_headers"; then
7637 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7640 if test -n "$ac_config_links"; then
7641 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7644 if test -n "$ac_config_commands"; then
7645 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7648 cat >>$CONFIG_STATUS <<\_ACEOF
7651 \`$as_me' instantiates files from templates according to the
7652 current configuration.
7654 Usage: $0 [OPTIONS] [FILE]...
7656 -h, --help print this help, then exit
7657 -V, --version print version number, then exit
7658 -q, --quiet do not print progress messages
7659 -d, --debug don't remove temporary files
7660 --recheck update $as_me by reconfiguring in the same conditions
7661 --file=FILE[:TEMPLATE]
7662 instantiate the configuration file FILE
7663 --header=FILE[:TEMPLATE]
7664 instantiate the configuration header FILE
7666 Configuration files:
7669 Configuration headers:
7672 Configuration commands:
7675 Report bugs to <bug-autoconf@gnu.org>."
7678 cat >>$CONFIG_STATUS <<_ACEOF
7680 sst config.status 2.0
7681 configured by $0, generated by GNU Autoconf 2.59,
7682 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7684 Copyright (C) 2003 Free Software Foundation, Inc.
7685 This config.status script is free software; the Free Software Foundation
7686 gives unlimited permission to copy, distribute and modify it."
7691 cat >>$CONFIG_STATUS <<\_ACEOF
7692 # If no file are specified by the user, then we need to provide default
7693 # value. By we need to know if files were specified by the user.
7699 ac_option=`expr "x$1" : 'x\([^=]*\)='`
7700 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7708 *) # This is not an option, so the user has probably given explicit
7711 ac_need_defaults=false;;
7715 # Handling of the options.
7717 cat >>$CONFIG_STATUS <<\_ACEOF
7718 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7720 --version | --vers* | -V )
7721 echo "$ac_cs_version"; exit 0 ;;
7723 # Conflict between --help and --header
7724 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7725 Try \`$0 --help' for more information." >&5
7726 echo "$as_me: error: ambiguous option: $1
7727 Try \`$0 --help' for more information." >&2;}
7728 { (exit 1); exit 1; }; };;
7729 --help | --hel | -h )
7730 echo "$ac_cs_usage"; exit 0 ;;
7731 --debug | --d* | -d )
7733 --file | --fil | --fi | --f )
7735 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7736 ac_need_defaults=false;;
7737 --header | --heade | --head | --hea )
7739 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7740 ac_need_defaults=false;;
7741 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7742 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7746 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7747 Try \`$0 --help' for more information." >&5
7748 echo "$as_me: error: unrecognized option: $1
7749 Try \`$0 --help' for more information." >&2;}
7750 { (exit 1); exit 1; }; } ;;
7752 *) ac_config_targets="$ac_config_targets $1" ;;
7758 ac_configure_extra_args=
7760 if $ac_cs_silent; then
7762 ac_configure_extra_args="$ac_configure_extra_args --silent"
7766 cat >>$CONFIG_STATUS <<_ACEOF
7767 if \$ac_cs_recheck; then
7768 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7769 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7774 cat >>$CONFIG_STATUS <<_ACEOF
7776 # INIT-COMMANDS section.
7779 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7780 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
7782 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7783 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7784 LINGUAS="${LINGUAS-%UNSET%}"
7786 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7792 cat >>$CONFIG_STATUS <<\_ACEOF
7793 for ac_config_target in $ac_config_targets
7795 case "$ac_config_target" in
7796 # Handling of arguments.
7797 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7798 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7799 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7800 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
7801 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
7802 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7803 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
7804 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7805 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7806 { (exit 1); exit 1; }; };;
7810 # If the user did not use the arguments to specify the items to instantiate,
7811 # then the envvar interface is used. Set only those that are not.
7812 # We use the long form for the default assignment because of an extremely
7813 # bizarre bug on SunOS 4.1.3.
7814 if $ac_need_defaults; then
7815 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7816 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7817 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7820 # Have a temporary directory for convenience. Make it in the build tree
7821 # simply because there is no reason to put it here, and in addition,
7822 # creating and moving files from /tmp can sometimes cause problems.
7823 # Create a temporary directory, and hook for its removal unless debugging.
7826 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7827 trap '{ (exit 1); exit 1; }' 1 2 13 15
7830 # Create a (secure) tmp directory for tmp files.
7833 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7834 test -n "$tmp" && test -d "$tmp"
7837 tmp=./confstat$$-$RANDOM
7838 (umask 077 && mkdir $tmp)
7841 echo "$me: cannot create a temporary directory in ." >&2
7842 { (exit 1); exit 1; }
7847 cat >>$CONFIG_STATUS <<_ACEOF
7850 # CONFIG_FILES section.
7853 # No need to generate the scripts if there are no CONFIG_FILES.
7854 # This happens for instance when ./config.status config.h
7855 if test -n "\$CONFIG_FILES"; then
7856 # Protect against being on the right side of a sed subst in config.status.
7857 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7858 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7859 s,@SHELL@,$SHELL,;t t
7860 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7861 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7862 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7863 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7864 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7865 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7866 s,@exec_prefix@,$exec_prefix,;t t
7867 s,@prefix@,$prefix,;t t
7868 s,@program_transform_name@,$program_transform_name,;t t
7869 s,@bindir@,$bindir,;t t
7870 s,@sbindir@,$sbindir,;t t
7871 s,@libexecdir@,$libexecdir,;t t
7872 s,@datadir@,$datadir,;t t
7873 s,@sysconfdir@,$sysconfdir,;t t
7874 s,@sharedstatedir@,$sharedstatedir,;t t
7875 s,@localstatedir@,$localstatedir,;t t
7876 s,@libdir@,$libdir,;t t
7877 s,@includedir@,$includedir,;t t
7878 s,@oldincludedir@,$oldincludedir,;t t
7879 s,@infodir@,$infodir,;t t
7880 s,@mandir@,$mandir,;t t
7881 s,@build_alias@,$build_alias,;t t
7882 s,@host_alias@,$host_alias,;t t
7883 s,@target_alias@,$target_alias,;t t
7885 s,@ECHO_C@,$ECHO_C,;t t
7886 s,@ECHO_N@,$ECHO_N,;t t
7887 s,@ECHO_T@,$ECHO_T,;t t
7889 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7890 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7891 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7892 s,@CYGPATH_W@,$CYGPATH_W,;t t
7893 s,@PACKAGE@,$PACKAGE,;t t
7894 s,@VERSION@,$VERSION,;t t
7895 s,@ACLOCAL@,$ACLOCAL,;t t
7896 s,@AUTOCONF@,$AUTOCONF,;t t
7897 s,@AUTOMAKE@,$AUTOMAKE,;t t
7898 s,@AUTOHEADER@,$AUTOHEADER,;t t
7899 s,@MAKEINFO@,$MAKEINFO,;t t
7900 s,@install_sh@,$install_sh,;t t
7901 s,@STRIP@,$STRIP,;t t
7902 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7903 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7904 s,@mkdir_p@,$mkdir_p,;t t
7906 s,@SET_MAKE@,$SET_MAKE,;t t
7907 s,@am__leading_dot@,$am__leading_dot,;t t
7908 s,@AMTAR@,$AMTAR,;t t
7909 s,@am__tar@,$am__tar,;t t
7910 s,@am__untar@,$am__untar,;t t
7911 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7912 s,@USE_NLS@,$USE_NLS,;t t
7913 s,@MSGFMT@,$MSGFMT,;t t
7914 s,@GMSGFMT@,$GMSGFMT,;t t
7915 s,@XGETTEXT@,$XGETTEXT,;t t
7916 s,@MSGMERGE@,$MSGMERGE,;t t
7918 s,@CFLAGS@,$CFLAGS,;t t
7919 s,@LDFLAGS@,$LDFLAGS,;t t
7920 s,@CPPFLAGS@,$CPPFLAGS,;t t
7921 s,@ac_ct_CC@,$ac_ct_CC,;t t
7922 s,@EXEEXT@,$EXEEXT,;t t
7923 s,@OBJEXT@,$OBJEXT,;t t
7924 s,@DEPDIR@,$DEPDIR,;t t
7925 s,@am__include@,$am__include,;t t
7926 s,@am__quote@,$am__quote,;t t
7927 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7928 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7929 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7930 s,@CCDEPMODE@,$CCDEPMODE,;t t
7931 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7932 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7933 s,@build@,$build,;t t
7934 s,@build_cpu@,$build_cpu,;t t
7935 s,@build_vendor@,$build_vendor,;t t
7936 s,@build_os@,$build_os,;t t
7938 s,@host_cpu@,$host_cpu,;t t
7939 s,@host_vendor@,$host_vendor,;t t
7940 s,@host_os@,$host_os,;t t
7941 s,@INTL_MACOSX_LIBS@,$INTL_MACOSX_LIBS,;t t
7942 s,@LIBICONV@,$LIBICONV,;t t
7943 s,@LTLIBICONV@,$LTLIBICONV,;t t
7944 s,@INTLLIBS@,$INTLLIBS,;t t
7945 s,@LIBINTL@,$LIBINTL,;t t
7946 s,@LTLIBINTL@,$LTLIBINTL,;t t
7947 s,@POSUB@,$POSUB,;t t
7949 s,@have_xmlto@,$have_xmlto,;t t
7950 s,@ac_ct_have_xmlto@,$ac_ct_have_xmlto,;t t
7951 s,@have_python@,$have_python,;t t
7952 s,@ac_ct_have_python@,$ac_ct_have_python,;t t
7954 s,@EGREP@,$EGREP,;t t
7955 s,@LIBOBJS@,$LIBOBJS,;t t
7956 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7961 cat >>$CONFIG_STATUS <<\_ACEOF
7962 # Split the substitutions into bite-sized pieces for seds with
7963 # small command number limits, like on Digital OSF/1 and HP-UX.
7965 ac_sed_frag=1 # Number of current file.
7966 ac_beg=1 # First line for current file.
7967 ac_end=$ac_max_sed_lines # Line after last line for current file.
7970 while $ac_more_lines; do
7971 if test $ac_beg -gt 1; then
7972 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7974 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7976 if test ! -s $tmp/subs.frag; then
7979 # The purpose of the label and of the branching condition is to
7980 # speed up the sed processing (if there are no `@' at all, there
7981 # is no need to browse any of the substitutions).
7982 # These are the two extra sed commands mentioned above.
7984 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7985 if test -z "$ac_sed_cmds"; then
7986 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7988 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7990 ac_sed_frag=`expr $ac_sed_frag + 1`
7992 ac_end=`expr $ac_end + $ac_max_sed_lines`
7995 if test -z "$ac_sed_cmds"; then
7998 fi # test -n "$CONFIG_FILES"
8001 cat >>$CONFIG_STATUS <<\_ACEOF
8002 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8003 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8005 - | *:- | *:-:* ) # input from stdin
8007 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8008 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8009 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8010 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8011 * ) ac_file_in=$ac_file.in ;;
8014 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8015 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8016 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8017 X"$ac_file" : 'X\(//\)[^/]' \| \
8018 X"$ac_file" : 'X\(//\)$' \| \
8019 X"$ac_file" : 'X\(/\)' \| \
8020 . : '\(.\)' 2>/dev/null ||
8022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8023 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8024 /^X\(\/\/\)$/{ s//\1/; q; }
8025 /^X\(\/\).*/{ s//\1/; q; }
8027 { if $as_mkdir_p; then
8032 while test ! -d "$as_dir"; do
8033 as_dirs="$as_dir $as_dirs"
8034 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8035 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8036 X"$as_dir" : 'X\(//\)[^/]' \| \
8037 X"$as_dir" : 'X\(//\)$' \| \
8038 X"$as_dir" : 'X\(/\)' \| \
8039 . : '\(.\)' 2>/dev/null ||
8041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8042 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8043 /^X\(\/\/\)$/{ s//\1/; q; }
8044 /^X\(\/\).*/{ s//\1/; q; }
8047 test ! -n "$as_dirs" || mkdir $as_dirs
8048 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8049 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8050 { (exit 1); exit 1; }; }; }
8054 if test "$ac_dir" != .; then
8055 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8056 # A "../" for each directory in $ac_dir_suffix.
8057 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8059 ac_dir_suffix= ac_top_builddir=
8063 .) # No --srcdir option. We are building in place.
8065 if test -z "$ac_top_builddir"; then
8068 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8070 [\\/]* | ?:[\\/]* ) # Absolute path.
8071 ac_srcdir=$srcdir$ac_dir_suffix;
8072 ac_top_srcdir=$srcdir ;;
8074 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8075 ac_top_srcdir=$ac_top_builddir$srcdir ;;
8078 # Do not use `cd foo && pwd` to compute absolute paths, because
8079 # the directories may not exist.
8081 .) ac_abs_builddir="$ac_dir";;
8084 .) ac_abs_builddir=`pwd`;;
8085 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8086 *) ac_abs_builddir=`pwd`/"$ac_dir";;
8089 case $ac_abs_builddir in
8090 .) ac_abs_top_builddir=${ac_top_builddir}.;;
8092 case ${ac_top_builddir}. in
8093 .) ac_abs_top_builddir=$ac_abs_builddir;;
8094 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8095 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8098 case $ac_abs_builddir in
8099 .) ac_abs_srcdir=$ac_srcdir;;
8102 .) ac_abs_srcdir=$ac_abs_builddir;;
8103 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8104 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8107 case $ac_abs_builddir in
8108 .) ac_abs_top_srcdir=$ac_top_srcdir;;
8110 case $ac_top_srcdir in
8111 .) ac_abs_top_srcdir=$ac_abs_builddir;;
8112 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8113 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8119 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8120 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8123 if test x"$ac_file" != x-; then
8124 { echo "$as_me:$LINENO: creating $ac_file" >&5
8125 echo "$as_me: creating $ac_file" >&6;}
8128 # Let's still pretend it is `configure' which instantiates (i.e., don't
8129 # use $as_me), people would be surprised to read:
8130 # /* config.h. Generated by config.status. */
8131 if test x"$ac_file" = x-; then
8134 configure_input="$ac_file. "
8136 configure_input=$configure_input"Generated from `echo $ac_file_in |
8137 sed 's,.*/,,'` by configure."
8139 # First look for the input files in the build tree, otherwise in the
8141 ac_file_inputs=`IFS=:
8142 for f in $ac_file_in; do
8144 -) echo $tmp/stdin ;;
8146 # Absolute (can't be DOS-style, as IFS=:)
8147 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8148 echo "$as_me: error: cannot find input file: $f" >&2;}
8149 { (exit 1); exit 1; }; }
8152 if test -f "$f"; then
8155 elif test -f "$srcdir/$f"; then
8160 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8161 echo "$as_me: error: cannot find input file: $f" >&2;}
8162 { (exit 1); exit 1; }; }
8165 done` || { (exit 1); exit 1; }
8167 cat >>$CONFIG_STATUS <<_ACEOF
8171 cat >>$CONFIG_STATUS <<\_ACEOF
8173 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8174 s,@configure_input@,$configure_input,;t t
8175 s,@srcdir@,$ac_srcdir,;t t
8176 s,@abs_srcdir@,$ac_abs_srcdir,;t t
8177 s,@top_srcdir@,$ac_top_srcdir,;t t
8178 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8179 s,@builddir@,$ac_builddir,;t t
8180 s,@abs_builddir@,$ac_abs_builddir,;t t
8181 s,@top_builddir@,$ac_top_builddir,;t t
8182 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8183 s,@INSTALL@,$ac_INSTALL,;t t
8184 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8186 if test x"$ac_file" != x-; then
8187 mv $tmp/out $ac_file
8195 cat >>$CONFIG_STATUS <<\_ACEOF
8198 # CONFIG_HEADER section.
8201 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8202 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8204 # ac_d sets the value in "#define NAME VALUE" lines.
8205 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8206 ac_dB='[ ].*$,\1#\2'
8209 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8210 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8211 ac_uB='$,\1#\2define\3'
8215 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
8216 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8218 - | *:- | *:-:* ) # input from stdin
8220 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8221 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8222 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8223 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8224 * ) ac_file_in=$ac_file.in ;;
8227 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8228 echo "$as_me: creating $ac_file" >&6;}
8230 # First look for the input files in the build tree, otherwise in the
8232 ac_file_inputs=`IFS=:
8233 for f in $ac_file_in; do
8235 -) echo $tmp/stdin ;;
8237 # Absolute (can't be DOS-style, as IFS=:)
8238 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8239 echo "$as_me: error: cannot find input file: $f" >&2;}
8240 { (exit 1); exit 1; }; }
8241 # Do quote $f, to prevent DOS paths from being IFS'd.
8244 if test -f "$f"; then
8247 elif test -f "$srcdir/$f"; then
8252 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8253 echo "$as_me: error: cannot find input file: $f" >&2;}
8254 { (exit 1); exit 1; }; }
8257 done` || { (exit 1); exit 1; }
8258 # Remove the trailing spaces.
8259 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8263 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8264 # `conftest.undefs', that substitutes the proper values into
8265 # config.h.in to produce config.h. The first handles `#define'
8266 # templates, and the second `#undef' templates.
8267 # And first: Protect against being on the right side of a sed subst in
8268 # config.status. Protect against being in an unquoted here document
8270 rm -f conftest.defines conftest.undefs
8271 # Using a here document instead of a string reduces the quoting nightmare.
8272 # Putting comments in sed scripts is not portable.
8274 # `end' is used to avoid that the second main sed command (meant for
8275 # 0-ary CPP macros) applies to n-ary macro definitions.
8276 # See the Autoconf documentation for `clear'.
8277 cat >confdef2sed.sed <<\_ACEOF
8282 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8284 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8287 # If some macros were called several times there might be several times
8288 # the same #defines, which is useless. Nevertheless, we may not want to
8289 # sort them, since we want the *last* AC-DEFINE to be honored.
8290 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8291 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8292 rm -f confdef2sed.sed
8294 # This sed command replaces #undef with comments. This is necessary, for
8295 # example, in the case of _POSIX_SOURCE, which is predefined and required
8296 # on some systems where configure will not decide to define it.
8297 cat >>conftest.undefs <<\_ACEOF
8298 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8301 # Break up conftest.defines because some shells have a limit on the size
8302 # of here documents, and old seds have small limits too (100 cmds).
8303 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8304 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8305 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8306 echo ' :' >>$CONFIG_STATUS
8308 while grep . conftest.defines >/dev/null
8310 # Write a limited-size here document to $tmp/defines.sed.
8311 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8312 # Speed up: don't consider the non `#define' lines.
8313 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8314 # Work around the forget-to-reset-the-flag bug.
8315 echo 't clr' >>$CONFIG_STATUS
8316 echo ': clr' >>$CONFIG_STATUS
8317 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
8319 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8323 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
8324 rm -f conftest.defines
8325 mv conftest.tail conftest.defines
8327 rm -f conftest.defines
8328 echo ' fi # grep' >>$CONFIG_STATUS
8329 echo >>$CONFIG_STATUS
8331 # Break up conftest.undefs because some shells have a limit on the size
8332 # of here documents, and old seds have small limits too (100 cmds).
8333 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8335 while grep . conftest.undefs >/dev/null
8337 # Write a limited-size here document to $tmp/undefs.sed.
8338 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8339 # Speed up: don't consider the non `#undef'
8340 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8341 # Work around the forget-to-reset-the-flag bug.
8342 echo 't clr' >>$CONFIG_STATUS
8343 echo ': clr' >>$CONFIG_STATUS
8344 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8346 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8350 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8351 rm -f conftest.undefs
8352 mv conftest.tail conftest.undefs
8354 rm -f conftest.undefs
8356 cat >>$CONFIG_STATUS <<\_ACEOF
8357 # Let's still pretend it is `configure' which instantiates (i.e., don't
8358 # use $as_me), people would be surprised to read:
8359 # /* config.h. Generated by config.status. */
8360 if test x"$ac_file" = x-; then
8361 echo "/* Generated by configure. */" >$tmp/config.h
8363 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8365 cat $tmp/in >>$tmp/config.h
8367 if test x"$ac_file" != x-; then
8368 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
8369 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8370 echo "$as_me: $ac_file is unchanged" >&6;}
8372 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8373 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8374 X"$ac_file" : 'X\(//\)[^/]' \| \
8375 X"$ac_file" : 'X\(//\)$' \| \
8376 X"$ac_file" : 'X\(/\)' \| \
8377 . : '\(.\)' 2>/dev/null ||
8379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8380 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8381 /^X\(\/\/\)$/{ s//\1/; q; }
8382 /^X\(\/\).*/{ s//\1/; q; }
8384 { if $as_mkdir_p; then
8389 while test ! -d "$as_dir"; do
8390 as_dirs="$as_dir $as_dirs"
8391 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8392 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8393 X"$as_dir" : 'X\(//\)[^/]' \| \
8394 X"$as_dir" : 'X\(//\)$' \| \
8395 X"$as_dir" : 'X\(/\)' \| \
8396 . : '\(.\)' 2>/dev/null ||
8398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8399 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8400 /^X\(\/\/\)$/{ s//\1/; q; }
8401 /^X\(\/\).*/{ s//\1/; q; }
8404 test ! -n "$as_dirs" || mkdir $as_dirs
8405 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8406 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8407 { (exit 1); exit 1; }; }; }
8410 mv $tmp/config.h $ac_file
8416 # Compute $ac_file's index in $config_headers.
8418 for _am_header in $config_headers :; do
8420 $ac_file | $ac_file:* )
8423 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8426 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
8427 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8428 X$ac_file : 'X\(//\)[^/]' \| \
8429 X$ac_file : 'X\(//\)$' \| \
8430 X$ac_file : 'X\(/\)' \| \
8431 . : '\(.\)' 2>/dev/null ||
8433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8434 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8435 /^X\(\/\/\)$/{ s//\1/; q; }
8436 /^X\(\/\).*/{ s//\1/; q; }
8437 s/.*/./; q'`/stamp-h$_am_stamp_count
8440 cat >>$CONFIG_STATUS <<\_ACEOF
8443 # CONFIG_COMMANDS section.
8445 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
8446 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
8447 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
8448 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
8449 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8450 X"$ac_dest" : 'X\(//\)[^/]' \| \
8451 X"$ac_dest" : 'X\(//\)$' \| \
8452 X"$ac_dest" : 'X\(/\)' \| \
8453 . : '\(.\)' 2>/dev/null ||
8455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8456 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8457 /^X\(\/\/\)$/{ s//\1/; q; }
8458 /^X\(\/\).*/{ s//\1/; q; }
8460 { if $as_mkdir_p; then
8465 while test ! -d "$as_dir"; do
8466 as_dirs="$as_dir $as_dirs"
8467 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8468 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8469 X"$as_dir" : 'X\(//\)[^/]' \| \
8470 X"$as_dir" : 'X\(//\)$' \| \
8471 X"$as_dir" : 'X\(/\)' \| \
8472 . : '\(.\)' 2>/dev/null ||
8474 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8475 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8476 /^X\(\/\/\)$/{ s//\1/; q; }
8477 /^X\(\/\).*/{ s//\1/; q; }
8480 test ! -n "$as_dirs" || mkdir $as_dirs
8481 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8482 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8483 { (exit 1); exit 1; }; }; }
8487 if test "$ac_dir" != .; then
8488 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8489 # A "../" for each directory in $ac_dir_suffix.
8490 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8492 ac_dir_suffix= ac_top_builddir=
8496 .) # No --srcdir option. We are building in place.
8498 if test -z "$ac_top_builddir"; then
8501 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8503 [\\/]* | ?:[\\/]* ) # Absolute path.
8504 ac_srcdir=$srcdir$ac_dir_suffix;
8505 ac_top_srcdir=$srcdir ;;
8507 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8508 ac_top_srcdir=$ac_top_builddir$srcdir ;;
8511 # Do not use `cd foo && pwd` to compute absolute paths, because
8512 # the directories may not exist.
8514 .) ac_abs_builddir="$ac_dir";;
8517 .) ac_abs_builddir=`pwd`;;
8518 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8519 *) ac_abs_builddir=`pwd`/"$ac_dir";;
8522 case $ac_abs_builddir in
8523 .) ac_abs_top_builddir=${ac_top_builddir}.;;
8525 case ${ac_top_builddir}. in
8526 .) ac_abs_top_builddir=$ac_abs_builddir;;
8527 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8528 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8531 case $ac_abs_builddir in
8532 .) ac_abs_srcdir=$ac_srcdir;;
8535 .) ac_abs_srcdir=$ac_abs_builddir;;
8536 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8537 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8540 case $ac_abs_builddir in
8541 .) ac_abs_top_srcdir=$ac_top_srcdir;;
8543 case $ac_top_srcdir in
8544 .) ac_abs_top_srcdir=$ac_abs_builddir;;
8545 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8546 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8551 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8552 echo "$as_me: executing $ac_dest commands" >&6;}
8555 for ac_file in $CONFIG_FILES; do
8556 # Support "outfile[:infile[:infile...]]"
8558 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8560 # PO directories have a Makefile.in generated from Makefile.in.in.
8561 case "$ac_file" in */Makefile.in)
8562 # Adjust a relative srcdir.
8563 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8564 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
8565 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8566 # In autoconf-2.13 it is called $ac_given_srcdir.
8567 # In autoconf-2.50 it is called $srcdir.
8568 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8569 case "$ac_given_srcdir" in
8570 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
8571 /*) top_srcdir="$ac_given_srcdir" ;;
8572 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8574 # Treat a directory as a PO directory if and only if it has a
8575 # POTFILES.in file. This allows packages to have multiple PO
8576 # directories under different names or in different locations.
8577 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8578 rm -f "$ac_dir/POTFILES"
8579 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8580 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8581 POMAKEFILEDEPS="POTFILES.in"
8582 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
8583 # on $ac_dir but don't depend on user-specified configuration
8585 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8586 # The LINGUAS file contains the set of available languages.
8587 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8588 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8590 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8591 # Hide the ALL_LINGUAS assigment from automake.
8592 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8593 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8595 # The set of available languages was given in configure.in.
8596 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8599 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
8600 # Compute UPDATEPOFILES
8601 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
8602 # Compute DUMMYPOFILES
8603 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
8605 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
8606 case "$ac_given_srcdir" in
8608 *) srcdirpre='$(srcdir)/' ;;
8614 for lang in $ALL_LINGUAS; do
8615 POFILES="$POFILES $srcdirpre$lang.po"
8616 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8617 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8618 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8620 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8621 # environment variable.
8623 if test -n "$ALL_LINGUAS"; then
8624 for presentlang in $ALL_LINGUAS; do
8626 if test "%UNSET%" != "$LINGUAS"; then
8627 desiredlanguages="$LINGUAS"
8629 desiredlanguages="$ALL_LINGUAS"
8631 for desiredlang in $desiredlanguages; do
8632 # Use the presentlang catalog if desiredlang is
8633 # a. equal to presentlang, or
8634 # b. a variant of presentlang (because in this case,
8635 # presentlang can be used as a fallback for messages
8636 # which are not translated in the desiredlang catalog).
8637 case "$desiredlang" in
8638 "$presentlang"*) useit=yes;;
8641 if test $useit = yes; then
8642 INST_LINGUAS="$INST_LINGUAS $presentlang"
8647 if test -n "$INST_LINGUAS"; then
8648 for lang in $INST_LINGUAS; do
8649 CATALOGS="$CATALOGS $lang.gmo"
8652 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8653 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
8654 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8655 if test -f "$f"; then
8657 *.orig | *.bak | *~) ;;
8658 *) cat "$f" >> "$ac_dir/Makefile" ;;
8666 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8667 # Strip MF so we end up with the name of the file.
8668 mf=`echo "$mf" | sed -e 's/:.*$//'`
8669 # Check whether this is an Automake generated Makefile or not.
8670 # We used to match only the files named `Makefile.in', but
8671 # some people rename them; so instead we look at the file content.
8672 # Grep'ing the first line is not enough: some people post-process
8673 # each Makefile.in and add a new line on top of each file to say so.
8674 # So let's grep whole file.
8675 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
8676 dirpart=`(dirname "$mf") 2>/dev/null ||
8677 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8678 X"$mf" : 'X\(//\)[^/]' \| \
8679 X"$mf" : 'X\(//\)$' \| \
8680 X"$mf" : 'X\(/\)' \| \
8681 . : '\(.\)' 2>/dev/null ||
8683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8684 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8685 /^X\(\/\/\)$/{ s//\1/; q; }
8686 /^X\(\/\).*/{ s//\1/; q; }
8691 # Extract the definition of DEPDIR, am__include, and am__quote
8692 # from the Makefile without running `make'.
8693 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8694 test -z "$DEPDIR" && continue
8695 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8696 test -z "am__include" && continue
8697 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8698 # When using ansi2knr, U may be empty or an underscore; expand it
8699 U=`sed -n 's/^U = //p' < "$mf"`
8700 # Find all dependency output files, they are included files with
8701 # $(DEPDIR) in their names. We invoke sed twice because it is the
8702 # simplest approach to changing $(DEPDIR) to its actual value in the
8704 for file in `sed -n "
8705 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8706 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8707 # Make sure the directory exists.
8708 test -f "$dirpart/$file" && continue
8709 fdir=`(dirname "$file") 2>/dev/null ||
8710 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8711 X"$file" : 'X\(//\)[^/]' \| \
8712 X"$file" : 'X\(//\)$' \| \
8713 X"$file" : 'X\(/\)' \| \
8714 . : '\(.\)' 2>/dev/null ||
8716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8718 /^X\(\/\/\)$/{ s//\1/; q; }
8719 /^X\(\/\).*/{ s//\1/; q; }
8721 { if $as_mkdir_p; then
8722 mkdir -p $dirpart/$fdir
8724 as_dir=$dirpart/$fdir
8726 while test ! -d "$as_dir"; do
8727 as_dirs="$as_dir $as_dirs"
8728 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8729 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8730 X"$as_dir" : 'X\(//\)[^/]' \| \
8731 X"$as_dir" : 'X\(//\)$' \| \
8732 X"$as_dir" : 'X\(/\)' \| \
8733 . : '\(.\)' 2>/dev/null ||
8735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8736 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8737 /^X\(\/\/\)$/{ s//\1/; q; }
8738 /^X\(\/\).*/{ s//\1/; q; }
8741 test ! -n "$as_dirs" || mkdir $as_dirs
8742 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8743 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8744 { (exit 1); exit 1; }; }; }
8746 # echo "creating $dirpart/$file"
8747 echo '# dummy' > "$dirpart/$file"
8755 cat >>$CONFIG_STATUS <<\_ACEOF
8757 { (exit 0); exit 0; }
8759 chmod +x $CONFIG_STATUS
8760 ac_clean_files=$ac_clean_files_save
8763 # configure is writing to config.log, and then calls config.status.
8764 # config.status does its own redirection, appending to config.log.
8765 # Unfortunately, on DOS this fails, as config.log is still kept open
8766 # by configure, so config.status won't be able to write to it; its
8767 # output is simply discarded. So we exec the FD to /dev/null,
8768 # effectively closing config.log, so it can be properly (re)opened and
8769 # appended to by config.status. When coming back to configure, we
8770 # need to make the FD available again.
8771 if test "$no_create" != yes; then
8773 ac_config_status_args=
8774 test "$silent" = yes &&
8775 ac_config_status_args="$ac_config_status_args --quiet"
8777 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8779 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8780 # would make configure fail if this is the last instruction.
8781 $ac_cs_success || { (exit 1); exit 1; }