2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="configure.ac"
275 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBRPATHX LTLIBRPATHX LIBRPATHY LTLIBRPATHY LIBRPATHZ LTLIBRPATHZ global_top_auxdir LIBOBJS LTLIBOBJS'
278 # Initialize some variables set by options.
280 ac_init_version
=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
290 program_transform_name
=s
,x
,x
,
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir
='${exec_prefix}/bin'
304 sbindir
='${exec_prefix}/sbin'
305 libexecdir
='${exec_prefix}/libexec'
306 datadir
='${prefix}/share'
307 sysconfdir
='${prefix}/etc'
308 sharedstatedir
='${prefix}/com'
309 localstatedir
='${prefix}/var'
310 libdir
='${exec_prefix}/lib'
311 includedir
='${prefix}/include'
312 oldincludedir
='/usr/include'
313 infodir
='${prefix}/info'
314 mandir
='${prefix}/man'
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
326 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
332 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
334 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
337 -build |
--build |
--buil |
--bui |
--bu)
338 ac_prev
=build_alias
;;
339 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
340 build_alias
=$ac_optarg ;;
342 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
343 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
344 ac_prev
=cache_file
;;
345 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
346 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
347 cache_file
=$ac_optarg ;;
350 cache_file
=config.cache
;;
352 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
354 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
356 datadir
=$ac_optarg ;;
358 -disable-* |
--disable-*)
359 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* |
--enable-*)
368 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
375 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
381 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
382 |
--exec |
--exe |
--ex)
383 ac_prev
=exec_prefix
;;
384 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
385 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
386 |
--exec=* |
--exe=* |
--ex=*)
387 exec_prefix
=$ac_optarg ;;
389 -gas |
--gas |
--ga |
--g)
390 # Obsolete; use --with-gas.
393 -help |
--help |
--hel |
--he |
-h)
395 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
396 ac_init_help
=recursive
;;
397 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
398 ac_init_help
=short
;;
400 -host |
--host |
--hos |
--ho)
401 ac_prev
=host_alias
;;
402 -host=* |
--host=* |
--hos=* |
--ho=*)
403 host_alias
=$ac_optarg ;;
405 -includedir |
--includedir |
--includedi |
--included |
--include \
406 |
--includ |
--inclu |
--incl |
--inc)
407 ac_prev
=includedir
;;
408 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
409 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
410 includedir
=$ac_optarg ;;
412 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
414 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
415 infodir
=$ac_optarg ;;
417 -libdir |
--libdir |
--libdi |
--libd)
419 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
422 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
423 |
--libexe |
--libex |
--libe)
424 ac_prev
=libexecdir
;;
425 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
426 |
--libexe=* |
--libex=* |
--libe=*)
427 libexecdir
=$ac_optarg ;;
429 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
430 |
--localstate |
--localstat |
--localsta |
--localst \
431 |
--locals |
--local |
--loca |
--loc |
--lo)
432 ac_prev
=localstatedir
;;
433 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
434 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
435 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
436 localstatedir
=$ac_optarg ;;
438 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
440 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
444 # Obsolete; use --without-fp.
447 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
448 |
--no-cr |
--no-c |
-n)
451 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
452 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
455 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
456 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
457 |
--oldin |
--oldi |
--old |
--ol |
--o)
458 ac_prev
=oldincludedir
;;
459 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
460 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
461 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
462 oldincludedir
=$ac_optarg ;;
464 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
466 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
469 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
470 |
--program-pre |
--program-pr |
--program-p)
471 ac_prev
=program_prefix
;;
472 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
473 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
474 program_prefix
=$ac_optarg ;;
476 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
477 |
--program-suf |
--program-su |
--program-s)
478 ac_prev
=program_suffix
;;
479 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
480 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
481 program_suffix
=$ac_optarg ;;
483 -program-transform-name |
--program-transform-name \
484 |
--program-transform-nam |
--program-transform-na \
485 |
--program-transform-n |
--program-transform- \
486 |
--program-transform |
--program-transfor \
487 |
--program-transfo |
--program-transf \
488 |
--program-trans |
--program-tran \
489 |
--progr-tra |
--program-tr |
--program-t)
490 ac_prev
=program_transform_name
;;
491 -program-transform-name=* |
--program-transform-name=* \
492 |
--program-transform-nam=* |
--program-transform-na=* \
493 |
--program-transform-n=* |
--program-transform-=* \
494 |
--program-transform=* |
--program-transfor=* \
495 |
--program-transfo=* |
--program-transf=* \
496 |
--program-trans=* |
--program-tran=* \
497 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
498 program_transform_name
=$ac_optarg ;;
500 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
501 |
-silent |
--silent |
--silen |
--sile |
--sil)
504 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
506 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
508 sbindir
=$ac_optarg ;;
510 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
511 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
512 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
514 ac_prev
=sharedstatedir
;;
515 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
516 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
517 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
519 sharedstatedir
=$ac_optarg ;;
521 -site |
--site |
--sit)
523 -site=* |
--site=* |
--sit=*)
526 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
528 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
531 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
532 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
533 ac_prev
=sysconfdir
;;
534 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
535 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
536 sysconfdir
=$ac_optarg ;;
538 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
539 ac_prev
=target_alias
;;
540 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
541 target_alias
=$ac_optarg ;;
543 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
546 -version |
--version |
--versio |
--versi |
--vers |
-V)
550 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package
=`echo $ac_package| sed 's/-/_/g'`
557 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* |
--without-*)
563 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package
=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
572 # Obsolete; use --with-x.
575 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
576 |
--x-incl |
--x-inc |
--x-in |
--x-i)
577 ac_prev
=x_includes
;;
578 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
579 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
580 x_includes
=$ac_optarg ;;
582 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
583 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
584 ac_prev
=x_libraries
;;
585 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
586 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
587 x_libraries
=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
595 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
615 if test -n "$ac_prev"; then
616 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var
in exec_prefix prefix
624 eval ac_val
=$
`echo $ac_var`
626 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
632 # Be sure to have absolute paths.
633 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val
=$
`echo $ac_var`
638 [\\/$
]* | ?
:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x
; then
653 if test "x$build_alias" = x
; then
654 cross_compiling
=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
663 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
665 test "$silent" = yes && exec 6>/dev
/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted
=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir
=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
685 if test ! -r $srcdir/$ac_unique_file; then
689 ac_srcdir_defaulted
=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set
=${build_alias+set}
705 ac_env_build_alias_value
=$build_alias
706 ac_cv_env_build_alias_set
=${build_alias+set}
707 ac_cv_env_build_alias_value
=$build_alias
708 ac_env_host_alias_set
=${host_alias+set}
709 ac_env_host_alias_value
=$host_alias
710 ac_cv_env_host_alias_set
=${host_alias+set}
711 ac_cv_env_host_alias_value
=$host_alias
712 ac_env_target_alias_set
=${target_alias+set}
713 ac_env_target_alias_value
=$target_alias
714 ac_cv_env_target_alias_set
=${target_alias+set}
715 ac_cv_env_target_alias_value
=$target_alias
716 ac_env_CC_set
=${CC+set}
718 ac_cv_env_CC_set
=${CC+set}
719 ac_cv_env_CC_value
=$CC
720 ac_env_CFLAGS_set
=${CFLAGS+set}
721 ac_env_CFLAGS_value
=$CFLAGS
722 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
723 ac_cv_env_CFLAGS_value
=$CFLAGS
724 ac_env_LDFLAGS_set
=${LDFLAGS+set}
725 ac_env_LDFLAGS_value
=$LDFLAGS
726 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
727 ac_cv_env_LDFLAGS_value
=$LDFLAGS
728 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
729 ac_env_CPPFLAGS_value
=$CPPFLAGS
730 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
731 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
734 # Report the --help message.
736 if test "$ac_init_help" = "long"; then
737 # Omit some internal or obsolete options to make the list less imposing.
738 # This message is too long to be a string in the A/UX 3.1 sh.
740 \`configure' configures this package to adapt to many kinds of systems.
742 Usage: $0 [OPTION]... [VAR=VALUE]...
744 To assign environment variables (e.g., CC, CFLAGS...), specify them as
745 VAR=VALUE. See below for descriptions of some of the useful variables.
747 Defaults for the options are specified in brackets.
750 -h, --help display this help and exit
751 --help=short display options specific to this package
752 --help=recursive display the short help of all the included packages
753 -V, --version display version information and exit
754 -q, --quiet, --silent do not print \`checking...' messages
755 --cache-file=FILE cache test results in FILE [disabled]
756 -C, --config-cache alias for \`--cache-file=config.cache'
757 -n, --no-create do not create output files
758 --srcdir=DIR find the sources in DIR [configure dir or \`..']
763 Installation directories:
764 --prefix=PREFIX install architecture-independent files in PREFIX
766 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
769 By default, \`make install' will install all the files in
770 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
771 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772 for instance \`--prefix=\$HOME'.
774 For better control, use the options below.
776 Fine tuning of the installation directories:
777 --bindir=DIR user executables [EPREFIX/bin]
778 --sbindir=DIR system admin executables [EPREFIX/sbin]
779 --libexecdir=DIR program executables [EPREFIX/libexec]
780 --datadir=DIR read-only architecture-independent data [PREFIX/share]
781 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
782 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
783 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
784 --libdir=DIR object code libraries [EPREFIX/lib]
785 --includedir=DIR C header files [PREFIX/include]
786 --oldincludedir=DIR C header files for non-gcc [/usr/include]
787 --infodir=DIR info documentation [PREFIX/info]
788 --mandir=DIR man documentation [PREFIX/man]
794 --program-prefix=PREFIX prepend PREFIX to installed program names
795 --program-suffix=SUFFIX append SUFFIX to installed program names
796 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
799 --build=BUILD configure
for building on BUILD
[guessed
]
800 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
804 if test -n "$ac_init_help"; then
809 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
810 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
811 --disable-dependency-tracking speeds up one-time build
812 --enable-dependency-tracking do not reject slow dependency extractors
813 --disable-rpath do not hardcode runtime library paths
816 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
817 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
818 --with-gnu-ld assume the C compiler uses GNU ld default
=no
819 --with-librpathx-prefix[=DIR
] search
for librpathx
in DIR
/include and DIR
/lib
820 --without-librpathx-prefix don
't search for librpathx in includedir and libdir
821 --with-librpathy-prefix[=DIR] search for librpathy in DIR/include and DIR/lib
822 --without-librpathy-prefix don't search
for librpathy
in includedir and libdir
823 --with-librpathz-prefix[=DIR
] search
for librpathz
in DIR
/include and DIR
/lib
824 --without-librpathz-prefix don
't search for librpathz in includedir and libdir
826 Some influential environment variables:
827 CC C compiler command
828 CFLAGS C compiler flags
829 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
830 nonstandard directory <lib dir>
831 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
832 headers in a nonstandard directory <include dir>
834 Use these variables to override the choices made by `configure' or to
help
835 it to
find libraries and programs with nonstandard names
/locations.
840 if test "$ac_init_help" = "recursive"; then
841 # If there are subdirs, report their specific --help.
843 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
844 test -d $ac_dir ||
continue
847 if test "$ac_dir" != .
; then
848 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
849 # A "../" for each directory in $ac_dir_suffix.
850 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
852 ac_dir_suffix
= ac_top_builddir
=
856 .
) # No --srcdir option. We are building in place.
858 if test -z "$ac_top_builddir"; then
861 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
863 [\\/]* | ?
:[\\/]* ) # Absolute path.
864 ac_srcdir
=$srcdir$ac_dir_suffix;
865 ac_top_srcdir
=$srcdir ;;
867 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
868 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
871 # Do not use `cd foo && pwd` to compute absolute paths, because
872 # the directories may not exist.
874 .
) ac_abs_builddir
="$ac_dir";;
877 .
) ac_abs_builddir
=`pwd`;;
878 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
879 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
882 case $ac_abs_builddir in
883 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
885 case ${ac_top_builddir}.
in
886 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
887 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
888 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
891 case $ac_abs_builddir in
892 .
) ac_abs_srcdir
=$ac_srcdir;;
895 .
) ac_abs_srcdir
=$ac_abs_builddir;;
896 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
897 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
900 case $ac_abs_builddir in
901 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
903 case $ac_top_srcdir in
904 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
905 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
906 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
911 # Check for guested configure; otherwise get Cygnus style configure.
912 if test -f $ac_srcdir/configure.gnu
; then
914 $SHELL $ac_srcdir/configure.gnu
--help=recursive
915 elif test -f $ac_srcdir/configure
; then
917 $SHELL $ac_srcdir/configure
--help=recursive
918 elif test -f $ac_srcdir/configure.ac ||
919 test -f $ac_srcdir/configure.
in; then
923 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
929 test -n "$ac_init_help" && exit 0
930 if $ac_init_version; then
933 Copyright
(C
) 2003 Free Software Foundation
, Inc.
934 This configure
script is free software
; the Free Software Foundation
935 gives unlimited permission to copy
, distribute and modify it.
941 This file contains any messages produced by compilers while
942 running configure, to aid debugging if configure makes a mistake.
944 It was created by $as_me, which was
945 generated by GNU Autoconf 2.59. Invocation command line was
956 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
957 uname -m = `(uname -m) 2>/dev/null || echo unknown`
958 uname -r = `(uname -r) 2>/dev/null || echo unknown`
959 uname -s = `(uname -s) 2>/dev/null || echo unknown`
960 uname -v = `(uname -v) 2>/dev/null || echo unknown`
962 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
963 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
965 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
966 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
967 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
968 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
969 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
970 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
971 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
979 test -z "$as_dir" && as_dir
=.
995 # Keep a trace of the command line.
996 # Strip out --no-create and --no-recursion so they do not pile up.
997 # Strip out --silent because we don't want to record it for future runs.
998 # Also quote any args containing shell meta-characters.
999 # Make two passes to allow for proper duplicate-argument suppression.
1004 ac_must_keep_next
=false
1010 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1011 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1012 |
-silent |
--silent |
--silen |
--sile |
--sil)
1014 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1015 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1018 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1020 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1021 if test $ac_must_keep_next = true
; then
1022 ac_must_keep_next
=false
# Got value, back to normal.
1025 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1026 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1027 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1028 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1029 case "$ac_configure_args0 " in
1030 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1033 -* ) ac_must_keep_next
=true
;;
1036 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1037 # Get rid of the leading space.
1043 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1044 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1046 # When interrupted or exit'd, cleanup temporary files, and complete
1047 # config.log. We remove comments because anyway the quotes in there
1048 # would cause problems or look ugly.
1049 # WARNING: Be sure not to use single quotes in there, as some shells,
1050 # such as our DU 5.0 friend, will then `close' the trap.
1051 trap 'exit_status=$?
1052 # Save into config.log some information that might help in debugging.
1057 ## ---------------- ##
1058 ## Cache variables. ##
1059 ## ---------------- ##
1062 # The following way of writing the cache mishandles newlines in values,
1065 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1068 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1073 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1080 ## ----------------- ##
1081 ## Output variables. ##
1082 ## ----------------- ##
1085 for ac_var in $ac_subst_vars
1087 eval ac_val=$`echo $ac_var`
1088 echo "$ac_var='"'"'$ac_val'"'"'"
1092 if test -n "$ac_subst_files"; then
1099 for ac_var in $ac_subst_files
1101 eval ac_val=$`echo $ac_var`
1102 echo "$ac_var='"'"'$ac_val'"'"'"
1107 if test -s confdefs.h; then
1114 sed "/^$/d" confdefs.h | sort
1117 test "$ac_signal" != 0 &&
1118 echo "$as_me: caught signal $ac_signal"
1119 echo "$as_me: exit $exit_status"
1121 rm -f core *.core &&
1122 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1125 for ac_signal
in 1 2 13 15; do
1126 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1130 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1131 rm -rf conftest
* confdefs.h
1132 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1135 # Predefined preprocessor variables.
1137 cat >>confdefs.h
<<_ACEOF
1138 #define PACKAGE_NAME "$PACKAGE_NAME"
1142 cat >>confdefs.h
<<_ACEOF
1143 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1147 cat >>confdefs.h
<<_ACEOF
1148 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1152 cat >>confdefs.h
<<_ACEOF
1153 #define PACKAGE_STRING "$PACKAGE_STRING"
1157 cat >>confdefs.h
<<_ACEOF
1158 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1162 # Let the site file select an alternate cache file if it wants to.
1163 # Prefer explicitly selected file to automatically selected ones.
1164 if test -z "$CONFIG_SITE"; then
1165 if test "x$prefix" != xNONE
; then
1166 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1168 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1171 for ac_site_file
in $CONFIG_SITE; do
1172 if test -r "$ac_site_file"; then
1173 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1174 echo "$as_me: loading site script $ac_site_file" >&6;}
1175 sed 's/^/| /' "$ac_site_file" >&5
1180 if test -r "$cache_file"; then
1181 # Some versions of bash will fail to source /dev/null (special
1182 # files actually), so we avoid doing that.
1183 if test -f "$cache_file"; then
1184 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1185 echo "$as_me: loading cache $cache_file" >&6;}
1187 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1188 *) . .
/$cache_file;;
1192 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1193 echo "$as_me: creating cache $cache_file" >&6;}
1197 # Check that the precious variables saved in the cache have kept the same
1199 ac_cache_corrupted
=false
1200 for ac_var
in `(set) 2>&1 |
1201 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1202 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1203 eval ac_new_set
=\
$ac_env_${ac_var}_set
1204 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1205 eval ac_new_val
="\$ac_env_${ac_var}_value"
1206 case $ac_old_set,$ac_new_set in
1208 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1209 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1210 ac_cache_corrupted
=: ;;
1212 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1213 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1214 ac_cache_corrupted
=: ;;
1217 if test "x$ac_old_val" != "x$ac_new_val"; then
1218 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1219 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1220 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1221 echo "$as_me: former value: $ac_old_val" >&2;}
1222 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1223 echo "$as_me: current value: $ac_new_val" >&2;}
1224 ac_cache_corrupted
=:
1227 # Pass precious variables to config.status.
1228 if test "$ac_new_set" = set; then
1230 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1231 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1232 *) ac_arg
=$ac_var=$ac_new_val ;;
1234 case " $ac_configure_args " in
1235 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1236 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1240 if $ac_cache_corrupted; then
1241 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1242 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1243 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1244 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1245 { (exit 1); exit 1; }; }
1249 ac_cpp
='$CPP $CPPFLAGS'
1250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1273 for ac_dir
in ..
/..
/..
/build-aux
$srcdir/..
/..
/..
/build-aux
; do
1274 if test -f $ac_dir/install-sh
; then
1276 ac_install_sh
="$ac_aux_dir/install-sh -c"
1278 elif test -f $ac_dir/install.sh
; then
1280 ac_install_sh
="$ac_aux_dir/install.sh -c"
1282 elif test -f $ac_dir/shtool
; then
1284 ac_install_sh
="$ac_aux_dir/shtool install -c"
1288 if test -z "$ac_aux_dir"; then
1289 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../build-aux $srcdir/../../../build-aux" >&5
1290 echo "$as_me: error: cannot find install-sh or install.sh in ../../../build-aux $srcdir/../../../build-aux" >&2;}
1291 { (exit 1); exit 1; }; }
1293 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1294 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1295 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1297 am__api_version
="1.9"
1298 # Find a good install program. We prefer a C program (faster),
1299 # so one script is as good as another. But avoid the broken or
1300 # incompatible versions:
1301 # SysV /etc/install, /usr/sbin/install
1302 # SunOS /usr/etc/install
1303 # IRIX /sbin/install
1305 # AmigaOS /C/install, which installs bootblocks on floppy discs
1306 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1307 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1308 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1309 # OS/2's system install, which has a completely different semantic
1310 # ./install, which can be erroneously created by make from ./install.sh.
1311 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1312 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1313 if test -z "$INSTALL"; then
1314 if test "${ac_cv_path_install+set}" = set; then
1315 echo $ECHO_N "(cached) $ECHO_C" >&6
1317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1321 test -z "$as_dir" && as_dir
=.
1322 # Account for people who put trailing slashes in PATH elements.
1324 .
/ | .
// |
/cC
/* | \
1325 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1326 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1329 # OSF1 and SCO ODT 3.0 have their own names for install.
1330 # Don't use installbsd from OSF since it installs stuff as root
1332 for ac_prog
in ginstall scoinst
install; do
1333 for ac_exec_ext
in '' $ac_executable_extensions; do
1334 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1335 if test $ac_prog = install &&
1336 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1337 # AIX install. It has an incompatible calling convention.
1339 elif test $ac_prog = install &&
1340 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1341 # program-specific install script used by HP pwplus--don't use.
1344 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1356 if test "${ac_cv_path_install+set}" = set; then
1357 INSTALL
=$ac_cv_path_install
1359 # As a last resort, use the slow shell script. We don't cache a
1360 # path for INSTALL within a source directory, because that will
1361 # break other packages using the cache if that directory is
1362 # removed, or if the path is relative.
1363 INSTALL
=$ac_install_sh
1366 echo "$as_me:$LINENO: result: $INSTALL" >&5
1367 echo "${ECHO_T}$INSTALL" >&6
1369 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1370 # It thinks the first close brace ends the variable substitution.
1371 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1373 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1375 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1377 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1378 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1381 echo timestamp
> conftest.
file
1382 # Do `set' in a subshell so we don't clobber the current shell's
1383 # arguments. Must try -L first in case configure is actually a
1384 # symlink; some systems play weird games with the mod time of symlinks
1385 # (eg FreeBSD returns the mod time of the symlink's containing
1388 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1389 if test "$*" = "X"; then
1391 set X
`ls -t $srcdir/configure conftest.file`
1394 if test "$*" != "X $srcdir/configure conftest.file" \
1395 && test "$*" != "X conftest.file $srcdir/configure"; then
1397 # If neither matched, then we have a broken ls. This can happen
1398 # if, for instance, CONFIG_SHELL is bash and it inherits a
1399 # broken ls alias from the environment. This has actually
1400 # happened. Such a system could not be considered "sane".
1401 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1402 alias in your environment" >&5
1403 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1404 alias in your environment" >&2;}
1405 { (exit 1); exit 1; }; }
1408 test "$2" = conftest.
file
1414 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1415 Check your system clock" >&5
1416 echo "$as_me: error: newly created file is older than distributed files!
1417 Check your system clock" >&2;}
1418 { (exit 1); exit 1; }; }
1420 echo "$as_me:$LINENO: result: yes" >&5
1421 echo "${ECHO_T}yes" >&6
1422 test "$program_prefix" != NONE
&&
1423 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1424 # Use a double $ so make ignores it.
1425 test "$program_suffix" != NONE
&&
1426 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1427 # Double any \ or $. echo might interpret backslashes.
1428 # By default was `s,x,x', remove it if useless.
1429 cat <<\_ACEOF
>conftest.
sed
1430 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1432 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1435 # expand $ac_aux_dir to an absolute path
1436 am_aux_dir
=`cd $ac_aux_dir && pwd`
1438 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1439 # Use eval to expand $SHELL
1440 if eval "$MISSING --run true"; then
1441 am_missing_run
="$MISSING --run "
1444 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1445 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1448 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1449 # We used to keeping the `.' as first argument, in order to
1450 # allow $(mkdir_p) to be used without argument. As in
1451 # $(mkdir_p) $(somedir)
1452 # where $(somedir) is conditionally defined. However this is wrong
1454 # 1. if the package is installed by a user who cannot write `.'
1455 # make install will fail,
1456 # 2. the above comment should most certainly read
1457 # $(mkdir_p) $(DESTDIR)$(somedir)
1458 # so it does not work when $(somedir) is undefined and
1459 # $(DESTDIR) is not.
1460 # To support the latter case, we have to write
1461 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1462 # so the `.' trick is pointless.
1463 mkdir_p
='mkdir -p --'
1465 # On NextStep and OpenStep, the `mkdir' command does not
1466 # recognize any option. It will interpret all options as
1467 # directories to create, and then abort because `.' already
1469 for d
in .
/-p .
/--version;
1471 test -d $d && rmdir $d
1473 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1474 if test -f "$ac_aux_dir/mkinstalldirs"; then
1475 mkdir_p
='$(mkinstalldirs)'
1477 mkdir_p
='$(install_sh) -d'
1481 for ac_prog
in gawk mawk nawk
awk
1483 # Extract the first word of "$ac_prog", so it can be a program name with args.
1484 set dummy
$ac_prog; ac_word
=$2
1485 echo "$as_me:$LINENO: checking for $ac_word" >&5
1486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1487 if test "${ac_cv_prog_AWK+set}" = set; then
1488 echo $ECHO_N "(cached) $ECHO_C" >&6
1490 if test -n "$AWK"; then
1491 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1497 test -z "$as_dir" && as_dir
=.
1498 for ac_exec_ext
in '' $ac_executable_extensions; do
1499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1500 ac_cv_prog_AWK
="$ac_prog"
1501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1510 if test -n "$AWK"; then
1511 echo "$as_me:$LINENO: result: $AWK" >&5
1512 echo "${ECHO_T}$AWK" >&6
1514 echo "$as_me:$LINENO: result: no" >&5
1515 echo "${ECHO_T}no" >&6
1518 test -n "$AWK" && break
1521 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1522 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1523 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1524 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1525 echo $ECHO_N "(cached) $ECHO_C" >&6
1527 cat >conftest.
make <<\_ACEOF
1529 @
echo 'ac_maketemp="$(MAKE)"'
1531 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1532 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1533 if test -n "$ac_maketemp"; then
1534 eval ac_cv_prog_make_
${ac_make}_set
=yes
1536 eval ac_cv_prog_make_
${ac_make}_set
=no
1540 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1541 echo "$as_me:$LINENO: result: yes" >&5
1542 echo "${ECHO_T}yes" >&6
1545 echo "$as_me:$LINENO: result: no" >&5
1546 echo "${ECHO_T}no" >&6
1547 SET_MAKE
="MAKE=${MAKE-make}"
1550 rm -rf .tst
2>/dev
/null
1551 mkdir .tst
2>/dev
/null
1552 if test -d .tst
; then
1557 rmdir .tst
2>/dev
/null
1559 # test to see if srcdir already configured
1560 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1561 test -f $srcdir/config.status
; then
1562 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1563 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1564 { (exit 1); exit 1; }; }
1567 # test whether we have cygpath
1568 if test -z "$CYGPATH_W"; then
1569 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1570 CYGPATH_W
='cygpath -w'
1577 # Define the identity of the package.
1578 PACKAGE
=gettext_rpathlzyx
1582 cat >>confdefs.h
<<_ACEOF
1583 #define PACKAGE "$PACKAGE"
1587 cat >>confdefs.h
<<_ACEOF
1588 #define VERSION "$VERSION"
1591 # Some tools Automake needs.
1593 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1596 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1599 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1602 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1605 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1607 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1609 # Installed binaries are usually stripped using `strip' when the user
1610 # run `make install-strip'. However `strip' might not be the right
1611 # tool to use in cross-compilation environments, therefore Automake
1612 # will honor the `STRIP' environment variable to overrule this program.
1613 if test "$cross_compiling" != no
; then
1614 if test -n "$ac_tool_prefix"; then
1615 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1616 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1617 echo "$as_me:$LINENO: checking for $ac_word" >&5
1618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1619 if test "${ac_cv_prog_STRIP+set}" = set; then
1620 echo $ECHO_N "(cached) $ECHO_C" >&6
1622 if test -n "$STRIP"; then
1623 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1629 test -z "$as_dir" && as_dir
=.
1630 for ac_exec_ext
in '' $ac_executable_extensions; do
1631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1632 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1641 STRIP
=$ac_cv_prog_STRIP
1642 if test -n "$STRIP"; then
1643 echo "$as_me:$LINENO: result: $STRIP" >&5
1644 echo "${ECHO_T}$STRIP" >&6
1646 echo "$as_me:$LINENO: result: no" >&5
1647 echo "${ECHO_T}no" >&6
1651 if test -z "$ac_cv_prog_STRIP"; then
1653 # Extract the first word of "strip", so it can be a program name with args.
1654 set dummy strip
; ac_word
=$2
1655 echo "$as_me:$LINENO: checking for $ac_word" >&5
1656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1657 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1658 echo $ECHO_N "(cached) $ECHO_C" >&6
1660 if test -n "$ac_ct_STRIP"; then
1661 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1667 test -z "$as_dir" && as_dir
=.
1668 for ac_exec_ext
in '' $ac_executable_extensions; do
1669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1670 ac_cv_prog_ac_ct_STRIP
="strip"
1671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1677 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1680 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1681 if test -n "$ac_ct_STRIP"; then
1682 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1683 echo "${ECHO_T}$ac_ct_STRIP" >&6
1685 echo "$as_me:$LINENO: result: no" >&5
1686 echo "${ECHO_T}no" >&6
1691 STRIP
="$ac_cv_prog_STRIP"
1695 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1697 # We need awk for the "check" target. The system "awk" is bad on
1699 # Always define AMTAR for backward compatibility.
1701 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1703 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1710 ac_cpp
='$CPP $CPPFLAGS'
1711 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1712 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1713 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1714 if test -n "$ac_tool_prefix"; then
1715 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1716 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1717 echo "$as_me:$LINENO: checking for $ac_word" >&5
1718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1719 if test "${ac_cv_prog_CC+set}" = set; then
1720 echo $ECHO_N "(cached) $ECHO_C" >&6
1722 if test -n "$CC"; then
1723 ac_cv_prog_CC
="$CC" # Let the user override the test.
1725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1729 test -z "$as_dir" && as_dir
=.
1730 for ac_exec_ext
in '' $ac_executable_extensions; do
1731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1732 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1742 if test -n "$CC"; then
1743 echo "$as_me:$LINENO: result: $CC" >&5
1744 echo "${ECHO_T}$CC" >&6
1746 echo "$as_me:$LINENO: result: no" >&5
1747 echo "${ECHO_T}no" >&6
1751 if test -z "$ac_cv_prog_CC"; then
1753 # Extract the first word of "gcc", so it can be a program name with args.
1754 set dummy gcc
; ac_word
=$2
1755 echo "$as_me:$LINENO: checking for $ac_word" >&5
1756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1757 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 if test -n "$ac_ct_CC"; then
1761 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1767 test -z "$as_dir" && as_dir
=.
1768 for ac_exec_ext
in '' $ac_executable_extensions; do
1769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1770 ac_cv_prog_ac_ct_CC
="gcc"
1771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1779 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1780 if test -n "$ac_ct_CC"; then
1781 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1782 echo "${ECHO_T}$ac_ct_CC" >&6
1784 echo "$as_me:$LINENO: result: no" >&5
1785 echo "${ECHO_T}no" >&6
1793 if test -z "$CC"; then
1794 if test -n "$ac_tool_prefix"; then
1795 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1796 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1797 echo "$as_me:$LINENO: checking for $ac_word" >&5
1798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1799 if test "${ac_cv_prog_CC+set}" = set; then
1800 echo $ECHO_N "(cached) $ECHO_C" >&6
1802 if test -n "$CC"; then
1803 ac_cv_prog_CC
="$CC" # Let the user override the test.
1805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1809 test -z "$as_dir" && as_dir
=.
1810 for ac_exec_ext
in '' $ac_executable_extensions; do
1811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1812 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1822 if test -n "$CC"; then
1823 echo "$as_me:$LINENO: result: $CC" >&5
1824 echo "${ECHO_T}$CC" >&6
1826 echo "$as_me:$LINENO: result: no" >&5
1827 echo "${ECHO_T}no" >&6
1831 if test -z "$ac_cv_prog_CC"; then
1833 # Extract the first word of "cc", so it can be a program name with args.
1834 set dummy cc
; ac_word
=$2
1835 echo "$as_me:$LINENO: checking for $ac_word" >&5
1836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1837 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1838 echo $ECHO_N "(cached) $ECHO_C" >&6
1840 if test -n "$ac_ct_CC"; then
1841 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1847 test -z "$as_dir" && as_dir
=.
1848 for ac_exec_ext
in '' $ac_executable_extensions; do
1849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1850 ac_cv_prog_ac_ct_CC
="cc"
1851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1859 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1860 if test -n "$ac_ct_CC"; then
1861 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1862 echo "${ECHO_T}$ac_ct_CC" >&6
1864 echo "$as_me:$LINENO: result: no" >&5
1865 echo "${ECHO_T}no" >&6
1874 if test -z "$CC"; then
1875 # Extract the first word of "cc", so it can be a program name with args.
1876 set dummy cc
; ac_word
=$2
1877 echo "$as_me:$LINENO: checking for $ac_word" >&5
1878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1879 if test "${ac_cv_prog_CC+set}" = set; then
1880 echo $ECHO_N "(cached) $ECHO_C" >&6
1882 if test -n "$CC"; then
1883 ac_cv_prog_CC
="$CC" # Let the user override the test.
1886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1890 test -z "$as_dir" && as_dir
=.
1891 for ac_exec_ext
in '' $ac_executable_extensions; do
1892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1893 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1894 ac_prog_rejected
=yes
1898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1904 if test $ac_prog_rejected = yes; then
1905 # We found a bogon in the path, so make sure we never use it.
1906 set dummy
$ac_cv_prog_CC
1908 if test $# != 0; then
1909 # We chose a different compiler from the bogus one.
1910 # However, it has the same basename, so the bogon will be chosen
1911 # first if we set CC to just the basename; use the full file name.
1913 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1919 if test -n "$CC"; then
1920 echo "$as_me:$LINENO: result: $CC" >&5
1921 echo "${ECHO_T}$CC" >&6
1923 echo "$as_me:$LINENO: result: no" >&5
1924 echo "${ECHO_T}no" >&6
1928 if test -z "$CC"; then
1929 if test -n "$ac_tool_prefix"; then
1932 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1933 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1934 echo "$as_me:$LINENO: checking for $ac_word" >&5
1935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1936 if test "${ac_cv_prog_CC+set}" = set; then
1937 echo $ECHO_N "(cached) $ECHO_C" >&6
1939 if test -n "$CC"; then
1940 ac_cv_prog_CC
="$CC" # Let the user override the test.
1942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1946 test -z "$as_dir" && as_dir
=.
1947 for ac_exec_ext
in '' $ac_executable_extensions; do
1948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1949 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1959 if test -n "$CC"; then
1960 echo "$as_me:$LINENO: result: $CC" >&5
1961 echo "${ECHO_T}$CC" >&6
1963 echo "$as_me:$LINENO: result: no" >&5
1964 echo "${ECHO_T}no" >&6
1967 test -n "$CC" && break
1970 if test -z "$CC"; then
1974 # Extract the first word of "$ac_prog", so it can be a program name with args.
1975 set dummy
$ac_prog; ac_word
=$2
1976 echo "$as_me:$LINENO: checking for $ac_word" >&5
1977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1978 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1981 if test -n "$ac_ct_CC"; then
1982 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1988 test -z "$as_dir" && as_dir
=.
1989 for ac_exec_ext
in '' $ac_executable_extensions; do
1990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1991 ac_cv_prog_ac_ct_CC
="$ac_prog"
1992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2000 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2001 if test -n "$ac_ct_CC"; then
2002 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2003 echo "${ECHO_T}$ac_ct_CC" >&6
2005 echo "$as_me:$LINENO: result: no" >&5
2006 echo "${ECHO_T}no" >&6
2009 test -n "$ac_ct_CC" && break
2018 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2019 See \`config.log' for more details." >&5
2020 echo "$as_me: error: no acceptable C compiler found in \$PATH
2021 See \`config.log' for more details." >&2;}
2022 { (exit 1); exit 1; }; }
2024 # Provide some information about the compiler.
2025 echo "$as_me:$LINENO:" \
2026 "checking for C compiler version" >&5
2027 ac_compiler
=`set X $ac_compile; echo $2`
2028 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2029 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }
2033 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2034 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037 (exit $ac_status); }
2038 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2039 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2042 (exit $ac_status); }
2044 cat >conftest.
$ac_ext <<_ACEOF
2047 cat confdefs.h
>>conftest.
$ac_ext
2048 cat >>conftest.
$ac_ext <<_ACEOF
2049 /* end confdefs.h. */
2059 ac_clean_files_save
=$ac_clean_files
2060 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2061 # Try to create an executable without -o first, disregard a.out.
2062 # It will help us diagnose broken compilers, and finding out an intuition
2064 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2065 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2066 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2067 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2068 (eval $ac_link_default) 2>&5
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); }; then
2072 # Find the output, starting from the most likely. This scheme is
2073 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2076 # Be careful to initialize this variable, since it used to be cached.
2077 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2079 # b.out is created by i960 compilers.
2080 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2082 test -f "$ac_file" ||
continue
2084 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2087 # This is the source file.
2090 # We found the default executable, but exeext='' is most
2094 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2095 # FIXME: I believe we export ac_cv_exeext for Libtool,
2096 # but it would be cool to find out if it's true. Does anybody
2097 # maintain Libtool? --akim.
2105 echo "$as_me: failed program was:" >&5
2106 sed 's/^/| /' conftest.
$ac_ext >&5
2108 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2109 See \`config.log' for more details." >&5
2110 echo "$as_me: error: C compiler cannot create executables
2111 See \`config.log' for more details." >&2;}
2112 { (exit 77); exit 77; }; }
2115 ac_exeext
=$ac_cv_exeext
2116 echo "$as_me:$LINENO: result: $ac_file" >&5
2117 echo "${ECHO_T}$ac_file" >&6
2119 # Check the compiler produces executables we can run. If not, either
2120 # the compiler is broken, or we cross compile.
2121 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2122 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2123 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2124 # If not cross compiling, check that we can run a simple program.
2125 if test "$cross_compiling" != yes; then
2126 if { ac_try
='./$ac_file'
2127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131 (exit $ac_status); }; }; then
2134 if test "$cross_compiling" = maybe
; then
2137 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2138 If you meant to cross compile, use \`--host'.
2139 See \`config.log' for more details." >&5
2140 echo "$as_me: error: cannot run C compiled programs.
2141 If you meant to cross compile, use \`--host'.
2142 See \`config.log' for more details." >&2;}
2143 { (exit 1); exit 1; }; }
2147 echo "$as_me:$LINENO: result: yes" >&5
2148 echo "${ECHO_T}yes" >&6
2150 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2151 ac_clean_files
=$ac_clean_files_save
2152 # Check the compiler produces executables we can run. If not, either
2153 # the compiler is broken, or we cross compile.
2154 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2155 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2156 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2157 echo "${ECHO_T}$cross_compiling" >&6
2159 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2160 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2162 (eval $ac_link) 2>&5
2164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2165 (exit $ac_status); }; then
2166 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2167 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2168 # work properly (i.e., refer to `conftest.exe'), while it won't with
2170 for ac_file
in conftest.exe conftest conftest.
*; do
2171 test -f "$ac_file" ||
continue
2173 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2174 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2181 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2182 See \`config.log' for more details." >&5
2183 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2184 See \`config.log' for more details." >&2;}
2185 { (exit 1); exit 1; }; }
2188 rm -f conftest
$ac_cv_exeext
2189 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2190 echo "${ECHO_T}$ac_cv_exeext" >&6
2192 rm -f conftest.
$ac_ext
2193 EXEEXT
=$ac_cv_exeext
2195 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2196 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2197 if test "${ac_cv_objext+set}" = set; then
2198 echo $ECHO_N "(cached) $ECHO_C" >&6
2200 cat >conftest.
$ac_ext <<_ACEOF
2203 cat confdefs.h
>>conftest.
$ac_ext
2204 cat >>conftest.
$ac_ext <<_ACEOF
2205 /* end confdefs.h. */
2215 rm -f conftest.o conftest.obj
2216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2217 (eval $ac_compile) 2>&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; then
2221 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2223 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2224 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2229 echo "$as_me: failed program was:" >&5
2230 sed 's/^/| /' conftest.
$ac_ext >&5
2232 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2233 See \`config.log' for more details." >&5
2234 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2235 See \`config.log' for more details." >&2;}
2236 { (exit 1); exit 1; }; }
2239 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2241 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2242 echo "${ECHO_T}$ac_cv_objext" >&6
2243 OBJEXT
=$ac_cv_objext
2245 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2246 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2247 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2248 echo $ECHO_N "(cached) $ECHO_C" >&6
2250 cat >conftest.
$ac_ext <<_ACEOF
2253 cat confdefs.h
>>conftest.
$ac_ext
2254 cat >>conftest.
$ac_ext <<_ACEOF
2255 /* end confdefs.h. */
2268 rm -f conftest.
$ac_objext
2269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2270 (eval $ac_compile) 2>conftest.er1
2272 grep -v '^ *+' conftest.er1
>conftest.err
2274 cat conftest.err
>&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); } &&
2277 { ac_try
='test -z "$ac_c_werror_flag"
2278 || test ! -s conftest.err'
2279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); }; } &&
2284 { ac_try
='test -s conftest.$ac_objext'
2285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); }; }; then
2292 echo "$as_me: failed program was:" >&5
2293 sed 's/^/| /' conftest.
$ac_ext >&5
2297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2298 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2301 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2302 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2303 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2304 ac_test_CFLAGS
=${CFLAGS+set}
2305 ac_save_CFLAGS
=$CFLAGS
2307 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2308 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2309 if test "${ac_cv_prog_cc_g+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 cat >conftest.
$ac_ext <<_ACEOF
2315 cat confdefs.h
>>conftest.
$ac_ext
2316 cat >>conftest.
$ac_ext <<_ACEOF
2317 /* end confdefs.h. */
2327 rm -f conftest.
$ac_objext
2328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2329 (eval $ac_compile) 2>conftest.er1
2331 grep -v '^ *+' conftest.er1
>conftest.err
2333 cat conftest.err
>&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); } &&
2336 { ac_try
='test -z "$ac_c_werror_flag"
2337 || test ! -s conftest.err'
2338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342 (exit $ac_status); }; } &&
2343 { ac_try
='test -s conftest.$ac_objext'
2344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }; }; then
2351 echo "$as_me: failed program was:" >&5
2352 sed 's/^/| /' conftest.
$ac_ext >&5
2356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2358 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2359 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2360 if test "$ac_test_CFLAGS" = set; then
2361 CFLAGS
=$ac_save_CFLAGS
2362 elif test $ac_cv_prog_cc_g = yes; then
2363 if test "$GCC" = yes; then
2369 if test "$GCC" = yes; then
2375 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2376 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2377 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2378 echo $ECHO_N "(cached) $ECHO_C" >&6
2380 ac_cv_prog_cc_stdc
=no
2382 cat >conftest.
$ac_ext <<_ACEOF
2385 cat confdefs.h
>>conftest.
$ac_ext
2386 cat >>conftest.
$ac_ext <<_ACEOF
2387 /* end confdefs.h. */
2390 #include <sys/types.h>
2391 #include <sys/stat.h>
2392 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2393 struct buf { int x; };
2394 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2395 static char *e (p, i)
2401 static char *f (char * (*g) (char **, int), char **p, ...)
2406 s = g (p, va_arg (v,int));
2411 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2412 function prototypes and stuff, but not '\xHH' hex character constants.
2413 These don't provoke an error unfortunately, instead are silently treated
2414 as 'x'. The following induces an error, until -std1 is added to get
2415 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2416 array size at least. It's necessary to write '\x00'==0 to get something
2417 that's true only with -std1. */
2418 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2420 int test (int i, double x);
2421 struct s1 {int (*f) (int a);};
2422 struct s2 {int (*f) (double a);};
2423 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2429 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2434 # Don't try gcc -ansi; that turns off useful extensions and
2435 # breaks some systems' header files.
2436 # AIX -qlanglvl=ansi
2437 # Ultrix and OSF/1 -std1
2438 # HP-UX 10.20 and later -Ae
2439 # HP-UX older versions -Aa -D_HPUX_SOURCE
2440 # SVR4 -Xc -D__EXTENSIONS__
2441 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2443 CC
="$ac_save_CC $ac_arg"
2444 rm -f conftest.
$ac_objext
2445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2446 (eval $ac_compile) 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_objext'
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_prog_cc_stdc
=$ac_arg
2469 echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.
$ac_ext >&5
2473 rm -f conftest.err conftest.
$ac_objext
2475 rm -f conftest.
$ac_ext conftest.
$ac_objext
2480 case "x$ac_cv_prog_cc_stdc" in
2482 echo "$as_me:$LINENO: result: none needed" >&5
2483 echo "${ECHO_T}none needed" >&6 ;;
2485 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2486 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2487 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2490 # Some people use a C++ compiler to compile C. Since we use `exit',
2491 # in C++ we need to declare it. In case someone uses the same compiler
2492 # for both compiling C and C++ we need to have the C++ compiler decide
2493 # the declaration of exit, since it's the most demanding environment.
2494 cat >conftest.
$ac_ext <<_ACEOF
2499 rm -f conftest.
$ac_objext
2500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2501 (eval $ac_compile) 2>conftest.er1
2503 grep -v '^ *+' conftest.er1
>conftest.err
2505 cat conftest.err
>&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); } &&
2508 { ac_try
='test -z "$ac_c_werror_flag"
2509 || test ! -s conftest.err'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; } &&
2515 { ac_try
='test -s conftest.$ac_objext'
2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }; }; then
2521 for ac_declaration
in \
2523 'extern "C" void std::exit (int) throw (); using std::exit;' \
2524 'extern "C" void std::exit (int); using std::exit;' \
2525 'extern "C" void exit (int) throw ();' \
2526 'extern "C" void exit (int);' \
2529 cat >conftest.
$ac_ext <<_ACEOF
2532 cat confdefs.h
>>conftest.
$ac_ext
2533 cat >>conftest.
$ac_ext <<_ACEOF
2534 /* end confdefs.h. */
2545 rm -f conftest.
$ac_objext
2546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2547 (eval $ac_compile) 2>conftest.er1
2549 grep -v '^ *+' conftest.er1
>conftest.err
2551 cat conftest.err
>&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); } &&
2554 { ac_try
='test -z "$ac_c_werror_flag"
2555 || test ! -s conftest.err'
2556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); }; } &&
2561 { ac_try
='test -s conftest.$ac_objext'
2562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }; }; then
2569 echo "$as_me: failed program was:" >&5
2570 sed 's/^/| /' conftest.
$ac_ext >&5
2574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2575 cat >conftest.
$ac_ext <<_ACEOF
2578 cat confdefs.h
>>conftest.
$ac_ext
2579 cat >>conftest.
$ac_ext <<_ACEOF
2580 /* end confdefs.h. */
2590 rm -f conftest.
$ac_objext
2591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2592 (eval $ac_compile) 2>conftest.er1
2594 grep -v '^ *+' conftest.er1
>conftest.err
2596 cat conftest.err
>&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); } &&
2599 { ac_try
='test -z "$ac_c_werror_flag"
2600 || test ! -s conftest.err'
2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; } &&
2606 { ac_try
='test -s conftest.$ac_objext'
2607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); }; }; then
2614 echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.
$ac_ext >&5
2618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2621 if test -n "$ac_declaration"; then
2622 echo '#ifdef __cplusplus' >>confdefs.h
2623 echo $ac_declaration >>confdefs.h
2624 echo '#endif' >>confdefs.h
2628 echo "$as_me: failed program was:" >&5
2629 sed 's/^/| /' conftest.
$ac_ext >&5
2632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2634 ac_cpp
='$CPP $CPPFLAGS'
2635 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2636 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2637 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2638 DEPDIR
="${am__leading_dot}deps"
2640 ac_config_commands
="$ac_config_commands depfiles"
2643 am_make
=${MAKE-make}
2644 cat > confinc
<< 'END'
2649 # If we don't find an include directive, just comment out the code.
2650 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2651 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2655 # First try GNU make style include.
2656 echo "include confinc" > confmf
2657 # We grep out `Entering directory' and `Leaving directory'
2658 # messages which can occur if `w' ends up in MAKEFLAGS.
2659 # In particular we don't look at `^make:' because GNU make might
2660 # be invoked under some other name (usually "gmake"), in which
2661 # case it prints its new name instead of `make'.
2662 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2667 # Now try BSD make style include.
2668 if test "$am__include" = "#"; then
2669 echo '.include "confinc"' > confmf
2670 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2671 am__include
=.include
2678 echo "$as_me:$LINENO: result: $_am_result" >&5
2679 echo "${ECHO_T}$_am_result" >&6
2680 rm -f confinc confmf
2682 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2683 if test "${enable_dependency_tracking+set}" = set; then
2684 enableval
="$enable_dependency_tracking"
2687 if test "x$enable_dependency_tracking" != xno
; then
2688 am_depcomp
="$ac_aux_dir/depcomp"
2693 if test "x$enable_dependency_tracking" != xno; then
2704 depcc
="$CC" am_compiler_list
=
2706 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2707 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2708 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2712 # We make a subdir and do the tests there. Otherwise we can end up
2713 # making bogus files that we don't know about and never remove. For
2714 # instance it was reported that on HP-UX the gcc test will end up
2715 # making a dummy file named `D' -- because `-MD' means `put the output
2718 # Copy depcomp to subdir because otherwise we won't find it if we're
2719 # using a relative directory.
2720 cp "$am_depcomp" conftest.dir
2722 # We will build objects and dependencies in a subdirectory because
2723 # it helps to detect inapplicable dependency modes. For instance
2724 # both Tru64's cc and ICC support -MD to output dependencies as a
2725 # side effect of compilation, but ICC will put the dependencies in
2726 # the current directory while Tru64 will put them in the object
2730 am_cv_CC_dependencies_compiler_type
=none
2731 if test "$am_compiler_list" = ""; then
2732 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2734 for depmode
in $am_compiler_list; do
2735 # Setup a source with many dependencies, because some compilers
2736 # like to wrap large dependency lists on column 80 (with \), and
2737 # we should not choose a depcomp mode which is confused by this.
2739 # We need to recreate these files for each test, as the compiler may
2740 # overwrite some of them when testing with obscure command lines.
2741 # This happens at least with the AIX C compiler.
2743 for i
in 1 2 3 4 5 6; do
2744 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2745 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2746 # Solaris 8's {/usr,}/bin/sh.
2747 touch sub
/conftst
$i.h
2749 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2753 # after this tag, mechanisms are not by side-effect, so they'll
2754 # only be used when explicitly requested
2755 if test "x$enable_dependency_tracking" = xyes
; then
2763 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2764 # mode. It turns out that the SunPro C++ compiler does not properly
2765 # handle `-M -o', and we need to detect this.
2766 if depmode
=$depmode \
2767 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2768 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2769 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2770 >/dev
/null
2>conftest.err
&&
2771 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2772 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2773 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2774 # icc doesn't choke on unknown options, it will just issue warnings
2775 # or remarks (even with -Werror). So we grep stderr for any message
2776 # that says an option was ignored or not supported.
2777 # When given -MP, icc 7.0 and 7.1 complain thusly:
2778 # icc: Command line warning: ignoring option '-M'; no argument required
2779 # The diagnosis changed in icc 8.0:
2780 # icc: Command line remark: option '-MP' not supported
2781 if (grep 'ignoring option' conftest.err ||
2782 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2783 am_cv_CC_dependencies_compiler_type
=$depmode
2792 am_cv_CC_dependencies_compiler_type
=none
2796 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2797 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2798 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2803 test "x$enable_dependency_tracking" != xno \
2804 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2806 am__fastdepCC_FALSE
='#'
2808 am__fastdepCC_TRUE
='#'
2809 am__fastdepCC_FALSE
=
2814 if test "X$prefix" = "XNONE"; then
2815 acl_final_prefix
="$ac_default_prefix"
2817 acl_final_prefix
="$prefix"
2819 if test "X$exec_prefix" = "XNONE"; then
2820 acl_final_exec_prefix
='${prefix}'
2822 acl_final_exec_prefix
="$exec_prefix"
2824 acl_save_prefix
="$prefix"
2825 prefix
="$acl_final_prefix"
2826 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
2827 prefix
="$acl_save_prefix"
2829 # Make sure we can run config.sub.
2830 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2831 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2832 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2833 { (exit 1); exit 1; }; }
2835 echo "$as_me:$LINENO: checking build system type" >&5
2836 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2837 if test "${ac_cv_build+set}" = set; then
2838 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 ac_cv_build_alias
=$build_alias
2841 test -z "$ac_cv_build_alias" &&
2842 ac_cv_build_alias
=`$ac_config_guess`
2843 test -z "$ac_cv_build_alias" &&
2844 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2845 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2846 { (exit 1); exit 1; }; }
2847 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2848 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2849 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2850 { (exit 1); exit 1; }; }
2853 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2854 echo "${ECHO_T}$ac_cv_build" >&6
2856 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2857 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2858 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2861 echo "$as_me:$LINENO: checking host system type" >&5
2862 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2863 if test "${ac_cv_host+set}" = set; then
2864 echo $ECHO_N "(cached) $ECHO_C" >&6
2866 ac_cv_host_alias
=$host_alias
2867 test -z "$ac_cv_host_alias" &&
2868 ac_cv_host_alias
=$ac_cv_build_alias
2869 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2870 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2871 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2872 { (exit 1); exit 1; }; }
2875 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2876 echo "${ECHO_T}$ac_cv_host" >&6
2878 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2879 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2880 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2884 # Check whether --with-gnu-ld or --without-gnu-ld was given.
2885 if test "${with_gnu_ld+set}" = set; then
2886 withval
="$with_gnu_ld"
2887 test "$withval" = no || with_gnu_ld
=yes
2891 # Prepare PATH_SEPARATOR.
2892 # The user is always right.
2893 if test "${PATH_SEPARATOR+set}" != set; then
2894 echo "#! /bin/sh" >conf$$.sh
2895 echo "exit 0" >>conf$$.sh
2897 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
2905 if test "$GCC" = yes; then
2906 # Check if gcc -print-prog-name=ld gives a path.
2907 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
2908 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
2911 # gcc leaves a trailing carriage return which upsets mingw
2912 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2914 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
2917 # Accept absolute paths.
2918 [\\/]* |
[A-Za-z
]:[\\/]*)
2919 re_direlt
='/[^/][^/]*/\.\./'
2920 # Canonicalize the path of ld
2921 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
2922 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
2923 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
2925 test -z "$LD" && LD
="$ac_prog"
2928 # If it fails, then pretend we aren't using GCC.
2932 # If it is relative, then search for the first ld in PATH.
2936 elif test "$with_gnu_ld" = yes; then
2937 echo "$as_me:$LINENO: checking for GNU ld" >&5
2938 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
2940 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
2941 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
2943 if test "${acl_cv_path_LD+set}" = set; then
2944 echo $ECHO_N "(cached) $ECHO_C" >&6
2946 if test -z "$LD"; then
2947 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
2948 for ac_dir
in $PATH; do
2949 test -z "$ac_dir" && ac_dir
=.
2950 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
2951 acl_cv_path_LD
="$ac_dir/$ac_prog"
2952 # Check to see if the program is GNU ld. I'd rather use --version,
2953 # but apparently some GNU ld's only accept -v.
2954 # Break only if it was the GNU/non-GNU ld that we prefer.
2955 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
2956 *GNU
* |
*'with BFD'*)
2957 test "$with_gnu_ld" != no
&& break ;;
2959 test "$with_gnu_ld" != yes && break ;;
2965 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
2969 LD
="$acl_cv_path_LD"
2970 if test -n "$LD"; then
2971 echo "$as_me:$LINENO: result: $LD" >&5
2972 echo "${ECHO_T}$LD" >&6
2974 echo "$as_me:$LINENO: result: no" >&5
2975 echo "${ECHO_T}no" >&6
2977 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
2978 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
2979 { (exit 1); exit 1; }; }
2980 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
2981 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
2982 if test "${acl_cv_prog_gnu_ld+set}" = set; then
2983 echo $ECHO_N "(cached) $ECHO_C" >&6
2985 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
2986 case `$LD -v 2>&1 </dev/null` in
2987 *GNU
* |
*'with BFD'*)
2988 acl_cv_prog_gnu_ld
=yes ;;
2990 acl_cv_prog_gnu_ld
=no
;;
2993 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
2994 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
2995 with_gnu_ld
=$acl_cv_prog_gnu_ld
3000 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
3001 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
3002 if test "${acl_cv_rpath+set}" = set; then
3003 echo $ECHO_N "(cached) $ECHO_C" >&6
3006 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
3007 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
3013 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
3014 echo "${ECHO_T}$acl_cv_rpath" >&6
3016 libext
="$acl_cv_libext"
3017 shlibext
="$acl_cv_shlibext"
3018 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
3019 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
3020 hardcode_direct
="$acl_cv_hardcode_direct"
3021 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
3022 # Check whether --enable-rpath or --disable-rpath was given.
3023 if test "${enable_rpath+set}" = set; then
3024 enableval
="$enable_rpath"
3035 echo "$as_me:$LINENO: checking how to link with librpathx" >&5
3036 echo $ECHO_N "checking how to link with librpathx... $ECHO_C" >&6
3037 if test "${ac_cv_librpathx_libs+set}" = set; then
3038 echo $ECHO_N "(cached) $ECHO_C" >&6
3045 acl_save_prefix
="$prefix"
3046 prefix
="$acl_final_prefix"
3047 acl_save_exec_prefix
="$exec_prefix"
3048 exec_prefix
="$acl_final_exec_prefix"
3050 eval additional_includedir
=\"$includedir\"
3051 eval additional_libdir
=\"$libdir\"
3053 exec_prefix
="$acl_save_exec_prefix"
3054 prefix
="$acl_save_prefix"
3057 # Check whether --with-librpathx-prefix or --without-librpathx-prefix was given.
3058 if test "${with_librpathx_prefix+set}" = set; then
3059 withval
="$with_librpathx_prefix"
3061 if test "X$withval" = "Xno"; then
3064 if test "X$withval" = "X"; then
3066 acl_save_prefix
="$prefix"
3067 prefix
="$acl_final_prefix"
3068 acl_save_exec_prefix
="$exec_prefix"
3069 exec_prefix
="$acl_final_exec_prefix"
3071 eval additional_includedir
=\"$includedir\"
3072 eval additional_libdir
=\"$libdir\"
3074 exec_prefix
="$acl_save_exec_prefix"
3075 prefix
="$acl_save_prefix"
3078 additional_includedir
="$withval/include"
3079 additional_libdir
="$withval/lib"
3089 names_already_handled
=
3090 names_next_round
='rpathx '
3091 while test -n "$names_next_round"; do
3092 names_this_round
="$names_next_round"
3094 for name
in $names_this_round; do
3096 for n
in $names_already_handled; do
3097 if test "$n" = "$name"; then
3102 if test -z "$already_handled"; then
3103 names_already_handled
="$names_already_handled $name"
3104 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
3105 eval value
=\"\
$HAVE_LIB$uppername\"
3106 if test -n "$value"; then
3107 if test "$value" = yes; then
3108 eval value
=\"\
$LIB$uppername\"
3109 test -z "$value" || LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }$value"
3110 eval value
=\"\
$LTLIB$uppername\"
3111 test -z "$value" || LTLIBRPATHX
="${LTLIBRPATHX}${LTLIBRPATHX:+ }$value"
3120 if test $use_additional = yes; then
3121 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
3122 found_dir
="$additional_libdir"
3123 found_so
="$additional_libdir/lib$name.$shlibext"
3124 if test -f "$additional_libdir/lib$name.la"; then
3125 found_la
="$additional_libdir/lib$name.la"
3128 if test -f "$additional_libdir/lib$name.$libext"; then
3129 found_dir
="$additional_libdir"
3130 found_a
="$additional_libdir/lib$name.$libext"
3131 if test -f "$additional_libdir/lib$name.la"; then
3132 found_la
="$additional_libdir/lib$name.la"
3137 if test "X$found_dir" = "X"; then
3138 for x
in $LDFLAGS $LTLIBRPATHX; do
3140 acl_save_prefix
="$prefix"
3141 prefix
="$acl_final_prefix"
3142 acl_save_exec_prefix
="$exec_prefix"
3143 exec_prefix
="$acl_final_exec_prefix"
3145 exec_prefix
="$acl_save_exec_prefix"
3146 prefix
="$acl_save_prefix"
3150 dir
=`echo "X$x" | sed -e 's/^X-L//'`
3151 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
3153 found_so
="$dir/lib$name.$shlibext"
3154 if test -f "$dir/lib$name.la"; then
3155 found_la
="$dir/lib$name.la"
3158 if test -f "$dir/lib$name.$libext"; then
3160 found_a
="$dir/lib$name.$libext"
3161 if test -f "$dir/lib$name.la"; then
3162 found_la
="$dir/lib$name.la"
3168 if test "X$found_dir" != "X"; then
3173 if test "X$found_dir" != "X"; then
3174 LTLIBRPATHX
="${LTLIBRPATHX}${LTLIBRPATHX:+ }-L$found_dir -l$name"
3175 if test "X$found_so" != "X"; then
3176 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
3177 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
3180 for x
in $ltrpathdirs; do
3181 if test "X$x" = "X$found_dir"; then
3186 if test -z "$haveit"; then
3187 ltrpathdirs
="$ltrpathdirs $found_dir"
3189 if test "$hardcode_direct" = yes; then
3190 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
3192 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
3193 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
3195 for x
in $rpathdirs; do
3196 if test "X$x" = "X$found_dir"; then
3201 if test -z "$haveit"; then
3202 rpathdirs
="$rpathdirs $found_dir"
3206 for x
in $LDFLAGS $LIBRPATHX; do
3208 acl_save_prefix
="$prefix"
3209 prefix
="$acl_final_prefix"
3210 acl_save_exec_prefix
="$exec_prefix"
3211 exec_prefix
="$acl_final_exec_prefix"
3213 exec_prefix
="$acl_save_exec_prefix"
3214 prefix
="$acl_save_prefix"
3216 if test "X$x" = "X-L$found_dir"; then
3221 if test -z "$haveit"; then
3222 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }-L$found_dir"
3224 if test "$hardcode_minus_L" != no
; then
3225 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
3227 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }-l$name"
3233 if test "X$found_a" != "X"; then
3234 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }$found_a"
3236 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }-L$found_dir -l$name"
3239 additional_includedir
=
3240 case "$found_dir" in
3242 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
3243 additional_includedir
="$basedir/include"
3246 if test "X$additional_includedir" != "X"; then
3247 if test "X$additional_includedir" != "X/usr/include"; then
3249 if test "X$additional_includedir" = "X/usr/local/include"; then
3250 if test -n "$GCC"; then
3252 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
3256 if test -z "$haveit"; then
3257 for x
in $CPPFLAGS $INCRPATHX; do
3259 acl_save_prefix
="$prefix"
3260 prefix
="$acl_final_prefix"
3261 acl_save_exec_prefix
="$exec_prefix"
3262 exec_prefix
="$acl_final_exec_prefix"
3264 exec_prefix
="$acl_save_exec_prefix"
3265 prefix
="$acl_save_prefix"
3267 if test "X$x" = "X-I$additional_includedir"; then
3272 if test -z "$haveit"; then
3273 if test -d "$additional_includedir"; then
3274 INCRPATHX
="${INCRPATHX}${INCRPATHX:+ }-I$additional_includedir"
3280 if test -n "$found_la"; then
3281 save_libdir
="$libdir"
3283 */* |
*\\*) .
"$found_la" ;;
3284 *) .
"./$found_la" ;;
3286 libdir
="$save_libdir"
3287 for dep
in $dependency_libs; do
3290 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
3291 if test "X$additional_libdir" != "X/usr/lib"; then
3293 if test "X$additional_libdir" = "X/usr/local/lib"; then
3294 if test -n "$GCC"; then
3296 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
3300 if test -z "$haveit"; then
3302 for x
in $LDFLAGS $LIBRPATHX; do
3304 acl_save_prefix
="$prefix"
3305 prefix
="$acl_final_prefix"
3306 acl_save_exec_prefix
="$exec_prefix"
3307 exec_prefix
="$acl_final_exec_prefix"
3309 exec_prefix
="$acl_save_exec_prefix"
3310 prefix
="$acl_save_prefix"
3312 if test "X$x" = "X-L$additional_libdir"; then
3317 if test -z "$haveit"; then
3318 if test -d "$additional_libdir"; then
3319 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }-L$additional_libdir"
3323 for x
in $LDFLAGS $LTLIBRPATHX; do
3325 acl_save_prefix
="$prefix"
3326 prefix
="$acl_final_prefix"
3327 acl_save_exec_prefix
="$exec_prefix"
3328 exec_prefix
="$acl_final_exec_prefix"
3330 exec_prefix
="$acl_save_exec_prefix"
3331 prefix
="$acl_save_prefix"
3333 if test "X$x" = "X-L$additional_libdir"; then
3338 if test -z "$haveit"; then
3339 if test -d "$additional_libdir"; then
3340 LTLIBRPATHX
="${LTLIBRPATHX}${LTLIBRPATHX:+ }-L$additional_libdir"
3347 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
3348 if test "$enable_rpath" != no
; then
3350 for x
in $rpathdirs; do
3351 if test "X$x" = "X$dir"; then
3356 if test -z "$haveit"; then
3357 rpathdirs
="$rpathdirs $dir"
3360 for x
in $ltrpathdirs; do
3361 if test "X$x" = "X$dir"; then
3366 if test -z "$haveit"; then
3367 ltrpathdirs
="$ltrpathdirs $dir"
3372 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
3375 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
3378 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }$dep"
3379 LTLIBRPATHX
="${LTLIBRPATHX}${LTLIBRPATHX:+ }$dep"
3385 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }-l$name"
3386 LTLIBRPATHX
="${LTLIBRPATHX}${LTLIBRPATHX:+ }-l$name"
3392 if test "X$rpathdirs" != "X"; then
3393 if test -n "$hardcode_libdir_separator"; then
3395 for found_dir
in $rpathdirs; do
3396 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
3398 acl_save_libdir
="$libdir"
3400 eval flag
=\"$hardcode_libdir_flag_spec\"
3401 libdir
="$acl_save_libdir"
3402 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }$flag"
3404 for found_dir
in $rpathdirs; do
3405 acl_save_libdir
="$libdir"
3407 eval flag
=\"$hardcode_libdir_flag_spec\"
3408 libdir
="$acl_save_libdir"
3409 LIBRPATHX
="${LIBRPATHX}${LIBRPATHX:+ }$flag"
3413 if test "X$ltrpathdirs" != "X"; then
3414 for found_dir
in $ltrpathdirs; do
3415 LTLIBRPATHX
="${LTLIBRPATHX}${LTLIBRPATHX:+ }-R$found_dir"
3419 ac_cv_librpathx_libs
="$LIBRPATHX"
3420 ac_cv_librpathx_ltlibs
="$LTLIBRPATHX"
3421 ac_cv_librpathx_cppflags
="$INCRPATHX"
3424 echo "$as_me:$LINENO: result: $ac_cv_librpathx_libs" >&5
3425 echo "${ECHO_T}$ac_cv_librpathx_libs" >&6
3426 LIBRPATHX
="$ac_cv_librpathx_libs"
3427 LTLIBRPATHX
="$ac_cv_librpathx_ltlibs"
3428 INCRPATHX
="$ac_cv_librpathx_cppflags"
3430 for element
in $INCRPATHX; do
3432 for x
in $CPPFLAGS; do
3434 acl_save_prefix
="$prefix"
3435 prefix
="$acl_final_prefix"
3436 acl_save_exec_prefix
="$exec_prefix"
3437 exec_prefix
="$acl_final_exec_prefix"
3439 exec_prefix
="$acl_save_exec_prefix"
3440 prefix
="$acl_save_prefix"
3442 if test "X$x" = "X$element"; then
3447 if test -z "$haveit"; then
3448 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
3463 echo "$as_me:$LINENO: checking how to link with librpathy" >&5
3464 echo $ECHO_N "checking how to link with librpathy... $ECHO_C" >&6
3465 if test "${ac_cv_librpathy_libs+set}" = set; then
3466 echo $ECHO_N "(cached) $ECHO_C" >&6
3473 acl_save_prefix
="$prefix"
3474 prefix
="$acl_final_prefix"
3475 acl_save_exec_prefix
="$exec_prefix"
3476 exec_prefix
="$acl_final_exec_prefix"
3478 eval additional_includedir
=\"$includedir\"
3479 eval additional_libdir
=\"$libdir\"
3481 exec_prefix
="$acl_save_exec_prefix"
3482 prefix
="$acl_save_prefix"
3485 # Check whether --with-librpathy-prefix or --without-librpathy-prefix was given.
3486 if test "${with_librpathy_prefix+set}" = set; then
3487 withval
="$with_librpathy_prefix"
3489 if test "X$withval" = "Xno"; then
3492 if test "X$withval" = "X"; then
3494 acl_save_prefix
="$prefix"
3495 prefix
="$acl_final_prefix"
3496 acl_save_exec_prefix
="$exec_prefix"
3497 exec_prefix
="$acl_final_exec_prefix"
3499 eval additional_includedir
=\"$includedir\"
3500 eval additional_libdir
=\"$libdir\"
3502 exec_prefix
="$acl_save_exec_prefix"
3503 prefix
="$acl_save_prefix"
3506 additional_includedir
="$withval/include"
3507 additional_libdir
="$withval/lib"
3517 names_already_handled
=
3518 names_next_round
='rpathy rpathx'
3519 while test -n "$names_next_round"; do
3520 names_this_round
="$names_next_round"
3522 for name
in $names_this_round; do
3524 for n
in $names_already_handled; do
3525 if test "$n" = "$name"; then
3530 if test -z "$already_handled"; then
3531 names_already_handled
="$names_already_handled $name"
3532 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
3533 eval value
=\"\
$HAVE_LIB$uppername\"
3534 if test -n "$value"; then
3535 if test "$value" = yes; then
3536 eval value
=\"\
$LIB$uppername\"
3537 test -z "$value" || LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }$value"
3538 eval value
=\"\
$LTLIB$uppername\"
3539 test -z "$value" || LTLIBRPATHY
="${LTLIBRPATHY}${LTLIBRPATHY:+ }$value"
3548 if test $use_additional = yes; then
3549 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
3550 found_dir
="$additional_libdir"
3551 found_so
="$additional_libdir/lib$name.$shlibext"
3552 if test -f "$additional_libdir/lib$name.la"; then
3553 found_la
="$additional_libdir/lib$name.la"
3556 if test -f "$additional_libdir/lib$name.$libext"; then
3557 found_dir
="$additional_libdir"
3558 found_a
="$additional_libdir/lib$name.$libext"
3559 if test -f "$additional_libdir/lib$name.la"; then
3560 found_la
="$additional_libdir/lib$name.la"
3565 if test "X$found_dir" = "X"; then
3566 for x
in $LDFLAGS $LTLIBRPATHY; do
3568 acl_save_prefix
="$prefix"
3569 prefix
="$acl_final_prefix"
3570 acl_save_exec_prefix
="$exec_prefix"
3571 exec_prefix
="$acl_final_exec_prefix"
3573 exec_prefix
="$acl_save_exec_prefix"
3574 prefix
="$acl_save_prefix"
3578 dir
=`echo "X$x" | sed -e 's/^X-L//'`
3579 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
3581 found_so
="$dir/lib$name.$shlibext"
3582 if test -f "$dir/lib$name.la"; then
3583 found_la
="$dir/lib$name.la"
3586 if test -f "$dir/lib$name.$libext"; then
3588 found_a
="$dir/lib$name.$libext"
3589 if test -f "$dir/lib$name.la"; then
3590 found_la
="$dir/lib$name.la"
3596 if test "X$found_dir" != "X"; then
3601 if test "X$found_dir" != "X"; then
3602 LTLIBRPATHY
="${LTLIBRPATHY}${LTLIBRPATHY:+ }-L$found_dir -l$name"
3603 if test "X$found_so" != "X"; then
3604 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
3605 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }$found_so"
3608 for x
in $ltrpathdirs; do
3609 if test "X$x" = "X$found_dir"; then
3614 if test -z "$haveit"; then
3615 ltrpathdirs
="$ltrpathdirs $found_dir"
3617 if test "$hardcode_direct" = yes; then
3618 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }$found_so"
3620 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
3621 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }$found_so"
3623 for x
in $rpathdirs; do
3624 if test "X$x" = "X$found_dir"; then
3629 if test -z "$haveit"; then
3630 rpathdirs
="$rpathdirs $found_dir"
3634 for x
in $LDFLAGS $LIBRPATHY; do
3636 acl_save_prefix
="$prefix"
3637 prefix
="$acl_final_prefix"
3638 acl_save_exec_prefix
="$exec_prefix"
3639 exec_prefix
="$acl_final_exec_prefix"
3641 exec_prefix
="$acl_save_exec_prefix"
3642 prefix
="$acl_save_prefix"
3644 if test "X$x" = "X-L$found_dir"; then
3649 if test -z "$haveit"; then
3650 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }-L$found_dir"
3652 if test "$hardcode_minus_L" != no
; then
3653 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }$found_so"
3655 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }-l$name"
3661 if test "X$found_a" != "X"; then
3662 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }$found_a"
3664 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }-L$found_dir -l$name"
3667 additional_includedir
=
3668 case "$found_dir" in
3670 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
3671 additional_includedir
="$basedir/include"
3674 if test "X$additional_includedir" != "X"; then
3675 if test "X$additional_includedir" != "X/usr/include"; then
3677 if test "X$additional_includedir" = "X/usr/local/include"; then
3678 if test -n "$GCC"; then
3680 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
3684 if test -z "$haveit"; then
3685 for x
in $CPPFLAGS $INCRPATHY; do
3687 acl_save_prefix
="$prefix"
3688 prefix
="$acl_final_prefix"
3689 acl_save_exec_prefix
="$exec_prefix"
3690 exec_prefix
="$acl_final_exec_prefix"
3692 exec_prefix
="$acl_save_exec_prefix"
3693 prefix
="$acl_save_prefix"
3695 if test "X$x" = "X-I$additional_includedir"; then
3700 if test -z "$haveit"; then
3701 if test -d "$additional_includedir"; then
3702 INCRPATHY
="${INCRPATHY}${INCRPATHY:+ }-I$additional_includedir"
3708 if test -n "$found_la"; then
3709 save_libdir
="$libdir"
3711 */* |
*\\*) .
"$found_la" ;;
3712 *) .
"./$found_la" ;;
3714 libdir
="$save_libdir"
3715 for dep
in $dependency_libs; do
3718 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
3719 if test "X$additional_libdir" != "X/usr/lib"; then
3721 if test "X$additional_libdir" = "X/usr/local/lib"; then
3722 if test -n "$GCC"; then
3724 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
3728 if test -z "$haveit"; then
3730 for x
in $LDFLAGS $LIBRPATHY; do
3732 acl_save_prefix
="$prefix"
3733 prefix
="$acl_final_prefix"
3734 acl_save_exec_prefix
="$exec_prefix"
3735 exec_prefix
="$acl_final_exec_prefix"
3737 exec_prefix
="$acl_save_exec_prefix"
3738 prefix
="$acl_save_prefix"
3740 if test "X$x" = "X-L$additional_libdir"; then
3745 if test -z "$haveit"; then
3746 if test -d "$additional_libdir"; then
3747 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }-L$additional_libdir"
3751 for x
in $LDFLAGS $LTLIBRPATHY; do
3753 acl_save_prefix
="$prefix"
3754 prefix
="$acl_final_prefix"
3755 acl_save_exec_prefix
="$exec_prefix"
3756 exec_prefix
="$acl_final_exec_prefix"
3758 exec_prefix
="$acl_save_exec_prefix"
3759 prefix
="$acl_save_prefix"
3761 if test "X$x" = "X-L$additional_libdir"; then
3766 if test -z "$haveit"; then
3767 if test -d "$additional_libdir"; then
3768 LTLIBRPATHY
="${LTLIBRPATHY}${LTLIBRPATHY:+ }-L$additional_libdir"
3775 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
3776 if test "$enable_rpath" != no
; then
3778 for x
in $rpathdirs; do
3779 if test "X$x" = "X$dir"; then
3784 if test -z "$haveit"; then
3785 rpathdirs
="$rpathdirs $dir"
3788 for x
in $ltrpathdirs; do
3789 if test "X$x" = "X$dir"; then
3794 if test -z "$haveit"; then
3795 ltrpathdirs
="$ltrpathdirs $dir"
3800 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
3803 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
3806 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }$dep"
3807 LTLIBRPATHY
="${LTLIBRPATHY}${LTLIBRPATHY:+ }$dep"
3813 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }-l$name"
3814 LTLIBRPATHY
="${LTLIBRPATHY}${LTLIBRPATHY:+ }-l$name"
3820 if test "X$rpathdirs" != "X"; then
3821 if test -n "$hardcode_libdir_separator"; then
3823 for found_dir
in $rpathdirs; do
3824 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
3826 acl_save_libdir
="$libdir"
3828 eval flag
=\"$hardcode_libdir_flag_spec\"
3829 libdir
="$acl_save_libdir"
3830 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }$flag"
3832 for found_dir
in $rpathdirs; do
3833 acl_save_libdir
="$libdir"
3835 eval flag
=\"$hardcode_libdir_flag_spec\"
3836 libdir
="$acl_save_libdir"
3837 LIBRPATHY
="${LIBRPATHY}${LIBRPATHY:+ }$flag"
3841 if test "X$ltrpathdirs" != "X"; then
3842 for found_dir
in $ltrpathdirs; do
3843 LTLIBRPATHY
="${LTLIBRPATHY}${LTLIBRPATHY:+ }-R$found_dir"
3847 ac_cv_librpathy_libs
="$LIBRPATHY"
3848 ac_cv_librpathy_ltlibs
="$LTLIBRPATHY"
3849 ac_cv_librpathy_cppflags
="$INCRPATHY"
3852 echo "$as_me:$LINENO: result: $ac_cv_librpathy_libs" >&5
3853 echo "${ECHO_T}$ac_cv_librpathy_libs" >&6
3854 LIBRPATHY
="$ac_cv_librpathy_libs"
3855 LTLIBRPATHY
="$ac_cv_librpathy_ltlibs"
3856 INCRPATHY
="$ac_cv_librpathy_cppflags"
3858 for element
in $INCRPATHY; do
3860 for x
in $CPPFLAGS; do
3862 acl_save_prefix
="$prefix"
3863 prefix
="$acl_final_prefix"
3864 acl_save_exec_prefix
="$exec_prefix"
3865 exec_prefix
="$acl_final_exec_prefix"
3867 exec_prefix
="$acl_save_exec_prefix"
3868 prefix
="$acl_save_prefix"
3870 if test "X$x" = "X$element"; then
3875 if test -z "$haveit"; then
3876 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
3891 echo "$as_me:$LINENO: checking how to link with librpathz" >&5
3892 echo $ECHO_N "checking how to link with librpathz... $ECHO_C" >&6
3893 if test "${ac_cv_librpathz_libs+set}" = set; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3901 acl_save_prefix
="$prefix"
3902 prefix
="$acl_final_prefix"
3903 acl_save_exec_prefix
="$exec_prefix"
3904 exec_prefix
="$acl_final_exec_prefix"
3906 eval additional_includedir
=\"$includedir\"
3907 eval additional_libdir
=\"$libdir\"
3909 exec_prefix
="$acl_save_exec_prefix"
3910 prefix
="$acl_save_prefix"
3913 # Check whether --with-librpathz-prefix or --without-librpathz-prefix was given.
3914 if test "${with_librpathz_prefix+set}" = set; then
3915 withval
="$with_librpathz_prefix"
3917 if test "X$withval" = "Xno"; then
3920 if test "X$withval" = "X"; then
3922 acl_save_prefix
="$prefix"
3923 prefix
="$acl_final_prefix"
3924 acl_save_exec_prefix
="$exec_prefix"
3925 exec_prefix
="$acl_final_exec_prefix"
3927 eval additional_includedir
=\"$includedir\"
3928 eval additional_libdir
=\"$libdir\"
3930 exec_prefix
="$acl_save_exec_prefix"
3931 prefix
="$acl_save_prefix"
3934 additional_includedir
="$withval/include"
3935 additional_libdir
="$withval/lib"
3945 names_already_handled
=
3946 names_next_round
='rpathz rpathx rpathy'
3947 while test -n "$names_next_round"; do
3948 names_this_round
="$names_next_round"
3950 for name
in $names_this_round; do
3952 for n
in $names_already_handled; do
3953 if test "$n" = "$name"; then
3958 if test -z "$already_handled"; then
3959 names_already_handled
="$names_already_handled $name"
3960 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
3961 eval value
=\"\
$HAVE_LIB$uppername\"
3962 if test -n "$value"; then
3963 if test "$value" = yes; then
3964 eval value
=\"\
$LIB$uppername\"
3965 test -z "$value" || LIBRPATHZ
="${LIBRPATHZ}${LIBRPATHZ:+ }$value"
3966 eval value
=\"\
$LTLIB$uppername\"
3967 test -z "$value" || LTLIBRPATHZ
="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }$value"
3976 if test $use_additional = yes; then
3977 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
3978 found_dir
="$additional_libdir"
3979 found_so
="$additional_libdir/lib$name.$shlibext"
3980 if test -f "$additional_libdir/lib$name.la"; then
3981 found_la
="$additional_libdir/lib$name.la"
3984 if test -f "$additional_libdir/lib$name.$libext"; then
3985 found_dir
="$additional_libdir"
3986 found_a
="$additional_libdir/lib$name.$libext"
3987 if test -f "$additional_libdir/lib$name.la"; then
3988 found_la
="$additional_libdir/lib$name.la"
3993 if test "X$found_dir" = "X"; then
3994 for x
in $LDFLAGS $LTLIBRPATHZ; do
3996 acl_save_prefix
="$prefix"
3997 prefix
="$acl_final_prefix"
3998 acl_save_exec_prefix
="$exec_prefix"
3999 exec_prefix
="$acl_final_exec_prefix"
4001 exec_prefix
="$acl_save_exec_prefix"
4002 prefix
="$acl_save_prefix"
4006 dir
=`echo "X$x" | sed -e 's/^X-L//'`
4007 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4009 found_so
="$dir/lib$name.$shlibext"
4010 if test -f "$dir/lib$name.la"; then
4011 found_la
="$dir/lib$name.la"
4014 if test -f "$dir/lib$name.$libext"; then
4016 found_a
="$dir/lib$name.$libext"
4017 if test -f "$dir/lib$name.la"; then
4018 found_la
="$dir/lib$name.la"
4024 if test "X$found_dir" != "X"; then
4029 if test "X$found_dir" != "X"; then
4030 LTLIBRPATHZ
="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }-L$found_dir -l$name"
4031 if test "X$found_so" != "X"; then
4032 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
4033 LIBRPATHZ
="${LIBRPATHZ}${LIBRPATHZ:+ }$found_so"
4036 for x
in $ltrpathdirs; do
4037 if test "X$x" = "X$found_dir"; then
4042 if test -z "$haveit"; then
4043 ltrpathdirs
="$ltrpathdirs $found_dir"
4045 if test "$hardcode_direct" = yes; then
4046 LIBRPATHZ
="${LIBRPATHZ}${LIBRPATHZ:+ }$found_so"
4048 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
4049 LIBRPATHZ
="${LIBRPATHZ}${LIBRPATHZ:+ }$found_so"
4051 for x
in $rpathdirs; do
4052 if test "X$x" = "X$found_dir"; then
4057 if test -z "$haveit"; then
4058 rpathdirs
="$rpathdirs $found_dir"
4062 for x
in $LDFLAGS $LIBRPATHZ; do
4064 acl_save_prefix
="$prefix"
4065 prefix
="$acl_final_prefix"
4066 acl_save_exec_prefix
="$exec_prefix"
4067 exec_prefix
="$acl_final_exec_prefix"
4069 exec_prefix
="$acl_save_exec_prefix"
4070 prefix
="$acl_save_prefix"
4072 if test "X$x" = "X-L$found_dir"; then
4077 if test -z "$haveit"; then
4078 LIBRPATHZ
="${LIBRPATHZ}${LIBRPATHZ:+ }-L$found_dir"
4080 if test "$hardcode_minus_L" != no
; then
4081 LIBRPATHZ
="${LIBRPATHZ}${LIBRPATHZ:+ }$found_so"
4083 LIBRPATHZ
="${LIBRPATHZ}${LIBRPATHZ:+ }-l$name"
4089 if test "X$found_a" != "X"; then
4090 LIBRPATHZ
="${LIBRPATHZ}${LIBRPATHZ:+ }$found_a"
4092 LIBRPATHZ
="${LIBRPATHZ}${LIBRPATHZ:+ }-L$found_dir -l$name"
4095 additional_includedir
=
4096 case "$found_dir" in
4098 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
4099 additional_includedir
="$basedir/include"
4102 if test "X$additional_includedir" != "X"; then
4103 if test "X$additional_includedir" != "X/usr/include"; then
4105 if test "X$additional_includedir" = "X/usr/local/include"; then
4106 if test -n "$GCC"; then
4108 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
4112 if test -z "$haveit"; then
4113 for x
in $CPPFLAGS $INCRPATHZ; do
4115 acl_save_prefix
="$prefix"
4116 prefix
="$acl_final_prefix"
4117 acl_save_exec_prefix
="$exec_prefix"
4118 exec_prefix
="$acl_final_exec_prefix"
4120 exec_prefix
="$acl_save_exec_prefix"
4121 prefix
="$acl_save_prefix"
4123 if test "X$x" = "X-I$additional_includedir"; then
4128 if test -z "$haveit"; then
4129 if test -d "$additional_includedir"; then
4130 INCRPATHZ
="${INCRPATHZ}${INCRPATHZ:+ }-I$additional_includedir"
4136 if test -n "$found_la"; then
4137 save_libdir
="$libdir"
4139 */* |
*\\*) .
"$found_la" ;;
4140 *) .
"./$found_la" ;;
4142 libdir
="$save_libdir"
4143 for dep
in $dependency_libs; do
4146 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
4147 if test "X$additional_libdir" != "X/usr/lib"; then
4149 if test "X$additional_libdir" = "X/usr/local/lib"; then
4150 if test -n "$GCC"; then
4152 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
4156 if test -z "$haveit"; then
4158 for x
in $LDFLAGS $LIBRPATHZ; do
4160 acl_save_prefix
="$prefix"
4161 prefix
="$acl_final_prefix"
4162 acl_save_exec_prefix
="$exec_prefix"
4163 exec_prefix
="$acl_final_exec_prefix"
4165 exec_prefix
="$acl_save_exec_prefix"
4166 prefix
="$acl_save_prefix"
4168 if test "X$x" = "X-L$additional_libdir"; then
4173 if test -z "$haveit"; then
4174 if test -d "$additional_libdir"; then
4175 LIBRPATHZ
="${LIBRPATHZ}${LIBRPATHZ:+ }-L$additional_libdir"
4179 for x
in $LDFLAGS $LTLIBRPATHZ; do
4181 acl_save_prefix
="$prefix"
4182 prefix
="$acl_final_prefix"
4183 acl_save_exec_prefix
="$exec_prefix"
4184 exec_prefix
="$acl_final_exec_prefix"
4186 exec_prefix
="$acl_save_exec_prefix"
4187 prefix
="$acl_save_prefix"
4189 if test "X$x" = "X-L$additional_libdir"; then
4194 if test -z "$haveit"; then
4195 if test -d "$additional_libdir"; then
4196 LTLIBRPATHZ
="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }-L$additional_libdir"
4203 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
4204 if test "$enable_rpath" != no
; then
4206 for x
in $rpathdirs; do
4207 if test "X$x" = "X$dir"; then
4212 if test -z "$haveit"; then
4213 rpathdirs
="$rpathdirs $dir"
4216 for x
in $ltrpathdirs; do
4217 if test "X$x" = "X$dir"; then
4222 if test -z "$haveit"; then
4223 ltrpathdirs
="$ltrpathdirs $dir"
4228 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4231 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4234 LIBRPATHZ
="${LIBRPATHZ}${LIBRPATHZ:+ }$dep"
4235 LTLIBRPATHZ
="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }$dep"
4241 LIBRPATHZ
="${LIBRPATHZ}${LIBRPATHZ:+ }-l$name"
4242 LTLIBRPATHZ
="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }-l$name"
4248 if test "X$rpathdirs" != "X"; then
4249 if test -n "$hardcode_libdir_separator"; then
4251 for found_dir
in $rpathdirs; do
4252 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4254 acl_save_libdir
="$libdir"
4256 eval flag
=\"$hardcode_libdir_flag_spec\"
4257 libdir
="$acl_save_libdir"
4258 LIBRPATHZ
="${LIBRPATHZ}${LIBRPATHZ:+ }$flag"
4260 for found_dir
in $rpathdirs; do
4261 acl_save_libdir
="$libdir"
4263 eval flag
=\"$hardcode_libdir_flag_spec\"
4264 libdir
="$acl_save_libdir"
4265 LIBRPATHZ
="${LIBRPATHZ}${LIBRPATHZ:+ }$flag"
4269 if test "X$ltrpathdirs" != "X"; then
4270 for found_dir
in $ltrpathdirs; do
4271 LTLIBRPATHZ
="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }-R$found_dir"
4275 ac_cv_librpathz_libs
="$LIBRPATHZ"
4276 ac_cv_librpathz_ltlibs
="$LTLIBRPATHZ"
4277 ac_cv_librpathz_cppflags
="$INCRPATHZ"
4280 echo "$as_me:$LINENO: result: $ac_cv_librpathz_libs" >&5
4281 echo "${ECHO_T}$ac_cv_librpathz_libs" >&6
4282 LIBRPATHZ
="$ac_cv_librpathz_libs"
4283 LTLIBRPATHZ
="$ac_cv_librpathz_ltlibs"
4284 INCRPATHZ
="$ac_cv_librpathz_cppflags"
4286 for element
in $INCRPATHZ; do
4288 for x
in $CPPFLAGS; do
4290 acl_save_prefix
="$prefix"
4291 prefix
="$acl_final_prefix"
4292 acl_save_exec_prefix
="$exec_prefix"
4293 exec_prefix
="$acl_final_exec_prefix"
4295 exec_prefix
="$acl_save_exec_prefix"
4296 prefix
="$acl_save_prefix"
4298 if test "X$x" = "X$element"; then
4303 if test -z "$haveit"; then
4304 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
4314 LIBRPATHZ
="$LIBRPATHZ $LIBRPATHY $LIBRPATHX"
4316 ac_config_files
="$ac_config_files Makefile"
4317 cat >confcache
<<\_ACEOF
4318 # This file is a shell script that caches the results of configure
4319 # tests run on this system so they can be shared between configure
4320 # scripts and configure runs, see configure's option --config-cache.
4321 # It is not useful on other systems. If it contains results you don't
4322 # want to keep, you may remove or edit it.
4324 # config.status only pays attention to the cache file if you give it
4325 # the --recheck option to rerun configure.
4327 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4328 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4333 # The following way of writing the cache mishandles newlines in values,
4334 # but we know of no workaround that is simple, portable, and efficient.
4335 # So, don't put newlines in cache variables' values.
4336 # Ultrix sh set writes to stderr and can't be redirected directly,
4337 # and sets the high bit in the cache file unless we assign to the vars.
4340 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4342 # `set' does not quote correctly, so add quotes (double-quote
4343 # substitution turns \\\\ into \\, and sed turns \\ into \).
4346 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4349 # `set' quotes correctly as required by POSIX, so do not add quotes.
4351 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4358 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4360 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4362 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4363 if test -w $cache_file; then
4364 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4365 cat confcache
>$cache_file
4367 echo "not updating unwritable cache $cache_file"
4372 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4373 # Let make expand exec_prefix.
4374 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4376 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4377 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4378 # trailing colons and then remove the whole line if VPATH becomes empty
4379 # (actually we leave an empty line to preserve line numbers).
4380 if test "x$srcdir" = x.
; then
4381 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
4382 s/:*\$(srcdir):*/:/;
4383 s/:*\${srcdir}:*/:/;
4385 s/^\([^=]*=[ ]*\):*/\1/;
4391 # Transform confdefs.h into DEFS.
4392 # Protect against shell expansion while executing Makefile rules.
4393 # Protect against Makefile macro expansion.
4395 # If the first sed substitution is executed (which looks for macros that
4396 # take arguments), then we branch to the quote section. Otherwise,
4397 # look for a macro that doesn't take arguments.
4398 cat >confdef2opt.
sed <<\_ACEOF
4401 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4403 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4407 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4413 # We use echo to avoid assuming a particular line-breaking character.
4414 # The extra dot is to prevent the shell from consuming trailing
4415 # line-breaks from the sub-command output. A line-break within
4416 # single-quotes doesn't work because, if this script is created in a
4417 # platform that uses two characters for line-breaks (e.g., DOS), tr
4419 ac_LF_and_DOT=`echo; echo .
`
4420 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
4421 rm -f confdef2opt.sed
4426 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4427 # 1. Remove the extension, and $U if already installed.
4428 ac_i=`echo "$ac_i" |
4429 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4431 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4432 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4436 LTLIBOBJS=$ac_ltlibobjs
4439 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4440 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4441 Usually this means the macro was only invoked conditionally." >&5
4442 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4443 Usually this means the macro was only invoked conditionally." >&2;}
4444 { (exit 1); exit 1; }; }
4446 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4447 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4448 Usually this means the macro was only invoked conditionally." >&5
4449 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4450 Usually this means the macro was only invoked conditionally." >&2;}
4451 { (exit 1); exit 1; }; }
4454 : ${CONFIG_STATUS=./config.status}
4455 ac_clean_files_save=$ac_clean_files
4456 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4457 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4458 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4459 cat >$CONFIG_STATUS <<_ACEOF
4461 # Generated by $as_me.
4462 # Run this file to recreate the current configuration.
4463 # Compiler output produced by configure, useful for debugging
4464 # configure, is in config.log if it exists.
4469 SHELL=\${CONFIG_SHELL-$SHELL}
4472 cat >>$CONFIG_STATUS <<\_ACEOF
4473 ## --------------------- ##
4474 ## M4sh Initialization. ##
4475 ## --------------------- ##
4477 # Be Bourne compatible
4478 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4481 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4482 # is contrary to our usage. Disable this feature.
4483 alias -g '${1+"$@"}'='"$@"'
4484 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4487 DUALCASE=1; export DUALCASE # for MKS sh
4489 # Support unset when possible.
4490 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4497 # Work around bugs in pre-3.0 UWIN ksh.
4498 $as_unset ENV MAIL MAILPATH
4505 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4506 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4507 LC_TELEPHONE LC_TIME
4509 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
4510 eval $as_var=C; export $as_var
4516 # Required to use basename.
4517 if expr a : '\(a\)' >/dev/null 2>&1; then
4523 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4524 as_basename=basename
4530 # Name of the executable.
4531 as_me=`$as_basename "$0" ||
4532 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4533 X
"$0" : 'X\(//\)$' \| \
4534 X
"$0" : 'X\(/\)$' \| \
4535 .
: '\(.\)' 2>/dev
/null ||
4537 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4538 /^X\/\(\/\/\)$/{ s//\1/; q; }
4539 /^X\/\(\/\).*/{ s//\1/; q; }
4543 # PATH needs CR, and LINENO needs CR and PATH.
4544 # Avoid depending upon Character Ranges.
4545 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4546 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4547 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4548 as_cr_digits='0123456789'
4549 as_cr_alnum=$as_cr_Letters$as_cr_digits
4551 # The user is always right.
4552 if test "${PATH_SEPARATOR+set}" != set; then
4553 echo "#! /bin/sh" >conf$$.sh
4554 echo "exit 0" >>conf$$.sh
4556 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4567 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
4568 test "x$as_lineno_1" != "x$as_lineno_2" &&
4569 test "x$as_lineno_3" = "x$as_lineno_2" || {
4570 # Find who we are. Look in the path if we contain no path at all
4573 *[\\/]* ) as_myself=$0 ;;
4574 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4578 test -z "$as_dir" && as_dir=.
4579 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4584 # We did not find ourselves, most probably we were run as `sh COMMAND
'
4585 # in which case we are not to be found in the path.
4586 if test "x$as_myself" = x; then
4589 if test ! -f "$as_myself"; then
4590 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4591 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4592 { (exit 1); exit 1; }; }
4594 case $CONFIG_SHELL in
4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4600 test -z "$as_dir" && as_dir=.
4601 for as_base in sh bash ksh sh5; do
4604 if ("$as_dir/$as_base" -c '
4607 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
4608 test "x$as_lineno_1" != "x$as_lineno_2" &&
4609 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4610 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4611 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4612 CONFIG_SHELL=$as_dir/$as_base
4614 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4622 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4623 # uniformly replaced by the line number. The first 'sed' inserts a
4624 # line-number line before each line; the second 'sed' does the real
4625 # work. The second script uses 'N
' to pair each line-number line
4626 # with the numbered line, and appends trailing '-' during
4627 # substitution so that $LINENO is not a special case at line end.
4628 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4629 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
4630 sed '=' <$as_myself |
4635 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4638 s,^['$as_cr_digits']*\n,,
4640 chmod +x
$as_me.lineno ||
4641 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4642 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4643 { (exit 1); exit 1; }; }
4645 # Don't try to exec as it changes $[0], causing all sort of problems
4646 # (the dirname of $[0] is not the place where we might find the
4647 # original and so on. Autoconf is especially sensible to this).
4649 # Exit status is that of the last command.
4654 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4655 *c
*,-n*) ECHO_N
= ECHO_C
='
4657 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
4658 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
4661 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4667 rm -f conf$$ conf$$.exe conf$$.
file
4669 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4670 # We could just check for DJGPP; but this test a) works b) is more generic
4671 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4672 if test -f conf$$.exe
; then
4673 # Don't use ln at all; we don't have any links
4678 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4683 rm -f conf$$ conf$$.exe conf$$.
file
4685 if mkdir
-p .
2>/dev
/null
; then
4688 test -d .
/-p && rmdir .
/-p
4692 as_executable_p
="test -f"
4694 # Sed expression to map a string onto a valid CPP name.
4695 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4697 # Sed expression to map a string onto a valid variable name.
4698 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4702 # We need space, tab and new line, in precisely that order.
4712 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4713 # report actual input values of CONFIG_FILES etc. instead of their
4714 # values after options handling. Logging --version etc. is OK.
4718 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4719 ## Running $as_me. ##
4724 This file was extended by $as_me, which was
4725 generated by GNU Autoconf 2.59. Invocation command line was
4727 CONFIG_FILES = $CONFIG_FILES
4728 CONFIG_HEADERS = $CONFIG_HEADERS
4729 CONFIG_LINKS = $CONFIG_LINKS
4730 CONFIG_COMMANDS = $CONFIG_COMMANDS
4734 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4738 # Files that config.status was made for.
4739 if test -n "$ac_config_files"; then
4740 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4743 if test -n "$ac_config_headers"; then
4744 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4747 if test -n "$ac_config_links"; then
4748 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4751 if test -n "$ac_config_commands"; then
4752 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4755 cat >>$CONFIG_STATUS <<\_ACEOF
4758 \`$as_me' instantiates files from templates according to the
4759 current configuration.
4761 Usage: $0 [OPTIONS] [FILE]...
4763 -h, --help print this help, then exit
4764 -V, --version print version number, then exit
4765 -q, --quiet do not print progress messages
4766 -d, --debug don't remove temporary files
4767 --recheck update $as_me by reconfiguring in the same conditions
4768 --file=FILE[:TEMPLATE]
4769 instantiate the configuration file FILE
4771 Configuration files:
4774 Configuration commands:
4777 Report bugs to <bug-autoconf@gnu.org>."
4780 cat >>$CONFIG_STATUS <<_ACEOF
4783 configured by $0, generated by GNU Autoconf 2.59,
4784 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4786 Copyright (C) 2003 Free Software Foundation, Inc.
4787 This config.status script is free software; the Free Software Foundation
4788 gives unlimited permission to copy, distribute and modify it."
4793 cat >>$CONFIG_STATUS <<\_ACEOF
4794 # If no file are specified by the user, then we need to provide default
4795 # value. By we need to know if files were specified by the user.
4801 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4802 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4810 *) # This is not an option, so the user has probably given explicit
4813 ac_need_defaults
=false
;;
4817 # Handling of the options.
4819 cat >>$CONFIG_STATUS <<\_ACEOF
4820 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4822 --version |
--vers* |
-V )
4823 echo "$ac_cs_version"; exit 0 ;;
4825 # Conflict between --help and --header
4826 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4827 Try \`$0 --help' for more information." >&5
4828 echo "$as_me: error: ambiguous option: $1
4829 Try \`$0 --help' for more information." >&2;}
4830 { (exit 1); exit 1; }; };;
4831 --help |
--hel |
-h )
4832 echo "$ac_cs_usage"; exit 0 ;;
4833 --debug |
--d* |
-d )
4835 --file |
--fil |
--fi |
--f )
4837 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4838 ac_need_defaults
=false
;;
4839 --header |
--heade |
--head |
--hea )
4841 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4842 ac_need_defaults
=false
;;
4843 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4844 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4848 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4849 Try \`$0 --help' for more information." >&5
4850 echo "$as_me: error: unrecognized option: $1
4851 Try \`$0 --help' for more information." >&2;}
4852 { (exit 1); exit 1; }; } ;;
4854 *) ac_config_targets
="$ac_config_targets $1" ;;
4860 ac_configure_extra_args
=
4862 if $ac_cs_silent; then
4864 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4868 cat >>$CONFIG_STATUS <<_ACEOF
4869 if \$ac_cs_recheck; then
4870 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4871 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4876 cat >>$CONFIG_STATUS <<_ACEOF
4878 # INIT-COMMANDS section.
4881 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4887 cat >>$CONFIG_STATUS <<\_ACEOF
4888 for ac_config_target
in $ac_config_targets
4890 case "$ac_config_target" in
4891 # Handling of arguments.
4892 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4893 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
4894 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4895 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4896 { (exit 1); exit 1; }; };;
4900 # If the user did not use the arguments to specify the items to instantiate,
4901 # then the envvar interface is used. Set only those that are not.
4902 # We use the long form for the default assignment because of an extremely
4903 # bizarre bug on SunOS 4.1.3.
4904 if $ac_need_defaults; then
4905 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4906 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4909 # Have a temporary directory for convenience. Make it in the build tree
4910 # simply because there is no reason to put it here, and in addition,
4911 # creating and moving files from /tmp can sometimes cause problems.
4912 # Create a temporary directory, and hook for its removal unless debugging.
4915 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4916 trap '{ (exit 1); exit 1; }' 1 2 13 15
4919 # Create a (secure) tmp directory for tmp files.
4922 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4923 test -n "$tmp" && test -d "$tmp"
4926 tmp
=.
/confstat$$
-$RANDOM
4927 (umask 077 && mkdir
$tmp)
4930 echo "$me: cannot create a temporary directory in ." >&2
4931 { (exit 1); exit 1; }
4936 cat >>$CONFIG_STATUS <<_ACEOF
4939 # CONFIG_FILES section.
4942 # No need to generate the scripts if there are no CONFIG_FILES.
4943 # This happens for instance when ./config.status config.h
4944 if test -n "\$CONFIG_FILES"; then
4945 # Protect against being on the right side of a sed subst in config.status.
4946 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4947 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4948 s,@SHELL@,$SHELL,;t t
4949 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4950 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4951 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4952 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4953 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4954 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4955 s,@exec_prefix@,$exec_prefix,;t t
4956 s,@prefix@,$prefix,;t t
4957 s,@program_transform_name@,$program_transform_name,;t t
4958 s,@bindir@,$bindir,;t t
4959 s,@sbindir@,$sbindir,;t t
4960 s,@libexecdir@,$libexecdir,;t t
4961 s,@datadir@,$datadir,;t t
4962 s,@sysconfdir@,$sysconfdir,;t t
4963 s,@sharedstatedir@,$sharedstatedir,;t t
4964 s,@localstatedir@,$localstatedir,;t t
4965 s,@libdir@,$libdir,;t t
4966 s,@includedir@,$includedir,;t t
4967 s,@oldincludedir@,$oldincludedir,;t t
4968 s,@infodir@,$infodir,;t t
4969 s,@mandir@,$mandir,;t t
4970 s,@build_alias@,$build_alias,;t t
4971 s,@host_alias@,$host_alias,;t t
4972 s,@target_alias@,$target_alias,;t t
4974 s,@ECHO_C@,$ECHO_C,;t t
4975 s,@ECHO_N@,$ECHO_N,;t t
4976 s,@ECHO_T@,$ECHO_T,;t t
4978 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4979 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4980 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4981 s,@CYGPATH_W@,$CYGPATH_W,;t t
4982 s,@PACKAGE@,$PACKAGE,;t t
4983 s,@VERSION@,$VERSION,;t t
4984 s,@ACLOCAL@,$ACLOCAL,;t t
4985 s,@AUTOCONF@,$AUTOCONF,;t t
4986 s,@AUTOMAKE@,$AUTOMAKE,;t t
4987 s,@AUTOHEADER@,$AUTOHEADER,;t t
4988 s,@MAKEINFO@,$MAKEINFO,;t t
4989 s,@install_sh@,$install_sh,;t t
4990 s,@STRIP@,$STRIP,;t t
4991 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4992 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4993 s,@mkdir_p@,$mkdir_p,;t t
4995 s,@SET_MAKE@,$SET_MAKE,;t t
4996 s,@am__leading_dot@,$am__leading_dot,;t t
4997 s,@AMTAR@,$AMTAR,;t t
4998 s,@am__tar@,$am__tar,;t t
4999 s,@am__untar@,$am__untar,;t t
5001 s,@CFLAGS@,$CFLAGS,;t t
5002 s,@LDFLAGS@,$LDFLAGS,;t t
5003 s,@CPPFLAGS@,$CPPFLAGS,;t t
5004 s,@ac_ct_CC@,$ac_ct_CC,;t t
5005 s,@EXEEXT@,$EXEEXT,;t t
5006 s,@OBJEXT@,$OBJEXT,;t t
5007 s,@DEPDIR@,$DEPDIR,;t t
5008 s,@am__include@,$am__include,;t t
5009 s,@am__quote@,$am__quote,;t t
5010 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5011 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5012 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5013 s,@CCDEPMODE@,$CCDEPMODE,;t t
5014 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5015 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5016 s,@build@,$build,;t t
5017 s,@build_cpu@,$build_cpu,;t t
5018 s,@build_vendor@,$build_vendor,;t t
5019 s,@build_os@,$build_os,;t t
5021 s,@host_cpu@,$host_cpu,;t t
5022 s,@host_vendor@,$host_vendor,;t t
5023 s,@host_os@,$host_os,;t t
5024 s,@LIBRPATHX@,$LIBRPATHX,;t t
5025 s,@LTLIBRPATHX@,$LTLIBRPATHX,;t t
5026 s,@LIBRPATHY@,$LIBRPATHY,;t t
5027 s,@LTLIBRPATHY@,$LTLIBRPATHY,;t t
5028 s,@LIBRPATHZ@,$LIBRPATHZ,;t t
5029 s,@LTLIBRPATHZ@,$LTLIBRPATHZ,;t t
5030 s,@global_top_auxdir@,$global_top_auxdir,;t t
5031 s,@LIBOBJS@,$LIBOBJS,;t t
5032 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5037 cat >>$CONFIG_STATUS <<\_ACEOF
5038 # Split the substitutions into bite-sized pieces for seds with
5039 # small command number limits, like on Digital OSF/1 and HP-UX.
5041 ac_sed_frag
=1 # Number of current file.
5042 ac_beg
=1 # First line for current file.
5043 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5046 while $ac_more_lines; do
5047 if test $ac_beg -gt 1; then
5048 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5050 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5052 if test ! -s $tmp/subs.frag
; then
5055 # The purpose of the label and of the branching condition is to
5056 # speed up the sed processing (if there are no `@' at all, there
5057 # is no need to browse any of the substitutions).
5058 # These are the two extra sed commands mentioned above.
5060 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5061 if test -z "$ac_sed_cmds"; then
5062 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5064 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5066 ac_sed_frag
=`expr $ac_sed_frag + 1`
5068 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5071 if test -z "$ac_sed_cmds"; then
5074 fi # test -n "$CONFIG_FILES"
5077 cat >>$CONFIG_STATUS <<\_ACEOF
5078 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5079 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5081 - |
*:- |
*:-:* ) # input from stdin
5083 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5084 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5085 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5086 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5087 * ) ac_file_in
=$ac_file.
in ;;
5090 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5091 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5092 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5093 X"$ac_file" : 'X\(//\)[^/]' \| \
5094 X"$ac_file" : 'X\(//\)$' \| \
5095 X"$ac_file" : 'X\(/\)' \| \
5096 . : '\(.\)' 2>/dev/null ||
5098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5099 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5100 /^X\(\/\/\)$/{ s//\1/; q; }
5101 /^X\(\/\).*/{ s//\1/; q; }
5103 { if $as_mkdir_p; then
5108 while test ! -d "$as_dir"; do
5109 as_dirs
="$as_dir $as_dirs"
5110 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5111 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5112 X"$as_dir" : 'X\(//\)[^/]' \| \
5113 X"$as_dir" : 'X\(//\)$' \| \
5114 X"$as_dir" : 'X\(/\)' \| \
5115 . : '\(.\)' 2>/dev/null ||
5117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5118 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5119 /^X\(\/\/\)$/{ s//\1/; q; }
5120 /^X\(\/\).*/{ s//\1/; q; }
5123 test ! -n "$as_dirs" || mkdir
$as_dirs
5124 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5125 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5126 { (exit 1); exit 1; }; }; }
5130 if test "$ac_dir" != .
; then
5131 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5132 # A "../" for each directory in $ac_dir_suffix.
5133 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5135 ac_dir_suffix
= ac_top_builddir
=
5139 .
) # No --srcdir option. We are building in place.
5141 if test -z "$ac_top_builddir"; then
5144 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5146 [\\/]* | ?
:[\\/]* ) # Absolute path.
5147 ac_srcdir
=$srcdir$ac_dir_suffix;
5148 ac_top_srcdir
=$srcdir ;;
5150 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5151 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5154 # Do not use `cd foo && pwd` to compute absolute paths, because
5155 # the directories may not exist.
5157 .
) ac_abs_builddir
="$ac_dir";;
5160 .
) ac_abs_builddir
=`pwd`;;
5161 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5162 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5165 case $ac_abs_builddir in
5166 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5168 case ${ac_top_builddir}.
in
5169 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5170 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5171 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5174 case $ac_abs_builddir in
5175 .
) ac_abs_srcdir
=$ac_srcdir;;
5178 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5179 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5180 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5183 case $ac_abs_builddir in
5184 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5186 case $ac_top_srcdir in
5187 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5188 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5189 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5195 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5196 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5199 if test x
"$ac_file" != x-
; then
5200 { echo "$as_me:$LINENO: creating $ac_file" >&5
5201 echo "$as_me: creating $ac_file" >&6;}
5204 # Let's still pretend it is `configure' which instantiates (i.e., don't
5205 # use $as_me), people would be surprised to read:
5206 # /* config.h. Generated by config.status. */
5207 if test x
"$ac_file" = x-
; then
5210 configure_input
="$ac_file. "
5212 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5213 sed 's,.*/,,'` by configure."
5215 # First look for the input files in the build tree, otherwise in the
5217 ac_file_inputs
=`IFS=:
5218 for f in $ac_file_in; do
5220 -) echo $tmp/stdin ;;
5222 # Absolute (can't be DOS-style, as IFS=:)
5223 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5224 echo "$as_me: error: cannot find input file: $f" >&2;}
5225 { (exit 1); exit 1; }; }
5228 if test -f "$f"; then
5231 elif test -f "$srcdir/$f"; then
5236 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5237 echo "$as_me: error: cannot find input file: $f" >&2;}
5238 { (exit 1); exit 1; }; }
5241 done` ||
{ (exit 1); exit 1; }
5243 cat >>$CONFIG_STATUS <<_ACEOF
5247 cat >>$CONFIG_STATUS <<\_ACEOF
5249 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5250 s
,@configure_input@
,$configure_input,;t t
5251 s
,@srcdir@
,$ac_srcdir,;t t
5252 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5253 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5254 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5255 s
,@builddir@
,$ac_builddir,;t t
5256 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5257 s
,@top_builddir@
,$ac_top_builddir,;t t
5258 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5259 s
,@INSTALL@
,$ac_INSTALL,;t t
5260 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5262 if test x"$ac_file" != x-; then
5263 mv $tmp/out $ac_file
5271 cat >>$CONFIG_STATUS <<\_ACEOF
5274 # CONFIG_COMMANDS section.
5276 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
5277 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5278 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5279 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5280 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5281 X"$ac_dest" : 'X\(//\)[^/]' \| \
5282 X"$ac_dest" : 'X\(//\)$' \| \
5283 X"$ac_dest" : 'X\(/\)' \| \
5284 . : '\(.\)' 2>/dev/null ||
5286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5287 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5288 /^X\(\/\/\)$/{ s//\1/; q; }
5289 /^X\(\/\).*/{ s//\1/; q; }
5291 { if $as_mkdir_p; then
5296 while test ! -d "$as_dir"; do
5297 as_dirs="$as_dir $as_dirs"
5298 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5299 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5300 X"$as_dir" : 'X\(//\)[^/]' \| \
5301 X"$as_dir" : 'X\(//\)$' \| \
5302 X"$as_dir" : 'X\(/\)' \| \
5303 . : '\(.\)' 2>/dev/null ||
5305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5306 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5307 /^X\(\/\/\)$/{ s//\1/; q; }
5308 /^X\(\/\).*/{ s//\1/; q; }
5311 test ! -n "$as_dirs" || mkdir $as_dirs
5312 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
5313 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
5314 { (exit 1); exit 1; }; }; }
5318 if test "$ac_dir" != .; then
5319 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5320 # A "..
/" for each directory in $ac_dir_suffix.
5321 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5323 ac_dir_suffix= ac_top_builddir=
5327 .) # No --srcdir option. We are building in place.
5329 if test -z "$ac_top_builddir"; then
5332 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5334 [\\/]* | ?:[\\/]* ) # Absolute path.
5335 ac_srcdir=$srcdir$ac_dir_suffix;
5336 ac_top_srcdir=$srcdir ;;
5338 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5339 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5342 # Do not use `cd foo && pwd` to compute absolute paths, because
5343 # the directories may not exist.
5345 .) ac_abs_builddir="$ac_dir";;
5348 .) ac_abs_builddir=`pwd`;;
5349 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5350 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5353 case $ac_abs_builddir in
5354 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5356 case ${ac_top_builddir}. in
5357 .) ac_abs_top_builddir=$ac_abs_builddir;;
5358 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5359 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5362 case $ac_abs_builddir in
5363 .) ac_abs_srcdir=$ac_srcdir;;
5366 .) ac_abs_srcdir=$ac_abs_builddir;;
5367 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5368 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5371 case $ac_abs_builddir in
5372 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5374 case $ac_top_srcdir in
5375 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5376 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5377 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5382 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
5383 echo "$as_me: executing
$ac_dest commands
" >&6;}
5385 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5386 # Strip MF so we end up with the name of the file.
5387 mf=`echo "$mf" | sed -e 's/:.*$//'`
5388 # Check whether this is an Automake generated Makefile or not.
5389 # We used to match only the files named `Makefile.in', but
5390 # some people rename them; so instead we look at the file content.
5391 # Grep'ing the first line is not enough: some people post-process
5392 # each Makefile.in and add a new line on top of each file to say so.
5393 # So let's grep whole file.
5394 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5395 dirpart=`(dirname "$mf") 2>/dev/null ||
5396 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5397 X"$mf" : 'X\(//\)[^/]' \| \
5398 X"$mf" : 'X\(//\)$' \| \
5399 X"$mf" : 'X\(/\)' \| \
5400 . : '\(.\)' 2>/dev/null ||
5402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5403 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5404 /^X\(\/\/\)$/{ s//\1/; q; }
5405 /^X\(\/\).*/{ s//\1/; q; }
5410 # Extract the definition of DEPDIR, am__include, and am__quote
5411 # from the Makefile without running `make'.
5412 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5413 test -z "$DEPDIR" && continue
5414 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5415 test -z "am__include
" && continue
5416 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5417 # When using ansi2knr, U may be empty or an underscore; expand it
5418 U=`sed -n 's/^U = //p' < "$mf"`
5419 # Find all dependency output files, they are included files with
5420 # $(DEPDIR) in their names. We invoke sed twice because it is the
5421 # simplest approach to changing $(DEPDIR) to its actual value in the
5423 for file in `sed -n "
5424 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
5425 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5426 # Make sure the directory exists.
5427 test -f "$dirpart/$file" && continue
5428 fdir=`(dirname "$file") 2>/dev/null ||
5429 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5430 X"$file" : 'X\(//\)[^/]' \| \
5431 X"$file" : 'X\(//\)$' \| \
5432 X"$file" : 'X\(/\)' \| \
5433 . : '\(.\)' 2>/dev/null ||
5435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5436 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5437 /^X\(\/\/\)$/{ s//\1/; q; }
5438 /^X\(\/\).*/{ s//\1/; q; }
5440 { if $as_mkdir_p; then
5441 mkdir -p $dirpart/$fdir
5443 as_dir=$dirpart/$fdir
5445 while test ! -d "$as_dir"; do
5446 as_dirs="$as_dir $as_dirs"
5447 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5448 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5449 X"$as_dir" : 'X\(//\)[^/]' \| \
5450 X"$as_dir" : 'X\(//\)$' \| \
5451 X"$as_dir" : 'X\(/\)' \| \
5452 . : '\(.\)' 2>/dev/null ||
5454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5455 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5456 /^X\(\/\/\)$/{ s//\1/; q; }
5457 /^X\(\/\).*/{ s//\1/; q; }
5460 test ! -n "$as_dirs" || mkdir $as_dirs
5461 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
$dirpart/$fdir" >&5
5462 echo "$as_me: error
: cannot create directory
$dirpart/$fdir" >&2;}
5463 { (exit 1); exit 1; }; }; }
5465 # echo "creating
$dirpart/$file"
5466 echo '# dummy' > "$dirpart/$file"
5474 cat >>$CONFIG_STATUS <<\_ACEOF
5476 { (exit 0); exit 0; }
5478 chmod +x $CONFIG_STATUS
5479 ac_clean_files=$ac_clean_files_save
5482 # configure is writing to config.log, and then calls config.status.
5483 # config.status does its own redirection, appending to config.log.
5484 # Unfortunately, on DOS this fails, as config.log is still kept open
5485 # by configure, so config.status won't be able to write to it; its
5486 # output is simply discarded. So we exec the FD to /dev/null,
5487 # effectively closing config.log, so it can be properly (re)opened and
5488 # appended to by config.status. When coming back to configure, we
5489 # need to make the FD available again.
5490 if test "$no_create" != yes; then
5492 ac_config_status_args=
5493 test "$silent" = yes &&
5494 ac_config_status_args="$ac_config_status_args --quiet"
5496 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5498 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5499 # would make configure fail if this is the last instruction.
5500 $ac_cs_success || { (exit 1); exit 1; }