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
="gprof.c"
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL PKGVERSION REPORT_BUGS_TO USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE CPP EGREP WARN_CFLAGS NO_WERROR datarootdir docdir htmldir 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
840 --build=BUILD configure
for building on BUILD
[guessed
]
841 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
842 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
846 if test -n "$ac_init_help"; then
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --disable-dependency-tracking speeds up one-time build
854 --enable-dependency-tracking do not reject slow dependency extractors
855 --enable-shared=PKGS build shared libraries default
=yes
856 --enable-static=PKGS build static libraries default
=yes
857 --enable-fast-install=PKGS optimize
for fast installation default
=yes
858 --disable-libtool-lock avoid locking
(might
break parallel builds
)
859 --disable-nls do not use Native Language Support
860 --enable-maintainer-mode enable make rules and dependencies not useful
861 (and sometimes confusing
) to the casual installer
862 --enable-werror treat compile warnings as errors
863 --enable-build-warnings enable build-time compiler warnings
866 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
867 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
868 --with-gnu-ld assume the C compiler uses GNU ld default
=no
869 --with-pic try to use only PIC
/non-PIC objects default
=use both
870 --with-pkgversion=PKG Add PKG to the version string
871 --with-bugurl=URL Direct users to URL to report a bug
873 Some influential environment variables
:
874 CC C compiler
command
875 CFLAGS C compiler flags
876 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
877 nonstandard directory
<lib dir
>
878 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
879 headers
in a nonstandard directory
<include dir
>
882 Use these variables to override the choices made by
`configure' or to help
883 it to find libraries and programs with nonstandard names/locations.
888 if test "$ac_init_help" = "recursive"; then
889 # If there are subdirs, report their specific --help.
891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
892 test -d $ac_dir || continue
895 if test "$ac_dir" != .; then
896 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
897 # A "../" for each directory in $ac_dir_suffix.
898 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
900 ac_dir_suffix= ac_top_builddir=
904 .) # No --srcdir option. We are building in place.
906 if test -z "$ac_top_builddir"; then
909 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
911 [\\/]* | ?:[\\/]* ) # Absolute path.
912 ac_srcdir=$srcdir$ac_dir_suffix;
913 ac_top_srcdir=$srcdir ;;
915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
916 ac_top_srcdir=$ac_top_builddir$srcdir ;;
919 # Do not use `cd foo
&& pwd` to compute absolute paths, because
920 # the directories may not exist.
922 .) ac_abs_builddir="$ac_dir";;
925 .) ac_abs_builddir=`pwd`;;
926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
927 *) ac_abs_builddir=`pwd`/"$ac_dir";;
930 case $ac_abs_builddir in
931 .) ac_abs_top_builddir=${ac_top_builddir}.;;
933 case ${ac_top_builddir}. in
934 .) ac_abs_top_builddir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
939 case $ac_abs_builddir in
940 .) ac_abs_srcdir=$ac_srcdir;;
943 .) ac_abs_srcdir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
948 case $ac_abs_builddir in
949 .) ac_abs_top_srcdir=$ac_top_srcdir;;
951 case $ac_top_srcdir in
952 .) ac_abs_top_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
959 # Check for guested configure; otherwise get Cygnus style configure.
960 if test -f $ac_srcdir/configure.gnu; then
962 $SHELL $ac_srcdir/configure.gnu --help=recursive
963 elif test -f $ac_srcdir/configure; then
965 $SHELL $ac_srcdir/configure --help=recursive
966 elif test -f $ac_srcdir/configure.ac ||
967 test -f $ac_srcdir/configure.in; then
971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
977 test -n "$ac_init_help" && exit 0
978 if $ac_init_version; then
981 Copyright (C) 2003 Free Software Foundation, Inc.
982 This configure script is free software; the Free Software Foundation
983 gives unlimited permission to copy, distribute and modify it.
989 This file contains any messages produced by compilers while
990 running configure, to aid debugging if configure makes a mistake.
992 It was created by $as_me, which was
993 generated by GNU Autoconf 2.59. Invocation command line was
1004 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1005 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1006 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1007 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1008 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1010 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1011 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1013 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1014 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1015 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1016 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1017 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1018 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1019 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1027 test -z "$as_dir" && as_dir=.
1028 echo "PATH: $as_dir"
1043 # Keep a trace of the command line.
1044 # Strip out --no-create and --no-recursion so they do not pile up.
1045 # Strip out --silent because we don't want to record it for future runs.
1046 # Also quote any args containing shell meta-characters.
1047 # Make two passes to allow for proper duplicate-argument suppression.
1052 ac_must_keep_next=false
1058 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060 | -silent | --silent | --silen | --sile | --sil)
1062 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1063 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1066 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1068 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1069 if test $ac_must_keep_next = true; then
1070 ac_must_keep_next=false # Got value, back to normal.
1073 *=* | --config-cache | -C | -disable-* | --disable-* \
1074 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1075 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1076 | -with-* | --with-* | -without-* | --without-* | --x)
1077 case "$ac_configure_args0 " in
1078 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1081 -* ) ac_must_keep_next=true ;;
1084 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1085 # Get rid of the leading space.
1091 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1092 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1094 # When interrupted or exit'd, cleanup temporary files, and complete
1095 # config.log. We remove comments because anyway the quotes in there
1096 # would cause problems or look ugly.
1097 # WARNING: Be sure not to use single quotes in there, as some shells,
1098 # such as our DU 5.0 friend, will then `close
' the trap.
1099 trap 'exit_status
=$?
1100 # Save into config.log some information that might help in debugging.
1105 ## ---------------- ##
1106 ## Cache variables. ##
1107 ## ---------------- ##
1110 # The following way of writing the cache mishandles newlines in values,
1113 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1116 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1117 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1121 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1128 ## ----------------- ##
1129 ## Output variables. ##
1130 ## ----------------- ##
1133 for ac_var
in $ac_subst_vars
1135 eval ac_val
=$
`echo $ac_var`
1136 echo "$ac_var='"'"'$ac_val'"'"'"
1140 if test -n "$ac_subst_files"; then
1147 for ac_var
in $ac_subst_files
1149 eval ac_val
=$
`echo $ac_var`
1150 echo "$ac_var='"'"'$ac_val'"'"'"
1155 if test -s confdefs.h
; then
1162 sed "/^$/d" confdefs.h |
sort
1165 test "$ac_signal" != 0 &&
1166 echo "$as_me: caught signal $ac_signal"
1167 echo "$as_me: exit $exit_status"
1169 rm -f core
*.core
&&
1170 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1173 for ac_signal in 1 2 13 15; do
1174 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1178 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1179 rm -rf conftest* confdefs.h
1180 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1183 # Predefined preprocessor variables.
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_NAME "$PACKAGE_NAME"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_STRING "$PACKAGE_STRING"
1205 cat >>confdefs.h <<_ACEOF
1206 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1210 # Let the site file select an alternate cache file if it wants to.
1211 # Prefer explicitly selected file to automatically selected ones.
1212 if test -z "$CONFIG_SITE"; then
1213 if test "x$prefix" != xNONE; then
1214 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1216 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1219 for ac_site_file in $CONFIG_SITE; do
1220 if test -r "$ac_site_file"; then
1221 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1222 echo "$as_me: loading site script $ac_site_file" >&6;}
1223 sed 's
/^
/|
/' "$ac_site_file" >&5
1228 if test -r "$cache_file"; then
1229 # Some versions of bash will fail to source /dev/null (special
1230 # files actually), so we avoid doing that.
1231 if test -f "$cache_file"; then
1232 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1233 echo "$as_me: loading cache $cache_file" >&6;}
1235 [\\/]* | ?:[\\/]* ) . $cache_file;;
1236 *) . ./$cache_file;;
1240 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1241 echo "$as_me: creating cache $cache_file" >&6;}
1245 # Check that the precious variables saved in the cache have kept the same
1247 ac_cache_corrupted=false
1248 for ac_var in `(set) 2>&1 |
1249 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1250 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1251 eval ac_new_set=\$ac_env_${ac_var}_set
1252 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1253 eval ac_new_val="\$ac_env_${ac_var}_value"
1254 case $ac_old_set,$ac_new_set in
1256 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1257 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1258 ac_cache_corrupted=: ;;
1260 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1262 ac_cache_corrupted=: ;;
1265 if test "x$ac_old_val" != "x$ac_new_val"; then
1266 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1267 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1268 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1269 echo "$as_me: former value: $ac_old_val" >&2;}
1270 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1271 echo "$as_me: current value: $ac_new_val" >&2;}
1272 ac_cache_corrupted=:
1275 # Pass precious variables to config.status.
1276 if test "$ac_new_set" = set; then
1278 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1279 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1280 *) ac_arg=$ac_var=$ac_new_val ;;
1282 case " $ac_configure_args " in
1283 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1284 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1288 if $ac_cache_corrupted; then
1289 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1290 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1291 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1292 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1293 { (exit 1); exit 1; }; }
1297 ac_cpp='$CPP $CPPFLAGS'
1298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1299 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1323 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1324 if test -f $ac_dir/install-sh; then
1326 ac_install_sh="$ac_aux_dir/install-sh -c"
1328 elif test -f $ac_dir/install.sh; then
1330 ac_install_sh="$ac_aux_dir/install.sh -c"
1332 elif test -f $ac_dir/shtool; then
1334 ac_install_sh="$ac_aux_dir/shtool install -c"
1338 if test -z "$ac_aux_dir"; then
1339 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1340 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1341 { (exit 1); exit 1; }; }
1343 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1344 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1345 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1347 # Make sure we can run config.sub.
1348 $ac_config_sub sun4 >/dev/null 2>&1 ||
1349 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1350 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1351 { (exit 1); exit 1; }; }
1353 echo "$as_me:$LINENO: checking build system type" >&5
1354 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1355 if test "${ac_cv_build+set}" = set; then
1356 echo $ECHO_N "(cached) $ECHO_C" >&6
1358 ac_cv_build_alias=$build_alias
1359 test -z "$ac_cv_build_alias" &&
1360 ac_cv_build_alias=`$ac_config_guess`
1361 test -z "$ac_cv_build_alias" &&
1362 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1363 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1364 { (exit 1); exit 1; }; }
1365 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1366 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1367 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1368 { (exit 1); exit 1; }; }
1371 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1372 echo "${ECHO_T}$ac_cv_build" >&6
1374 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1375 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1376 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1379 echo "$as_me:$LINENO: checking host system type" >&5
1380 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1381 if test "${ac_cv_host+set}" = set; then
1382 echo $ECHO_N "(cached) $ECHO_C" >&6
1384 ac_cv_host_alias=$host_alias
1385 test -z "$ac_cv_host_alias" &&
1386 ac_cv_host_alias=$ac_cv_build_alias
1387 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1388 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1389 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1390 { (exit 1); exit 1; }; }
1393 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1394 echo "${ECHO_T}$ac_cv_host" >&6
1396 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1397 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1398 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1401 echo "$as_me:$LINENO: checking target system type" >&5
1402 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1403 if test "${ac_cv_target+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 ac_cv_target_alias=$target_alias
1407 test "x$ac_cv_target_alias" = "x" &&
1408 ac_cv_target_alias=$ac_cv_host_alias
1409 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1410 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1411 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1412 { (exit 1); exit 1; }; }
1415 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1416 echo "${ECHO_T}$ac_cv_target" >&6
1417 target=$ac_cv_target
1418 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1419 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1420 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1423 # The aliases save the names the user supplied, while $host etc.
1424 # will get canonicalized.
1425 test -n "$target_alias" &&
1426 test "$program_prefix$program_suffix$program_transform_name" = \
1428 program_prefix=${target_alias}-
1430 ac_cpp='$CPP $CPPFLAGS'
1431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1432 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1434 if test -n "$ac_tool_prefix"; then
1435 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1436 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1437 echo "$as_me:$LINENO: checking for $ac_word" >&5
1438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1439 if test "${ac_cv_prog_CC+set}" = set; then
1440 echo $ECHO_N "(cached) $ECHO_C" >&6
1442 if test -n "$CC"; then
1443 ac_cv_prog_CC="$CC" # Let the user override the test.
1445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1449 test -z "$as_dir" && as_dir=.
1450 for ac_exec_ext in '' $ac_executable_extensions; do
1451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1452 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1462 if test -n "$CC"; then
1463 echo "$as_me:$LINENO: result: $CC" >&5
1464 echo "${ECHO_T}$CC" >&6
1466 echo "$as_me:$LINENO: result: no" >&5
1467 echo "${ECHO_T}no" >&6
1471 if test -z "$ac_cv_prog_CC"; then
1473 # Extract the first word of "gcc", so it can be a program name with args.
1474 set dummy gcc; ac_word=$2
1475 echo "$as_me:$LINENO: checking for $ac_word" >&5
1476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1477 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1478 echo $ECHO_N "(cached) $ECHO_C" >&6
1480 if test -n "$ac_ct_CC"; then
1481 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1487 test -z "$as_dir" && as_dir=.
1488 for ac_exec_ext in '' $ac_executable_extensions; do
1489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1490 ac_cv_prog_ac_ct_CC="gcc"
1491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1499 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1500 if test -n "$ac_ct_CC"; then
1501 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1502 echo "${ECHO_T}$ac_ct_CC" >&6
1504 echo "$as_me:$LINENO: result: no" >&5
1505 echo "${ECHO_T}no" >&6
1513 if test -z "$CC"; then
1514 if test -n "$ac_tool_prefix"; then
1515 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1516 set dummy ${ac_tool_prefix}cc; ac_word=$2
1517 echo "$as_me:$LINENO: checking for $ac_word" >&5
1518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1519 if test "${ac_cv_prog_CC+set}" = set; then
1520 echo $ECHO_N "(cached) $ECHO_C" >&6
1522 if test -n "$CC"; then
1523 ac_cv_prog_CC="$CC" # Let the user override the test.
1525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1529 test -z "$as_dir" && as_dir=.
1530 for ac_exec_ext in '' $ac_executable_extensions; do
1531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1532 ac_cv_prog_CC="${ac_tool_prefix}cc"
1533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1542 if test -n "$CC"; then
1543 echo "$as_me:$LINENO: result: $CC" >&5
1544 echo "${ECHO_T}$CC" >&6
1546 echo "$as_me:$LINENO: result: no" >&5
1547 echo "${ECHO_T}no" >&6
1551 if test -z "$ac_cv_prog_CC"; then
1553 # Extract the first word of "cc", so it can be a program name with args.
1554 set dummy cc; ac_word=$2
1555 echo "$as_me:$LINENO: checking for $ac_word" >&5
1556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1557 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1558 echo $ECHO_N "(cached) $ECHO_C" >&6
1560 if test -n "$ac_ct_CC"; then
1561 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1567 test -z "$as_dir" && as_dir=.
1568 for ac_exec_ext in '' $ac_executable_extensions; do
1569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1570 ac_cv_prog_ac_ct_CC="cc"
1571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1579 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1580 if test -n "$ac_ct_CC"; then
1581 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1582 echo "${ECHO_T}$ac_ct_CC" >&6
1584 echo "$as_me:$LINENO: result: no" >&5
1585 echo "${ECHO_T}no" >&6
1594 if test -z "$CC"; then
1595 # Extract the first word of "cc", so it can be a program name with args.
1596 set dummy cc; ac_word=$2
1597 echo "$as_me:$LINENO: checking for $ac_word" >&5
1598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1599 if test "${ac_cv_prog_CC+set}" = set; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1602 if test -n "$CC"; then
1603 ac_cv_prog_CC="$CC" # Let the user override the test.
1606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1610 test -z "$as_dir" && as_dir=.
1611 for ac_exec_ext in '' $ac_executable_extensions; do
1612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1613 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1614 ac_prog_rejected=yes
1618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1624 if test $ac_prog_rejected = yes; then
1625 # We found a bogon in the path, so make sure we never use it.
1626 set dummy $ac_cv_prog_CC
1628 if test $# != 0; then
1629 # We chose a different compiler from the bogus one.
1630 # However, it has the same basename, so the bogon will be chosen
1631 # first if we set CC to just the basename; use the full file name.
1633 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1639 if test -n "$CC"; then
1640 echo "$as_me:$LINENO: result: $CC" >&5
1641 echo "${ECHO_T}$CC" >&6
1643 echo "$as_me:$LINENO: result: no" >&5
1644 echo "${ECHO_T}no" >&6
1648 if test -z "$CC"; then
1649 if test -n "$ac_tool_prefix"; then
1652 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1653 set dummy $ac_tool_prefix$ac_prog; 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_CC+set}" = set; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 if test -n "$CC"; then
1660 ac_cv_prog_CC="$CC" # 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_CC="$ac_tool_prefix$ac_prog"
1670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1679 if test -n "$CC"; then
1680 echo "$as_me:$LINENO: result: $CC" >&5
1681 echo "${ECHO_T}$CC" >&6
1683 echo "$as_me:$LINENO: result: no" >&5
1684 echo "${ECHO_T}no" >&6
1687 test -n "$CC" && break
1690 if test -z "$CC"; then
1694 # Extract the first word of "$ac_prog", so it can be a program name with args.
1695 set dummy $ac_prog; ac_word=$2
1696 echo "$as_me:$LINENO: checking for $ac_word" >&5
1697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1698 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1699 echo $ECHO_N "(cached) $ECHO_C" >&6
1701 if test -n "$ac_ct_CC"; then
1702 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1708 test -z "$as_dir" && as_dir=.
1709 for ac_exec_ext in '' $ac_executable_extensions; do
1710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1711 ac_cv_prog_ac_ct_CC="$ac_prog"
1712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1720 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1721 if test -n "$ac_ct_CC"; then
1722 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1723 echo "${ECHO_T}$ac_ct_CC" >&6
1725 echo "$as_me:$LINENO: result: no" >&5
1726 echo "${ECHO_T}no" >&6
1729 test -n "$ac_ct_CC" && break
1738 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1739 See \`config.log' for more details.
" >&5
1740 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1741 See \
`config.log' for more details." >&2;}
1742 { (exit 1); exit 1; }; }
1744 # Provide some information about the compiler.
1745 echo "$as_me:$LINENO:" \
1746 "checking for C compiler version" >&5
1747 ac_compiler=`set X
$ac_compile; echo $2`
1748 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1749 (eval $ac_compiler --version </dev/null >&5) 2>&5
1751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1752 (exit $ac_status); }
1753 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1754 (eval $ac_compiler -v </dev/null >&5) 2>&5
1756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1757 (exit $ac_status); }
1758 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1759 (eval $ac_compiler -V </dev/null >&5) 2>&5
1761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1762 (exit $ac_status); }
1764 cat >conftest.$ac_ext <<_ACEOF
1767 cat confdefs.h >>conftest.$ac_ext
1768 cat >>conftest.$ac_ext <<_ACEOF
1769 /* end confdefs.h. */
1779 ac_clean_files_save=$ac_clean_files
1780 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1781 # Try to create an executable without -o first, disregard a.out.
1782 # It will help us diagnose broken compilers, and finding out an intuition
1784 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1785 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1786 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1787 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1788 (eval $ac_link_default) 2>&5
1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1791 (exit $ac_status); }; then
1792 # Find the output, starting from the most likely. This scheme is
1793 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1796 # Be careful to initialize this variable, since it used to be cached.
1797 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1799 # b.out is created by i960 compilers.
1800 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1802 test -f "$ac_file" || continue
1804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1807 # This is the source file.
1810 # We found the default executable, but exeext='' is most
1814 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1815 # FIXME: I believe we export ac_cv_exeext for Libtool,
1816 # but it would be cool to find out if it's true. Does anybody
1817 # maintain Libtool? --akim.
1825 echo "$as_me: failed program was:" >&5
1826 sed 's/^/| /' conftest.$ac_ext >&5
1828 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1829 See \`config.log
' for more details." >&5
1830 echo "$as_me: error: C compiler cannot create executables
1831 See \`config.log' for more details.
" >&2;}
1832 { (exit 77); exit 77; }; }
1835 ac_exeext=$ac_cv_exeext
1836 echo "$as_me:$LINENO: result
: $ac_file" >&5
1837 echo "${ECHO_T}$ac_file" >&6
1839 # Check the compiler produces executables we can run. If not, either
1840 # the compiler is broken, or we cross compile.
1841 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1842 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1843 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1844 # If not cross compiling, check that we can run a simple program.
1845 if test "$cross_compiling" != yes; then
1846 if { ac_try='./$ac_file'
1847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1851 (exit $ac_status); }; }; then
1854 if test "$cross_compiling" = maybe; then
1857 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1858 If you meant to cross compile
, use \
`--host'.
1859 See \`config.log
' for more details." >&5
1860 echo "$as_me: error: cannot run C compiled programs.
1861 If you meant to cross compile, use \`--host'.
1862 See \
`config.log' for more details." >&2;}
1863 { (exit 1); exit 1; }; }
1867 echo "$as_me:$LINENO: result: yes" >&5
1868 echo "${ECHO_T}yes" >&6
1870 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1871 ac_clean_files=$ac_clean_files_save
1872 # Check the compiler produces executables we can run. If not, either
1873 # the compiler is broken, or we cross compile.
1874 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1875 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1876 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1877 echo "${ECHO_T}$cross_compiling" >&6
1879 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1880 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1882 (eval $ac_link) 2>&5
1884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 (exit $ac_status); }; then
1886 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1887 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1888 # work properly (i.e., refer to `conftest.exe'), while it won't with
1890 for ac_file
in conftest.exe conftest conftest.
*; do
1891 test -f "$ac_file" ||
continue
1893 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1894 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1901 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1902 See \`config.log' for more details." >&5
1903 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1904 See \`config.log' for more details." >&2;}
1905 { (exit 1); exit 1; }; }
1908 rm -f conftest
$ac_cv_exeext
1909 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1910 echo "${ECHO_T}$ac_cv_exeext" >&6
1912 rm -f conftest.
$ac_ext
1913 EXEEXT
=$ac_cv_exeext
1915 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1916 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1917 if test "${ac_cv_objext+set}" = set; then
1918 echo $ECHO_N "(cached) $ECHO_C" >&6
1920 cat >conftest.
$ac_ext <<_ACEOF
1923 cat confdefs.h
>>conftest.
$ac_ext
1924 cat >>conftest.
$ac_ext <<_ACEOF
1925 /* end confdefs.h. */
1935 rm -f conftest.o conftest.obj
1936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1937 (eval $ac_compile) 2>&5
1939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1940 (exit $ac_status); }; then
1941 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1943 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1944 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1949 echo "$as_me: failed program was:" >&5
1950 sed 's/^/| /' conftest.
$ac_ext >&5
1952 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1953 See \`config.log' for more details." >&5
1954 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1955 See \`config.log' for more details." >&2;}
1956 { (exit 1); exit 1; }; }
1959 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1961 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1962 echo "${ECHO_T}$ac_cv_objext" >&6
1963 OBJEXT
=$ac_cv_objext
1965 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1966 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1967 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1968 echo $ECHO_N "(cached) $ECHO_C" >&6
1970 cat >conftest.
$ac_ext <<_ACEOF
1973 cat confdefs.h
>>conftest.
$ac_ext
1974 cat >>conftest.
$ac_ext <<_ACEOF
1975 /* end confdefs.h. */
1988 rm -f conftest.
$ac_objext
1989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1990 (eval $ac_compile) 2>conftest.er1
1992 grep -v '^ *+' conftest.er1
>conftest.err
1994 cat conftest.err
>&5
1995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1996 (exit $ac_status); } &&
1997 { ac_try
='test -z "$ac_c_werror_flag"
1998 || test ! -s conftest.err'
1999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003 (exit $ac_status); }; } &&
2004 { ac_try
='test -s conftest.$ac_objext'
2005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2009 (exit $ac_status); }; }; then
2012 echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.
$ac_ext >&5
2017 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2018 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2021 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2022 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2023 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2024 ac_test_CFLAGS
=${CFLAGS+set}
2025 ac_save_CFLAGS
=$CFLAGS
2027 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2028 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2029 if test "${ac_cv_prog_cc_g+set}" = set; then
2030 echo $ECHO_N "(cached) $ECHO_C" >&6
2032 cat >conftest.
$ac_ext <<_ACEOF
2035 cat confdefs.h
>>conftest.
$ac_ext
2036 cat >>conftest.
$ac_ext <<_ACEOF
2037 /* end confdefs.h. */
2047 rm -f conftest.
$ac_objext
2048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2049 (eval $ac_compile) 2>conftest.er1
2051 grep -v '^ *+' conftest.er1
>conftest.err
2053 cat conftest.err
>&5
2054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055 (exit $ac_status); } &&
2056 { ac_try
='test -z "$ac_c_werror_flag"
2057 || test ! -s conftest.err'
2058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062 (exit $ac_status); }; } &&
2063 { ac_try
='test -s conftest.$ac_objext'
2064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2068 (exit $ac_status); }; }; then
2071 echo "$as_me: failed program was:" >&5
2072 sed 's/^/| /' conftest.
$ac_ext >&5
2076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2078 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2079 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2080 if test "$ac_test_CFLAGS" = set; then
2081 CFLAGS
=$ac_save_CFLAGS
2082 elif test $ac_cv_prog_cc_g = yes; then
2083 if test "$GCC" = yes; then
2089 if test "$GCC" = yes; then
2095 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2096 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2097 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2098 echo $ECHO_N "(cached) $ECHO_C" >&6
2100 ac_cv_prog_cc_stdc
=no
2102 cat >conftest.
$ac_ext <<_ACEOF
2105 cat confdefs.h
>>conftest.
$ac_ext
2106 cat >>conftest.
$ac_ext <<_ACEOF
2107 /* end confdefs.h. */
2110 #include <sys/types.h>
2111 #include <sys/stat.h>
2112 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2113 struct buf { int x; };
2114 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2115 static char *e (p, i)
2121 static char *f (char * (*g) (char **, int), char **p, ...)
2126 s = g (p, va_arg (v,int));
2131 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2132 function prototypes and stuff, but not '\xHH' hex character constants.
2133 These don't provoke an error unfortunately, instead are silently treated
2134 as 'x'. The following induces an error, until -std1 is added to get
2135 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2136 array size at least. It's necessary to write '\x00'==0 to get something
2137 that's true only with -std1. */
2138 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2140 int test (int i, double x);
2141 struct s1 {int (*f) (int a);};
2142 struct s2 {int (*f) (double a);};
2143 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2149 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2154 # Don't try gcc -ansi; that turns off useful extensions and
2155 # breaks some systems' header files.
2156 # AIX -qlanglvl=ansi
2157 # Ultrix and OSF/1 -std1
2158 # HP-UX 10.20 and later -Ae
2159 # HP-UX older versions -Aa -D_HPUX_SOURCE
2160 # SVR4 -Xc -D__EXTENSIONS__
2161 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2163 CC
="$ac_save_CC $ac_arg"
2164 rm -f conftest.
$ac_objext
2165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2166 (eval $ac_compile) 2>conftest.er1
2168 grep -v '^ *+' conftest.er1
>conftest.err
2170 cat conftest.err
>&5
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); } &&
2173 { ac_try
='test -z "$ac_c_werror_flag"
2174 || test ! -s conftest.err'
2175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179 (exit $ac_status); }; } &&
2180 { ac_try
='test -s conftest.$ac_objext'
2181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); }; }; then
2186 ac_cv_prog_cc_stdc
=$ac_arg
2189 echo "$as_me: failed program was:" >&5
2190 sed 's/^/| /' conftest.
$ac_ext >&5
2193 rm -f conftest.err conftest.
$ac_objext
2195 rm -f conftest.
$ac_ext conftest.
$ac_objext
2200 case "x$ac_cv_prog_cc_stdc" in
2202 echo "$as_me:$LINENO: result: none needed" >&5
2203 echo "${ECHO_T}none needed" >&6 ;;
2205 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2206 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2207 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2210 # Some people use a C++ compiler to compile C. Since we use `exit',
2211 # in C++ we need to declare it. In case someone uses the same compiler
2212 # for both compiling C and C++ we need to have the C++ compiler decide
2213 # the declaration of exit, since it's the most demanding environment.
2214 cat >conftest.
$ac_ext <<_ACEOF
2219 rm -f conftest.
$ac_objext
2220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2221 (eval $ac_compile) 2>conftest.er1
2223 grep -v '^ *+' conftest.er1
>conftest.err
2225 cat conftest.err
>&5
2226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2227 (exit $ac_status); } &&
2228 { ac_try
='test -z "$ac_c_werror_flag"
2229 || test ! -s conftest.err'
2230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); }; } &&
2235 { ac_try
='test -s conftest.$ac_objext'
2236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2240 (exit $ac_status); }; }; then
2241 for ac_declaration
in \
2243 'extern "C" void std::exit (int) throw (); using std::exit;' \
2244 'extern "C" void std::exit (int); using std::exit;' \
2245 'extern "C" void exit (int) throw ();' \
2246 'extern "C" void exit (int);' \
2249 cat >conftest.
$ac_ext <<_ACEOF
2252 cat confdefs.h
>>conftest.
$ac_ext
2253 cat >>conftest.
$ac_ext <<_ACEOF
2254 /* end confdefs.h. */
2265 rm -f conftest.
$ac_objext
2266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2267 (eval $ac_compile) 2>conftest.er1
2269 grep -v '^ *+' conftest.er1
>conftest.err
2271 cat conftest.err
>&5
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); } &&
2274 { ac_try
='test -z "$ac_c_werror_flag"
2275 || test ! -s conftest.err'
2276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); }; } &&
2281 { ac_try
='test -s conftest.$ac_objext'
2282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); }; }; then
2289 echo "$as_me: failed program was:" >&5
2290 sed 's/^/| /' conftest.
$ac_ext >&5
2294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2295 cat >conftest.
$ac_ext <<_ACEOF
2298 cat confdefs.h
>>conftest.
$ac_ext
2299 cat >>conftest.
$ac_ext <<_ACEOF
2300 /* end confdefs.h. */
2310 rm -f conftest.
$ac_objext
2311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2312 (eval $ac_compile) 2>conftest.er1
2314 grep -v '^ *+' conftest.er1
>conftest.err
2316 cat conftest.err
>&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); } &&
2319 { ac_try
='test -z "$ac_c_werror_flag"
2320 || test ! -s conftest.err'
2321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }; } &&
2326 { ac_try
='test -s conftest.$ac_objext'
2327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }; }; then
2334 echo "$as_me: failed program was:" >&5
2335 sed 's/^/| /' conftest.
$ac_ext >&5
2338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2341 if test -n "$ac_declaration"; then
2342 echo '#ifdef __cplusplus' >>confdefs.h
2343 echo $ac_declaration >>confdefs.h
2344 echo '#endif' >>confdefs.h
2348 echo "$as_me: failed program was:" >&5
2349 sed 's/^/| /' conftest.
$ac_ext >&5
2352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2354 ac_cpp
='$CPP $CPPFLAGS'
2355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2360 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2361 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2362 if test "${ac_cv_search_strerror+set}" = set; then
2363 echo $ECHO_N "(cached) $ECHO_C" >&6
2365 ac_func_search_save_LIBS
=$LIBS
2366 ac_cv_search_strerror
=no
2367 cat >conftest.
$ac_ext <<_ACEOF
2370 cat confdefs.h
>>conftest.
$ac_ext
2371 cat >>conftest.
$ac_ext <<_ACEOF
2372 /* end confdefs.h. */
2374 /* Override any gcc2 internal prototype to avoid an error. */
2378 /* We use char because int might match the return type of a gcc2
2379 builtin and then its argument prototype would still apply. */
2389 rm -f conftest.
$ac_objext conftest
$ac_exeext
2390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2391 (eval $ac_link) 2>conftest.er1
2393 grep -v '^ *+' conftest.er1
>conftest.err
2395 cat conftest.err
>&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); } &&
2398 { ac_try
='test -z "$ac_c_werror_flag"
2399 || test ! -s conftest.err'
2400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }; } &&
2405 { ac_try
='test -s conftest$ac_exeext'
2406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); }; }; then
2411 ac_cv_search_strerror
="none required"
2413 echo "$as_me: failed program was:" >&5
2414 sed 's/^/| /' conftest.
$ac_ext >&5
2417 rm -f conftest.err conftest.
$ac_objext \
2418 conftest
$ac_exeext conftest.
$ac_ext
2419 if test "$ac_cv_search_strerror" = no
; then
2420 for ac_lib
in cposix
; do
2421 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2422 cat >conftest.
$ac_ext <<_ACEOF
2425 cat confdefs.h
>>conftest.
$ac_ext
2426 cat >>conftest.
$ac_ext <<_ACEOF
2427 /* end confdefs.h. */
2429 /* Override any gcc2 internal prototype to avoid an error. */
2433 /* We use char because int might match the return type of a gcc2
2434 builtin and then its argument prototype would still apply. */
2444 rm -f conftest.
$ac_objext conftest
$ac_exeext
2445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2446 (eval $ac_link) 2>conftest.er1
2448 grep -v '^ *+' conftest.er1
>conftest.err
2450 cat conftest.err
>&5
2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452 (exit $ac_status); } &&
2453 { ac_try
='test -z "$ac_c_werror_flag"
2454 || test ! -s conftest.err'
2455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; } &&
2460 { ac_try
='test -s conftest$ac_exeext'
2461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); }; }; then
2466 ac_cv_search_strerror
="-l$ac_lib"
2469 echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.
$ac_ext >&5
2473 rm -f conftest.err conftest.
$ac_objext \
2474 conftest
$ac_exeext conftest.
$ac_ext
2477 LIBS
=$ac_func_search_save_LIBS
2479 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2480 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2481 if test "$ac_cv_search_strerror" != no
; then
2482 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2487 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2488 am__api_version
="1.9"
2489 # Find a good install program. We prefer a C program (faster),
2490 # so one script is as good as another. But avoid the broken or
2491 # incompatible versions:
2492 # SysV /etc/install, /usr/sbin/install
2493 # SunOS /usr/etc/install
2494 # IRIX /sbin/install
2496 # AmigaOS /C/install, which installs bootblocks on floppy discs
2497 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2498 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2499 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2500 # OS/2's system install, which has a completely different semantic
2501 # ./install, which can be erroneously created by make from ./install.sh.
2502 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2503 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2504 if test -z "$INSTALL"; then
2505 if test "${ac_cv_path_install+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir
=.
2513 # Account for people who put trailing slashes in PATH elements.
2515 .
/ | .
// |
/cC
/* | \
2516 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2517 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2520 # OSF1 and SCO ODT 3.0 have their own names for install.
2521 # Don't use installbsd from OSF since it installs stuff as root
2523 for ac_prog
in ginstall scoinst
install; do
2524 for ac_exec_ext
in '' $ac_executable_extensions; do
2525 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2526 if test $ac_prog = install &&
2527 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2528 # AIX install. It has an incompatible calling convention.
2530 elif test $ac_prog = install &&
2531 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2532 # program-specific install script used by HP pwplus--don't use.
2535 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2547 if test "${ac_cv_path_install+set}" = set; then
2548 INSTALL
=$ac_cv_path_install
2550 # As a last resort, use the slow shell script. We don't cache a
2551 # path for INSTALL within a source directory, because that will
2552 # break other packages using the cache if that directory is
2553 # removed, or if the path is relative.
2554 INSTALL
=$ac_install_sh
2557 echo "$as_me:$LINENO: result: $INSTALL" >&5
2558 echo "${ECHO_T}$INSTALL" >&6
2560 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2561 # It thinks the first close brace ends the variable substitution.
2562 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2564 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2566 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2568 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2569 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2572 echo timestamp
> conftest.
file
2573 # Do `set' in a subshell so we don't clobber the current shell's
2574 # arguments. Must try -L first in case configure is actually a
2575 # symlink; some systems play weird games with the mod time of symlinks
2576 # (eg FreeBSD returns the mod time of the symlink's containing
2579 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2580 if test "$*" = "X"; then
2582 set X
`ls -t $srcdir/configure conftest.file`
2585 if test "$*" != "X $srcdir/configure conftest.file" \
2586 && test "$*" != "X conftest.file $srcdir/configure"; then
2588 # If neither matched, then we have a broken ls. This can happen
2589 # if, for instance, CONFIG_SHELL is bash and it inherits a
2590 # broken ls alias from the environment. This has actually
2591 # happened. Such a system could not be considered "sane".
2592 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2593 alias in your environment" >&5
2594 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2595 alias in your environment" >&2;}
2596 { (exit 1); exit 1; }; }
2599 test "$2" = conftest.
file
2605 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2606 Check your system clock" >&5
2607 echo "$as_me: error: newly created file is older than distributed files!
2608 Check your system clock" >&2;}
2609 { (exit 1); exit 1; }; }
2611 echo "$as_me:$LINENO: result: yes" >&5
2612 echo "${ECHO_T}yes" >&6
2613 test "$program_prefix" != NONE
&&
2614 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2615 # Use a double $ so make ignores it.
2616 test "$program_suffix" != NONE
&&
2617 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2618 # Double any \ or $. echo might interpret backslashes.
2619 # By default was `s,x,x', remove it if useless.
2620 cat <<\_ACEOF
>conftest.
sed
2621 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2623 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2626 # expand $ac_aux_dir to an absolute path
2627 am_aux_dir
=`cd $ac_aux_dir && pwd`
2629 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2630 # Use eval to expand $SHELL
2631 if eval "$MISSING --run true"; then
2632 am_missing_run
="$MISSING --run "
2635 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2636 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2639 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2640 # We used to keeping the `.' as first argument, in order to
2641 # allow $(mkdir_p) to be used without argument. As in
2642 # $(mkdir_p) $(somedir)
2643 # where $(somedir) is conditionally defined. However this is wrong
2645 # 1. if the package is installed by a user who cannot write `.'
2646 # make install will fail,
2647 # 2. the above comment should most certainly read
2648 # $(mkdir_p) $(DESTDIR)$(somedir)
2649 # so it does not work when $(somedir) is undefined and
2650 # $(DESTDIR) is not.
2651 # To support the latter case, we have to write
2652 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2653 # so the `.' trick is pointless.
2654 mkdir_p
='mkdir -p --'
2656 # On NextStep and OpenStep, the `mkdir' command does not
2657 # recognize any option. It will interpret all options as
2658 # directories to create, and then abort because `.' already
2660 for d
in .
/-p .
/--version;
2662 test -d $d && rmdir $d
2664 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2665 if test -f "$ac_aux_dir/mkinstalldirs"; then
2666 mkdir_p
='$(mkinstalldirs)'
2668 mkdir_p
='$(install_sh) -d'
2672 for ac_prog
in gawk mawk nawk
awk
2674 # Extract the first word of "$ac_prog", so it can be a program name with args.
2675 set dummy
$ac_prog; ac_word
=$2
2676 echo "$as_me:$LINENO: checking for $ac_word" >&5
2677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2678 if test "${ac_cv_prog_AWK+set}" = set; then
2679 echo $ECHO_N "(cached) $ECHO_C" >&6
2681 if test -n "$AWK"; then
2682 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2688 test -z "$as_dir" && as_dir
=.
2689 for ac_exec_ext
in '' $ac_executable_extensions; do
2690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2691 ac_cv_prog_AWK
="$ac_prog"
2692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2701 if test -n "$AWK"; then
2702 echo "$as_me:$LINENO: result: $AWK" >&5
2703 echo "${ECHO_T}$AWK" >&6
2705 echo "$as_me:$LINENO: result: no" >&5
2706 echo "${ECHO_T}no" >&6
2709 test -n "$AWK" && break
2712 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2713 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2714 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2715 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2716 echo $ECHO_N "(cached) $ECHO_C" >&6
2718 cat >conftest.
make <<\_ACEOF
2720 @
echo 'ac_maketemp="$(MAKE)"'
2722 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2723 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2724 if test -n "$ac_maketemp"; then
2725 eval ac_cv_prog_make_
${ac_make}_set
=yes
2727 eval ac_cv_prog_make_
${ac_make}_set
=no
2731 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2732 echo "$as_me:$LINENO: result: yes" >&5
2733 echo "${ECHO_T}yes" >&6
2736 echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6
2738 SET_MAKE
="MAKE=${MAKE-make}"
2741 rm -rf .tst
2>/dev
/null
2742 mkdir .tst
2>/dev
/null
2743 if test -d .tst
; then
2748 rmdir .tst
2>/dev
/null
2750 DEPDIR
="${am__leading_dot}deps"
2752 ac_config_commands
="$ac_config_commands depfiles"
2755 am_make
=${MAKE-make}
2756 cat > confinc
<< 'END'
2761 # If we don't find an include directive, just comment out the code.
2762 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2763 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2767 # First try GNU make style include.
2768 echo "include confinc" > confmf
2769 # We grep out `Entering directory' and `Leaving directory'
2770 # messages which can occur if `w' ends up in MAKEFLAGS.
2771 # In particular we don't look at `^make:' because GNU make might
2772 # be invoked under some other name (usually "gmake"), in which
2773 # case it prints its new name instead of `make'.
2774 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2779 # Now try BSD make style include.
2780 if test "$am__include" = "#"; then
2781 echo '.include "confinc"' > confmf
2782 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2783 am__include
=.include
2790 echo "$as_me:$LINENO: result: $_am_result" >&5
2791 echo "${ECHO_T}$_am_result" >&6
2792 rm -f confinc confmf
2794 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2795 if test "${enable_dependency_tracking+set}" = set; then
2796 enableval
="$enable_dependency_tracking"
2799 if test "x$enable_dependency_tracking" != xno
; then
2800 am_depcomp
="$ac_aux_dir/depcomp"
2805 if test "x$enable_dependency_tracking" != xno; then
2815 # test to see if srcdir already configured
2816 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2817 test -f $srcdir/config.status
; then
2818 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2819 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2820 { (exit 1); exit 1; }; }
2823 # test whether we have cygpath
2824 if test -z "$CYGPATH_W"; then
2825 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2826 CYGPATH_W
='cygpath -w'
2833 # Define the identity of the package.
2835 VERSION
=${BFD_VERSION}
2838 cat >>confdefs.h
<<_ACEOF
2839 #define PACKAGE "$PACKAGE"
2843 cat >>confdefs.h
<<_ACEOF
2844 #define VERSION "$VERSION"
2847 # Some tools Automake needs.
2849 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2852 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2855 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2858 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2861 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2863 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2865 # Installed binaries are usually stripped using `strip' when the user
2866 # run `make install-strip'. However `strip' might not be the right
2867 # tool to use in cross-compilation environments, therefore Automake
2868 # will honor the `STRIP' environment variable to overrule this program.
2869 if test "$cross_compiling" != no
; then
2870 if test -n "$ac_tool_prefix"; then
2871 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2872 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2873 echo "$as_me:$LINENO: checking for $ac_word" >&5
2874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2875 if test "${ac_cv_prog_STRIP+set}" = set; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 if test -n "$STRIP"; then
2879 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2885 test -z "$as_dir" && as_dir
=.
2886 for ac_exec_ext
in '' $ac_executable_extensions; do
2887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2888 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2897 STRIP
=$ac_cv_prog_STRIP
2898 if test -n "$STRIP"; then
2899 echo "$as_me:$LINENO: result: $STRIP" >&5
2900 echo "${ECHO_T}$STRIP" >&6
2902 echo "$as_me:$LINENO: result: no" >&5
2903 echo "${ECHO_T}no" >&6
2907 if test -z "$ac_cv_prog_STRIP"; then
2909 # Extract the first word of "strip", so it can be a program name with args.
2910 set dummy strip
; ac_word
=$2
2911 echo "$as_me:$LINENO: checking for $ac_word" >&5
2912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2913 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2914 echo $ECHO_N "(cached) $ECHO_C" >&6
2916 if test -n "$ac_ct_STRIP"; then
2917 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir
=.
2924 for ac_exec_ext
in '' $ac_executable_extensions; do
2925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2926 ac_cv_prog_ac_ct_STRIP
="strip"
2927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2936 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2937 if test -n "$ac_ct_STRIP"; then
2938 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2939 echo "${ECHO_T}$ac_ct_STRIP" >&6
2941 echo "$as_me:$LINENO: result: no" >&5
2942 echo "${ECHO_T}no" >&6
2947 STRIP
="$ac_cv_prog_STRIP"
2951 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2953 # We need awk for the "check" target. The system "awk" is bad on
2955 # Always define AMTAR for backward compatibility.
2957 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2959 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2964 depcc
="$CC" am_compiler_list
=
2966 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2967 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2968 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2969 echo $ECHO_N "(cached) $ECHO_C" >&6
2971 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2972 # We make a subdir and do the tests there. Otherwise we can end up
2973 # making bogus files that we don't know about and never remove. For
2974 # instance it was reported that on HP-UX the gcc test will end up
2975 # making a dummy file named `D' -- because `-MD' means `put the output
2978 # Copy depcomp to subdir because otherwise we won't find it if we're
2979 # using a relative directory.
2980 cp "$am_depcomp" conftest.dir
2982 # We will build objects and dependencies in a subdirectory because
2983 # it helps to detect inapplicable dependency modes. For instance
2984 # both Tru64's cc and ICC support -MD to output dependencies as a
2985 # side effect of compilation, but ICC will put the dependencies in
2986 # the current directory while Tru64 will put them in the object
2990 am_cv_CC_dependencies_compiler_type
=none
2991 if test "$am_compiler_list" = ""; then
2992 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2994 for depmode
in $am_compiler_list; do
2995 # Setup a source with many dependencies, because some compilers
2996 # like to wrap large dependency lists on column 80 (with \), and
2997 # we should not choose a depcomp mode which is confused by this.
2999 # We need to recreate these files for each test, as the compiler may
3000 # overwrite some of them when testing with obscure command lines.
3001 # This happens at least with the AIX C compiler.
3003 for i
in 1 2 3 4 5 6; do
3004 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3005 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3006 # Solaris 8's {/usr,}/bin/sh.
3007 touch sub
/conftst
$i.h
3009 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3013 # after this tag, mechanisms are not by side-effect, so they'll
3014 # only be used when explicitly requested
3015 if test "x$enable_dependency_tracking" = xyes
; then
3023 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3024 # mode. It turns out that the SunPro C++ compiler does not properly
3025 # handle `-M -o', and we need to detect this.
3026 if depmode
=$depmode \
3027 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3028 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3029 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3030 >/dev
/null
2>conftest.err
&&
3031 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3032 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3033 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3034 # icc doesn't choke on unknown options, it will just issue warnings
3035 # or remarks (even with -Werror). So we grep stderr for any message
3036 # that says an option was ignored or not supported.
3037 # When given -MP, icc 7.0 and 7.1 complain thusly:
3038 # icc: Command line warning: ignoring option '-M'; no argument required
3039 # The diagnosis changed in icc 8.0:
3040 # icc: Command line remark: option '-MP' not supported
3041 if (grep 'ignoring option' conftest.err ||
3042 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3043 am_cv_CC_dependencies_compiler_type
=$depmode
3052 am_cv_CC_dependencies_compiler_type
=none
3056 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3057 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3058 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3063 test "x$enable_dependency_tracking" != xno \
3064 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3066 am__fastdepCC_FALSE
='#'
3068 am__fastdepCC_TRUE
='#'
3069 am__fastdepCC_FALSE
=
3075 # Check whether --enable-shared or --disable-shared was given.
3076 if test "${enable_shared+set}" = set; then
3077 enableval
="$enable_shared"
3078 p
=${PACKAGE-default}
3080 yes) enable_shared
=yes ;;
3081 no
) enable_shared
=no
;;
3084 # Look at the argument we got. We use all the common list separators.
3085 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3086 for pkg
in $enableval; do
3087 if test "X$pkg" = "X$p"; then
3097 # Check whether --enable-static or --disable-static was given.
3098 if test "${enable_static+set}" = set; then
3099 enableval
="$enable_static"
3100 p
=${PACKAGE-default}
3102 yes) enable_static
=yes ;;
3103 no
) enable_static
=no
;;
3106 # Look at the argument we got. We use all the common list separators.
3107 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3108 for pkg
in $enableval; do
3109 if test "X$pkg" = "X$p"; then
3119 # Check whether --enable-fast-install or --disable-fast-install was given.
3120 if test "${enable_fast_install+set}" = set; then
3121 enableval
="$enable_fast_install"
3122 p
=${PACKAGE-default}
3124 yes) enable_fast_install
=yes ;;
3125 no
) enable_fast_install
=no
;;
3127 enable_fast_install
=no
3128 # Look at the argument we got. We use all the common list separators.
3129 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3130 for pkg
in $enableval; do
3131 if test "X$pkg" = "X$p"; then
3132 enable_fast_install
=yes
3139 enable_fast_install
=yes
3142 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3143 if test "${with_gnu_ld+set}" = set; then
3144 withval
="$with_gnu_ld"
3145 test "$withval" = no || with_gnu_ld
=yes
3150 if test "$GCC" = yes; then
3151 # Check if gcc -print-prog-name=ld gives a path.
3152 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3153 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3156 # gcc leaves a trailing carriage return which upsets mingw
3157 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3159 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3162 # Accept absolute paths.
3163 [\\/]* |
[A-Za-z
]:[\\/]*)
3164 re_direlt
='/[^/][^/]*/\.\./'
3165 # Canonicalize the path of ld
3166 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3167 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3168 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3170 test -z "$LD" && LD
="$ac_prog"
3173 # If it fails, then pretend we aren't using GCC.
3177 # If it is relative, then search for the first ld in PATH.
3181 elif test "$with_gnu_ld" = yes; then
3182 echo "$as_me:$LINENO: checking for GNU ld" >&5
3183 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3185 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3186 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3188 if test "${lt_cv_path_LD+set}" = set; then
3189 echo $ECHO_N "(cached) $ECHO_C" >&6
3191 if test -z "$LD"; then
3192 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3193 for ac_dir
in $PATH; do
3194 test -z "$ac_dir" && ac_dir
=.
3195 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3196 lt_cv_path_LD
="$ac_dir/$ac_prog"
3197 # Check to see if the program is GNU ld. I'd rather use --version,
3198 # but apparently some GNU ld's only accept -v.
3199 # Break only if it was the GNU/non-GNU ld that we prefer.
3200 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3201 test "$with_gnu_ld" != no
&& break
3203 test "$with_gnu_ld" != yes && break
3209 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3214 if test -n "$LD"; then
3215 echo "$as_me:$LINENO: result: $LD" >&5
3216 echo "${ECHO_T}$LD" >&6
3218 echo "$as_me:$LINENO: result: no" >&5
3219 echo "${ECHO_T}no" >&6
3221 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3222 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3223 { (exit 1); exit 1; }; }
3224 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3225 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3226 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3227 echo $ECHO_N "(cached) $ECHO_C" >&6
3229 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3230 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3231 lt_cv_prog_gnu_ld
=yes
3233 lt_cv_prog_gnu_ld
=no
3236 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3237 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3238 with_gnu_ld
=$lt_cv_prog_gnu_ld
3241 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3242 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3243 if test "${lt_cv_ld_reload_flag+set}" = set; then
3244 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 lt_cv_ld_reload_flag
='-r'
3248 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3249 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3250 reload_flag
=$lt_cv_ld_reload_flag
3251 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3253 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3254 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3255 if test "${lt_cv_path_NM+set}" = set; then
3256 echo $ECHO_N "(cached) $ECHO_C" >&6
3258 if test -n "$NM"; then
3259 # Let the user override the test.
3262 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3263 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3264 test -z "$ac_dir" && ac_dir
=.
3265 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3266 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3267 # Check to see if the nm accepts a BSD-compat flag.
3268 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3269 # nm: unknown option "B" ignored
3270 # Tru64's nm complains that /dev/null is an invalid object file
3271 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3272 lt_cv_path_NM
="$tmp_nm -B"
3274 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3275 lt_cv_path_NM
="$tmp_nm -p"
3278 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3279 continue # so that we can try to find one that supports BSD flags
3284 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3289 echo "$as_me:$LINENO: result: $NM" >&5
3290 echo "${ECHO_T}$NM" >&6
3292 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3293 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3295 if test "$LN_S" = "ln -s"; then
3296 echo "$as_me:$LINENO: result: yes" >&5
3297 echo "${ECHO_T}yes" >&6
3299 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3300 echo "${ECHO_T}no, using $LN_S" >&6
3303 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3304 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3305 if test "${lt_cv_deplibs_check_method+set}" = set; then
3306 echo $ECHO_N "(cached) $ECHO_C" >&6
3308 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3309 lt_cv_file_magic_test_file
=
3310 lt_cv_deplibs_check_method
='unknown'
3311 # Need to set the preceding variable on all platforms that support
3312 # interlibrary dependencies.
3313 # 'none' -- dependencies not supported.
3314 # `unknown' -- same as none, but documents that we really don't know.
3315 # 'pass_all' -- all dependencies passed with no checks.
3316 # 'test_compile' -- check by making test program.
3317 # 'file_magic [regex]' -- check by looking for files in library path
3318 # which responds to the $file_magic_cmd with a given egrep regex.
3319 # If you have `file' or equivalent on your system and you're not sure
3320 # whether `pass_all' will *always* work, you probably want this one.
3324 lt_cv_deplibs_check_method
=pass_all
3328 lt_cv_deplibs_check_method
=pass_all
3332 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3333 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3334 lt_cv_file_magic_test_file
=/shlib
/libc.so
3337 cygwin
* | mingw
* |pw32
*)
3338 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3339 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3342 darwin
* | rhapsody
*)
3343 # this will be overwritten by pass_all, but leave it in just in case
3344 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3345 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3347 rhapsody
* | darwin1.012
)
3348 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3351 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3354 lt_cv_deplibs_check_method
=pass_all
3357 freebsd
* | kfreebsd
*-gnu)
3358 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3361 # Not sure whether the presence of OpenBSD here was a mistake.
3362 # Let's accept both of them until this is cleared up.
3363 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3364 lt_cv_file_magic_cmd
=/usr
/bin
/file
3365 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3369 lt_cv_deplibs_check_method
=pass_all
3374 lt_cv_deplibs_check_method
=pass_all
3380 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3381 lt_cv_file_magic_cmd
=/usr
/bin
/file
3382 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3385 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3386 lt_cv_file_magic_cmd
=/usr
/bin
/file
3387 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3395 # this will be overridden with pass_all, but let us keep it just in case
3396 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3400 *-32|
*"-32 ") libmagic
=32-bit;;
3401 *-n32|
*"-n32 ") libmagic
=N32
;;
3402 *-64|
*"-64 ") libmagic
=64-bit;;
3403 *) libmagic
=never-match
;;
3405 # this will be overridden with pass_all, but let us keep it just in case
3406 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3409 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3410 lt_cv_deplibs_check_method
=pass_all
3413 # This must be Linux ELF.
3415 lt_cv_deplibs_check_method
=pass_all
3418 netbsd
* | knetbsd
*-gnu)
3419 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3420 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3422 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3427 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3428 lt_cv_file_magic_cmd
=/usr
/bin
/file
3429 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3432 osf3
* | osf4
* | osf5
*)
3433 # this will be overridden with pass_all, but let us keep it just in case
3434 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3435 lt_cv_file_magic_test_file
=/shlib
/libc.so
3436 lt_cv_deplibs_check_method
=pass_all
3440 lt_cv_deplibs_check_method
=pass_all
3444 lt_cv_deplibs_check_method
=pass_all
3445 lt_cv_file_magic_test_file
=/lib
/libc.so
3448 sysv5uw
[78]* | sysv4
*uw2
*)
3449 lt_cv_deplibs_check_method
=pass_all
3452 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3453 case $host_vendor in
3455 lt_cv_deplibs_check_method
=pass_all
3458 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3459 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3466 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3467 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3468 file_magic_cmd
=$lt_cv_file_magic_cmd
3469 deplibs_check_method
=$lt_cv_deplibs_check_method
3474 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3476 # find the maximum length of command line arguments
3477 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3478 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3479 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3480 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 # On DJGPP, this test can blow up pretty badly due to problems in libc
3488 # (any single argument exceeding 2000 bytes causes a buffer overrun
3489 # during glob expansion). Even if it were fixed, the result of this
3490 # check would be larger than it should be.
3491 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3495 # On Win9x/ME, this test blows up -- it succeeds, but takes
3496 # about 5 minutes as the teststring grows exponentially.
3497 # Worse, since 9x/ME are not pre-emptively multitasking,
3498 # you end up with a "frozen" computer, even though with patience
3499 # the test eventually succeeds (with a max line length of 256k).
3500 # Instead, let's just punt: use the minimum linelength reported by
3501 # all of the supported platforms: 8192 (on NT/2K/XP).
3502 lt_cv_sys_max_cmd_len
=8192;
3506 # On AmigaOS with pdksh, this test takes hours, literally.
3507 # So we just punt and use a minimum line length of 8192.
3508 lt_cv_sys_max_cmd_len
=8192;
3511 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3512 # This has been around since 386BSD, at least. Likely further.
3513 if test -x /sbin
/sysctl
; then
3514 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3515 elif test -x /usr
/sbin
/sysctl
; then
3516 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3518 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3520 # And add a safety zone
3521 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3522 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3528 if test -n "$lt_cv_sys_max_cmd_len" ; then
3529 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3530 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3532 echo "$as_me:$LINENO: result: none" >&5
3533 echo "${ECHO_T}none" >&6
3537 # Only perform the check for file, if the check method requires it
3538 case $deplibs_check_method in
3540 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3541 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3542 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3543 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3544 echo $ECHO_N "(cached) $ECHO_C" >&6
3548 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3551 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3554 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3555 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3556 ac_dummy
="/usr/bin:$PATH"
3557 for ac_dir
in $ac_dummy; do
3558 test -z "$ac_dir" && ac_dir
=.
3559 if test -f $ac_dir/${ac_tool_prefix}file; then
3560 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3561 if test -n "$file_magic_test_file"; then
3562 case $deplibs_check_method in
3564 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3565 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3566 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3567 egrep "$file_magic_regex" > /dev
/null
; then
3572 *** Warning: the command libtool uses to detect shared libraries,
3573 *** $file_magic_cmd, produces output that libtool cannot recognize.
3574 *** The result is that libtool may fail to recognize shared libraries
3575 *** as such. This will affect the creation of libtool libraries that
3576 *** depend on shared libraries, but programs linked with such libtool
3577 *** libraries will work regardless of this problem. Nevertheless, you
3578 *** may want to report the problem to your system manager and/or to
3579 *** bug-libtool@gnu.org
3589 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3594 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3595 if test -n "$MAGIC_CMD"; then
3596 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3597 echo "${ECHO_T}$MAGIC_CMD" >&6
3599 echo "$as_me:$LINENO: result: no" >&5
3600 echo "${ECHO_T}no" >&6
3603 if test -z "$lt_cv_path_MAGIC_CMD"; then
3604 if test -n "$ac_tool_prefix"; then
3605 echo "$as_me:$LINENO: checking for file" >&5
3606 echo $ECHO_N "checking for file... $ECHO_C" >&6
3607 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3615 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3618 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3619 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3620 ac_dummy
="/usr/bin:$PATH"
3621 for ac_dir
in $ac_dummy; do
3622 test -z "$ac_dir" && ac_dir
=.
3623 if test -f $ac_dir/file; then
3624 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
3625 if test -n "$file_magic_test_file"; then
3626 case $deplibs_check_method in
3628 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3629 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3630 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3631 egrep "$file_magic_regex" > /dev
/null
; then
3636 *** Warning: the command libtool uses to detect shared libraries,
3637 *** $file_magic_cmd, produces output that libtool cannot recognize.
3638 *** The result is that libtool may fail to recognize shared libraries
3639 *** as such. This will affect the creation of libtool libraries that
3640 *** depend on shared libraries, but programs linked with such libtool
3641 *** libraries will work regardless of this problem. Nevertheless, you
3642 *** may want to report the problem to your system manager and/or to
3643 *** bug-libtool@gnu.org
3653 MAGIC_CMD
="$ac_save_MAGIC_CMD"
3658 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3659 if test -n "$MAGIC_CMD"; then
3660 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3661 echo "${ECHO_T}$MAGIC_CMD" >&6
3663 echo "$as_me:$LINENO: result: no" >&5
3664 echo "${ECHO_T}no" >&6
3676 if test -n "$ac_tool_prefix"; then
3677 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3678 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3679 echo "$as_me:$LINENO: checking for $ac_word" >&5
3680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3681 if test "${ac_cv_prog_RANLIB+set}" = set; then
3682 echo $ECHO_N "(cached) $ECHO_C" >&6
3684 if test -n "$RANLIB"; then
3685 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3691 test -z "$as_dir" && as_dir
=.
3692 for ac_exec_ext
in '' $ac_executable_extensions; do
3693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3694 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 RANLIB
=$ac_cv_prog_RANLIB
3704 if test -n "$RANLIB"; then
3705 echo "$as_me:$LINENO: result: $RANLIB" >&5
3706 echo "${ECHO_T}$RANLIB" >&6
3708 echo "$as_me:$LINENO: result: no" >&5
3709 echo "${ECHO_T}no" >&6
3713 if test -z "$ac_cv_prog_RANLIB"; then
3714 ac_ct_RANLIB
=$RANLIB
3715 # Extract the first word of "ranlib", so it can be a program name with args.
3716 set dummy ranlib
; ac_word
=$2
3717 echo "$as_me:$LINENO: checking for $ac_word" >&5
3718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3719 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 if test -n "$ac_ct_RANLIB"; then
3723 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3729 test -z "$as_dir" && as_dir
=.
3730 for ac_exec_ext
in '' $ac_executable_extensions; do
3731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3732 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3739 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3742 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3743 if test -n "$ac_ct_RANLIB"; then
3744 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3745 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3747 echo "$as_me:$LINENO: result: no" >&5
3748 echo "${ECHO_T}no" >&6
3751 RANLIB
=$ac_ct_RANLIB
3753 RANLIB
="$ac_cv_prog_RANLIB"
3756 if test -n "$ac_tool_prefix"; then
3757 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3758 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3759 echo "$as_me:$LINENO: checking for $ac_word" >&5
3760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3761 if test "${ac_cv_prog_STRIP+set}" = set; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 if test -n "$STRIP"; then
3765 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3771 test -z "$as_dir" && as_dir
=.
3772 for ac_exec_ext
in '' $ac_executable_extensions; do
3773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3774 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3783 STRIP
=$ac_cv_prog_STRIP
3784 if test -n "$STRIP"; then
3785 echo "$as_me:$LINENO: result: $STRIP" >&5
3786 echo "${ECHO_T}$STRIP" >&6
3788 echo "$as_me:$LINENO: result: no" >&5
3789 echo "${ECHO_T}no" >&6
3793 if test -z "$ac_cv_prog_STRIP"; then
3795 # Extract the first word of "strip", so it can be a program name with args.
3796 set dummy strip
; ac_word
=$2
3797 echo "$as_me:$LINENO: checking for $ac_word" >&5
3798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3799 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3802 if test -n "$ac_ct_STRIP"; then
3803 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3809 test -z "$as_dir" && as_dir
=.
3810 for ac_exec_ext
in '' $ac_executable_extensions; do
3811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3812 ac_cv_prog_ac_ct_STRIP
="strip"
3813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3822 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3823 if test -n "$ac_ct_STRIP"; then
3824 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3825 echo "${ECHO_T}$ac_ct_STRIP" >&6
3827 echo "$as_me:$LINENO: result: no" >&5
3828 echo "${ECHO_T}no" >&6
3833 STRIP
="$ac_cv_prog_STRIP"
3837 # Check for any special flags to pass to ltconfig.
3838 libtool_flags
="--cache-file=$cache_file"
3839 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
3840 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
3841 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
3842 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
3843 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
3846 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3847 if test "${enable_libtool_lock+set}" = set; then
3848 enableval
="$enable_libtool_lock"
3851 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
3852 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
3855 # Check whether --with-pic or --without-pic was given.
3856 if test "${with_pic+set}" = set; then
3862 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
3863 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
3865 # Some flags need to be propagated to the compiler or linker for good
3869 # Find out which ABI we are using.
3870 echo '#line 3870 "configure"' > conftest.
$ac_ext
3871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3872 (eval $ac_compile) 2>&5
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); }; then
3876 if test "$lt_cv_prog_gnu_ld" = yes; then
3877 case `/usr/bin/file conftest.$ac_objext` in
3879 LD
="${LD-ld} -melf32bsmip"
3882 LD
="${LD-ld} -melf32bmipn32"
3885 LD
="${LD-ld} -melf64bmip"
3889 case `/usr/bin/file conftest.$ac_objext` in
3906 # Find out which ABI we are using.
3907 echo 'int i;' > conftest.
$ac_ext
3908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3909 (eval $ac_compile) 2>&5
3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912 (exit $ac_status); }; then
3913 case "`/usr/bin/file conftest.o`" in
3925 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
3926 # Find out which ABI we are using.
3927 echo 'int i;' > conftest.
$ac_ext
3928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3929 (eval $ac_compile) 2>&5
3931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); }; then
3933 case "`/usr/bin/file conftest.o`" in
3937 LD
="${LD-ld} -m elf_i386"
3939 ppc64-
*linux
*|powerpc64-
*linux
*)
3940 LD
="${LD-ld} -m elf32ppclinux"
3943 LD
="${LD-ld} -m elf_s390"
3946 LD
="${LD-ld} -m elf32_sparc"
3953 LD
="${LD-ld} -m elf_x86_64"
3955 ppc
*-*linux
*|powerpc
*-*linux
*)
3956 LD
="${LD-ld} -m elf64ppc"
3959 LD
="${LD-ld} -m elf64_s390"
3962 LD
="${LD-ld} -m elf64_sparc"
3972 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3973 SAVE_CFLAGS
="$CFLAGS"
3974 CFLAGS
="$CFLAGS -belf"
3975 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3976 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3977 if test "${lt_cv_cc_needs_belf+set}" = set; then
3978 echo $ECHO_N "(cached) $ECHO_C" >&6
3983 ac_cpp
='$CPP $CPPFLAGS'
3984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3988 cat >conftest.
$ac_ext <<_ACEOF
3991 cat confdefs.h
>>conftest.
$ac_ext
3992 cat >>conftest.
$ac_ext <<_ACEOF
3993 /* end confdefs.h. */
4003 rm -f conftest.
$ac_objext conftest
$ac_exeext
4004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4005 (eval $ac_link) 2>conftest.er1
4007 grep -v '^ *+' conftest.er1
>conftest.err
4009 cat conftest.err
>&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); } &&
4012 { ac_try
='test -z "$ac_c_werror_flag"
4013 || test ! -s conftest.err'
4014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); }; } &&
4019 { ac_try
='test -s conftest$ac_exeext'
4020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); }; }; then
4025 lt_cv_cc_needs_belf
=yes
4027 echo "$as_me: failed program was:" >&5
4028 sed 's/^/| /' conftest.
$ac_ext >&5
4030 lt_cv_cc_needs_belf
=no
4032 rm -f conftest.err conftest.
$ac_objext \
4033 conftest
$ac_exeext conftest.
$ac_ext
4035 ac_cpp
='$CPP $CPPFLAGS'
4036 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4037 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4038 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4041 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4042 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4043 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4044 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4045 CFLAGS
="$SAVE_CFLAGS"
4053 # Save cache, so that ltconfig can load it
4054 cat >confcache
<<\_ACEOF
4055 # This file is a shell script that caches the results of configure
4056 # tests run on this system so they can be shared between configure
4057 # scripts and configure runs, see configure's option --config-cache.
4058 # It is not useful on other systems. If it contains results you don't
4059 # want to keep, you may remove or edit it.
4061 # config.status only pays attention to the cache file if you give it
4062 # the --recheck option to rerun configure.
4064 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4065 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4070 # The following way of writing the cache mishandles newlines in values,
4071 # but we know of no workaround that is simple, portable, and efficient.
4072 # So, don't put newlines in cache variables' values.
4073 # Ultrix sh set writes to stderr and can't be redirected directly,
4074 # and sets the high bit in the cache file unless we assign to the vars.
4077 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4079 # `set' does not quote correctly, so add quotes (double-quote
4080 # substitution turns \\\\ into \\, and sed turns \\ into \).
4083 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4086 # `set' quotes correctly as required by POSIX, so do not add quotes.
4088 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4095 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4097 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4099 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4100 if test -w $cache_file; then
4101 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4102 cat confcache
>$cache_file
4104 echo "not updating unwritable cache $cache_file"
4109 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4110 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4111 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4112 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4113 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4114 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4115 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4116 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4117 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4118 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4119 echo "$as_me: error: libtool configure failed" >&2;}
4120 { (exit 1); exit 1; }; }
4122 # Reload cache, that may have been modified by ltconfig
4123 if test -r "$cache_file"; then
4124 # Some versions of bash will fail to source /dev/null (special
4125 # files actually), so we avoid doing that.
4126 if test -f "$cache_file"; then
4127 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4128 echo "$as_me: loading cache $cache_file" >&6;}
4130 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4131 *) . .
/$cache_file;;
4135 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4136 echo "$as_me: creating cache $cache_file" >&6;}
4141 # This can be used to rebuild libtool when needed
4142 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4144 # Always use our own libtool.
4145 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4147 # Redirect the config.log output again, so that the ltconfig log is not
4148 # clobbered by the next message.
4149 exec 5>>.
/config.log
4157 # Package version. For an official FSF release, it is empty.
4159 # Check whether --with-pkgversion or --without-pkgversion was given.
4160 if test "${with_pkgversion+set}" = set; then
4161 withval
="$with_pkgversion"
4163 yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5
4164 echo "$as_me: error: package version not specified" >&2;}
4165 { (exit 1); exit 1; }; } ;;
4167 *) PKGVERSION
="($withval) " ;;
4175 # The location to which bugs should be reported.
4177 # Check whether --with-bugurl or --without-bugurl was given.
4178 if test "${with_bugurl+set}" = set; then
4179 withval
="$with_bugurl"
4181 yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5
4182 echo "$as_me: error: bug URL not specified" >&2;}
4183 { (exit 1); exit 1; }; } ;;
4184 no
) REPORT_BUGS_TO
="" ;;
4185 *) REPORT_BUGS_TO
="<URL:$withval>" ;;
4188 REPORT_BUGS_TO
="<URL:http://www.sourceware.org/bugzilla/>"
4193 ac_config_headers
="$ac_config_headers gconfig.h:gconfig.in"
4197 ac_cpp
='$CPP $CPPFLAGS'
4198 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4199 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4200 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4201 if test -n "$ac_tool_prefix"; then
4202 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4203 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4204 echo "$as_me:$LINENO: checking for $ac_word" >&5
4205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4206 if test "${ac_cv_prog_CC+set}" = set; then
4207 echo $ECHO_N "(cached) $ECHO_C" >&6
4209 if test -n "$CC"; then
4210 ac_cv_prog_CC
="$CC" # Let the user override the test.
4212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4216 test -z "$as_dir" && as_dir
=.
4217 for ac_exec_ext
in '' $ac_executable_extensions; do
4218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4219 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4229 if test -n "$CC"; then
4230 echo "$as_me:$LINENO: result: $CC" >&5
4231 echo "${ECHO_T}$CC" >&6
4233 echo "$as_me:$LINENO: result: no" >&5
4234 echo "${ECHO_T}no" >&6
4238 if test -z "$ac_cv_prog_CC"; then
4240 # Extract the first word of "gcc", so it can be a program name with args.
4241 set dummy gcc
; ac_word
=$2
4242 echo "$as_me:$LINENO: checking for $ac_word" >&5
4243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4244 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4245 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 if test -n "$ac_ct_CC"; then
4248 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4254 test -z "$as_dir" && as_dir
=.
4255 for ac_exec_ext
in '' $ac_executable_extensions; do
4256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4257 ac_cv_prog_ac_ct_CC
="gcc"
4258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4266 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4267 if test -n "$ac_ct_CC"; then
4268 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4269 echo "${ECHO_T}$ac_ct_CC" >&6
4271 echo "$as_me:$LINENO: result: no" >&5
4272 echo "${ECHO_T}no" >&6
4280 if test -z "$CC"; then
4281 if test -n "$ac_tool_prefix"; then
4282 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4283 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4284 echo "$as_me:$LINENO: checking for $ac_word" >&5
4285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4286 if test "${ac_cv_prog_CC+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4289 if test -n "$CC"; then
4290 ac_cv_prog_CC
="$CC" # Let the user override the test.
4292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4296 test -z "$as_dir" && as_dir
=.
4297 for ac_exec_ext
in '' $ac_executable_extensions; do
4298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4299 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4309 if test -n "$CC"; then
4310 echo "$as_me:$LINENO: result: $CC" >&5
4311 echo "${ECHO_T}$CC" >&6
4313 echo "$as_me:$LINENO: result: no" >&5
4314 echo "${ECHO_T}no" >&6
4318 if test -z "$ac_cv_prog_CC"; then
4320 # Extract the first word of "cc", so it can be a program name with args.
4321 set dummy cc
; ac_word
=$2
4322 echo "$as_me:$LINENO: checking for $ac_word" >&5
4323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4324 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4327 if test -n "$ac_ct_CC"; then
4328 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4334 test -z "$as_dir" && as_dir
=.
4335 for ac_exec_ext
in '' $ac_executable_extensions; do
4336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4337 ac_cv_prog_ac_ct_CC
="cc"
4338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4346 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4347 if test -n "$ac_ct_CC"; then
4348 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4349 echo "${ECHO_T}$ac_ct_CC" >&6
4351 echo "$as_me:$LINENO: result: no" >&5
4352 echo "${ECHO_T}no" >&6
4361 if test -z "$CC"; then
4362 # Extract the first word of "cc", so it can be a program name with args.
4363 set dummy cc
; ac_word
=$2
4364 echo "$as_me:$LINENO: checking for $ac_word" >&5
4365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4366 if test "${ac_cv_prog_CC+set}" = set; then
4367 echo $ECHO_N "(cached) $ECHO_C" >&6
4369 if test -n "$CC"; then
4370 ac_cv_prog_CC
="$CC" # Let the user override the test.
4373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4377 test -z "$as_dir" && as_dir
=.
4378 for ac_exec_ext
in '' $ac_executable_extensions; do
4379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4380 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4381 ac_prog_rejected
=yes
4385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4391 if test $ac_prog_rejected = yes; then
4392 # We found a bogon in the path, so make sure we never use it.
4393 set dummy
$ac_cv_prog_CC
4395 if test $# != 0; then
4396 # We chose a different compiler from the bogus one.
4397 # However, it has the same basename, so the bogon will be chosen
4398 # first if we set CC to just the basename; use the full file name.
4400 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4406 if test -n "$CC"; then
4407 echo "$as_me:$LINENO: result: $CC" >&5
4408 echo "${ECHO_T}$CC" >&6
4410 echo "$as_me:$LINENO: result: no" >&5
4411 echo "${ECHO_T}no" >&6
4415 if test -z "$CC"; then
4416 if test -n "$ac_tool_prefix"; then
4419 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4420 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4421 echo "$as_me:$LINENO: checking for $ac_word" >&5
4422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4423 if test "${ac_cv_prog_CC+set}" = set; then
4424 echo $ECHO_N "(cached) $ECHO_C" >&6
4426 if test -n "$CC"; then
4427 ac_cv_prog_CC
="$CC" # Let the user override the test.
4429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4433 test -z "$as_dir" && as_dir
=.
4434 for ac_exec_ext
in '' $ac_executable_extensions; do
4435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4436 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4446 if test -n "$CC"; then
4447 echo "$as_me:$LINENO: result: $CC" >&5
4448 echo "${ECHO_T}$CC" >&6
4450 echo "$as_me:$LINENO: result: no" >&5
4451 echo "${ECHO_T}no" >&6
4454 test -n "$CC" && break
4457 if test -z "$CC"; then
4461 # Extract the first word of "$ac_prog", so it can be a program name with args.
4462 set dummy
$ac_prog; ac_word
=$2
4463 echo "$as_me:$LINENO: checking for $ac_word" >&5
4464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4465 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 if test -n "$ac_ct_CC"; then
4469 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4475 test -z "$as_dir" && as_dir
=.
4476 for ac_exec_ext
in '' $ac_executable_extensions; do
4477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4478 ac_cv_prog_ac_ct_CC
="$ac_prog"
4479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4487 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4488 if test -n "$ac_ct_CC"; then
4489 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4490 echo "${ECHO_T}$ac_ct_CC" >&6
4492 echo "$as_me:$LINENO: result: no" >&5
4493 echo "${ECHO_T}no" >&6
4496 test -n "$ac_ct_CC" && break
4505 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4506 See \`config.log' for more details." >&5
4507 echo "$as_me: error: no acceptable C compiler found in \$PATH
4508 See \`config.log' for more details." >&2;}
4509 { (exit 1); exit 1; }; }
4511 # Provide some information about the compiler.
4512 echo "$as_me:$LINENO:" \
4513 "checking for C compiler version" >&5
4514 ac_compiler
=`set X $ac_compile; echo $2`
4515 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4516 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); }
4520 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4521 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); }
4525 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4526 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4529 (exit $ac_status); }
4531 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4532 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4533 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4534 echo $ECHO_N "(cached) $ECHO_C" >&6
4536 cat >conftest.
$ac_ext <<_ACEOF
4539 cat confdefs.h
>>conftest.
$ac_ext
4540 cat >>conftest.
$ac_ext <<_ACEOF
4541 /* end confdefs.h. */
4554 rm -f conftest.
$ac_objext
4555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4556 (eval $ac_compile) 2>conftest.er1
4558 grep -v '^ *+' conftest.er1
>conftest.err
4560 cat conftest.err
>&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); } &&
4563 { ac_try
='test -z "$ac_c_werror_flag"
4564 || test ! -s conftest.err'
4565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); }; } &&
4570 { ac_try
='test -s conftest.$ac_objext'
4571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; }; then
4578 echo "$as_me: failed program was:" >&5
4579 sed 's/^/| /' conftest.
$ac_ext >&5
4583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4584 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4587 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4588 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4589 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4590 ac_test_CFLAGS
=${CFLAGS+set}
4591 ac_save_CFLAGS
=$CFLAGS
4593 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4594 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4595 if test "${ac_cv_prog_cc_g+set}" = set; then
4596 echo $ECHO_N "(cached) $ECHO_C" >&6
4598 cat >conftest.
$ac_ext <<_ACEOF
4601 cat confdefs.h
>>conftest.
$ac_ext
4602 cat >>conftest.
$ac_ext <<_ACEOF
4603 /* end confdefs.h. */
4613 rm -f conftest.
$ac_objext
4614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4615 (eval $ac_compile) 2>conftest.er1
4617 grep -v '^ *+' conftest.er1
>conftest.err
4619 cat conftest.err
>&5
4620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4621 (exit $ac_status); } &&
4622 { ac_try
='test -z "$ac_c_werror_flag"
4623 || test ! -s conftest.err'
4624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); }; } &&
4629 { ac_try
='test -s conftest.$ac_objext'
4630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); }; }; then
4637 echo "$as_me: failed program was:" >&5
4638 sed 's/^/| /' conftest.
$ac_ext >&5
4642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4644 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4645 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4646 if test "$ac_test_CFLAGS" = set; then
4647 CFLAGS
=$ac_save_CFLAGS
4648 elif test $ac_cv_prog_cc_g = yes; then
4649 if test "$GCC" = yes; then
4655 if test "$GCC" = yes; then
4661 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4662 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4663 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4664 echo $ECHO_N "(cached) $ECHO_C" >&6
4666 ac_cv_prog_cc_stdc
=no
4668 cat >conftest.
$ac_ext <<_ACEOF
4671 cat confdefs.h
>>conftest.
$ac_ext
4672 cat >>conftest.
$ac_ext <<_ACEOF
4673 /* end confdefs.h. */
4676 #include <sys/types.h>
4677 #include <sys/stat.h>
4678 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4679 struct buf { int x; };
4680 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4681 static char *e (p, i)
4687 static char *f (char * (*g) (char **, int), char **p, ...)
4692 s = g (p, va_arg (v,int));
4697 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4698 function prototypes and stuff, but not '\xHH' hex character constants.
4699 These don't provoke an error unfortunately, instead are silently treated
4700 as 'x'. The following induces an error, until -std1 is added to get
4701 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4702 array size at least. It's necessary to write '\x00'==0 to get something
4703 that's true only with -std1. */
4704 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4706 int test (int i, double x);
4707 struct s1 {int (*f) (int a);};
4708 struct s2 {int (*f) (double a);};
4709 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4715 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4720 # Don't try gcc -ansi; that turns off useful extensions and
4721 # breaks some systems' header files.
4722 # AIX -qlanglvl=ansi
4723 # Ultrix and OSF/1 -std1
4724 # HP-UX 10.20 and later -Ae
4725 # HP-UX older versions -Aa -D_HPUX_SOURCE
4726 # SVR4 -Xc -D__EXTENSIONS__
4727 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4729 CC
="$ac_save_CC $ac_arg"
4730 rm -f conftest.
$ac_objext
4731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4732 (eval $ac_compile) 2>conftest.er1
4734 grep -v '^ *+' conftest.er1
>conftest.err
4736 cat conftest.err
>&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } &&
4739 { ac_try
='test -z "$ac_c_werror_flag"
4740 || test ! -s conftest.err'
4741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); }; } &&
4746 { ac_try
='test -s conftest.$ac_objext'
4747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; }; then
4752 ac_cv_prog_cc_stdc
=$ac_arg
4755 echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.
$ac_ext >&5
4759 rm -f conftest.err conftest.
$ac_objext
4761 rm -f conftest.
$ac_ext conftest.
$ac_objext
4766 case "x$ac_cv_prog_cc_stdc" in
4768 echo "$as_me:$LINENO: result: none needed" >&5
4769 echo "${ECHO_T}none needed" >&6 ;;
4771 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4772 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4773 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4776 # Some people use a C++ compiler to compile C. Since we use `exit',
4777 # in C++ we need to declare it. In case someone uses the same compiler
4778 # for both compiling C and C++ we need to have the C++ compiler decide
4779 # the declaration of exit, since it's the most demanding environment.
4780 cat >conftest.
$ac_ext <<_ACEOF
4785 rm -f conftest.
$ac_objext
4786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4787 (eval $ac_compile) 2>conftest.er1
4789 grep -v '^ *+' conftest.er1
>conftest.err
4791 cat conftest.err
>&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); } &&
4794 { ac_try
='test -z "$ac_c_werror_flag"
4795 || test ! -s conftest.err'
4796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); }; } &&
4801 { ac_try
='test -s conftest.$ac_objext'
4802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); }; }; then
4807 for ac_declaration
in \
4809 'extern "C" void std::exit (int) throw (); using std::exit;' \
4810 'extern "C" void std::exit (int); using std::exit;' \
4811 'extern "C" void exit (int) throw ();' \
4812 'extern "C" void exit (int);' \
4815 cat >conftest.
$ac_ext <<_ACEOF
4818 cat confdefs.h
>>conftest.
$ac_ext
4819 cat >>conftest.
$ac_ext <<_ACEOF
4820 /* end confdefs.h. */
4831 rm -f conftest.
$ac_objext
4832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4833 (eval $ac_compile) 2>conftest.er1
4835 grep -v '^ *+' conftest.er1
>conftest.err
4837 cat conftest.err
>&5
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); } &&
4840 { ac_try
='test -z "$ac_c_werror_flag"
4841 || test ! -s conftest.err'
4842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); }; } &&
4847 { ac_try
='test -s conftest.$ac_objext'
4848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; }; then
4855 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.
$ac_ext >&5
4860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4861 cat >conftest.
$ac_ext <<_ACEOF
4864 cat confdefs.h
>>conftest.
$ac_ext
4865 cat >>conftest.
$ac_ext <<_ACEOF
4866 /* end confdefs.h. */
4876 rm -f conftest.
$ac_objext
4877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4878 (eval $ac_compile) 2>conftest.er1
4880 grep -v '^ *+' conftest.er1
>conftest.err
4882 cat conftest.err
>&5
4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); } &&
4885 { ac_try
='test -z "$ac_c_werror_flag"
4886 || test ! -s conftest.err'
4887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); }; } &&
4892 { ac_try
='test -s conftest.$ac_objext'
4893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); }; }; then
4900 echo "$as_me: failed program was:" >&5
4901 sed 's/^/| /' conftest.
$ac_ext >&5
4904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4907 if test -n "$ac_declaration"; then
4908 echo '#ifdef __cplusplus' >>confdefs.h
4909 echo $ac_declaration >>confdefs.h
4910 echo '#endif' >>confdefs.h
4914 echo "$as_me: failed program was:" >&5
4915 sed 's/^/| /' conftest.
$ac_ext >&5
4918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4920 ac_cpp
='$CPP $CPPFLAGS'
4921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4925 # Find a good install program. We prefer a C program (faster),
4926 # so one script is as good as another. But avoid the broken or
4927 # incompatible versions:
4928 # SysV /etc/install, /usr/sbin/install
4929 # SunOS /usr/etc/install
4930 # IRIX /sbin/install
4932 # AmigaOS /C/install, which installs bootblocks on floppy discs
4933 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4934 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4935 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4936 # OS/2's system install, which has a completely different semantic
4937 # ./install, which can be erroneously created by make from ./install.sh.
4938 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4939 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4940 if test -z "$INSTALL"; then
4941 if test "${ac_cv_path_install+set}" = set; then
4942 echo $ECHO_N "(cached) $ECHO_C" >&6
4944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4948 test -z "$as_dir" && as_dir
=.
4949 # Account for people who put trailing slashes in PATH elements.
4951 .
/ | .
// |
/cC
/* | \
4952 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4953 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4956 # OSF1 and SCO ODT 3.0 have their own names for install.
4957 # Don't use installbsd from OSF since it installs stuff as root
4959 for ac_prog
in ginstall scoinst
install; do
4960 for ac_exec_ext
in '' $ac_executable_extensions; do
4961 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4962 if test $ac_prog = install &&
4963 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4964 # AIX install. It has an incompatible calling convention.
4966 elif test $ac_prog = install &&
4967 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4968 # program-specific install script used by HP pwplus--don't use.
4971 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4983 if test "${ac_cv_path_install+set}" = set; then
4984 INSTALL
=$ac_cv_path_install
4986 # As a last resort, use the slow shell script. We don't cache a
4987 # path for INSTALL within a source directory, because that will
4988 # break other packages using the cache if that directory is
4989 # removed, or if the path is relative.
4990 INSTALL
=$ac_install_sh
4993 echo "$as_me:$LINENO: result: $INSTALL" >&5
4994 echo "${ECHO_T}$INSTALL" >&6
4996 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4997 # It thinks the first close brace ends the variable substitution.
4998 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5000 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5002 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5006 for ac_func
in setmode
5008 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5009 echo "$as_me:$LINENO: checking for $ac_func" >&5
5010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5011 if eval "test \"\${$as_ac_var+set}\" = set"; then
5012 echo $ECHO_N "(cached) $ECHO_C" >&6
5014 cat >conftest.
$ac_ext <<_ACEOF
5017 cat confdefs.h
>>conftest.
$ac_ext
5018 cat >>conftest.
$ac_ext <<_ACEOF
5019 /* end confdefs.h. */
5020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5022 #define $ac_func innocuous_$ac_func
5024 /* System header to define __stub macros and hopefully few prototypes,
5025 which can conflict with char $ac_func (); below.
5026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5027 <limits.h> exists even on freestanding compilers. */
5030 # include <limits.h>
5032 # include <assert.h>
5037 /* Override any gcc2 internal prototype to avoid an error. */
5042 /* We use char because int might match the return type of a gcc2
5043 builtin and then its argument prototype would still apply. */
5045 /* The GNU C library defines this for functions which it implements
5046 to always fail with ENOSYS. Some functions are actually named
5047 something starting with __ and the normal name is an alias. */
5048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5051 char (*f) () = $ac_func;
5060 return f != $ac_func;
5065 rm -f conftest.
$ac_objext conftest
$ac_exeext
5066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5067 (eval $ac_link) 2>conftest.er1
5069 grep -v '^ *+' conftest.er1
>conftest.err
5071 cat conftest.err
>&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } &&
5074 { ac_try
='test -z "$ac_c_werror_flag"
5075 || test ! -s conftest.err'
5076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); }; } &&
5081 { ac_try
='test -s conftest$ac_exeext'
5082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); }; }; then
5087 eval "$as_ac_var=yes"
5089 echo "$as_me: failed program was:" >&5
5090 sed 's/^/| /' conftest.
$ac_ext >&5
5092 eval "$as_ac_var=no"
5094 rm -f conftest.err conftest.
$ac_objext \
5095 conftest
$ac_exeext conftest.
$ac_ext
5097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5099 if test `eval echo '${'$as_ac_var'}'` = yes; then
5100 cat >>confdefs.h
<<_ACEOF
5101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5108 ALL_LINGUAS
="fr tr sv es id da pt_BR de vi rw ga ms"
5109 # If we haven't got the data from the intl directory,
5110 # assume NLS is disabled.
5119 if test -f ..
/intl
/config.intl
; then
5120 . ..
/intl
/config.intl
5122 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5123 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5124 if test x
"$USE_NLS" != xyes
; then
5125 echo "$as_me:$LINENO: result: no" >&5
5126 echo "${ECHO_T}no" >&6
5128 echo "$as_me:$LINENO: result: yes" >&5
5129 echo "${ECHO_T}yes" >&6
5131 cat >>confdefs.h
<<\_ACEOF
5132 #define ENABLE_NLS 1
5136 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5137 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5138 # Look for .po and .gmo files in the source directory.
5141 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5142 # If there aren't any .gmo files the shell will give us the
5143 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5145 case "$cat" in *\
**)
5148 # The quadruple backslash is collapsed to a double backslash
5149 # by the backticks, then collapsed again by the double quotes,
5150 # leaving us with one backslash in the sed expression (right
5151 # before the dot that mustn't act as a wildcard).
5152 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
5153 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
5154 # The user is allowed to set LINGUAS to a list of languages to
5155 # install catalogs for. If it's empty that means "all of them."
5156 if test "x$LINGUAS" = x
; then
5157 CATALOGS
="$CATALOGS $cat"
5158 XLINGUAS
="$XLINGUAS $lang"
5160 case "$LINGUAS" in *$lang*)
5161 CATALOGS
="$CATALOGS $cat"
5162 XLINGUAS
="$XLINGUAS $lang"
5168 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5169 echo "${ECHO_T}$LINGUAS" >&6
5183 if test -n "$ac_aux_dir"; then
5184 case "$ac_aux_dir" in
5185 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
5186 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
5189 if test -z "$MKINSTALLDIRS"; then
5190 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
5195 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5196 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5197 # Check whether --enable-nls or --disable-nls was given.
5198 if test "${enable_nls+set}" = set; then
5199 enableval
="$enable_nls"
5204 echo "$as_me:$LINENO: result: $USE_NLS" >&5
5205 echo "${ECHO_T}$USE_NLS" >&6
5212 # Prepare PATH_SEPARATOR.
5213 # The user is always right.
5214 if test "${PATH_SEPARATOR+set}" != set; then
5215 echo "#! /bin/sh" >conf$$.sh
5216 echo "exit 0" >>conf$$.sh
5218 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5226 # Find out how to test for executable files. Don't use a zero-byte file,
5227 # as systems may use methods other than mode bits to determine executability.
5228 cat >conf$$.
file <<_ASEOF
5232 chmod +x conf$$.
file
5233 if test -x conf$$.
file >/dev
/null
2>&1; then
5234 ac_executable_p
="test -x"
5236 ac_executable_p
="test -f"
5240 # Extract the first word of "msgfmt", so it can be a program name with args.
5241 set dummy msgfmt
; ac_word
=$2
5242 echo "$as_me:$LINENO: checking for $ac_word" >&5
5243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5244 if test "${ac_cv_path_MSGFMT+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5252 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5253 for ac_dir
in $PATH; do
5255 test -z "$ac_dir" && ac_dir
=.
5256 for ac_exec_ext
in '' $ac_executable_extensions; do
5257 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5258 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
5259 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5260 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
5267 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
5271 MSGFMT
="$ac_cv_path_MSGFMT"
5272 if test "$MSGFMT" != ":"; then
5273 echo "$as_me:$LINENO: result: $MSGFMT" >&5
5274 echo "${ECHO_T}$MSGFMT" >&6
5276 echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6
5280 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5281 set dummy gmsgfmt
; ac_word
=$2
5282 echo "$as_me:$LINENO: checking for $ac_word" >&5
5283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5284 if test "${ac_cv_path_GMSGFMT+set}" = set; then
5285 echo $ECHO_N "(cached) $ECHO_C" >&6
5289 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5296 test -z "$as_dir" && as_dir
=.
5297 for ac_exec_ext
in '' $ac_executable_extensions; do
5298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5299 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5310 GMSGFMT
=$ac_cv_path_GMSGFMT
5312 if test -n "$GMSGFMT"; then
5313 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
5314 echo "${ECHO_T}$GMSGFMT" >&6
5316 echo "$as_me:$LINENO: result: no" >&5
5317 echo "${ECHO_T}no" >&6
5322 # Prepare PATH_SEPARATOR.
5323 # The user is always right.
5324 if test "${PATH_SEPARATOR+set}" != set; then
5325 echo "#! /bin/sh" >conf$$.sh
5326 echo "exit 0" >>conf$$.sh
5328 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5336 # Find out how to test for executable files. Don't use a zero-byte file,
5337 # as systems may use methods other than mode bits to determine executability.
5338 cat >conf$$.
file <<_ASEOF
5342 chmod +x conf$$.
file
5343 if test -x conf$$.
file >/dev
/null
2>&1; then
5344 ac_executable_p
="test -x"
5346 ac_executable_p
="test -f"
5350 # Extract the first word of "xgettext", so it can be a program name with args.
5351 set dummy xgettext
; ac_word
=$2
5352 echo "$as_me:$LINENO: checking for $ac_word" >&5
5353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5354 if test "${ac_cv_path_XGETTEXT+set}" = set; then
5355 echo $ECHO_N "(cached) $ECHO_C" >&6
5359 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5362 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5363 for ac_dir
in $PATH; do
5365 test -z "$ac_dir" && ac_dir
=.
5366 for ac_exec_ext
in '' $ac_executable_extensions; do
5367 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5368 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5369 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5370 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
5377 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
5381 XGETTEXT
="$ac_cv_path_XGETTEXT"
5382 if test "$XGETTEXT" != ":"; then
5383 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
5384 echo "${ECHO_T}$XGETTEXT" >&6
5386 echo "$as_me:$LINENO: result: no" >&5
5387 echo "${ECHO_T}no" >&6
5393 # Prepare PATH_SEPARATOR.
5394 # The user is always right.
5395 if test "${PATH_SEPARATOR+set}" != set; then
5396 echo "#! /bin/sh" >conf$$.sh
5397 echo "exit 0" >>conf$$.sh
5399 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5407 # Find out how to test for executable files. Don't use a zero-byte file,
5408 # as systems may use methods other than mode bits to determine executability.
5409 cat >conf$$.
file <<_ASEOF
5413 chmod +x conf$$.
file
5414 if test -x conf$$.
file >/dev
/null
2>&1; then
5415 ac_executable_p
="test -x"
5417 ac_executable_p
="test -f"
5421 # Extract the first word of "msgmerge", so it can be a program name with args.
5422 set dummy msgmerge
; ac_word
=$2
5423 echo "$as_me:$LINENO: checking for $ac_word" >&5
5424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5425 if test "${ac_cv_path_MSGMERGE+set}" = set; then
5426 echo $ECHO_N "(cached) $ECHO_C" >&6
5430 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5433 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
5434 for ac_dir
in $PATH; do
5436 test -z "$ac_dir" && ac_dir
=.
5437 for ac_exec_ext
in '' $ac_executable_extensions; do
5438 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5439 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
5440 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
5447 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
5451 MSGMERGE
="$ac_cv_path_MSGMERGE"
5452 if test "$MSGMERGE" != ":"; then
5453 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
5454 echo "${ECHO_T}$MSGMERGE" >&6
5456 echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6
5461 if test "$GMSGFMT" != ":"; then
5462 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
5463 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5466 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
5467 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
5468 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
5473 if test "$XGETTEXT" != ":"; then
5474 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
5475 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
5478 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5479 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5485 ac_config_commands
="$ac_config_commands default-1"
5489 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5490 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
5491 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
5492 if test "${enable_maintainer_mode+set}" = set; then
5493 enableval
="$enable_maintainer_mode"
5494 USE_MAINTAINER_MODE
=$enableval
5496 USE_MAINTAINER_MODE
=no
5498 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5499 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
5502 if test $USE_MAINTAINER_MODE = yes; then
5503 MAINTAINER_MODE_TRUE
=
5504 MAINTAINER_MODE_FALSE
='#'
5506 MAINTAINER_MODE_TRUE
='#'
5507 MAINTAINER_MODE_FALSE
=
5510 MAINT
=$MAINTAINER_MODE_TRUE
5516 GENINSRC_NEVER_TRUE
=
5517 GENINSRC_NEVER_FALSE
='#'
5519 GENINSRC_NEVER_TRUE
='#'
5520 GENINSRC_NEVER_FALSE
=
5526 ac_cpp
='$CPP $CPPFLAGS'
5527 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5528 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5529 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5530 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5531 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5532 # On Suns, sometimes $CPP names a directory.
5533 if test -n "$CPP" && test -d "$CPP"; then
5536 if test -z "$CPP"; then
5537 if test "${ac_cv_prog_CPP+set}" = set; then
5538 echo $ECHO_N "(cached) $ECHO_C" >&6
5540 # Double quotes because CPP needs to be expanded
5541 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5544 for ac_c_preproc_warn_flag
in '' yes
5546 # Use a header file that comes with gcc, so configuring glibc
5547 # with a fresh cross-compiler works.
5548 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5549 # <limits.h> exists even on freestanding compilers.
5550 # On the NeXT, cc -E runs the code through the compiler's parser,
5551 # not just through cpp. "Syntax error" is here to catch this case.
5552 cat >conftest.
$ac_ext <<_ACEOF
5555 cat confdefs.h
>>conftest.
$ac_ext
5556 cat >>conftest.
$ac_ext <<_ACEOF
5557 /* end confdefs.h. */
5559 # include <limits.h>
5561 # include <assert.h>
5565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5566 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5568 grep -v '^ *+' conftest.er1
>conftest.err
5570 cat conftest.err
>&5
5571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 (exit $ac_status); } >/dev
/null
; then
5573 if test -s conftest.err
; then
5574 ac_cpp_err
=$ac_c_preproc_warn_flag
5575 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5582 if test -z "$ac_cpp_err"; then
5585 echo "$as_me: failed program was:" >&5
5586 sed 's/^/| /' conftest.
$ac_ext >&5
5588 # Broken: fails on valid input.
5591 rm -f conftest.err conftest.
$ac_ext
5593 # OK, works on sane cases. Now check whether non-existent headers
5594 # can be detected and how.
5595 cat >conftest.
$ac_ext <<_ACEOF
5598 cat confdefs.h
>>conftest.
$ac_ext
5599 cat >>conftest.
$ac_ext <<_ACEOF
5600 /* end confdefs.h. */
5601 #include <ac_nonexistent.h>
5603 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5604 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5606 grep -v '^ *+' conftest.er1
>conftest.err
5608 cat conftest.err
>&5
5609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610 (exit $ac_status); } >/dev
/null
; then
5611 if test -s conftest.err
; then
5612 ac_cpp_err
=$ac_c_preproc_warn_flag
5613 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5620 if test -z "$ac_cpp_err"; then
5621 # Broken: success on invalid input.
5624 echo "$as_me: failed program was:" >&5
5625 sed 's/^/| /' conftest.
$ac_ext >&5
5627 # Passes both tests.
5631 rm -f conftest.err conftest.
$ac_ext
5634 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5635 rm -f conftest.err conftest.
$ac_ext
5636 if $ac_preproc_ok; then
5648 echo "$as_me:$LINENO: result: $CPP" >&5
5649 echo "${ECHO_T}$CPP" >&6
5651 for ac_c_preproc_warn_flag
in '' yes
5653 # Use a header file that comes with gcc, so configuring glibc
5654 # with a fresh cross-compiler works.
5655 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5656 # <limits.h> exists even on freestanding compilers.
5657 # On the NeXT, cc -E runs the code through the compiler's parser,
5658 # not just through cpp. "Syntax error" is here to catch this case.
5659 cat >conftest.
$ac_ext <<_ACEOF
5662 cat confdefs.h
>>conftest.
$ac_ext
5663 cat >>conftest.
$ac_ext <<_ACEOF
5664 /* end confdefs.h. */
5666 # include <limits.h>
5668 # include <assert.h>
5672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5673 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5675 grep -v '^ *+' conftest.er1
>conftest.err
5677 cat conftest.err
>&5
5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679 (exit $ac_status); } >/dev
/null
; then
5680 if test -s conftest.err
; then
5681 ac_cpp_err
=$ac_c_preproc_warn_flag
5682 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5689 if test -z "$ac_cpp_err"; then
5692 echo "$as_me: failed program was:" >&5
5693 sed 's/^/| /' conftest.
$ac_ext >&5
5695 # Broken: fails on valid input.
5698 rm -f conftest.err conftest.
$ac_ext
5700 # OK, works on sane cases. Now check whether non-existent headers
5701 # can be detected and how.
5702 cat >conftest.
$ac_ext <<_ACEOF
5705 cat confdefs.h
>>conftest.
$ac_ext
5706 cat >>conftest.
$ac_ext <<_ACEOF
5707 /* end confdefs.h. */
5708 #include <ac_nonexistent.h>
5710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5711 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5713 grep -v '^ *+' conftest.er1
>conftest.err
5715 cat conftest.err
>&5
5716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5717 (exit $ac_status); } >/dev
/null
; then
5718 if test -s conftest.err
; then
5719 ac_cpp_err
=$ac_c_preproc_warn_flag
5720 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5727 if test -z "$ac_cpp_err"; then
5728 # Broken: success on invalid input.
5731 echo "$as_me: failed program was:" >&5
5732 sed 's/^/| /' conftest.
$ac_ext >&5
5734 # Passes both tests.
5738 rm -f conftest.err conftest.
$ac_ext
5741 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5742 rm -f conftest.err conftest.
$ac_ext
5743 if $ac_preproc_ok; then
5746 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5747 See \`config.log' for more details." >&5
5748 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5749 See \`config.log' for more details." >&2;}
5750 { (exit 1); exit 1; }; }
5754 ac_cpp
='$CPP $CPPFLAGS'
5755 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5756 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5757 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5760 echo "$as_me:$LINENO: checking for egrep" >&5
5761 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5762 if test "${ac_cv_prog_egrep+set}" = set; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5766 then ac_cv_prog_egrep
='grep -E'
5767 else ac_cv_prog_egrep
='egrep'
5770 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5771 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5772 EGREP
=$ac_cv_prog_egrep
5775 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5776 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5777 if test "${ac_cv_header_stdc+set}" = set; then
5778 echo $ECHO_N "(cached) $ECHO_C" >&6
5780 cat >conftest.
$ac_ext <<_ACEOF
5783 cat confdefs.h
>>conftest.
$ac_ext
5784 cat >>conftest.
$ac_ext <<_ACEOF
5785 /* end confdefs.h. */
5799 rm -f conftest.
$ac_objext
5800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5801 (eval $ac_compile) 2>conftest.er1
5803 grep -v '^ *+' conftest.er1
>conftest.err
5805 cat conftest.err
>&5
5806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5807 (exit $ac_status); } &&
5808 { ac_try
='test -z "$ac_c_werror_flag"
5809 || test ! -s conftest.err'
5810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); }; } &&
5815 { ac_try
='test -s conftest.$ac_objext'
5816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820 (exit $ac_status); }; }; then
5821 ac_cv_header_stdc
=yes
5823 echo "$as_me: failed program was:" >&5
5824 sed 's/^/| /' conftest.
$ac_ext >&5
5826 ac_cv_header_stdc
=no
5828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5830 if test $ac_cv_header_stdc = yes; then
5831 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5832 cat >conftest.
$ac_ext <<_ACEOF
5835 cat confdefs.h
>>conftest.
$ac_ext
5836 cat >>conftest.
$ac_ext <<_ACEOF
5837 /* end confdefs.h. */
5841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5842 $EGREP "memchr" >/dev
/null
2>&1; then
5845 ac_cv_header_stdc
=no
5851 if test $ac_cv_header_stdc = yes; then
5852 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5853 cat >conftest.
$ac_ext <<_ACEOF
5856 cat confdefs.h
>>conftest.
$ac_ext
5857 cat >>conftest.
$ac_ext <<_ACEOF
5858 /* end confdefs.h. */
5862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5863 $EGREP "free" >/dev
/null
2>&1; then
5866 ac_cv_header_stdc
=no
5872 if test $ac_cv_header_stdc = yes; then
5873 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5874 if test "$cross_compiling" = yes; then
5877 cat >conftest.
$ac_ext <<_ACEOF
5880 cat confdefs.h
>>conftest.
$ac_ext
5881 cat >>conftest.
$ac_ext <<_ACEOF
5882 /* end confdefs.h. */
5884 #if ((' ' & 0x0FF) == 0x020)
5885 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5886 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5888 # define ISLOWER(c) \
5889 (('a' <= (c) && (c) <= 'i') \
5890 || ('j' <= (c) && (c) <= 'r') \
5891 || ('s' <= (c) && (c) <= 'z'))
5892 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5895 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5900 for (i = 0; i < 256; i++)
5901 if (XOR (islower (i), ISLOWER (i))
5902 || toupper (i) != TOUPPER (i))
5907 rm -f conftest
$ac_exeext
5908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5909 (eval $ac_link) 2>&5
5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5912 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5917 (exit $ac_status); }; }; then
5920 echo "$as_me: program exited with status $ac_status" >&5
5921 echo "$as_me: failed program was:" >&5
5922 sed 's/^/| /' conftest.
$ac_ext >&5
5925 ac_cv_header_stdc
=no
5927 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5931 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5932 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5933 if test $ac_cv_header_stdc = yes; then
5935 cat >>confdefs.h
<<\_ACEOF
5936 #define STDC_HEADERS 1
5941 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5951 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5952 inttypes.h stdint.h unistd.h
5954 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5955 echo "$as_me:$LINENO: checking for $ac_header" >&5
5956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5958 echo $ECHO_N "(cached) $ECHO_C" >&6
5960 cat >conftest.
$ac_ext <<_ACEOF
5963 cat confdefs.h
>>conftest.
$ac_ext
5964 cat >>conftest.
$ac_ext <<_ACEOF
5965 /* end confdefs.h. */
5966 $ac_includes_default
5968 #include <$ac_header>
5970 rm -f conftest.
$ac_objext
5971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5972 (eval $ac_compile) 2>conftest.er1
5974 grep -v '^ *+' conftest.er1
>conftest.err
5976 cat conftest.err
>&5
5977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5978 (exit $ac_status); } &&
5979 { ac_try
='test -z "$ac_c_werror_flag"
5980 || test ! -s conftest.err'
5981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5985 (exit $ac_status); }; } &&
5986 { ac_try
='test -s conftest.$ac_objext'
5987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5991 (exit $ac_status); }; }; then
5992 eval "$as_ac_Header=yes"
5994 echo "$as_me: failed program was:" >&5
5995 sed 's/^/| /' conftest.
$ac_ext >&5
5997 eval "$as_ac_Header=no"
5999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6004 cat >>confdefs.h
<<_ACEOF
6005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6014 for ac_header
in sys
/gmon_out.h
6016 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6018 echo "$as_me:$LINENO: checking for $ac_header" >&5
6019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6021 echo $ECHO_N "(cached) $ECHO_C" >&6
6023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6024 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6026 # Is the header compilable?
6027 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6028 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6029 cat >conftest.
$ac_ext <<_ACEOF
6032 cat confdefs.h
>>conftest.
$ac_ext
6033 cat >>conftest.
$ac_ext <<_ACEOF
6034 /* end confdefs.h. */
6035 $ac_includes_default
6036 #include <$ac_header>
6038 rm -f conftest.
$ac_objext
6039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6040 (eval $ac_compile) 2>conftest.er1
6042 grep -v '^ *+' conftest.er1
>conftest.err
6044 cat conftest.err
>&5
6045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6046 (exit $ac_status); } &&
6047 { ac_try
='test -z "$ac_c_werror_flag"
6048 || test ! -s conftest.err'
6049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 (exit $ac_status); }; } &&
6054 { ac_try
='test -s conftest.$ac_objext'
6055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6059 (exit $ac_status); }; }; then
6060 ac_header_compiler
=yes
6062 echo "$as_me: failed program was:" >&5
6063 sed 's/^/| /' conftest.
$ac_ext >&5
6065 ac_header_compiler
=no
6067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6068 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6069 echo "${ECHO_T}$ac_header_compiler" >&6
6071 # Is the header present?
6072 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6073 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6074 cat >conftest.
$ac_ext <<_ACEOF
6077 cat confdefs.h
>>conftest.
$ac_ext
6078 cat >>conftest.
$ac_ext <<_ACEOF
6079 /* end confdefs.h. */
6080 #include <$ac_header>
6082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6083 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6085 grep -v '^ *+' conftest.er1
>conftest.err
6087 cat conftest.err
>&5
6088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6089 (exit $ac_status); } >/dev
/null
; then
6090 if test -s conftest.err
; then
6091 ac_cpp_err
=$ac_c_preproc_warn_flag
6092 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6099 if test -z "$ac_cpp_err"; then
6100 ac_header_preproc
=yes
6102 echo "$as_me: failed program was:" >&5
6103 sed 's/^/| /' conftest.
$ac_ext >&5
6105 ac_header_preproc
=no
6107 rm -f conftest.err conftest.
$ac_ext
6108 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6109 echo "${ECHO_T}$ac_header_preproc" >&6
6111 # So? What about this header?
6112 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6114 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6115 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6117 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6118 ac_header_preproc
=yes
6121 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6122 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6123 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6124 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6125 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6126 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6127 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6128 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6129 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6130 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6131 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6132 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6135 ## ------------------------------------------ ##
6136 ## Report this to the AC_PACKAGE_NAME lists. ##
6137 ## ------------------------------------------ ##
6140 sed "s/^/$as_me: WARNING: /" >&2
6143 echo "$as_me:$LINENO: checking for $ac_header" >&5
6144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6146 echo $ECHO_N "(cached) $ECHO_C" >&6
6148 eval "$as_ac_Header=\$ac_header_preproc"
6150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6155 cat >>confdefs.h
<<_ACEOF
6156 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6164 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
6165 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
6166 if test "${gprof_cv_decl_getopt_unistd_h+set}" = set; then
6167 echo $ECHO_N "(cached) $ECHO_C" >&6
6169 cat >conftest.
$ac_ext <<_ACEOF
6172 cat confdefs.h
>>conftest.
$ac_ext
6173 cat >>conftest.
$ac_ext <<_ACEOF
6174 /* end confdefs.h. */
6179 extern int getopt (int, char *const*, const char *);
6184 rm -f conftest.
$ac_objext
6185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6186 (eval $ac_compile) 2>conftest.er1
6188 grep -v '^ *+' conftest.er1
>conftest.err
6190 cat conftest.err
>&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); } &&
6193 { ac_try
='test -z "$ac_c_werror_flag"
6194 || test ! -s conftest.err'
6195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 (exit $ac_status); }; } &&
6200 { ac_try
='test -s conftest.$ac_objext'
6201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205 (exit $ac_status); }; }; then
6206 gprof_cv_decl_getopt_unistd_h
=yes
6208 echo "$as_me: failed program was:" >&5
6209 sed 's/^/| /' conftest.
$ac_ext >&5
6211 gprof_cv_decl_getopt_unistd_h
=no
6213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6216 echo "$as_me:$LINENO: result: $gprof_cv_decl_getopt_unistd_h" >&5
6217 echo "${ECHO_T}$gprof_cv_decl_getopt_unistd_h" >&6
6218 if test $gprof_cv_decl_getopt_unistd_h = yes; then
6220 cat >>confdefs.h
<<\_ACEOF
6221 #define HAVE_DECL_GETOPT 1
6227 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
6229 # Check whether --enable-werror or --disable-werror was given.
6230 if test "${enable_werror+set}" = set; then
6231 enableval
="$enable_werror"
6232 case "${enableval}" in
6233 yes | y
) ERROR_ON_WARNING
="yes" ;;
6234 no | n
) ERROR_ON_WARNING
="no" ;;
6235 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
6236 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
6237 { (exit 1); exit 1; }; } ;;
6241 # Enable -Werror by default when using gcc
6242 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
6243 ERROR_ON_WARNING
=yes
6247 if test "${ERROR_ON_WARNING}" = yes ; then
6248 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
6249 NO_WERROR
="-Wno-error"
6252 if test "${GCC}" = yes ; then
6253 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
6256 # Check whether --enable-build-warnings or --disable-build-warnings was given.
6257 if test "${enable_build_warnings+set}" = set; then
6258 enableval
="$enable_build_warnings"
6259 case "${enableval}" in
6260 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
6261 no
) if test "${GCC}" = yes ; then
6264 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6265 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
6266 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
6267 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
6268 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
6272 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
6273 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
6284 ac_config_files
="$ac_config_files Makefile po/Makefile.in:po/Make-in"
6286 cat >confcache
<<\_ACEOF
6287 # This file is a shell script that caches the results of configure
6288 # tests run on this system so they can be shared between configure
6289 # scripts and configure runs, see configure's option --config-cache.
6290 # It is not useful on other systems. If it contains results you don't
6291 # want to keep, you may remove or edit it.
6293 # config.status only pays attention to the cache file if you give it
6294 # the --recheck option to rerun configure.
6296 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6297 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6302 # The following way of writing the cache mishandles newlines in values,
6303 # but we know of no workaround that is simple, portable, and efficient.
6304 # So, don't put newlines in cache variables' values.
6305 # Ultrix sh set writes to stderr and can't be redirected directly,
6306 # and sets the high bit in the cache file unless we assign to the vars.
6309 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6311 # `set' does not quote correctly, so add quotes (double-quote
6312 # substitution turns \\\\ into \\, and sed turns \\ into \).
6315 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6318 # `set' quotes correctly as required by POSIX, so do not add quotes.
6320 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6327 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6329 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6331 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6332 if test -w $cache_file; then
6333 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6334 cat confcache
>$cache_file
6336 echo "not updating unwritable cache $cache_file"
6341 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6342 # Let make expand exec_prefix.
6343 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6345 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6346 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6347 # trailing colons and then remove the whole line if VPATH becomes empty
6348 # (actually we leave an empty line to preserve line numbers).
6349 if test "x$srcdir" = x.
; then
6350 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6351 s/:*\$(srcdir):*/:/;
6352 s/:*\${srcdir}:*/:/;
6354 s/^\([^=]*=[ ]*\):*/\1/;
6360 DEFS
=-DHAVE_CONFIG_H
6364 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6365 # 1. Remove the extension, and $U if already installed.
6366 ac_i
=`echo "$ac_i" |
6367 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6369 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6370 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6374 LTLIBOBJS
=$ac_ltlibobjs
6377 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6378 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6379 Usually this means the macro was only invoked conditionally." >&5
6380 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6381 Usually this means the macro was only invoked conditionally." >&2;}
6382 { (exit 1); exit 1; }; }
6384 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6385 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6386 Usually this means the macro was only invoked conditionally." >&5
6387 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6388 Usually this means the macro was only invoked conditionally." >&2;}
6389 { (exit 1); exit 1; }; }
6391 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6392 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6393 Usually this means the macro was only invoked conditionally." >&5
6394 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6395 Usually this means the macro was only invoked conditionally." >&2;}
6396 { (exit 1); exit 1; }; }
6398 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
6399 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
6400 Usually this means the macro was only invoked conditionally." >&5
6401 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
6402 Usually this means the macro was only invoked conditionally." >&2;}
6403 { (exit 1); exit 1; }; }
6406 : ${CONFIG_STATUS=./config.status}
6407 ac_clean_files_save
=$ac_clean_files
6408 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6409 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6410 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6411 cat >$CONFIG_STATUS <<_ACEOF
6413 # Generated by $as_me.
6414 # Run this file to recreate the current configuration.
6415 # Compiler output produced by configure, useful for debugging
6416 # configure, is in config.log if it exists.
6421 SHELL=\${CONFIG_SHELL-$SHELL}
6424 cat >>$CONFIG_STATUS <<\_ACEOF
6425 ## --------------------- ##
6426 ## M4sh Initialization. ##
6427 ## --------------------- ##
6429 # Be Bourne compatible
6430 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6433 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6434 # is contrary to our usage. Disable this feature.
6435 alias -g '${1+"$@"}'='"$@"'
6436 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6439 DUALCASE
=1; export DUALCASE
# for MKS sh
6441 # Support unset when possible.
6442 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6449 # Work around bugs in pre-3.0 UWIN ksh.
6450 $as_unset ENV MAIL MAILPATH
6457 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6458 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6459 LC_TELEPHONE LC_TIME
6461 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6462 eval $as_var=C
; export $as_var
6468 # Required to use basename.
6469 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6475 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6476 as_basename
=basename
6482 # Name of the executable.
6483 as_me
=`$as_basename "$0" ||
6484 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6485 X"$0" : 'X\(//\)$' \| \
6486 X"$0" : 'X\(/\)$' \| \
6487 . : '\(.\)' 2>/dev/null ||
6489 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6490 /^X\/\(\/\/\)$/{ s//\1/; q; }
6491 /^X\/\(\/\).*/{ s//\1/; q; }
6495 # PATH needs CR, and LINENO needs CR and PATH.
6496 # Avoid depending upon Character Ranges.
6497 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6498 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6499 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6500 as_cr_digits
='0123456789'
6501 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6503 # The user is always right.
6504 if test "${PATH_SEPARATOR+set}" != set; then
6505 echo "#! /bin/sh" >conf$$.sh
6506 echo "exit 0" >>conf$$.sh
6508 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6519 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6520 test "x$as_lineno_1" != "x$as_lineno_2" &&
6521 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6522 # Find who we are. Look in the path if we contain no path at all
6525 *[\\/]* ) as_myself
=$0 ;;
6526 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6530 test -z "$as_dir" && as_dir
=.
6531 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6536 # We did not find ourselves, most probably we were run as `sh COMMAND'
6537 # in which case we are not to be found in the path.
6538 if test "x$as_myself" = x
; then
6541 if test ! -f "$as_myself"; then
6542 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6543 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6544 { (exit 1); exit 1; }; }
6546 case $CONFIG_SHELL in
6548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6549 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6552 test -z "$as_dir" && as_dir
=.
6553 for as_base
in sh bash ksh sh5
; do
6556 if ("$as_dir/$as_base" -c '
6559 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6560 test "x$as_lineno_1" != "x$as_lineno_2" &&
6561 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6562 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6563 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6564 CONFIG_SHELL
=$as_dir/$as_base
6566 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6574 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6575 # uniformly replaced by the line number. The first 'sed' inserts a
6576 # line-number line before each line; the second 'sed' does the real
6577 # work. The second script uses 'N' to pair each line-number line
6578 # with the numbered line, and appends trailing '-' during
6579 # substitution so that $LINENO is not a special case at line end.
6580 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6581 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6582 sed '=' <$as_myself |
6587 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6590 s,^['$as_cr_digits']*\n,,
6592 chmod +x
$as_me.lineno ||
6593 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6594 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6595 { (exit 1); exit 1; }; }
6597 # Don't try to exec as it changes $[0], causing all sort of problems
6598 # (the dirname of $[0] is not the place where we might find the
6599 # original and so on. Autoconf is especially sensible to this).
6601 # Exit status is that of the last command.
6606 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6607 *c
*,-n*) ECHO_N
= ECHO_C
='
6609 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6610 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6613 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6619 rm -f conf$$ conf$$.exe conf$$.
file
6621 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6622 # We could just check for DJGPP; but this test a) works b) is more generic
6623 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6624 if test -f conf$$.exe
; then
6625 # Don't use ln at all; we don't have any links
6630 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6635 rm -f conf$$ conf$$.exe conf$$.
file
6637 if mkdir
-p .
2>/dev
/null
; then
6640 test -d .
/-p && rmdir .
/-p
6644 as_executable_p
="test -f"
6646 # Sed expression to map a string onto a valid CPP name.
6647 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6649 # Sed expression to map a string onto a valid variable name.
6650 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6654 # We need space, tab and new line, in precisely that order.
6664 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6665 # report actual input values of CONFIG_FILES etc. instead of their
6666 # values after options handling. Logging --version etc. is OK.
6670 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6671 ## Running $as_me. ##
6676 This file was extended by $as_me, which was
6677 generated by GNU Autoconf 2.59. Invocation command line was
6679 CONFIG_FILES = $CONFIG_FILES
6680 CONFIG_HEADERS = $CONFIG_HEADERS
6681 CONFIG_LINKS = $CONFIG_LINKS
6682 CONFIG_COMMANDS = $CONFIG_COMMANDS
6686 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6690 # Files that config.status was made for.
6691 if test -n "$ac_config_files"; then
6692 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6695 if test -n "$ac_config_headers"; then
6696 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6699 if test -n "$ac_config_links"; then
6700 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6703 if test -n "$ac_config_commands"; then
6704 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6707 cat >>$CONFIG_STATUS <<\_ACEOF
6710 \`$as_me' instantiates files from templates according to the
6711 current configuration.
6713 Usage: $0 [OPTIONS] [FILE]...
6715 -h, --help print this help, then exit
6716 -V, --version print version number, then exit
6717 -q, --quiet do not print progress messages
6718 -d, --debug don't remove temporary files
6719 --recheck update $as_me by reconfiguring in the same conditions
6720 --file=FILE[:TEMPLATE]
6721 instantiate the configuration file FILE
6722 --header=FILE[:TEMPLATE]
6723 instantiate the configuration header FILE
6725 Configuration files:
6728 Configuration headers:
6731 Configuration commands:
6734 Report bugs to <bug-autoconf@gnu.org>."
6737 cat >>$CONFIG_STATUS <<_ACEOF
6740 configured by $0, generated by GNU Autoconf 2.59,
6741 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6743 Copyright (C) 2003 Free Software Foundation, Inc.
6744 This config.status script is free software; the Free Software Foundation
6745 gives unlimited permission to copy, distribute and modify it."
6750 cat >>$CONFIG_STATUS <<\_ACEOF
6751 # If no file are specified by the user, then we need to provide default
6752 # value. By we need to know if files were specified by the user.
6758 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6759 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6767 *) # This is not an option, so the user has probably given explicit
6770 ac_need_defaults
=false
;;
6774 # Handling of the options.
6776 cat >>$CONFIG_STATUS <<\_ACEOF
6777 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6779 --version |
--vers* |
-V )
6780 echo "$ac_cs_version"; exit 0 ;;
6782 # Conflict between --help and --header
6783 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6784 Try \`$0 --help' for more information." >&5
6785 echo "$as_me: error: ambiguous option: $1
6786 Try \`$0 --help' for more information." >&2;}
6787 { (exit 1); exit 1; }; };;
6788 --help |
--hel |
-h )
6789 echo "$ac_cs_usage"; exit 0 ;;
6790 --debug |
--d* |
-d )
6792 --file |
--fil |
--fi |
--f )
6794 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6795 ac_need_defaults
=false
;;
6796 --header |
--heade |
--head |
--hea )
6798 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6799 ac_need_defaults
=false
;;
6800 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6801 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6805 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6806 Try \`$0 --help' for more information." >&5
6807 echo "$as_me: error: unrecognized option: $1
6808 Try \`$0 --help' for more information." >&2;}
6809 { (exit 1); exit 1; }; } ;;
6811 *) ac_config_targets
="$ac_config_targets $1" ;;
6817 ac_configure_extra_args
=
6819 if $ac_cs_silent; then
6821 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6825 cat >>$CONFIG_STATUS <<_ACEOF
6826 if \$ac_cs_recheck; then
6827 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6828 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6833 cat >>$CONFIG_STATUS <<_ACEOF
6835 # INIT-COMMANDS section.
6838 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6839 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
6840 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
6842 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
6843 # Capture the value of LINGUAS because we need it to compute CATALOGS.
6844 LINGUAS="${LINGUAS-%UNSET%}"
6851 cat >>$CONFIG_STATUS <<\_ACEOF
6852 for ac_config_target
in $ac_config_targets
6854 case "$ac_config_target" in
6855 # Handling of arguments.
6856 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6857 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
6858 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6859 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
6860 "gconfig.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gconfig.h:gconfig.in" ;;
6861 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6862 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6863 { (exit 1); exit 1; }; };;
6867 # If the user did not use the arguments to specify the items to instantiate,
6868 # then the envvar interface is used. Set only those that are not.
6869 # We use the long form for the default assignment because of an extremely
6870 # bizarre bug on SunOS 4.1.3.
6871 if $ac_need_defaults; then
6872 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6873 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6874 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6877 # Have a temporary directory for convenience. Make it in the build tree
6878 # simply because there is no reason to put it here, and in addition,
6879 # creating and moving files from /tmp can sometimes cause problems.
6880 # Create a temporary directory, and hook for its removal unless debugging.
6883 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6884 trap '{ (exit 1); exit 1; }' 1 2 13 15
6887 # Create a (secure) tmp directory for tmp files.
6890 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6891 test -n "$tmp" && test -d "$tmp"
6894 tmp
=.
/confstat$$
-$RANDOM
6895 (umask 077 && mkdir
$tmp)
6898 echo "$me: cannot create a temporary directory in ." >&2
6899 { (exit 1); exit 1; }
6904 cat >>$CONFIG_STATUS <<_ACEOF
6907 # CONFIG_FILES section.
6910 # No need to generate the scripts if there are no CONFIG_FILES.
6911 # This happens for instance when ./config.status config.h
6912 if test -n "\$CONFIG_FILES"; then
6913 # Protect against being on the right side of a sed subst in config.status.
6914 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6915 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6916 s,@SHELL@,$SHELL,;t t
6917 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6918 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6919 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6920 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6921 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6922 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6923 s,@exec_prefix@,$exec_prefix,;t t
6924 s,@prefix@,$prefix,;t t
6925 s,@program_transform_name@,$program_transform_name,;t t
6926 s,@bindir@,$bindir,;t t
6927 s,@sbindir@,$sbindir,;t t
6928 s,@libexecdir@,$libexecdir,;t t
6929 s,@datadir@,$datadir,;t t
6930 s,@sysconfdir@,$sysconfdir,;t t
6931 s,@sharedstatedir@,$sharedstatedir,;t t
6932 s,@localstatedir@,$localstatedir,;t t
6933 s,@libdir@,$libdir,;t t
6934 s,@includedir@,$includedir,;t t
6935 s,@oldincludedir@,$oldincludedir,;t t
6936 s,@infodir@,$infodir,;t t
6937 s,@mandir@,$mandir,;t t
6938 s,@build_alias@,$build_alias,;t t
6939 s,@host_alias@,$host_alias,;t t
6940 s,@target_alias@,$target_alias,;t t
6942 s,@ECHO_C@,$ECHO_C,;t t
6943 s,@ECHO_N@,$ECHO_N,;t t
6944 s,@ECHO_T@,$ECHO_T,;t t
6946 s,@build@,$build,;t t
6947 s,@build_cpu@,$build_cpu,;t t
6948 s,@build_vendor@,$build_vendor,;t t
6949 s,@build_os@,$build_os,;t t
6951 s,@host_cpu@,$host_cpu,;t t
6952 s,@host_vendor@,$host_vendor,;t t
6953 s,@host_os@,$host_os,;t t
6954 s,@target@,$target,;t t
6955 s,@target_cpu@,$target_cpu,;t t
6956 s,@target_vendor@,$target_vendor,;t t
6957 s,@target_os@,$target_os,;t t
6959 s,@CFLAGS@,$CFLAGS,;t t
6960 s,@LDFLAGS@,$LDFLAGS,;t t
6961 s,@CPPFLAGS@,$CPPFLAGS,;t t
6962 s,@ac_ct_CC@,$ac_ct_CC,;t t
6963 s,@EXEEXT@,$EXEEXT,;t t
6964 s,@OBJEXT@,$OBJEXT,;t t
6965 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6966 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6967 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6968 s,@CYGPATH_W@,$CYGPATH_W,;t t
6969 s,@PACKAGE@,$PACKAGE,;t t
6970 s,@VERSION@,$VERSION,;t t
6971 s,@ACLOCAL@,$ACLOCAL,;t t
6972 s,@AUTOCONF@,$AUTOCONF,;t t
6973 s,@AUTOMAKE@,$AUTOMAKE,;t t
6974 s,@AUTOHEADER@,$AUTOHEADER,;t t
6975 s,@MAKEINFO@,$MAKEINFO,;t t
6976 s,@install_sh@,$install_sh,;t t
6977 s,@STRIP@,$STRIP,;t t
6978 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6979 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6980 s,@mkdir_p@,$mkdir_p,;t t
6982 s,@SET_MAKE@,$SET_MAKE,;t t
6983 s,@am__leading_dot@,$am__leading_dot,;t t
6984 s,@AMTAR@,$AMTAR,;t t
6985 s,@am__tar@,$am__tar,;t t
6986 s,@am__untar@,$am__untar,;t t
6987 s,@DEPDIR@,$DEPDIR,;t t
6988 s,@am__include@,$am__include,;t t
6989 s,@am__quote@,$am__quote,;t t
6990 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6991 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6992 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6993 s,@CCDEPMODE@,$CCDEPMODE,;t t
6994 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6995 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6997 s,@RANLIB@,$RANLIB,;t t
6998 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6999 s,@LIBTOOL@,$LIBTOOL,;t t
7000 s,@PKGVERSION@,$PKGVERSION,;t t
7001 s,@REPORT_BUGS_TO@,$REPORT_BUGS_TO,;t t
7002 s,@USE_NLS@,$USE_NLS,;t t
7003 s,@LIBINTL@,$LIBINTL,;t t
7004 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
7005 s,@INCINTL@,$INCINTL,;t t
7006 s,@XGETTEXT@,$XGETTEXT,;t t
7007 s,@GMSGFMT@,$GMSGFMT,;t t
7008 s,@POSUB@,$POSUB,;t t
7009 s,@CATALOGS@,$CATALOGS,;t t
7010 s,@DATADIRNAME@,$DATADIRNAME,;t t
7011 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
7012 s,@GENCAT@,$GENCAT,;t t
7013 s,@CATOBJEXT@,$CATOBJEXT,;t t
7014 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7015 s,@MSGFMT@,$MSGFMT,;t t
7016 s,@MSGMERGE@,$MSGMERGE,;t t
7017 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7018 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7019 s,@MAINT@,$MAINT,;t t
7020 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
7021 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
7023 s,@EGREP@,$EGREP,;t t
7024 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
7025 s,@NO_WERROR@,$NO_WERROR,;t t
7026 s,@datarootdir@,$datarootdir,;t t
7027 s,@docdir@,$docdir,;t t
7028 s,@htmldir@,$htmldir,;t t
7029 s,@LIBOBJS@,$LIBOBJS,;t t
7030 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7035 cat >>$CONFIG_STATUS <<\_ACEOF
7036 # Split the substitutions into bite-sized pieces for seds with
7037 # small command number limits, like on Digital OSF/1 and HP-UX.
7039 ac_sed_frag
=1 # Number of current file.
7040 ac_beg
=1 # First line for current file.
7041 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7044 while $ac_more_lines; do
7045 if test $ac_beg -gt 1; then
7046 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7048 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7050 if test ! -s $tmp/subs.frag
; then
7053 # The purpose of the label and of the branching condition is to
7054 # speed up the sed processing (if there are no `@' at all, there
7055 # is no need to browse any of the substitutions).
7056 # These are the two extra sed commands mentioned above.
7058 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7059 if test -z "$ac_sed_cmds"; then
7060 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7062 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7064 ac_sed_frag
=`expr $ac_sed_frag + 1`
7066 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7069 if test -z "$ac_sed_cmds"; then
7072 fi # test -n "$CONFIG_FILES"
7075 cat >>$CONFIG_STATUS <<\_ACEOF
7076 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7077 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7079 - |
*:- |
*:-:* ) # input from stdin
7081 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7082 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7083 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7084 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7085 * ) ac_file_in
=$ac_file.
in ;;
7088 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7089 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7090 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7091 X"$ac_file" : 'X\(//\)[^/]' \| \
7092 X"$ac_file" : 'X\(//\)$' \| \
7093 X"$ac_file" : 'X\(/\)' \| \
7094 . : '\(.\)' 2>/dev/null ||
7096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7097 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7098 /^X\(\/\/\)$/{ s//\1/; q; }
7099 /^X\(\/\).*/{ s//\1/; q; }
7101 { if $as_mkdir_p; then
7106 while test ! -d "$as_dir"; do
7107 as_dirs
="$as_dir $as_dirs"
7108 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7109 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7110 X"$as_dir" : 'X\(//\)[^/]' \| \
7111 X"$as_dir" : 'X\(//\)$' \| \
7112 X"$as_dir" : 'X\(/\)' \| \
7113 . : '\(.\)' 2>/dev/null ||
7115 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7116 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7117 /^X\(\/\/\)$/{ s//\1/; q; }
7118 /^X\(\/\).*/{ s//\1/; q; }
7121 test ! -n "$as_dirs" || mkdir
$as_dirs
7122 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7123 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7124 { (exit 1); exit 1; }; }; }
7128 if test "$ac_dir" != .
; then
7129 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7130 # A "../" for each directory in $ac_dir_suffix.
7131 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7133 ac_dir_suffix
= ac_top_builddir
=
7137 .
) # No --srcdir option. We are building in place.
7139 if test -z "$ac_top_builddir"; then
7142 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7144 [\\/]* | ?
:[\\/]* ) # Absolute path.
7145 ac_srcdir
=$srcdir$ac_dir_suffix;
7146 ac_top_srcdir
=$srcdir ;;
7148 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7149 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7152 # Do not use `cd foo && pwd` to compute absolute paths, because
7153 # the directories may not exist.
7155 .
) ac_abs_builddir
="$ac_dir";;
7158 .
) ac_abs_builddir
=`pwd`;;
7159 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7160 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7163 case $ac_abs_builddir in
7164 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7166 case ${ac_top_builddir}.
in
7167 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7168 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7169 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7172 case $ac_abs_builddir in
7173 .
) ac_abs_srcdir
=$ac_srcdir;;
7176 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7177 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7178 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7181 case $ac_abs_builddir in
7182 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7184 case $ac_top_srcdir in
7185 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7186 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7187 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7193 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7194 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7197 if test x
"$ac_file" != x-
; then
7198 { echo "$as_me:$LINENO: creating $ac_file" >&5
7199 echo "$as_me: creating $ac_file" >&6;}
7202 # Let's still pretend it is `configure' which instantiates (i.e., don't
7203 # use $as_me), people would be surprised to read:
7204 # /* config.h. Generated by config.status. */
7205 if test x
"$ac_file" = x-
; then
7208 configure_input
="$ac_file. "
7210 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7211 sed 's,.*/,,'` by configure."
7213 # First look for the input files in the build tree, otherwise in the
7215 ac_file_inputs
=`IFS=:
7216 for f in $ac_file_in; do
7218 -) echo $tmp/stdin ;;
7220 # Absolute (can't be DOS-style, as IFS=:)
7221 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7222 echo "$as_me: error: cannot find input file: $f" >&2;}
7223 { (exit 1); exit 1; }; }
7226 if test -f "$f"; then
7229 elif test -f "$srcdir/$f"; then
7234 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7235 echo "$as_me: error: cannot find input file: $f" >&2;}
7236 { (exit 1); exit 1; }; }
7239 done` ||
{ (exit 1); exit 1; }
7241 cat >>$CONFIG_STATUS <<_ACEOF
7245 cat >>$CONFIG_STATUS <<\_ACEOF
7247 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7248 s
,@configure_input@
,$configure_input,;t t
7249 s
,@srcdir@
,$ac_srcdir,;t t
7250 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7251 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7252 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7253 s
,@builddir@
,$ac_builddir,;t t
7254 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7255 s
,@top_builddir@
,$ac_top_builddir,;t t
7256 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7257 s
,@INSTALL@
,$ac_INSTALL,;t t
7258 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7260 if test x"$ac_file" != x-; then
7261 mv $tmp/out $ac_file
7269 cat >>$CONFIG_STATUS <<\_ACEOF
7272 # CONFIG_HEADER section.
7275 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7276 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7278 # ac_d sets the value in "#define NAME VALUE" lines.
7279 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7280 ac_dB
='[ ].*$,\1#\2'
7283 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7284 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7285 ac_uB
='$,\1#\2define\3'
7289 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7290 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7292 - |
*:- |
*:-:* ) # input from stdin
7294 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7295 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7296 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7297 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7298 * ) ac_file_in
=$ac_file.
in ;;
7301 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7302 echo "$as_me: creating $ac_file" >&6;}
7304 # First look for the input files in the build tree, otherwise in the
7306 ac_file_inputs
=`IFS=:
7307 for f in $ac_file_in; do
7309 -) echo $tmp/stdin ;;
7311 # Absolute (can't be DOS-style, as IFS=:)
7312 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7313 echo "$as_me: error: cannot find input file: $f" >&2;}
7314 { (exit 1); exit 1; }; }
7315 # Do quote $f, to prevent DOS paths from being IFS'd.
7318 if test -f "$f"; then
7321 elif test -f "$srcdir/$f"; then
7326 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7327 echo "$as_me: error: cannot find input file: $f" >&2;}
7328 { (exit 1); exit 1; }; }
7331 done` ||
{ (exit 1); exit 1; }
7332 # Remove the trailing spaces.
7333 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7337 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7338 # `conftest.undefs', that substitutes the proper values into
7339 # config.h.in to produce config.h. The first handles `#define'
7340 # templates, and the second `#undef' templates.
7341 # And first: Protect against being on the right side of a sed subst in
7342 # config.status. Protect against being in an unquoted here document
7344 rm -f conftest.defines conftest.undefs
7345 # Using a here document instead of a string reduces the quoting nightmare.
7346 # Putting comments in sed scripts is not portable.
7348 # `end' is used to avoid that the second main sed command (meant for
7349 # 0-ary CPP macros) applies to n-ary macro definitions.
7350 # See the Autoconf documentation for `clear'.
7351 cat >confdef2sed.
sed <<\_ACEOF
7356 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7358 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7361 # If some macros were called several times there might be several times
7362 # the same #defines, which is useless. Nevertheless, we may not want to
7363 # sort them, since we want the *last* AC-DEFINE to be honored.
7364 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7365 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7366 rm -f confdef2sed.sed
7368 # This sed command replaces #undef with comments. This is necessary, for
7369 # example, in the case of _POSIX_SOURCE, which is predefined and required
7370 # on some systems where configure will not decide to define it.
7371 cat >>conftest.undefs <<\_ACEOF
7372 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7375 # Break up conftest.defines because some shells have a limit on the size
7376 # of here documents, and old seds have small limits too (100 cmds).
7377 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7378 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7379 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7380 echo ' :' >>$CONFIG_STATUS
7382 while grep . conftest.defines >/dev/null
7384 # Write a limited-size here document to $tmp/defines.sed.
7385 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7386 # Speed up: don't consider the non `#define' lines.
7387 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7388 # Work around the forget-to-reset-the-flag bug.
7389 echo 't clr' >>$CONFIG_STATUS
7390 echo ': clr' >>$CONFIG_STATUS
7391 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7393 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7397 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7398 rm -f conftest.defines
7399 mv conftest.
tail conftest.defines
7401 rm -f conftest.defines
7402 echo ' fi # grep' >>$CONFIG_STATUS
7403 echo >>$CONFIG_STATUS
7405 # Break up conftest.undefs because some shells have a limit on the size
7406 # of here documents, and old seds have small limits too (100 cmds).
7407 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7409 while grep . conftest.undefs
>/dev
/null
7411 # Write a limited-size here document to $tmp/undefs.sed.
7412 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7413 # Speed up: don't consider the non
`#undef'
7414 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7415 # Work around the forget-to-reset-the-flag bug.
7416 echo 't clr' >>$CONFIG_STATUS
7417 echo ': clr' >>$CONFIG_STATUS
7418 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7420 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7424 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7425 rm -f conftest.undefs
7426 mv conftest.tail conftest.undefs
7428 rm -f conftest.undefs
7430 cat >>$CONFIG_STATUS <<\_ACEOF
7431 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7432 # use $as_me), people would be surprised to read:
7433 # /* config.h. Generated by config.status. */
7434 if test x
"$ac_file" = x-
; then
7435 echo "/* Generated by configure. */" >$tmp/config.h
7437 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7439 cat $tmp/in >>$tmp/config.h
7441 if test x
"$ac_file" != x-
; then
7442 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7443 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7444 echo "$as_me: $ac_file is unchanged" >&6;}
7446 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7447 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7448 X"$ac_file" : 'X\(//\)[^/]' \| \
7449 X"$ac_file" : 'X\(//\)$' \| \
7450 X"$ac_file" : 'X\(/\)' \| \
7451 . : '\(.\)' 2>/dev/null ||
7453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7454 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7455 /^X\(\/\/\)$/{ s//\1/; q; }
7456 /^X\(\/\).*/{ s//\1/; q; }
7458 { if $as_mkdir_p; then
7463 while test ! -d "$as_dir"; do
7464 as_dirs
="$as_dir $as_dirs"
7465 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7466 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7467 X"$as_dir" : 'X\(//\)[^/]' \| \
7468 X"$as_dir" : 'X\(//\)$' \| \
7469 X"$as_dir" : 'X\(/\)' \| \
7470 . : '\(.\)' 2>/dev/null ||
7472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7473 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7474 /^X\(\/\/\)$/{ s//\1/; q; }
7475 /^X\(\/\).*/{ s//\1/; q; }
7478 test ! -n "$as_dirs" || mkdir
$as_dirs
7479 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7480 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7481 { (exit 1); exit 1; }; }; }
7484 mv $tmp/config.h
$ac_file
7490 # Compute $ac_file's index in $config_headers.
7492 for _am_header
in $config_headers :; do
7494 $ac_file |
$ac_file:* )
7497 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7500 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7501 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7502 X$ac_file : 'X\(//\)[^/]' \| \
7503 X$ac_file : 'X\(//\)$' \| \
7504 X$ac_file : 'X\(/\)' \| \
7505 . : '\(.\)' 2>/dev/null ||
7507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7508 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7509 /^X\(\/\/\)$/{ s//\1/; q; }
7510 /^X\(\/\).*/{ s//\1/; q; }
7511 s/.*/./; q'`/stamp-h
$_am_stamp_count
7514 cat >>$CONFIG_STATUS <<\_ACEOF
7517 # CONFIG_COMMANDS section.
7519 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7520 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7521 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7522 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7523 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7524 X"$ac_dest" : 'X\(//\)[^/]' \| \
7525 X"$ac_dest" : 'X\(//\)$' \| \
7526 X"$ac_dest" : 'X\(/\)' \| \
7527 . : '\(.\)' 2>/dev/null ||
7529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7530 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7531 /^X\(\/\/\)$/{ s//\1/; q; }
7532 /^X\(\/\).*/{ s//\1/; q; }
7534 { if $as_mkdir_p; then
7539 while test ! -d "$as_dir"; do
7540 as_dirs
="$as_dir $as_dirs"
7541 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7542 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7543 X"$as_dir" : 'X\(//\)[^/]' \| \
7544 X"$as_dir" : 'X\(//\)$' \| \
7545 X"$as_dir" : 'X\(/\)' \| \
7546 . : '\(.\)' 2>/dev/null ||
7548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7549 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7550 /^X\(\/\/\)$/{ s//\1/; q; }
7551 /^X\(\/\).*/{ s//\1/; q; }
7554 test ! -n "$as_dirs" || mkdir
$as_dirs
7555 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7556 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7557 { (exit 1); exit 1; }; }; }
7561 if test "$ac_dir" != .
; then
7562 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7563 # A "../" for each directory in $ac_dir_suffix.
7564 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7566 ac_dir_suffix
= ac_top_builddir
=
7570 .
) # No --srcdir option. We are building in place.
7572 if test -z "$ac_top_builddir"; then
7575 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7577 [\\/]* | ?
:[\\/]* ) # Absolute path.
7578 ac_srcdir
=$srcdir$ac_dir_suffix;
7579 ac_top_srcdir
=$srcdir ;;
7581 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7582 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7585 # Do not use `cd foo && pwd` to compute absolute paths, because
7586 # the directories may not exist.
7588 .
) ac_abs_builddir
="$ac_dir";;
7591 .
) ac_abs_builddir
=`pwd`;;
7592 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7593 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7596 case $ac_abs_builddir in
7597 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7599 case ${ac_top_builddir}.
in
7600 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7601 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7602 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7605 case $ac_abs_builddir in
7606 .
) ac_abs_srcdir
=$ac_srcdir;;
7609 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7610 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7611 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7614 case $ac_abs_builddir in
7615 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7617 case $ac_top_srcdir in
7618 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7619 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7620 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7625 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7626 echo "$as_me: executing $ac_dest commands" >&6;}
7628 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
7629 # Strip MF so we end up with the name of the file.
7630 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7631 # Check whether this is an Automake generated Makefile or not.
7632 # We used to match only the files named `Makefile.in', but
7633 # some people rename them; so instead we look at the file content.
7634 # Grep'ing the first line is not enough: some people post-process
7635 # each Makefile.in and add a new line on top of each file to say so.
7636 # So let's grep whole file.
7637 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
7638 dirpart
=`(dirname "$mf") 2>/dev/null ||
7639 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7640 X"$mf" : 'X\(//\)[^/]' \| \
7641 X"$mf" : 'X\(//\)$' \| \
7642 X"$mf" : 'X\(/\)' \| \
7643 . : '\(.\)' 2>/dev/null ||
7645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7646 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7647 /^X\(\/\/\)$/{ s//\1/; q; }
7648 /^X\(\/\).*/{ s//\1/; q; }
7653 # Extract the definition of DEPDIR, am__include, and am__quote
7654 # from the Makefile without running `make'.
7655 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
7656 test -z "$DEPDIR" && continue
7657 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
7658 test -z "am__include" && continue
7659 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
7660 # When using ansi2knr, U may be empty or an underscore; expand it
7661 U
=`sed -n 's/^U = //p' < "$mf"`
7662 # Find all dependency output files, they are included files with
7663 # $(DEPDIR) in their names. We invoke sed twice because it is the
7664 # simplest approach to changing $(DEPDIR) to its actual value in the
7666 for file in `sed -n "
7667 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7668 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7669 # Make sure the directory exists.
7670 test -f "$dirpart/$file" && continue
7671 fdir
=`(dirname "$file") 2>/dev/null ||
7672 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7673 X"$file" : 'X\(//\)[^/]' \| \
7674 X"$file" : 'X\(//\)$' \| \
7675 X"$file" : 'X\(/\)' \| \
7676 . : '\(.\)' 2>/dev/null ||
7678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7680 /^X\(\/\/\)$/{ s//\1/; q; }
7681 /^X\(\/\).*/{ s//\1/; q; }
7683 { if $as_mkdir_p; then
7684 mkdir
-p $dirpart/$fdir
7686 as_dir
=$dirpart/$fdir
7688 while test ! -d "$as_dir"; do
7689 as_dirs
="$as_dir $as_dirs"
7690 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7691 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7692 X"$as_dir" : 'X\(//\)[^/]' \| \
7693 X"$as_dir" : 'X\(//\)$' \| \
7694 X"$as_dir" : 'X\(/\)' \| \
7695 . : '\(.\)' 2>/dev/null ||
7697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7698 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7699 /^X\(\/\/\)$/{ s//\1/; q; }
7700 /^X\(\/\).*/{ s//\1/; q; }
7703 test ! -n "$as_dirs" || mkdir
$as_dirs
7704 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7705 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7706 { (exit 1); exit 1; }; }; }
7708 # echo "creating $dirpart/$file"
7709 echo '# dummy' > "$dirpart/$file"
7714 for ac_file
in $CONFIG_FILES; do
7715 # Support "outfile[:infile[:infile...]]"
7717 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7719 # PO directories have a Makefile.in generated from Makefile.in.in.
7720 case "$ac_file" in */Makefile.
in)
7721 # Adjust a relative srcdir.
7722 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
7723 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
7724 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
7725 # In autoconf-2.13 it is called $ac_given_srcdir.
7726 # In autoconf-2.50 it is called $srcdir.
7727 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
7728 case "$ac_given_srcdir" in
7729 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
7730 /*) top_srcdir
="$ac_given_srcdir" ;;
7731 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
7733 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
7734 rm -f "$ac_dir/POTFILES"
7735 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
7736 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
7737 POMAKEFILEDEPS
="POTFILES.in"
7738 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
7739 # on $ac_dir but don't depend on user-specified configuration
7741 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
7742 # The LINGUAS file contains the set of available languages.
7743 if test -n "$OBSOLETE_ALL_LINGUAS"; then
7744 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
7746 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
7747 # Hide the ALL_LINGUAS assigment from automake.
7748 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
7749 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
7751 # The set of available languages was given in configure.in.
7752 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
7754 case "$ac_given_srcdir" in
7756 *) srcdirpre
='$(srcdir)/' ;;
7762 for lang
in $ALL_LINGUAS; do
7763 POFILES
="$POFILES $srcdirpre$lang.po"
7764 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
7765 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
7766 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
7768 # CATALOGS depends on both $ac_dir and the user's LINGUAS
7769 # environment variable.
7771 if test -n "$ALL_LINGUAS"; then
7772 for presentlang
in $ALL_LINGUAS; do
7774 if test "%UNSET%" != "$LINGUAS"; then
7775 desiredlanguages
="$LINGUAS"
7777 desiredlanguages
="$ALL_LINGUAS"
7779 for desiredlang
in $desiredlanguages; do
7780 # Use the presentlang catalog if desiredlang is
7781 # a. equal to presentlang, or
7782 # b. a variant of presentlang (because in this case,
7783 # presentlang can be used as a fallback for messages
7784 # which are not translated in the desiredlang catalog).
7785 case "$desiredlang" in
7786 "$presentlang"*) useit
=yes;;
7789 if test $useit = yes; then
7790 INST_LINGUAS
="$INST_LINGUAS $presentlang"
7795 if test -n "$INST_LINGUAS"; then
7796 for lang
in $INST_LINGUAS; do
7797 CATALOGS
="$CATALOGS $lang.gmo"
7800 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
7801 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
7802 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
7803 if test -f "$f"; then
7805 *.orig |
*.bak |
*~
) ;;
7806 *) cat "$f" >> "$ac_dir/Makefile" ;;
7818 cat >>$CONFIG_STATUS <<\_ACEOF
7820 { (exit 0); exit 0; }
7822 chmod +x
$CONFIG_STATUS
7823 ac_clean_files
=$ac_clean_files_save
7826 # configure is writing to config.log, and then calls config.status.
7827 # config.status does its own redirection, appending to config.log.
7828 # Unfortunately, on DOS this fails, as config.log is still kept open
7829 # by configure, so config.status won't be able to write to it; its
7830 # output is simply discarded. So we exec the FD to /dev/null,
7831 # effectively closing config.log, so it can be properly (re)opened and
7832 # appended to by config.status. When coming back to configure, we
7833 # need to make the FD available again.
7834 if test "$no_create" != yes; then
7836 ac_config_status_args
=
7837 test "$silent" = yes &&
7838 ac_config_status_args
="$ac_config_status_args --quiet"
7840 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7842 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7843 # would make configure fail if this is the last instruction.
7844 $ac_cs_success ||
{ (exit 1); exit 1; }