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 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308 for dir in $PATH /usr/ucb; do
310 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X/bin/ksh; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL=/bin/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
349 SHELL="$CONFIG_SHELL"
351 ECHO="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
409 SHELL=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
423 ac_unique_file="README"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
428 # include <sys/types.h>
431 # include <sys/stat.h>
442 # if !STDC_HEADERS && HAVE_MEMORY_H
448 # include <strings.h>
451 # include <inttypes.h>
461 ac_subdirs_all="$ac_subdirs_all unix"
462 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL 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 SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO CPP WARN_CFLAGS WERROR_CFLAGS subdirs targ_subdirs LIBOBJS LTLIBOBJS'
465 # Initialize some variables set by options.
467 ac_init_version=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
477 program_transform_name=s,x,x,
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir='${exec_prefix}/bin'
491 sbindir='${exec_prefix}/sbin'
492 libexecdir='${exec_prefix}/libexec'
493 datadir='${prefix}/share'
494 sysconfdir='${prefix}/etc'
495 sharedstatedir='${prefix}/com'
496 localstatedir='${prefix}/var'
497 libdir='${exec_prefix}/lib'
498 includedir='${prefix}/include'
499 oldincludedir='/usr/include'
500 infodir='${prefix}/info'
501 mandir='${prefix}/man'
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
513 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
519 -bindir | --bindir | --bindi | --bind | --bin | --bi)
521 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
524 -build | --build | --buil | --bui | --bu)
525 ac_prev=build_alias ;;
526 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
527 build_alias=$ac_optarg ;;
529 -cache-file | --cache-file | --cache-fil | --cache-fi \
530 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
531 ac_prev=cache_file ;;
532 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
533 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
534 cache_file=$ac_optarg ;;
537 cache_file=config.cache ;;
539 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
541 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
543 datadir=$ac_optarg ;;
545 -disable-* | --disable-*)
546 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* | --enable-*)
555 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
562 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
568 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
569 | --exec | --exe | --ex)
570 ac_prev=exec_prefix ;;
571 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
572 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
573 | --exec=* | --exe=* | --ex=*)
574 exec_prefix=$ac_optarg ;;
576 -gas | --gas | --ga | --g)
577 # Obsolete; use --with-gas.
580 -help | --help | --hel | --he | -h)
582 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
583 ac_init_help=recursive ;;
584 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
585 ac_init_help=short ;;
587 -host | --host | --hos | --ho)
588 ac_prev=host_alias ;;
589 -host=* | --host=* | --hos=* | --ho=*)
590 host_alias=$ac_optarg ;;
592 -includedir | --includedir | --includedi | --included | --include \
593 | --includ | --inclu | --incl | --inc)
594 ac_prev=includedir ;;
595 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
596 | --includ=* | --inclu=* | --incl=* | --inc=*)
597 includedir=$ac_optarg ;;
599 -infodir | --infodir | --infodi | --infod | --info | --inf)
601 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
602 infodir=$ac_optarg ;;
604 -libdir | --libdir | --libdi | --libd)
606 -libdir=* | --libdir=* | --libdi=* | --libd=*)
609 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
610 | --libexe | --libex | --libe)
611 ac_prev=libexecdir ;;
612 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
613 | --libexe=* | --libex=* | --libe=*)
614 libexecdir=$ac_optarg ;;
616 -localstatedir | --localstatedir | --localstatedi | --localstated \
617 | --localstate | --localstat | --localsta | --localst \
618 | --locals | --local | --loca | --loc | --lo)
619 ac_prev=localstatedir ;;
620 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
621 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
622 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
623 localstatedir=$ac_optarg ;;
625 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
627 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
631 # Obsolete; use --without-fp.
634 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
635 | --no-cr | --no-c | -n)
638 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
639 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
642 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
643 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
644 | --oldin | --oldi | --old | --ol | --o)
645 ac_prev=oldincludedir ;;
646 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
647 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
648 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
649 oldincludedir=$ac_optarg ;;
651 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
653 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
656 -program-prefix | --program-prefix | --program-prefi | --program-pref \
657 | --program-pre | --program-pr | --program-p)
658 ac_prev=program_prefix ;;
659 -program-prefix=* | --program-prefix=* | --program-prefi=* \
660 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
661 program_prefix=$ac_optarg ;;
663 -program-suffix | --program-suffix | --program-suffi | --program-suff \
664 | --program-suf | --program-su | --program-s)
665 ac_prev=program_suffix ;;
666 -program-suffix=* | --program-suffix=* | --program-suffi=* \
667 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
668 program_suffix=$ac_optarg ;;
670 -program-transform-name | --program-transform-name \
671 | --program-transform-nam | --program-transform-na \
672 | --program-transform-n | --program-transform- \
673 | --program-transform | --program-transfor \
674 | --program-transfo | --program-transf \
675 | --program-trans | --program-tran \
676 | --progr-tra | --program-tr | --program-t)
677 ac_prev=program_transform_name ;;
678 -program-transform-name=* | --program-transform-name=* \
679 | --program-transform-nam=* | --program-transform-na=* \
680 | --program-transform-n=* | --program-transform-=* \
681 | --program-transform=* | --program-transfor=* \
682 | --program-transfo=* | --program-transf=* \
683 | --program-trans=* | --program-tran=* \
684 | --progr-tra=* | --program-tr=* | --program-t=*)
685 program_transform_name=$ac_optarg ;;
687 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
688 | -silent | --silent | --silen | --sile | --sil)
691 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
693 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
695 sbindir=$ac_optarg ;;
697 -sharedstatedir | --sharedstatedir | --sharedstatedi \
698 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
699 | --sharedst | --shareds | --shared | --share | --shar \
701 ac_prev=sharedstatedir ;;
702 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
703 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
704 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
706 sharedstatedir=$ac_optarg ;;
708 -site | --site | --sit)
710 -site=* | --site=* | --sit=*)
713 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
715 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
718 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
719 | --syscon | --sysco | --sysc | --sys | --sy)
720 ac_prev=sysconfdir ;;
721 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
722 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
723 sysconfdir=$ac_optarg ;;
725 -target | --target | --targe | --targ | --tar | --ta | --t)
726 ac_prev=target_alias ;;
727 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
728 target_alias=$ac_optarg ;;
730 -v | -verbose | --verbose | --verbos | --verbo | --verb)
733 -version | --version | --versio | --versi | --vers | -V)
737 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package=`echo $ac_package| sed 's/-/_/g'`
744 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* | --without-*)
750 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
759 # Obsolete; use --with-x.
762 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
763 | --x-incl | --x-inc | --x-in | --x-i)
764 ac_prev=x_includes ;;
765 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
766 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
767 x_includes=$ac_optarg ;;
769 -x-libraries | --x-libraries | --x-librarie | --x-librari \
770 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
771 ac_prev=x_libraries ;;
772 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
773 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
774 x_libraries=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
782 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
802 if test -n "$ac_prev"; then
803 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var in exec_prefix prefix
811 eval ac_val=$`echo $ac_var`
813 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
819 # Be sure to have absolute paths.
820 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val=$`echo $ac_var`
825 [\\/$]* | ?:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x; then
840 if test "x$build_alias" = x; then
841 cross_compiling=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
850 test -n "$host_alias" && ac_tool_prefix=$host_alias-
852 test "$silent" = yes && exec 6>/dev/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
872 if test ! -r $srcdir/$ac_unique_file; then
876 ac_srcdir_defaulted=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set=${build_alias+set}
892 ac_env_build_alias_value=$build_alias
893 ac_cv_env_build_alias_set=${build_alias+set}
894 ac_cv_env_build_alias_value=$build_alias
895 ac_env_host_alias_set=${host_alias+set}
896 ac_env_host_alias_value=$host_alias
897 ac_cv_env_host_alias_set=${host_alias+set}
898 ac_cv_env_host_alias_value=$host_alias
899 ac_env_target_alias_set=${target_alias+set}
900 ac_env_target_alias_value=$target_alias
901 ac_cv_env_target_alias_set=${target_alias+set}
902 ac_cv_env_target_alias_value=$target_alias
903 ac_env_CC_set=${CC+set}
905 ac_cv_env_CC_set=${CC+set}
906 ac_cv_env_CC_value=$CC
907 ac_env_CFLAGS_set=${CFLAGS+set}
908 ac_env_CFLAGS_value=$CFLAGS
909 ac_cv_env_CFLAGS_set=${CFLAGS+set}
910 ac_cv_env_CFLAGS_value=$CFLAGS
911 ac_env_LDFLAGS_set=${LDFLAGS+set}
912 ac_env_LDFLAGS_value=$LDFLAGS
913 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
914 ac_cv_env_LDFLAGS_value=$LDFLAGS
915 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
916 ac_env_CPPFLAGS_value=$CPPFLAGS
917 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
918 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
919 ac_env_CPP_set=${CPP+set}
920 ac_env_CPP_value=$CPP
921 ac_cv_env_CPP_set=${CPP+set}
922 ac_cv_env_CPP_value=$CPP
925 # Report the --help message.
927 if test "$ac_init_help" = "long"; then
928 # Omit some internal or obsolete options to make the list less imposing.
929 # This message is too long to be a string in the A/UX 3.1 sh.
931 \`configure' configures this package to adapt to many kinds of systems.
933 Usage: $0 [OPTION]... [VAR=VALUE]...
935 To assign environment variables (e.g., CC, CFLAGS...), specify them as
936 VAR=VALUE. See below for descriptions of some of the useful variables.
938 Defaults for the options are specified in brackets.
941 -h, --help display this help and exit
942 --help=short display options specific to this package
943 --help=recursive display the short help of all the included packages
944 -V, --version display version information and exit
945 -q, --quiet, --silent do not print \`checking...' messages
946 --cache-file=FILE cache test results in FILE [disabled]
947 -C, --config-cache alias for \`--cache-file=config.cache'
948 -n, --no-create do not create output files
949 --srcdir=DIR find the sources in DIR [configure dir or \`..']
954 Installation directories:
955 --prefix=PREFIX install architecture-independent files in PREFIX
957 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
960 By default, \`make install' will install all the files in
961 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
962 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
963 for instance \`--prefix=\$HOME'.
965 For better control, use the options below.
967 Fine tuning of the installation directories:
968 --bindir=DIR user executables [EPREFIX/bin]
969 --sbindir=DIR system admin executables [EPREFIX/sbin]
970 --libexecdir=DIR program executables [EPREFIX/libexec]
971 --datadir=DIR read-only architecture-independent data [PREFIX/share]
972 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
973 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
974 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
975 --libdir=DIR object code libraries [EPREFIX/lib]
976 --includedir=DIR C header files [PREFIX/include]
977 --oldincludedir=DIR C header files for non-gcc [/usr/include]
978 --infodir=DIR info documentation [PREFIX/info]
979 --mandir=DIR man documentation [PREFIX/man]
985 --program-prefix=PREFIX prepend PREFIX to installed program names
986 --program-suffix=SUFFIX append SUFFIX to installed program names
987 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
990 --build=BUILD configure for building on BUILD [guessed]
991 --host=HOST cross-compile to build programs to run on HOST [BUILD]
992 --target=TARGET configure for building compilers for TARGET [HOST]
996 if test -n "$ac_init_help"; then
1001 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1002 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1003 --enable-maintainer-mode enable make rules and dependencies not useful
1004 (and sometimes confusing) to the casual installer
1005 --enable-shared[=PKGS]
1006 build shared libraries [default=yes]
1007 --enable-static[=PKGS]
1008 build static libraries [default=yes]
1009 --enable-fast-install[=PKGS]
1010 optimize for fast installation [default=yes]
1011 --disable-dependency-tracking speeds up one-time build
1012 --enable-dependency-tracking do not reject slow dependency extractors
1013 --disable-libtool-lock avoid locking (might break parallel builds)
1014 --enable-build-warnings Enable build-time compiler warnings if gcc is used
1015 --enable-rda-build-warnings Enable RDA specific build-time compiler warnings if gcc is used
1018 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1019 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1020 --with-pic try to use only PIC/non-PIC objects [default=use
1022 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1024 Some influential environment variables:
1025 CC C compiler command
1026 CFLAGS C compiler flags
1027 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1028 nonstandard directory <lib dir>
1029 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1030 headers in a nonstandard directory <include dir>
1033 Use these variables to override the choices made by `configure' or to help
1034 it to find libraries and programs with nonstandard names/locations.
1039 if test "$ac_init_help" = "recursive"; then
1040 # If there are subdirs, report their specific --help.
1042 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1043 test -d $ac_dir || continue
1046 if test "$ac_dir" != .; then
1047 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1048 # A "../" for each directory in $ac_dir_suffix.
1049 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1051 ac_dir_suffix= ac_top_builddir=
1055 .) # No --srcdir option. We are building in place.
1057 if test -z "$ac_top_builddir"; then
1060 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1062 [\\/]* | ?:[\\/]* ) # Absolute path.
1063 ac_srcdir=$srcdir$ac_dir_suffix;
1064 ac_top_srcdir=$srcdir ;;
1066 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1067 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1070 # Do not use `cd foo && pwd` to compute absolute paths, because
1071 # the directories may not exist.
1073 .) ac_abs_builddir="$ac_dir";;
1076 .) ac_abs_builddir=`pwd`;;
1077 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1078 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1081 case $ac_abs_builddir in
1082 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1084 case ${ac_top_builddir}. in
1085 .) ac_abs_top_builddir=$ac_abs_builddir;;
1086 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1087 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1090 case $ac_abs_builddir in
1091 .) ac_abs_srcdir=$ac_srcdir;;
1094 .) ac_abs_srcdir=$ac_abs_builddir;;
1095 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1096 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1099 case $ac_abs_builddir in
1100 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1102 case $ac_top_srcdir in
1103 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1104 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1105 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1110 # Check for guested configure; otherwise get Cygnus style configure.
1111 if test -f $ac_srcdir/configure.gnu; then
1113 $SHELL $ac_srcdir/configure.gnu --help=recursive
1114 elif test -f $ac_srcdir/configure; then
1116 $SHELL $ac_srcdir/configure --help=recursive
1117 elif test -f $ac_srcdir/configure.ac ||
1118 test -f $ac_srcdir/configure.in; then
1120 $ac_configure --help
1122 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1128 test -n "$ac_init_help" && exit 0
1129 if $ac_init_version; then
1132 Copyright (C) 2003 Free Software Foundation, Inc.
1133 This configure script is free software; the Free Software Foundation
1134 gives unlimited permission to copy, distribute and modify it.
1140 This file contains any messages produced by compilers while
1141 running configure, to aid debugging if configure makes a mistake.
1143 It was created by $as_me, which was
1144 generated by GNU Autoconf 2.59. Invocation command line was
1155 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1156 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1157 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1158 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1159 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1161 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1162 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1164 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1165 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1166 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1167 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1168 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1169 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1170 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1178 test -z "$as_dir" && as_dir=.
1179 echo "PATH: $as_dir"
1194 # Keep a trace of the command line.
1195 # Strip out --no-create and --no-recursion so they do not pile up.
1196 # Strip out --silent because we don't want to record it for future runs.
1197 # Also quote any args containing shell meta-characters.
1198 # Make two passes to allow for proper duplicate-argument suppression.
1203 ac_must_keep_next=false
1209 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1210 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1211 | -silent | --silent | --silen | --sile | --sil)
1213 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1214 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1217 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1219 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1220 if test $ac_must_keep_next = true; then
1221 ac_must_keep_next=false # Got value, back to normal.
1224 *=* | --config-cache | -C | -disable-* | --disable-* \
1225 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1226 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1227 | -with-* | --with-* | -without-* | --without-* | --x)
1228 case "$ac_configure_args0 " in
1229 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1232 -* ) ac_must_keep_next=true ;;
1235 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1236 # Get rid of the leading space.
1242 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1243 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1245 # When interrupted or exit'd, cleanup temporary files, and complete
1246 # config.log. We remove comments because anyway the quotes in there
1247 # would cause problems or look ugly.
1248 # WARNING: Be sure not to use single quotes in there, as some shells,
1249 # such as our DU 5.0 friend, will then `close' the trap.
1250 trap 'exit_status=$?
1251 # Save into config.log some information that might help in debugging.
1256 ## ---------------- ##
1257 ## Cache variables. ##
1258 ## ---------------- ##
1261 # The following way of writing the cache mishandles newlines in values,
1264 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1267 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1268 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1272 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1279 ## ----------------- ##
1280 ## Output variables. ##
1281 ## ----------------- ##
1284 for ac_var in $ac_subst_vars
1286 eval ac_val=$`echo $ac_var`
1287 echo "$ac_var='"'"'$ac_val'"'"'"
1291 if test -n "$ac_subst_files"; then
1298 for ac_var in $ac_subst_files
1300 eval ac_val=$`echo $ac_var`
1301 echo "$ac_var='"'"'$ac_val'"'"'"
1306 if test -s confdefs.h; then
1313 sed "/^$/d" confdefs.h | sort
1316 test "$ac_signal" != 0 &&
1317 echo "$as_me: caught signal $ac_signal"
1318 echo "$as_me: exit $exit_status"
1320 rm -f core *.core &&
1321 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1324 for ac_signal in 1 2 13 15; do
1325 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1329 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1330 rm -rf conftest* confdefs.h
1331 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1334 # Predefined preprocessor variables.
1336 cat >>confdefs.h <<_ACEOF
1337 #define PACKAGE_NAME "$PACKAGE_NAME"
1341 cat >>confdefs.h <<_ACEOF
1342 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1346 cat >>confdefs.h <<_ACEOF
1347 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1351 cat >>confdefs.h <<_ACEOF
1352 #define PACKAGE_STRING "$PACKAGE_STRING"
1356 cat >>confdefs.h <<_ACEOF
1357 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1361 # Let the site file select an alternate cache file if it wants to.
1362 # Prefer explicitly selected file to automatically selected ones.
1363 if test -z "$CONFIG_SITE"; then
1364 if test "x$prefix" != xNONE; then
1365 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1367 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1370 for ac_site_file in $CONFIG_SITE; do
1371 if test -r "$ac_site_file"; then
1372 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1373 echo "$as_me: loading site script $ac_site_file" >&6;}
1374 sed 's/^/| /' "$ac_site_file" >&5
1379 if test -r "$cache_file"; then
1380 # Some versions of bash will fail to source /dev/null (special
1381 # files actually), so we avoid doing that.
1382 if test -f "$cache_file"; then
1383 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1384 echo "$as_me: loading cache $cache_file" >&6;}
1386 [\\/]* | ?:[\\/]* ) . $cache_file;;
1387 *) . ./$cache_file;;
1391 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1392 echo "$as_me: creating cache $cache_file" >&6;}
1396 # Check that the precious variables saved in the cache have kept the same
1398 ac_cache_corrupted=false
1399 for ac_var in `(set) 2>&1 |
1400 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1401 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1402 eval ac_new_set=\$ac_env_${ac_var}_set
1403 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1404 eval ac_new_val="\$ac_env_${ac_var}_value"
1405 case $ac_old_set,$ac_new_set in
1407 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1408 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1409 ac_cache_corrupted=: ;;
1411 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1412 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1413 ac_cache_corrupted=: ;;
1416 if test "x$ac_old_val" != "x$ac_new_val"; then
1417 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1418 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1419 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1420 echo "$as_me: former value: $ac_old_val" >&2;}
1421 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1422 echo "$as_me: current value: $ac_new_val" >&2;}
1423 ac_cache_corrupted=:
1426 # Pass precious variables to config.status.
1427 if test "$ac_new_set" = set; then
1429 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1430 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1431 *) ac_arg=$ac_var=$ac_new_val ;;
1433 case " $ac_configure_args " in
1434 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1435 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1439 if $ac_cache_corrupted; then
1440 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1441 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1442 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1443 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1444 { (exit 1); exit 1; }; }
1448 ac_cpp='$CPP $CPPFLAGS'
1449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1472 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1473 if test -f $ac_dir/install-sh; then
1475 ac_install_sh="$ac_aux_dir/install-sh -c"
1477 elif test -f $ac_dir/install.sh; then
1479 ac_install_sh="$ac_aux_dir/install.sh -c"
1481 elif test -f $ac_dir/shtool; then
1483 ac_install_sh="$ac_aux_dir/shtool install -c"
1487 if test -z "$ac_aux_dir"; then
1488 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1489 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1490 { (exit 1); exit 1; }; }
1492 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1493 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1494 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1496 # Make sure we can run config.sub.
1497 $ac_config_sub sun4 >/dev/null 2>&1 ||
1498 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1499 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1500 { (exit 1); exit 1; }; }
1502 echo "$as_me:$LINENO: checking build system type" >&5
1503 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1504 if test "${ac_cv_build+set}" = set; then
1505 echo $ECHO_N "(cached) $ECHO_C" >&6
1507 ac_cv_build_alias=$build_alias
1508 test -z "$ac_cv_build_alias" &&
1509 ac_cv_build_alias=`$ac_config_guess`
1510 test -z "$ac_cv_build_alias" &&
1511 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1512 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1513 { (exit 1); exit 1; }; }
1514 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1515 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1516 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1517 { (exit 1); exit 1; }; }
1520 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1521 echo "${ECHO_T}$ac_cv_build" >&6
1523 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1524 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1525 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1528 echo "$as_me:$LINENO: checking host system type" >&5
1529 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1530 if test "${ac_cv_host+set}" = set; then
1531 echo $ECHO_N "(cached) $ECHO_C" >&6
1533 ac_cv_host_alias=$host_alias
1534 test -z "$ac_cv_host_alias" &&
1535 ac_cv_host_alias=$ac_cv_build_alias
1536 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1537 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1538 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1539 { (exit 1); exit 1; }; }
1542 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1543 echo "${ECHO_T}$ac_cv_host" >&6
1545 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1546 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1547 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1550 echo "$as_me:$LINENO: checking target system type" >&5
1551 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1552 if test "${ac_cv_target+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 ac_cv_target_alias=$target_alias
1556 test "x$ac_cv_target_alias" = "x" &&
1557 ac_cv_target_alias=$ac_cv_host_alias
1558 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1559 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1560 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1561 { (exit 1); exit 1; }; }
1564 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1565 echo "${ECHO_T}$ac_cv_target" >&6
1566 target=$ac_cv_target
1567 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1568 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1569 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1572 # The aliases save the names the user supplied, while $host etc.
1573 # will get canonicalized.
1574 test -n "$target_alias" &&
1575 test "$program_prefix$program_suffix$program_transform_name" = \
1577 program_prefix=${target_alias}-
1578 am__api_version="1.9"
1579 # Find a good install program. We prefer a C program (faster),
1580 # so one script is as good as another. But avoid the broken or
1581 # incompatible versions:
1582 # SysV /etc/install, /usr/sbin/install
1583 # SunOS /usr/etc/install
1584 # IRIX /sbin/install
1586 # AmigaOS /C/install, which installs bootblocks on floppy discs
1587 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1588 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1589 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1590 # OS/2's system install, which has a completely different semantic
1591 # ./install, which can be erroneously created by make from ./install.sh.
1592 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1593 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1594 if test -z "$INSTALL"; then
1595 if test "${ac_cv_path_install+set}" = set; then
1596 echo $ECHO_N "(cached) $ECHO_C" >&6
1598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1602 test -z "$as_dir" && as_dir=.
1603 # Account for people who put trailing slashes in PATH elements.
1605 ./ | .// | /cC/* | \
1606 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1607 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1610 # OSF1 and SCO ODT 3.0 have their own names for install.
1611 # Don't use installbsd from OSF since it installs stuff as root
1613 for ac_prog in ginstall scoinst install; do
1614 for ac_exec_ext in '' $ac_executable_extensions; do
1615 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1616 if test $ac_prog = install &&
1617 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1618 # AIX install. It has an incompatible calling convention.
1620 elif test $ac_prog = install &&
1621 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1622 # program-specific install script used by HP pwplus--don't use.
1625 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1637 if test "${ac_cv_path_install+set}" = set; then
1638 INSTALL=$ac_cv_path_install
1640 # As a last resort, use the slow shell script. We don't cache a
1641 # path for INSTALL within a source directory, because that will
1642 # break other packages using the cache if that directory is
1643 # removed, or if the path is relative.
1644 INSTALL=$ac_install_sh
1647 echo "$as_me:$LINENO: result: $INSTALL" >&5
1648 echo "${ECHO_T}$INSTALL" >&6
1650 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1651 # It thinks the first close brace ends the variable substitution.
1652 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1654 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1656 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1658 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1659 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1662 echo timestamp > conftest.file
1663 # Do `set' in a subshell so we don't clobber the current shell's
1664 # arguments. Must try -L first in case configure is actually a
1665 # symlink; some systems play weird games with the mod time of symlinks
1666 # (eg FreeBSD returns the mod time of the symlink's containing
1669 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1670 if test "$*" = "X"; then
1672 set X `ls -t $srcdir/configure conftest.file`
1675 if test "$*" != "X $srcdir/configure conftest.file" \
1676 && test "$*" != "X conftest.file $srcdir/configure"; then
1678 # If neither matched, then we have a broken ls. This can happen
1679 # if, for instance, CONFIG_SHELL is bash and it inherits a
1680 # broken ls alias from the environment. This has actually
1681 # happened. Such a system could not be considered "sane".
1682 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1683 alias in your environment" >&5
1684 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1685 alias in your environment" >&2;}
1686 { (exit 1); exit 1; }; }
1689 test "$2" = conftest.file
1695 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1696 Check your system clock" >&5
1697 echo "$as_me: error: newly created file is older than distributed files!
1698 Check your system clock" >&2;}
1699 { (exit 1); exit 1; }; }
1701 echo "$as_me:$LINENO: result: yes" >&5
1702 echo "${ECHO_T}yes" >&6
1703 test "$program_prefix" != NONE &&
1704 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1705 # Use a double $ so make ignores it.
1706 test "$program_suffix" != NONE &&
1707 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1708 # Double any \ or $. echo might interpret backslashes.
1709 # By default was `s,x,x', remove it if useless.
1710 cat <<\_ACEOF >conftest.sed
1711 s/[\\$]/&&/g;s/;s,x,x,$//
1713 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1716 # expand $ac_aux_dir to an absolute path
1717 am_aux_dir=`cd $ac_aux_dir && pwd`
1719 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1720 # Use eval to expand $SHELL
1721 if eval "$MISSING --run true"; then
1722 am_missing_run="$MISSING --run "
1725 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1726 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1729 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1730 # We used to keeping the `.' as first argument, in order to
1731 # allow $(mkdir_p) to be used without argument. As in
1732 # $(mkdir_p) $(somedir)
1733 # where $(somedir) is conditionally defined. However this is wrong
1735 # 1. if the package is installed by a user who cannot write `.'
1736 # make install will fail,
1737 # 2. the above comment should most certainly read
1738 # $(mkdir_p) $(DESTDIR)$(somedir)
1739 # so it does not work when $(somedir) is undefined and
1740 # $(DESTDIR) is not.
1741 # To support the latter case, we have to write
1742 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1743 # so the `.' trick is pointless.
1744 mkdir_p='mkdir -p --'
1746 # On NextStep and OpenStep, the `mkdir' command does not
1747 # recognize any option. It will interpret all options as
1748 # directories to create, and then abort because `.' already
1750 for d in ./-p ./--version;
1752 test -d $d && rmdir $d
1754 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1755 if test -f "$ac_aux_dir/mkinstalldirs"; then
1756 mkdir_p='$(mkinstalldirs)'
1758 mkdir_p='$(install_sh) -d'
1762 for ac_prog in gawk mawk nawk awk
1764 # Extract the first word of "$ac_prog", so it can be a program name with args.
1765 set dummy $ac_prog; ac_word=$2
1766 echo "$as_me:$LINENO: checking for $ac_word" >&5
1767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1768 if test "${ac_cv_prog_AWK+set}" = set; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6
1771 if test -n "$AWK"; then
1772 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1778 test -z "$as_dir" && as_dir=.
1779 for ac_exec_ext in '' $ac_executable_extensions; do
1780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1781 ac_cv_prog_AWK="$ac_prog"
1782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1791 if test -n "$AWK"; then
1792 echo "$as_me:$LINENO: result: $AWK" >&5
1793 echo "${ECHO_T}$AWK" >&6
1795 echo "$as_me:$LINENO: result: no" >&5
1796 echo "${ECHO_T}no" >&6
1799 test -n "$AWK" && break
1802 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1803 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1804 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1805 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1808 cat >conftest.make <<\_ACEOF
1810 @echo 'ac_maketemp="$(MAKE)"'
1812 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1813 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1814 if test -n "$ac_maketemp"; then
1815 eval ac_cv_prog_make_${ac_make}_set=yes
1817 eval ac_cv_prog_make_${ac_make}_set=no
1821 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1822 echo "$as_me:$LINENO: result: yes" >&5
1823 echo "${ECHO_T}yes" >&6
1826 echo "$as_me:$LINENO: result: no" >&5
1827 echo "${ECHO_T}no" >&6
1828 SET_MAKE="MAKE=${MAKE-make}"
1831 rm -rf .tst 2>/dev/null
1832 mkdir .tst 2>/dev/null
1833 if test -d .tst; then
1838 rmdir .tst 2>/dev/null
1840 # test to see if srcdir already configured
1841 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1842 test -f $srcdir/config.status; then
1843 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1844 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1845 { (exit 1); exit 1; }; }
1848 # test whether we have cygpath
1849 if test -z "$CYGPATH_W"; then
1850 if (cygpath --version) >/dev/null 2>/dev/null; then
1851 CYGPATH_W='cygpath -w'
1858 # Define the identity of the package.
1863 cat >>confdefs.h <<_ACEOF
1864 #define PACKAGE "$PACKAGE"
1868 cat >>confdefs.h <<_ACEOF
1869 #define VERSION "$VERSION"
1872 # Some tools Automake needs.
1874 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1877 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1880 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1883 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1886 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1888 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1890 # Installed binaries are usually stripped using `strip' when the user
1891 # run `make install-strip'. However `strip' might not be the right
1892 # tool to use in cross-compilation environments, therefore Automake
1893 # will honor the `STRIP' environment variable to overrule this program.
1894 if test "$cross_compiling" != no; then
1895 if test -n "$ac_tool_prefix"; then
1896 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1897 set dummy ${ac_tool_prefix}strip; ac_word=$2
1898 echo "$as_me:$LINENO: checking for $ac_word" >&5
1899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1900 if test "${ac_cv_prog_STRIP+set}" = set; then
1901 echo $ECHO_N "(cached) $ECHO_C" >&6
1903 if test -n "$STRIP"; then
1904 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910 test -z "$as_dir" && as_dir=.
1911 for ac_exec_ext in '' $ac_executable_extensions; do
1912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1913 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1922 STRIP=$ac_cv_prog_STRIP
1923 if test -n "$STRIP"; then
1924 echo "$as_me:$LINENO: result: $STRIP" >&5
1925 echo "${ECHO_T}$STRIP" >&6
1927 echo "$as_me:$LINENO: result: no" >&5
1928 echo "${ECHO_T}no" >&6
1932 if test -z "$ac_cv_prog_STRIP"; then
1934 # Extract the first word of "strip", so it can be a program name with args.
1935 set dummy strip; ac_word=$2
1936 echo "$as_me:$LINENO: checking for $ac_word" >&5
1937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1938 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 if test -n "$ac_ct_STRIP"; then
1942 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 test -z "$as_dir" && as_dir=.
1949 for ac_exec_ext in '' $ac_executable_extensions; do
1950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1951 ac_cv_prog_ac_ct_STRIP="strip"
1952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1958 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1961 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1962 if test -n "$ac_ct_STRIP"; then
1963 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1964 echo "${ECHO_T}$ac_ct_STRIP" >&6
1966 echo "$as_me:$LINENO: result: no" >&5
1967 echo "${ECHO_T}no" >&6
1972 STRIP="$ac_cv_prog_STRIP"
1976 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1978 # We need awk for the "check" target. The system "awk" is bad on
1980 # Always define AMTAR for backward compatibility.
1982 AMTAR=${AMTAR-"${am_missing_run}tar"}
1984 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1990 ac_config_headers="$ac_config_headers config.h:config.in"
1993 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1994 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1995 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1996 if test "${enable_maintainer_mode+set}" = set; then
1997 enableval="$enable_maintainer_mode"
1998 USE_MAINTAINER_MODE=$enableval
2000 USE_MAINTAINER_MODE=no
2002 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2003 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2006 if test $USE_MAINTAINER_MODE = yes; then
2007 MAINTAINER_MODE_TRUE=
2008 MAINTAINER_MODE_FALSE='#'
2010 MAINTAINER_MODE_TRUE='#'
2011 MAINTAINER_MODE_FALSE=
2014 MAINT=$MAINTAINER_MODE_TRUE
2019 macro_version='2.1a'
2020 macro_revision='1.2435'
2033 ltmain="$ac_aux_dir/ltmain.sh"
2043 # Check whether --enable-shared or --disable-shared was given.
2044 if test "${enable_shared+set}" = set; then
2045 enableval="$enable_shared"
2046 p=${PACKAGE-default}
2048 yes) enable_shared=yes ;;
2049 no) enable_shared=no ;;
2052 # Look at the argument we got. We use all the common list separators.
2053 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2054 for pkg in $enableval; do
2056 if test "X$pkg" = "X$p"; then
2074 # Check whether --enable-static or --disable-static was given.
2075 if test "${enable_static+set}" = set; then
2076 enableval="$enable_static"
2077 p=${PACKAGE-default}
2079 yes) enable_static=yes ;;
2080 no) enable_static=no ;;
2083 # Look at the argument we got. We use all the common list separators.
2084 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2085 for pkg in $enableval; do
2087 if test "X$pkg" = "X$p"; then
2106 # Check whether --with-pic or --without-pic was given.
2107 if test "${with_pic+set}" = set; then
2114 test -z "$pic_mode" && pic_mode=default
2122 # Check whether --enable-fast-install or --disable-fast-install was given.
2123 if test "${enable_fast_install+set}" = set; then
2124 enableval="$enable_fast_install"
2125 p=${PACKAGE-default}
2127 yes) enable_fast_install=yes ;;
2128 no) enable_fast_install=no ;;
2130 enable_fast_install=no
2131 # Look at the argument we got. We use all the common list separators.
2132 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2133 for pkg in $enableval; do
2135 if test "X$pkg" = "X$p"; then
2136 enable_fast_install=yes
2143 enable_fast_install=yes
2153 DEPDIR="${am__leading_dot}deps"
2155 ac_config_commands="$ac_config_commands depfiles"
2158 am_make=${MAKE-make}
2159 cat > confinc << 'END'
2164 # If we don't find an include directive, just comment out the code.
2165 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2166 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2170 # First try GNU make style include.
2171 echo "include confinc" > confmf
2172 # We grep out `Entering directory' and `Leaving directory'
2173 # messages which can occur if `w' ends up in MAKEFLAGS.
2174 # In particular we don't look at `^make:' because GNU make might
2175 # be invoked under some other name (usually "gmake"), in which
2176 # case it prints its new name instead of `make'.
2177 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2182 # Now try BSD make style include.
2183 if test "$am__include" = "#"; then
2184 echo '.include "confinc"' > confmf
2185 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2186 am__include=.include
2193 echo "$as_me:$LINENO: result: $_am_result" >&5
2194 echo "${ECHO_T}$_am_result" >&6
2195 rm -f confinc confmf
2197 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2198 if test "${enable_dependency_tracking+set}" = set; then
2199 enableval="$enable_dependency_tracking"
2202 if test "x$enable_dependency_tracking" != xno; then
2203 am_depcomp="$ac_aux_dir/depcomp"
2208 if test "x$enable_dependency_tracking" != xno; then
2219 ac_cpp='$CPP $CPPFLAGS'
2220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2223 if test -n "$ac_tool_prefix"; then
2224 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2225 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2226 echo "$as_me:$LINENO: checking for $ac_word" >&5
2227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2228 if test "${ac_cv_prog_CC+set}" = set; then
2229 echo $ECHO_N "(cached) $ECHO_C" >&6
2231 if test -n "$CC"; then
2232 ac_cv_prog_CC="$CC" # Let the user override the test.
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238 test -z "$as_dir" && as_dir=.
2239 for ac_exec_ext in '' $ac_executable_extensions; do
2240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2241 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2251 if test -n "$CC"; then
2252 echo "$as_me:$LINENO: result: $CC" >&5
2253 echo "${ECHO_T}$CC" >&6
2255 echo "$as_me:$LINENO: result: no" >&5
2256 echo "${ECHO_T}no" >&6
2260 if test -z "$ac_cv_prog_CC"; then
2262 # Extract the first word of "gcc", so it can be a program name with args.
2263 set dummy gcc; ac_word=$2
2264 echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2266 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 if test -n "$ac_ct_CC"; then
2270 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2276 test -z "$as_dir" && as_dir=.
2277 for ac_exec_ext in '' $ac_executable_extensions; do
2278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2279 ac_cv_prog_ac_ct_CC="gcc"
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2289 if test -n "$ac_ct_CC"; then
2290 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2291 echo "${ECHO_T}$ac_ct_CC" >&6
2293 echo "$as_me:$LINENO: result: no" >&5
2294 echo "${ECHO_T}no" >&6
2302 if test -z "$CC"; then
2303 if test -n "$ac_tool_prefix"; then
2304 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2305 set dummy ${ac_tool_prefix}cc; ac_word=$2
2306 echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2308 if test "${ac_cv_prog_CC+set}" = set; then
2309 echo $ECHO_N "(cached) $ECHO_C" >&6
2311 if test -n "$CC"; then
2312 ac_cv_prog_CC="$CC" # Let the user override the test.
2314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2318 test -z "$as_dir" && as_dir=.
2319 for ac_exec_ext in '' $ac_executable_extensions; do
2320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2321 ac_cv_prog_CC="${ac_tool_prefix}cc"
2322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2331 if test -n "$CC"; then
2332 echo "$as_me:$LINENO: result: $CC" >&5
2333 echo "${ECHO_T}$CC" >&6
2335 echo "$as_me:$LINENO: result: no" >&5
2336 echo "${ECHO_T}no" >&6
2340 if test -z "$ac_cv_prog_CC"; then
2342 # Extract the first word of "cc", so it can be a program name with args.
2343 set dummy cc; ac_word=$2
2344 echo "$as_me:$LINENO: checking for $ac_word" >&5
2345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2346 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2347 echo $ECHO_N "(cached) $ECHO_C" >&6
2349 if test -n "$ac_ct_CC"; then
2350 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356 test -z "$as_dir" && as_dir=.
2357 for ac_exec_ext in '' $ac_executable_extensions; do
2358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2359 ac_cv_prog_ac_ct_CC="cc"
2360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2369 if test -n "$ac_ct_CC"; then
2370 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2371 echo "${ECHO_T}$ac_ct_CC" >&6
2373 echo "$as_me:$LINENO: result: no" >&5
2374 echo "${ECHO_T}no" >&6
2383 if test -z "$CC"; then
2384 # Extract the first word of "cc", so it can be a program name with args.
2385 set dummy cc; ac_word=$2
2386 echo "$as_me:$LINENO: checking for $ac_word" >&5
2387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2388 if test "${ac_cv_prog_CC+set}" = set; then
2389 echo $ECHO_N "(cached) $ECHO_C" >&6
2391 if test -n "$CC"; then
2392 ac_cv_prog_CC="$CC" # Let the user override the test.
2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2399 test -z "$as_dir" && as_dir=.
2400 for ac_exec_ext in '' $ac_executable_extensions; do
2401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2402 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2403 ac_prog_rejected=yes
2407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2413 if test $ac_prog_rejected = yes; then
2414 # We found a bogon in the path, so make sure we never use it.
2415 set dummy $ac_cv_prog_CC
2417 if test $# != 0; then
2418 # We chose a different compiler from the bogus one.
2419 # However, it has the same basename, so the bogon will be chosen
2420 # first if we set CC to just the basename; use the full file name.
2422 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2428 if test -n "$CC"; then
2429 echo "$as_me:$LINENO: result: $CC" >&5
2430 echo "${ECHO_T}$CC" >&6
2432 echo "$as_me:$LINENO: result: no" >&5
2433 echo "${ECHO_T}no" >&6
2437 if test -z "$CC"; then
2438 if test -n "$ac_tool_prefix"; then
2441 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2442 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2443 echo "$as_me:$LINENO: checking for $ac_word" >&5
2444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2445 if test "${ac_cv_prog_CC+set}" = set; then
2446 echo $ECHO_N "(cached) $ECHO_C" >&6
2448 if test -n "$CC"; then
2449 ac_cv_prog_CC="$CC" # Let the user override the test.
2451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455 test -z "$as_dir" && as_dir=.
2456 for ac_exec_ext in '' $ac_executable_extensions; do
2457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2458 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2468 if test -n "$CC"; then
2469 echo "$as_me:$LINENO: result: $CC" >&5
2470 echo "${ECHO_T}$CC" >&6
2472 echo "$as_me:$LINENO: result: no" >&5
2473 echo "${ECHO_T}no" >&6
2476 test -n "$CC" && break
2479 if test -z "$CC"; then
2483 # Extract the first word of "$ac_prog", so it can be a program name with args.
2484 set dummy $ac_prog; ac_word=$2
2485 echo "$as_me:$LINENO: checking for $ac_word" >&5
2486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2487 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2488 echo $ECHO_N "(cached) $ECHO_C" >&6
2490 if test -n "$ac_ct_CC"; then
2491 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497 test -z "$as_dir" && as_dir=.
2498 for ac_exec_ext in '' $ac_executable_extensions; do
2499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2500 ac_cv_prog_ac_ct_CC="$ac_prog"
2501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2509 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2510 if test -n "$ac_ct_CC"; then
2511 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2512 echo "${ECHO_T}$ac_ct_CC" >&6
2514 echo "$as_me:$LINENO: result: no" >&5
2515 echo "${ECHO_T}no" >&6
2518 test -n "$ac_ct_CC" && break
2527 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2528 See \`config.log' for more details." >&5
2529 echo "$as_me: error: no acceptable C compiler found in \$PATH
2530 See \`config.log' for more details." >&2;}
2531 { (exit 1); exit 1; }; }
2533 # Provide some information about the compiler.
2534 echo "$as_me:$LINENO:" \
2535 "checking for C compiler version" >&5
2536 ac_compiler=`set X $ac_compile; echo $2`
2537 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2538 (eval $ac_compiler --version </dev/null >&5) 2>&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }
2542 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2543 (eval $ac_compiler -v </dev/null >&5) 2>&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }
2547 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2548 (eval $ac_compiler -V </dev/null >&5) 2>&5
2550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551 (exit $ac_status); }
2553 cat >conftest.$ac_ext <<_ACEOF
2556 cat confdefs.h >>conftest.$ac_ext
2557 cat >>conftest.$ac_ext <<_ACEOF
2558 /* end confdefs.h. */
2568 ac_clean_files_save=$ac_clean_files
2569 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2570 # Try to create an executable without -o first, disregard a.out.
2571 # It will help us diagnose broken compilers, and finding out an intuition
2573 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2574 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2575 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2576 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2577 (eval $ac_link_default) 2>&5
2579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); }; then
2581 # Find the output, starting from the most likely. This scheme is
2582 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2585 # Be careful to initialize this variable, since it used to be cached.
2586 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2588 # b.out is created by i960 compilers.
2589 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2591 test -f "$ac_file" || continue
2593 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2596 # This is the source file.
2599 # We found the default executable, but exeext='' is most
2603 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2604 # FIXME: I believe we export ac_cv_exeext for Libtool,
2605 # but it would be cool to find out if it's true. Does anybody
2606 # maintain Libtool? --akim.
2614 echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.$ac_ext >&5
2617 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2618 See \`config.log' for more details." >&5
2619 echo "$as_me: error: C compiler cannot create executables
2620 See \`config.log' for more details." >&2;}
2621 { (exit 77); exit 77; }; }
2624 ac_exeext=$ac_cv_exeext
2625 echo "$as_me:$LINENO: result: $ac_file" >&5
2626 echo "${ECHO_T}$ac_file" >&6
2628 # Check the compiler produces executables we can run. If not, either
2629 # the compiler is broken, or we cross compile.
2630 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2631 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2632 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2633 # If not cross compiling, check that we can run a simple program.
2634 if test "$cross_compiling" != yes; then
2635 if { ac_try='./$ac_file'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; }; then
2643 if test "$cross_compiling" = maybe; then
2646 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2647 If you meant to cross compile, use \`--host'.
2648 See \`config.log' for more details." >&5
2649 echo "$as_me: error: cannot run C compiled programs.
2650 If you meant to cross compile, use \`--host'.
2651 See \`config.log' for more details." >&2;}
2652 { (exit 1); exit 1; }; }
2656 echo "$as_me:$LINENO: result: yes" >&5
2657 echo "${ECHO_T}yes" >&6
2659 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2660 ac_clean_files=$ac_clean_files_save
2661 # Check the compiler produces executables we can run. If not, either
2662 # the compiler is broken, or we cross compile.
2663 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2664 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2665 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2666 echo "${ECHO_T}$cross_compiling" >&6
2668 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2669 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2671 (eval $ac_link) 2>&5
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); }; then
2675 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2676 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2677 # work properly (i.e., refer to `conftest.exe'), while it won't with
2679 for ac_file in conftest.exe conftest conftest.*; do
2680 test -f "$ac_file" || continue
2682 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2683 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2690 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2691 See \`config.log' for more details." >&5
2692 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2693 See \`config.log' for more details." >&2;}
2694 { (exit 1); exit 1; }; }
2697 rm -f conftest$ac_cv_exeext
2698 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2699 echo "${ECHO_T}$ac_cv_exeext" >&6
2701 rm -f conftest.$ac_ext
2702 EXEEXT=$ac_cv_exeext
2704 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2705 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2706 if test "${ac_cv_objext+set}" = set; then
2707 echo $ECHO_N "(cached) $ECHO_C" >&6
2709 cat >conftest.$ac_ext <<_ACEOF
2712 cat confdefs.h >>conftest.$ac_ext
2713 cat >>conftest.$ac_ext <<_ACEOF
2714 /* end confdefs.h. */
2724 rm -f conftest.o conftest.obj
2725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2726 (eval $ac_compile) 2>&5
2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729 (exit $ac_status); }; then
2730 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2732 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2733 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2738 echo "$as_me: failed program was:" >&5
2739 sed 's/^/| /' conftest.$ac_ext >&5
2741 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2742 See \`config.log' for more details." >&5
2743 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2744 See \`config.log' for more details." >&2;}
2745 { (exit 1); exit 1; }; }
2748 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2750 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2751 echo "${ECHO_T}$ac_cv_objext" >&6
2752 OBJEXT=$ac_cv_objext
2754 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2755 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2756 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2757 echo $ECHO_N "(cached) $ECHO_C" >&6
2759 cat >conftest.$ac_ext <<_ACEOF
2762 cat confdefs.h >>conftest.$ac_ext
2763 cat >>conftest.$ac_ext <<_ACEOF
2764 /* end confdefs.h. */
2777 rm -f conftest.$ac_objext
2778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2779 (eval $ac_compile) 2>conftest.er1
2781 grep -v '^ *+' conftest.er1 >conftest.err
2783 cat conftest.err >&5
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); } &&
2786 { ac_try='test -z "$ac_c_werror_flag"
2787 || test ! -s conftest.err'
2788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }; } &&
2793 { ac_try='test -s conftest.$ac_objext'
2794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); }; }; then
2801 echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.$ac_ext >&5
2806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2807 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2810 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2811 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2812 GCC=`test $ac_compiler_gnu = yes && echo yes`
2813 ac_test_CFLAGS=${CFLAGS+set}
2814 ac_save_CFLAGS=$CFLAGS
2816 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2817 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2818 if test "${ac_cv_prog_cc_g+set}" = set; then
2819 echo $ECHO_N "(cached) $ECHO_C" >&6
2821 cat >conftest.$ac_ext <<_ACEOF
2824 cat confdefs.h >>conftest.$ac_ext
2825 cat >>conftest.$ac_ext <<_ACEOF
2826 /* end confdefs.h. */
2836 rm -f conftest.$ac_objext
2837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2838 (eval $ac_compile) 2>conftest.er1
2840 grep -v '^ *+' conftest.er1 >conftest.err
2842 cat conftest.err >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); } &&
2845 { ac_try='test -z "$ac_c_werror_flag"
2846 || test ! -s conftest.err'
2847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; } &&
2852 { ac_try='test -s conftest.$ac_objext'
2853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); }; }; then
2860 echo "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.$ac_ext >&5
2865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2867 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2868 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2869 if test "$ac_test_CFLAGS" = set; then
2870 CFLAGS=$ac_save_CFLAGS
2871 elif test $ac_cv_prog_cc_g = yes; then
2872 if test "$GCC" = yes; then
2878 if test "$GCC" = yes; then
2884 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2885 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2886 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2887 echo $ECHO_N "(cached) $ECHO_C" >&6
2889 ac_cv_prog_cc_stdc=no
2891 cat >conftest.$ac_ext <<_ACEOF
2894 cat confdefs.h >>conftest.$ac_ext
2895 cat >>conftest.$ac_ext <<_ACEOF
2896 /* end confdefs.h. */
2899 #include <sys/types.h>
2900 #include <sys/stat.h>
2901 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2902 struct buf { int x; };
2903 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2904 static char *e (p, i)
2910 static char *f (char * (*g) (char **, int), char **p, ...)
2915 s = g (p, va_arg (v,int));
2920 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2921 function prototypes and stuff, but not '\xHH' hex character constants.
2922 These don't provoke an error unfortunately, instead are silently treated
2923 as 'x'. The following induces an error, until -std1 is added to get
2924 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2925 array size at least. It's necessary to write '\x00'==0 to get something
2926 that's true only with -std1. */
2927 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2929 int test (int i, double x);
2930 struct s1 {int (*f) (int a);};
2931 struct s2 {int (*f) (double a);};
2932 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2938 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2943 # Don't try gcc -ansi; that turns off useful extensions and
2944 # breaks some systems' header files.
2945 # AIX -qlanglvl=ansi
2946 # Ultrix and OSF/1 -std1
2947 # HP-UX 10.20 and later -Ae
2948 # HP-UX older versions -Aa -D_HPUX_SOURCE
2949 # SVR4 -Xc -D__EXTENSIONS__
2950 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2952 CC="$ac_save_CC $ac_arg"
2953 rm -f conftest.$ac_objext
2954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2955 (eval $ac_compile) 2>conftest.er1
2957 grep -v '^ *+' conftest.er1 >conftest.err
2959 cat conftest.err >&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); } &&
2962 { ac_try='test -z "$ac_c_werror_flag"
2963 || test ! -s conftest.err'
2964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); }; } &&
2969 { ac_try='test -s conftest.$ac_objext'
2970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974 (exit $ac_status); }; }; then
2975 ac_cv_prog_cc_stdc=$ac_arg
2978 echo "$as_me: failed program was:" >&5
2979 sed 's/^/| /' conftest.$ac_ext >&5
2982 rm -f conftest.err conftest.$ac_objext
2984 rm -f conftest.$ac_ext conftest.$ac_objext
2989 case "x$ac_cv_prog_cc_stdc" in
2991 echo "$as_me:$LINENO: result: none needed" >&5
2992 echo "${ECHO_T}none needed" >&6 ;;
2994 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2995 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2996 CC="$CC $ac_cv_prog_cc_stdc" ;;
2999 # Some people use a C++ compiler to compile C. Since we use `exit',
3000 # in C++ we need to declare it. In case someone uses the same compiler
3001 # for both compiling C and C++ we need to have the C++ compiler decide
3002 # the declaration of exit, since it's the most demanding environment.
3003 cat >conftest.$ac_ext <<_ACEOF
3008 rm -f conftest.$ac_objext
3009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3010 (eval $ac_compile) 2>conftest.er1
3012 grep -v '^ *+' conftest.er1 >conftest.err
3014 cat conftest.err >&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); } &&
3017 { ac_try='test -z "$ac_c_werror_flag"
3018 || test ! -s conftest.err'
3019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023 (exit $ac_status); }; } &&
3024 { ac_try='test -s conftest.$ac_objext'
3025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); }; }; then
3030 for ac_declaration in \
3032 'extern "C" void std::exit (int) throw (); using std::exit;' \
3033 'extern "C" void std::exit (int); using std::exit;' \
3034 'extern "C" void exit (int) throw ();' \
3035 'extern "C" void exit (int);' \
3038 cat >conftest.$ac_ext <<_ACEOF
3041 cat confdefs.h >>conftest.$ac_ext
3042 cat >>conftest.$ac_ext <<_ACEOF
3043 /* end confdefs.h. */
3054 rm -f conftest.$ac_objext
3055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3056 (eval $ac_compile) 2>conftest.er1
3058 grep -v '^ *+' conftest.er1 >conftest.err
3060 cat conftest.err >&5
3061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062 (exit $ac_status); } &&
3063 { ac_try='test -z "$ac_c_werror_flag"
3064 || test ! -s conftest.err'
3065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); }; } &&
3070 { ac_try='test -s conftest.$ac_objext'
3071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); }; }; then
3078 echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3084 cat >conftest.$ac_ext <<_ACEOF
3087 cat confdefs.h >>conftest.$ac_ext
3088 cat >>conftest.$ac_ext <<_ACEOF
3089 /* end confdefs.h. */
3099 rm -f conftest.$ac_objext
3100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3101 (eval $ac_compile) 2>conftest.er1
3103 grep -v '^ *+' conftest.er1 >conftest.err
3105 cat conftest.err >&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); } &&
3108 { ac_try='test -z "$ac_c_werror_flag"
3109 || test ! -s conftest.err'
3110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); }; } &&
3115 { ac_try='test -s conftest.$ac_objext'
3116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); }; }; then
3123 echo "$as_me: failed program was:" >&5
3124 sed 's/^/| /' conftest.$ac_ext >&5
3127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3130 if test -n "$ac_declaration"; then
3131 echo '#ifdef __cplusplus' >>confdefs.h
3132 echo $ac_declaration >>confdefs.h
3133 echo '#endif' >>confdefs.h
3137 echo "$as_me: failed program was:" >&5
3138 sed 's/^/| /' conftest.$ac_ext >&5
3141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3143 ac_cpp='$CPP $CPPFLAGS'
3144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3148 depcc="$CC" am_compiler_list=
3150 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3151 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3152 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3153 echo $ECHO_N "(cached) $ECHO_C" >&6
3155 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3156 # We make a subdir and do the tests there. Otherwise we can end up
3157 # making bogus files that we don't know about and never remove. For
3158 # instance it was reported that on HP-UX the gcc test will end up
3159 # making a dummy file named `D' -- because `-MD' means `put the output
3162 # Copy depcomp to subdir because otherwise we won't find it if we're
3163 # using a relative directory.
3164 cp "$am_depcomp" conftest.dir
3166 # We will build objects and dependencies in a subdirectory because
3167 # it helps to detect inapplicable dependency modes. For instance
3168 # both Tru64's cc and ICC support -MD to output dependencies as a
3169 # side effect of compilation, but ICC will put the dependencies in
3170 # the current directory while Tru64 will put them in the object
3174 am_cv_CC_dependencies_compiler_type=none
3175 if test "$am_compiler_list" = ""; then
3176 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3178 for depmode in $am_compiler_list; do
3179 # Setup a source with many dependencies, because some compilers
3180 # like to wrap large dependency lists on column 80 (with \), and
3181 # we should not choose a depcomp mode which is confused by this.
3183 # We need to recreate these files for each test, as the compiler may
3184 # overwrite some of them when testing with obscure command lines.
3185 # This happens at least with the AIX C compiler.
3187 for i in 1 2 3 4 5 6; do
3188 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3189 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3190 # Solaris 8's {/usr,}/bin/sh.
3191 touch sub/conftst$i.h
3193 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3197 # after this tag, mechanisms are not by side-effect, so they'll
3198 # only be used when explicitly requested
3199 if test "x$enable_dependency_tracking" = xyes; then
3207 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3208 # mode. It turns out that the SunPro C++ compiler does not properly
3209 # handle `-M -o', and we need to detect this.
3210 if depmode=$depmode \
3211 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3212 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3213 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3214 >/dev/null 2>conftest.err &&
3215 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3216 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3217 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3218 # icc doesn't choke on unknown options, it will just issue warnings
3219 # or remarks (even with -Werror). So we grep stderr for any message
3220 # that says an option was ignored or not supported.
3221 # When given -MP, icc 7.0 and 7.1 complain thusly:
3222 # icc: Command line warning: ignoring option '-M'; no argument required
3223 # The diagnosis changed in icc 8.0:
3224 # icc: Command line remark: option '-MP' not supported
3225 if (grep 'ignoring option' conftest.err ||
3226 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3227 am_cv_CC_dependencies_compiler_type=$depmode
3236 am_cv_CC_dependencies_compiler_type=none
3240 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3241 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3242 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3247 test "x$enable_dependency_tracking" != xno \
3248 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3250 am__fastdepCC_FALSE='#'
3252 am__fastdepCC_TRUE='#'
3253 am__fastdepCC_FALSE=
3257 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3258 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3259 if test "${lt_cv_path_SED+set}" = set; then
3260 echo $ECHO_N "(cached) $ECHO_C" >&6
3262 # Loop through the user's path and test for sed and gsed.
3263 # Then use that list of sed's as ones to test for truncation.
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268 test -z "$as_dir" && as_dir=.
3269 for lt_ac_prog in sed gsed; do
3270 for ac_exec_ext in '' $ac_executable_extensions; do
3271 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3272 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3280 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3281 # along with /bin/sed that truncates output.
3282 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3283 test ! -f $lt_ac_sed && continue
3284 cat /dev/null > conftest.in
3286 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3287 # Check for GNU sed and select it if it is found.
3288 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3289 lt_cv_path_SED=$lt_ac_sed
3293 cat conftest.in conftest.in >conftest.tmp
3294 mv conftest.tmp conftest.in
3295 cp conftest.in conftest.nl
3297 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3298 cmp -s conftest.out conftest.nl || break
3299 # 10000 chars as input seems more than enough
3300 test $lt_ac_count -gt 10 && break
3301 lt_ac_count=`expr $lt_ac_count + 1`
3302 if test $lt_ac_count -gt $lt_ac_max; then
3303 lt_ac_max=$lt_ac_count
3304 lt_cv_path_SED=$lt_ac_sed
3313 echo "$as_me:$LINENO: result: $SED" >&5
3314 echo "${ECHO_T}$SED" >&6
3316 test -z "$SED" && SED=sed
3317 Xsed="$SED -e 1s/^X//"
3329 echo "$as_me:$LINENO: checking for egrep" >&5
3330 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3331 if test "${ac_cv_prog_egrep+set}" = set; then
3332 echo $ECHO_N "(cached) $ECHO_C" >&6
3334 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3335 then ac_cv_prog_egrep='grep -E'
3336 else ac_cv_prog_egrep='egrep'
3339 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3340 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3341 EGREP=$ac_cv_prog_egrep
3344 echo "$as_me:$LINENO: checking for fgrep" >&5
3345 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
3346 if test "${ac_cv_prog_fgrep+set}" = set; then
3347 echo $ECHO_N "(cached) $ECHO_C" >&6
3349 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
3350 then ac_cv_prog_fgrep='grep -F'
3351 else ac_cv_prog_fgrep='fgrep'
3354 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
3355 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
3356 FGREP=$ac_cv_prog_fgrep
3359 test -z "$GREP" && GREP=grep
3379 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3380 if test "${with_gnu_ld+set}" = set; then
3381 withval="$with_gnu_ld"
3382 test "$withval" = no || with_gnu_ld=yes
3387 if test "$GCC" = yes; then
3388 # Check if gcc -print-prog-name=ld gives a path.
3389 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3390 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3393 # gcc leaves a trailing carriage return which upsets mingw
3394 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3396 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3399 # Accept absolute paths.
3401 re_direlt='/[^/][^/]*/\.\./'
3402 # Canonicalize the pathname of ld
3403 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3404 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3405 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3407 test -z "$LD" && LD="$ac_prog"
3410 # If it fails, then pretend we aren't using GCC.
3414 # If it is relative, then search for the first ld in PATH.
3418 elif test "$with_gnu_ld" = yes; then
3419 echo "$as_me:$LINENO: checking for GNU ld" >&5
3420 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3422 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3423 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3425 if test "${lt_cv_path_LD+set}" = set; then
3426 echo $ECHO_N "(cached) $ECHO_C" >&6
3428 if test -z "$LD"; then
3429 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3430 for ac_dir in $PATH; do
3432 test -z "$ac_dir" && ac_dir=.
3433 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3434 lt_cv_path_LD="$ac_dir/$ac_prog"
3435 # Check to see if the program is GNU ld. I'd rather use --version,
3436 # but apparently some variants of GNU ld only accept -v.
3437 # Break only if it was the GNU/non-GNU ld that we prefer.
3438 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3439 *GNU* | *'with BFD'*)
3440 test "$with_gnu_ld" != no && break
3443 test "$with_gnu_ld" != yes && break
3450 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3455 if test -n "$LD"; then
3456 echo "$as_me:$LINENO: result: $LD" >&5
3457 echo "${ECHO_T}$LD" >&6
3459 echo "$as_me:$LINENO: result: no" >&5
3460 echo "${ECHO_T}no" >&6
3462 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3463 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3464 { (exit 1); exit 1; }; }
3465 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3466 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3467 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3468 echo $ECHO_N "(cached) $ECHO_C" >&6
3470 # I'd rather use --version here, but apparently some GNU lds only accept -v.
3471 case `$LD -v 2>&1 </dev/null` in
3472 *GNU* | *'with BFD'*)
3473 lt_cv_prog_gnu_ld=yes
3476 lt_cv_prog_gnu_ld=no
3480 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3481 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3482 with_gnu_ld=$lt_cv_prog_gnu_ld
3493 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
3494 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
3495 if test "${lt_cv_path_NM+set}" = set; then
3496 echo $ECHO_N "(cached) $ECHO_C" >&6
3498 if test -n "$NM"; then
3499 # Let the user override the test.
3502 lt_nm_to_check="${ac_tool_prefix}nm"
3503 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3504 lt_nm_to_check="$lt_nm_to_check nm"
3506 for lt_tmp_nm in $lt_nm_to_check; do
3507 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3508 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3510 test -z "$ac_dir" && ac_dir=.
3511 tmp_nm="$ac_dir/$lt_tmp_nm"
3512 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3513 # Check to see if the nm accepts a BSD-compat flag.
3514 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3515 # nm: unknown option "B" ignored
3516 # Tru64's nm complains that /dev/null is an invalid object file
3517 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3518 */dev/null* | *'Invalid file or object type'*)
3519 lt_cv_path_NM="$tmp_nm -B"
3523 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3525 lt_cv_path_NM="$tmp_nm -p"
3529 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3530 continue # so that we can try to find one that supports BSD flags
3539 : ${lt_cv_path_NM=no}
3542 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3543 echo "${ECHO_T}$lt_cv_path_NM" >&6
3544 if test "$lt_cv_path_NM" != "no"; then
3547 # Didn't find any BSD compatible name lister, look for dumpbin.
3548 if test -n "$ac_tool_prefix"; then
3549 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
3551 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3552 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3553 echo "$as_me:$LINENO: checking for $ac_word" >&5
3554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3555 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
3556 echo $ECHO_N "(cached) $ECHO_C" >&6
3558 if test -n "$DUMPBIN"; then
3559 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
3561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3565 test -z "$as_dir" && as_dir=.
3566 for ac_exec_ext in '' $ac_executable_extensions; do
3567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3568 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
3569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3577 DUMPBIN=$ac_cv_prog_DUMPBIN
3578 if test -n "$DUMPBIN"; then
3579 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
3580 echo "${ECHO_T}$DUMPBIN" >&6
3582 echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6
3586 test -n "$DUMPBIN" && break
3589 if test -z "$DUMPBIN"; then
3590 ac_ct_DUMPBIN=$DUMPBIN
3591 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
3593 # Extract the first word of "$ac_prog", so it can be a program name with args.
3594 set dummy $ac_prog; ac_word=$2
3595 echo "$as_me:$LINENO: checking for $ac_word" >&5
3596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3597 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
3598 echo $ECHO_N "(cached) $ECHO_C" >&6
3600 if test -n "$ac_ct_DUMPBIN"; then
3601 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
3603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3607 test -z "$as_dir" && as_dir=.
3608 for ac_exec_ext in '' $ac_executable_extensions; do
3609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3610 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
3611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3619 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
3620 if test -n "$ac_ct_DUMPBIN"; then
3621 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
3622 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
3624 echo "$as_me:$LINENO: result: no" >&5
3625 echo "${ECHO_T}no" >&6
3628 test -n "$ac_ct_DUMPBIN" && break
3630 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
3632 DUMPBIN=$ac_ct_DUMPBIN
3636 if test "$DUMPBIN" != ":"; then
3640 test -z "$NM" && NM=nm
3647 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
3648 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
3649 if test "${lt_cv_nm_interface+set}" = set; then
3650 echo $ECHO_N "(cached) $ECHO_C" >&6
3652 lt_cv_nm_interface="BSD nm"
3653 echo "int some_variable = 0;" > conftest.$ac_ext
3654 (eval echo "\"\$as_me:3654: $ac_compile\"" >&5)
3655 (eval "$ac_compile" 2>conftest.err)
3656 cat conftest.err >&5
3657 (eval echo "\"\$as_me:3657: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3658 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
3659 cat conftest.err >&5
3660 (eval echo "\"\$as_me:3660: output\"" >&5)
3661 cat conftest.out >&5
3662 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
3663 lt_cv_nm_interface="MS dumpbin"
3667 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
3668 echo "${ECHO_T}$lt_cv_nm_interface" >&6
3670 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3671 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3673 if test "$LN_S" = "ln -s"; then
3674 echo "$as_me:$LINENO: result: yes" >&5
3675 echo "${ECHO_T}yes" >&6
3677 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3678 echo "${ECHO_T}no, using $LN_S" >&6
3681 # find the maximum length of command line arguments
3682 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3683 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3684 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3685 echo $ECHO_N "(cached) $ECHO_C" >&6
3692 # On DJGPP, this test can blow up pretty badly due to problems in libc
3693 # (any single argument exceeding 2000 bytes causes a buffer overrun
3694 # during glob expansion). Even if it were fixed, the result of this
3695 # check would be larger than it should be.
3696 lt_cv_sys_max_cmd_len=12288; # 12K is about right
3700 # Under GNU Hurd, this test is not required because there is
3701 # no limit to the length of command line arguments.
3702 # Libtool will interpret -1 as no limit whatsoever
3703 lt_cv_sys_max_cmd_len=-1;
3707 # On Win9x/ME, this test blows up -- it succeeds, but takes
3708 # about 5 minutes as the teststring grows exponentially.
3709 # Worse, since 9x/ME are not pre-emptively multitasking,
3710 # you end up with a "frozen" computer, even though with patience
3711 # the test eventually succeeds (with a max line length of 256k).
3712 # Instead, let's just punt: use the minimum linelength reported by
3713 # all of the supported platforms: 8192 (on NT/2K/XP).
3714 lt_cv_sys_max_cmd_len=8192;
3718 # On AmigaOS with pdksh, this test takes hours, literally.
3719 # So we just punt and use a minimum line length of 8192.
3720 lt_cv_sys_max_cmd_len=8192;
3723 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3724 # This has been around since 386BSD, at least. Likely further.
3725 if test -x /sbin/sysctl; then
3726 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3727 elif test -x /usr/sbin/sysctl; then
3728 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3730 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
3732 # And add a safety zone
3733 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3734 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3738 # We know the value 262144 and hardcode it with a safety zone (like BSD)
3739 lt_cv_sys_max_cmd_len=196608
3743 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3744 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3745 # nice to cause kernel panics so lets avoid the loop below.
3746 # First set a reasonable default.
3747 lt_cv_sys_max_cmd_len=16384
3749 if test -x /sbin/sysconfig; then
3750 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3751 *1*) lt_cv_sys_max_cmd_len=-1 ;;
3756 lt_cv_sys_max_cmd_len=102400
3758 sysv5* | sco5v6* | sysv4.2uw2*)
3759 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3760 if test -n "$kargmax"; then
3761 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
3763 lt_cv_sys_max_cmd_len=32768
3767 # Make teststring a little bigger before we do anything with it.
3768 # a 1K string should be a reasonable start.
3769 for i in 1 2 3 4 5 6 7 8 ; do
3770 teststring=$teststring$teststring
3772 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
3773 # If test is not a shell built-in, we'll probably end up computing a
3774 # maximum length that is only half of the actual maximum length, but
3776 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
3777 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
3778 test $i != 17 # 1/2 MB should be enough
3781 teststring=$teststring$teststring
3783 # Only check the string length outside the loop.
3784 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
3786 # Add a significant safety factor because C++ compilers can tack on massive
3787 # amounts of additional arguments before passing them to the linker.
3788 # It appears as though 1/2 is a usable value.
3789 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
3795 if test -n $lt_cv_sys_max_cmd_len ; then
3796 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3797 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3799 echo "$as_me:$LINENO: result: none" >&5
3800 echo "${ECHO_T}none" >&6
3802 max_cmd_len=$lt_cv_sys_max_cmd_len
3814 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
3815 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
3816 # Try some XSI features
3819 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
3820 = c,a/b,, ) >/dev/null 2>&1 \
3822 echo "$as_me:$LINENO: result: $xsi_shell" >&5
3823 echo "${ECHO_T}$xsi_shell" >&6
3826 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
3827 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
3829 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
3831 && lt_shell_append=yes
3832 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
3833 echo "${ECHO_T}$lt_shell_append" >&6
3836 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3846 # test EBCDIC or ASCII
3847 case `echo X|tr X '\101'` in
3848 A) # ASCII based system
3849 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
3850 lt_SP2NL='tr \040 \012'
3851 lt_NL2SP='tr \015\012 \040\040'
3853 *) # EBCDIC based system
3854 lt_SP2NL='tr \100 \n'
3855 lt_NL2SP='tr \r\n \100\100'
3867 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3868 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3869 if test "${lt_cv_ld_reload_flag+set}" = set; then
3870 echo $ECHO_N "(cached) $ECHO_C" >&6
3872 lt_cv_ld_reload_flag='-r'
3874 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3875 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3876 reload_flag=$lt_cv_ld_reload_flag
3877 case $reload_flag in
3879 *) reload_flag=" $reload_flag" ;;
3881 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3884 if test "$GCC" = yes; then
3885 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3887 reload_cmds='$LD$reload_flag -o $output$reload_objs'
3901 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
3902 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
3903 if test "${lt_cv_deplibs_check_method+set}" = set; then
3904 echo $ECHO_N "(cached) $ECHO_C" >&6
3906 lt_cv_file_magic_cmd='$MAGIC_CMD'
3907 lt_cv_file_magic_test_file=
3908 lt_cv_deplibs_check_method='unknown'
3909 # Need to set the preceding variable on all platforms that support
3910 # interlibrary dependencies.
3911 # 'none' -- dependencies not supported.
3912 # `unknown' -- same as none, but documents that we really don't know.
3913 # 'pass_all' -- all dependencies passed with no checks.
3914 # 'test_compile' -- check by making test program.
3915 # 'file_magic [[regex]]' -- check by looking for files in library path
3916 # which responds to the $file_magic_cmd with a given extended regex.
3917 # If you have `file' or equivalent on your system and you're not sure
3918 # whether `pass_all' will *always* work, you probably want this one.
3922 lt_cv_deplibs_check_method=pass_all
3926 lt_cv_deplibs_check_method=pass_all
3930 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3931 lt_cv_file_magic_cmd='/usr/bin/file -L'
3932 lt_cv_file_magic_test_file=/shlib/libc.so
3936 # func_win32_libid is a shell function defined in ltmain.sh
3937 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3938 lt_cv_file_magic_cmd='func_win32_libid'
3942 # Base MSYS/MinGW do not provide the 'file' command needed by
3943 # func_win32_libid shell function, so use a weaker test based on 'objdump',
3944 # unless we find 'file', for example because we are cross-compiling.
3945 if ( file / ) >/dev/null 2>&1; then
3946 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3947 lt_cv_file_magic_cmd='func_win32_libid'
3949 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3950 lt_cv_file_magic_cmd='$OBJDUMP -f'
3954 darwin* | rhapsody*)
3955 lt_cv_deplibs_check_method=pass_all
3958 freebsd* | dragonfly*)
3959 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3962 # Not sure whether the presence of OpenBSD here was a mistake.
3963 # Let's accept both of them until this is cleared up.
3964 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3965 lt_cv_file_magic_cmd=/usr/bin/file
3966 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3970 lt_cv_deplibs_check_method=pass_all
3975 lt_cv_deplibs_check_method=pass_all
3978 hpux10.20* | hpux11*)
3979 lt_cv_file_magic_cmd=/usr/bin/file
3982 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3983 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3986 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
3987 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3990 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3991 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3997 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3998 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4001 irix5* | irix6* | nonstopux*)
4003 *-32|*"-32 ") libmagic=32-bit;;
4004 *-n32|*"-n32 ") libmagic=N32;;
4005 *-64|*"-64 ") libmagic=64-bit;;
4006 *) libmagic=never-match;;
4008 lt_cv_deplibs_check_method=pass_all
4011 # This must be Linux ELF.
4012 linux* | k*bsd*-gnu)
4013 lt_cv_deplibs_check_method=pass_all
4017 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4018 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4020 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4025 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4026 lt_cv_file_magic_cmd=/usr/bin/file
4027 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4031 lt_cv_deplibs_check_method=pass_all
4035 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4036 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4038 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4042 osf3* | osf4* | osf5*)
4043 lt_cv_deplibs_check_method=pass_all
4047 lt_cv_deplibs_check_method=pass_all
4051 lt_cv_deplibs_check_method=pass_all
4054 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4055 lt_cv_deplibs_check_method=pass_all
4059 case $host_vendor in
4061 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4062 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4065 lt_cv_deplibs_check_method=pass_all
4068 lt_cv_file_magic_cmd='/bin/file'
4069 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4072 lt_cv_file_magic_cmd='/bin/file'
4073 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4074 lt_cv_file_magic_test_file=/lib/libc.so
4077 lt_cv_deplibs_check_method=pass_all
4080 lt_cv_deplibs_check_method=pass_all
4086 lt_cv_deplibs_check_method=pass_all
4091 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4092 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4093 file_magic_cmd=$lt_cv_file_magic_cmd
4094 deplibs_check_method=$lt_cv_deplibs_check_method
4095 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4108 if test -n "$ac_tool_prefix"; then
4109 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4110 set dummy ${ac_tool_prefix}ar; ac_word=$2
4111 echo "$as_me:$LINENO: checking for $ac_word" >&5
4112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4113 if test "${ac_cv_prog_AR+set}" = set; then
4114 echo $ECHO_N "(cached) $ECHO_C" >&6
4116 if test -n "$AR"; then
4117 ac_cv_prog_AR="$AR" # Let the user override the test.
4119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123 test -z "$as_dir" && as_dir=.
4124 for ac_exec_ext in '' $ac_executable_extensions; do
4125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4126 ac_cv_prog_AR="${ac_tool_prefix}ar"
4127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4136 if test -n "$AR"; then
4137 echo "$as_me:$LINENO: result: $AR" >&5
4138 echo "${ECHO_T}$AR" >&6
4140 echo "$as_me:$LINENO: result: no" >&5
4141 echo "${ECHO_T}no" >&6
4145 if test -z "$ac_cv_prog_AR"; then
4147 # Extract the first word of "ar", so it can be a program name with args.
4148 set dummy ar; ac_word=$2
4149 echo "$as_me:$LINENO: checking for $ac_word" >&5
4150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4151 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4152 echo $ECHO_N "(cached) $ECHO_C" >&6
4154 if test -n "$ac_ct_AR"; then
4155 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4161 test -z "$as_dir" && as_dir=.
4162 for ac_exec_ext in '' $ac_executable_extensions; do
4163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4164 ac_cv_prog_ac_ct_AR="ar"
4165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4171 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
4174 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4175 if test -n "$ac_ct_AR"; then
4176 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4177 echo "${ECHO_T}$ac_ct_AR" >&6
4179 echo "$as_me:$LINENO: result: no" >&5
4180 echo "${ECHO_T}no" >&6
4188 test -z "$AR" && AR=ar
4189 test -z "$AR_FLAGS" && AR_FLAGS=cru
4201 if test -n "$ac_tool_prefix"; then
4202 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4203 set dummy ${ac_tool_prefix}strip; ac_word=$2
4204 echo "$as_me:$LINENO: checking for $ac_word" >&5
4205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4206 if test "${ac_cv_prog_STRIP+set}" = set; then
4207 echo $ECHO_N "(cached) $ECHO_C" >&6
4209 if test -n "$STRIP"; then
4210 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4216 test -z "$as_dir" && as_dir=.
4217 for ac_exec_ext in '' $ac_executable_extensions; do
4218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4219 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4228 STRIP=$ac_cv_prog_STRIP
4229 if test -n "$STRIP"; then
4230 echo "$as_me:$LINENO: result: $STRIP" >&5
4231 echo "${ECHO_T}$STRIP" >&6
4233 echo "$as_me:$LINENO: result: no" >&5
4234 echo "${ECHO_T}no" >&6
4238 if test -z "$ac_cv_prog_STRIP"; then
4240 # Extract the first word of "strip", so it can be a program name with args.
4241 set dummy strip; ac_word=$2
4242 echo "$as_me:$LINENO: checking for $ac_word" >&5
4243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4244 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4245 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 if test -n "$ac_ct_STRIP"; then
4248 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4254 test -z "$as_dir" && as_dir=.
4255 for ac_exec_ext in '' $ac_executable_extensions; do
4256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4257 ac_cv_prog_ac_ct_STRIP="strip"
4258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4264 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4267 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4268 if test -n "$ac_ct_STRIP"; then
4269 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4270 echo "${ECHO_T}$ac_ct_STRIP" >&6
4272 echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6
4278 STRIP="$ac_cv_prog_STRIP"
4281 test -z "$STRIP" && STRIP=:
4288 if test -n "$ac_tool_prefix"; then
4289 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4290 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4291 echo "$as_me:$LINENO: checking for $ac_word" >&5
4292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4293 if test "${ac_cv_prog_RANLIB+set}" = set; then
4294 echo $ECHO_N "(cached) $ECHO_C" >&6
4296 if test -n "$RANLIB"; then
4297 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4303 test -z "$as_dir" && as_dir=.
4304 for ac_exec_ext in '' $ac_executable_extensions; do
4305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4306 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4315 RANLIB=$ac_cv_prog_RANLIB
4316 if test -n "$RANLIB"; then
4317 echo "$as_me:$LINENO: result: $RANLIB" >&5
4318 echo "${ECHO_T}$RANLIB" >&6
4320 echo "$as_me:$LINENO: result: no" >&5
4321 echo "${ECHO_T}no" >&6
4325 if test -z "$ac_cv_prog_RANLIB"; then
4326 ac_ct_RANLIB=$RANLIB
4327 # Extract the first word of "ranlib", so it can be a program name with args.
4328 set dummy ranlib; ac_word=$2
4329 echo "$as_me:$LINENO: checking for $ac_word" >&5
4330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4331 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4332 echo $ECHO_N "(cached) $ECHO_C" >&6
4334 if test -n "$ac_ct_RANLIB"; then
4335 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4341 test -z "$as_dir" && as_dir=.
4342 for ac_exec_ext in '' $ac_executable_extensions; do
4343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4344 ac_cv_prog_ac_ct_RANLIB="ranlib"
4345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4354 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4355 if test -n "$ac_ct_RANLIB"; then
4356 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4357 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4359 echo "$as_me:$LINENO: result: no" >&5
4360 echo "${ECHO_T}no" >&6
4363 RANLIB=$ac_ct_RANLIB
4365 RANLIB="$ac_cv_prog_RANLIB"
4368 test -z "$RANLIB" && RANLIB=:
4375 # Determine commands to create old-style static archives.
4376 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
4377 old_postinstall_cmds='chmod 644 $oldlib'
4378 old_postuninstall_cmds=
4380 if test -n "$RANLIB"; then
4383 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4386 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
4389 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
4425 # If no C compiler was specified, use CC.
4428 # If no C compiler flags were specified, use CFLAGS.
4429 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4431 # Allow CC to be a program name with arguments.
4435 # Check for command to grab the raw symbol name followed by C symbol from nm.
4436 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
4437 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
4438 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4439 echo $ECHO_N "(cached) $ECHO_C" >&6
4442 # These are sane defaults that work on at least a few old systems.
4443 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4445 # Character class describing NM global symbol codes.
4446 symcode='[BCDEGRST]'
4448 # Regexp to match symbols that can be accessed directly from C.
4449 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4451 # Define system-specific variables.
4456 cygwin* | mingw* | pw32*)
4457 symcode='[ABCDGISTW]'
4460 if test "$host_cpu" = ia64; then
4461 symcode='[ABCDEGRST]'
4465 symcode='[BCDEGRST]'
4468 symcode='[BCDEGQRST]'
4479 sysv5* | sco5v6* | unixware* | OpenUNIX*)
4487 # If we're using GNU nm, then use its standard symbol codes.
4488 case `$NM -V 2>&1` in
4489 *GNU* | *'with BFD'*)
4490 symcode='[ABCDGIRSTW]' ;;
4493 # Transform an extracted symbol line into a proper C declaration.
4494 # Some systems (esp. on ia64) link data and code symbols differently,
4495 # so use this general approach.
4496 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4498 # Transform an extracted symbol line into symbol name and symbol address
4499 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
4501 # Handle CRLF in mingw tool chain
4505 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4509 # Try without a prefix underscore, then with it.
4510 for ac_symprfx in "" "_"; do
4512 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4513 symxfrm="\\1 $ac_symprfx\\2 \\2"
4515 # Write the raw and C identifiers.
4516 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
4517 # Fake it for dumpbin and say T for any non-static function
4518 # and D for any global variable.
4519 # Also find C++ and __fastcall symbols from MSVC++,
4520 # which start with @ or ?.
4521 lt_cv_sys_global_symbol_pipe="$AWK '"\
4522 " {last_section=section; section=\$ 3};"\
4523 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4524 " \$ 0!~/External *\|/{next};"\
4525 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4526 " {if(hide[section]) next};"\
4527 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4528 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4529 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
4530 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4531 " ' prfx=^$ac_symprfx"
4533 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4536 # Check to see that the pipe works correctly.
4540 cat > conftest.$ac_ext <<_LT_EOF
4545 void nm_test_func(void);
4546 void nm_test_func(void){}
4550 int main(){nm_test_var='a';nm_test_func();return(0);}
4553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4554 (eval $ac_compile) 2>&5
4556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557 (exit $ac_status); }; then
4558 # Now try to grab the symbols.
4560 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
4561 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4564 (exit $ac_status); } && test -s "$nlist"; then
4565 # Try sorting and uniquifying the output.
4566 if sort "$nlist" | uniq > "$nlist"T; then
4567 mv -f "$nlist"T "$nlist"
4572 # Make sure that we snagged all the symbols we need.
4573 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
4574 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
4575 cat <<_LT_EOF > conftest.$ac_ext
4581 # Now generate the symbol file.
4582 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4584 cat <<_LT_EOF >> conftest.$ac_ext
4586 /* The mapping between symbol names and symbols. */
4591 lt__PROGRAM__LTX_preloaded_symbols[] =
4593 { "@PROGRAM@", (void *) 0 },
4595 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
4596 cat <<\_LT_EOF >> conftest.$ac_ext
4600 /* This works around a problem in FreeBSD linker */
4601 #ifdef FREEBSD_WORKAROUND
4602 static const void *lt_preloaded_setup() {
4603 return lt__PROGRAM__LTX_preloaded_symbols;
4611 # Now try linking the two files.
4612 mv conftest.$ac_objext conftstm.$ac_objext
4613 lt_save_LIBS="$LIBS"
4614 lt_save_CFLAGS="$CFLAGS"
4615 LIBS="conftstm.$ac_objext"
4616 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
4617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4618 (eval $ac_link) 2>&5
4620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4621 (exit $ac_status); } && test -s conftest${ac_exeext}; then
4624 LIBS="$lt_save_LIBS"
4625 CFLAGS="$lt_save_CFLAGS"
4627 echo "cannot find nm_test_func in $nlist" >&5
4630 echo "cannot find nm_test_var in $nlist" >&5
4633 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
4636 echo "$progname: failed program was:" >&5
4637 cat conftest.$ac_ext >&5
4639 rm -f conftest* conftst*
4641 # Do not use the global_symbol_pipe unless it works.
4642 if test "$pipe_works" = yes; then
4645 lt_cv_sys_global_symbol_pipe=
4651 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4652 lt_cv_sys_global_symbol_to_cdecl=
4654 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4655 echo "$as_me:$LINENO: result: failed" >&5
4656 echo "${ECHO_T}failed" >&6
4658 echo "$as_me:$LINENO: result: ok" >&5
4659 echo "${ECHO_T}ok" >&6
4679 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4680 if test "${enable_libtool_lock+set}" = set; then
4681 enableval="$enable_libtool_lock"
4684 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4686 # Some flags need to be propagated to the compiler or linker for good
4690 # Find out which ABI we are using.
4691 echo 'int i;' > conftest.$ac_ext
4692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4693 (eval $ac_compile) 2>&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); }; then
4697 case `/usr/bin/file conftest.$ac_objext` in
4709 # Find out which ABI we are using.
4710 echo '#line 4710 "configure"' > conftest.$ac_ext
4711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4712 (eval $ac_compile) 2>&5
4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); }; then
4716 if test "$lt_cv_prog_gnu_ld" = yes; then
4717 case `/usr/bin/file conftest.$ac_objext` in
4719 LD="${LD-ld} -melf32bsmip"
4722 LD="${LD-ld} -melf32bmipn32"
4725 LD="${LD-ld} -melf64bmip"
4729 case `/usr/bin/file conftest.$ac_objext` in
4745 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4746 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
4747 # Find out which ABI we are using.
4748 echo 'int i;' > conftest.$ac_ext
4749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4750 (eval $ac_compile) 2>&5
4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 (exit $ac_status); }; then
4754 case `/usr/bin/file conftest.o` in
4757 x86_64-*kfreebsd*-gnu)
4758 LD="${LD-ld} -m elf_i386_fbsd"
4761 LD="${LD-ld} -m elf_i386"
4763 ppc64-*linux*|powerpc64-*linux*)
4764 LD="${LD-ld} -m elf32ppclinux"
4767 LD="${LD-ld} -m elf_s390"
4770 LD="${LD-ld} -m elf32_sparc"
4776 x86_64-*kfreebsd*-gnu)
4777 LD="${LD-ld} -m elf_x86_64_fbsd"
4780 LD="${LD-ld} -m elf_x86_64"
4782 ppc*-*linux*|powerpc*-*linux*)
4783 LD="${LD-ld} -m elf64ppc"
4785 s390*-*linux*|s390*-*tpf*)
4786 LD="${LD-ld} -m elf64_s390"
4789 LD="${LD-ld} -m elf64_sparc"
4799 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4800 SAVE_CFLAGS="$CFLAGS"
4801 CFLAGS="$CFLAGS -belf"
4802 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4803 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4804 if test "${lt_cv_cc_needs_belf+set}" = set; then
4805 echo $ECHO_N "(cached) $ECHO_C" >&6
4808 ac_cpp='$CPP $CPPFLAGS'
4809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4813 cat >conftest.$ac_ext <<_ACEOF
4816 cat confdefs.h >>conftest.$ac_ext
4817 cat >>conftest.$ac_ext <<_ACEOF
4818 /* end confdefs.h. */
4828 rm -f conftest.$ac_objext conftest$ac_exeext
4829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4830 (eval $ac_link) 2>conftest.er1
4832 grep -v '^ *+' conftest.er1 >conftest.err
4834 cat conftest.err >&5
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); } &&
4837 { ac_try='test -z "$ac_c_werror_flag"
4838 || test ! -s conftest.err'
4839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); }; } &&
4844 { ac_try='test -s conftest$ac_exeext'
4845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); }; }; then
4850 lt_cv_cc_needs_belf=yes
4852 echo "$as_me: failed program was:" >&5
4853 sed 's/^/| /' conftest.$ac_ext >&5
4855 lt_cv_cc_needs_belf=no
4857 rm -f conftest.err conftest.$ac_objext \
4858 conftest$ac_exeext conftest.$ac_ext
4860 ac_cpp='$CPP $CPPFLAGS'
4861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4866 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4867 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4868 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4869 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4870 CFLAGS="$SAVE_CFLAGS"
4874 # Find out which ABI we are using.
4875 echo 'int i;' > conftest.$ac_ext
4876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4877 (eval $ac_compile) 2>&5
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); }; then
4881 case `/usr/bin/file conftest.o` in
4883 case $lt_cv_prog_gnu_ld in
4884 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4885 *) LD="${LD-ld} -64" ;;
4894 need_locks="$enable_libtool_lock"
4897 ac_cpp='$CPP $CPPFLAGS'
4898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4901 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4902 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4903 # On Suns, sometimes $CPP names a directory.
4904 if test -n "$CPP" && test -d "$CPP"; then
4907 if test -z "$CPP"; then
4908 if test "${ac_cv_prog_CPP+set}" = set; then
4909 echo $ECHO_N "(cached) $ECHO_C" >&6
4911 # Double quotes because CPP needs to be expanded
4912 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4915 for ac_c_preproc_warn_flag in '' yes
4917 # Use a header file that comes with gcc, so configuring glibc
4918 # with a fresh cross-compiler works.
4919 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4920 # <limits.h> exists even on freestanding compilers.
4921 # On the NeXT, cc -E runs the code through the compiler's parser,
4922 # not just through cpp. "Syntax error" is here to catch this case.
4923 cat >conftest.$ac_ext <<_ACEOF
4926 cat confdefs.h >>conftest.$ac_ext
4927 cat >>conftest.$ac_ext <<_ACEOF
4928 /* end confdefs.h. */
4930 # include <limits.h>
4932 # include <assert.h>
4936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4939 grep -v '^ *+' conftest.er1 >conftest.err
4941 cat conftest.err >&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); } >/dev/null; then
4944 if test -s conftest.err; then
4945 ac_cpp_err=$ac_c_preproc_warn_flag
4946 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4953 if test -z "$ac_cpp_err"; then
4956 echo "$as_me: failed program was:" >&5
4957 sed 's/^/| /' conftest.$ac_ext >&5
4959 # Broken: fails on valid input.
4962 rm -f conftest.err conftest.$ac_ext
4964 # OK, works on sane cases. Now check whether non-existent headers
4965 # can be detected and how.
4966 cat >conftest.$ac_ext <<_ACEOF
4969 cat confdefs.h >>conftest.$ac_ext
4970 cat >>conftest.$ac_ext <<_ACEOF
4971 /* end confdefs.h. */
4972 #include <ac_nonexistent.h>
4974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4975 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4977 grep -v '^ *+' conftest.er1 >conftest.err
4979 cat conftest.err >&5
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); } >/dev/null; then
4982 if test -s conftest.err; then
4983 ac_cpp_err=$ac_c_preproc_warn_flag
4984 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4991 if test -z "$ac_cpp_err"; then
4992 # Broken: success on invalid input.
4995 echo "$as_me: failed program was:" >&5
4996 sed 's/^/| /' conftest.$ac_ext >&5
4998 # Passes both tests.
5002 rm -f conftest.err conftest.$ac_ext
5005 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5006 rm -f conftest.err conftest.$ac_ext
5007 if $ac_preproc_ok; then
5019 echo "$as_me:$LINENO: result: $CPP" >&5
5020 echo "${ECHO_T}$CPP" >&6
5022 for ac_c_preproc_warn_flag in '' yes
5024 # Use a header file that comes with gcc, so configuring glibc
5025 # with a fresh cross-compiler works.
5026 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5027 # <limits.h> exists even on freestanding compilers.
5028 # On the NeXT, cc -E runs the code through the compiler's parser,
5029 # not just through cpp. "Syntax error" is here to catch this case.
5030 cat >conftest.$ac_ext <<_ACEOF
5033 cat confdefs.h >>conftest.$ac_ext
5034 cat >>conftest.$ac_ext <<_ACEOF
5035 /* end confdefs.h. */
5037 # include <limits.h>
5039 # include <assert.h>
5043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5044 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5046 grep -v '^ *+' conftest.er1 >conftest.err
5048 cat conftest.err >&5
5049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5050 (exit $ac_status); } >/dev/null; then
5051 if test -s conftest.err; then
5052 ac_cpp_err=$ac_c_preproc_warn_flag
5053 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5060 if test -z "$ac_cpp_err"; then
5063 echo "$as_me: failed program was:" >&5
5064 sed 's/^/| /' conftest.$ac_ext >&5
5066 # Broken: fails on valid input.
5069 rm -f conftest.err conftest.$ac_ext
5071 # OK, works on sane cases. Now check whether non-existent headers
5072 # can be detected and how.
5073 cat >conftest.$ac_ext <<_ACEOF
5076 cat confdefs.h >>conftest.$ac_ext
5077 cat >>conftest.$ac_ext <<_ACEOF
5078 /* end confdefs.h. */
5079 #include <ac_nonexistent.h>
5081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5084 grep -v '^ *+' conftest.er1 >conftest.err
5086 cat conftest.err >&5
5087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088 (exit $ac_status); } >/dev/null; then
5089 if test -s conftest.err; then
5090 ac_cpp_err=$ac_c_preproc_warn_flag
5091 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5098 if test -z "$ac_cpp_err"; then
5099 # Broken: success on invalid input.
5102 echo "$as_me: failed program was:" >&5
5103 sed 's/^/| /' conftest.$ac_ext >&5
5105 # Passes both tests.
5109 rm -f conftest.err conftest.$ac_ext
5112 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5113 rm -f conftest.err conftest.$ac_ext
5114 if $ac_preproc_ok; then
5117 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5118 See \`config.log' for more details." >&5
5119 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5120 See \`config.log' for more details." >&2;}
5121 { (exit 1); exit 1; }; }
5125 ac_cpp='$CPP $CPPFLAGS'
5126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5131 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5132 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5133 if test "${ac_cv_header_stdc+set}" = set; then
5134 echo $ECHO_N "(cached) $ECHO_C" >&6
5136 cat >conftest.$ac_ext <<_ACEOF
5139 cat confdefs.h >>conftest.$ac_ext
5140 cat >>conftest.$ac_ext <<_ACEOF
5141 /* end confdefs.h. */
5155 rm -f conftest.$ac_objext
5156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5157 (eval $ac_compile) 2>conftest.er1
5159 grep -v '^ *+' conftest.er1 >conftest.err
5161 cat conftest.err >&5
5162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163 (exit $ac_status); } &&
5164 { ac_try='test -z "$ac_c_werror_flag"
5165 || test ! -s conftest.err'
5166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170 (exit $ac_status); }; } &&
5171 { ac_try='test -s conftest.$ac_objext'
5172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5176 (exit $ac_status); }; }; then
5177 ac_cv_header_stdc=yes
5179 echo "$as_me: failed program was:" >&5
5180 sed 's/^/| /' conftest.$ac_ext >&5
5182 ac_cv_header_stdc=no
5184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5186 if test $ac_cv_header_stdc = yes; then
5187 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5188 cat >conftest.$ac_ext <<_ACEOF
5191 cat confdefs.h >>conftest.$ac_ext
5192 cat >>conftest.$ac_ext <<_ACEOF
5193 /* end confdefs.h. */
5197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5198 $EGREP "memchr" >/dev/null 2>&1; then
5201 ac_cv_header_stdc=no
5207 if test $ac_cv_header_stdc = yes; then
5208 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5209 cat >conftest.$ac_ext <<_ACEOF
5212 cat confdefs.h >>conftest.$ac_ext
5213 cat >>conftest.$ac_ext <<_ACEOF
5214 /* end confdefs.h. */
5218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5219 $EGREP "free" >/dev/null 2>&1; then
5222 ac_cv_header_stdc=no
5228 if test $ac_cv_header_stdc = yes; then
5229 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5230 if test "$cross_compiling" = yes; then
5233 cat >conftest.$ac_ext <<_ACEOF
5236 cat confdefs.h >>conftest.$ac_ext
5237 cat >>conftest.$ac_ext <<_ACEOF
5238 /* end confdefs.h. */
5240 #if ((' ' & 0x0FF) == 0x020)
5241 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5242 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5244 # define ISLOWER(c) \
5245 (('a' <= (c) && (c) <= 'i') \
5246 || ('j' <= (c) && (c) <= 'r') \
5247 || ('s' <= (c) && (c) <= 'z'))
5248 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5251 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5256 for (i = 0; i < 256; i++)
5257 if (XOR (islower (i), ISLOWER (i))
5258 || toupper (i) != TOUPPER (i))
5263 rm -f conftest$ac_exeext
5264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5265 (eval $ac_link) 2>&5
5267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); }; }; then
5276 echo "$as_me: program exited with status $ac_status" >&5
5277 echo "$as_me: failed program was:" >&5
5278 sed 's/^/| /' conftest.$ac_ext >&5
5281 ac_cv_header_stdc=no
5283 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5287 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5288 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5289 if test $ac_cv_header_stdc = yes; then
5291 cat >>confdefs.h <<\_ACEOF
5292 #define STDC_HEADERS 1
5297 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5307 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5308 inttypes.h stdint.h unistd.h
5310 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5311 echo "$as_me:$LINENO: checking for $ac_header" >&5
5312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5314 echo $ECHO_N "(cached) $ECHO_C" >&6
5316 cat >conftest.$ac_ext <<_ACEOF
5319 cat confdefs.h >>conftest.$ac_ext
5320 cat >>conftest.$ac_ext <<_ACEOF
5321 /* end confdefs.h. */
5322 $ac_includes_default
5324 #include <$ac_header>
5326 rm -f conftest.$ac_objext
5327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5328 (eval $ac_compile) 2>conftest.er1
5330 grep -v '^ *+' conftest.er1 >conftest.err
5332 cat conftest.err >&5
5333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5334 (exit $ac_status); } &&
5335 { ac_try='test -z "$ac_c_werror_flag"
5336 || test ! -s conftest.err'
5337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341 (exit $ac_status); }; } &&
5342 { ac_try='test -s conftest.$ac_objext'
5343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5347 (exit $ac_status); }; }; then
5348 eval "$as_ac_Header=yes"
5350 echo "$as_me: failed program was:" >&5
5351 sed 's/^/| /' conftest.$ac_ext >&5
5353 eval "$as_ac_Header=no"
5355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5360 cat >>confdefs.h <<_ACEOF
5361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5370 for ac_header in dlfcn.h
5372 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5373 echo "$as_me:$LINENO: checking for $ac_header" >&5
5374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5376 echo $ECHO_N "(cached) $ECHO_C" >&6
5378 cat >conftest.$ac_ext <<_ACEOF
5381 cat confdefs.h >>conftest.$ac_ext
5382 cat >>conftest.$ac_ext <<_ACEOF
5383 /* end confdefs.h. */
5384 $ac_includes_default
5386 #include <$ac_header>
5388 rm -f conftest.$ac_objext
5389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5390 (eval $ac_compile) 2>conftest.er1
5392 grep -v '^ *+' conftest.er1 >conftest.err
5394 cat conftest.err >&5
5395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); } &&
5397 { ac_try='test -z "$ac_c_werror_flag"
5398 || test ! -s conftest.err'
5399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5403 (exit $ac_status); }; } &&
5404 { ac_try='test -s conftest.$ac_objext'
5405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 (exit $ac_status); }; }; then
5410 eval "$as_ac_Header=yes"
5412 echo "$as_me: failed program was:" >&5
5413 sed 's/^/| /' conftest.$ac_ext >&5
5415 eval "$as_ac_Header=no"
5417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5422 cat >>confdefs.h <<_ACEOF
5423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5432 # This can be used to rebuild libtool when needed
5433 LIBTOOL_DEPS="$ltmain"
5435 # Always use our own libtool.
5436 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5462 test -z "$LN_S" && LN_S="ln -s"
5477 if test -n "${ZSH_VERSION+set}" ; then
5478 setopt NO_GLOB_SUBST
5481 echo "$as_me:$LINENO: checking for objdir" >&5
5482 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5483 if test "${lt_cv_objdir+set}" = set; then
5484 echo $ECHO_N "(cached) $ECHO_C" >&6
5486 rm -f .libs 2>/dev/null
5487 mkdir .libs 2>/dev/null
5488 if test -d .libs; then
5491 # MS-DOS does not allow filenames that begin with a dot.
5494 rmdir .libs 2>/dev/null
5496 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5497 echo "${ECHO_T}$lt_cv_objdir" >&6
5498 objdir=$lt_cv_objdir
5504 cat >>confdefs.h <<_ACEOF
5505 #define LT_OBJDIR "$lt_cv_objdir/"
5526 # AIX sometimes has problems with the GCC collect2 program. For some
5527 # reason, if we set the COLLECT_NAMES environment variable, the problems
5528 # vanish in a puff of smoke.
5529 if test "X${COLLECT_NAMES+set}" != Xset; then
5531 export COLLECT_NAMES
5536 # Sed substitution that helps us do robust quoting. It backslashifies
5537 # metacharacters that are still active within double-quoted strings.
5538 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5540 # Same as above, but do not quote variable references.
5541 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5543 # Sed substitution to delay expansion of an escaped shell variable in a
5544 # double_quote_subst'ed string.
5545 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5547 # Sed substitution to delay expansion of an escaped single quote.
5548 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5550 # Sed substitution to avoid accidental globbing in evaled expressions
5551 no_glob_subst='s/\*/\\\*/g'
5555 can_build_shared=yes
5557 # All known linkers require a `.a' archive for static linking (except MSVC,
5558 # which needs '.lib').
5561 with_gnu_ld="$lt_cv_prog_gnu_ld"
5564 old_CFLAGS="$CFLAGS"
5566 # Set sane defaults for various variables
5567 test -z "$CC" && CC=cc
5568 test -z "$LTCC" && LTCC=$CC
5569 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
5570 test -z "$LD" && LD=ld
5571 test -z "$ac_objext" && ac_objext=o
5573 for cc_temp in $compiler""; do
5575 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
5576 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
5581 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
5584 # Only perform the check for file, if the check method requires it
5585 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5586 case $deplibs_check_method in
5588 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5589 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5590 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5591 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5592 echo $ECHO_N "(cached) $ECHO_C" >&6
5596 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5599 lt_save_MAGIC_CMD="$MAGIC_CMD"
5600 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5601 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5602 for ac_dir in $ac_dummy; do
5604 test -z "$ac_dir" && ac_dir=.
5605 if test -f $ac_dir/${ac_tool_prefix}file; then
5606 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5607 if test -n "$file_magic_test_file"; then
5608 case $deplibs_check_method in
5610 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5611 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5612 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5613 $EGREP "$file_magic_regex" > /dev/null; then
5618 *** Warning: the command libtool uses to detect shared libraries,
5619 *** $file_magic_cmd, produces output that libtool cannot recognize.
5620 *** The result is that libtool may fail to recognize shared libraries
5621 *** as such. This will affect the creation of libtool libraries that
5622 *** depend on shared libraries, but programs linked with such libtool
5623 *** libraries will work regardless of this problem. Nevertheless, you
5624 *** may want to report the problem to your system manager and/or to
5625 *** bug-libtool@gnu.org
5635 MAGIC_CMD="$lt_save_MAGIC_CMD"
5640 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5641 if test -n "$MAGIC_CMD"; then
5642 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5643 echo "${ECHO_T}$MAGIC_CMD" >&6
5645 echo "$as_me:$LINENO: result: no" >&5
5646 echo "${ECHO_T}no" >&6
5653 if test -z "$lt_cv_path_MAGIC_CMD"; then
5654 if test -n "$ac_tool_prefix"; then
5655 echo "$as_me:$LINENO: checking for file" >&5
5656 echo $ECHO_N "checking for file... $ECHO_C" >&6
5657 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5658 echo $ECHO_N "(cached) $ECHO_C" >&6
5662 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5665 lt_save_MAGIC_CMD="$MAGIC_CMD"
5666 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5667 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5668 for ac_dir in $ac_dummy; do
5670 test -z "$ac_dir" && ac_dir=.
5671 if test -f $ac_dir/file; then
5672 lt_cv_path_MAGIC_CMD="$ac_dir/file"
5673 if test -n "$file_magic_test_file"; then
5674 case $deplibs_check_method in
5676 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5677 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5678 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5679 $EGREP "$file_magic_regex" > /dev/null; then
5684 *** Warning: the command libtool uses to detect shared libraries,
5685 *** $file_magic_cmd, produces output that libtool cannot recognize.
5686 *** The result is that libtool may fail to recognize shared libraries
5687 *** as such. This will affect the creation of libtool libraries that
5688 *** depend on shared libraries, but programs linked with such libtool
5689 *** libraries will work regardless of this problem. Nevertheless, you
5690 *** may want to report the problem to your system manager and/or to
5691 *** bug-libtool@gnu.org
5701 MAGIC_CMD="$lt_save_MAGIC_CMD"
5706 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5707 if test -n "$MAGIC_CMD"; then
5708 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
5709 echo "${ECHO_T}$MAGIC_CMD" >&6
5711 echo "$as_me:$LINENO: result: no" >&5
5712 echo "${ECHO_T}no" >&6
5725 # Use C for the default configuration in the libtool script
5729 ac_cpp='$CPP $CPPFLAGS'
5730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5735 # Source file extension for C test sources.
5738 # Object file extension for compiled C test sources.
5742 # Code to be used in simple compile tests
5743 lt_simple_compile_test_code="int some_variable = 0;"
5745 # Code to be used in simple link tests
5746 lt_simple_link_test_code='int main(){return(0);}'
5754 # If no C compiler was specified, use CC.
5757 # If no C compiler flags were specified, use CFLAGS.
5758 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5760 # Allow CC to be a program name with arguments.
5763 # Save the default compiler, since it gets overwritten when the other
5764 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
5765 compiler_DEFAULT=$CC
5767 # save warnings/boilerplate of simple test code
5768 ac_outfile=conftest.$ac_objext
5769 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
5770 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
5771 _lt_compiler_boilerplate=`cat conftest.err`
5774 ac_outfile=conftest.$ac_objext
5775 echo "$lt_simple_link_test_code" >conftest.$ac_ext
5776 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
5777 _lt_linker_boilerplate=`cat conftest.err`
5782 ## There is no encapsulation within the following macros, do not change
5783 ## the running order or otherwise move them around unless you know exactly
5784 ## what you are doing...
5785 if test -n "$compiler"; then
5787 lt_prog_compiler_no_builtin_flag=
5789 if test "$GCC" = yes; then
5790 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
5792 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
5793 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
5794 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
5795 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 lt_cv_prog_compiler_rtti_exceptions=no
5798 ac_outfile=conftest.$ac_objext
5799 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
5800 lt_compiler_flag="-fno-rtti -fno-exceptions"
5801 # Insert the option either (1) after the last *FLAGS variable, or
5802 # (2) before a word containing "conftest.", or (3) at the end.
5803 # Note that $ac_compile itself does not contain backslashes and begins
5804 # with a dollar sign (not a hyphen), so the echo should work correctly.
5805 # The option is referenced via a variable to avoid confusing sed.
5806 lt_compile=`echo "$ac_compile" | $SED \
5807 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
5808 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
5809 -e 's:$: $lt_compiler_flag:'`
5810 (eval echo "\"\$as_me:5810: $lt_compile\"" >&5)
5811 (eval "$lt_compile" 2>conftest.err)
5813 cat conftest.err >&5
5814 echo "$as_me:5814: \$? = $ac_status" >&5
5815 if (exit $ac_status) && test -s "$ac_outfile"; then
5816 # The compiler can only warn and ignore the option if not recognized
5817 # So say no if there are warnings other than the usual output.
5818 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
5819 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
5820 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
5821 lt_cv_prog_compiler_rtti_exceptions=yes
5827 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
5828 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
5830 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
5831 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
5843 lt_prog_compiler_wl=
5844 lt_prog_compiler_pic=
5845 lt_prog_compiler_static=
5847 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
5848 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
5850 if test "$GCC" = yes; then
5851 lt_prog_compiler_wl='-Wl,'
5852 lt_prog_compiler_static='-static'
5856 # All AIX code is PIC.
5857 if test "$host_cpu" = ia64; then
5858 # AIX 5 now supports IA64 processor
5859 lt_prog_compiler_static='-Bstatic'
5864 if test "$host_cpu" = m68k; then
5865 # FIXME: we need at least 68020 code to build shared libraries, but
5866 # adding the `-m68020' flag to GCC prevents building anything better,
5868 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
5872 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5873 # PIC is the default for these OSes.
5876 mingw* | cygwin* | pw32* | os2*)
5877 # This hack is so that the source file can tell whether it is being
5878 # built for inclusion in a dll (and should export symbols for example).
5879 # Although the cygwin gcc ignores -fPIC, still need this for old-style
5880 # (--disable-auto-import) libraries
5881 lt_prog_compiler_pic='-DDLL_EXPORT'
5884 darwin* | rhapsody*)
5885 # PIC is the default on this platform
5886 # Common symbols not allowed in MH_DYLIB files
5887 lt_prog_compiler_pic='-fno-common'
5891 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5898 lt_prog_compiler_pic='-fPIC'
5904 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
5905 # Instead, we relocate shared libraries at runtime.
5909 # Just because we use GCC doesn't mean we suddenly get shared libraries
5910 # on systems that don't support them.
5911 lt_prog_compiler_can_build_shared=no
5916 # QNX uses GNU C++, but need to define -shared option too, otherwise
5918 lt_prog_compiler_pic='-fPIC -shared'
5922 if test -d /usr/nec; then
5923 lt_prog_compiler_pic=-Kconform_pic
5928 lt_prog_compiler_pic='-fPIC'
5932 # PORTME Check for flag to pass linker flags through the system compiler.
5935 lt_prog_compiler_wl='-Wl,'
5936 if test "$host_cpu" = ia64; then
5937 # AIX 5 now supports IA64 processor
5938 lt_prog_compiler_static='-Bstatic'
5940 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
5944 # PIC is the default on this platform
5945 # Common symbols not allowed in MH_DYLIB files
5946 case $cc_basename in
5948 lt_prog_compiler_pic='-qnocommon'
5949 lt_prog_compiler_wl='-Wl,'
5954 mingw* | cygwin* | pw32* | os2*)
5955 # This hack is so that the source file can tell whether it is being
5956 # built for inclusion in a dll (and should export symbols for example).
5957 lt_prog_compiler_pic='-DDLL_EXPORT'
5960 hpux9* | hpux10* | hpux11*)
5961 lt_prog_compiler_wl='-Wl,'
5962 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
5969 lt_prog_compiler_pic='+Z'
5972 # Is there a better lt_prog_compiler_static that works with the bundled CC?
5973 lt_prog_compiler_static='${wl}-a ${wl}archive'
5976 irix5* | irix6* | nonstopux*)
5977 lt_prog_compiler_wl='-Wl,'
5978 # PIC (with -KPIC) is the default.
5979 lt_prog_compiler_static='-non_shared'
5982 linux* | k*bsd*-gnu)
5983 case $cc_basename in
5985 lt_prog_compiler_wl='-Wl,'
5986 lt_prog_compiler_pic='-KPIC'
5987 lt_prog_compiler_static='-static'
5989 pgcc* | pgf77* | pgf90* | pgf95*)
5990 # Portland Group compilers (*not* the Pentium gcc compiler,
5991 # which looks to be a dead project)
5992 lt_prog_compiler_wl='-Wl,'
5993 lt_prog_compiler_pic='-fpic'
5994 lt_prog_compiler_static='-Bstatic'
5997 lt_prog_compiler_wl='-Wl,'
5998 # All Alpha code is PIC.
5999 lt_prog_compiler_static='-non_shared'
6002 case `$CC -V 2>&1 | sed 5q` in
6005 lt_prog_compiler_pic='-KPIC'
6006 lt_prog_compiler_static='-Bstatic'
6007 lt_prog_compiler_wl='-Wl,'
6010 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6011 lt_prog_compiler_pic='-KPIC'
6012 lt_prog_compiler_static='-Bstatic'
6013 lt_prog_compiler_wl=''
6021 lt_prog_compiler_pic='-KPIC'
6022 lt_prog_compiler_static='-Bstatic'
6026 # QNX uses GNU C++, but need to define -shared option too, otherwise
6028 lt_prog_compiler_pic='-fPIC -shared'
6031 osf3* | osf4* | osf5*)
6032 lt_prog_compiler_wl='-Wl,'
6033 # All OSF/1 code is PIC.
6034 lt_prog_compiler_static='-non_shared'
6038 lt_prog_compiler_static='-non_shared'
6042 lt_prog_compiler_pic='-KPIC'
6043 lt_prog_compiler_static='-Bstatic'
6044 case $cc_basename in
6046 lt_prog_compiler_wl='-Qoption ld ';;
6048 lt_prog_compiler_wl='-Wl,';;
6053 lt_prog_compiler_wl='-Qoption ld '
6054 lt_prog_compiler_pic='-PIC'
6055 lt_prog_compiler_static='-Bstatic'
6058 sysv4 | sysv4.2uw2* | sysv4.3*)
6059 lt_prog_compiler_wl='-Wl,'
6060 lt_prog_compiler_pic='-KPIC'
6061 lt_prog_compiler_static='-Bstatic'
6065 if test -d /usr/nec ;then
6066 lt_prog_compiler_pic='-Kconform_pic'
6067 lt_prog_compiler_static='-Bstatic'
6071 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6072 lt_prog_compiler_wl='-Wl,'
6073 lt_prog_compiler_pic='-KPIC'
6074 lt_prog_compiler_static='-Bstatic'
6078 lt_prog_compiler_wl='-Wl,'
6079 lt_prog_compiler_can_build_shared=no
6083 lt_prog_compiler_pic='-pic'
6084 lt_prog_compiler_static='-Bstatic'
6088 lt_prog_compiler_can_build_shared=no
6094 # For platforms which do not support PIC, -DPIC is meaningless:
6096 lt_prog_compiler_pic=
6099 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6102 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6103 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6111 # Check to make sure the PIC flag actually works.
6113 if test -n "$lt_prog_compiler_pic"; then
6114 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6115 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6116 if test "${lt_prog_compiler_pic_works+set}" = set; then
6117 echo $ECHO_N "(cached) $ECHO_C" >&6
6119 lt_prog_compiler_pic_works=no
6120 ac_outfile=conftest.$ac_objext
6121 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6122 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6123 # Insert the option either (1) after the last *FLAGS variable, or
6124 # (2) before a word containing "conftest.", or (3) at the end.
6125 # Note that $ac_compile itself does not contain backslashes and begins
6126 # with a dollar sign (not a hyphen), so the echo should work correctly.
6127 # The option is referenced via a variable to avoid confusing sed.
6128 lt_compile=`echo "$ac_compile" | $SED \
6129 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6130 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6131 -e 's:$: $lt_compiler_flag:'`
6132 (eval echo "\"\$as_me:6132: $lt_compile\"" >&5)
6133 (eval "$lt_compile" 2>conftest.err)
6135 cat conftest.err >&5
6136 echo "$as_me:6136: \$? = $ac_status" >&5
6137 if (exit $ac_status) && test -s "$ac_outfile"; then
6138 # The compiler can only warn and ignore the option if not recognized
6139 # So say no if there are warnings other than the usual output.
6140 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6141 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6142 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6143 lt_prog_compiler_pic_works=yes
6149 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6150 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6152 if test x"$lt_prog_compiler_pic_works" = xyes; then
6153 case $lt_prog_compiler_pic in
6155 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6158 lt_prog_compiler_pic=
6159 lt_prog_compiler_can_build_shared=no
6170 # Check to make sure the static flag actually works.
6172 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6173 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6174 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6175 if test "${lt_prog_compiler_static_works+set}" = set; then
6176 echo $ECHO_N "(cached) $ECHO_C" >&6
6178 lt_prog_compiler_static_works=no
6179 save_LDFLAGS="$LDFLAGS"
6180 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6181 echo "$lt_simple_link_test_code" > conftest.$ac_ext
6182 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6183 # The linker can only warn and ignore the option if not recognized
6184 # So say no if there are warnings
6185 if test -s conftest.err; then
6186 # Append any errors to the config.log.
6187 cat conftest.err 1>&5
6188 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6189 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6190 if diff conftest.exp conftest.er2 >/dev/null; then
6191 lt_prog_compiler_static_works=yes
6194 lt_prog_compiler_static_works=yes
6198 LDFLAGS="$save_LDFLAGS"
6201 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6202 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6204 if test x"$lt_prog_compiler_static_works" = xyes; then
6207 lt_prog_compiler_static=
6216 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6217 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6218 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6219 echo $ECHO_N "(cached) $ECHO_C" >&6
6221 lt_cv_prog_compiler_c_o=no
6222 $RM -r conftest 2>/dev/null
6226 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6228 lt_compiler_flag="-o out/conftest2.$ac_objext"
6229 # Insert the option either (1) after the last *FLAGS variable, or
6230 # (2) before a word containing "conftest.", or (3) at the end.
6231 # Note that $ac_compile itself does not contain backslashes and begins
6232 # with a dollar sign (not a hyphen), so the echo should work correctly.
6233 lt_compile=`echo "$ac_compile" | $SED \
6234 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6235 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6236 -e 's:$: $lt_compiler_flag:'`
6237 (eval echo "\"\$as_me:6237: $lt_compile\"" >&5)
6238 (eval "$lt_compile" 2>out/conftest.err)
6240 cat out/conftest.err >&5
6241 echo "$as_me:6241: \$? = $ac_status" >&5
6242 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6244 # The compiler can only warn and ignore the option if not recognized
6245 # So say no if there are warnings
6246 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6247 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6248 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6249 lt_cv_prog_compiler_c_o=yes
6254 # SGI C++ compiler will create directory out/ii_files/ for
6255 # template instantiation
6256 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6257 $RM out/* && rmdir out
6263 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6264 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6271 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6272 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6273 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6274 echo $ECHO_N "(cached) $ECHO_C" >&6
6276 lt_cv_prog_compiler_c_o=no
6277 $RM -r conftest 2>/dev/null
6281 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6283 lt_compiler_flag="-o out/conftest2.$ac_objext"
6284 # Insert the option either (1) after the last *FLAGS variable, or
6285 # (2) before a word containing "conftest.", or (3) at the end.
6286 # Note that $ac_compile itself does not contain backslashes and begins
6287 # with a dollar sign (not a hyphen), so the echo should work correctly.
6288 lt_compile=`echo "$ac_compile" | $SED \
6289 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6290 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6291 -e 's:$: $lt_compiler_flag:'`
6292 (eval echo "\"\$as_me:6292: $lt_compile\"" >&5)
6293 (eval "$lt_compile" 2>out/conftest.err)
6295 cat out/conftest.err >&5
6296 echo "$as_me:6296: \$? = $ac_status" >&5
6297 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6299 # The compiler can only warn and ignore the option if not recognized
6300 # So say no if there are warnings
6301 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6302 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6303 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6304 lt_cv_prog_compiler_c_o=yes
6309 # SGI C++ compiler will create directory out/ii_files/ for
6310 # template instantiation
6311 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6312 $RM out/* && rmdir out
6318 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6319 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6324 hard_links="nottested"
6325 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6326 # do not overwrite the value of need_locks provided by the user
6327 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6328 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6331 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6333 ln conftest.a conftest.b 2>&5 || hard_links=no
6334 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6335 echo "$as_me:$LINENO: result: $hard_links" >&5
6336 echo "${ECHO_T}$hard_links" >&6
6337 if test "$hard_links" = no; then
6338 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6339 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6351 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6352 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6355 allow_undefined_flag=
6356 always_export_symbols=no
6358 archive_expsym_cmds=
6359 compiler_needs_object=no
6360 enable_shared_with_static_runtimes=no
6361 export_dynamic_flag_spec=
6362 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6363 hardcode_automatic=no
6365 hardcode_direct_absolute=no
6366 hardcode_libdir_flag_spec=
6367 hardcode_libdir_flag_spec_ld=
6368 hardcode_libdir_separator=
6370 hardcode_shlibpath_var=unsupported
6372 link_all_deplibs=unknown
6375 old_archive_from_new_cmds=
6376 old_archive_from_expsyms_cmds=
6377 thread_safe_flag_spec=
6378 whole_archive_flag_spec=
6379 # include_expsyms should be a list of space-separated symbols to be *always*
6380 # included in the symbol list
6382 # exclude_expsyms can be an extended regexp of symbols to exclude
6383 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6384 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6385 # as well as any symbol that contains `d'.
6386 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6387 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6388 # platforms (ab)use it in PIC code, but their linkers get confused if
6389 # the symbol is explicitly referenced. Since portable code cannot
6390 # rely on this symbol name, it's probably fine to never include it in
6391 # preloaded symbol tables.
6392 extract_expsyms_cmds=
6395 cygwin* | mingw* | pw32*)
6396 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6397 # When not using gcc, we currently assume that we are using
6398 # Microsoft Visual C++.
6399 if test "$GCC" != yes; then
6404 # we just hope/assume this is gcc and not c89 (= MSVC++)
6413 if test "$with_gnu_ld" = yes; then
6414 # If archive_cmds runs LD, not CC, wlarc should be empty
6417 # Set some defaults for GNU ld with shared library support. These
6418 # are reset later if shared libraries are not supported. Putting them
6419 # here allows them to be overridden if necessary.
6420 runpath_var=LD_RUN_PATH
6421 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6422 export_dynamic_flag_spec='${wl}--export-dynamic'
6423 # ancient GNU ld didn't support --whole-archive et. al.
6424 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
6425 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6427 whole_archive_flag_spec=
6429 supports_anon_versioning=no
6430 case `$LD -v 2>&1` in
6431 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6432 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6433 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6434 *\ 2.11.*) ;; # other 2.11 versions
6435 *) supports_anon_versioning=yes ;;
6438 # See if GNU ld supports shared libraries.
6440 aix3* | aix4* | aix5*)
6441 # On AIX/PPC, the GNU linker is very broken
6442 if test "$host_cpu" != ia64; then
6446 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6447 *** to be unable to reliably create shared libraries on AIX.
6448 *** Therefore, libtool is disabling shared libraries support. If you
6449 *** really care for shared libraries, you may want to modify your PATH
6450 *** so that a non-GNU linker is found, and then restart.
6457 if test "$host_cpu" = m68k; then
6458 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
6459 hardcode_libdir_flag_spec='-L$libdir'
6460 hardcode_minus_L=yes
6463 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6464 # that the semantics of dynamic libraries on AmigaOS, at least up
6465 # to version 4, is to share data among multiple programs linked
6466 # with the same dynamic library. Since this doesn't match the
6467 # behavior of shared libraries on other platforms, we can't use
6473 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6474 allow_undefined_flag=unsupported
6475 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6476 # support --undefined. This deserves some investigation. FIXME
6477 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6483 cygwin* | mingw* | pw32*)
6484 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6485 # as there is no search path for DLLs.
6486 hardcode_libdir_flag_spec='-L$libdir'
6487 allow_undefined_flag=unsupported
6488 always_export_symbols=no
6489 enable_shared_with_static_runtimes=yes
6490 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
6492 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
6493 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6494 # If the export-symbols file already is a .def file (1st line
6495 # is EXPORTS), use it as is; otherwise, prepend...
6496 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6497 cp $export_symbols $output_objdir/$soname.def;
6499 echo EXPORTS > $output_objdir/$soname.def;
6500 cat $export_symbols >> $output_objdir/$soname.def;
6502 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6510 hardcode_shlibpath_var=no
6511 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6512 export_dynamic_flag_spec='${wl}-E'
6513 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6514 # Instead, shared libraries are loaded at an image base (0x10000000 by
6515 # default) and relocated if they conflict, which is a slow very memory
6516 # consuming and fragmenting process. To avoid this, we pick a random,
6517 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6518 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
6519 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6520 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6523 gnu* | linux* | tpf* | k*bsd*-gnu)
6525 if test "$host_os" = linux-dietlibc; then
6526 case $cc_basename in
6527 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
6530 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
6531 && test "$tmp_diet" = no
6534 case $cc_basename,$host_cpu in
6535 pgcc*) # Portland Group C compiler
6536 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
6537 tmp_addflag=' $pic_flag'
6539 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
6540 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
6541 tmp_addflag=' $pic_flag -Mnomain' ;;
6542 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
6543 tmp_addflag=' -i_dynamic' ;;
6544 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
6545 tmp_addflag=' -i_dynamic -nofor_main' ;;
6546 ifc* | ifort*) # Intel Fortran compiler
6547 tmp_addflag=' -nofor_main' ;;
6549 case `$CC -V 2>&1 | sed 5q` in
6550 *Sun\ C*) # Sun C 5.9
6551 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
6552 compiler_needs_object=yes
6553 tmp_sharedflag='-G' ;;
6554 *Sun\ F*) # Sun Fortran 8.3
6555 tmp_sharedflag='-G' ;;
6557 tmp_sharedflag='-shared' ;;
6559 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6561 if test "x$supports_anon_versioning" = xyes; then
6562 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
6563 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6564 echo "local: *; };" >> $output_objdir/$libname.ver~
6565 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6573 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
6574 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6577 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6578 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6583 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
6587 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6588 *** create shared libraries on Solaris systems. Therefore, libtool
6589 *** is disabling shared libraries support. We urge you to upgrade GNU
6590 *** binutils to release 2.9.1 or newer. Another option is to modify
6591 *** your PATH or compiler configuration so that the native linker is
6592 *** used, and then restart.
6595 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6596 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6597 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6603 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
6604 case `$LD -v 2>&1` in
6605 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
6609 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
6610 *** reliably create shared libraries on SCO systems. Therefore, libtool
6611 *** is disabling shared libraries support. We urge you to upgrade GNU
6612 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
6613 *** your PATH or compiler configuration so that the native linker is
6614 *** used, and then restart.
6619 # For security reasons, it is highly recommended that you always
6620 # use absolute paths for naming shared libraries, and exclude the
6621 # DT_RUNPATH tag from executables and libraries. But doing so
6622 # requires that you compile everything twice, which is a pain.
6623 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6624 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6625 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6626 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6635 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6638 hardcode_shlibpath_var=no
6642 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
6643 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6644 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6651 if test "$ld_shlibs" = no; then
6653 hardcode_libdir_flag_spec=
6654 export_dynamic_flag_spec=
6655 whole_archive_flag_spec=
6658 # PORTME fill in a description of your system's linker (not GNU ld)
6661 allow_undefined_flag=unsupported
6662 always_export_symbols=yes
6663 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
6664 # Note: this linker hardcodes the directories in LIBPATH if there
6665 # are no directories specified by -L.
6666 hardcode_minus_L=yes
6667 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
6668 # Neither direct hardcoding nor static linking is supported with a
6670 hardcode_direct=unsupported
6675 if test "$host_cpu" = ia64; then
6676 # On IA64, the linker does run time linking by default, so we don't
6677 # have to do anything special.
6678 aix_use_runtimelinking=no
6679 exp_sym_flag='-Bexport'
6682 # If we're using GNU nm, then we don't want the "-C" option.
6683 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6684 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
6685 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
6687 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
6689 aix_use_runtimelinking=no
6691 # Test if we are trying to use run time linking or normal
6692 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6693 # need to do runtime linking.
6694 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6695 for ld_flag in $LDFLAGS; do
6696 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6697 aix_use_runtimelinking=yes
6704 exp_sym_flag='-bexport'
6705 no_entry_flag='-bnoentry'
6708 # When large executables or shared objects are built, AIX ld can
6709 # have problems creating the table of contents. If linking a library
6710 # or program results in "error TOC overflow" add -mminimal-toc to
6711 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6712 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6716 hardcode_direct_absolute=yes
6717 hardcode_libdir_separator=':'
6718 link_all_deplibs=yes
6719 file_list_spec='${wl}-f,'
6721 if test "$GCC" = yes; then
6722 case $host_os in aix4.[012]|aix4.[012].*)
6723 # We only want to do this on AIX 4.2 and lower, the check
6724 # below for broken collect2 doesn't work under 4.3+
6725 collect2name=`${CC} -print-prog-name=collect2`
6726 if test -f "$collect2name" &&
6727 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
6729 # We have reworked collect2
6732 # We have old collect2
6733 hardcode_direct=unsupported
6734 # It fails to find uninstalled libraries when the uninstalled
6735 # path is not listed in the libpath. Setting hardcode_minus_L
6736 # to unsupported forces relinking
6737 hardcode_minus_L=yes
6738 hardcode_libdir_flag_spec='-L$libdir'
6739 hardcode_libdir_separator=
6743 shared_flag='-shared'
6744 if test "$aix_use_runtimelinking" = yes; then
6745 shared_flag="$shared_flag "'${wl}-G'
6749 if test "$host_cpu" = ia64; then
6750 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6751 # chokes on -Wl,-G. The following line is correct:
6754 if test "$aix_use_runtimelinking" = yes; then
6755 shared_flag='${wl}-G'
6757 shared_flag='${wl}-bM:SRE'
6762 # It seems that -bexpall does not export symbols beginning with
6763 # underscore (_), so it is better to generate a list of symbols to export.
6764 always_export_symbols=yes
6765 if test "$aix_use_runtimelinking" = yes; then
6766 # Warning - without using the other runtime loading flags (-brtl),
6767 # -berok will link without error, but may produce a broken library.
6768 allow_undefined_flag='-berok'
6769 # Determine the default libpath from the value encoded in an
6771 cat >conftest.$ac_ext <<_ACEOF
6774 cat confdefs.h >>conftest.$ac_ext
6775 cat >>conftest.$ac_ext <<_ACEOF
6776 /* end confdefs.h. */
6786 rm -f conftest.$ac_objext conftest$ac_exeext
6787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6788 (eval $ac_link) 2>conftest.er1
6790 grep -v '^ *+' conftest.er1 >conftest.err
6792 cat conftest.err >&5
6793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 (exit $ac_status); } &&
6795 { ac_try='test -z "$ac_c_werror_flag"
6796 || test ! -s conftest.err'
6797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 (exit $ac_status); }; } &&
6802 { ac_try='test -s conftest$ac_exeext'
6803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); }; }; then
6809 lt_aix_libpath_sed='
6810 /Import File Strings/,/^$/ {
6816 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6817 # Check for a 64-bit object if we didn't find anything.
6818 if test -z "$aix_libpath"; then
6819 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6822 echo "$as_me: failed program was:" >&5
6823 sed 's/^/| /' conftest.$ac_ext >&5
6826 rm -f conftest.err conftest.$ac_objext \
6827 conftest$ac_exeext conftest.$ac_ext
6828 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6830 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6831 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6833 if test "$host_cpu" = ia64; then
6834 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6835 allow_undefined_flag="-z nodefs"
6836 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
6838 # Determine the default libpath from the value encoded in an
6840 cat >conftest.$ac_ext <<_ACEOF
6843 cat confdefs.h >>conftest.$ac_ext
6844 cat >>conftest.$ac_ext <<_ACEOF
6845 /* end confdefs.h. */
6855 rm -f conftest.$ac_objext conftest$ac_exeext
6856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6857 (eval $ac_link) 2>conftest.er1
6859 grep -v '^ *+' conftest.er1 >conftest.err
6861 cat conftest.err >&5
6862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6863 (exit $ac_status); } &&
6864 { ac_try='test -z "$ac_c_werror_flag"
6865 || test ! -s conftest.err'
6866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); }; } &&
6871 { ac_try='test -s conftest$ac_exeext'
6872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876 (exit $ac_status); }; }; then
6878 lt_aix_libpath_sed='
6879 /Import File Strings/,/^$/ {
6885 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6886 # Check for a 64-bit object if we didn't find anything.
6887 if test -z "$aix_libpath"; then
6888 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6891 echo "$as_me: failed program was:" >&5
6892 sed 's/^/| /' conftest.$ac_ext >&5
6895 rm -f conftest.err conftest.$ac_objext \
6896 conftest$ac_exeext conftest.$ac_ext
6897 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6899 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6900 # Warning - without using the other run time loading flags,
6901 # -berok will link without error, but may produce a broken library.
6902 no_undefined_flag=' ${wl}-bernotok'
6903 allow_undefined_flag=' ${wl}-berok'
6904 # Exported symbols can be pulled into shared objects from archives
6905 whole_archive_flag_spec='$convenience'
6906 archive_cmds_need_lc=yes
6907 # This is similar to how AIX traditionally builds its shared libraries.
6908 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
6914 if test "$host_cpu" = m68k; then
6915 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
6916 hardcode_libdir_flag_spec='-L$libdir'
6917 hardcode_minus_L=yes
6919 # see comment about different semantics on the GNU ld section
6924 export_dynamic_flag_spec=-rdynamic
6927 cygwin* | mingw* | pw32*)
6928 # When not using gcc, we currently assume that we are using
6929 # Microsoft Visual C++.
6930 # hardcode_libdir_flag_spec is actually meaningless, as there is
6931 # no search path for DLLs.
6932 hardcode_libdir_flag_spec=' '
6933 allow_undefined_flag=unsupported
6934 # Tell ltmain to make .lib files, not .a files.
6936 # Tell ltmain to make .dll files, not .so files.
6938 # FIXME: Setting linknames here is a bad hack.
6939 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
6940 # The linker will automatically build a .lib file if we build a DLL.
6941 old_archive_from_new_cmds='true'
6942 # FIXME: Should let the user specify the lib program.
6943 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
6944 fix_srcfile_path='`cygpath -w "$srcfile"`'
6945 enable_shared_with_static_runtimes=yes
6948 darwin* | rhapsody*)
6950 rhapsody* | darwin1.[012])
6951 allow_undefined_flag='${wl}-undefined ${wl}suppress'
6954 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
6956 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
6959 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
6964 archive_cmds_need_lc=no
6966 hardcode_automatic=yes
6967 hardcode_shlibpath_var=unsupported
6968 whole_archive_flag_spec=''
6969 link_all_deplibs=yes
6970 if test "$GCC" = yes ; then
6971 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6972 echo $ECHO_N "(cached) $ECHO_C" >&6
6974 lt_cv_apple_cc_single_mod=no
6975 if test -z "${LT_MULTI_MODULE}"; then
6976 # By default we will add the -single_module flag. You can override
6977 # by either setting the environment variable LT_MULTI_MODULE
6978 # non-empty at configure time, or by adding -multi-module to the
6980 echo "int foo(void){return 1;}" > conftest.c
6981 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6982 -dynamiclib ${wl}-single_module conftest.c
6983 if test -f libconftest.dylib; then
6984 lt_cv_apple_cc_single_mod=yes
6985 rm libconftest.dylib
6991 output_verbose_link_cmd=echo
6992 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
6993 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6994 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6996 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
6997 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
6999 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7000 module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7002 case $cc_basename in
7004 output_verbose_link_cmd=echo
7005 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7006 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7007 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7008 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7009 module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7019 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7020 hardcode_libdir_flag_spec='-L$libdir'
7021 hardcode_shlibpath_var=no
7028 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7029 # support. Future versions do this automatically, but an explicit c++rt0.o
7030 # does not break anything, and helps significantly (at the cost of a little
7033 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7034 hardcode_libdir_flag_spec='-R$libdir'
7036 hardcode_shlibpath_var=no
7039 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7041 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7043 hardcode_minus_L=yes
7044 hardcode_shlibpath_var=no
7047 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7048 freebsd* | dragonfly*)
7049 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7050 hardcode_libdir_flag_spec='-R$libdir'
7052 hardcode_shlibpath_var=no
7056 if test "$GCC" = yes; then
7057 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7059 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7061 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7062 hardcode_libdir_separator=:
7065 # hardcode_minus_L: Not really in the search PATH,
7066 # but as the default location of the library.
7067 hardcode_minus_L=yes
7068 export_dynamic_flag_spec='${wl}-E'
7072 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7073 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7075 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7077 if test "$with_gnu_ld" = no; then
7078 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7079 hardcode_libdir_flag_spec_ld='+b $libdir'
7080 hardcode_libdir_separator=:
7082 hardcode_direct_absolute=yes
7083 export_dynamic_flag_spec='${wl}-E'
7084 # hardcode_minus_L: Not really in the search PATH,
7085 # but as the default location of the library.
7086 hardcode_minus_L=yes
7091 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7094 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7097 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7100 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7106 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7109 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7112 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7116 if test "$with_gnu_ld" = no; then
7117 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7118 hardcode_libdir_separator=:
7123 hardcode_shlibpath_var=no
7127 hardcode_direct_absolute=yes
7128 export_dynamic_flag_spec='${wl}-E'
7130 # hardcode_minus_L: Not really in the search PATH,
7131 # but as the default location of the library.
7132 hardcode_minus_L=yes
7138 irix5* | irix6* | nonstopux*)
7139 if test "$GCC" = yes; then
7140 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7141 # Try to use the -exported_symbol ld option, if it does not
7142 # work, assume that -exports_file does not work either and
7143 # implicitly export all symbols.
7144 save_LDFLAGS="$LDFLAGS"
7145 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7146 cat >conftest.$ac_ext <<_ACEOF
7149 rm -f conftest.$ac_objext conftest$ac_exeext
7150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7151 (eval $ac_link) 2>conftest.er1
7153 grep -v '^ *+' conftest.er1 >conftest.err
7155 cat conftest.err >&5
7156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7157 (exit $ac_status); } &&
7158 { ac_try='test -z "$ac_c_werror_flag"
7159 || test ! -s conftest.err'
7160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); }; } &&
7165 { ac_try='test -s conftest$ac_exeext'
7166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 (exit $ac_status); }; }; then
7171 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
7174 echo "$as_me: failed program was:" >&5
7175 sed 's/^/| /' conftest.$ac_ext >&5
7178 rm -f conftest.err conftest.$ac_objext \
7179 conftest$ac_exeext conftest.$ac_ext
7180 LDFLAGS="$save_LDFLAGS"
7182 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7183 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
7185 archive_cmds_need_lc='no'
7186 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7187 hardcode_libdir_separator=:
7189 link_all_deplibs=yes
7193 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7194 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7196 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7198 hardcode_libdir_flag_spec='-R$libdir'
7200 hardcode_shlibpath_var=no
7204 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7206 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7207 hardcode_libdir_separator=:
7208 hardcode_shlibpath_var=no
7216 hardcode_shlibpath_var=no
7217 hardcode_direct_absolute=yes
7218 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7219 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7220 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7221 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7222 export_dynamic_flag_spec='${wl}-E'
7225 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7226 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7227 hardcode_libdir_flag_spec='-R$libdir'
7230 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7231 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7238 hardcode_libdir_flag_spec='-L$libdir'
7239 hardcode_minus_L=yes
7240 allow_undefined_flag=unsupported
7241 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
7242 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7246 if test "$GCC" = yes; then
7247 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7248 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7250 allow_undefined_flag=' -expect_unresolved \*'
7251 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7253 archive_cmds_need_lc='no'
7254 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7255 hardcode_libdir_separator=:
7258 osf4* | osf5*) # as osf3* with the addition of -msym flag
7259 if test "$GCC" = yes; then
7260 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7261 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7262 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7264 allow_undefined_flag=' -expect_unresolved \*'
7265 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7266 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
7267 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
7269 # Both c and cxx compiler support -rpath directly
7270 hardcode_libdir_flag_spec='-rpath $libdir'
7272 archive_cmds_need_lc='no'
7273 hardcode_libdir_separator=:
7277 no_undefined_flag=' -z defs'
7278 if test "$GCC" = yes; then
7280 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7281 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7282 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7284 case `$CC -V 2>&1` in
7287 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7288 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7289 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
7293 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
7294 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7295 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7299 hardcode_libdir_flag_spec='-R$libdir'
7300 hardcode_shlibpath_var=no
7302 solaris2.[0-5] | solaris2.[0-5].*) ;;
7304 # The compiler driver will combine and reorder linker options,
7305 # but understands `-z linker_flag'. GCC discards it without `$wl',
7306 # but is careful enough not to reorder.
7307 # Supported since Solaris 2.6 (maybe 2.5.1?)
7308 if test "$GCC" = yes; then
7309 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
7311 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
7315 link_all_deplibs=yes
7319 if test "x$host_vendor" = xsequent; then
7320 # Use $CC to link under sequent, because it throws in some extra .o
7321 # files that make .init and .fini sections work.
7322 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7324 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7326 hardcode_libdir_flag_spec='-L$libdir'
7328 hardcode_minus_L=yes
7329 hardcode_shlibpath_var=no
7333 case $host_vendor in
7335 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7336 hardcode_direct=yes # is this really true???
7339 ## LD is ld it makes a PLAMLIB
7340 ## CC just makes a GrossModule.
7341 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7342 reload_cmds='$CC -r -o $output$reload_objs'
7346 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7347 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7350 runpath_var='LD_RUN_PATH'
7351 hardcode_shlibpath_var=no
7355 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7356 hardcode_shlibpath_var=no
7357 export_dynamic_flag_spec='-Bexport'
7361 if test -d /usr/nec; then
7362 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7363 hardcode_shlibpath_var=no
7364 runpath_var=LD_RUN_PATH
7365 hardcode_runpath_var=yes
7370 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
7371 no_undefined_flag='${wl}-z,text'
7372 archive_cmds_need_lc=no
7373 hardcode_shlibpath_var=no
7374 runpath_var='LD_RUN_PATH'
7376 if test "$GCC" = yes; then
7377 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7378 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7380 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7381 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7385 sysv5* | sco3.2v5* | sco5v6*)
7386 # Note: We can NOT use -z defs as we might desire, because we do not
7387 # link with -lc, and that would cause any symbols used from libc to
7388 # always be unresolved, which means just about no library would
7389 # ever link correctly. If we're not using GNU ld we use -z text
7390 # though, which does catch some bad symbols but isn't as heavy-handed
7392 no_undefined_flag='${wl}-z,text'
7393 allow_undefined_flag='${wl}-z,nodefs'
7394 archive_cmds_need_lc=no
7395 hardcode_shlibpath_var=no
7396 hardcode_libdir_flag_spec='${wl}-R,$libdir'
7397 hardcode_libdir_separator=':'
7398 link_all_deplibs=yes
7399 export_dynamic_flag_spec='${wl}-Bexport'
7400 runpath_var='LD_RUN_PATH'
7402 if test "$GCC" = yes; then
7403 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7404 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7406 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7407 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7412 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7413 hardcode_libdir_flag_spec='-L$libdir'
7414 hardcode_shlibpath_var=no
7422 if test x$host_vendor = xsni; then
7424 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7425 export_dynamic_flag_spec='${wl}-Blargedynsym'
7431 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7432 echo "${ECHO_T}$ld_shlibs" >&6
7433 test "$ld_shlibs" = no && can_build_shared=no
7435 with_gnu_ld=$with_gnu_ld
7452 # Do we need to explicitly link libc?
7454 case "x$archive_cmds_need_lc" in
7456 # Assume -lc should be added
7457 archive_cmds_need_lc=yes
7459 if test "$enable_shared" = yes && test "$GCC" = yes; then
7460 case $archive_cmds in
7462 # FIXME: we may have to deal with multi-command sequences.
7465 # Test whether the compiler implicitly links with -lc since on some
7466 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7467 # to ld, don't add -lc before -lgcc.
7468 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7469 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7471 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7474 (eval $ac_compile) 2>&5
7476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477 (exit $ac_status); } 2>conftest.err; then
7480 libobjs=conftest.$ac_objext
7482 wl=$lt_prog_compiler_wl
7483 pic_flag=$lt_prog_compiler_pic
7489 lt_save_allow_undefined_flag=$allow_undefined_flag
7490 allow_undefined_flag=
7491 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
7492 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
7494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495 (exit $ac_status); }
7497 archive_cmds_need_lc=no
7499 archive_cmds_need_lc=yes
7501 allow_undefined_flag=$lt_save_allow_undefined_flag
7503 cat conftest.err 1>&5
7506 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7507 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7670 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7671 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7673 if test "$withGCC" = yes; then
7675 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
7676 *) lt_awk_arg="/^libraries:/" ;;
7678 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7679 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
7680 # if the path contains ";" then we assume it to be the separator
7681 # otherwise default to the standard path separator (i.e. ":") - it is
7682 # assumed that no part of a normal pathname contains ";" but that should
7683 # okay in the real world where ";" in dirpaths is itself problematic.
7684 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
7686 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7688 # Ok, now we have the path, separated by spaces, we can step through it
7689 # and add multilib dir if necessary.
7690 lt_tmp_lt_search_path_spec=
7691 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
7692 for lt_sys_path in $lt_search_path_spec; do
7693 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
7694 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
7696 test -d "$lt_sys_path" && \
7697 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
7700 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
7701 BEGIN {RS=" "; FS="/|\n";} {
7704 for (lt_i = NF; lt_i > 0; lt_i--) {
7705 if ($lt_i != "" && $lt_i != ".") {
7706 if ($lt_i == "..") {
7709 if (lt_count == 0) {
7710 lt_foo="/" $lt_i lt_foo;
7717 if (lt_foo != "") { lt_freq[lt_foo]++; }
7718 if (lt_freq[lt_foo] == 1) { print lt_foo; }
7720 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
7722 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7725 libname_spec='lib$name'
7733 shlibpath_overrides_runpath=unknown
7735 dynamic_linker="$host_os ld.so"
7736 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7737 need_lib_prefix=unknown
7738 hardcode_into_libs=no
7740 # when you set need_version to no, make sure it does not cause -set_version
7741 # flags to be left without arguments
7742 need_version=unknown
7747 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7748 shlibpath_var=LIBPATH
7750 # AIX 3 has no versioning support, so we append a major version to the name.
7751 soname_spec='${libname}${release}${shared_ext}$major'
7758 hardcode_into_libs=yes
7759 if test "$host_cpu" = ia64; then
7760 # AIX 5 supports IA64
7761 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7762 shlibpath_var=LD_LIBRARY_PATH
7764 # With GCC up to 2.95.x, collect2 would create an import file
7765 # for dependence libraries. The import file would start with
7766 # the line `#! .'. This would cause the generated library to
7767 # depend on `.', always an invalid library. This was fixed in
7768 # development snapshots of GCC prior to 3.0.
7770 aix4 | aix4.[01] | aix4.[01].*)
7771 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7773 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
7780 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7781 # soname into executable. Probably we can add versioning support to
7782 # collect2, so additional links can be useful in future.
7783 if test "$aix_use_runtimelinking" = yes; then
7784 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7785 # instead of lib<name>.a to let people know that these are not
7786 # typical AIX shared libraries.
7787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7789 # We preserve .a as extension for shared libraries through AIX4.2
7790 # and later when we are not doing run time linking.
7791 library_names_spec='${libname}${release}.a $libname.a'
7792 soname_spec='${libname}${release}${shared_ext}$major'
7794 shlibpath_var=LIBPATH
7799 if test "$host_cpu" = m68k; then
7800 library_names_spec='$libname.ixlibrary $libname.a'
7801 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7802 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
7809 library_names_spec='${libname}${shared_ext}'
7810 dynamic_linker="$host_os ld.so"
7811 shlibpath_var=LIBRARY_PATH
7817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7818 soname_spec='${libname}${release}${shared_ext}$major'
7819 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7820 shlibpath_var=LD_LIBRARY_PATH
7821 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7822 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7823 # the default ld.so.conf also contains /usr/contrib/lib and
7824 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7825 # libtool to hard-code these into programs
7828 cygwin* | mingw* | pw32*)
7829 version_type=windows
7834 case $withGCC,$host_os in
7835 yes,cygwin* | yes,mingw* | yes,pw32*)
7836 library_names_spec='$libname.dll.a'
7837 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7838 postinstall_cmds='base_file=`basename \${file}`~
7839 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
7840 dldir=$destdir/`dirname \$dlpath`~
7841 test -d \$dldir || mkdir -p \$dldir~
7842 $install_prog $dir/$dlname \$dldir/$dlname~
7843 chmod a+x \$dldir/$dlname~
7844 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
7845 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
7847 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7848 dlpath=$dir/\$dldll~
7850 shlibpath_overrides_runpath=yes
7854 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7855 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7856 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
7859 # MinGW DLLs use traditional 'lib' prefix
7860 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7861 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7862 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
7863 # It is most probably a Windows format PATH printed by
7864 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7865 # path with ; separators, and with drive letters. We can handle the
7866 # drive letters (cygwin fileutils understands them), so leave them,
7867 # especially as we might pass files found there to a mingw objdump,
7868 # which wouldn't understand a cygwinified path. Ahh.
7869 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7871 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7875 # pw32 DLLs use 'pw' prefix rather than 'lib'
7876 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7882 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7885 dynamic_linker='Win32 ld.exe'
7886 # FIXME: first we should search . and the directory the executable is in
7890 darwin* | rhapsody*)
7891 dynamic_linker="$host_os dyld"
7895 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7896 soname_spec='${libname}${release}${major}$shared_ext'
7897 shlibpath_overrides_runpath=yes
7898 shlibpath_var=DYLD_LIBRARY_PATH
7899 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
7901 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
7902 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7910 soname_spec='${libname}${release}${shared_ext}$major'
7911 shlibpath_var=LD_LIBRARY_PATH
7918 freebsd* | dragonfly*)
7919 # DragonFly does not have aout. When/if they implement a new
7920 # versioning mechanism, adjust this.
7921 if test -x /usr/bin/objformat; then
7922 objformat=`/usr/bin/objformat`
7925 freebsd[123]*) objformat=aout ;;
7929 version_type=freebsd-$objformat
7930 case $version_type in
7932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7937 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7941 shlibpath_var=LD_LIBRARY_PATH
7944 shlibpath_overrides_runpath=yes
7946 freebsd3.[01]* | freebsdelf3.[01]*)
7947 shlibpath_overrides_runpath=yes
7948 hardcode_into_libs=yes
7950 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
7951 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
7952 shlibpath_overrides_runpath=no
7953 hardcode_into_libs=yes
7955 *) # from 4.6 on, and DragonFly
7956 shlibpath_overrides_runpath=yes
7957 hardcode_into_libs=yes
7966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7967 soname_spec='${libname}${release}${shared_ext}$major'
7968 shlibpath_var=LD_LIBRARY_PATH
7969 hardcode_into_libs=yes
7972 hpux9* | hpux10* | hpux11*)
7973 # Give a soname corresponding to the major version so that dld.sl refuses to
7974 # link against other versions.
7981 hardcode_into_libs=yes
7982 dynamic_linker="$host_os dld.so"
7983 shlibpath_var=LD_LIBRARY_PATH
7984 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7986 soname_spec='${libname}${release}${shared_ext}$major'
7987 if test "X$HPUX_IA64_MODE" = X32; then
7988 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7990 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7992 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7996 hardcode_into_libs=yes
7997 dynamic_linker="$host_os dld.sl"
7998 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7999 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8001 soname_spec='${libname}${release}${shared_ext}$major'
8002 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8003 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8007 dynamic_linker="$host_os dld.sl"
8008 shlibpath_var=SHLIB_PATH
8009 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8011 soname_spec='${libname}${release}${shared_ext}$major'
8014 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8015 postinstall_cmds='chmod 555 $lib'
8022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8023 soname_spec='${libname}${release}${shared_ext}$major'
8024 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8025 shlibpath_var=LD_LIBRARY_PATH
8026 shlibpath_overrides_runpath=no
8027 hardcode_into_libs=yes
8030 irix5* | irix6* | nonstopux*)
8032 nonstopux*) version_type=nonstopux ;;
8034 if test "$lt_cv_prog_gnu_ld" = yes; then
8042 soname_spec='${libname}${release}${shared_ext}$major'
8043 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8045 irix5* | nonstopux*)
8049 case $LD in # libtool.m4 will add one of these switches to LD
8050 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8051 libsuff= shlibsuff= libmagic=32-bit;;
8052 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8053 libsuff=32 shlibsuff=N32 libmagic=N32;;
8054 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8055 libsuff=64 shlibsuff=64 libmagic=64-bit;;
8056 *) libsuff= shlibsuff= libmagic=never-match;;
8060 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8061 shlibpath_overrides_runpath=no
8062 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8063 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8064 hardcode_into_libs=yes
8067 # No shared lib support for Linux oldld, aout, or coff.
8068 linux*oldld* | linux*aout* | linux*coff*)
8072 # This must be Linux ELF.
8073 linux* | k*bsd*-gnu)
8077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8078 soname_spec='${libname}${release}${shared_ext}$major'
8079 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8080 shlibpath_var=LD_LIBRARY_PATH
8081 shlibpath_overrides_runpath=no
8082 # Some binutils ld are patched to set DT_RUNPATH
8083 save_LDFLAGS=$LDFLAGS
8085 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8086 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8087 cat >conftest.$ac_ext <<_ACEOF
8090 cat confdefs.h >>conftest.$ac_ext
8091 cat >>conftest.$ac_ext <<_ACEOF
8092 /* end confdefs.h. */
8102 rm -f conftest.$ac_objext conftest$ac_exeext
8103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8104 (eval $ac_link) 2>conftest.er1
8106 grep -v '^ *+' conftest.er1 >conftest.err
8108 cat conftest.err >&5
8109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8110 (exit $ac_status); } &&
8111 { ac_try='test -z "$ac_c_werror_flag"
8112 || test ! -s conftest.err'
8113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8117 (exit $ac_status); }; } &&
8118 { ac_try='test -s conftest$ac_exeext'
8119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); }; }; then
8124 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
8125 shlibpath_overrides_runpath=yes
8129 echo "$as_me: failed program was:" >&5
8130 sed 's/^/| /' conftest.$ac_ext >&5
8133 rm -f conftest.err conftest.$ac_objext \
8134 conftest$ac_exeext conftest.$ac_ext
8135 LDFLAGS=$save_LDFLAGS
8138 # This implies no fast_install, which is unacceptable.
8139 # Some rework will be needed to allow for fast_install
8140 # before this can be enabled.
8141 hardcode_into_libs=yes
8143 # Append ld.so.conf contents to the search path
8144 if test -f /etc/ld.so.conf; then
8145 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8146 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8149 # We used to test for /lib/ld.so.1 and disable shared libraries on
8150 # powerpc, because MkLinux only supported shared libraries with the
8151 # GNU dynamic linker. Since this was broken with cross compilers,
8152 # most powerpc-linux boxes support dynamic linking these days and
8153 # people can always --disable-shared, the test was removed, and we
8154 # assume the GNU/Linux dynamic linker is in use.
8155 dynamic_linker='GNU/Linux ld.so'
8162 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8163 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8164 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8165 dynamic_linker='NetBSD (a.out) ld.so'
8167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8168 soname_spec='${libname}${release}${shared_ext}$major'
8169 dynamic_linker='NetBSD ld.elf_so'
8171 shlibpath_var=LD_LIBRARY_PATH
8172 shlibpath_overrides_runpath=yes
8173 hardcode_into_libs=yes
8178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8179 shlibpath_var=LD_LIBRARY_PATH
8180 shlibpath_overrides_runpath=yes
8187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8188 soname_spec='${libname}${release}${shared_ext}$major'
8189 shlibpath_var=LD_LIBRARY_PATH
8190 shlibpath_overrides_runpath=no
8191 hardcode_into_libs=yes
8192 dynamic_linker='ldqnx.so'
8197 sys_lib_dlsearch_path_spec="/usr/lib"
8199 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8201 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8202 *) need_version=no ;;
8204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8205 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8206 shlibpath_var=LD_LIBRARY_PATH
8207 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8209 openbsd2.[89] | openbsd2.[89].*)
8210 shlibpath_overrides_runpath=no
8213 shlibpath_overrides_runpath=yes
8217 shlibpath_overrides_runpath=yes
8222 libname_spec='$name'
8225 library_names_spec='$libname${shared_ext} $libname.a'
8226 dynamic_linker='OS/2 ld.exe'
8227 shlibpath_var=LIBPATH
8230 osf3* | osf4* | osf5*)
8234 soname_spec='${libname}${release}${shared_ext}$major'
8235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8236 shlibpath_var=LD_LIBRARY_PATH
8237 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8238 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8250 soname_spec='${libname}${release}${shared_ext}$major'
8251 shlibpath_var=LD_LIBRARY_PATH
8252 shlibpath_overrides_runpath=yes
8253 hardcode_into_libs=yes
8254 # ldd complains unless libraries are executable
8255 postinstall_cmds='chmod +x $lib'
8260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8261 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8262 shlibpath_var=LD_LIBRARY_PATH
8263 shlibpath_overrides_runpath=yes
8264 if test "$with_gnu_ld" = yes; then
8272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8273 soname_spec='${libname}${release}${shared_ext}$major'
8274 shlibpath_var=LD_LIBRARY_PATH
8275 case $host_vendor in
8277 shlibpath_overrides_runpath=no
8279 runpath_var=LD_RUN_PATH
8287 shlibpath_overrides_runpath=no
8288 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8294 if test -d /usr/nec ;then
8296 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8297 soname_spec='$libname${shared_ext}.$major'
8298 shlibpath_var=LD_LIBRARY_PATH
8302 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8303 version_type=freebsd-elf
8306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8307 soname_spec='${libname}${release}${shared_ext}$major'
8308 shlibpath_var=LD_LIBRARY_PATH
8309 shlibpath_overrides_runpath=yes
8310 hardcode_into_libs=yes
8311 if test "$with_gnu_ld" = yes; then
8312 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8314 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
8317 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
8321 sys_lib_dlsearch_path_spec='/usr/lib'
8325 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
8329 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8330 shlibpath_var=LD_LIBRARY_PATH
8331 shlibpath_overrides_runpath=no
8332 hardcode_into_libs=yes
8337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8338 soname_spec='${libname}${release}${shared_ext}$major'
8339 shlibpath_var=LD_LIBRARY_PATH
8346 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8347 echo "${ECHO_T}$dynamic_linker" >&6
8348 test "$dynamic_linker" = no && can_build_shared=no
8350 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8351 if test "$GCC" = yes; then
8352 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8441 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8442 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
8444 if test -n "$hardcode_libdir_flag_spec" ||
8445 test -n "$runpath_var" ||
8446 test "X$hardcode_automatic" = "Xyes" ; then
8448 # We can hardcode non-existent directories.
8449 if test "$hardcode_direct" != no &&
8450 # If the only mechanism to avoid hardcoding is shlibpath_var, we
8451 # have to relink, otherwise we might link with an installed library
8452 # when we should be linking with a yet-to-be-installed one
8453 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
8454 test "$hardcode_minus_L" != no; then
8455 # Linking always hardcodes the temporary library directory.
8456 hardcode_action=relink
8458 # We can link without hardcoding, and we can hardcode nonexisting dirs.
8459 hardcode_action=immediate
8462 # We cannot hardcode anything, or else we can only hardcode existing
8464 hardcode_action=unsupported
8466 echo "$as_me:$LINENO: result: $hardcode_action" >&5
8467 echo "${ECHO_T}$hardcode_action" >&6
8469 if test "$hardcode_action" = relink ||
8470 test "$inherit_rpath" = yes; then
8471 # Fast installation is not supported
8472 enable_fast_install=no
8473 elif test "$shlibpath_overrides_runpath" = yes ||
8474 test "$enable_shared" = no; then
8475 # Fast installation is not necessary
8476 enable_fast_install=needless
8484 if test "x$enable_dlopen" != xyes; then
8485 enable_dlopen=unknown
8486 enable_dlopen_self=unknown
8487 enable_dlopen_self_static=unknown
8494 lt_cv_dlopen="load_add_on"
8496 lt_cv_dlopen_self=yes
8500 lt_cv_dlopen="LoadLibrary"
8505 lt_cv_dlopen="dlopen"
8510 # if libdl is installed we need to link against it
8511 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8512 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8513 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8514 echo $ECHO_N "(cached) $ECHO_C" >&6
8516 ac_check_lib_save_LIBS=$LIBS
8518 cat >conftest.$ac_ext <<_ACEOF
8521 cat confdefs.h >>conftest.$ac_ext
8522 cat >>conftest.$ac_ext <<_ACEOF
8523 /* end confdefs.h. */
8525 /* Override any gcc2 internal prototype to avoid an error. */
8529 /* We use char because int might match the return type of a gcc2
8530 builtin and then its argument prototype would still apply. */
8540 rm -f conftest.$ac_objext conftest$ac_exeext
8541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8542 (eval $ac_link) 2>conftest.er1
8544 grep -v '^ *+' conftest.er1 >conftest.err
8546 cat conftest.err >&5
8547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8548 (exit $ac_status); } &&
8549 { ac_try='test -z "$ac_c_werror_flag"
8550 || test ! -s conftest.err'
8551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 (exit $ac_status); }; } &&
8556 { ac_try='test -s conftest$ac_exeext'
8557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); }; }; then
8562 ac_cv_lib_dl_dlopen=yes
8564 echo "$as_me: failed program was:" >&5
8565 sed 's/^/| /' conftest.$ac_ext >&5
8567 ac_cv_lib_dl_dlopen=no
8569 rm -f conftest.err conftest.$ac_objext \
8570 conftest$ac_exeext conftest.$ac_ext
8571 LIBS=$ac_check_lib_save_LIBS
8573 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8574 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8575 if test $ac_cv_lib_dl_dlopen = yes; then
8576 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8581 lt_cv_dlopen_self=yes
8588 echo "$as_me:$LINENO: checking for shl_load" >&5
8589 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8590 if test "${ac_cv_func_shl_load+set}" = set; then
8591 echo $ECHO_N "(cached) $ECHO_C" >&6
8593 cat >conftest.$ac_ext <<_ACEOF
8596 cat confdefs.h >>conftest.$ac_ext
8597 cat >>conftest.$ac_ext <<_ACEOF
8598 /* end confdefs.h. */
8599 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8601 #define shl_load innocuous_shl_load
8603 /* System header to define __stub macros and hopefully few prototypes,
8604 which can conflict with char shl_load (); below.
8605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8606 <limits.h> exists even on freestanding compilers. */
8609 # include <limits.h>
8611 # include <assert.h>
8616 /* Override any gcc2 internal prototype to avoid an error. */
8621 /* We use char because int might match the return type of a gcc2
8622 builtin and then its argument prototype would still apply. */
8624 /* The GNU C library defines this for functions which it implements
8625 to always fail with ENOSYS. Some functions are actually named
8626 something starting with __ and the normal name is an alias. */
8627 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8630 char (*f) () = shl_load;
8639 return f != shl_load;
8644 rm -f conftest.$ac_objext conftest$ac_exeext
8645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8646 (eval $ac_link) 2>conftest.er1
8648 grep -v '^ *+' conftest.er1 >conftest.err
8650 cat conftest.err >&5
8651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8652 (exit $ac_status); } &&
8653 { ac_try='test -z "$ac_c_werror_flag"
8654 || test ! -s conftest.err'
8655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); }; } &&
8660 { ac_try='test -s conftest$ac_exeext'
8661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8665 (exit $ac_status); }; }; then
8666 ac_cv_func_shl_load=yes
8668 echo "$as_me: failed program was:" >&5
8669 sed 's/^/| /' conftest.$ac_ext >&5
8671 ac_cv_func_shl_load=no
8673 rm -f conftest.err conftest.$ac_objext \
8674 conftest$ac_exeext conftest.$ac_ext
8676 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8677 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8678 if test $ac_cv_func_shl_load = yes; then
8679 lt_cv_dlopen="shl_load"
8681 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8682 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8683 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8684 echo $ECHO_N "(cached) $ECHO_C" >&6
8686 ac_check_lib_save_LIBS=$LIBS
8688 cat >conftest.$ac_ext <<_ACEOF
8691 cat confdefs.h >>conftest.$ac_ext
8692 cat >>conftest.$ac_ext <<_ACEOF
8693 /* end confdefs.h. */
8695 /* Override any gcc2 internal prototype to avoid an error. */
8699 /* We use char because int might match the return type of a gcc2
8700 builtin and then its argument prototype would still apply. */
8710 rm -f conftest.$ac_objext conftest$ac_exeext
8711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8712 (eval $ac_link) 2>conftest.er1
8714 grep -v '^ *+' conftest.er1 >conftest.err
8716 cat conftest.err >&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); } &&
8719 { ac_try='test -z "$ac_c_werror_flag"
8720 || test ! -s conftest.err'
8721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725 (exit $ac_status); }; } &&
8726 { ac_try='test -s conftest$ac_exeext'
8727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8731 (exit $ac_status); }; }; then
8732 ac_cv_lib_dld_shl_load=yes
8734 echo "$as_me: failed program was:" >&5
8735 sed 's/^/| /' conftest.$ac_ext >&5
8737 ac_cv_lib_dld_shl_load=no
8739 rm -f conftest.err conftest.$ac_objext \
8740 conftest$ac_exeext conftest.$ac_ext
8741 LIBS=$ac_check_lib_save_LIBS
8743 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8744 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8745 if test $ac_cv_lib_dld_shl_load = yes; then
8746 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8748 echo "$as_me:$LINENO: checking for dlopen" >&5
8749 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8750 if test "${ac_cv_func_dlopen+set}" = set; then
8751 echo $ECHO_N "(cached) $ECHO_C" >&6
8753 cat >conftest.$ac_ext <<_ACEOF
8756 cat confdefs.h >>conftest.$ac_ext
8757 cat >>conftest.$ac_ext <<_ACEOF
8758 /* end confdefs.h. */
8759 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8761 #define dlopen innocuous_dlopen
8763 /* System header to define __stub macros and hopefully few prototypes,
8764 which can conflict with char dlopen (); below.
8765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8766 <limits.h> exists even on freestanding compilers. */
8769 # include <limits.h>
8771 # include <assert.h>
8776 /* Override any gcc2 internal prototype to avoid an error. */
8781 /* We use char because int might match the return type of a gcc2
8782 builtin and then its argument prototype would still apply. */
8784 /* The GNU C library defines this for functions which it implements
8785 to always fail with ENOSYS. Some functions are actually named
8786 something starting with __ and the normal name is an alias. */
8787 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8790 char (*f) () = dlopen;
8804 rm -f conftest.$ac_objext conftest$ac_exeext
8805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8806 (eval $ac_link) 2>conftest.er1
8808 grep -v '^ *+' conftest.er1 >conftest.err
8810 cat conftest.err >&5
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); } &&
8813 { ac_try='test -z "$ac_c_werror_flag"
8814 || test ! -s conftest.err'
8815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); }; } &&
8820 { ac_try='test -s conftest$ac_exeext'
8821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 (exit $ac_status); }; }; then
8826 ac_cv_func_dlopen=yes
8828 echo "$as_me: failed program was:" >&5
8829 sed 's/^/| /' conftest.$ac_ext >&5
8831 ac_cv_func_dlopen=no
8833 rm -f conftest.err conftest.$ac_objext \
8834 conftest$ac_exeext conftest.$ac_ext
8836 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8837 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8838 if test $ac_cv_func_dlopen = yes; then
8839 lt_cv_dlopen="dlopen"
8841 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8842 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8843 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8846 ac_check_lib_save_LIBS=$LIBS
8848 cat >conftest.$ac_ext <<_ACEOF
8851 cat confdefs.h >>conftest.$ac_ext
8852 cat >>conftest.$ac_ext <<_ACEOF
8853 /* end confdefs.h. */
8855 /* Override any gcc2 internal prototype to avoid an error. */
8859 /* We use char because int might match the return type of a gcc2
8860 builtin and then its argument prototype would still apply. */
8870 rm -f conftest.$ac_objext conftest$ac_exeext
8871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8872 (eval $ac_link) 2>conftest.er1
8874 grep -v '^ *+' conftest.er1 >conftest.err
8876 cat conftest.err >&5
8877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878 (exit $ac_status); } &&
8879 { ac_try='test -z "$ac_c_werror_flag"
8880 || test ! -s conftest.err'
8881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885 (exit $ac_status); }; } &&
8886 { ac_try='test -s conftest$ac_exeext'
8887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8891 (exit $ac_status); }; }; then
8892 ac_cv_lib_dl_dlopen=yes
8894 echo "$as_me: failed program was:" >&5
8895 sed 's/^/| /' conftest.$ac_ext >&5
8897 ac_cv_lib_dl_dlopen=no
8899 rm -f conftest.err conftest.$ac_objext \
8900 conftest$ac_exeext conftest.$ac_ext
8901 LIBS=$ac_check_lib_save_LIBS
8903 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8904 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8905 if test $ac_cv_lib_dl_dlopen = yes; then
8906 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8908 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8909 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8910 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8911 echo $ECHO_N "(cached) $ECHO_C" >&6
8913 ac_check_lib_save_LIBS=$LIBS
8915 cat >conftest.$ac_ext <<_ACEOF
8918 cat confdefs.h >>conftest.$ac_ext
8919 cat >>conftest.$ac_ext <<_ACEOF
8920 /* end confdefs.h. */
8922 /* Override any gcc2 internal prototype to avoid an error. */
8926 /* We use char because int might match the return type of a gcc2
8927 builtin and then its argument prototype would still apply. */
8937 rm -f conftest.$ac_objext conftest$ac_exeext
8938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8939 (eval $ac_link) 2>conftest.er1
8941 grep -v '^ *+' conftest.er1 >conftest.err
8943 cat conftest.err >&5
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 (exit $ac_status); } &&
8946 { ac_try='test -z "$ac_c_werror_flag"
8947 || test ! -s conftest.err'
8948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952 (exit $ac_status); }; } &&
8953 { ac_try='test -s conftest$ac_exeext'
8954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 (exit $ac_status); }; }; then
8959 ac_cv_lib_svld_dlopen=yes
8961 echo "$as_me: failed program was:" >&5
8962 sed 's/^/| /' conftest.$ac_ext >&5
8964 ac_cv_lib_svld_dlopen=no
8966 rm -f conftest.err conftest.$ac_objext \
8967 conftest$ac_exeext conftest.$ac_ext
8968 LIBS=$ac_check_lib_save_LIBS
8970 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8971 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8972 if test $ac_cv_lib_svld_dlopen = yes; then
8973 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8975 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8976 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8977 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8978 echo $ECHO_N "(cached) $ECHO_C" >&6
8980 ac_check_lib_save_LIBS=$LIBS
8982 cat >conftest.$ac_ext <<_ACEOF
8985 cat confdefs.h >>conftest.$ac_ext
8986 cat >>conftest.$ac_ext <<_ACEOF
8987 /* end confdefs.h. */
8989 /* Override any gcc2 internal prototype to avoid an error. */
8993 /* We use char because int might match the return type of a gcc2
8994 builtin and then its argument prototype would still apply. */
9004 rm -f conftest.$ac_objext conftest$ac_exeext
9005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9006 (eval $ac_link) 2>conftest.er1
9008 grep -v '^ *+' conftest.er1 >conftest.err
9010 cat conftest.err >&5
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); } &&
9013 { ac_try='test -z "$ac_c_werror_flag"
9014 || test ! -s conftest.err'
9015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9019 (exit $ac_status); }; } &&
9020 { ac_try='test -s conftest$ac_exeext'
9021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025 (exit $ac_status); }; }; then
9026 ac_cv_lib_dld_dld_link=yes
9028 echo "$as_me: failed program was:" >&5
9029 sed 's/^/| /' conftest.$ac_ext >&5
9031 ac_cv_lib_dld_dld_link=no
9033 rm -f conftest.err conftest.$ac_objext \
9034 conftest$ac_exeext conftest.$ac_ext
9035 LIBS=$ac_check_lib_save_LIBS
9037 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9038 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9039 if test $ac_cv_lib_dld_dld_link = yes; then
9040 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9061 if test "x$lt_cv_dlopen" != xno; then
9067 case $lt_cv_dlopen in
9069 save_CPPFLAGS="$CPPFLAGS"
9070 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9072 save_LDFLAGS="$LDFLAGS"
9073 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9076 LIBS="$lt_cv_dlopen_libs $LIBS"
9078 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9079 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9080 if test "${lt_cv_dlopen_self+set}" = set; then
9081 echo $ECHO_N "(cached) $ECHO_C" >&6
9083 if test "$cross_compiling" = yes; then :
9084 lt_cv_dlopen_self=cross
9086 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9087 lt_status=$lt_dlunknown
9088 cat > conftest.$ac_ext <<_LT_EOF
9089 #line 9089 "configure"
9090 #include "confdefs.h"
9099 # define LT_DLGLOBAL RTLD_GLOBAL
9102 # define LT_DLGLOBAL DL_GLOBAL
9104 # define LT_DLGLOBAL 0
9108 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9109 find out it does not work in some platform. */
9110 #ifndef LT_DLLAZY_OR_NOW
9112 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9115 # define LT_DLLAZY_OR_NOW DL_LAZY
9118 # define LT_DLLAZY_OR_NOW RTLD_NOW
9121 # define LT_DLLAZY_OR_NOW DL_NOW
9123 # define LT_DLLAZY_OR_NOW 0
9131 extern "C" void exit (int);
9134 void fnord() { int i=42;}
9137 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9138 int status = $lt_dlunknown;
9142 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9143 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9144 /* dlclose (self); */
9152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9153 (eval $ac_link) 2>&5
9155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9156 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9157 (./conftest; exit; ) >&5 2>/dev/null
9160 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9161 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9162 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9165 # compilation failed
9166 lt_cv_dlopen_self=no
9173 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9174 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9176 if test "x$lt_cv_dlopen_self" = xyes; then
9177 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9178 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9179 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9180 if test "${lt_cv_dlopen_self_static+set}" = set; then
9181 echo $ECHO_N "(cached) $ECHO_C" >&6
9183 if test "$cross_compiling" = yes; then :
9184 lt_cv_dlopen_self_static=cross
9186 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9187 lt_status=$lt_dlunknown
9188 cat > conftest.$ac_ext <<_LT_EOF
9189 #line 9189 "configure"
9190 #include "confdefs.h"
9199 # define LT_DLGLOBAL RTLD_GLOBAL
9202 # define LT_DLGLOBAL DL_GLOBAL
9204 # define LT_DLGLOBAL 0
9208 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9209 find out it does not work in some platform. */
9210 #ifndef LT_DLLAZY_OR_NOW
9212 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9215 # define LT_DLLAZY_OR_NOW DL_LAZY
9218 # define LT_DLLAZY_OR_NOW RTLD_NOW
9221 # define LT_DLLAZY_OR_NOW DL_NOW
9223 # define LT_DLLAZY_OR_NOW 0
9231 extern "C" void exit (int);
9234 void fnord() { int i=42;}
9237 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9238 int status = $lt_dlunknown;
9242 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9243 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9244 /* dlclose (self); */
9252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9253 (eval $ac_link) 2>&5
9255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9256 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9257 (./conftest; exit; ) >&5 2>/dev/null
9260 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9261 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9262 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9265 # compilation failed
9266 lt_cv_dlopen_self_static=no
9273 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9274 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
9277 CPPFLAGS="$save_CPPFLAGS"
9278 LDFLAGS="$save_LDFLAGS"
9283 case $lt_cv_dlopen_self in
9284 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
9285 *) enable_dlopen_self=unknown ;;
9288 case $lt_cv_dlopen_self_static in
9289 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
9290 *) enable_dlopen_self_static=unknown ;;
9312 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9313 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9314 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
9315 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9316 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9317 echo "$as_me:$LINENO: result: yes" >&5
9318 echo "${ECHO_T}yes" >&6
9320 # FIXME - insert some real tests, host_os isn't really good enough
9323 if test -n "$STRIP" ; then
9324 striplib="$STRIP -x"
9325 old_striplib="$STRIP -S"
9326 echo "$as_me:$LINENO: result: yes" >&5
9327 echo "${ECHO_T}yes" >&6
9329 echo "$as_me:$LINENO: result: no" >&5
9330 echo "${ECHO_T}no" >&6
9334 echo "$as_me:$LINENO: result: no" >&5
9335 echo "${ECHO_T}no" >&6
9351 # Report which library types will actually be built
9352 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9353 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9354 echo "$as_me:$LINENO: result: $can_build_shared" >&5
9355 echo "${ECHO_T}$can_build_shared" >&6
9357 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9358 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9359 test "$can_build_shared" = "no" && enable_shared=no
9361 # On AIX, shared libraries and static libraries use the same namespace, and
9362 # are all built from PIC.
9365 test "$enable_shared" = yes && enable_static=no
9366 if test -n "$RANLIB"; then
9367 archive_cmds="$archive_cmds~\$RANLIB \$lib"
9368 postinstall_cmds='$RANLIB $lib'
9373 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9374 test "$enable_shared" = yes && enable_static=no
9378 echo "$as_me:$LINENO: result: $enable_shared" >&5
9379 echo "${ECHO_T}$enable_shared" >&6
9381 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9382 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9383 # Make sure either enable_shared or enable_static is yes.
9384 test "$enable_shared" = yes || enable_static=yes
9385 echo "$as_me:$LINENO: result: $enable_static" >&5
9386 echo "${ECHO_T}$enable_static" >&6
9393 ac_cpp='$CPP $CPPFLAGS'
9394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9412 ac_config_commands="$ac_config_commands libtool"
9422 ac_cpp='$CPP $CPPFLAGS'
9423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9429 for ac_header in sys/time.h
9431 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9433 echo "$as_me:$LINENO: checking for $ac_header" >&5
9434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9436 echo $ECHO_N "(cached) $ECHO_C" >&6
9438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9439 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9441 # Is the header compilable?
9442 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9443 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9444 cat >conftest.$ac_ext <<_ACEOF
9447 cat confdefs.h >>conftest.$ac_ext
9448 cat >>conftest.$ac_ext <<_ACEOF
9449 /* end confdefs.h. */
9450 $ac_includes_default
9451 #include <$ac_header>
9453 rm -f conftest.$ac_objext
9454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9455 (eval $ac_compile) 2>conftest.er1
9457 grep -v '^ *+' conftest.er1 >conftest.err
9459 cat conftest.err >&5
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); } &&
9462 { ac_try='test -z "$ac_c_werror_flag"
9463 || test ! -s conftest.err'
9464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9468 (exit $ac_status); }; } &&
9469 { ac_try='test -s conftest.$ac_objext'
9470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9474 (exit $ac_status); }; }; then
9475 ac_header_compiler=yes
9477 echo "$as_me: failed program was:" >&5
9478 sed 's/^/| /' conftest.$ac_ext >&5
9480 ac_header_compiler=no
9482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9483 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9484 echo "${ECHO_T}$ac_header_compiler" >&6
9486 # Is the header present?
9487 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9488 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9489 cat >conftest.$ac_ext <<_ACEOF
9492 cat confdefs.h >>conftest.$ac_ext
9493 cat >>conftest.$ac_ext <<_ACEOF
9494 /* end confdefs.h. */
9495 #include <$ac_header>
9497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9498 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9500 grep -v '^ *+' conftest.er1 >conftest.err
9502 cat conftest.err >&5
9503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9504 (exit $ac_status); } >/dev/null; then
9505 if test -s conftest.err; then
9506 ac_cpp_err=$ac_c_preproc_warn_flag
9507 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9514 if test -z "$ac_cpp_err"; then
9515 ac_header_preproc=yes
9517 echo "$as_me: failed program was:" >&5
9518 sed 's/^/| /' conftest.$ac_ext >&5
9520 ac_header_preproc=no
9522 rm -f conftest.err conftest.$ac_ext
9523 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9524 echo "${ECHO_T}$ac_header_preproc" >&6
9526 # So? What about this header?
9527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9529 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9530 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9532 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9533 ac_header_preproc=yes
9536 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9537 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9538 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9539 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9540 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9541 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9542 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9543 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9546 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9547 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9550 ## ------------------------------------------ ##
9551 ## Report this to the AC_PACKAGE_NAME lists. ##
9552 ## ------------------------------------------ ##
9555 sed "s/^/$as_me: WARNING: /" >&2
9558 echo "$as_me:$LINENO: checking for $ac_header" >&5
9559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9561 echo $ECHO_N "(cached) $ECHO_C" >&6
9563 eval "$as_ac_Header=\$ac_header_preproc"
9565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9569 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9570 cat >>confdefs.h <<_ACEOF
9571 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9578 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
9579 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
9580 if test "${ac_cv_header_time+set}" = set; then
9581 echo $ECHO_N "(cached) $ECHO_C" >&6
9583 cat >conftest.$ac_ext <<_ACEOF
9586 cat confdefs.h >>conftest.$ac_ext
9587 cat >>conftest.$ac_ext <<_ACEOF
9588 /* end confdefs.h. */
9589 #include <sys/types.h>
9590 #include <sys/time.h>
9596 if ((struct tm *) 0)
9602 rm -f conftest.$ac_objext
9603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9604 (eval $ac_compile) 2>conftest.er1
9606 grep -v '^ *+' conftest.er1 >conftest.err
9608 cat conftest.err >&5
9609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610 (exit $ac_status); } &&
9611 { ac_try='test -z "$ac_c_werror_flag"
9612 || test ! -s conftest.err'
9613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617 (exit $ac_status); }; } &&
9618 { ac_try='test -s conftest.$ac_objext'
9619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); }; }; then
9624 ac_cv_header_time=yes
9626 echo "$as_me: failed program was:" >&5
9627 sed 's/^/| /' conftest.$ac_ext >&5
9629 ac_cv_header_time=no
9631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9633 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9634 echo "${ECHO_T}$ac_cv_header_time" >&6
9635 if test $ac_cv_header_time = yes; then
9637 cat >>confdefs.h <<\_ACEOF
9638 #define TIME_WITH_SYS_TIME 1
9644 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
9645 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
9646 if test "${ac_cv_c_bigendian+set}" = set; then
9647 echo $ECHO_N "(cached) $ECHO_C" >&6
9649 # See if sys/param.h defines the BYTE_ORDER macro.
9650 cat >conftest.$ac_ext <<_ACEOF
9653 cat confdefs.h >>conftest.$ac_ext
9654 cat >>conftest.$ac_ext <<_ACEOF
9655 /* end confdefs.h. */
9656 #include <sys/types.h>
9657 #include <sys/param.h>
9662 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9670 rm -f conftest.$ac_objext
9671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9672 (eval $ac_compile) 2>conftest.er1
9674 grep -v '^ *+' conftest.er1 >conftest.err
9676 cat conftest.err >&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); } &&
9679 { ac_try='test -z "$ac_c_werror_flag"
9680 || test ! -s conftest.err'
9681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685 (exit $ac_status); }; } &&
9686 { ac_try='test -s conftest.$ac_objext'
9687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691 (exit $ac_status); }; }; then
9692 # It does; now see whether it defined to BIG_ENDIAN or not.
9693 cat >conftest.$ac_ext <<_ACEOF
9696 cat confdefs.h >>conftest.$ac_ext
9697 cat >>conftest.$ac_ext <<_ACEOF
9698 /* end confdefs.h. */
9699 #include <sys/types.h>
9700 #include <sys/param.h>
9705 #if BYTE_ORDER != BIG_ENDIAN
9713 rm -f conftest.$ac_objext
9714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9715 (eval $ac_compile) 2>conftest.er1
9717 grep -v '^ *+' conftest.er1 >conftest.err
9719 cat conftest.err >&5
9720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721 (exit $ac_status); } &&
9722 { ac_try='test -z "$ac_c_werror_flag"
9723 || test ! -s conftest.err'
9724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 (exit $ac_status); }; } &&
9729 { ac_try='test -s conftest.$ac_objext'
9730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9734 (exit $ac_status); }; }; then
9735 ac_cv_c_bigendian=yes
9737 echo "$as_me: failed program was:" >&5
9738 sed 's/^/| /' conftest.$ac_ext >&5
9740 ac_cv_c_bigendian=no
9742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9744 echo "$as_me: failed program was:" >&5
9745 sed 's/^/| /' conftest.$ac_ext >&5
9747 # It does not; compile a test program.
9748 if test "$cross_compiling" = yes; then
9749 # try to guess the endianness by grepping values into an object file
9750 ac_cv_c_bigendian=unknown
9751 cat >conftest.$ac_ext <<_ACEOF
9754 cat confdefs.h >>conftest.$ac_ext
9755 cat >>conftest.$ac_ext <<_ACEOF
9756 /* end confdefs.h. */
9757 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
9758 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
9759 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
9760 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
9761 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
9762 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
9766 _ascii (); _ebcdic ();
9771 rm -f conftest.$ac_objext
9772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9773 (eval $ac_compile) 2>conftest.er1
9775 grep -v '^ *+' conftest.er1 >conftest.err
9777 cat conftest.err >&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); } &&
9780 { ac_try='test -z "$ac_c_werror_flag"
9781 || test ! -s conftest.err'
9782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9786 (exit $ac_status); }; } &&
9787 { ac_try='test -s conftest.$ac_objext'
9788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9792 (exit $ac_status); }; }; then
9793 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
9794 ac_cv_c_bigendian=yes
9796 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
9797 if test "$ac_cv_c_bigendian" = unknown; then
9798 ac_cv_c_bigendian=no
9800 # finding both strings is unlikely to happen, but who knows?
9801 ac_cv_c_bigendian=unknown
9805 echo "$as_me: failed program was:" >&5
9806 sed 's/^/| /' conftest.$ac_ext >&5
9809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9811 cat >conftest.$ac_ext <<_ACEOF
9814 cat confdefs.h >>conftest.$ac_ext
9815 cat >>conftest.$ac_ext <<_ACEOF
9816 /* end confdefs.h. */
9820 /* Are we little or big endian? From Harbison&Steele. */
9824 char c[sizeof (long)];
9827 exit (u.c[sizeof (long) - 1] == 1);
9830 rm -f conftest$ac_exeext
9831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9832 (eval $ac_link) 2>&5
9834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9835 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); }; }; then
9841 ac_cv_c_bigendian=no
9843 echo "$as_me: program exited with status $ac_status" >&5
9844 echo "$as_me: failed program was:" >&5
9845 sed 's/^/| /' conftest.$ac_ext >&5
9848 ac_cv_c_bigendian=yes
9850 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9855 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
9856 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
9857 case $ac_cv_c_bigendian in
9860 cat >>confdefs.h <<\_ACEOF
9861 #define WORDS_BIGENDIAN 1
9867 { { echo "$as_me:$LINENO: error: unknown endianness
9868 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
9869 echo "$as_me: error: unknown endianness
9870 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
9871 { (exit 1); exit 1; }; } ;;
9876 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
9877 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
9878 if test "${ac_cv_lib_socket_connect+set}" = set; then
9879 echo $ECHO_N "(cached) $ECHO_C" >&6
9881 ac_check_lib_save_LIBS=$LIBS
9882 LIBS="-lsocket $LIBS"
9883 cat >conftest.$ac_ext <<_ACEOF
9886 cat confdefs.h >>conftest.$ac_ext
9887 cat >>conftest.$ac_ext <<_ACEOF
9888 /* end confdefs.h. */
9890 /* Override any gcc2 internal prototype to avoid an error. */
9894 /* We use char because int might match the return type of a gcc2
9895 builtin and then its argument prototype would still apply. */
9905 rm -f conftest.$ac_objext conftest$ac_exeext
9906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9907 (eval $ac_link) 2>conftest.er1
9909 grep -v '^ *+' conftest.er1 >conftest.err
9911 cat conftest.err >&5
9912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913 (exit $ac_status); } &&
9914 { ac_try='test -z "$ac_c_werror_flag"
9915 || test ! -s conftest.err'
9916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9920 (exit $ac_status); }; } &&
9921 { ac_try='test -s conftest$ac_exeext'
9922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 (exit $ac_status); }; }; then
9927 ac_cv_lib_socket_connect=yes
9929 echo "$as_me: failed program was:" >&5
9930 sed 's/^/| /' conftest.$ac_ext >&5
9932 ac_cv_lib_socket_connect=no
9934 rm -f conftest.err conftest.$ac_objext \
9935 conftest$ac_exeext conftest.$ac_ext
9936 LIBS=$ac_check_lib_save_LIBS
9938 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
9939 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
9940 if test $ac_cv_lib_socket_connect = yes; then
9941 cat >>confdefs.h <<_ACEOF
9942 #define HAVE_LIBSOCKET 1
9945 LIBS="-lsocket $LIBS"
9950 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
9951 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
9952 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
9953 echo $ECHO_N "(cached) $ECHO_C" >&6
9955 ac_check_lib_save_LIBS=$LIBS
9957 cat >conftest.$ac_ext <<_ACEOF
9960 cat confdefs.h >>conftest.$ac_ext
9961 cat >>conftest.$ac_ext <<_ACEOF
9962 /* end confdefs.h. */
9964 /* Override any gcc2 internal prototype to avoid an error. */
9968 /* We use char because int might match the return type of a gcc2
9969 builtin and then its argument prototype would still apply. */
9970 char gethostbyname ();
9979 rm -f conftest.$ac_objext conftest$ac_exeext
9980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9981 (eval $ac_link) 2>conftest.er1
9983 grep -v '^ *+' conftest.er1 >conftest.err
9985 cat conftest.err >&5
9986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9987 (exit $ac_status); } &&
9988 { ac_try='test -z "$ac_c_werror_flag"
9989 || test ! -s conftest.err'
9990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); }; } &&
9995 { ac_try='test -s conftest$ac_exeext'
9996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000 (exit $ac_status); }; }; then
10001 ac_cv_lib_nsl_gethostbyname=yes
10003 echo "$as_me: failed program was:" >&5
10004 sed 's/^/| /' conftest.$ac_ext >&5
10006 ac_cv_lib_nsl_gethostbyname=no
10008 rm -f conftest.err conftest.$ac_objext \
10009 conftest$ac_exeext conftest.$ac_ext
10010 LIBS=$ac_check_lib_save_LIBS
10012 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
10013 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
10014 if test $ac_cv_lib_nsl_gethostbyname = yes; then
10015 cat >>confdefs.h <<_ACEOF
10016 #define HAVE_LIBNSL 1
10024 echo "$as_me:$LINENO: checking for gethostbyname in -lresolv" >&5
10025 echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6
10026 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then
10027 echo $ECHO_N "(cached) $ECHO_C" >&6
10029 ac_check_lib_save_LIBS=$LIBS
10030 LIBS="-lresolv $LIBS"
10031 cat >conftest.$ac_ext <<_ACEOF
10034 cat confdefs.h >>conftest.$ac_ext
10035 cat >>conftest.$ac_ext <<_ACEOF
10036 /* end confdefs.h. */
10038 /* Override any gcc2 internal prototype to avoid an error. */
10042 /* We use char because int might match the return type of a gcc2
10043 builtin and then its argument prototype would still apply. */
10044 char gethostbyname ();
10053 rm -f conftest.$ac_objext conftest$ac_exeext
10054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10055 (eval $ac_link) 2>conftest.er1
10057 grep -v '^ *+' conftest.er1 >conftest.err
10059 cat conftest.err >&5
10060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10061 (exit $ac_status); } &&
10062 { ac_try='test -z "$ac_c_werror_flag"
10063 || test ! -s conftest.err'
10064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10065 (eval $ac_try) 2>&5
10067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068 (exit $ac_status); }; } &&
10069 { ac_try='test -s conftest$ac_exeext'
10070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10071 (eval $ac_try) 2>&5
10073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10074 (exit $ac_status); }; }; then
10075 ac_cv_lib_resolv_gethostbyname=yes
10077 echo "$as_me: failed program was:" >&5
10078 sed 's/^/| /' conftest.$ac_ext >&5
10080 ac_cv_lib_resolv_gethostbyname=no
10082 rm -f conftest.err conftest.$ac_objext \
10083 conftest$ac_exeext conftest.$ac_ext
10084 LIBS=$ac_check_lib_save_LIBS
10086 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5
10087 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6
10088 if test $ac_cv_lib_resolv_gethostbyname = yes; then
10089 cat >>confdefs.h <<_ACEOF
10090 #define HAVE_LIBRESOLV 1
10093 LIBS="-lresolv $LIBS"
10101 for ac_header in sys/socket.h netinet/in.h netinet/tcp.h arpa/inet.h
10103 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10105 echo "$as_me:$LINENO: checking for $ac_header" >&5
10106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10108 echo $ECHO_N "(cached) $ECHO_C" >&6
10110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10113 # Is the header compilable?
10114 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10115 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10116 cat >conftest.$ac_ext <<_ACEOF
10119 cat confdefs.h >>conftest.$ac_ext
10120 cat >>conftest.$ac_ext <<_ACEOF
10121 /* end confdefs.h. */
10122 $ac_includes_default
10123 #include <$ac_header>
10125 rm -f conftest.$ac_objext
10126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10127 (eval $ac_compile) 2>conftest.er1
10129 grep -v '^ *+' conftest.er1 >conftest.err
10131 cat conftest.err >&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); } &&
10134 { ac_try='test -z "$ac_c_werror_flag"
10135 || test ! -s conftest.err'
10136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10137 (eval $ac_try) 2>&5
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); }; } &&
10141 { ac_try='test -s conftest.$ac_objext'
10142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10143 (eval $ac_try) 2>&5
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); }; }; then
10147 ac_header_compiler=yes
10149 echo "$as_me: failed program was:" >&5
10150 sed 's/^/| /' conftest.$ac_ext >&5
10152 ac_header_compiler=no
10154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10155 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10156 echo "${ECHO_T}$ac_header_compiler" >&6
10158 # Is the header present?
10159 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10160 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10161 cat >conftest.$ac_ext <<_ACEOF
10164 cat confdefs.h >>conftest.$ac_ext
10165 cat >>conftest.$ac_ext <<_ACEOF
10166 /* end confdefs.h. */
10167 #include <$ac_header>
10169 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10170 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10172 grep -v '^ *+' conftest.er1 >conftest.err
10174 cat conftest.err >&5
10175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10176 (exit $ac_status); } >/dev/null; then
10177 if test -s conftest.err; then
10178 ac_cpp_err=$ac_c_preproc_warn_flag
10179 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10186 if test -z "$ac_cpp_err"; then
10187 ac_header_preproc=yes
10189 echo "$as_me: failed program was:" >&5
10190 sed 's/^/| /' conftest.$ac_ext >&5
10192 ac_header_preproc=no
10194 rm -f conftest.err conftest.$ac_ext
10195 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10196 echo "${ECHO_T}$ac_header_preproc" >&6
10198 # So? What about this header?
10199 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10201 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10202 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10204 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10205 ac_header_preproc=yes
10208 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10209 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10210 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10211 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10212 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10213 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10214 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10215 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10216 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10217 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10218 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10219 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10222 ## ------------------------------------------ ##
10223 ## Report this to the AC_PACKAGE_NAME lists. ##
10224 ## ------------------------------------------ ##
10227 sed "s/^/$as_me: WARNING: /" >&2
10230 echo "$as_me:$LINENO: checking for $ac_header" >&5
10231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10233 echo $ECHO_N "(cached) $ECHO_C" >&6
10235 eval "$as_ac_Header=\$ac_header_preproc"
10237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10242 cat >>confdefs.h <<_ACEOF
10243 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10251 # NOTE: Don't add -Wall or -Wunused, they both include
10252 # -Wunused-parameter which reports bogus warnings.
10253 build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \
10254 -Wformat -Wparentheses -Wpointer-arith"
10255 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
10256 # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
10257 # -Wchar-subscripts -Wuninitialized -Wtraditional -Wshadow -Wcast-qual
10258 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
10259 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
10260 # -Woverloaded-virtual -Winline -Werror"
10261 # Check whether --enable-build-warnings or --disable-build-warnings was given.
10262 if test "${enable_build_warnings+set}" = set; then
10263 enableval="$enable_build_warnings"
10264 case "${enableval}" in
10266 no) build_warnings="-w";;
10267 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
10268 build_warnings="${build_warnings} ${t}";;
10269 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
10270 build_warnings="${t} ${build_warnings}";;
10271 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
10273 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then
10274 echo "Setting compiler warning flags = $build_warnings" 6>&1
10276 fi; # Check whether --enable-rda-build-warnings or --disable-rda-build-warnings was given.
10277 if test "${enable_rda_build_warnings+set}" = set; then
10278 enableval="$enable_rda_build_warnings"
10279 case "${enableval}" in
10281 no) build_warnings="-w";;
10282 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
10283 build_warnings="${build_warnings} ${t}";;
10284 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
10285 build_warnings="${t} ${build_warnings}";;
10286 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
10288 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then
10289 echo "Setting LIBREMOTE specific compiler warning flags = $build_warnings" 6>&1
10293 if test "x${build_warnings}" != x -a "x$GCC" = xyes
10295 echo "$as_me:$LINENO: checking compiler warning flags" >&5
10296 echo $ECHO_N "checking compiler warning flags... $ECHO_C" >&6
10297 # Separate out the -Werror flag as some files just cannot be
10298 # compiled with it enabled.
10299 for w in ${build_warnings}; do
10301 -Werr*) WERROR_CFLAGS=-Werror ;;
10302 *) # Check that GCC accepts it
10303 if $CC $w 2>&1 | grep 'unrecognized option' > /dev/null; then
10306 WARN_CFLAGS="${WARN_CFLAGS} $w"
10310 echo "$as_me:$LINENO: result: ${WARN_CFLAGS}${WERROR_CFLAGS}" >&5
10311 echo "${ECHO_T}${WARN_CFLAGS}${WERROR_CFLAGS}" >&6
10316 # Add target dependent subdirectories here
10320 targ_subdirs="$targ_subdirs unix"
10323 subdirs="$subdirs unix"
10330 ZW_GNU_GETTEXT_SISTER_DIR
10332 ac_config_files="$ac_config_files Makefile lib/Makefile samples/Makefile qe/Makefile"
10333 cat >confcache <<\_ACEOF
10334 # This file is a shell script that caches the results of configure
10335 # tests run on this system so they can be shared between configure
10336 # scripts and configure runs, see configure's option --config-cache.
10337 # It is not useful on other systems. If it contains results you don't
10338 # want to keep, you may remove or edit it.
10340 # config.status only pays attention to the cache file if you give it
10341 # the --recheck option to rerun configure.
10343 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10344 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10345 # following values.
10349 # The following way of writing the cache mishandles newlines in values,
10350 # but we know of no workaround that is simple, portable, and efficient.
10351 # So, don't put newlines in cache variables' values.
10352 # Ultrix sh set writes to stderr and can't be redirected directly,
10353 # and sets the high bit in the cache file unless we assign to the vars.
10356 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10358 # `set' does not quote correctly, so add quotes (double-quote
10359 # substitution turns \\\\ into \\, and sed turns \\ into \).
10362 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10365 # `set' quotes correctly as required by POSIX, so do not add quotes.
10367 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10374 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10376 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10378 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10379 if test -w $cache_file; then
10380 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10381 cat confcache >$cache_file
10383 echo "not updating unwritable cache $cache_file"
10388 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10389 # Let make expand exec_prefix.
10390 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10392 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10393 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10394 # trailing colons and then remove the whole line if VPATH becomes empty
10395 # (actually we leave an empty line to preserve line numbers).
10396 if test "x$srcdir" = x.; then
10397 ac_vpsub='/^[ ]*VPATH[ ]*=/{
10398 s/:*\$(srcdir):*/:/;
10399 s/:*\${srcdir}:*/:/;
10401 s/^\([^=]*=[ ]*\):*/\1/;
10407 DEFS=-DHAVE_CONFIG_H
10411 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10412 # 1. Remove the extension, and $U if already installed.
10413 ac_i=`echo "$ac_i" |
10414 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10416 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
10417 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
10419 LIBOBJS=$ac_libobjs
10421 LTLIBOBJS=$ac_ltlibobjs
10424 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10425 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10426 Usually this means the macro was only invoked conditionally." >&5
10427 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
10428 Usually this means the macro was only invoked conditionally." >&2;}
10429 { (exit 1); exit 1; }; }
10431 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10432 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
10433 Usually this means the macro was only invoked conditionally." >&5
10434 echo "$as_me: error: conditional \"AMDEP\" was never defined.
10435 Usually this means the macro was only invoked conditionally." >&2;}
10436 { (exit 1); exit 1; }; }
10438 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10439 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10440 Usually this means the macro was only invoked conditionally." >&5
10441 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10442 Usually this means the macro was only invoked conditionally." >&2;}
10443 { (exit 1); exit 1; }; }
10446 : ${CONFIG_STATUS=./config.status}
10447 ac_clean_files_save=$ac_clean_files
10448 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10449 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10450 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10451 cat >$CONFIG_STATUS <<_ACEOF
10453 # Generated by $as_me.
10454 # Run this file to recreate the current configuration.
10455 # Compiler output produced by configure, useful for debugging
10456 # configure, is in config.log if it exists.
10459 ac_cs_recheck=false
10461 SHELL=\${CONFIG_SHELL-$SHELL}
10464 cat >>$CONFIG_STATUS <<\_ACEOF
10465 ## --------------------- ##
10466 ## M4sh Initialization. ##
10467 ## --------------------- ##
10469 # Be Bourne compatible
10470 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10473 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10474 # is contrary to our usage. Disable this feature.
10475 alias -g '${1+"$@"}'='"$@"'
10476 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
10479 DUALCASE=1; export DUALCASE # for MKS sh
10481 # Support unset when possible.
10482 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10489 # Work around bugs in pre-3.0 UWIN ksh.
10490 $as_unset ENV MAIL MAILPATH
10497 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10498 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10499 LC_TELEPHONE LC_TIME
10501 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10502 eval $as_var=C; export $as_var
10508 # Required to use basename.
10509 if expr a : '\(a\)' >/dev/null 2>&1; then
10515 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
10516 as_basename=basename
10522 # Name of the executable.
10523 as_me=`$as_basename "$0" ||
10524 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10525 X"$0" : 'X\(//\)$' \| \
10526 X"$0" : 'X\(/\)$' \| \
10527 . : '\(.\)' 2>/dev/null ||
10529 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10530 /^X\/\(\/\/\)$/{ s//\1/; q; }
10531 /^X\/\(\/\).*/{ s//\1/; q; }
10535 # PATH needs CR, and LINENO needs CR and PATH.
10536 # Avoid depending upon Character Ranges.
10537 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10538 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10539 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10540 as_cr_digits='0123456789'
10541 as_cr_alnum=$as_cr_Letters$as_cr_digits
10543 # The user is always right.
10544 if test "${PATH_SEPARATOR+set}" != set; then
10545 echo "#! /bin/sh" >conf$$.sh
10546 echo "exit 0" >>conf$$.sh
10548 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10557 as_lineno_1=$LINENO
10558 as_lineno_2=$LINENO
10559 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10560 test "x$as_lineno_1" != "x$as_lineno_2" &&
10561 test "x$as_lineno_3" = "x$as_lineno_2" || {
10562 # Find who we are. Look in the path if we contain no path at all
10565 *[\\/]* ) as_myself=$0 ;;
10566 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10567 for as_dir in $PATH
10570 test -z "$as_dir" && as_dir=.
10571 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10576 # We did not find ourselves, most probably we were run as `sh COMMAND'
10577 # in which case we are not to be found in the path.
10578 if test "x$as_myself" = x; then
10581 if test ! -f "$as_myself"; then
10582 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10583 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10584 { (exit 1); exit 1; }; }
10586 case $CONFIG_SHELL in
10588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10589 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10592 test -z "$as_dir" && as_dir=.
10593 for as_base in sh bash ksh sh5; do
10596 if ("$as_dir/$as_base" -c '
10597 as_lineno_1=$LINENO
10598 as_lineno_2=$LINENO
10599 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10600 test "x$as_lineno_1" != "x$as_lineno_2" &&
10601 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
10602 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
10603 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
10604 CONFIG_SHELL=$as_dir/$as_base
10605 export CONFIG_SHELL
10606 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10614 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10615 # uniformly replaced by the line number. The first 'sed' inserts a
10616 # line-number line before each line; the second 'sed' does the real
10617 # work. The second script uses 'N' to pair each line-number line
10618 # with the numbered line, and appends trailing '-' during
10619 # substitution so that $LINENO is not a special case at line end.
10620 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10621 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
10622 sed '=' <$as_myself |
10627 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10630 s,^['$as_cr_digits']*\n,,
10631 ' >$as_me.lineno &&
10632 chmod +x $as_me.lineno ||
10633 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10634 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10635 { (exit 1); exit 1; }; }
10637 # Don't try to exec as it changes $[0], causing all sort of problems
10638 # (the dirname of $[0] is not the place where we might find the
10639 # original and so on. Autoconf is especially sensible to this).
10641 # Exit status is that of the last command.
10646 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10647 *c*,-n*) ECHO_N= ECHO_C='
10649 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
10650 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
10653 if expr a : '\(a\)' >/dev/null 2>&1; then
10659 rm -f conf$$ conf$$.exe conf$$.file
10661 if ln -s conf$$.file conf$$ 2>/dev/null; then
10662 # We could just check for DJGPP; but this test a) works b) is more generic
10663 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10664 if test -f conf$$.exe; then
10665 # Don't use ln at all; we don't have any links
10670 elif ln conf$$.file conf$$ 2>/dev/null; then
10675 rm -f conf$$ conf$$.exe conf$$.file
10677 if mkdir -p . 2>/dev/null; then
10680 test -d ./-p && rmdir ./-p
10684 as_executable_p="test -f"
10686 # Sed expression to map a string onto a valid CPP name.
10687 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10689 # Sed expression to map a string onto a valid variable name.
10690 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10694 # We need space, tab and new line, in precisely that order.
10704 # Open the log real soon, to keep \$[0] and so on meaningful, and to
10705 # report actual input values of CONFIG_FILES etc. instead of their
10706 # values after options handling. Logging --version etc. is OK.
10710 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10711 ## Running $as_me. ##
10716 This file was extended by $as_me, which was
10717 generated by GNU Autoconf 2.59. Invocation command line was
10719 CONFIG_FILES = $CONFIG_FILES
10720 CONFIG_HEADERS = $CONFIG_HEADERS
10721 CONFIG_LINKS = $CONFIG_LINKS
10722 CONFIG_COMMANDS = $CONFIG_COMMANDS
10726 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10730 # Files that config.status was made for.
10731 if test -n "$ac_config_files"; then
10732 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10735 if test -n "$ac_config_headers"; then
10736 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10739 if test -n "$ac_config_links"; then
10740 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10743 if test -n "$ac_config_commands"; then
10744 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10747 cat >>$CONFIG_STATUS <<\_ACEOF
10750 \`$as_me' instantiates files from templates according to the
10751 current configuration.
10753 Usage: $0 [OPTIONS] [FILE]...
10755 -h, --help print this help, then exit
10756 -V, --version print version number, then exit
10757 -q, --quiet do not print progress messages
10758 -d, --debug don't remove temporary files
10759 --recheck update $as_me by reconfiguring in the same conditions
10760 --file=FILE[:TEMPLATE]
10761 instantiate the configuration file FILE
10762 --header=FILE[:TEMPLATE]
10763 instantiate the configuration header FILE
10765 Configuration files:
10768 Configuration headers:
10771 Configuration commands:
10774 Report bugs to <bug-autoconf@gnu.org>."
10777 cat >>$CONFIG_STATUS <<_ACEOF
10780 configured by $0, generated by GNU Autoconf 2.59,
10781 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10783 Copyright (C) 2003 Free Software Foundation, Inc.
10784 This config.status script is free software; the Free Software Foundation
10785 gives unlimited permission to copy, distribute and modify it."
10790 cat >>$CONFIG_STATUS <<\_ACEOF
10791 # If no file are specified by the user, then we need to provide default
10792 # value. By we need to know if files were specified by the user.
10798 ac_option=`expr "x$1" : 'x\([^=]*\)='`
10799 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
10807 *) # This is not an option, so the user has probably given explicit
10810 ac_need_defaults=false;;
10814 # Handling of the options.
10816 cat >>$CONFIG_STATUS <<\_ACEOF
10817 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10819 --version | --vers* | -V )
10820 echo "$ac_cs_version"; exit 0 ;;
10822 # Conflict between --help and --header
10823 { { echo "$as_me:$LINENO: error: ambiguous option: $1
10824 Try \`$0 --help' for more information." >&5
10825 echo "$as_me: error: ambiguous option: $1
10826 Try \`$0 --help' for more information." >&2;}
10827 { (exit 1); exit 1; }; };;
10828 --help | --hel | -h )
10829 echo "$ac_cs_usage"; exit 0 ;;
10830 --debug | --d* | -d )
10832 --file | --fil | --fi | --f )
10834 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
10835 ac_need_defaults=false;;
10836 --header | --heade | --head | --hea )
10838 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
10839 ac_need_defaults=false;;
10840 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10841 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10844 # This is an error.
10845 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10846 Try \`$0 --help' for more information." >&5
10847 echo "$as_me: error: unrecognized option: $1
10848 Try \`$0 --help' for more information." >&2;}
10849 { (exit 1); exit 1; }; } ;;
10851 *) ac_config_targets="$ac_config_targets $1" ;;
10857 ac_configure_extra_args=
10859 if $ac_cs_silent; then
10861 ac_configure_extra_args="$ac_configure_extra_args --silent"
10865 cat >>$CONFIG_STATUS <<_ACEOF
10866 if \$ac_cs_recheck; then
10867 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10868 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10873 cat >>$CONFIG_STATUS <<_ACEOF
10875 # INIT-COMMANDS section.
10878 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10881 # The HP-UX ksh and POSIX shell print the target directory to stdout
10882 # if CDPATH is set.
10883 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10885 sed_quote_subst='$sed_quote_subst'
10886 double_quote_subst='$double_quote_subst'
10887 delay_variable_subst='$delay_variable_subst'
10888 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
10889 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
10890 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
10891 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
10892 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
10893 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
10894 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
10895 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
10896 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
10897 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
10898 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
10899 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
10900 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
10901 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
10902 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
10903 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
10904 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
10905 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
10906 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
10907 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
10908 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
10909 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
10910 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
10911 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
10912 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
10913 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
10914 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
10915 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10916 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
10917 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
10918 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
10919 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
10920 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
10921 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
10922 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10923 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10924 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10925 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
10926 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
10927 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
10928 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
10929 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
10930 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
10931 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
10932 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
10933 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
10934 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
10935 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
10936 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
10937 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
10938 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
10939 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
10940 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
10941 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
10942 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
10943 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10944 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10945 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
10946 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
10947 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
10948 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
10949 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
10950 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10951 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10952 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10953 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10954 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10955 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10956 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
10957 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
10958 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
10959 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
10960 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
10961 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
10962 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
10963 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
10964 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
10965 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
10966 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
10967 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
10968 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
10969 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
10970 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
10971 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10972 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
10973 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
10974 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10975 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
10976 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
10977 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
10978 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
10979 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
10980 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
10981 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
10982 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
10983 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
10984 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
10985 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
10986 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10987 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10988 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
10989 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
10990 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
10991 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
10992 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
10993 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
10994 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
10995 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
10996 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
10997 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
10998 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11001 LTCFLAGS='$LTCFLAGS'
11002 compiler='$compiler_DEFAULT'
11004 # Quote evaled strings.
11015 deplibs_check_method \
11024 lt_cv_sys_global_symbol_pipe \
11025 lt_cv_sys_global_symbol_to_cdecl \
11026 lt_cv_sys_global_symbol_to_c_name_address \
11029 lt_prog_compiler_no_builtin_flag \
11030 lt_prog_compiler_wl \
11031 lt_prog_compiler_pic \
11032 lt_prog_compiler_static \
11033 lt_cv_prog_compiler_c_o \
11036 export_dynamic_flag_spec \
11037 whole_archive_flag_spec \
11038 compiler_needs_object \
11040 allow_undefined_flag \
11041 no_undefined_flag \
11042 hardcode_libdir_flag_spec \
11043 hardcode_libdir_flag_spec_ld \
11044 hardcode_libdir_separator \
11049 variables_saved_for_relink \
11051 library_names_spec \
11056 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11057 *[\\\\\\\`\\"\\\$]*)
11058 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
11061 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11066 # Double-quote double-evaled strings.
11067 for var in reload_cmds \
11068 old_postinstall_cmds \
11069 old_postuninstall_cmds \
11071 extract_expsyms_cmds \
11072 old_archive_from_new_cmds \
11073 old_archive_from_expsyms_cmds \
11075 archive_expsym_cmds \
11077 module_expsym_cmds \
11078 export_symbols_cmds \
11081 postuninstall_cmds \
11083 sys_lib_search_path_spec \
11084 sys_lib_dlsearch_path_spec; do
11085 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
11086 *[\\\\\\\`\\"\\\$]*)
11087 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
11090 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
11095 # Fix-up fallback echo if it was mangled by the above quoting rules.
11097 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
11101 ac_aux_dir='$ac_aux_dir'
11102 xsi_shell='$xsi_shell'
11103 lt_shell_append='$lt_shell_append'
11105 # See if we are running on zsh, and set the options which allow our
11106 # commands through without removal of \ escapes INIT.
11107 if test -n "\${ZSH_VERSION+set}" ; then
11108 setopt NO_GLOB_SUBST
11114 TIMESTAMP='$TIMESTAMP'
11125 cat >>$CONFIG_STATUS <<\_ACEOF
11126 for ac_config_target in $ac_config_targets
11128 case "$ac_config_target" in
11129 # Handling of arguments.
11130 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11131 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
11132 "samples/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
11133 "qe/Makefile" ) CONFIG_FILES="$CONFIG_FILES qe/Makefile" ;;
11134 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
11135 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
11136 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
11137 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11138 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11139 { (exit 1); exit 1; }; };;
11143 # If the user did not use the arguments to specify the items to instantiate,
11144 # then the envvar interface is used. Set only those that are not.
11145 # We use the long form for the default assignment because of an extremely
11146 # bizarre bug on SunOS 4.1.3.
11147 if $ac_need_defaults; then
11148 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11149 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11150 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11153 # Have a temporary directory for convenience. Make it in the build tree
11154 # simply because there is no reason to put it here, and in addition,
11155 # creating and moving files from /tmp can sometimes cause problems.
11156 # Create a temporary directory, and hook for its removal unless debugging.
11159 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11160 trap '{ (exit 1); exit 1; }' 1 2 13 15
11163 # Create a (secure) tmp directory for tmp files.
11166 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11167 test -n "$tmp" && test -d "$tmp"
11170 tmp=./confstat$$-$RANDOM
11171 (umask 077 && mkdir $tmp)
11174 echo "$me: cannot create a temporary directory in ." >&2
11175 { (exit 1); exit 1; }
11180 cat >>$CONFIG_STATUS <<_ACEOF
11183 # CONFIG_FILES section.
11186 # No need to generate the scripts if there are no CONFIG_FILES.
11187 # This happens for instance when ./config.status config.h
11188 if test -n "\$CONFIG_FILES"; then
11189 # Protect against being on the right side of a sed subst in config.status.
11190 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11191 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11192 s,@SHELL@,$SHELL,;t t
11193 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11194 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11195 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11196 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11197 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11198 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11199 s,@exec_prefix@,$exec_prefix,;t t
11200 s,@prefix@,$prefix,;t t
11201 s,@program_transform_name@,$program_transform_name,;t t
11202 s,@bindir@,$bindir,;t t
11203 s,@sbindir@,$sbindir,;t t
11204 s,@libexecdir@,$libexecdir,;t t
11205 s,@datadir@,$datadir,;t t
11206 s,@sysconfdir@,$sysconfdir,;t t
11207 s,@sharedstatedir@,$sharedstatedir,;t t
11208 s,@localstatedir@,$localstatedir,;t t
11209 s,@libdir@,$libdir,;t t
11210 s,@includedir@,$includedir,;t t
11211 s,@oldincludedir@,$oldincludedir,;t t
11212 s,@infodir@,$infodir,;t t
11213 s,@mandir@,$mandir,;t t
11214 s,@build_alias@,$build_alias,;t t
11215 s,@host_alias@,$host_alias,;t t
11216 s,@target_alias@,$target_alias,;t t
11217 s,@DEFS@,$DEFS,;t t
11218 s,@ECHO_C@,$ECHO_C,;t t
11219 s,@ECHO_N@,$ECHO_N,;t t
11220 s,@ECHO_T@,$ECHO_T,;t t
11221 s,@LIBS@,$LIBS,;t t
11222 s,@build@,$build,;t t
11223 s,@build_cpu@,$build_cpu,;t t
11224 s,@build_vendor@,$build_vendor,;t t
11225 s,@build_os@,$build_os,;t t
11226 s,@host@,$host,;t t
11227 s,@host_cpu@,$host_cpu,;t t
11228 s,@host_vendor@,$host_vendor,;t t
11229 s,@host_os@,$host_os,;t t
11230 s,@target@,$target,;t t
11231 s,@target_cpu@,$target_cpu,;t t
11232 s,@target_vendor@,$target_vendor,;t t
11233 s,@target_os@,$target_os,;t t
11234 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11235 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
11236 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
11237 s,@CYGPATH_W@,$CYGPATH_W,;t t
11238 s,@PACKAGE@,$PACKAGE,;t t
11239 s,@VERSION@,$VERSION,;t t
11240 s,@ACLOCAL@,$ACLOCAL,;t t
11241 s,@AUTOCONF@,$AUTOCONF,;t t
11242 s,@AUTOMAKE@,$AUTOMAKE,;t t
11243 s,@AUTOHEADER@,$AUTOHEADER,;t t
11244 s,@MAKEINFO@,$MAKEINFO,;t t
11245 s,@install_sh@,$install_sh,;t t
11246 s,@STRIP@,$STRIP,;t t
11247 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
11248 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
11249 s,@mkdir_p@,$mkdir_p,;t t
11251 s,@SET_MAKE@,$SET_MAKE,;t t
11252 s,@am__leading_dot@,$am__leading_dot,;t t
11253 s,@AMTAR@,$AMTAR,;t t
11254 s,@am__tar@,$am__tar,;t t
11255 s,@am__untar@,$am__untar,;t t
11256 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11257 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11258 s,@MAINT@,$MAINT,;t t
11259 s,@LIBTOOL@,$LIBTOOL,;t t
11261 s,@CFLAGS@,$CFLAGS,;t t
11262 s,@LDFLAGS@,$LDFLAGS,;t t
11263 s,@CPPFLAGS@,$CPPFLAGS,;t t
11264 s,@ac_ct_CC@,$ac_ct_CC,;t t
11265 s,@EXEEXT@,$EXEEXT,;t t
11266 s,@OBJEXT@,$OBJEXT,;t t
11267 s,@DEPDIR@,$DEPDIR,;t t
11268 s,@am__include@,$am__include,;t t
11269 s,@am__quote@,$am__quote,;t t
11270 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
11271 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
11272 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
11273 s,@CCDEPMODE@,$CCDEPMODE,;t t
11274 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
11275 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
11277 s,@EGREP@,$EGREP,;t t
11278 s,@FGREP@,$FGREP,;t t
11279 s,@GREP@,$GREP,;t t
11281 s,@DUMPBIN@,$DUMPBIN,;t t
11282 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
11284 s,@LN_S@,$LN_S,;t t
11286 s,@ac_ct_AR@,$ac_ct_AR,;t t
11287 s,@RANLIB@,$RANLIB,;t t
11288 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11289 s,@lt_ECHO@,$lt_ECHO,;t t
11291 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
11292 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
11293 s,@subdirs@,$subdirs,;t t
11294 s,@targ_subdirs@,$targ_subdirs,;t t
11295 s,@LIBOBJS@,$LIBOBJS,;t t
11296 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11301 cat >>$CONFIG_STATUS <<\_ACEOF
11302 # Split the substitutions into bite-sized pieces for seds with
11303 # small command number limits, like on Digital OSF/1 and HP-UX.
11304 ac_max_sed_lines=48
11305 ac_sed_frag=1 # Number of current file.
11306 ac_beg=1 # First line for current file.
11307 ac_end=$ac_max_sed_lines # Line after last line for current file.
11310 while $ac_more_lines; do
11311 if test $ac_beg -gt 1; then
11312 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11314 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
11316 if test ! -s $tmp/subs.frag; then
11317 ac_more_lines=false
11319 # The purpose of the label and of the branching condition is to
11320 # speed up the sed processing (if there are no `@' at all, there
11321 # is no need to browse any of the substitutions).
11322 # These are the two extra sed commands mentioned above.
11324 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11325 if test -z "$ac_sed_cmds"; then
11326 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11328 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11330 ac_sed_frag=`expr $ac_sed_frag + 1`
11332 ac_end=`expr $ac_end + $ac_max_sed_lines`
11335 if test -z "$ac_sed_cmds"; then
11338 fi # test -n "$CONFIG_FILES"
11341 cat >>$CONFIG_STATUS <<\_ACEOF
11342 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
11343 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11345 - | *:- | *:-:* ) # input from stdin
11347 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11348 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11349 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11350 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11351 * ) ac_file_in=$ac_file.in ;;
11354 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11355 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11356 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11357 X"$ac_file" : 'X\(//\)[^/]' \| \
11358 X"$ac_file" : 'X\(//\)$' \| \
11359 X"$ac_file" : 'X\(/\)' \| \
11360 . : '\(.\)' 2>/dev/null ||
11362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11363 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11364 /^X\(\/\/\)$/{ s//\1/; q; }
11365 /^X\(\/\).*/{ s//\1/; q; }
11367 { if $as_mkdir_p; then
11372 while test ! -d "$as_dir"; do
11373 as_dirs="$as_dir $as_dirs"
11374 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11375 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11376 X"$as_dir" : 'X\(//\)[^/]' \| \
11377 X"$as_dir" : 'X\(//\)$' \| \
11378 X"$as_dir" : 'X\(/\)' \| \
11379 . : '\(.\)' 2>/dev/null ||
11381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11382 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11383 /^X\(\/\/\)$/{ s//\1/; q; }
11384 /^X\(\/\).*/{ s//\1/; q; }
11387 test ! -n "$as_dirs" || mkdir $as_dirs
11388 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11389 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11390 { (exit 1); exit 1; }; }; }
11394 if test "$ac_dir" != .; then
11395 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11396 # A "../" for each directory in $ac_dir_suffix.
11397 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11399 ac_dir_suffix= ac_top_builddir=
11403 .) # No --srcdir option. We are building in place.
11405 if test -z "$ac_top_builddir"; then
11408 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11410 [\\/]* | ?:[\\/]* ) # Absolute path.
11411 ac_srcdir=$srcdir$ac_dir_suffix;
11412 ac_top_srcdir=$srcdir ;;
11413 *) # Relative path.
11414 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11415 ac_top_srcdir=$ac_top_builddir$srcdir ;;
11418 # Do not use `cd foo && pwd` to compute absolute paths, because
11419 # the directories may not exist.
11421 .) ac_abs_builddir="$ac_dir";;
11424 .) ac_abs_builddir=`pwd`;;
11425 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11426 *) ac_abs_builddir=`pwd`/"$ac_dir";;
11429 case $ac_abs_builddir in
11430 .) ac_abs_top_builddir=${ac_top_builddir}.;;
11432 case ${ac_top_builddir}. in
11433 .) ac_abs_top_builddir=$ac_abs_builddir;;
11434 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11435 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11438 case $ac_abs_builddir in
11439 .) ac_abs_srcdir=$ac_srcdir;;
11442 .) ac_abs_srcdir=$ac_abs_builddir;;
11443 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11444 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11447 case $ac_abs_builddir in
11448 .) ac_abs_top_srcdir=$ac_top_srcdir;;
11450 case $ac_top_srcdir in
11451 .) ac_abs_top_srcdir=$ac_abs_builddir;;
11452 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11453 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11459 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11460 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11463 if test x"$ac_file" != x-; then
11464 { echo "$as_me:$LINENO: creating $ac_file" >&5
11465 echo "$as_me: creating $ac_file" >&6;}
11468 # Let's still pretend it is `configure' which instantiates (i.e., don't
11469 # use $as_me), people would be surprised to read:
11470 # /* config.h. Generated by config.status. */
11471 if test x"$ac_file" = x-; then
11474 configure_input="$ac_file. "
11476 configure_input=$configure_input"Generated from `echo $ac_file_in |
11477 sed 's,.*/,,'` by configure."
11479 # First look for the input files in the build tree, otherwise in the
11481 ac_file_inputs=`IFS=:
11482 for f in $ac_file_in; do
11484 -) echo $tmp/stdin ;;
11486 # Absolute (can't be DOS-style, as IFS=:)
11487 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11488 echo "$as_me: error: cannot find input file: $f" >&2;}
11489 { (exit 1); exit 1; }; }
11492 if test -f "$f"; then
11495 elif test -f "$srcdir/$f"; then
11500 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11501 echo "$as_me: error: cannot find input file: $f" >&2;}
11502 { (exit 1); exit 1; }; }
11505 done` || { (exit 1); exit 1; }
11507 cat >>$CONFIG_STATUS <<_ACEOF
11511 cat >>$CONFIG_STATUS <<\_ACEOF
11513 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11514 s,@configure_input@,$configure_input,;t t
11515 s,@srcdir@,$ac_srcdir,;t t
11516 s,@abs_srcdir@,$ac_abs_srcdir,;t t
11517 s,@top_srcdir@,$ac_top_srcdir,;t t
11518 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
11519 s,@builddir@,$ac_builddir,;t t
11520 s,@abs_builddir@,$ac_abs_builddir,;t t
11521 s,@top_builddir@,$ac_top_builddir,;t t
11522 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
11523 s,@INSTALL@,$ac_INSTALL,;t t
11524 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11526 if test x"$ac_file" != x-; then
11527 mv $tmp/out $ac_file
11535 cat >>$CONFIG_STATUS <<\_ACEOF
11538 # CONFIG_HEADER section.
11541 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
11542 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11544 # ac_d sets the value in "#define NAME VALUE" lines.
11545 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11546 ac_dB='[ ].*$,\1#\2'
11549 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11550 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11551 ac_uB='$,\1#\2define\3'
11555 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
11556 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11558 - | *:- | *:-:* ) # input from stdin
11560 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11561 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11562 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11563 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11564 * ) ac_file_in=$ac_file.in ;;
11567 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
11568 echo "$as_me: creating $ac_file" >&6;}
11570 # First look for the input files in the build tree, otherwise in the
11572 ac_file_inputs=`IFS=:
11573 for f in $ac_file_in; do
11575 -) echo $tmp/stdin ;;
11577 # Absolute (can't be DOS-style, as IFS=:)
11578 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11579 echo "$as_me: error: cannot find input file: $f" >&2;}
11580 { (exit 1); exit 1; }; }
11581 # Do quote $f, to prevent DOS paths from being IFS'd.
11584 if test -f "$f"; then
11587 elif test -f "$srcdir/$f"; then
11592 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11593 echo "$as_me: error: cannot find input file: $f" >&2;}
11594 { (exit 1); exit 1; }; }
11597 done` || { (exit 1); exit 1; }
11598 # Remove the trailing spaces.
11599 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
11603 # Transform confdefs.h into two sed scripts, `conftest.defines' and
11604 # `conftest.undefs', that substitutes the proper values into
11605 # config.h.in to produce config.h. The first handles `#define'
11606 # templates, and the second `#undef' templates.
11607 # And first: Protect against being on the right side of a sed subst in
11608 # config.status. Protect against being in an unquoted here document
11609 # in config.status.
11610 rm -f conftest.defines conftest.undefs
11611 # Using a here document instead of a string reduces the quoting nightmare.
11612 # Putting comments in sed scripts is not portable.
11614 # `end' is used to avoid that the second main sed command (meant for
11615 # 0-ary CPP macros) applies to n-ary macro definitions.
11616 # See the Autoconf documentation for `clear'.
11617 cat >confdef2sed.sed <<\_ACEOF
11622 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11624 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11627 # If some macros were called several times there might be several times
11628 # the same #defines, which is useless. Nevertheless, we may not want to
11629 # sort them, since we want the *last* AC-DEFINE to be honored.
11630 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11631 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11632 rm -f confdef2sed.sed
11634 # This sed command replaces #undef with comments. This is necessary, for
11635 # example, in the case of _POSIX_SOURCE, which is predefined and required
11636 # on some systems where configure will not decide to define it.
11637 cat >>conftest.undefs <<\_ACEOF
11638 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11641 # Break up conftest.defines because some shells have a limit on the size
11642 # of here documents, and old seds have small limits too (100 cmds).
11643 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11644 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11645 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11646 echo ' :' >>$CONFIG_STATUS
11647 rm -f conftest.tail
11648 while grep . conftest.defines >/dev/null
11650 # Write a limited-size here document to $tmp/defines.sed.
11651 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11652 # Speed up: don't consider the non `#define' lines.
11653 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
11654 # Work around the forget-to-reset-the-flag bug.
11655 echo 't clr' >>$CONFIG_STATUS
11656 echo ': clr' >>$CONFIG_STATUS
11657 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
11659 sed -f $tmp/defines.sed $tmp/in >$tmp/out
11661 mv $tmp/out $tmp/in
11663 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
11664 rm -f conftest.defines
11665 mv conftest.tail conftest.defines
11667 rm -f conftest.defines
11668 echo ' fi # grep' >>$CONFIG_STATUS
11669 echo >>$CONFIG_STATUS
11671 # Break up conftest.undefs because some shells have a limit on the size
11672 # of here documents, and old seds have small limits too (100 cmds).
11673 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
11674 rm -f conftest.tail
11675 while grep . conftest.undefs >/dev/null
11677 # Write a limited-size here document to $tmp/undefs.sed.
11678 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11679 # Speed up: don't consider the non `#undef'
11680 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
11681 # Work around the forget-to-reset-the-flag bug.
11682 echo 't clr' >>$CONFIG_STATUS
11683 echo ': clr' >>$CONFIG_STATUS
11684 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11686 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11688 mv $tmp/out $tmp/in
11690 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11691 rm -f conftest.undefs
11692 mv conftest.tail conftest.undefs
11694 rm -f conftest.undefs
11696 cat >>$CONFIG_STATUS <<\_ACEOF
11697 # Let's still pretend it is `configure' which instantiates (i.e., don't
11698 # use $as_me), people would be surprised to read:
11699 # /* config.h. Generated by config.status. */
11700 if test x"$ac_file" = x-; then
11701 echo "/* Generated by configure. */" >$tmp/config.h
11703 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
11705 cat $tmp/in >>$tmp/config.h
11707 if test x"$ac_file" != x-; then
11708 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
11709 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11710 echo "$as_me: $ac_file is unchanged" >&6;}
11712 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11713 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11714 X"$ac_file" : 'X\(//\)[^/]' \| \
11715 X"$ac_file" : 'X\(//\)$' \| \
11716 X"$ac_file" : 'X\(/\)' \| \
11717 . : '\(.\)' 2>/dev/null ||
11719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11721 /^X\(\/\/\)$/{ s//\1/; q; }
11722 /^X\(\/\).*/{ s//\1/; q; }
11724 { if $as_mkdir_p; then
11729 while test ! -d "$as_dir"; do
11730 as_dirs="$as_dir $as_dirs"
11731 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11732 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11733 X"$as_dir" : 'X\(//\)[^/]' \| \
11734 X"$as_dir" : 'X\(//\)$' \| \
11735 X"$as_dir" : 'X\(/\)' \| \
11736 . : '\(.\)' 2>/dev/null ||
11738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11739 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11740 /^X\(\/\/\)$/{ s//\1/; q; }
11741 /^X\(\/\).*/{ s//\1/; q; }
11744 test ! -n "$as_dirs" || mkdir $as_dirs
11745 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11746 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11747 { (exit 1); exit 1; }; }; }
11750 mv $tmp/config.h $ac_file
11754 rm -f $tmp/config.h
11756 # Compute $ac_file's index in $config_headers.
11758 for _am_header in $config_headers :; do
11759 case $_am_header in
11760 $ac_file | $ac_file:* )
11763 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
11766 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
11767 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11768 X$ac_file : 'X\(//\)[^/]' \| \
11769 X$ac_file : 'X\(//\)$' \| \
11770 X$ac_file : 'X\(/\)' \| \
11771 . : '\(.\)' 2>/dev/null ||
11773 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11774 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11775 /^X\(\/\/\)$/{ s//\1/; q; }
11776 /^X\(\/\).*/{ s//\1/; q; }
11777 s/.*/./; q'`/stamp-h$_am_stamp_count
11780 cat >>$CONFIG_STATUS <<\_ACEOF
11783 # CONFIG_COMMANDS section.
11785 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
11786 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
11787 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
11788 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
11789 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11790 X"$ac_dest" : 'X\(//\)[^/]' \| \
11791 X"$ac_dest" : 'X\(//\)$' \| \
11792 X"$ac_dest" : 'X\(/\)' \| \
11793 . : '\(.\)' 2>/dev/null ||
11795 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11796 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11797 /^X\(\/\/\)$/{ s//\1/; q; }
11798 /^X\(\/\).*/{ s//\1/; q; }
11800 { if $as_mkdir_p; then
11805 while test ! -d "$as_dir"; do
11806 as_dirs="$as_dir $as_dirs"
11807 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11808 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11809 X"$as_dir" : 'X\(//\)[^/]' \| \
11810 X"$as_dir" : 'X\(//\)$' \| \
11811 X"$as_dir" : 'X\(/\)' \| \
11812 . : '\(.\)' 2>/dev/null ||
11814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11815 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11816 /^X\(\/\/\)$/{ s//\1/; q; }
11817 /^X\(\/\).*/{ s//\1/; q; }
11820 test ! -n "$as_dirs" || mkdir $as_dirs
11821 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11822 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11823 { (exit 1); exit 1; }; }; }
11827 if test "$ac_dir" != .; then
11828 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11829 # A "../" for each directory in $ac_dir_suffix.
11830 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11832 ac_dir_suffix= ac_top_builddir=
11836 .) # No --srcdir option. We are building in place.
11838 if test -z "$ac_top_builddir"; then
11841 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11843 [\\/]* | ?:[\\/]* ) # Absolute path.
11844 ac_srcdir=$srcdir$ac_dir_suffix;
11845 ac_top_srcdir=$srcdir ;;
11846 *) # Relative path.
11847 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11848 ac_top_srcdir=$ac_top_builddir$srcdir ;;
11851 # Do not use `cd foo && pwd` to compute absolute paths, because
11852 # the directories may not exist.
11854 .) ac_abs_builddir="$ac_dir";;
11857 .) ac_abs_builddir=`pwd`;;
11858 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11859 *) ac_abs_builddir=`pwd`/"$ac_dir";;
11862 case $ac_abs_builddir in
11863 .) ac_abs_top_builddir=${ac_top_builddir}.;;
11865 case ${ac_top_builddir}. in
11866 .) ac_abs_top_builddir=$ac_abs_builddir;;
11867 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11868 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11871 case $ac_abs_builddir in
11872 .) ac_abs_srcdir=$ac_srcdir;;
11875 .) ac_abs_srcdir=$ac_abs_builddir;;
11876 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11877 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11880 case $ac_abs_builddir in
11881 .) ac_abs_top_srcdir=$ac_top_srcdir;;
11883 case $ac_top_srcdir in
11884 .) ac_abs_top_srcdir=$ac_abs_builddir;;
11885 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11886 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11891 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
11892 echo "$as_me: executing $ac_dest commands" >&6;}
11894 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
11895 # Strip MF so we end up with the name of the file.
11896 mf=`echo "$mf" | sed -e 's/:.*$//'`
11897 # Check whether this is an Automake generated Makefile or not.
11898 # We used to match only the files named `Makefile.in', but
11899 # some people rename them; so instead we look at the file content.
11900 # Grep'ing the first line is not enough: some people post-process
11901 # each Makefile.in and add a new line on top of each file to say so.
11902 # So let's grep whole file.
11903 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
11904 dirpart=`(dirname "$mf") 2>/dev/null ||
11905 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11906 X"$mf" : 'X\(//\)[^/]' \| \
11907 X"$mf" : 'X\(//\)$' \| \
11908 X"$mf" : 'X\(/\)' \| \
11909 . : '\(.\)' 2>/dev/null ||
11911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11912 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11913 /^X\(\/\/\)$/{ s//\1/; q; }
11914 /^X\(\/\).*/{ s//\1/; q; }
11919 # Extract the definition of DEPDIR, am__include, and am__quote
11920 # from the Makefile without running `make'.
11921 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
11922 test -z "$DEPDIR" && continue
11923 am__include=`sed -n 's/^am__include = //p' < "$mf"`
11924 test -z "am__include" && continue
11925 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
11926 # When using ansi2knr, U may be empty or an underscore; expand it
11927 U=`sed -n 's/^U = //p' < "$mf"`
11928 # Find all dependency output files, they are included files with
11929 # $(DEPDIR) in their names. We invoke sed twice because it is the
11930 # simplest approach to changing $(DEPDIR) to its actual value in the
11932 for file in `sed -n "
11933 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11934 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11935 # Make sure the directory exists.
11936 test -f "$dirpart/$file" && continue
11937 fdir=`(dirname "$file") 2>/dev/null ||
11938 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11939 X"$file" : 'X\(//\)[^/]' \| \
11940 X"$file" : 'X\(//\)$' \| \
11941 X"$file" : 'X\(/\)' \| \
11942 . : '\(.\)' 2>/dev/null ||
11944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11945 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11946 /^X\(\/\/\)$/{ s//\1/; q; }
11947 /^X\(\/\).*/{ s//\1/; q; }
11949 { if $as_mkdir_p; then
11950 mkdir -p $dirpart/$fdir
11952 as_dir=$dirpart/$fdir
11954 while test ! -d "$as_dir"; do
11955 as_dirs="$as_dir $as_dirs"
11956 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11957 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11958 X"$as_dir" : 'X\(//\)[^/]' \| \
11959 X"$as_dir" : 'X\(//\)$' \| \
11960 X"$as_dir" : 'X\(/\)' \| \
11961 . : '\(.\)' 2>/dev/null ||
11963 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11964 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11965 /^X\(\/\/\)$/{ s//\1/; q; }
11966 /^X\(\/\).*/{ s//\1/; q; }
11969 test ! -n "$as_dirs" || mkdir $as_dirs
11970 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
11971 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
11972 { (exit 1); exit 1; }; }; }
11974 # echo "creating $dirpart/$file"
11975 echo '# dummy' > "$dirpart/$file"
11981 # See if we are running on zsh, and set the options which allow our
11982 # commands through without removal of \ escapes.
11983 if test -n "${ZSH_VERSION+set}" ; then
11984 setopt NO_GLOB_SUBST
11987 cfgfile="${ofile}T"
11988 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
11991 cat <<_LT_EOF >> "$cfgfile"
11994 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11995 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
11996 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11997 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
11999 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12000 # 2006, 2007 Free Software Foundation, Inc.
12002 # This file is part of GNU Libtool:
12003 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
12005 # This program is free software; you can redistribute it and/or modify
12006 # it under the terms of the GNU General Public License as published by
12007 # the Free Software Foundation; either version 2 of the License, or
12008 # (at your option) any later version.
12010 # This program is distributed in the hope that it will be useful, but
12011 # WITHOUT ANY WARRANTY; without even the implied warranty of
12012 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12013 # General Public License for more details.
12015 # You should have received a copy of the GNU General Public License
12016 # along with this program; if not, a copy can be downloaded from
12017 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
12018 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
12019 # MA 02110-1301, USA.
12021 # As a special exception to the GNU General Public License, if you
12022 # distribute this file as part of a program that contains a
12023 # configuration script generated by Autoconf, you may include it under
12024 # the same distribution terms that you use for the rest of that program.
12027 # The names of the tagged configurations supported by this script.
12030 # ### BEGIN LIBTOOL CONFIG
12032 # Which release of libtool.m4 was used?
12033 macro_version=$macro_version
12034 macro_revision=$macro_revision
12036 # Whether or not to build shared libraries.
12037 build_libtool_libs=$enable_shared
12039 # Whether or not to build static libraries.
12040 build_old_libs=$enable_static
12042 # What type of objects to build.
12045 # Whether or not to optimize for fast installation.
12046 fast_install=$enable_fast_install
12049 host_alias=$host_alias
12053 # The build system.
12054 build_alias=$build_alias
12058 # A sed program that does not truncate output.
12061 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
12062 Xsed="\$SED -e 1s/^X//"
12064 # A grep program that handles long lines.
12070 # A literal string matcher.
12073 # A BSD- or MS-compatible name lister.
12076 # Whether we need soft or hard links.
12079 # What is the maximum length of a command?
12080 max_cmd_len=$max_cmd_len
12082 # Object file suffix (normally "o").
12085 # Executable file suffix (normally "").
12088 # whether the shell understands "unset".
12091 # turn spaces into newlines.
12094 # turn newlines into spaces.
12097 # How to create reloadable object files.
12098 reload_flag=$lt_reload_flag
12099 reload_cmds=$lt_reload_cmds
12101 # Method to check whether dependent libraries are shared objects.
12102 deplibs_check_method=$lt_deplibs_check_method
12104 # Command to use when deplibs_check_method == "file_magic".
12105 file_magic_cmd=$lt_file_magic_cmd
12109 AR_FLAGS=$lt_AR_FLAGS
12111 # A symbol stripping program.
12114 # Commands used to install an old-style archive.
12116 old_postinstall_cmds=$lt_old_postinstall_cmds
12117 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12122 # LTCC compiler flags.
12123 LTCFLAGS=$lt_CFLAGS
12125 # Take the output of nm and produce a listing of raw symbols and C names.
12126 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12128 # Transform the output of nm in a proper C declaration.
12129 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12131 # Transform the output of nm in a C name address pair.
12132 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12134 # The name of the directory that contains temporary libtool files.
12137 # Shell to use when invoking shell scripts.
12140 # An echo program that does not interpret backslashes.
12143 # Used to examine libraries when file_magic_cmd begins with "file".
12144 MAGIC_CMD=$MAGIC_CMD
12146 # Must we lock files when doing compilation?
12147 need_locks=$lt_need_locks
12149 # Old archive suffix (normally "a").
12152 # Shared library suffix (normally ".so").
12153 shrext_cmds=$lt_shrext_cmds
12155 # The commands to extract the exported symbol list from a shared archive.
12156 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12158 # Variables whose values should be saved in libtool wrapper scripts and
12159 # restored at link time.
12160 variables_saved_for_relink=$lt_variables_saved_for_relink
12162 # Do we need the "lib" prefix for modules?
12163 need_lib_prefix=$need_lib_prefix
12165 # Do we need a version for libraries?
12166 need_version=$need_version
12168 # Library versioning type.
12169 version_type=$version_type
12171 # Shared library runtime path variable.
12172 runpath_var=$runpath_var
12174 # Shared library path variable.
12175 shlibpath_var=$shlibpath_var
12177 # Is shlibpath searched before the hard-coded library search path?
12178 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12180 # Format of library name prefix.
12181 libname_spec=$lt_libname_spec
12183 # List of archive names. First name is the real one, the rest are links.
12184 # The last name is the one that the linker finds with -lNAME
12185 library_names_spec=$lt_library_names_spec
12187 # The coded name of the library, if different from the real name.
12188 soname_spec=$lt_soname_spec
12190 # Command to use after installation of a shared archive.
12191 postinstall_cmds=$lt_postinstall_cmds
12193 # Command to use after uninstallation of a shared archive.
12194 postuninstall_cmds=$lt_postuninstall_cmds
12196 # Commands used to finish a libtool library installation in a directory.
12197 finish_cmds=$lt_finish_cmds
12199 # As "finish_cmds", except a single script fragment to be evaled but
12201 finish_eval=$lt_finish_eval
12203 # Whether we should hardcode library paths into libraries.
12204 hardcode_into_libs=$hardcode_into_libs
12206 # Compile-time system search path for libraries.
12207 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12209 # Run-time system search path for libraries.
12210 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12212 # Whether dlopen is supported.
12213 dlopen_support=$enable_dlopen
12215 # Whether dlopen of programs is supported.
12216 dlopen_self=$enable_dlopen_self
12218 # Whether dlopen of statically linked programs is supported.
12219 dlopen_self_static=$enable_dlopen_self_static
12221 # Commands to strip libraries.
12222 old_striplib=$lt_old_striplib
12223 striplib=$lt_striplib
12226 # The linker used to build libraries.
12229 # Commands used to build an old-style archive.
12230 old_archive_cmds=$lt_old_archive_cmds
12232 # A language specific compiler.
12235 # Is the compiler the GNU compiler?
12238 # Compiler flag to turn off builtin functions.
12239 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12241 # How to pass a linker flag through the compiler.
12242 wl=$lt_lt_prog_compiler_wl
12244 # Additional compiler flags for building library objects.
12245 pic_flag=$lt_lt_prog_compiler_pic
12247 # Compiler flag to prevent dynamic linking.
12248 link_static_flag=$lt_lt_prog_compiler_static
12250 # Does compiler simultaneously support -c and -o options?
12251 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12253 # Whether or not to add -lc for building shared libraries.
12254 build_libtool_need_lc=$archive_cmds_need_lc
12256 # Whether or not to disallow shared libs when runtime libs are static.
12257 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12259 # Compiler flag to allow reflexive dlopens.
12260 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12262 # Compiler flag to generate shared objects directly from archives.
12263 whole_archive_flag_spec=$lt_whole_archive_flag_spec
12265 # Whether the compiler copes with passing no objects directly.
12266 compiler_needs_object=$lt_compiler_needs_object
12268 # Create an old-style archive from a shared archive.
12269 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12271 # Create a temporary old-style archive to link instead of a shared archive.
12272 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12274 # Commands used to build a shared archive.
12275 archive_cmds=$lt_archive_cmds
12276 archive_expsym_cmds=$lt_archive_expsym_cmds
12278 # Commands used to build a loadable module if different from building
12279 # a shared archive.
12280 module_cmds=$lt_module_cmds
12281 module_expsym_cmds=$lt_module_expsym_cmds
12283 # Whether we are building with GNU ld or not.
12284 with_gnu_ld=$lt_with_gnu_ld
12286 # Flag that allows shared libraries with undefined symbols to be built.
12287 allow_undefined_flag=$lt_allow_undefined_flag
12289 # Flag that enforces no undefined symbols.
12290 no_undefined_flag=$lt_no_undefined_flag
12292 # Flag to hardcode \$libdir into a binary during linking.
12293 # This must work even if \$libdir does not exist
12294 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12296 # If ld is used when linking, flag to hardcode \$libdir into a binary
12297 # during linking. This must work even if \$libdir does not exist.
12298 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12300 # Whether we need a single "-rpath" flag with a separated argument.
12301 hardcode_libdir_separator=$lt_hardcode_libdir_separator
12303 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12304 # DIR into the resulting binary.
12305 hardcode_direct=$hardcode_direct
12307 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12308 # DIR into the resulting binary and the resulting library dependency is
12309 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
12310 # library is relocated.
12311 hardcode_direct_absolute=$hardcode_direct_absolute
12313 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
12314 # into the resulting binary.
12315 hardcode_minus_L=$hardcode_minus_L
12317 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
12318 # into the resulting binary.
12319 hardcode_shlibpath_var=$hardcode_shlibpath_var
12321 # Set to "yes" if building a shared library automatically hardcodes DIR
12322 # into the library and all subsequent libraries and executables linked
12324 hardcode_automatic=$hardcode_automatic
12326 # Set to yes if linker adds runtime paths of dependent libraries
12327 # to runtime path list.
12328 inherit_rpath=$inherit_rpath
12330 # Whether libtool must link a program against all its dependency libraries.
12331 link_all_deplibs=$link_all_deplibs
12333 # Fix the shell variable \$srcfile for the compiler.
12334 fix_srcfile_path=$lt_fix_srcfile_path
12336 # Set to "yes" if exported symbols are required.
12337 always_export_symbols=$always_export_symbols
12339 # The commands to list exported symbols.
12340 export_symbols_cmds=$lt_export_symbols_cmds
12342 # Symbols that should not be listed in the preloaded symbols.
12343 exclude_expsyms=$lt_exclude_expsyms
12345 # Symbols that must always be exported.
12346 include_expsyms=$lt_include_expsyms
12348 # Commands necessary for linking programs (against libraries) with templates.
12349 prelink_cmds=$lt_prelink_cmds
12351 # Specify filename containing input files.
12352 file_list_spec=$lt_file_list_spec
12354 # How to hardcode a shared library path into an executable.
12355 hardcode_action=$hardcode_action
12357 # ### END LIBTOOL CONFIG
12363 cat <<\_LT_EOF >> "$cfgfile"
12364 # AIX sometimes has problems with the GCC collect2 program. For some
12365 # reason, if we set the COLLECT_NAMES environment variable, the problems
12366 # vanish in a puff of smoke.
12367 if test "X${COLLECT_NAMES+set}" != Xset; then
12369 export COLLECT_NAMES
12376 ltmain="$ac_aux_dir/ltmain.sh"
12379 # We use sed instead of cat because bash on DJGPP gets confused if
12380 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12381 # text mode, it properly converts lines to CR/LF. This bash problem
12382 # is reportedly fixed, but why not run on old versions too?
12383 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
12384 || (rm -f "$cfgfile"; exit 1)
12388 cat << \_LT_EOF >> "$cfgfile"
12389 # func_dirname file append nondir_replacement
12390 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
12391 # otherwise set result to NONDIR_REPLACEMENT.
12395 */*) func_dirname_result="${1%/*}${2}" ;;
12396 * ) func_dirname_result="${3}" ;;
12400 # func_basename file
12403 func_basename_result="${1##*/}"
12406 # func_stripname prefix suffix name
12407 # strip PREFIX and SUFFIX off of NAME.
12408 # PREFIX and SUFFIX must not contain globbing or regex special
12409 # characters, hashes, percent signs, but SUFFIX may contain a leading
12410 # dot (in which case that matches only a dot).
12413 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
12414 # positional parameters, so assign one to ordinary parameter first.
12415 func_stripname_result=${3}
12416 func_stripname_result=${func_stripname_result#"${1}"}
12417 func_stripname_result=${func_stripname_result%"${2}"}
12423 func_opt_split_opt=${1%%=*}
12424 func_opt_split_arg=${1#*=}
12431 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
12432 *) func_lo2o_result=${1} ;;
12437 *) # Bourne compatible functions.
12438 cat << \_LT_EOF >> "$cfgfile"
12439 # func_dirname file append nondir_replacement
12440 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
12441 # otherwise set result to NONDIR_REPLACEMENT.
12444 # Extract subdirectory from the argument.
12445 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
12446 if test "X$func_dirname_result" = "X${1}"; then
12447 func_dirname_result="${3}"
12449 func_dirname_result="$func_dirname_result${2}"
12453 # func_basename file
12456 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
12459 # func_stripname prefix suffix name
12460 # strip PREFIX and SUFFIX off of NAME.
12461 # PREFIX and SUFFIX must not contain globbing or regex special
12462 # characters, hashes, percent signs, but SUFFIX may contain a leading
12463 # dot (in which case that matches only a dot).
12464 # func_strip_suffix prefix name
12468 .*) func_stripname_result=`$ECHO "X${3}" \
12469 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
12470 *) func_stripname_result=`$ECHO "X${3}" \
12471 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
12476 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
12477 my_sed_long_arg='1s/^-[^=]*=//'
12482 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
12483 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
12489 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
12494 case $lt_shell_append in
12496 cat << \_LT_EOF >> "$cfgfile"
12498 # func_append var value
12499 # Append VALUE to the end of shell variable VAR.
12507 cat << \_LT_EOF >> "$cfgfile"
12509 # func_append var value
12510 # Append VALUE to the end of shell variable VAR.
12520 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
12521 || (rm -f "$cfgfile"; exit 1)
12523 mv -f "$cfgfile" "$ofile" ||
12524 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12532 cat >>$CONFIG_STATUS <<\_ACEOF
12534 { (exit 0); exit 0; }
12536 chmod +x $CONFIG_STATUS
12537 ac_clean_files=$ac_clean_files_save
12540 # configure is writing to config.log, and then calls config.status.
12541 # config.status does its own redirection, appending to config.log.
12542 # Unfortunately, on DOS this fails, as config.log is still kept open
12543 # by configure, so config.status won't be able to write to it; its
12544 # output is simply discarded. So we exec the FD to /dev/null,
12545 # effectively closing config.log, so it can be properly (re)opened and
12546 # appended to by config.status. When coming back to configure, we
12547 # need to make the FD available again.
12548 if test "$no_create" != yes; then
12550 ac_config_status_args=
12551 test "$silent" = yes &&
12552 ac_config_status_args="$ac_config_status_args --quiet"
12554 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12556 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12557 # would make configure fail if this is the last instruction.
12558 $ac_cs_success || { (exit 1); exit 1; }
12562 # CONFIG_SUBDIRS section.
12564 if test "$no_recursion" != yes; then
12566 # Remove --cache-file and --srcdir arguments so they do not pile up.
12567 ac_sub_configure_args=
12569 for ac_arg in $ac_configure_args; do
12570 if test -n "$ac_prev"; then
12575 -cache-file | --cache-file | --cache-fil | --cache-fi \
12576 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
12577 ac_prev=cache_file ;;
12578 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
12579 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
12582 --config-cache | -C)
12584 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
12586 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
12588 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
12590 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
12592 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
12596 # Always prepend --prefix to ensure using the same prefix
12597 # in subdir configurations.
12598 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
12601 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
12603 # Do not complain, so a configure script can configure whichever
12604 # parts of a large source tree are present.
12605 test -d $srcdir/$ac_dir || continue
12607 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
12608 echo "$as_me: configuring in $ac_dir" >&6;}
12609 { if $as_mkdir_p; then
12614 while test ! -d "$as_dir"; do
12615 as_dirs="$as_dir $as_dirs"
12616 as_dir=`(dirname "$as_dir") 2>/dev/null ||
12617 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12618 X"$as_dir" : 'X\(//\)[^/]' \| \
12619 X"$as_dir" : 'X\(//\)$' \| \
12620 X"$as_dir" : 'X\(/\)' \| \
12621 . : '\(.\)' 2>/dev/null ||
12623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
12624 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
12625 /^X\(\/\/\)$/{ s//\1/; q; }
12626 /^X\(\/\).*/{ s//\1/; q; }
12629 test ! -n "$as_dirs" || mkdir $as_dirs
12630 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
12631 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
12632 { (exit 1); exit 1; }; }; }
12636 if test "$ac_dir" != .; then
12637 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12638 # A "../" for each directory in $ac_dir_suffix.
12639 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
12641 ac_dir_suffix= ac_top_builddir=
12645 .) # No --srcdir option. We are building in place.
12647 if test -z "$ac_top_builddir"; then
12650 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
12652 [\\/]* | ?:[\\/]* ) # Absolute path.
12653 ac_srcdir=$srcdir$ac_dir_suffix;
12654 ac_top_srcdir=$srcdir ;;
12655 *) # Relative path.
12656 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
12657 ac_top_srcdir=$ac_top_builddir$srcdir ;;
12660 # Do not use `cd foo && pwd` to compute absolute paths, because
12661 # the directories may not exist.
12663 .) ac_abs_builddir="$ac_dir";;
12666 .) ac_abs_builddir=`pwd`;;
12667 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
12668 *) ac_abs_builddir=`pwd`/"$ac_dir";;
12671 case $ac_abs_builddir in
12672 .) ac_abs_top_builddir=${ac_top_builddir}.;;
12674 case ${ac_top_builddir}. in
12675 .) ac_abs_top_builddir=$ac_abs_builddir;;
12676 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
12677 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
12680 case $ac_abs_builddir in
12681 .) ac_abs_srcdir=$ac_srcdir;;
12684 .) ac_abs_srcdir=$ac_abs_builddir;;
12685 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
12686 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
12689 case $ac_abs_builddir in
12690 .) ac_abs_top_srcdir=$ac_top_srcdir;;
12692 case $ac_top_srcdir in
12693 .) ac_abs_top_srcdir=$ac_abs_builddir;;
12694 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
12695 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
12702 # Check for guested configure; otherwise get Cygnus style configure.
12703 if test -f $ac_srcdir/configure.gnu; then
12704 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
12705 elif test -f $ac_srcdir/configure; then
12706 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
12707 elif test -f $ac_srcdir/configure.in; then
12708 ac_sub_configure=$ac_configure
12710 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
12711 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
12715 # The recursion is here.
12716 if test -n "$ac_sub_configure"; then
12717 # Make the cache file name correct relative to the subdirectory.
12718 case $cache_file in
12719 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
12720 *) # Relative path.
12721 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
12724 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
12725 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
12726 # The eval makes quoting arguments work.
12727 eval $ac_sub_configure $ac_sub_configure_args \
12728 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
12729 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
12730 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
12731 { (exit 1); exit 1; }; }