2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="configure.in"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 CPP EGREP PKG_CONFIG PACKAGE_CFLAGS PACKAGE_LIBS GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
841 if test -n "$ac_init_help"; then
846 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
847 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --disable-dependency-tracking Speeds up one-time builds
851 --enable-dependency-tracking Do not reject slow dependency extractors
853 Some influential environment variables:
854 CC C compiler command
855 CFLAGS C compiler flags
856 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
857 nonstandard directory <lib dir>
858 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
859 headers in a nonstandard directory <include dir>
862 Use these variables to override the choices made by `configure' or to help
863 it to find libraries and programs with nonstandard names/locations.
868 if test "$ac_init_help" = "recursive"; then
869 # If there are subdirs, report their specific --help.
871 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
872 test -d $ac_dir || continue
875 if test "$ac_dir" != .; then
876 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
877 # A "../" for each directory in $ac_dir_suffix.
878 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
880 ac_dir_suffix= ac_top_builddir=
884 .) # No --srcdir option. We are building in place.
886 if test -z "$ac_top_builddir"; then
889 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
891 [\\/]* | ?:[\\/]* ) # Absolute path.
892 ac_srcdir=$srcdir$ac_dir_suffix;
893 ac_top_srcdir=$srcdir ;;
895 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
896 ac_top_srcdir=$ac_top_builddir$srcdir ;;
899 # Do not use `cd foo && pwd` to compute absolute paths, because
900 # the directories may not exist.
902 .) ac_abs_builddir="$ac_dir";;
905 .) ac_abs_builddir=`pwd`;;
906 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
907 *) ac_abs_builddir=`pwd`/"$ac_dir";;
910 case $ac_abs_builddir in
911 .) ac_abs_top_builddir=${ac_top_builddir}.;;
913 case ${ac_top_builddir}. in
914 .) ac_abs_top_builddir=$ac_abs_builddir;;
915 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
916 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
919 case $ac_abs_builddir in
920 .) ac_abs_srcdir=$ac_srcdir;;
923 .) ac_abs_srcdir=$ac_abs_builddir;;
924 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
925 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
928 case $ac_abs_builddir in
929 .) ac_abs_top_srcdir=$ac_top_srcdir;;
931 case $ac_top_srcdir in
932 .) ac_abs_top_srcdir=$ac_abs_builddir;;
933 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
934 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
939 # Check for guested configure; otherwise get Cygnus style configure.
940 if test -f $ac_srcdir/configure.gnu; then
942 $SHELL $ac_srcdir/configure.gnu --help=recursive
943 elif test -f $ac_srcdir/configure; then
945 $SHELL $ac_srcdir/configure --help=recursive
946 elif test -f $ac_srcdir/configure.ac ||
947 test -f $ac_srcdir/configure.in; then
951 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
957 test -n "$ac_init_help" && exit 0
958 if $ac_init_version; then
961 Copyright (C) 2003 Free Software Foundation, Inc.
962 This configure script is free software; the Free Software Foundation
963 gives unlimited permission to copy, distribute and modify it.
969 This file contains any messages produced by compilers while
970 running configure, to aid debugging if configure makes a mistake.
972 It was created by $as_me, which was
973 generated by GNU Autoconf 2.59. Invocation command line was
984 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
985 uname -m = `(uname -m) 2>/dev/null || echo unknown`
986 uname -r = `(uname -r) 2>/dev/null || echo unknown`
987 uname -s = `(uname -s) 2>/dev/null || echo unknown`
988 uname -v = `(uname -v) 2>/dev/null || echo unknown`
990 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
991 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
993 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
994 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
995 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
996 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
997 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
998 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
999 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1007 test -z "$as_dir" && as_dir=.
1008 echo "PATH: $as_dir"
1023 # Keep a trace of the command line.
1024 # Strip out --no-create and --no-recursion so they do not pile up.
1025 # Strip out --silent because we don't want to record it for future runs.
1026 # Also quote any args containing shell meta-characters.
1027 # Make two passes to allow for proper duplicate-argument suppression.
1032 ac_must_keep_next=false
1038 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1039 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1040 | -silent | --silent | --silen | --sile | --sil)
1042 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1043 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1046 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1048 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1049 if test $ac_must_keep_next = true; then
1050 ac_must_keep_next=false # Got value, back to normal.
1053 *=* | --config-cache | -C | -disable-* | --disable-* \
1054 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1055 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1056 | -with-* | --with-* | -without-* | --without-* | --x)
1057 case "$ac_configure_args0 " in
1058 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1061 -* ) ac_must_keep_next=true ;;
1064 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1065 # Get rid of the leading space.
1071 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1072 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1074 # When interrupted or exit'd, cleanup temporary files, and complete
1075 # config.log. We remove comments because anyway the quotes in there
1076 # would cause problems or look ugly.
1077 # WARNING: Be sure not to use single quotes in there, as some shells,
1078 # such as our DU 5.0 friend, will then `close' the trap.
1079 trap 'exit_status=$?
1080 # Save into config.log some information that might help in debugging.
1085 ## ---------------- ##
1086 ## Cache variables. ##
1087 ## ---------------- ##
1090 # The following way of writing the cache mishandles newlines in values,
1093 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1096 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1097 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1101 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1108 ## ----------------- ##
1109 ## Output variables. ##
1110 ## ----------------- ##
1113 for ac_var in $ac_subst_vars
1115 eval ac_val=$`echo $ac_var`
1116 echo "$ac_var='"'"'$ac_val'"'"'"
1120 if test -n "$ac_subst_files"; then
1127 for ac_var in $ac_subst_files
1129 eval ac_val=$`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1135 if test -s confdefs.h; then
1142 sed "/^$/d" confdefs.h | sort
1145 test "$ac_signal" != 0 &&
1146 echo "$as_me: caught signal $ac_signal"
1147 echo "$as_me: exit $exit_status"
1149 rm -f core *.core &&
1150 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1153 for ac_signal in 1 2 13 15; do
1154 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1158 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1159 rm -rf conftest* confdefs.h
1160 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1163 # Predefined preprocessor variables.
1165 cat >>confdefs.h <<_ACEOF
1166 #define PACKAGE_NAME "$PACKAGE_NAME"
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1175 cat >>confdefs.h <<_ACEOF
1176 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_STRING "$PACKAGE_STRING"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1190 # Let the site file select an alternate cache file if it wants to.
1191 # Prefer explicitly selected file to automatically selected ones.
1192 if test -z "$CONFIG_SITE"; then
1193 if test "x$prefix" != xNONE; then
1194 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1196 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1199 for ac_site_file in $CONFIG_SITE; do
1200 if test -r "$ac_site_file"; then
1201 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1202 echo "$as_me: loading site script $ac_site_file" >&6;}
1203 sed 's/^/| /' "$ac_site_file" >&5
1208 if test -r "$cache_file"; then
1209 # Some versions of bash will fail to source /dev/null (special
1210 # files actually), so we avoid doing that.
1211 if test -f "$cache_file"; then
1212 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1213 echo "$as_me: loading cache $cache_file" >&6;}
1215 [\\/]* | ?:[\\/]* ) . $cache_file;;
1216 *) . ./$cache_file;;
1220 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1221 echo "$as_me: creating cache $cache_file" >&6;}
1225 # Check that the precious variables saved in the cache have kept the same
1227 ac_cache_corrupted=false
1228 for ac_var in `(set) 2>&1 |
1229 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1230 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1231 eval ac_new_set=\$ac_env_${ac_var}_set
1232 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1233 eval ac_new_val="\$ac_env_${ac_var}_value"
1234 case $ac_old_set,$ac_new_set in
1236 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1237 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1238 ac_cache_corrupted=: ;;
1240 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1241 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1242 ac_cache_corrupted=: ;;
1245 if test "x$ac_old_val" != "x$ac_new_val"; then
1246 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1247 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1248 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1249 echo "$as_me: former value: $ac_old_val" >&2;}
1250 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1251 echo "$as_me: current value: $ac_new_val" >&2;}
1252 ac_cache_corrupted=:
1255 # Pass precious variables to config.status.
1256 if test "$ac_new_set" = set; then
1258 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1259 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1260 *) ac_arg=$ac_var=$ac_new_val ;;
1262 case " $ac_configure_args " in
1263 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1264 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1268 if $ac_cache_corrupted; then
1269 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1270 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1271 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1272 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1273 { (exit 1); exit 1; }; }
1277 ac_cpp='$CPP $CPPFLAGS'
1278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1300 am__api_version="1.7"
1302 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1303 if test -f $ac_dir/install-sh; then
1305 ac_install_sh="$ac_aux_dir/install-sh -c"
1307 elif test -f $ac_dir/install.sh; then
1309 ac_install_sh="$ac_aux_dir/install.sh -c"
1311 elif test -f $ac_dir/shtool; then
1313 ac_install_sh="$ac_aux_dir/shtool install -c"
1317 if test -z "$ac_aux_dir"; then
1318 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1319 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1320 { (exit 1); exit 1; }; }
1322 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1323 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1324 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1326 # Find a good install program. We prefer a C program (faster),
1327 # so one script is as good as another. But avoid the broken or
1328 # incompatible versions:
1329 # SysV /etc/install, /usr/sbin/install
1330 # SunOS /usr/etc/install
1331 # IRIX /sbin/install
1333 # AmigaOS /C/install, which installs bootblocks on floppy discs
1334 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1335 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1336 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1337 # OS/2's system install, which has a completely different semantic
1338 # ./install, which can be erroneously created by make from ./install.sh.
1339 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1340 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1341 if test -z "$INSTALL"; then
1342 if test "${ac_cv_path_install+set}" = set; then
1343 echo $ECHO_N "(cached) $ECHO_C" >&6
1345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1349 test -z "$as_dir" && as_dir=.
1350 # Account for people who put trailing slashes in PATH elements.
1352 ./ | .// | /cC/* | \
1353 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1354 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1357 # OSF1 and SCO ODT 3.0 have their own names for install.
1358 # Don't use installbsd from OSF since it installs stuff as root
1360 for ac_prog in ginstall scoinst install; do
1361 for ac_exec_ext in '' $ac_executable_extensions; do
1362 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1363 if test $ac_prog = install &&
1364 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1365 # AIX install. It has an incompatible calling convention.
1367 elif test $ac_prog = install &&
1368 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1369 # program-specific install script used by HP pwplus--don't use.
1372 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1384 if test "${ac_cv_path_install+set}" = set; then
1385 INSTALL=$ac_cv_path_install
1387 # As a last resort, use the slow shell script. We don't cache a
1388 # path for INSTALL within a source directory, because that will
1389 # break other packages using the cache if that directory is
1390 # removed, or if the path is relative.
1391 INSTALL=$ac_install_sh
1394 echo "$as_me:$LINENO: result: $INSTALL" >&5
1395 echo "${ECHO_T}$INSTALL" >&6
1397 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1398 # It thinks the first close brace ends the variable substitution.
1399 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1401 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1403 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1405 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1406 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1409 echo timestamp > conftest.file
1410 # Do `set' in a subshell so we don't clobber the current shell's
1411 # arguments. Must try -L first in case configure is actually a
1412 # symlink; some systems play weird games with the mod time of symlinks
1413 # (eg FreeBSD returns the mod time of the symlink's containing
1416 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1417 if test "$*" = "X"; then
1419 set X `ls -t $srcdir/configure conftest.file`
1422 if test "$*" != "X $srcdir/configure conftest.file" \
1423 && test "$*" != "X conftest.file $srcdir/configure"; then
1425 # If neither matched, then we have a broken ls. This can happen
1426 # if, for instance, CONFIG_SHELL is bash and it inherits a
1427 # broken ls alias from the environment. This has actually
1428 # happened. Such a system could not be considered "sane".
1429 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1430 alias in your environment" >&5
1431 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1432 alias in your environment" >&2;}
1433 { (exit 1); exit 1; }; }
1436 test "$2" = conftest.file
1442 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1443 Check your system clock" >&5
1444 echo "$as_me: error: newly created file is older than distributed files!
1445 Check your system clock" >&2;}
1446 { (exit 1); exit 1; }; }
1448 echo "$as_me:$LINENO: result: yes" >&5
1449 echo "${ECHO_T}yes" >&6
1450 test "$program_prefix" != NONE &&
1451 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1452 # Use a double $ so make ignores it.
1453 test "$program_suffix" != NONE &&
1454 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1455 # Double any \ or $. echo might interpret backslashes.
1456 # By default was `s,x,x', remove it if useless.
1457 cat <<\_ACEOF >conftest.sed
1458 s/[\\$]/&&/g;s/;s,x,x,$//
1460 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1464 # expand $ac_aux_dir to an absolute path
1465 am_aux_dir=`cd $ac_aux_dir && pwd`
1467 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1468 # Use eval to expand $SHELL
1469 if eval "$MISSING --run true"; then
1470 am_missing_run="$MISSING --run "
1473 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1474 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1477 for ac_prog in gawk mawk nawk awk
1479 # Extract the first word of "$ac_prog", so it can be a program name with args.
1480 set dummy $ac_prog; ac_word=$2
1481 echo "$as_me:$LINENO: checking for $ac_word" >&5
1482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1483 if test "${ac_cv_prog_AWK+set}" = set; then
1484 echo $ECHO_N "(cached) $ECHO_C" >&6
1486 if test -n "$AWK"; then
1487 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1493 test -z "$as_dir" && as_dir=.
1494 for ac_exec_ext in '' $ac_executable_extensions; do
1495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1496 ac_cv_prog_AWK="$ac_prog"
1497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1506 if test -n "$AWK"; then
1507 echo "$as_me:$LINENO: result: $AWK" >&5
1508 echo "${ECHO_T}$AWK" >&6
1510 echo "$as_me:$LINENO: result: no" >&5
1511 echo "${ECHO_T}no" >&6
1514 test -n "$AWK" && break
1517 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1518 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1519 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1520 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 cat >conftest.make <<\_ACEOF
1525 @echo 'ac_maketemp="$(MAKE)"'
1527 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1528 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1529 if test -n "$ac_maketemp"; then
1530 eval ac_cv_prog_make_${ac_make}_set=yes
1532 eval ac_cv_prog_make_${ac_make}_set=no
1536 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1537 echo "$as_me:$LINENO: result: yes" >&5
1538 echo "${ECHO_T}yes" >&6
1541 echo "$as_me:$LINENO: result: no" >&5
1542 echo "${ECHO_T}no" >&6
1543 SET_MAKE="MAKE=${MAKE-make}"
1546 rm -rf .tst 2>/dev/null
1547 mkdir .tst 2>/dev/null
1548 if test -d .tst; then
1553 rmdir .tst 2>/dev/null
1555 # test to see if srcdir already configured
1556 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1557 test -f $srcdir/config.status; then
1558 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1559 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1560 { (exit 1); exit 1; }; }
1563 # test whether we have cygpath
1564 if test -z "$CYGPATH_W"; then
1565 if (cygpath --version) >/dev/null 2>/dev/null; then
1566 CYGPATH_W='cygpath -w'
1573 # Define the identity of the package.
1578 cat >>confdefs.h <<_ACEOF
1579 #define PACKAGE "$PACKAGE"
1583 cat >>confdefs.h <<_ACEOF
1584 #define VERSION "$VERSION"
1587 # Some tools Automake needs.
1589 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1592 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1595 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1598 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1601 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1604 AMTAR=${AMTAR-"${am_missing_run}tar"}
1606 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1608 # Installed binaries are usually stripped using `strip' when the user
1609 # run `make install-strip'. However `strip' might not be the right
1610 # tool to use in cross-compilation environments, therefore Automake
1611 # will honor the `STRIP' environment variable to overrule this program.
1612 if test "$cross_compiling" != no; then
1613 if test -n "$ac_tool_prefix"; then
1614 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1615 set dummy ${ac_tool_prefix}strip; ac_word=$2
1616 echo "$as_me:$LINENO: checking for $ac_word" >&5
1617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1618 if test "${ac_cv_prog_STRIP+set}" = set; then
1619 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 if test -n "$STRIP"; then
1622 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1628 test -z "$as_dir" && as_dir=.
1629 for ac_exec_ext in '' $ac_executable_extensions; do
1630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1631 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1640 STRIP=$ac_cv_prog_STRIP
1641 if test -n "$STRIP"; then
1642 echo "$as_me:$LINENO: result: $STRIP" >&5
1643 echo "${ECHO_T}$STRIP" >&6
1645 echo "$as_me:$LINENO: result: no" >&5
1646 echo "${ECHO_T}no" >&6
1650 if test -z "$ac_cv_prog_STRIP"; then
1652 # Extract the first word of "strip", so it can be a program name with args.
1653 set dummy strip; ac_word=$2
1654 echo "$as_me:$LINENO: checking for $ac_word" >&5
1655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1656 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 if test -n "$ac_ct_STRIP"; then
1660 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1666 test -z "$as_dir" && as_dir=.
1667 for ac_exec_ext in '' $ac_executable_extensions; do
1668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1669 ac_cv_prog_ac_ct_STRIP="strip"
1670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1676 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1679 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1680 if test -n "$ac_ct_STRIP"; then
1681 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1682 echo "${ECHO_T}$ac_ct_STRIP" >&6
1684 echo "$as_me:$LINENO: result: no" >&5
1685 echo "${ECHO_T}no" >&6
1690 STRIP="$ac_cv_prog_STRIP"
1694 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1696 # We need awk for the "check" target. The system "awk" is bad on
1701 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1702 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1703 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1704 if test "${enable_maintainer_mode+set}" = set; then
1705 enableval="$enable_maintainer_mode"
1706 USE_MAINTAINER_MODE=$enableval
1708 USE_MAINTAINER_MODE=no
1710 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1711 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1714 if test $USE_MAINTAINER_MODE = yes; then
1715 MAINTAINER_MODE_TRUE=
1716 MAINTAINER_MODE_FALSE='#'
1718 MAINTAINER_MODE_TRUE='#'
1719 MAINTAINER_MODE_FALSE=
1722 MAINT=$MAINTAINER_MODE_TRUE
1725 ac_config_headers="$ac_config_headers config.h"
1728 DEPDIR="${am__leading_dot}deps"
1730 ac_config_commands="$ac_config_commands depfiles"
1733 am_make=${MAKE-make}
1734 cat > confinc << 'END'
1739 # If we don't find an include directive, just comment out the code.
1740 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1741 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1745 # First try GNU make style include.
1746 echo "include confinc" > confmf
1747 # We grep out `Entering directory' and `Leaving directory'
1748 # messages which can occur if `w' ends up in MAKEFLAGS.
1749 # In particular we don't look at `^make:' because GNU make might
1750 # be invoked under some other name (usually "gmake"), in which
1751 # case it prints its new name instead of `make'.
1752 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1757 # Now try BSD make style include.
1758 if test "$am__include" = "#"; then
1759 echo '.include "confinc"' > confmf
1760 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1761 am__include=.include
1768 echo "$as_me:$LINENO: result: $_am_result" >&5
1769 echo "${ECHO_T}$_am_result" >&6
1770 rm -f confinc confmf
1772 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1773 if test "${enable_dependency_tracking+set}" = set; then
1774 enableval="$enable_dependency_tracking"
1777 if test "x$enable_dependency_tracking" != xno; then
1778 am_depcomp="$ac_aux_dir/depcomp"
1783 if test "x$enable_dependency_tracking" != xno; then
1794 ac_cpp='$CPP $CPPFLAGS'
1795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1798 if test -n "$ac_tool_prefix"; then
1799 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1800 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1801 echo "$as_me:$LINENO: checking for $ac_word" >&5
1802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1803 if test "${ac_cv_prog_CC+set}" = set; then
1804 echo $ECHO_N "(cached) $ECHO_C" >&6
1806 if test -n "$CC"; then
1807 ac_cv_prog_CC="$CC" # Let the user override the test.
1809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1813 test -z "$as_dir" && as_dir=.
1814 for ac_exec_ext in '' $ac_executable_extensions; do
1815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1816 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 if test -n "$CC"; then
1827 echo "$as_me:$LINENO: result: $CC" >&5
1828 echo "${ECHO_T}$CC" >&6
1830 echo "$as_me:$LINENO: result: no" >&5
1831 echo "${ECHO_T}no" >&6
1835 if test -z "$ac_cv_prog_CC"; then
1837 # Extract the first word of "gcc", so it can be a program name with args.
1838 set dummy gcc; ac_word=$2
1839 echo "$as_me:$LINENO: checking for $ac_word" >&5
1840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1841 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1842 echo $ECHO_N "(cached) $ECHO_C" >&6
1844 if test -n "$ac_ct_CC"; then
1845 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1851 test -z "$as_dir" && as_dir=.
1852 for ac_exec_ext in '' $ac_executable_extensions; do
1853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1854 ac_cv_prog_ac_ct_CC="gcc"
1855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1863 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1864 if test -n "$ac_ct_CC"; then
1865 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1866 echo "${ECHO_T}$ac_ct_CC" >&6
1868 echo "$as_me:$LINENO: result: no" >&5
1869 echo "${ECHO_T}no" >&6
1877 if test -z "$CC"; then
1878 if test -n "$ac_tool_prefix"; then
1879 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1880 set dummy ${ac_tool_prefix}cc; ac_word=$2
1881 echo "$as_me:$LINENO: checking for $ac_word" >&5
1882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1883 if test "${ac_cv_prog_CC+set}" = set; then
1884 echo $ECHO_N "(cached) $ECHO_C" >&6
1886 if test -n "$CC"; then
1887 ac_cv_prog_CC="$CC" # Let the user override the test.
1889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1893 test -z "$as_dir" && as_dir=.
1894 for ac_exec_ext in '' $ac_executable_extensions; do
1895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1896 ac_cv_prog_CC="${ac_tool_prefix}cc"
1897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1906 if test -n "$CC"; then
1907 echo "$as_me:$LINENO: result: $CC" >&5
1908 echo "${ECHO_T}$CC" >&6
1910 echo "$as_me:$LINENO: result: no" >&5
1911 echo "${ECHO_T}no" >&6
1915 if test -z "$ac_cv_prog_CC"; then
1917 # Extract the first word of "cc", so it can be a program name with args.
1918 set dummy cc; ac_word=$2
1919 echo "$as_me:$LINENO: checking for $ac_word" >&5
1920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1921 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1922 echo $ECHO_N "(cached) $ECHO_C" >&6
1924 if test -n "$ac_ct_CC"; then
1925 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1931 test -z "$as_dir" && as_dir=.
1932 for ac_exec_ext in '' $ac_executable_extensions; do
1933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1934 ac_cv_prog_ac_ct_CC="cc"
1935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1943 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1944 if test -n "$ac_ct_CC"; then
1945 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1946 echo "${ECHO_T}$ac_ct_CC" >&6
1948 echo "$as_me:$LINENO: result: no" >&5
1949 echo "${ECHO_T}no" >&6
1958 if test -z "$CC"; then
1959 # Extract the first word of "cc", so it can be a program name with args.
1960 set dummy cc; ac_word=$2
1961 echo "$as_me:$LINENO: checking for $ac_word" >&5
1962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1963 if test "${ac_cv_prog_CC+set}" = set; then
1964 echo $ECHO_N "(cached) $ECHO_C" >&6
1966 if test -n "$CC"; then
1967 ac_cv_prog_CC="$CC" # Let the user override the test.
1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1974 test -z "$as_dir" && as_dir=.
1975 for ac_exec_ext in '' $ac_executable_extensions; do
1976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1977 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1978 ac_prog_rejected=yes
1982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1988 if test $ac_prog_rejected = yes; then
1989 # We found a bogon in the path, so make sure we never use it.
1990 set dummy $ac_cv_prog_CC
1992 if test $# != 0; then
1993 # We chose a different compiler from the bogus one.
1994 # However, it has the same basename, so the bogon will be chosen
1995 # first if we set CC to just the basename; use the full file name.
1997 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2003 if test -n "$CC"; then
2004 echo "$as_me:$LINENO: result: $CC" >&5
2005 echo "${ECHO_T}$CC" >&6
2007 echo "$as_me:$LINENO: result: no" >&5
2008 echo "${ECHO_T}no" >&6
2012 if test -z "$CC"; then
2013 if test -n "$ac_tool_prefix"; then
2016 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2017 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2018 echo "$as_me:$LINENO: checking for $ac_word" >&5
2019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2020 if test "${ac_cv_prog_CC+set}" = set; then
2021 echo $ECHO_N "(cached) $ECHO_C" >&6
2023 if test -n "$CC"; then
2024 ac_cv_prog_CC="$CC" # Let the user override the test.
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 test -z "$as_dir" && as_dir=.
2031 for ac_exec_ext in '' $ac_executable_extensions; do
2032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2033 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2043 if test -n "$CC"; then
2044 echo "$as_me:$LINENO: result: $CC" >&5
2045 echo "${ECHO_T}$CC" >&6
2047 echo "$as_me:$LINENO: result: no" >&5
2048 echo "${ECHO_T}no" >&6
2051 test -n "$CC" && break
2054 if test -z "$CC"; then
2058 # Extract the first word of "$ac_prog", so it can be a program name with args.
2059 set dummy $ac_prog; ac_word=$2
2060 echo "$as_me:$LINENO: checking for $ac_word" >&5
2061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2062 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2063 echo $ECHO_N "(cached) $ECHO_C" >&6
2065 if test -n "$ac_ct_CC"; then
2066 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 test -z "$as_dir" && as_dir=.
2073 for ac_exec_ext in '' $ac_executable_extensions; do
2074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2075 ac_cv_prog_ac_ct_CC="$ac_prog"
2076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2085 if test -n "$ac_ct_CC"; then
2086 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2087 echo "${ECHO_T}$ac_ct_CC" >&6
2089 echo "$as_me:$LINENO: result: no" >&5
2090 echo "${ECHO_T}no" >&6
2093 test -n "$ac_ct_CC" && break
2102 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2103 See \`config.log' for more details." >&5
2104 echo "$as_me: error: no acceptable C compiler found in \$PATH
2105 See \`config.log' for more details." >&2;}
2106 { (exit 1); exit 1; }; }
2108 # Provide some information about the compiler.
2109 echo "$as_me:$LINENO:" \
2110 "checking for C compiler version" >&5
2111 ac_compiler=`set X $ac_compile; echo $2`
2112 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2113 (eval $ac_compiler --version </dev/null >&5) 2>&5
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116 (exit $ac_status); }
2117 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2118 (eval $ac_compiler -v </dev/null >&5) 2>&5
2120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121 (exit $ac_status); }
2122 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2123 (eval $ac_compiler -V </dev/null >&5) 2>&5
2125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2126 (exit $ac_status); }
2128 cat >conftest.$ac_ext <<_ACEOF
2131 cat confdefs.h >>conftest.$ac_ext
2132 cat >>conftest.$ac_ext <<_ACEOF
2133 /* end confdefs.h. */
2143 ac_clean_files_save=$ac_clean_files
2144 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2145 # Try to create an executable without -o first, disregard a.out.
2146 # It will help us diagnose broken compilers, and finding out an intuition
2148 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2149 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2150 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2151 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2152 (eval $ac_link_default) 2>&5
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); }; then
2156 # Find the output, starting from the most likely. This scheme is
2157 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2160 # Be careful to initialize this variable, since it used to be cached.
2161 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2163 # b.out is created by i960 compilers.
2164 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2166 test -f "$ac_file" || continue
2168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2171 # This is the source file.
2174 # We found the default executable, but exeext='' is most
2178 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2179 # FIXME: I believe we export ac_cv_exeext for Libtool,
2180 # but it would be cool to find out if it's true. Does anybody
2181 # maintain Libtool? --akim.
2189 echo "$as_me: failed program was:" >&5
2190 sed 's/^/| /' conftest.$ac_ext >&5
2192 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2193 See \`config.log' for more details." >&5
2194 echo "$as_me: error: C compiler cannot create executables
2195 See \`config.log' for more details." >&2;}
2196 { (exit 77); exit 77; }; }
2199 ac_exeext=$ac_cv_exeext
2200 echo "$as_me:$LINENO: result: $ac_file" >&5
2201 echo "${ECHO_T}$ac_file" >&6
2203 # Check the compiler produces executables we can run. If not, either
2204 # the compiler is broken, or we cross compile.
2205 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2206 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2207 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2208 # If not cross compiling, check that we can run a simple program.
2209 if test "$cross_compiling" != yes; then
2210 if { ac_try='./$ac_file'
2211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2215 (exit $ac_status); }; }; then
2218 if test "$cross_compiling" = maybe; then
2221 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2222 If you meant to cross compile, use \`--host'.
2223 See \`config.log' for more details." >&5
2224 echo "$as_me: error: cannot run C compiled programs.
2225 If you meant to cross compile, use \`--host'.
2226 See \`config.log' for more details." >&2;}
2227 { (exit 1); exit 1; }; }
2231 echo "$as_me:$LINENO: result: yes" >&5
2232 echo "${ECHO_T}yes" >&6
2234 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2235 ac_clean_files=$ac_clean_files_save
2236 # Check the compiler produces executables we can run. If not, either
2237 # the compiler is broken, or we cross compile.
2238 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2239 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2240 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2241 echo "${ECHO_T}$cross_compiling" >&6
2243 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2244 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2246 (eval $ac_link) 2>&5
2248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2249 (exit $ac_status); }; then
2250 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2251 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2252 # work properly (i.e., refer to `conftest.exe'), while it won't with
2254 for ac_file in conftest.exe conftest conftest.*; do
2255 test -f "$ac_file" || continue
2257 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2258 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2265 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2266 See \`config.log' for more details." >&5
2267 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2268 See \`config.log' for more details." >&2;}
2269 { (exit 1); exit 1; }; }
2272 rm -f conftest$ac_cv_exeext
2273 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2274 echo "${ECHO_T}$ac_cv_exeext" >&6
2276 rm -f conftest.$ac_ext
2277 EXEEXT=$ac_cv_exeext
2279 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2280 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2281 if test "${ac_cv_objext+set}" = set; then
2282 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 cat >conftest.$ac_ext <<_ACEOF
2287 cat confdefs.h >>conftest.$ac_ext
2288 cat >>conftest.$ac_ext <<_ACEOF
2289 /* end confdefs.h. */
2299 rm -f conftest.o conftest.obj
2300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2301 (eval $ac_compile) 2>&5
2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2304 (exit $ac_status); }; then
2305 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2307 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2308 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2313 echo "$as_me: failed program was:" >&5
2314 sed 's/^/| /' conftest.$ac_ext >&5
2316 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2317 See \`config.log' for more details." >&5
2318 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2319 See \`config.log' for more details." >&2;}
2320 { (exit 1); exit 1; }; }
2323 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2325 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2326 echo "${ECHO_T}$ac_cv_objext" >&6
2327 OBJEXT=$ac_cv_objext
2329 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2330 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2331 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2332 echo $ECHO_N "(cached) $ECHO_C" >&6
2334 cat >conftest.$ac_ext <<_ACEOF
2337 cat confdefs.h >>conftest.$ac_ext
2338 cat >>conftest.$ac_ext <<_ACEOF
2339 /* end confdefs.h. */
2352 rm -f conftest.$ac_objext
2353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2354 (eval $ac_compile) 2>conftest.er1
2356 grep -v '^ *+' conftest.er1 >conftest.err
2358 cat conftest.err >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); } &&
2361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }; } &&
2367 { ac_try='test -s conftest.$ac_objext'
2368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }; }; then
2375 echo "$as_me: failed program was:" >&5
2376 sed 's/^/| /' conftest.$ac_ext >&5
2380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2381 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2384 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2385 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2386 GCC=`test $ac_compiler_gnu = yes && echo yes`
2387 ac_test_CFLAGS=${CFLAGS+set}
2388 ac_save_CFLAGS=$CFLAGS
2390 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2391 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2392 if test "${ac_cv_prog_cc_g+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2395 cat >conftest.$ac_ext <<_ACEOF
2398 cat confdefs.h >>conftest.$ac_ext
2399 cat >>conftest.$ac_ext <<_ACEOF
2400 /* end confdefs.h. */
2410 rm -f conftest.$ac_objext
2411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2412 (eval $ac_compile) 2>conftest.er1
2414 grep -v '^ *+' conftest.er1 >conftest.err
2416 cat conftest.err >&5
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); } &&
2419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; } &&
2425 { ac_try='test -s conftest.$ac_objext'
2426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); }; }; then
2433 echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.$ac_ext >&5
2438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2440 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2441 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2442 if test "$ac_test_CFLAGS" = set; then
2443 CFLAGS=$ac_save_CFLAGS
2444 elif test $ac_cv_prog_cc_g = yes; then
2445 if test "$GCC" = yes; then
2451 if test "$GCC" = yes; then
2457 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2458 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2459 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2460 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 ac_cv_prog_cc_stdc=no
2464 cat >conftest.$ac_ext <<_ACEOF
2467 cat confdefs.h >>conftest.$ac_ext
2468 cat >>conftest.$ac_ext <<_ACEOF
2469 /* end confdefs.h. */
2472 #include <sys/types.h>
2473 #include <sys/stat.h>
2474 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2475 struct buf { int x; };
2476 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2477 static char *e (p, i)
2483 static char *f (char * (*g) (char **, int), char **p, ...)
2488 s = g (p, va_arg (v,int));
2493 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2494 function prototypes and stuff, but not '\xHH' hex character constants.
2495 These don't provoke an error unfortunately, instead are silently treated
2496 as 'x'. The following induces an error, until -std1 is added to get
2497 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2498 array size at least. It's necessary to write '\x00'==0 to get something
2499 that's true only with -std1. */
2500 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2502 int test (int i, double x);
2503 struct s1 {int (*f) (int a);};
2504 struct s2 {int (*f) (double a);};
2505 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2511 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2516 # Don't try gcc -ansi; that turns off useful extensions and
2517 # breaks some systems' header files.
2518 # AIX -qlanglvl=ansi
2519 # Ultrix and OSF/1 -std1
2520 # HP-UX 10.20 and later -Ae
2521 # HP-UX older versions -Aa -D_HPUX_SOURCE
2522 # SVR4 -Xc -D__EXTENSIONS__
2523 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2525 CC="$ac_save_CC $ac_arg"
2526 rm -f conftest.$ac_objext
2527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2528 (eval $ac_compile) 2>conftest.er1
2530 grep -v '^ *+' conftest.er1 >conftest.err
2532 cat conftest.err >&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); } &&
2535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }; } &&
2541 { ac_try='test -s conftest.$ac_objext'
2542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }; }; then
2547 ac_cv_prog_cc_stdc=$ac_arg
2550 echo "$as_me: failed program was:" >&5
2551 sed 's/^/| /' conftest.$ac_ext >&5
2554 rm -f conftest.err conftest.$ac_objext
2556 rm -f conftest.$ac_ext conftest.$ac_objext
2561 case "x$ac_cv_prog_cc_stdc" in
2563 echo "$as_me:$LINENO: result: none needed" >&5
2564 echo "${ECHO_T}none needed" >&6 ;;
2566 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2567 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2568 CC="$CC $ac_cv_prog_cc_stdc" ;;
2571 # Some people use a C++ compiler to compile C. Since we use `exit',
2572 # in C++ we need to declare it. In case someone uses the same compiler
2573 # for both compiling C and C++ we need to have the C++ compiler decide
2574 # the declaration of exit, since it's the most demanding environment.
2575 cat >conftest.$ac_ext <<_ACEOF
2580 rm -f conftest.$ac_objext
2581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2582 (eval $ac_compile) 2>conftest.er1
2584 grep -v '^ *+' conftest.er1 >conftest.err
2586 cat conftest.err >&5
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); } &&
2589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594 (exit $ac_status); }; } &&
2595 { ac_try='test -s conftest.$ac_objext'
2596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); }; }; then
2601 for ac_declaration in \
2603 'extern "C" void std::exit (int) throw (); using std::exit;' \
2604 'extern "C" void std::exit (int); using std::exit;' \
2605 'extern "C" void exit (int) throw ();' \
2606 'extern "C" void exit (int);' \
2609 cat >conftest.$ac_ext <<_ACEOF
2612 cat confdefs.h >>conftest.$ac_ext
2613 cat >>conftest.$ac_ext <<_ACEOF
2614 /* end confdefs.h. */
2625 rm -f conftest.$ac_objext
2626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2627 (eval $ac_compile) 2>conftest.er1
2629 grep -v '^ *+' conftest.er1 >conftest.err
2631 cat conftest.err >&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); } &&
2634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }; } &&
2640 { ac_try='test -s conftest.$ac_objext'
2641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645 (exit $ac_status); }; }; then
2648 echo "$as_me: failed program was:" >&5
2649 sed 's/^/| /' conftest.$ac_ext >&5
2653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2654 cat >conftest.$ac_ext <<_ACEOF
2657 cat confdefs.h >>conftest.$ac_ext
2658 cat >>conftest.$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2669 rm -f conftest.$ac_objext
2670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2671 (eval $ac_compile) 2>conftest.er1
2673 grep -v '^ *+' conftest.er1 >conftest.err
2675 cat conftest.err >&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); } &&
2678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; } &&
2684 { ac_try='test -s conftest.$ac_objext'
2685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); }; }; then
2692 echo "$as_me: failed program was:" >&5
2693 sed 's/^/| /' conftest.$ac_ext >&5
2696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2699 if test -n "$ac_declaration"; then
2700 echo '#ifdef __cplusplus' >>confdefs.h
2701 echo $ac_declaration >>confdefs.h
2702 echo '#endif' >>confdefs.h
2706 echo "$as_me: failed program was:" >&5
2707 sed 's/^/| /' conftest.$ac_ext >&5
2710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2712 ac_cpp='$CPP $CPPFLAGS'
2713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2717 depcc="$CC" am_compiler_list=
2719 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2720 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2721 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2722 echo $ECHO_N "(cached) $ECHO_C" >&6
2724 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2725 # We make a subdir and do the tests there. Otherwise we can end up
2726 # making bogus files that we don't know about and never remove. For
2727 # instance it was reported that on HP-UX the gcc test will end up
2728 # making a dummy file named `D' -- because `-MD' means `put the output
2731 # Copy depcomp to subdir because otherwise we won't find it if we're
2732 # using a relative directory.
2733 cp "$am_depcomp" conftest.dir
2735 # We will build objects and dependencies in a subdirectory because
2736 # it helps to detect inapplicable dependency modes. For instance
2737 # both Tru64's cc and ICC support -MD to output dependencies as a
2738 # side effect of compilation, but ICC will put the dependencies in
2739 # the current directory while Tru64 will put them in the object
2743 am_cv_CC_dependencies_compiler_type=none
2744 if test "$am_compiler_list" = ""; then
2745 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2747 for depmode in $am_compiler_list; do
2748 # Setup a source with many dependencies, because some compilers
2749 # like to wrap large dependency lists on column 80 (with \), and
2750 # we should not choose a depcomp mode which is confused by this.
2752 # We need to recreate these files for each test, as the compiler may
2753 # overwrite some of them when testing with obscure command lines.
2754 # This happens at least with the AIX C compiler.
2756 for i in 1 2 3 4 5 6; do
2757 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2760 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2764 # after this tag, mechanisms are not by side-effect, so they'll
2765 # only be used when explicitly requested
2766 if test "x$enable_dependency_tracking" = xyes; then
2774 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2775 # mode. It turns out that the SunPro C++ compiler does not properly
2776 # handle `-M -o', and we need to detect this.
2777 if depmode=$depmode \
2778 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2779 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2780 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2781 >/dev/null 2>conftest.err &&
2782 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2783 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2784 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2785 # icc doesn't choke on unknown options, it will just issue warnings
2786 # (even with -Werror). So we grep stderr for any message
2787 # that says an option was ignored.
2788 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2789 am_cv_CC_dependencies_compiler_type=$depmode
2798 am_cv_CC_dependencies_compiler_type=none
2802 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2803 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2804 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2809 test "x$enable_dependency_tracking" != xno \
2810 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2812 am__fastdepCC_FALSE='#'
2814 am__fastdepCC_TRUE='#'
2815 am__fastdepCC_FALSE=
2821 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2822 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2823 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2824 echo $ECHO_N "(cached) $ECHO_C" >&6
2826 ac_check_lib_save_LIBS=$LIBS
2827 LIBS="-lcposix $LIBS"
2828 cat >conftest.$ac_ext <<_ACEOF
2831 cat confdefs.h >>conftest.$ac_ext
2832 cat >>conftest.$ac_ext <<_ACEOF
2833 /* end confdefs.h. */
2835 /* Override any gcc2 internal prototype to avoid an error. */
2839 /* We use char because int might match the return type of a gcc2
2840 builtin and then its argument prototype would still apply. */
2850 rm -f conftest.$ac_objext conftest$ac_exeext
2851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2852 (eval $ac_link) 2>conftest.er1
2854 grep -v '^ *+' conftest.er1 >conftest.err
2856 cat conftest.err >&5
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); } &&
2859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); }; } &&
2865 { ac_try='test -s conftest$ac_exeext'
2866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870 (exit $ac_status); }; }; then
2871 ac_cv_lib_cposix_strerror=yes
2873 echo "$as_me: failed program was:" >&5
2874 sed 's/^/| /' conftest.$ac_ext >&5
2876 ac_cv_lib_cposix_strerror=no
2878 rm -f conftest.err conftest.$ac_objext \
2879 conftest$ac_exeext conftest.$ac_ext
2880 LIBS=$ac_check_lib_save_LIBS
2882 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2883 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2884 if test $ac_cv_lib_cposix_strerror = yes; then
2885 LIBS="$LIBS -lcposix"
2891 ac_cpp='$CPP $CPPFLAGS'
2892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2895 if test -n "$ac_tool_prefix"; then
2896 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2897 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2898 echo "$as_me:$LINENO: checking for $ac_word" >&5
2899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2900 if test "${ac_cv_prog_CC+set}" = set; then
2901 echo $ECHO_N "(cached) $ECHO_C" >&6
2903 if test -n "$CC"; then
2904 ac_cv_prog_CC="$CC" # Let the user override the test.
2906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2910 test -z "$as_dir" && as_dir=.
2911 for ac_exec_ext in '' $ac_executable_extensions; do
2912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2913 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2923 if test -n "$CC"; then
2924 echo "$as_me:$LINENO: result: $CC" >&5
2925 echo "${ECHO_T}$CC" >&6
2927 echo "$as_me:$LINENO: result: no" >&5
2928 echo "${ECHO_T}no" >&6
2932 if test -z "$ac_cv_prog_CC"; then
2934 # Extract the first word of "gcc", so it can be a program name with args.
2935 set dummy gcc; ac_word=$2
2936 echo "$as_me:$LINENO: checking for $ac_word" >&5
2937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2938 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2939 echo $ECHO_N "(cached) $ECHO_C" >&6
2941 if test -n "$ac_ct_CC"; then
2942 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2948 test -z "$as_dir" && as_dir=.
2949 for ac_exec_ext in '' $ac_executable_extensions; do
2950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2951 ac_cv_prog_ac_ct_CC="gcc"
2952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2961 if test -n "$ac_ct_CC"; then
2962 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2963 echo "${ECHO_T}$ac_ct_CC" >&6
2965 echo "$as_me:$LINENO: result: no" >&5
2966 echo "${ECHO_T}no" >&6
2974 if test -z "$CC"; then
2975 if test -n "$ac_tool_prefix"; then
2976 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2977 set dummy ${ac_tool_prefix}cc; ac_word=$2
2978 echo "$as_me:$LINENO: checking for $ac_word" >&5
2979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2980 if test "${ac_cv_prog_CC+set}" = set; then
2981 echo $ECHO_N "(cached) $ECHO_C" >&6
2983 if test -n "$CC"; then
2984 ac_cv_prog_CC="$CC" # Let the user override the test.
2986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990 test -z "$as_dir" && as_dir=.
2991 for ac_exec_ext in '' $ac_executable_extensions; do
2992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2993 ac_cv_prog_CC="${ac_tool_prefix}cc"
2994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3003 if test -n "$CC"; then
3004 echo "$as_me:$LINENO: result: $CC" >&5
3005 echo "${ECHO_T}$CC" >&6
3007 echo "$as_me:$LINENO: result: no" >&5
3008 echo "${ECHO_T}no" >&6
3012 if test -z "$ac_cv_prog_CC"; then
3014 # Extract the first word of "cc", so it can be a program name with args.
3015 set dummy cc; ac_word=$2
3016 echo "$as_me:$LINENO: checking for $ac_word" >&5
3017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3021 if test -n "$ac_ct_CC"; then
3022 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3028 test -z "$as_dir" && as_dir=.
3029 for ac_exec_ext in '' $ac_executable_extensions; do
3030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3031 ac_cv_prog_ac_ct_CC="cc"
3032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3040 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3041 if test -n "$ac_ct_CC"; then
3042 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3043 echo "${ECHO_T}$ac_ct_CC" >&6
3045 echo "$as_me:$LINENO: result: no" >&5
3046 echo "${ECHO_T}no" >&6
3055 if test -z "$CC"; then
3056 # Extract the first word of "cc", so it can be a program name with args.
3057 set dummy cc; ac_word=$2
3058 echo "$as_me:$LINENO: checking for $ac_word" >&5
3059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3060 if test "${ac_cv_prog_CC+set}" = set; then
3061 echo $ECHO_N "(cached) $ECHO_C" >&6
3063 if test -n "$CC"; then
3064 ac_cv_prog_CC="$CC" # Let the user override the test.
3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3071 test -z "$as_dir" && as_dir=.
3072 for ac_exec_ext in '' $ac_executable_extensions; do
3073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3074 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3075 ac_prog_rejected=yes
3079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3085 if test $ac_prog_rejected = yes; then
3086 # We found a bogon in the path, so make sure we never use it.
3087 set dummy $ac_cv_prog_CC
3089 if test $# != 0; then
3090 # We chose a different compiler from the bogus one.
3091 # However, it has the same basename, so the bogon will be chosen
3092 # first if we set CC to just the basename; use the full file name.
3094 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3100 if test -n "$CC"; then
3101 echo "$as_me:$LINENO: result: $CC" >&5
3102 echo "${ECHO_T}$CC" >&6
3104 echo "$as_me:$LINENO: result: no" >&5
3105 echo "${ECHO_T}no" >&6
3109 if test -z "$CC"; then
3110 if test -n "$ac_tool_prefix"; then
3113 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3114 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3115 echo "$as_me:$LINENO: checking for $ac_word" >&5
3116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3117 if test "${ac_cv_prog_CC+set}" = set; then
3118 echo $ECHO_N "(cached) $ECHO_C" >&6
3120 if test -n "$CC"; then
3121 ac_cv_prog_CC="$CC" # Let the user override the test.
3123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3127 test -z "$as_dir" && as_dir=.
3128 for ac_exec_ext in '' $ac_executable_extensions; do
3129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3130 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3140 if test -n "$CC"; then
3141 echo "$as_me:$LINENO: result: $CC" >&5
3142 echo "${ECHO_T}$CC" >&6
3144 echo "$as_me:$LINENO: result: no" >&5
3145 echo "${ECHO_T}no" >&6
3148 test -n "$CC" && break
3151 if test -z "$CC"; then
3155 # Extract the first word of "$ac_prog", so it can be a program name with args.
3156 set dummy $ac_prog; ac_word=$2
3157 echo "$as_me:$LINENO: checking for $ac_word" >&5
3158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3159 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3160 echo $ECHO_N "(cached) $ECHO_C" >&6
3162 if test -n "$ac_ct_CC"; then
3163 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3169 test -z "$as_dir" && as_dir=.
3170 for ac_exec_ext in '' $ac_executable_extensions; do
3171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3172 ac_cv_prog_ac_ct_CC="$ac_prog"
3173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3181 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3182 if test -n "$ac_ct_CC"; then
3183 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3184 echo "${ECHO_T}$ac_ct_CC" >&6
3186 echo "$as_me:$LINENO: result: no" >&5
3187 echo "${ECHO_T}no" >&6
3190 test -n "$ac_ct_CC" && break
3199 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3200 See \`config.log' for more details." >&5
3201 echo "$as_me: error: no acceptable C compiler found in \$PATH
3202 See \`config.log' for more details." >&2;}
3203 { (exit 1); exit 1; }; }
3205 # Provide some information about the compiler.
3206 echo "$as_me:$LINENO:" \
3207 "checking for C compiler version" >&5
3208 ac_compiler=`set X $ac_compile; echo $2`
3209 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3210 (eval $ac_compiler --version </dev/null >&5) 2>&5
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); }
3214 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3215 (eval $ac_compiler -v </dev/null >&5) 2>&5
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); }
3219 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3220 (eval $ac_compiler -V </dev/null >&5) 2>&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); }
3225 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3226 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3227 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3228 echo $ECHO_N "(cached) $ECHO_C" >&6
3230 cat >conftest.$ac_ext <<_ACEOF
3233 cat confdefs.h >>conftest.$ac_ext
3234 cat >>conftest.$ac_ext <<_ACEOF
3235 /* end confdefs.h. */
3248 rm -f conftest.$ac_objext
3249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3250 (eval $ac_compile) 2>conftest.er1
3252 grep -v '^ *+' conftest.er1 >conftest.err
3254 cat conftest.err >&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); } &&
3257 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); }; } &&
3263 { ac_try='test -s conftest.$ac_objext'
3264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); }; }; then
3271 echo "$as_me: failed program was:" >&5
3272 sed 's/^/| /' conftest.$ac_ext >&5
3276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3277 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3280 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3281 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3282 GCC=`test $ac_compiler_gnu = yes && echo yes`
3283 ac_test_CFLAGS=${CFLAGS+set}
3284 ac_save_CFLAGS=$CFLAGS
3286 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3287 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3288 if test "${ac_cv_prog_cc_g+set}" = set; then
3289 echo $ECHO_N "(cached) $ECHO_C" >&6
3291 cat >conftest.$ac_ext <<_ACEOF
3294 cat confdefs.h >>conftest.$ac_ext
3295 cat >>conftest.$ac_ext <<_ACEOF
3296 /* end confdefs.h. */
3306 rm -f conftest.$ac_objext
3307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3308 (eval $ac_compile) 2>conftest.er1
3310 grep -v '^ *+' conftest.er1 >conftest.err
3312 cat conftest.err >&5
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); } &&
3315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); }; } &&
3321 { ac_try='test -s conftest.$ac_objext'
3322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); }; }; then
3329 echo "$as_me: failed program was:" >&5
3330 sed 's/^/| /' conftest.$ac_ext >&5
3334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3336 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3337 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3338 if test "$ac_test_CFLAGS" = set; then
3339 CFLAGS=$ac_save_CFLAGS
3340 elif test $ac_cv_prog_cc_g = yes; then
3341 if test "$GCC" = yes; then
3347 if test "$GCC" = yes; then
3353 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3354 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3355 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3356 echo $ECHO_N "(cached) $ECHO_C" >&6
3358 ac_cv_prog_cc_stdc=no
3360 cat >conftest.$ac_ext <<_ACEOF
3363 cat confdefs.h >>conftest.$ac_ext
3364 cat >>conftest.$ac_ext <<_ACEOF
3365 /* end confdefs.h. */
3368 #include <sys/types.h>
3369 #include <sys/stat.h>
3370 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3371 struct buf { int x; };
3372 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3373 static char *e (p, i)
3379 static char *f (char * (*g) (char **, int), char **p, ...)
3384 s = g (p, va_arg (v,int));
3389 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3390 function prototypes and stuff, but not '\xHH' hex character constants.
3391 These don't provoke an error unfortunately, instead are silently treated
3392 as 'x'. The following induces an error, until -std1 is added to get
3393 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3394 array size at least. It's necessary to write '\x00'==0 to get something
3395 that's true only with -std1. */
3396 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3398 int test (int i, double x);
3399 struct s1 {int (*f) (int a);};
3400 struct s2 {int (*f) (double a);};
3401 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3407 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3412 # Don't try gcc -ansi; that turns off useful extensions and
3413 # breaks some systems' header files.
3414 # AIX -qlanglvl=ansi
3415 # Ultrix and OSF/1 -std1
3416 # HP-UX 10.20 and later -Ae
3417 # HP-UX older versions -Aa -D_HPUX_SOURCE
3418 # SVR4 -Xc -D__EXTENSIONS__
3419 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3421 CC="$ac_save_CC $ac_arg"
3422 rm -f conftest.$ac_objext
3423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3424 (eval $ac_compile) 2>conftest.er1
3426 grep -v '^ *+' conftest.er1 >conftest.err
3428 cat conftest.err >&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); } &&
3431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436 (exit $ac_status); }; } &&
3437 { ac_try='test -s conftest.$ac_objext'
3438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442 (exit $ac_status); }; }; then
3443 ac_cv_prog_cc_stdc=$ac_arg
3446 echo "$as_me: failed program was:" >&5
3447 sed 's/^/| /' conftest.$ac_ext >&5
3450 rm -f conftest.err conftest.$ac_objext
3452 rm -f conftest.$ac_ext conftest.$ac_objext
3457 case "x$ac_cv_prog_cc_stdc" in
3459 echo "$as_me:$LINENO: result: none needed" >&5
3460 echo "${ECHO_T}none needed" >&6 ;;
3462 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3463 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3464 CC="$CC $ac_cv_prog_cc_stdc" ;;
3467 # Some people use a C++ compiler to compile C. Since we use `exit',
3468 # in C++ we need to declare it. In case someone uses the same compiler
3469 # for both compiling C and C++ we need to have the C++ compiler decide
3470 # the declaration of exit, since it's the most demanding environment.
3471 cat >conftest.$ac_ext <<_ACEOF
3476 rm -f conftest.$ac_objext
3477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3478 (eval $ac_compile) 2>conftest.er1
3480 grep -v '^ *+' conftest.er1 >conftest.err
3482 cat conftest.err >&5
3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); } &&
3485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); }; } &&
3491 { ac_try='test -s conftest.$ac_objext'
3492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); }; }; then
3497 for ac_declaration in \
3499 'extern "C" void std::exit (int) throw (); using std::exit;' \
3500 'extern "C" void std::exit (int); using std::exit;' \
3501 'extern "C" void exit (int) throw ();' \
3502 'extern "C" void exit (int);' \
3505 cat >conftest.$ac_ext <<_ACEOF
3508 cat confdefs.h >>conftest.$ac_ext
3509 cat >>conftest.$ac_ext <<_ACEOF
3510 /* end confdefs.h. */
3521 rm -f conftest.$ac_objext
3522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3523 (eval $ac_compile) 2>conftest.er1
3525 grep -v '^ *+' conftest.er1 >conftest.err
3527 cat conftest.err >&5
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); } &&
3530 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); }; } &&
3536 { ac_try='test -s conftest.$ac_objext'
3537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); }; }; then
3544 echo "$as_me: failed program was:" >&5
3545 sed 's/^/| /' conftest.$ac_ext >&5
3549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3550 cat >conftest.$ac_ext <<_ACEOF
3553 cat confdefs.h >>conftest.$ac_ext
3554 cat >>conftest.$ac_ext <<_ACEOF
3555 /* end confdefs.h. */
3565 rm -f conftest.$ac_objext
3566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3567 (eval $ac_compile) 2>conftest.er1
3569 grep -v '^ *+' conftest.er1 >conftest.err
3571 cat conftest.err >&5
3572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); } &&
3574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); }; } &&
3580 { ac_try='test -s conftest.$ac_objext'
3581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585 (exit $ac_status); }; }; then
3588 echo "$as_me: failed program was:" >&5
3589 sed 's/^/| /' conftest.$ac_ext >&5
3592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3595 if test -n "$ac_declaration"; then
3596 echo '#ifdef __cplusplus' >>confdefs.h
3597 echo $ac_declaration >>confdefs.h
3598 echo '#endif' >>confdefs.h
3602 echo "$as_me: failed program was:" >&5
3603 sed 's/^/| /' conftest.$ac_ext >&5
3606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3608 ac_cpp='$CPP $CPPFLAGS'
3609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3613 depcc="$CC" am_compiler_list=
3615 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3616 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3617 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3618 echo $ECHO_N "(cached) $ECHO_C" >&6
3620 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3621 # We make a subdir and do the tests there. Otherwise we can end up
3622 # making bogus files that we don't know about and never remove. For
3623 # instance it was reported that on HP-UX the gcc test will end up
3624 # making a dummy file named `D' -- because `-MD' means `put the output
3627 # Copy depcomp to subdir because otherwise we won't find it if we're
3628 # using a relative directory.
3629 cp "$am_depcomp" conftest.dir
3631 # We will build objects and dependencies in a subdirectory because
3632 # it helps to detect inapplicable dependency modes. For instance
3633 # both Tru64's cc and ICC support -MD to output dependencies as a
3634 # side effect of compilation, but ICC will put the dependencies in
3635 # the current directory while Tru64 will put them in the object
3639 am_cv_CC_dependencies_compiler_type=none
3640 if test "$am_compiler_list" = ""; then
3641 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3643 for depmode in $am_compiler_list; do
3644 # Setup a source with many dependencies, because some compilers
3645 # like to wrap large dependency lists on column 80 (with \), and
3646 # we should not choose a depcomp mode which is confused by this.
3648 # We need to recreate these files for each test, as the compiler may
3649 # overwrite some of them when testing with obscure command lines.
3650 # This happens at least with the AIX C compiler.
3652 for i in 1 2 3 4 5 6; do
3653 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3656 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3660 # after this tag, mechanisms are not by side-effect, so they'll
3661 # only be used when explicitly requested
3662 if test "x$enable_dependency_tracking" = xyes; then
3670 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3671 # mode. It turns out that the SunPro C++ compiler does not properly
3672 # handle `-M -o', and we need to detect this.
3673 if depmode=$depmode \
3674 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3675 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3676 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3677 >/dev/null 2>conftest.err &&
3678 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3679 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3680 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3681 # icc doesn't choke on unknown options, it will just issue warnings
3682 # (even with -Werror). So we grep stderr for any message
3683 # that says an option was ignored.
3684 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3685 am_cv_CC_dependencies_compiler_type=$depmode
3694 am_cv_CC_dependencies_compiler_type=none
3698 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3699 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3700 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3705 test "x$enable_dependency_tracking" != xno \
3706 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3708 am__fastdepCC_FALSE='#'
3710 am__fastdepCC_TRUE='#'
3711 am__fastdepCC_FALSE=
3718 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
3719 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
3720 if test "${am_cv_prog_cc_stdc+set}" = set; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 am_cv_prog_cc_stdc=no
3725 # Don't try gcc -ansi; that turns off useful extensions and
3726 # breaks some systems' header files.
3727 # AIX -qlanglvl=ansi
3728 # Ultrix and OSF/1 -std1
3729 # HP-UX 10.20 and later -Ae
3730 # HP-UX older versions -Aa -D_HPUX_SOURCE
3731 # SVR4 -Xc -D__EXTENSIONS__
3732 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3734 CC="$ac_save_CC $ac_arg"
3735 cat >conftest.$ac_ext <<_ACEOF
3738 cat confdefs.h >>conftest.$ac_ext
3739 cat >>conftest.$ac_ext <<_ACEOF
3740 /* end confdefs.h. */
3743 #include <sys/types.h>
3744 #include <sys/stat.h>
3745 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3746 struct buf { int x; };
3747 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3748 static char *e (p, i)
3754 static char *f (char * (*g) (char **, int), char **p, ...)
3759 s = g (p, va_arg (v,int));
3763 int test (int i, double x);
3764 struct s1 {int (*f) (int a);};
3765 struct s2 {int (*f) (double a);};
3766 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3774 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3780 rm -f conftest.$ac_objext
3781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3782 (eval $ac_compile) 2>conftest.er1
3784 grep -v '^ *+' conftest.er1 >conftest.err
3786 cat conftest.err >&5
3787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788 (exit $ac_status); } &&
3789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); }; } &&
3795 { ac_try='test -s conftest.$ac_objext'
3796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); }; }; then
3801 am_cv_prog_cc_stdc="$ac_arg"; break
3803 echo "$as_me: failed program was:" >&5
3804 sed 's/^/| /' conftest.$ac_ext >&5
3807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3813 if test -z "$am_cv_prog_cc_stdc"; then
3814 echo "$as_me:$LINENO: result: none needed" >&5
3815 echo "${ECHO_T}none needed" >&6
3817 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
3818 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
3820 case "x$am_cv_prog_cc_stdc" in
3822 *) CC="$CC $am_cv_prog_cc_stdc" ;;
3826 ac_cpp='$CPP $CPPFLAGS'
3827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3830 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3831 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3832 # On Suns, sometimes $CPP names a directory.
3833 if test -n "$CPP" && test -d "$CPP"; then
3836 if test -z "$CPP"; then
3837 if test "${ac_cv_prog_CPP+set}" = set; then
3838 echo $ECHO_N "(cached) $ECHO_C" >&6
3840 # Double quotes because CPP needs to be expanded
3841 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3844 for ac_c_preproc_warn_flag in '' yes
3846 # Use a header file that comes with gcc, so configuring glibc
3847 # with a fresh cross-compiler works.
3848 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3849 # <limits.h> exists even on freestanding compilers.
3850 # On the NeXT, cc -E runs the code through the compiler's parser,
3851 # not just through cpp. "Syntax error" is here to catch this case.
3852 cat >conftest.$ac_ext <<_ACEOF
3855 cat confdefs.h >>conftest.$ac_ext
3856 cat >>conftest.$ac_ext <<_ACEOF
3857 /* end confdefs.h. */
3859 # include <limits.h>
3861 # include <assert.h>
3865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3866 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3868 grep -v '^ *+' conftest.er1 >conftest.err
3870 cat conftest.err >&5
3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872 (exit $ac_status); } >/dev/null; then
3873 if test -s conftest.err; then
3874 ac_cpp_err=$ac_c_preproc_warn_flag
3875 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3882 if test -z "$ac_cpp_err"; then
3885 echo "$as_me: failed program was:" >&5
3886 sed 's/^/| /' conftest.$ac_ext >&5
3888 # Broken: fails on valid input.
3891 rm -f conftest.err conftest.$ac_ext
3893 # OK, works on sane cases. Now check whether non-existent headers
3894 # can be detected and how.
3895 cat >conftest.$ac_ext <<_ACEOF
3898 cat confdefs.h >>conftest.$ac_ext
3899 cat >>conftest.$ac_ext <<_ACEOF
3900 /* end confdefs.h. */
3901 #include <ac_nonexistent.h>
3903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3904 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3906 grep -v '^ *+' conftest.er1 >conftest.err
3908 cat conftest.err >&5
3909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910 (exit $ac_status); } >/dev/null; then
3911 if test -s conftest.err; then
3912 ac_cpp_err=$ac_c_preproc_warn_flag
3913 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3920 if test -z "$ac_cpp_err"; then
3921 # Broken: success on invalid input.
3924 echo "$as_me: failed program was:" >&5
3925 sed 's/^/| /' conftest.$ac_ext >&5
3927 # Passes both tests.
3931 rm -f conftest.err conftest.$ac_ext
3934 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3935 rm -f conftest.err conftest.$ac_ext
3936 if $ac_preproc_ok; then
3948 echo "$as_me:$LINENO: result: $CPP" >&5
3949 echo "${ECHO_T}$CPP" >&6
3951 for ac_c_preproc_warn_flag in '' yes
3953 # Use a header file that comes with gcc, so configuring glibc
3954 # with a fresh cross-compiler works.
3955 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3956 # <limits.h> exists even on freestanding compilers.
3957 # On the NeXT, cc -E runs the code through the compiler's parser,
3958 # not just through cpp. "Syntax error" is here to catch this case.
3959 cat >conftest.$ac_ext <<_ACEOF
3962 cat confdefs.h >>conftest.$ac_ext
3963 cat >>conftest.$ac_ext <<_ACEOF
3964 /* end confdefs.h. */
3966 # include <limits.h>
3968 # include <assert.h>
3972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3973 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3975 grep -v '^ *+' conftest.er1 >conftest.err
3977 cat conftest.err >&5
3978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3979 (exit $ac_status); } >/dev/null; then
3980 if test -s conftest.err; then
3981 ac_cpp_err=$ac_c_preproc_warn_flag
3982 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3989 if test -z "$ac_cpp_err"; then
3992 echo "$as_me: failed program was:" >&5
3993 sed 's/^/| /' conftest.$ac_ext >&5
3995 # Broken: fails on valid input.
3998 rm -f conftest.err conftest.$ac_ext
4000 # OK, works on sane cases. Now check whether non-existent headers
4001 # can be detected and how.
4002 cat >conftest.$ac_ext <<_ACEOF
4005 cat confdefs.h >>conftest.$ac_ext
4006 cat >>conftest.$ac_ext <<_ACEOF
4007 /* end confdefs.h. */
4008 #include <ac_nonexistent.h>
4010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4011 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4013 grep -v '^ *+' conftest.er1 >conftest.err
4015 cat conftest.err >&5
4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); } >/dev/null; then
4018 if test -s conftest.err; then
4019 ac_cpp_err=$ac_c_preproc_warn_flag
4020 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4027 if test -z "$ac_cpp_err"; then
4028 # Broken: success on invalid input.
4031 echo "$as_me: failed program was:" >&5
4032 sed 's/^/| /' conftest.$ac_ext >&5
4034 # Passes both tests.
4038 rm -f conftest.err conftest.$ac_ext
4041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4042 rm -f conftest.err conftest.$ac_ext
4043 if $ac_preproc_ok; then
4046 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4047 See \`config.log' for more details." >&5
4048 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4049 See \`config.log' for more details." >&2;}
4050 { (exit 1); exit 1; }; }
4054 ac_cpp='$CPP $CPPFLAGS'
4055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4060 echo "$as_me:$LINENO: checking for egrep" >&5
4061 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4062 if test "${ac_cv_prog_egrep+set}" = set; then
4063 echo $ECHO_N "(cached) $ECHO_C" >&6
4065 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4066 then ac_cv_prog_egrep='grep -E'
4067 else ac_cv_prog_egrep='egrep'
4070 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4071 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4072 EGREP=$ac_cv_prog_egrep
4075 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4076 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4077 if test "${ac_cv_header_stdc+set}" = set; then
4078 echo $ECHO_N "(cached) $ECHO_C" >&6
4080 cat >conftest.$ac_ext <<_ACEOF
4083 cat confdefs.h >>conftest.$ac_ext
4084 cat >>conftest.$ac_ext <<_ACEOF
4085 /* end confdefs.h. */
4099 rm -f conftest.$ac_objext
4100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4101 (eval $ac_compile) 2>conftest.er1
4103 grep -v '^ *+' conftest.er1 >conftest.err
4105 cat conftest.err >&5
4106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107 (exit $ac_status); } &&
4108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4113 (exit $ac_status); }; } &&
4114 { ac_try='test -s conftest.$ac_objext'
4115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); }; }; then
4120 ac_cv_header_stdc=yes
4122 echo "$as_me: failed program was:" >&5
4123 sed 's/^/| /' conftest.$ac_ext >&5
4125 ac_cv_header_stdc=no
4127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4129 if test $ac_cv_header_stdc = yes; then
4130 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4131 cat >conftest.$ac_ext <<_ACEOF
4134 cat confdefs.h >>conftest.$ac_ext
4135 cat >>conftest.$ac_ext <<_ACEOF
4136 /* end confdefs.h. */
4140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4141 $EGREP "memchr" >/dev/null 2>&1; then
4144 ac_cv_header_stdc=no
4150 if test $ac_cv_header_stdc = yes; then
4151 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4152 cat >conftest.$ac_ext <<_ACEOF
4155 cat confdefs.h >>conftest.$ac_ext
4156 cat >>conftest.$ac_ext <<_ACEOF
4157 /* end confdefs.h. */
4161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4162 $EGREP "free" >/dev/null 2>&1; then
4165 ac_cv_header_stdc=no
4171 if test $ac_cv_header_stdc = yes; then
4172 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4173 if test "$cross_compiling" = yes; then
4176 cat >conftest.$ac_ext <<_ACEOF
4179 cat confdefs.h >>conftest.$ac_ext
4180 cat >>conftest.$ac_ext <<_ACEOF
4181 /* end confdefs.h. */
4183 #if ((' ' & 0x0FF) == 0x020)
4184 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4185 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4187 # define ISLOWER(c) \
4188 (('a' <= (c) && (c) <= 'i') \
4189 || ('j' <= (c) && (c) <= 'r') \
4190 || ('s' <= (c) && (c) <= 'z'))
4191 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4194 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4199 for (i = 0; i < 256; i++)
4200 if (XOR (islower (i), ISLOWER (i))
4201 || toupper (i) != TOUPPER (i))
4206 rm -f conftest$ac_exeext
4207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4208 (eval $ac_link) 2>&5
4210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); }; }; then
4219 echo "$as_me: program exited with status $ac_status" >&5
4220 echo "$as_me: failed program was:" >&5
4221 sed 's/^/| /' conftest.$ac_ext >&5
4224 ac_cv_header_stdc=no
4226 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4230 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4231 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4232 if test $ac_cv_header_stdc = yes; then
4234 cat >>confdefs.h <<\_ACEOF
4235 #define STDC_HEADERS 1
4241 pkg_modules="libgnomeui-2.0"
4245 if test -z "$PKG_CONFIG"; then
4246 # Extract the first word of "pkg-config", so it can be a program name with args.
4247 set dummy pkg-config; ac_word=$2
4248 echo "$as_me:$LINENO: checking for $ac_word" >&5
4249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4250 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4251 echo $ECHO_N "(cached) $ECHO_C" >&6
4255 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4262 test -z "$as_dir" && as_dir=.
4263 for ac_exec_ext in '' $ac_executable_extensions; do
4264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4265 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4272 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
4276 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4278 if test -n "$PKG_CONFIG"; then
4279 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4280 echo "${ECHO_T}$PKG_CONFIG" >&6
4282 echo "$as_me:$LINENO: result: no" >&5
4283 echo "${ECHO_T}no" >&6
4288 if test "$PKG_CONFIG" = "no" ; then
4289 echo "*** The pkg-config script could not be found. Make sure it is"
4290 echo "*** in your path, or set the PKG_CONFIG environment variable"
4291 echo "*** to the full path to pkg-config."
4292 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
4294 PKG_CONFIG_MIN_VERSION=0.9.0
4295 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
4296 echo "$as_me:$LINENO: checking for $pkg_modules" >&5
4297 echo $ECHO_N "checking for $pkg_modules... $ECHO_C" >&6
4299 if $PKG_CONFIG --exists "$pkg_modules" ; then
4300 echo "$as_me:$LINENO: result: yes" >&5
4301 echo "${ECHO_T}yes" >&6
4304 echo "$as_me:$LINENO: checking PACKAGE_CFLAGS" >&5
4305 echo $ECHO_N "checking PACKAGE_CFLAGS... $ECHO_C" >&6
4306 PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules"`
4307 echo "$as_me:$LINENO: result: $PACKAGE_CFLAGS" >&5
4308 echo "${ECHO_T}$PACKAGE_CFLAGS" >&6
4310 echo "$as_me:$LINENO: checking PACKAGE_LIBS" >&5
4311 echo $ECHO_N "checking PACKAGE_LIBS... $ECHO_C" >&6
4312 PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules"`
4313 echo "$as_me:$LINENO: result: $PACKAGE_LIBS" >&5
4314 echo "${ECHO_T}$PACKAGE_LIBS" >&6
4318 ## If we have a custom action on failure, don't print errors, but
4319 ## do set a variable so people can do so.
4320 PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"`
4321 echo $PACKAGE_PKG_ERRORS
4327 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
4328 echo "*** See http://www.freedesktop.org/software/pkgconfig"
4332 if test $succeeded = yes; then
4335 { { echo "$as_me:$LINENO: error: Library requirements ($pkg_modules) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
4336 echo "$as_me: error: Library requirements ($pkg_modules) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
4337 { (exit 1); exit 1; }; }
4343 GETTEXT_PACKAGE=dream
4345 cat >>confdefs.h <<_ACEOF
4346 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
4351 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4361 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4362 inttypes.h stdint.h unistd.h
4364 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4365 echo "$as_me:$LINENO: checking for $ac_header" >&5
4366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4368 echo $ECHO_N "(cached) $ECHO_C" >&6
4370 cat >conftest.$ac_ext <<_ACEOF
4373 cat confdefs.h >>conftest.$ac_ext
4374 cat >>conftest.$ac_ext <<_ACEOF
4375 /* end confdefs.h. */
4376 $ac_includes_default
4378 #include <$ac_header>
4380 rm -f conftest.$ac_objext
4381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4382 (eval $ac_compile) 2>conftest.er1
4384 grep -v '^ *+' conftest.er1 >conftest.err
4386 cat conftest.err >&5
4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388 (exit $ac_status); } &&
4389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); }; } &&
4395 { ac_try='test -s conftest.$ac_objext'
4396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); }; }; then
4401 eval "$as_ac_Header=yes"
4403 echo "$as_me: failed program was:" >&5
4404 sed 's/^/| /' conftest.$ac_ext >&5
4406 eval "$as_ac_Header=no"
4408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4411 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4413 cat >>confdefs.h <<_ACEOF
4414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4424 for ac_header in locale.h
4426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4428 echo "$as_me:$LINENO: checking for $ac_header" >&5
4429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4431 echo $ECHO_N "(cached) $ECHO_C" >&6
4433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4436 # Is the header compilable?
4437 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4438 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4439 cat >conftest.$ac_ext <<_ACEOF
4442 cat confdefs.h >>conftest.$ac_ext
4443 cat >>conftest.$ac_ext <<_ACEOF
4444 /* end confdefs.h. */
4445 $ac_includes_default
4446 #include <$ac_header>
4448 rm -f conftest.$ac_objext
4449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4450 (eval $ac_compile) 2>conftest.er1
4452 grep -v '^ *+' conftest.er1 >conftest.err
4454 cat conftest.err >&5
4455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456 (exit $ac_status); } &&
4457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); }; } &&
4463 { ac_try='test -s conftest.$ac_objext'
4464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); }; }; then
4469 ac_header_compiler=yes
4471 echo "$as_me: failed program was:" >&5
4472 sed 's/^/| /' conftest.$ac_ext >&5
4474 ac_header_compiler=no
4476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4478 echo "${ECHO_T}$ac_header_compiler" >&6
4480 # Is the header present?
4481 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4482 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4483 cat >conftest.$ac_ext <<_ACEOF
4486 cat confdefs.h >>conftest.$ac_ext
4487 cat >>conftest.$ac_ext <<_ACEOF
4488 /* end confdefs.h. */
4489 #include <$ac_header>
4491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4492 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4494 grep -v '^ *+' conftest.er1 >conftest.err
4496 cat conftest.err >&5
4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); } >/dev/null; then
4499 if test -s conftest.err; then
4500 ac_cpp_err=$ac_c_preproc_warn_flag
4501 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4508 if test -z "$ac_cpp_err"; then
4509 ac_header_preproc=yes
4511 echo "$as_me: failed program was:" >&5
4512 sed 's/^/| /' conftest.$ac_ext >&5
4514 ac_header_preproc=no
4516 rm -f conftest.err conftest.$ac_ext
4517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4518 echo "${ECHO_T}$ac_header_preproc" >&6
4520 # So? What about this header?
4521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4523 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4524 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4526 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4527 ac_header_preproc=yes
4530 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4531 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4532 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4533 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4534 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4535 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4536 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4537 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4539 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4540 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4541 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4544 ## ------------------------------------------ ##
4545 ## Report this to the AC_PACKAGE_NAME lists. ##
4546 ## ------------------------------------------ ##
4549 sed "s/^/$as_me: WARNING: /" >&2
4552 echo "$as_me:$LINENO: checking for $ac_header" >&5
4553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4557 eval "$as_ac_Header=\$ac_header_preproc"
4559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4560 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4563 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4564 cat >>confdefs.h <<_ACEOF
4565 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4572 if test $ac_cv_header_locale_h = yes; then
4573 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
4574 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
4575 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
4576 echo $ECHO_N "(cached) $ECHO_C" >&6
4578 cat >conftest.$ac_ext <<_ACEOF
4581 cat confdefs.h >>conftest.$ac_ext
4582 cat >>conftest.$ac_ext <<_ACEOF
4583 /* end confdefs.h. */
4593 rm -f conftest.$ac_objext conftest$ac_exeext
4594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4595 (eval $ac_link) 2>conftest.er1
4597 grep -v '^ *+' conftest.er1 >conftest.err
4599 cat conftest.err >&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); } &&
4602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); }; } &&
4608 { ac_try='test -s conftest$ac_exeext'
4609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613 (exit $ac_status); }; }; then
4614 am_cv_val_LC_MESSAGES=yes
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.$ac_ext >&5
4619 am_cv_val_LC_MESSAGES=no
4621 rm -f conftest.err conftest.$ac_objext \
4622 conftest$ac_exeext conftest.$ac_ext
4624 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
4625 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
4626 if test $am_cv_val_LC_MESSAGES = yes; then
4628 cat >>confdefs.h <<\_ACEOF
4629 #define HAVE_LC_MESSAGES 1
4637 gt_cv_have_gettext=no
4643 if test "${ac_cv_header_libintl_h+set}" = set; then
4644 echo "$as_me:$LINENO: checking for libintl.h" >&5
4645 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4646 if test "${ac_cv_header_libintl_h+set}" = set; then
4647 echo $ECHO_N "(cached) $ECHO_C" >&6
4649 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4650 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4652 # Is the header compilable?
4653 echo "$as_me:$LINENO: checking libintl.h usability" >&5
4654 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
4655 cat >conftest.$ac_ext <<_ACEOF
4658 cat confdefs.h >>conftest.$ac_ext
4659 cat >>conftest.$ac_ext <<_ACEOF
4660 /* end confdefs.h. */
4661 $ac_includes_default
4662 #include <libintl.h>
4664 rm -f conftest.$ac_objext
4665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4666 (eval $ac_compile) 2>conftest.er1
4668 grep -v '^ *+' conftest.er1 >conftest.err
4670 cat conftest.err >&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); } &&
4673 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); }; } &&
4679 { ac_try='test -s conftest.$ac_objext'
4680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4684 (exit $ac_status); }; }; then
4685 ac_header_compiler=yes
4687 echo "$as_me: failed program was:" >&5
4688 sed 's/^/| /' conftest.$ac_ext >&5
4690 ac_header_compiler=no
4692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4693 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4694 echo "${ECHO_T}$ac_header_compiler" >&6
4696 # Is the header present?
4697 echo "$as_me:$LINENO: checking libintl.h presence" >&5
4698 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4699 cat >conftest.$ac_ext <<_ACEOF
4702 cat confdefs.h >>conftest.$ac_ext
4703 cat >>conftest.$ac_ext <<_ACEOF
4704 /* end confdefs.h. */
4705 #include <libintl.h>
4707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4708 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4710 grep -v '^ *+' conftest.er1 >conftest.err
4712 cat conftest.err >&5
4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4714 (exit $ac_status); } >/dev/null; then
4715 if test -s conftest.err; then
4716 ac_cpp_err=$ac_c_preproc_warn_flag
4717 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4724 if test -z "$ac_cpp_err"; then
4725 ac_header_preproc=yes
4727 echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.$ac_ext >&5
4730 ac_header_preproc=no
4732 rm -f conftest.err conftest.$ac_ext
4733 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4734 echo "${ECHO_T}$ac_header_preproc" >&6
4736 # So? What about this header?
4737 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4739 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4740 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4741 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4742 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4743 ac_header_preproc=yes
4746 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4747 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4748 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
4749 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
4750 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4751 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4752 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
4753 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
4754 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4755 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4756 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4757 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4760 ## ------------------------------------------ ##
4761 ## Report this to the AC_PACKAGE_NAME lists. ##
4762 ## ------------------------------------------ ##
4765 sed "s/^/$as_me: WARNING: /" >&2
4768 echo "$as_me:$LINENO: checking for libintl.h" >&5
4769 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4770 if test "${ac_cv_header_libintl_h+set}" = set; then
4771 echo $ECHO_N "(cached) $ECHO_C" >&6
4773 ac_cv_header_libintl_h=$ac_header_preproc
4775 echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4776 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4779 if test $ac_cv_header_libintl_h = yes; then
4780 gt_cv_func_dgettext_libintl="no"
4781 libintl_extra_libs=""
4784 # First check in libc
4786 echo "$as_me:$LINENO: checking for dgettext in libc" >&5
4787 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
4788 if test "${gt_cv_func_dgettext_libc+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 cat >conftest.$ac_ext <<_ACEOF
4794 cat confdefs.h >>conftest.$ac_ext
4795 cat >>conftest.$ac_ext <<_ACEOF
4796 /* end confdefs.h. */
4798 #include <libintl.h>
4803 return (int) dgettext ("","")
4808 rm -f conftest.$ac_objext conftest$ac_exeext
4809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4810 (eval $ac_link) 2>conftest.er1
4812 grep -v '^ *+' conftest.er1 >conftest.err
4814 cat conftest.err >&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); } &&
4817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); }; } &&
4823 { ac_try='test -s conftest$ac_exeext'
4824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); }; }; then
4829 gt_cv_func_dgettext_libc=yes
4831 echo "$as_me: failed program was:" >&5
4832 sed 's/^/| /' conftest.$ac_ext >&5
4834 gt_cv_func_dgettext_libc=no
4836 rm -f conftest.err conftest.$ac_objext \
4837 conftest$ac_exeext conftest.$ac_ext
4840 echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
4841 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
4843 if test "$gt_cv_func_dgettext_libc" = "yes" ; then
4845 for ac_func in bind_textdomain_codeset
4847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4848 echo "$as_me:$LINENO: checking for $ac_func" >&5
4849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4850 if eval "test \"\${$as_ac_var+set}\" = set"; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 cat >conftest.$ac_ext <<_ACEOF
4856 cat confdefs.h >>conftest.$ac_ext
4857 cat >>conftest.$ac_ext <<_ACEOF
4858 /* end confdefs.h. */
4859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4861 #define $ac_func innocuous_$ac_func
4863 /* System header to define __stub macros and hopefully few prototypes,
4864 which can conflict with char $ac_func (); below.
4865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4866 <limits.h> exists even on freestanding compilers. */
4869 # include <limits.h>
4871 # include <assert.h>
4876 /* Override any gcc2 internal prototype to avoid an error. */
4881 /* We use char because int might match the return type of a gcc2
4882 builtin and then its argument prototype would still apply. */
4884 /* The GNU C library defines this for functions which it implements
4885 to always fail with ENOSYS. Some functions are actually named
4886 something starting with __ and the normal name is an alias. */
4887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4890 char (*f) () = $ac_func;
4899 return f != $ac_func;
4904 rm -f conftest.$ac_objext conftest$ac_exeext
4905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4906 (eval $ac_link) 2>conftest.er1
4908 grep -v '^ *+' conftest.er1 >conftest.err
4910 cat conftest.err >&5
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); } &&
4913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); }; } &&
4919 { ac_try='test -s conftest$ac_exeext'
4920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); }; }; then
4925 eval "$as_ac_var=yes"
4927 echo "$as_me: failed program was:" >&5
4928 sed 's/^/| /' conftest.$ac_ext >&5
4930 eval "$as_ac_var=no"
4932 rm -f conftest.err conftest.$ac_objext \
4933 conftest$ac_exeext conftest.$ac_ext
4935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4937 if test `eval echo '${'$as_ac_var'}'` = yes; then
4938 cat >>confdefs.h <<_ACEOF
4939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4948 # If we don't have everything we want, check in libintl
4950 if test "$gt_cv_func_dgettext_libc" != "yes" \
4951 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
4953 echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
4954 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
4955 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
4956 echo $ECHO_N "(cached) $ECHO_C" >&6
4958 ac_check_lib_save_LIBS=$LIBS
4960 cat >conftest.$ac_ext <<_ACEOF
4963 cat confdefs.h >>conftest.$ac_ext
4964 cat >>conftest.$ac_ext <<_ACEOF
4965 /* end confdefs.h. */
4967 /* Override any gcc2 internal prototype to avoid an error. */
4971 /* We use char because int might match the return type of a gcc2
4972 builtin and then its argument prototype would still apply. */
4973 char bindtextdomain ();
4982 rm -f conftest.$ac_objext conftest$ac_exeext
4983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4984 (eval $ac_link) 2>conftest.er1
4986 grep -v '^ *+' conftest.er1 >conftest.err
4988 cat conftest.err >&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); } &&
4991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 (exit $ac_status); }; } &&
4997 { ac_try='test -s conftest$ac_exeext'
4998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002 (exit $ac_status); }; }; then
5003 ac_cv_lib_intl_bindtextdomain=yes
5005 echo "$as_me: failed program was:" >&5
5006 sed 's/^/| /' conftest.$ac_ext >&5
5008 ac_cv_lib_intl_bindtextdomain=no
5010 rm -f conftest.err conftest.$ac_objext \
5011 conftest$ac_exeext conftest.$ac_ext
5012 LIBS=$ac_check_lib_save_LIBS
5014 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5015 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
5016 if test $ac_cv_lib_intl_bindtextdomain = yes; then
5017 echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
5018 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
5019 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
5020 echo $ECHO_N "(cached) $ECHO_C" >&6
5022 ac_check_lib_save_LIBS=$LIBS
5024 cat >conftest.$ac_ext <<_ACEOF
5027 cat confdefs.h >>conftest.$ac_ext
5028 cat >>conftest.$ac_ext <<_ACEOF
5029 /* end confdefs.h. */
5031 /* Override any gcc2 internal prototype to avoid an error. */
5035 /* We use char because int might match the return type of a gcc2
5036 builtin and then its argument prototype would still apply. */
5046 rm -f conftest.$ac_objext conftest$ac_exeext
5047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5048 (eval $ac_link) 2>conftest.er1
5050 grep -v '^ *+' conftest.er1 >conftest.err
5052 cat conftest.err >&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } &&
5055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060 (exit $ac_status); }; } &&
5061 { ac_try='test -s conftest$ac_exeext'
5062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066 (exit $ac_status); }; }; then
5067 ac_cv_lib_intl_dgettext=yes
5069 echo "$as_me: failed program was:" >&5
5070 sed 's/^/| /' conftest.$ac_ext >&5
5072 ac_cv_lib_intl_dgettext=no
5074 rm -f conftest.err conftest.$ac_objext \
5075 conftest$ac_exeext conftest.$ac_ext
5076 LIBS=$ac_check_lib_save_LIBS
5078 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
5079 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
5080 if test $ac_cv_lib_intl_dgettext = yes; then
5081 gt_cv_func_dgettext_libintl=yes
5087 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5088 echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
5089 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
5090 echo "$as_me:$LINENO: result: " >&5
5091 echo "${ECHO_T}" >&6
5092 echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
5093 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
5094 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
5095 echo $ECHO_N "(cached) $ECHO_C" >&6
5097 ac_check_lib_save_LIBS=$LIBS
5098 LIBS="-lintl -liconv $LIBS"
5099 cat >conftest.$ac_ext <<_ACEOF
5102 cat confdefs.h >>conftest.$ac_ext
5103 cat >>conftest.$ac_ext <<_ACEOF
5104 /* end confdefs.h. */
5106 /* Override any gcc2 internal prototype to avoid an error. */
5110 /* We use char because int might match the return type of a gcc2
5111 builtin and then its argument prototype would still apply. */
5121 rm -f conftest.$ac_objext conftest$ac_exeext
5122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5123 (eval $ac_link) 2>conftest.er1
5125 grep -v '^ *+' conftest.er1 >conftest.err
5127 cat conftest.err >&5
5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129 (exit $ac_status); } &&
5130 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); }; } &&
5136 { ac_try='test -s conftest$ac_exeext'
5137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141 (exit $ac_status); }; }; then
5142 ac_cv_lib_intl_dcgettext=yes
5144 echo "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.$ac_ext >&5
5147 ac_cv_lib_intl_dcgettext=no
5149 rm -f conftest.err conftest.$ac_objext \
5150 conftest$ac_exeext conftest.$ac_ext
5151 LIBS=$ac_check_lib_save_LIBS
5153 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
5154 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
5155 if test $ac_cv_lib_intl_dcgettext = yes; then
5156 gt_cv_func_dgettext_libintl=yes
5157 libintl_extra_libs=-liconv
5165 # If we found libintl, then check in it for bind_textdomain_codeset();
5166 # we'll prefer libc if neither have bind_textdomain_codeset(),
5167 # and both have dgettext
5169 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5170 glib_save_LIBS="$LIBS"
5171 LIBS="$LIBS -lintl $libintl_extra_libs"
5172 unset ac_cv_func_bind_textdomain_codeset
5174 for ac_func in bind_textdomain_codeset
5176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5177 echo "$as_me:$LINENO: checking for $ac_func" >&5
5178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5179 if eval "test \"\${$as_ac_var+set}\" = set"; then
5180 echo $ECHO_N "(cached) $ECHO_C" >&6
5182 cat >conftest.$ac_ext <<_ACEOF
5185 cat confdefs.h >>conftest.$ac_ext
5186 cat >>conftest.$ac_ext <<_ACEOF
5187 /* end confdefs.h. */
5188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5190 #define $ac_func innocuous_$ac_func
5192 /* System header to define __stub macros and hopefully few prototypes,
5193 which can conflict with char $ac_func (); below.
5194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5195 <limits.h> exists even on freestanding compilers. */
5198 # include <limits.h>
5200 # include <assert.h>
5205 /* Override any gcc2 internal prototype to avoid an error. */
5210 /* We use char because int might match the return type of a gcc2
5211 builtin and then its argument prototype would still apply. */
5213 /* The GNU C library defines this for functions which it implements
5214 to always fail with ENOSYS. Some functions are actually named
5215 something starting with __ and the normal name is an alias. */
5216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5219 char (*f) () = $ac_func;
5228 return f != $ac_func;
5233 rm -f conftest.$ac_objext conftest$ac_exeext
5234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5235 (eval $ac_link) 2>conftest.er1
5237 grep -v '^ *+' conftest.er1 >conftest.err
5239 cat conftest.err >&5
5240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); } &&
5242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); }; } &&
5248 { ac_try='test -s conftest$ac_exeext'
5249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253 (exit $ac_status); }; }; then
5254 eval "$as_ac_var=yes"
5256 echo "$as_me: failed program was:" >&5
5257 sed 's/^/| /' conftest.$ac_ext >&5
5259 eval "$as_ac_var=no"
5261 rm -f conftest.err conftest.$ac_objext \
5262 conftest$ac_exeext conftest.$ac_ext
5264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5266 if test `eval echo '${'$as_ac_var'}'` = yes; then
5267 cat >>confdefs.h <<_ACEOF
5268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5274 LIBS="$glib_save_LIBS"
5276 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5277 gt_cv_func_dgettext_libc=no
5279 if test "$gt_cv_func_dgettext_libc" = "yes"; then
5280 gt_cv_func_dgettext_libintl=no
5286 if test "$gt_cv_func_dgettext_libc" = "yes" \
5287 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
5288 gt_cv_have_gettext=yes
5291 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5292 INTLLIBS="-lintl $libintl_extra_libs"
5295 if test "$gt_cv_have_gettext" = "yes"; then
5297 cat >>confdefs.h <<\_ACEOF
5298 #define HAVE_GETTEXT 1
5301 # Extract the first word of "msgfmt", so it can be a program name with args.
5302 set dummy msgfmt; ac_word=$2
5303 echo "$as_me:$LINENO: checking for $ac_word" >&5
5304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5305 if test "${ac_cv_path_MSGFMT+set}" = set; then
5306 echo $ECHO_N "(cached) $ECHO_C" >&6
5310 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5313 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5314 for ac_dir in $PATH; do
5315 test -z "$ac_dir" && ac_dir=.
5316 if test -f $ac_dir/$ac_word; then
5317 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5318 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5324 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
5328 MSGFMT="$ac_cv_path_MSGFMT"
5329 if test "$MSGFMT" != "no"; then
5330 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5331 echo "${ECHO_T}$MSGFMT" >&6
5333 echo "$as_me:$LINENO: result: no" >&5
5334 echo "${ECHO_T}no" >&6
5336 if test "$MSGFMT" != "no"; then
5337 glib_save_LIBS="$LIBS"
5338 LIBS="$LIBS $INTLLIBS"
5340 for ac_func in dcgettext
5342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5343 echo "$as_me:$LINENO: checking for $ac_func" >&5
5344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5345 if eval "test \"\${$as_ac_var+set}\" = set"; then
5346 echo $ECHO_N "(cached) $ECHO_C" >&6
5348 cat >conftest.$ac_ext <<_ACEOF
5351 cat confdefs.h >>conftest.$ac_ext
5352 cat >>conftest.$ac_ext <<_ACEOF
5353 /* end confdefs.h. */
5354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5356 #define $ac_func innocuous_$ac_func
5358 /* System header to define __stub macros and hopefully few prototypes,
5359 which can conflict with char $ac_func (); below.
5360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5361 <limits.h> exists even on freestanding compilers. */
5364 # include <limits.h>
5366 # include <assert.h>
5371 /* Override any gcc2 internal prototype to avoid an error. */
5376 /* We use char because int might match the return type of a gcc2
5377 builtin and then its argument prototype would still apply. */
5379 /* The GNU C library defines this for functions which it implements
5380 to always fail with ENOSYS. Some functions are actually named
5381 something starting with __ and the normal name is an alias. */
5382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5385 char (*f) () = $ac_func;
5394 return f != $ac_func;
5399 rm -f conftest.$ac_objext conftest$ac_exeext
5400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5401 (eval $ac_link) 2>conftest.er1
5403 grep -v '^ *+' conftest.er1 >conftest.err
5405 cat conftest.err >&5
5406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5407 (exit $ac_status); } &&
5408 { ac_try='test -z "$ac_c_werror_flag" || 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_exeext'
5415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419 (exit $ac_status); }; }; then
5420 eval "$as_ac_var=yes"
5422 echo "$as_me: failed program was:" >&5
5423 sed 's/^/| /' conftest.$ac_ext >&5
5425 eval "$as_ac_var=no"
5427 rm -f conftest.err conftest.$ac_objext \
5428 conftest$ac_exeext conftest.$ac_ext
5430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5432 if test `eval echo '${'$as_ac_var'}'` = yes; then
5433 cat >>confdefs.h <<_ACEOF
5434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5440 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5441 set dummy gmsgfmt; ac_word=$2
5442 echo "$as_me:$LINENO: checking for $ac_word" >&5
5443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5444 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5445 echo $ECHO_N "(cached) $ECHO_C" >&6
5449 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5456 test -z "$as_dir" && as_dir=.
5457 for ac_exec_ext in '' $ac_executable_extensions; do
5458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5459 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5466 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5470 GMSGFMT=$ac_cv_path_GMSGFMT
5472 if test -n "$GMSGFMT"; then
5473 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5474 echo "${ECHO_T}$GMSGFMT" >&6
5476 echo "$as_me:$LINENO: result: no" >&5
5477 echo "${ECHO_T}no" >&6
5480 # Extract the first word of "xgettext", so it can be a program name with args.
5481 set dummy xgettext; ac_word=$2
5482 echo "$as_me:$LINENO: checking for $ac_word" >&5
5483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5484 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5485 echo $ECHO_N "(cached) $ECHO_C" >&6
5489 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5492 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5493 for ac_dir in $PATH; do
5494 test -z "$ac_dir" && ac_dir=.
5495 if test -f $ac_dir/$ac_word; then
5496 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5497 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5503 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5507 XGETTEXT="$ac_cv_path_XGETTEXT"
5508 if test "$XGETTEXT" != ":"; then
5509 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5510 echo "${ECHO_T}$XGETTEXT" >&6
5512 echo "$as_me:$LINENO: result: no" >&5
5513 echo "${ECHO_T}no" >&6
5516 cat >conftest.$ac_ext <<_ACEOF
5519 cat confdefs.h >>conftest.$ac_ext
5520 cat >>conftest.$ac_ext <<_ACEOF
5521 /* end confdefs.h. */
5526 extern int _nl_msg_cat_cntr;
5527 return _nl_msg_cat_cntr
5532 rm -f conftest.$ac_objext conftest$ac_exeext
5533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5534 (eval $ac_link) 2>conftest.er1
5536 grep -v '^ *+' conftest.er1 >conftest.err
5538 cat conftest.err >&5
5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540 (exit $ac_status); } &&
5541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); }; } &&
5547 { ac_try='test -s conftest$ac_exeext'
5548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); }; }; then
5556 echo "$as_me: failed program was:" >&5
5557 sed 's/^/| /' conftest.$ac_ext >&5
5561 echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
5562 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
5563 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
5564 echo $ECHO_N "(cached) $ECHO_C" >&6
5566 cat >conftest.$ac_ext <<_ACEOF
5569 cat confdefs.h >>conftest.$ac_ext
5570 cat >>conftest.$ac_ext <<_ACEOF
5571 /* end confdefs.h. */
5572 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
5573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5574 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
5576 /* System header to define __stub macros and hopefully few prototypes,
5577 which can conflict with char bind_textdomain_codeset (); below.
5578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5579 <limits.h> exists even on freestanding compilers. */
5582 # include <limits.h>
5584 # include <assert.h>
5587 #undef bind_textdomain_codeset
5589 /* Override any gcc2 internal prototype to avoid an error. */
5594 /* We use char because int might match the return type of a gcc2
5595 builtin and then its argument prototype would still apply. */
5596 char bind_textdomain_codeset ();
5597 /* The GNU C library defines this for functions which it implements
5598 to always fail with ENOSYS. Some functions are actually named
5599 something starting with __ and the normal name is an alias. */
5600 #if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
5603 char (*f) () = bind_textdomain_codeset;
5612 return f != bind_textdomain_codeset;
5617 rm -f conftest.$ac_objext conftest$ac_exeext
5618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5619 (eval $ac_link) 2>conftest.er1
5621 grep -v '^ *+' conftest.er1 >conftest.err
5623 cat conftest.err >&5
5624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625 (exit $ac_status); } &&
5626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5631 (exit $ac_status); }; } &&
5632 { ac_try='test -s conftest$ac_exeext'
5633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5637 (exit $ac_status); }; }; then
5638 ac_cv_func_bind_textdomain_codeset=yes
5640 echo "$as_me: failed program was:" >&5
5641 sed 's/^/| /' conftest.$ac_ext >&5
5643 ac_cv_func_bind_textdomain_codeset=no
5645 rm -f conftest.err conftest.$ac_objext \
5646 conftest$ac_exeext conftest.$ac_ext
5648 echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
5649 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
5650 if test $ac_cv_func_bind_textdomain_codeset = yes; then
5665 rm -f conftest.err conftest.$ac_objext \
5666 conftest$ac_exeext conftest.$ac_ext
5667 LIBS="$glib_save_LIBS"
5670 gt_cv_have_gettext=no
5678 if test "$gt_cv_have_gettext" = "yes" ; then
5680 cat >>confdefs.h <<\_ACEOF
5681 #define ENABLE_NLS 1
5686 if test "$XGETTEXT" != ":"; then
5687 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
5690 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5691 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5696 # We need to process the po/ directory.
5699 ac_config_commands="$ac_config_commands default-1"
5702 for lang in $ALL_LINGUAS; do
5703 GMOFILES="$GMOFILES $lang.gmo"
5704 POFILES="$POFILES $lang.po"
5719 if test "$gt_cv_have_gettext" = "yes"; then
5720 if test "x$ALL_LINGUAS" = "x"; then
5723 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5724 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5726 for presentlang in $ALL_LINGUAS; do
5728 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
5729 desiredlanguages="$LINGUAS"
5731 desiredlanguages="$ALL_LINGUAS"
5733 for desiredlang in $desiredlanguages; do
5734 # Use the presentlang catalog if desiredlang is
5735 # a. equal to presentlang, or
5736 # b. a variant of presentlang (because in this case,
5737 # presentlang can be used as a fallback for messages
5738 # which are not translated in the desiredlang catalog).
5739 case "$desiredlang" in
5740 "$presentlang"*) useit=yes;;
5743 if test $useit = yes; then
5744 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
5747 LINGUAS=$NEW_LINGUAS
5748 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5749 echo "${ECHO_T}$LINGUAS" >&6
5752 if test -n "$LINGUAS"; then
5753 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5758 if test -n "$ac_aux_dir"; then
5759 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
5761 if test -z "$MKINSTALLDIRS"; then
5762 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5766 test -d po || mkdir po
5767 if test "x$srcdir" != "x."; then
5768 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5769 posrcprefix="$srcdir/"
5771 posrcprefix="../$srcdir/"
5777 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5778 < $srcdir/po/POTFILES.in > po/POTFILES
5781 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"
5782 cat >confcache <<\_ACEOF
5783 # This file is a shell script that caches the results of configure
5784 # tests run on this system so they can be shared between configure
5785 # scripts and configure runs, see configure's option --config-cache.
5786 # It is not useful on other systems. If it contains results you don't
5787 # want to keep, you may remove or edit it.
5789 # config.status only pays attention to the cache file if you give it
5790 # the --recheck option to rerun configure.
5792 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5793 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5798 # The following way of writing the cache mishandles newlines in values,
5799 # but we know of no workaround that is simple, portable, and efficient.
5800 # So, don't put newlines in cache variables' values.
5801 # Ultrix sh set writes to stderr and can't be redirected directly,
5802 # and sets the high bit in the cache file unless we assign to the vars.
5805 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5807 # `set' does not quote correctly, so add quotes (double-quote
5808 # substitution turns \\\\ into \\, and sed turns \\ into \).
5811 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5814 # `set' quotes correctly as required by POSIX, so do not add quotes.
5816 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5823 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5825 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5827 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5828 if test -w $cache_file; then
5829 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5830 cat confcache >$cache_file
5832 echo "not updating unwritable cache $cache_file"
5837 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5838 # Let make expand exec_prefix.
5839 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5841 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5842 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5843 # trailing colons and then remove the whole line if VPATH becomes empty
5844 # (actually we leave an empty line to preserve line numbers).
5845 if test "x$srcdir" = x.; then
5846 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5847 s/:*\$(srcdir):*/:/;
5848 s/:*\${srcdir}:*/:/;
5850 s/^\([^=]*=[ ]*\):*/\1/;
5856 DEFS=-DHAVE_CONFIG_H
5860 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5861 # 1. Remove the extension, and $U if already installed.
5862 ac_i=`echo "$ac_i" |
5863 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5865 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5866 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5870 LTLIBOBJS=$ac_ltlibobjs
5873 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5874 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5875 Usually this means the macro was only invoked conditionally." >&5
5876 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5877 Usually this means the macro was only invoked conditionally." >&2;}
5878 { (exit 1); exit 1; }; }
5880 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5881 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5882 Usually this means the macro was only invoked conditionally." >&5
5883 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5884 Usually this means the macro was only invoked conditionally." >&2;}
5885 { (exit 1); exit 1; }; }
5887 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5888 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5889 Usually this means the macro was only invoked conditionally." >&5
5890 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5891 Usually this means the macro was only invoked conditionally." >&2;}
5892 { (exit 1); exit 1; }; }
5894 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5895 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5896 Usually this means the macro was only invoked conditionally." >&5
5897 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5898 Usually this means the macro was only invoked conditionally." >&2;}
5899 { (exit 1); exit 1; }; }
5902 : ${CONFIG_STATUS=./config.status}
5903 ac_clean_files_save=$ac_clean_files
5904 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5905 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5906 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5907 cat >$CONFIG_STATUS <<_ACEOF
5909 # Generated by $as_me.
5910 # Run this file to recreate the current configuration.
5911 # Compiler output produced by configure, useful for debugging
5912 # configure, is in config.log if it exists.
5917 SHELL=\${CONFIG_SHELL-$SHELL}
5920 cat >>$CONFIG_STATUS <<\_ACEOF
5921 ## --------------------- ##
5922 ## M4sh Initialization. ##
5923 ## --------------------- ##
5925 # Be Bourne compatible
5926 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5929 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5930 # is contrary to our usage. Disable this feature.
5931 alias -g '${1+"$@"}'='"$@"'
5932 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5935 DUALCASE=1; export DUALCASE # for MKS sh
5937 # Support unset when possible.
5938 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5945 # Work around bugs in pre-3.0 UWIN ksh.
5946 $as_unset ENV MAIL MAILPATH
5953 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5954 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5955 LC_TELEPHONE LC_TIME
5957 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5958 eval $as_var=C; export $as_var
5964 # Required to use basename.
5965 if expr a : '\(a\)' >/dev/null 2>&1; then
5971 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5972 as_basename=basename
5978 # Name of the executable.
5979 as_me=`$as_basename "$0" ||
5980 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5981 X"$0" : 'X\(//\)$' \| \
5982 X"$0" : 'X\(/\)$' \| \
5983 . : '\(.\)' 2>/dev/null ||
5985 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5986 /^X\/\(\/\/\)$/{ s//\1/; q; }
5987 /^X\/\(\/\).*/{ s//\1/; q; }
5991 # PATH needs CR, and LINENO needs CR and PATH.
5992 # Avoid depending upon Character Ranges.
5993 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5994 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5995 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5996 as_cr_digits='0123456789'
5997 as_cr_alnum=$as_cr_Letters$as_cr_digits
5999 # The user is always right.
6000 if test "${PATH_SEPARATOR+set}" != set; then
6001 echo "#! /bin/sh" >conf$$.sh
6002 echo "exit 0" >>conf$$.sh
6004 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6015 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6016 test "x$as_lineno_1" != "x$as_lineno_2" &&
6017 test "x$as_lineno_3" = "x$as_lineno_2" || {
6018 # Find who we are. Look in the path if we contain no path at all
6021 *[\\/]* ) as_myself=$0 ;;
6022 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 test -z "$as_dir" && as_dir=.
6027 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6032 # We did not find ourselves, most probably we were run as `sh COMMAND'
6033 # in which case we are not to be found in the path.
6034 if test "x$as_myself" = x; then
6037 if test ! -f "$as_myself"; then
6038 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6039 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6040 { (exit 1); exit 1; }; }
6042 case $CONFIG_SHELL in
6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6048 test -z "$as_dir" && as_dir=.
6049 for as_base in sh bash ksh sh5; do
6052 if ("$as_dir/$as_base" -c '
6055 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6056 test "x$as_lineno_1" != "x$as_lineno_2" &&
6057 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6058 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6059 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6060 CONFIG_SHELL=$as_dir/$as_base
6062 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6070 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6071 # uniformly replaced by the line number. The first 'sed' inserts a
6072 # line-number line before each line; the second 'sed' does the real
6073 # work. The second script uses 'N' to pair each line-number line
6074 # with the numbered line, and appends trailing '-' during
6075 # substitution so that $LINENO is not a special case at line end.
6076 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6077 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6078 sed '=' <$as_myself |
6083 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6086 s,^['$as_cr_digits']*\n,,
6088 chmod +x $as_me.lineno ||
6089 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6090 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6091 { (exit 1); exit 1; }; }
6093 # Don't try to exec as it changes $[0], causing all sort of problems
6094 # (the dirname of $[0] is not the place where we might find the
6095 # original and so on. Autoconf is especially sensible to this).
6097 # Exit status is that of the last command.
6102 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6103 *c*,-n*) ECHO_N= ECHO_C='
6105 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6106 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6109 if expr a : '\(a\)' >/dev/null 2>&1; then
6115 rm -f conf$$ conf$$.exe conf$$.file
6117 if ln -s conf$$.file conf$$ 2>/dev/null; then
6118 # We could just check for DJGPP; but this test a) works b) is more generic
6119 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6120 if test -f conf$$.exe; then
6121 # Don't use ln at all; we don't have any links
6126 elif ln conf$$.file conf$$ 2>/dev/null; then
6131 rm -f conf$$ conf$$.exe conf$$.file
6133 if mkdir -p . 2>/dev/null; then
6136 test -d ./-p && rmdir ./-p
6140 as_executable_p="test -f"
6142 # Sed expression to map a string onto a valid CPP name.
6143 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6145 # Sed expression to map a string onto a valid variable name.
6146 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6150 # We need space, tab and new line, in precisely that order.
6160 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6161 # report actual input values of CONFIG_FILES etc. instead of their
6162 # values after options handling. Logging --version etc. is OK.
6166 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6167 ## Running $as_me. ##
6172 This file was extended by $as_me, which was
6173 generated by GNU Autoconf 2.59. Invocation command line was
6175 CONFIG_FILES = $CONFIG_FILES
6176 CONFIG_HEADERS = $CONFIG_HEADERS
6177 CONFIG_LINKS = $CONFIG_LINKS
6178 CONFIG_COMMANDS = $CONFIG_COMMANDS
6182 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6186 # Files that config.status was made for.
6187 if test -n "$ac_config_files"; then
6188 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6191 if test -n "$ac_config_headers"; then
6192 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6195 if test -n "$ac_config_links"; then
6196 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6199 if test -n "$ac_config_commands"; then
6200 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6203 cat >>$CONFIG_STATUS <<\_ACEOF
6206 \`$as_me' instantiates files from templates according to the
6207 current configuration.
6209 Usage: $0 [OPTIONS] [FILE]...
6211 -h, --help print this help, then exit
6212 -V, --version print version number, then exit
6213 -q, --quiet do not print progress messages
6214 -d, --debug don't remove temporary files
6215 --recheck update $as_me by reconfiguring in the same conditions
6216 --file=FILE[:TEMPLATE]
6217 instantiate the configuration file FILE
6218 --header=FILE[:TEMPLATE]
6219 instantiate the configuration header FILE
6221 Configuration files:
6224 Configuration headers:
6227 Configuration commands:
6230 Report bugs to <bug-autoconf@gnu.org>."
6233 cat >>$CONFIG_STATUS <<_ACEOF
6236 configured by $0, generated by GNU Autoconf 2.59,
6237 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6239 Copyright (C) 2003 Free Software Foundation, Inc.
6240 This config.status script is free software; the Free Software Foundation
6241 gives unlimited permission to copy, distribute and modify it."
6246 cat >>$CONFIG_STATUS <<\_ACEOF
6247 # If no file are specified by the user, then we need to provide default
6248 # value. By we need to know if files were specified by the user.
6254 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6255 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6263 *) # This is not an option, so the user has probably given explicit
6266 ac_need_defaults=false;;
6270 # Handling of the options.
6272 cat >>$CONFIG_STATUS <<\_ACEOF
6273 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6275 --version | --vers* | -V )
6276 echo "$ac_cs_version"; exit 0 ;;
6278 # Conflict between --help and --header
6279 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6280 Try \`$0 --help' for more information." >&5
6281 echo "$as_me: error: ambiguous option: $1
6282 Try \`$0 --help' for more information." >&2;}
6283 { (exit 1); exit 1; }; };;
6284 --help | --hel | -h )
6285 echo "$ac_cs_usage"; exit 0 ;;
6286 --debug | --d* | -d )
6288 --file | --fil | --fi | --f )
6290 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6291 ac_need_defaults=false;;
6292 --header | --heade | --head | --hea )
6294 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6295 ac_need_defaults=false;;
6296 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6297 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6301 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6302 Try \`$0 --help' for more information." >&5
6303 echo "$as_me: error: unrecognized option: $1
6304 Try \`$0 --help' for more information." >&2;}
6305 { (exit 1); exit 1; }; } ;;
6307 *) ac_config_targets="$ac_config_targets $1" ;;
6313 ac_configure_extra_args=
6315 if $ac_cs_silent; then
6317 ac_configure_extra_args="$ac_configure_extra_args --silent"
6321 cat >>$CONFIG_STATUS <<_ACEOF
6322 if \$ac_cs_recheck; then
6323 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6324 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6329 cat >>$CONFIG_STATUS <<_ACEOF
6331 # INIT-COMMANDS section.
6334 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6341 cat >>$CONFIG_STATUS <<\_ACEOF
6342 for ac_config_target in $ac_config_targets
6344 case "$ac_config_target" in
6345 # Handling of arguments.
6346 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6347 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6348 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
6349 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6350 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
6351 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6352 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6353 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6354 { (exit 1); exit 1; }; };;
6358 # If the user did not use the arguments to specify the items to instantiate,
6359 # then the envvar interface is used. Set only those that are not.
6360 # We use the long form for the default assignment because of an extremely
6361 # bizarre bug on SunOS 4.1.3.
6362 if $ac_need_defaults; then
6363 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6364 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6365 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6368 # Have a temporary directory for convenience. Make it in the build tree
6369 # simply because there is no reason to put it here, and in addition,
6370 # creating and moving files from /tmp can sometimes cause problems.
6371 # Create a temporary directory, and hook for its removal unless debugging.
6374 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6375 trap '{ (exit 1); exit 1; }' 1 2 13 15
6378 # Create a (secure) tmp directory for tmp files.
6381 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6382 test -n "$tmp" && test -d "$tmp"
6385 tmp=./confstat$$-$RANDOM
6386 (umask 077 && mkdir $tmp)
6389 echo "$me: cannot create a temporary directory in ." >&2
6390 { (exit 1); exit 1; }
6395 cat >>$CONFIG_STATUS <<_ACEOF
6398 # CONFIG_FILES section.
6401 # No need to generate the scripts if there are no CONFIG_FILES.
6402 # This happens for instance when ./config.status config.h
6403 if test -n "\$CONFIG_FILES"; then
6404 # Protect against being on the right side of a sed subst in config.status.
6405 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6406 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6407 s,@SHELL@,$SHELL,;t t
6408 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6409 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6410 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6411 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6412 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6413 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6414 s,@exec_prefix@,$exec_prefix,;t t
6415 s,@prefix@,$prefix,;t t
6416 s,@program_transform_name@,$program_transform_name,;t t
6417 s,@bindir@,$bindir,;t t
6418 s,@sbindir@,$sbindir,;t t
6419 s,@libexecdir@,$libexecdir,;t t
6420 s,@datadir@,$datadir,;t t
6421 s,@sysconfdir@,$sysconfdir,;t t
6422 s,@sharedstatedir@,$sharedstatedir,;t t
6423 s,@localstatedir@,$localstatedir,;t t
6424 s,@libdir@,$libdir,;t t
6425 s,@includedir@,$includedir,;t t
6426 s,@oldincludedir@,$oldincludedir,;t t
6427 s,@infodir@,$infodir,;t t
6428 s,@mandir@,$mandir,;t t
6429 s,@build_alias@,$build_alias,;t t
6430 s,@host_alias@,$host_alias,;t t
6431 s,@target_alias@,$target_alias,;t t
6433 s,@ECHO_C@,$ECHO_C,;t t
6434 s,@ECHO_N@,$ECHO_N,;t t
6435 s,@ECHO_T@,$ECHO_T,;t t
6437 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6438 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6439 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6440 s,@CYGPATH_W@,$CYGPATH_W,;t t
6441 s,@PACKAGE@,$PACKAGE,;t t
6442 s,@VERSION@,$VERSION,;t t
6443 s,@ACLOCAL@,$ACLOCAL,;t t
6444 s,@AUTOCONF@,$AUTOCONF,;t t
6445 s,@AUTOMAKE@,$AUTOMAKE,;t t
6446 s,@AUTOHEADER@,$AUTOHEADER,;t t
6447 s,@MAKEINFO@,$MAKEINFO,;t t
6448 s,@AMTAR@,$AMTAR,;t t
6449 s,@install_sh@,$install_sh,;t t
6450 s,@STRIP@,$STRIP,;t t
6451 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6452 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6454 s,@SET_MAKE@,$SET_MAKE,;t t
6455 s,@am__leading_dot@,$am__leading_dot,;t t
6456 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6457 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6458 s,@MAINT@,$MAINT,;t t
6460 s,@CFLAGS@,$CFLAGS,;t t
6461 s,@LDFLAGS@,$LDFLAGS,;t t
6462 s,@CPPFLAGS@,$CPPFLAGS,;t t
6463 s,@ac_ct_CC@,$ac_ct_CC,;t t
6464 s,@EXEEXT@,$EXEEXT,;t t
6465 s,@OBJEXT@,$OBJEXT,;t t
6466 s,@DEPDIR@,$DEPDIR,;t t
6467 s,@am__include@,$am__include,;t t
6468 s,@am__quote@,$am__quote,;t t
6469 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6470 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6471 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6472 s,@CCDEPMODE@,$CCDEPMODE,;t t
6473 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6474 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6476 s,@EGREP@,$EGREP,;t t
6477 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
6478 s,@PACKAGE_CFLAGS@,$PACKAGE_CFLAGS,;t t
6479 s,@PACKAGE_LIBS@,$PACKAGE_LIBS,;t t
6480 s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
6481 s,@USE_NLS@,$USE_NLS,;t t
6482 s,@MSGFMT@,$MSGFMT,;t t
6483 s,@GMSGFMT@,$GMSGFMT,;t t
6484 s,@XGETTEXT@,$XGETTEXT,;t t
6485 s,@CATALOGS@,$CATALOGS,;t t
6486 s,@CATOBJEXT@,$CATOBJEXT,;t t
6487 s,@DATADIRNAME@,$DATADIRNAME,;t t
6488 s,@GMOFILES@,$GMOFILES,;t t
6489 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
6490 s,@INTLLIBS@,$INTLLIBS,;t t
6491 s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
6492 s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
6493 s,@POFILES@,$POFILES,;t t
6494 s,@POSUB@,$POSUB,;t t
6495 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
6496 s,@LIBOBJS@,$LIBOBJS,;t t
6497 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6502 cat >>$CONFIG_STATUS <<\_ACEOF
6503 # Split the substitutions into bite-sized pieces for seds with
6504 # small command number limits, like on Digital OSF/1 and HP-UX.
6506 ac_sed_frag=1 # Number of current file.
6507 ac_beg=1 # First line for current file.
6508 ac_end=$ac_max_sed_lines # Line after last line for current file.
6511 while $ac_more_lines; do
6512 if test $ac_beg -gt 1; then
6513 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6515 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6517 if test ! -s $tmp/subs.frag; then
6520 # The purpose of the label and of the branching condition is to
6521 # speed up the sed processing (if there are no `@' at all, there
6522 # is no need to browse any of the substitutions).
6523 # These are the two extra sed commands mentioned above.
6525 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6526 if test -z "$ac_sed_cmds"; then
6527 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6529 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6531 ac_sed_frag=`expr $ac_sed_frag + 1`
6533 ac_end=`expr $ac_end + $ac_max_sed_lines`
6536 if test -z "$ac_sed_cmds"; then
6539 fi # test -n "$CONFIG_FILES"
6542 cat >>$CONFIG_STATUS <<\_ACEOF
6543 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6544 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6546 - | *:- | *:-:* ) # input from stdin
6548 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6549 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6550 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6551 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6552 * ) ac_file_in=$ac_file.in ;;
6555 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6556 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6557 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6558 X"$ac_file" : 'X\(//\)[^/]' \| \
6559 X"$ac_file" : 'X\(//\)$' \| \
6560 X"$ac_file" : 'X\(/\)' \| \
6561 . : '\(.\)' 2>/dev/null ||
6563 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6564 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6565 /^X\(\/\/\)$/{ s//\1/; q; }
6566 /^X\(\/\).*/{ s//\1/; q; }
6568 { if $as_mkdir_p; then
6573 while test ! -d "$as_dir"; do
6574 as_dirs="$as_dir $as_dirs"
6575 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6576 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6577 X"$as_dir" : 'X\(//\)[^/]' \| \
6578 X"$as_dir" : 'X\(//\)$' \| \
6579 X"$as_dir" : 'X\(/\)' \| \
6580 . : '\(.\)' 2>/dev/null ||
6582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6583 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6584 /^X\(\/\/\)$/{ s//\1/; q; }
6585 /^X\(\/\).*/{ s//\1/; q; }
6588 test ! -n "$as_dirs" || mkdir $as_dirs
6589 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6590 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6591 { (exit 1); exit 1; }; }; }
6595 if test "$ac_dir" != .; then
6596 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6597 # A "../" for each directory in $ac_dir_suffix.
6598 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6600 ac_dir_suffix= ac_top_builddir=
6604 .) # No --srcdir option. We are building in place.
6606 if test -z "$ac_top_builddir"; then
6609 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6611 [\\/]* | ?:[\\/]* ) # Absolute path.
6612 ac_srcdir=$srcdir$ac_dir_suffix;
6613 ac_top_srcdir=$srcdir ;;
6615 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6616 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6619 # Do not use `cd foo && pwd` to compute absolute paths, because
6620 # the directories may not exist.
6622 .) ac_abs_builddir="$ac_dir";;
6625 .) ac_abs_builddir=`pwd`;;
6626 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6627 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6630 case $ac_abs_builddir in
6631 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6633 case ${ac_top_builddir}. in
6634 .) ac_abs_top_builddir=$ac_abs_builddir;;
6635 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6636 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6639 case $ac_abs_builddir in
6640 .) ac_abs_srcdir=$ac_srcdir;;
6643 .) ac_abs_srcdir=$ac_abs_builddir;;
6644 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6645 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6648 case $ac_abs_builddir in
6649 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6651 case $ac_top_srcdir in
6652 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6653 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6654 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6660 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6661 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6664 # Let's still pretend it is `configure' which instantiates (i.e., don't
6665 # use $as_me), people would be surprised to read:
6666 # /* config.h. Generated by config.status. */
6667 if test x"$ac_file" = x-; then
6670 configure_input="$ac_file. "
6672 configure_input=$configure_input"Generated from `echo $ac_file_in |
6673 sed 's,.*/,,'` by configure."
6675 # First look for the input files in the build tree, otherwise in the
6677 ac_file_inputs=`IFS=:
6678 for f in $ac_file_in; do
6680 -) echo $tmp/stdin ;;
6682 # Absolute (can't be DOS-style, as IFS=:)
6683 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6684 echo "$as_me: error: cannot find input file: $f" >&2;}
6685 { (exit 1); exit 1; }; }
6688 if test -f "$f"; then
6691 elif test -f "$srcdir/$f"; then
6696 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6697 echo "$as_me: error: cannot find input file: $f" >&2;}
6698 { (exit 1); exit 1; }; }
6701 done` || { (exit 1); exit 1; }
6703 if test x"$ac_file" != x-; then
6704 { echo "$as_me:$LINENO: creating $ac_file" >&5
6705 echo "$as_me: creating $ac_file" >&6;}
6709 cat >>$CONFIG_STATUS <<_ACEOF
6713 cat >>$CONFIG_STATUS <<\_ACEOF
6715 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6716 s,@configure_input@,$configure_input,;t t
6717 s,@srcdir@,$ac_srcdir,;t t
6718 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6719 s,@top_srcdir@,$ac_top_srcdir,;t t
6720 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6721 s,@builddir@,$ac_builddir,;t t
6722 s,@abs_builddir@,$ac_abs_builddir,;t t
6723 s,@top_builddir@,$ac_top_builddir,;t t
6724 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6725 s,@INSTALL@,$ac_INSTALL,;t t
6726 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6728 if test x"$ac_file" != x-; then
6729 mv $tmp/out $ac_file
6737 cat >>$CONFIG_STATUS <<\_ACEOF
6740 # CONFIG_HEADER section.
6743 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6744 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6746 # ac_d sets the value in "#define NAME VALUE" lines.
6747 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6748 ac_dB='[ ].*$,\1#\2'
6751 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6752 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6753 ac_uB='$,\1#\2define\3'
6757 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6758 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6760 - | *:- | *:-:* ) # input from stdin
6762 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6763 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6764 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6765 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6766 * ) ac_file_in=$ac_file.in ;;
6769 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6770 echo "$as_me: creating $ac_file" >&6;}
6772 # First look for the input files in the build tree, otherwise in the
6774 ac_file_inputs=`IFS=:
6775 for f in $ac_file_in; do
6777 -) echo $tmp/stdin ;;
6779 # Absolute (can't be DOS-style, as IFS=:)
6780 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6781 echo "$as_me: error: cannot find input file: $f" >&2;}
6782 { (exit 1); exit 1; }; }
6783 # Do quote $f, to prevent DOS paths from being IFS'd.
6786 if test -f "$f"; then
6789 elif test -f "$srcdir/$f"; then
6794 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6795 echo "$as_me: error: cannot find input file: $f" >&2;}
6796 { (exit 1); exit 1; }; }
6799 done` || { (exit 1); exit 1; }
6800 # Remove the trailing spaces.
6801 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6805 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6806 # `conftest.undefs', that substitutes the proper values into
6807 # config.h.in to produce config.h. The first handles `#define'
6808 # templates, and the second `#undef' templates.
6809 # And first: Protect against being on the right side of a sed subst in
6810 # config.status. Protect against being in an unquoted here document
6812 rm -f conftest.defines conftest.undefs
6813 # Using a here document instead of a string reduces the quoting nightmare.
6814 # Putting comments in sed scripts is not portable.
6816 # `end' is used to avoid that the second main sed command (meant for
6817 # 0-ary CPP macros) applies to n-ary macro definitions.
6818 # See the Autoconf documentation for `clear'.
6819 cat >confdef2sed.sed <<\_ACEOF
6824 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6826 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6829 # If some macros were called several times there might be several times
6830 # the same #defines, which is useless. Nevertheless, we may not want to
6831 # sort them, since we want the *last* AC-DEFINE to be honored.
6832 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6833 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6834 rm -f confdef2sed.sed
6836 # This sed command replaces #undef with comments. This is necessary, for
6837 # example, in the case of _POSIX_SOURCE, which is predefined and required
6838 # on some systems where configure will not decide to define it.
6839 cat >>conftest.undefs <<\_ACEOF
6840 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6843 # Break up conftest.defines because some shells have a limit on the size
6844 # of here documents, and old seds have small limits too (100 cmds).
6845 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6846 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6847 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6848 echo ' :' >>$CONFIG_STATUS
6850 while grep . conftest.defines >/dev/null
6852 # Write a limited-size here document to $tmp/defines.sed.
6853 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6854 # Speed up: don't consider the non `#define' lines.
6855 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6856 # Work around the forget-to-reset-the-flag bug.
6857 echo 't clr' >>$CONFIG_STATUS
6858 echo ': clr' >>$CONFIG_STATUS
6859 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6861 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6865 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6866 rm -f conftest.defines
6867 mv conftest.tail conftest.defines
6869 rm -f conftest.defines
6870 echo ' fi # grep' >>$CONFIG_STATUS
6871 echo >>$CONFIG_STATUS
6873 # Break up conftest.undefs because some shells have a limit on the size
6874 # of here documents, and old seds have small limits too (100 cmds).
6875 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6877 while grep . conftest.undefs >/dev/null
6879 # Write a limited-size here document to $tmp/undefs.sed.
6880 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6881 # Speed up: don't consider the non `#undef'
6882 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6883 # Work around the forget-to-reset-the-flag bug.
6884 echo 't clr' >>$CONFIG_STATUS
6885 echo ': clr' >>$CONFIG_STATUS
6886 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6888 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6892 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6893 rm -f conftest.undefs
6894 mv conftest.tail conftest.undefs
6896 rm -f conftest.undefs
6898 cat >>$CONFIG_STATUS <<\_ACEOF
6899 # Let's still pretend it is `configure' which instantiates (i.e., don't
6900 # use $as_me), people would be surprised to read:
6901 # /* config.h. Generated by config.status. */
6902 if test x"$ac_file" = x-; then
6903 echo "/* Generated by configure. */" >$tmp/config.h
6905 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6907 cat $tmp/in >>$tmp/config.h
6909 if test x"$ac_file" != x-; then
6910 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6911 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6912 echo "$as_me: $ac_file is unchanged" >&6;}
6914 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6915 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6916 X"$ac_file" : 'X\(//\)[^/]' \| \
6917 X"$ac_file" : 'X\(//\)$' \| \
6918 X"$ac_file" : 'X\(/\)' \| \
6919 . : '\(.\)' 2>/dev/null ||
6921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6922 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6923 /^X\(\/\/\)$/{ s//\1/; q; }
6924 /^X\(\/\).*/{ s//\1/; q; }
6926 { if $as_mkdir_p; then
6931 while test ! -d "$as_dir"; do
6932 as_dirs="$as_dir $as_dirs"
6933 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6934 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6935 X"$as_dir" : 'X\(//\)[^/]' \| \
6936 X"$as_dir" : 'X\(//\)$' \| \
6937 X"$as_dir" : 'X\(/\)' \| \
6938 . : '\(.\)' 2>/dev/null ||
6940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6941 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6942 /^X\(\/\/\)$/{ s//\1/; q; }
6943 /^X\(\/\).*/{ s//\1/; q; }
6946 test ! -n "$as_dirs" || mkdir $as_dirs
6947 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6948 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6949 { (exit 1); exit 1; }; }; }
6952 mv $tmp/config.h $ac_file
6958 # Compute $ac_file's index in $config_headers.
6960 for _am_header in $config_headers :; do
6962 $ac_file | $ac_file:* )
6965 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6968 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6969 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6970 X$ac_file : 'X\(//\)[^/]' \| \
6971 X$ac_file : 'X\(//\)$' \| \
6972 X$ac_file : 'X\(/\)' \| \
6973 . : '\(.\)' 2>/dev/null ||
6975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6976 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6977 /^X\(\/\/\)$/{ s//\1/; q; }
6978 /^X\(\/\).*/{ s//\1/; q; }
6979 s/.*/./; q'`/stamp-h$_am_stamp_count
6982 cat >>$CONFIG_STATUS <<\_ACEOF
6985 # CONFIG_COMMANDS section.
6987 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6988 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6989 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6990 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6991 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6992 X"$ac_dest" : 'X\(//\)[^/]' \| \
6993 X"$ac_dest" : 'X\(//\)$' \| \
6994 X"$ac_dest" : 'X\(/\)' \| \
6995 . : '\(.\)' 2>/dev/null ||
6997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6998 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6999 /^X\(\/\/\)$/{ s//\1/; q; }
7000 /^X\(\/\).*/{ s//\1/; q; }
7002 { if $as_mkdir_p; then
7007 while test ! -d "$as_dir"; do
7008 as_dirs="$as_dir $as_dirs"
7009 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7010 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7011 X"$as_dir" : 'X\(//\)[^/]' \| \
7012 X"$as_dir" : 'X\(//\)$' \| \
7013 X"$as_dir" : 'X\(/\)' \| \
7014 . : '\(.\)' 2>/dev/null ||
7016 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7017 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7018 /^X\(\/\/\)$/{ s//\1/; q; }
7019 /^X\(\/\).*/{ s//\1/; q; }
7022 test ! -n "$as_dirs" || mkdir $as_dirs
7023 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7024 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7025 { (exit 1); exit 1; }; }; }
7029 if test "$ac_dir" != .; then
7030 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7031 # A "../" for each directory in $ac_dir_suffix.
7032 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7034 ac_dir_suffix= ac_top_builddir=
7038 .) # No --srcdir option. We are building in place.
7040 if test -z "$ac_top_builddir"; then
7043 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7045 [\\/]* | ?:[\\/]* ) # Absolute path.
7046 ac_srcdir=$srcdir$ac_dir_suffix;
7047 ac_top_srcdir=$srcdir ;;
7049 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7050 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7053 # Do not use `cd foo && pwd` to compute absolute paths, because
7054 # the directories may not exist.
7056 .) ac_abs_builddir="$ac_dir";;
7059 .) ac_abs_builddir=`pwd`;;
7060 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7061 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7064 case $ac_abs_builddir in
7065 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7067 case ${ac_top_builddir}. in
7068 .) ac_abs_top_builddir=$ac_abs_builddir;;
7069 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7070 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7073 case $ac_abs_builddir in
7074 .) ac_abs_srcdir=$ac_srcdir;;
7077 .) ac_abs_srcdir=$ac_abs_builddir;;
7078 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7079 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7082 case $ac_abs_builddir in
7083 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7085 case $ac_top_srcdir in
7086 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7087 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7088 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7093 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7094 echo "$as_me: executing $ac_dest commands" >&6;}
7096 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7097 # Strip MF so we end up with the name of the file.
7098 mf=`echo "$mf" | sed -e 's/:.*$//'`
7099 # Check whether this is an Automake generated Makefile or not.
7100 # We used to match only the files named `Makefile.in', but
7101 # some people rename them; so instead we look at the file content.
7102 # Grep'ing the first line is not enough: some people post-process
7103 # each Makefile.in and add a new line on top of each file to say so.
7104 # So let's grep whole file.
7105 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7106 dirpart=`(dirname "$mf") 2>/dev/null ||
7107 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7108 X"$mf" : 'X\(//\)[^/]' \| \
7109 X"$mf" : 'X\(//\)$' \| \
7110 X"$mf" : 'X\(/\)' \| \
7111 . : '\(.\)' 2>/dev/null ||
7113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7114 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7115 /^X\(\/\/\)$/{ s//\1/; q; }
7116 /^X\(\/\).*/{ s//\1/; q; }
7121 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
7122 # Extract the definition of DEP_FILES from the Makefile without
7124 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
7125 test -z "$DEPDIR" && continue
7126 # When using ansi2knr, U may be empty or an underscore; expand it
7127 U=`sed -n -e '/^U = / s///p' < "$mf"`
7128 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7129 # We invoke sed twice because it is the simplest approach to
7130 # changing $(DEPDIR) to its actual value in the expansion.
7131 for file in `sed -n -e '
7132 /^DEP_FILES = .*\\\\$/ {
7141 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7142 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7143 # Make sure the directory exists.
7144 test -f "$dirpart/$file" && continue
7145 fdir=`(dirname "$file") 2>/dev/null ||
7146 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7147 X"$file" : 'X\(//\)[^/]' \| \
7148 X"$file" : 'X\(//\)$' \| \
7149 X"$file" : 'X\(/\)' \| \
7150 . : '\(.\)' 2>/dev/null ||
7152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7153 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7154 /^X\(\/\/\)$/{ s//\1/; q; }
7155 /^X\(\/\).*/{ s//\1/; q; }
7157 { if $as_mkdir_p; then
7158 mkdir -p $dirpart/$fdir
7160 as_dir=$dirpart/$fdir
7162 while test ! -d "$as_dir"; do
7163 as_dirs="$as_dir $as_dirs"
7164 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7165 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7166 X"$as_dir" : 'X\(//\)[^/]' \| \
7167 X"$as_dir" : 'X\(//\)$' \| \
7168 X"$as_dir" : 'X\(/\)' \| \
7169 . : '\(.\)' 2>/dev/null ||
7171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7172 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7173 /^X\(\/\/\)$/{ s//\1/; q; }
7174 /^X\(\/\).*/{ s//\1/; q; }
7177 test ! -n "$as_dirs" || mkdir $as_dirs
7178 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7179 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7180 { (exit 1); exit 1; }; }; }
7182 # echo "creating $dirpart/$file"
7183 echo '# dummy' > "$dirpart/$file"
7187 default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*)
7188 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
7194 cat >>$CONFIG_STATUS <<\_ACEOF
7196 { (exit 0); exit 0; }
7198 chmod +x $CONFIG_STATUS
7199 ac_clean_files=$ac_clean_files_save
7202 # configure is writing to config.log, and then calls config.status.
7203 # config.status does its own redirection, appending to config.log.
7204 # Unfortunately, on DOS this fails, as config.log is still kept open
7205 # by configure, so config.status won't be able to write to it; its
7206 # output is simply discarded. So we exec the FD to /dev/null,
7207 # effectively closing config.log, so it can be properly (re)opened and
7208 # appended to by config.status. When coming back to configure, we
7209 # need to make the FD available again.
7210 if test "$no_create" != yes; then
7212 ac_config_status_args=
7213 test "$silent" = yes &&
7214 ac_config_status_args="$ac_config_status_args --quiet"
7216 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7218 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7219 # would make configure fail if this is the last instruction.
7220 $ac_cs_success || { (exit 1); exit 1; }
.