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="ar.c"
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_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LIBTOOL 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 NO_WERROR YACC LEX LEXLIB LEX_OUTPUT_ROOT USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE HDEFINES CC_FOR_BUILD EXEEXT_FOR_BUILD DEMANGLER_NAME ALLOCA NLMCONV_DEFS BUILD_NLMCONV BUILD_SRCONV BUILD_DLLTOOL DLLTOOL_DEFS BUILD_WINDRES BUILD_DLLWRAP BUILD_MISC BUILD_INSTALL_MISC OBJDUMP_DEFS EMULATION EMULATION_VECTOR datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
464 # Initialize some variables set by options.
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
476 program_transform_name=s,x,x,
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
512 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
518 -bindir | --bindir | --bindi | --bind | --bin | --bi)
520 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
523 -build | --build | --buil | --bui | --bu)
524 ac_prev=build_alias ;;
525 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526 build_alias=$ac_optarg ;;
528 -cache-file | --cache-file | --cache-fil | --cache-fi \
529 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530 ac_prev=cache_file ;;
531 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533 cache_file=$ac_optarg ;;
536 cache_file=config.cache ;;
538 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
540 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
542 datadir=$ac_optarg ;;
544 -disable-* | --disable-*)
545 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* | --enable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
561 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568 | --exec | --exe | --ex)
569 ac_prev=exec_prefix ;;
570 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572 | --exec=* | --exe=* | --ex=*)
573 exec_prefix=$ac_optarg ;;
575 -gas | --gas | --ga | --g)
576 # Obsolete; use --with-gas.
579 -help | --help | --hel | --he | -h)
581 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582 ac_init_help=recursive ;;
583 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584 ac_init_help=short ;;
586 -host | --host | --hos | --ho)
587 ac_prev=host_alias ;;
588 -host=* | --host=* | --hos=* | --ho=*)
589 host_alias=$ac_optarg ;;
591 -includedir | --includedir | --includedi | --included | --include \
592 | --includ | --inclu | --incl | --inc)
593 ac_prev=includedir ;;
594 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595 | --includ=* | --inclu=* | --incl=* | --inc=*)
596 includedir=$ac_optarg ;;
598 -infodir | --infodir | --infodi | --infod | --info | --inf)
600 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601 infodir=$ac_optarg ;;
603 -libdir | --libdir | --libdi | --libd)
605 -libdir=* | --libdir=* | --libdi=* | --libd=*)
608 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609 | --libexe | --libex | --libe)
610 ac_prev=libexecdir ;;
611 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612 | --libexe=* | --libex=* | --libe=*)
613 libexecdir=$ac_optarg ;;
615 -localstatedir | --localstatedir | --localstatedi | --localstated \
616 | --localstate | --localstat | --localsta | --localst \
617 | --locals | --local | --loca | --loc | --lo)
618 ac_prev=localstatedir ;;
619 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622 localstatedir=$ac_optarg ;;
624 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
626 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
630 # Obsolete; use --without-fp.
633 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634 | --no-cr | --no-c | -n)
637 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
641 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643 | --oldin | --oldi | --old | --ol | --o)
644 ac_prev=oldincludedir ;;
645 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648 oldincludedir=$ac_optarg ;;
650 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
652 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
655 -program-prefix | --program-prefix | --program-prefi | --program-pref \
656 | --program-pre | --program-pr | --program-p)
657 ac_prev=program_prefix ;;
658 -program-prefix=* | --program-prefix=* | --program-prefi=* \
659 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660 program_prefix=$ac_optarg ;;
662 -program-suffix | --program-suffix | --program-suffi | --program-suff \
663 | --program-suf | --program-su | --program-s)
664 ac_prev=program_suffix ;;
665 -program-suffix=* | --program-suffix=* | --program-suffi=* \
666 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667 program_suffix=$ac_optarg ;;
669 -program-transform-name | --program-transform-name \
670 | --program-transform-nam | --program-transform-na \
671 | --program-transform-n | --program-transform- \
672 | --program-transform | --program-transfor \
673 | --program-transfo | --program-transf \
674 | --program-trans | --program-tran \
675 | --progr-tra | --program-tr | --program-t)
676 ac_prev=program_transform_name ;;
677 -program-transform-name=* | --program-transform-name=* \
678 | --program-transform-nam=* | --program-transform-na=* \
679 | --program-transform-n=* | --program-transform-=* \
680 | --program-transform=* | --program-transfor=* \
681 | --program-transfo=* | --program-transf=* \
682 | --program-trans=* | --program-tran=* \
683 | --progr-tra=* | --program-tr=* | --program-t=*)
684 program_transform_name=$ac_optarg ;;
686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687 | -silent | --silent | --silen | --sile | --sil)
690 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
692 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
694 sbindir=$ac_optarg ;;
696 -sharedstatedir | --sharedstatedir | --sharedstatedi \
697 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698 | --sharedst | --shareds | --shared | --share | --shar \
700 ac_prev=sharedstatedir ;;
701 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
705 sharedstatedir=$ac_optarg ;;
707 -site | --site | --sit)
709 -site=* | --site=* | --sit=*)
712 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
714 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
717 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718 | --syscon | --sysco | --sysc | --sys | --sy)
719 ac_prev=sysconfdir ;;
720 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722 sysconfdir=$ac_optarg ;;
724 -target | --target | --targe | --targ | --tar | --ta | --t)
725 ac_prev=target_alias ;;
726 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727 target_alias=$ac_optarg ;;
729 -v | -verbose | --verbose | --verbos | --verbo | --verb)
732 -version | --version | --versio | --versi | --vers | -V)
736 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package=`echo $ac_package| sed 's/-/_/g'`
743 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* | --without-*)
749 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
758 # Obsolete; use --with-x.
761 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762 | --x-incl | --x-inc | --x-in | --x-i)
763 ac_prev=x_includes ;;
764 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766 x_includes=$ac_optarg ;;
768 -x-libraries | --x-libraries | --x-librarie | --x-librari \
769 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770 ac_prev=x_libraries ;;
771 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773 x_libraries=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
781 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801 if test -n "$ac_prev"; then
802 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
810 eval ac_val=$`echo $ac_var`
812 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val=$`echo $ac_var`
824 [\\/$]* | ?:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839 if test "x$build_alias" = x; then
840 cross_compiling=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851 test "$silent" = yes && exec 6>/dev/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
871 if test ! -r $srcdir/$ac_unique_file; then
875 ac_srcdir_defaulted=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CC_set=${CC+set}
904 ac_cv_env_CC_set=${CC+set}
905 ac_cv_env_CC_value=$CC
906 ac_env_CFLAGS_set=${CFLAGS+set}
907 ac_env_CFLAGS_value=$CFLAGS
908 ac_cv_env_CFLAGS_set=${CFLAGS+set}
909 ac_cv_env_CFLAGS_value=$CFLAGS
910 ac_env_LDFLAGS_set=${LDFLAGS+set}
911 ac_env_LDFLAGS_value=$LDFLAGS
912 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
913 ac_cv_env_LDFLAGS_value=$LDFLAGS
914 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
915 ac_env_CPPFLAGS_value=$CPPFLAGS
916 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
917 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
918 ac_env_CPP_set=${CPP+set}
919 ac_env_CPP_value=$CPP
920 ac_cv_env_CPP_set=${CPP+set}
921 ac_cv_env_CPP_value=$CPP
924 # Report the --help message.
926 if test "$ac_init_help" = "long"; then
927 # Omit some internal or obsolete options to make the list less imposing.
928 # This message is too long to be a string in the A/UX 3.1 sh.
930 \`configure' configures this package to adapt to many kinds of systems.
932 Usage: $0 [OPTION]... [VAR=VALUE]...
934 To assign environment variables (e.g., CC, CFLAGS...), specify them as
935 VAR=VALUE. See below for descriptions of some of the useful variables.
937 Defaults for the options are specified in brackets.
940 -h, --help display this help and exit
941 --help=short display options specific to this package
942 --help=recursive display the short help of all the included packages
943 -V, --version display version information and exit
944 -q, --quiet, --silent do not print \`checking...' messages
945 --cache-file=FILE cache test results in FILE [disabled]
946 -C, --config-cache alias for \`--cache-file=config.cache'
947 -n, --no-create do not create output files
948 --srcdir=DIR find the sources in DIR [configure dir or \`..']
953 Installation directories:
954 --prefix=PREFIX install architecture-independent files in PREFIX
956 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
959 By default, \`make install' will install all the files in
960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
961 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
962 for instance \`--prefix=\$HOME'.
964 For better control, use the options below.
966 Fine tuning of the installation directories:
967 --bindir=DIR user executables [EPREFIX/bin]
968 --sbindir=DIR system admin executables [EPREFIX/sbin]
969 --libexecdir=DIR program executables [EPREFIX/libexec]
970 --datadir=DIR read-only architecture-independent data [PREFIX/share]
971 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
972 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
973 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
974 --libdir=DIR object code libraries [EPREFIX/lib]
975 --includedir=DIR C header files [PREFIX/include]
976 --oldincludedir=DIR C header files for non-gcc [/usr/include]
977 --infodir=DIR info documentation [PREFIX/info]
978 --mandir=DIR man documentation [PREFIX/man]
984 --program-prefix=PREFIX prepend PREFIX to installed program names
985 --program-suffix=SUFFIX append SUFFIX to installed program names
986 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
989 --build=BUILD configure for building on BUILD [guessed]
990 --host=HOST cross-compile to build programs to run on HOST [BUILD]
991 --target=TARGET configure for building compilers for TARGET [HOST]
995 if test -n "$ac_init_help"; then
1000 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1001 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1002 --disable-dependency-tracking speeds up one-time build
1003 --enable-dependency-tracking do not reject slow dependency extractors
1004 --enable-shared[=PKGS]
1005 build shared libraries [default=yes]
1006 --enable-static[=PKGS]
1007 build static libraries [default=yes]
1008 --enable-fast-install[=PKGS]
1009 optimize for fast installation [default=yes]
1010 --disable-libtool-lock avoid locking (might break parallel builds)
1011 --enable-targets alternative target configurations
1012 --enable-commonbfdlib build shared BFD/opcodes/libiberty library
1013 --enable-werror treat compile warnings as errors
1014 --enable-build-warnings enable build-time compiler warnings
1015 --disable-nls do not use Native Language Support
1016 --enable-maintainer-mode enable make rules and dependencies not useful
1017 (and sometimes confusing) to the casual installer
1020 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1021 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1022 --with-pic try to use only PIC/non-PIC objects [default=use
1024 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1026 Some influential environment variables:
1027 CC C compiler command
1028 CFLAGS C compiler flags
1029 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1030 nonstandard directory <lib dir>
1031 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1032 headers in a nonstandard directory <include dir>
1035 Use these variables to override the choices made by `configure' or to help
1036 it to find libraries and programs with nonstandard names/locations.
1041 if test "$ac_init_help" = "recursive"; then
1042 # If there are subdirs, report their specific --help.
1044 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1045 test -d $ac_dir || continue
1048 if test "$ac_dir" != .; then
1049 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1050 # A "../" for each directory in $ac_dir_suffix.
1051 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1053 ac_dir_suffix= ac_top_builddir=
1057 .) # No --srcdir option. We are building in place.
1059 if test -z "$ac_top_builddir"; then
1062 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1064 [\\/]* | ?:[\\/]* ) # Absolute path.
1065 ac_srcdir=$srcdir$ac_dir_suffix;
1066 ac_top_srcdir=$srcdir ;;
1068 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1069 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1072 # Do not use `cd foo && pwd` to compute absolute paths, because
1073 # the directories may not exist.
1075 .) ac_abs_builddir="$ac_dir";;
1078 .) ac_abs_builddir=`pwd`;;
1079 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1080 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1083 case $ac_abs_builddir in
1084 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1086 case ${ac_top_builddir}. in
1087 .) ac_abs_top_builddir=$ac_abs_builddir;;
1088 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1089 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1092 case $ac_abs_builddir in
1093 .) ac_abs_srcdir=$ac_srcdir;;
1096 .) ac_abs_srcdir=$ac_abs_builddir;;
1097 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1098 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1101 case $ac_abs_builddir in
1102 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1104 case $ac_top_srcdir in
1105 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1106 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1107 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1112 # Check for guested configure; otherwise get Cygnus style configure.
1113 if test -f $ac_srcdir/configure.gnu; then
1115 $SHELL $ac_srcdir/configure.gnu --help=recursive
1116 elif test -f $ac_srcdir/configure; then
1118 $SHELL $ac_srcdir/configure --help=recursive
1119 elif test -f $ac_srcdir/configure.ac ||
1120 test -f $ac_srcdir/configure.in; then
1122 $ac_configure --help
1124 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1130 test -n "$ac_init_help" && exit 0
1131 if $ac_init_version; then
1134 Copyright (C) 2003 Free Software Foundation, Inc.
1135 This configure script is free software; the Free Software Foundation
1136 gives unlimited permission to copy, distribute and modify it.
1142 This file contains any messages produced by compilers while
1143 running configure, to aid debugging if configure makes a mistake.
1145 It was created by $as_me, which was
1146 generated by GNU Autoconf 2.59. Invocation command line was
1157 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1158 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1159 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1160 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1161 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1163 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1164 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1166 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1167 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1168 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1169 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1170 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1171 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1172 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1180 test -z "$as_dir" && as_dir=.
1181 echo "PATH: $as_dir"
1196 # Keep a trace of the command line.
1197 # Strip out --no-create and --no-recursion so they do not pile up.
1198 # Strip out --silent because we don't want to record it for future runs.
1199 # Also quote any args containing shell meta-characters.
1200 # Make two passes to allow for proper duplicate-argument suppression.
1205 ac_must_keep_next=false
1211 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1212 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1213 | -silent | --silent | --silen | --sile | --sil)
1215 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1216 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1219 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1221 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1222 if test $ac_must_keep_next = true; then
1223 ac_must_keep_next=false # Got value, back to normal.
1226 *=* | --config-cache | -C | -disable-* | --disable-* \
1227 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1228 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1229 | -with-* | --with-* | -without-* | --without-* | --x)
1230 case "$ac_configure_args0 " in
1231 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1234 -* ) ac_must_keep_next=true ;;
1237 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1238 # Get rid of the leading space.
1244 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1245 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1247 # When interrupted or exit'd, cleanup temporary files, and complete
1248 # config.log. We remove comments because anyway the quotes in there
1249 # would cause problems or look ugly.
1250 # WARNING: Be sure not to use single quotes in there, as some shells,
1251 # such as our DU 5.0 friend, will then `close' the trap.
1252 trap 'exit_status=$?
1253 # Save into config.log some information that might help in debugging.
1258 ## ---------------- ##
1259 ## Cache variables. ##
1260 ## ---------------- ##
1263 # The following way of writing the cache mishandles newlines in values,
1266 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1269 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1270 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1274 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1281 ## ----------------- ##
1282 ## Output variables. ##
1283 ## ----------------- ##
1286 for ac_var in $ac_subst_vars
1288 eval ac_val=$`echo $ac_var`
1289 echo "$ac_var='"'"'$ac_val'"'"'"
1293 if test -n "$ac_subst_files"; then
1300 for ac_var in $ac_subst_files
1302 eval ac_val=$`echo $ac_var`
1303 echo "$ac_var='"'"'$ac_val'"'"'"
1308 if test -s confdefs.h; then
1315 sed "/^$/d" confdefs.h | sort
1318 test "$ac_signal" != 0 &&
1319 echo "$as_me: caught signal $ac_signal"
1320 echo "$as_me: exit $exit_status"
1322 rm -f core *.core &&
1323 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1326 for ac_signal in 1 2 13 15; do
1327 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1331 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1332 rm -rf conftest* confdefs.h
1333 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1336 # Predefined preprocessor variables.
1338 cat >>confdefs.h <<_ACEOF
1339 #define PACKAGE_NAME "$PACKAGE_NAME"
1343 cat >>confdefs.h <<_ACEOF
1344 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1353 cat >>confdefs.h <<_ACEOF
1354 #define PACKAGE_STRING "$PACKAGE_STRING"
1358 cat >>confdefs.h <<_ACEOF
1359 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1363 # Let the site file select an alternate cache file if it wants to.
1364 # Prefer explicitly selected file to automatically selected ones.
1365 if test -z "$CONFIG_SITE"; then
1366 if test "x$prefix" != xNONE; then
1367 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1369 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1372 for ac_site_file in $CONFIG_SITE; do
1373 if test -r "$ac_site_file"; then
1374 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1375 echo "$as_me: loading site script $ac_site_file" >&6;}
1376 sed 's/^/| /' "$ac_site_file" >&5
1381 if test -r "$cache_file"; then
1382 # Some versions of bash will fail to source /dev/null (special
1383 # files actually), so we avoid doing that.
1384 if test -f "$cache_file"; then
1385 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1386 echo "$as_me: loading cache $cache_file" >&6;}
1388 [\\/]* | ?:[\\/]* ) . $cache_file;;
1389 *) . ./$cache_file;;
1393 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1394 echo "$as_me: creating cache $cache_file" >&6;}
1398 # Check that the precious variables saved in the cache have kept the same
1400 ac_cache_corrupted=false
1401 for ac_var in `(set) 2>&1 |
1402 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1403 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1404 eval ac_new_set=\$ac_env_${ac_var}_set
1405 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1406 eval ac_new_val="\$ac_env_${ac_var}_value"
1407 case $ac_old_set,$ac_new_set in
1409 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1410 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1411 ac_cache_corrupted=: ;;
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1418 if test "x$ac_old_val" != "x$ac_new_val"; then
1419 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1420 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1421 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1422 echo "$as_me: former value: $ac_old_val" >&2;}
1423 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1424 echo "$as_me: current value: $ac_new_val" >&2;}
1425 ac_cache_corrupted=:
1428 # Pass precious variables to config.status.
1429 if test "$ac_new_set" = set; then
1431 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1432 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1433 *) ac_arg=$ac_var=$ac_new_val ;;
1435 case " $ac_configure_args " in
1436 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1437 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1441 if $ac_cache_corrupted; then
1442 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1443 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1444 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1445 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1446 { (exit 1); exit 1; }; }
1450 ac_cpp='$CPP $CPPFLAGS'
1451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1475 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1476 if test -f $ac_dir/install-sh; then
1478 ac_install_sh="$ac_aux_dir/install-sh -c"
1480 elif test -f $ac_dir/install.sh; then
1482 ac_install_sh="$ac_aux_dir/install.sh -c"
1484 elif test -f $ac_dir/shtool; then
1486 ac_install_sh="$ac_aux_dir/shtool install -c"
1490 if test -z "$ac_aux_dir"; then
1491 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1492 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1493 { (exit 1); exit 1; }; }
1495 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1496 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1497 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1499 # Make sure we can run config.sub.
1500 $ac_config_sub sun4 >/dev/null 2>&1 ||
1501 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1502 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1503 { (exit 1); exit 1; }; }
1505 echo "$as_me:$LINENO: checking build system type" >&5
1506 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1507 if test "${ac_cv_build+set}" = set; then
1508 echo $ECHO_N "(cached) $ECHO_C" >&6
1510 ac_cv_build_alias=$build_alias
1511 test -z "$ac_cv_build_alias" &&
1512 ac_cv_build_alias=`$ac_config_guess`
1513 test -z "$ac_cv_build_alias" &&
1514 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1515 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1516 { (exit 1); exit 1; }; }
1517 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1518 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1519 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1520 { (exit 1); exit 1; }; }
1523 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1524 echo "${ECHO_T}$ac_cv_build" >&6
1526 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1527 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1528 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1531 echo "$as_me:$LINENO: checking host system type" >&5
1532 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1533 if test "${ac_cv_host+set}" = set; then
1534 echo $ECHO_N "(cached) $ECHO_C" >&6
1536 ac_cv_host_alias=$host_alias
1537 test -z "$ac_cv_host_alias" &&
1538 ac_cv_host_alias=$ac_cv_build_alias
1539 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1540 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1541 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1542 { (exit 1); exit 1; }; }
1545 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1546 echo "${ECHO_T}$ac_cv_host" >&6
1548 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1549 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1550 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1553 echo "$as_me:$LINENO: checking target system type" >&5
1554 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1555 if test "${ac_cv_target+set}" = set; then
1556 echo $ECHO_N "(cached) $ECHO_C" >&6
1558 ac_cv_target_alias=$target_alias
1559 test "x$ac_cv_target_alias" = "x" &&
1560 ac_cv_target_alias=$ac_cv_host_alias
1561 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1562 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1563 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1564 { (exit 1); exit 1; }; }
1567 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1568 echo "${ECHO_T}$ac_cv_target" >&6
1569 target=$ac_cv_target
1570 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1571 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1572 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1575 # The aliases save the names the user supplied, while $host etc.
1576 # will get canonicalized.
1577 test -n "$target_alias" &&
1578 test "$program_prefix$program_suffix$program_transform_name" = \
1580 program_prefix=${target_alias}-
1582 ac_cpp='$CPP $CPPFLAGS'
1583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1586 if test -n "$ac_tool_prefix"; then
1587 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1588 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1589 echo "$as_me:$LINENO: checking for $ac_word" >&5
1590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1591 if test "${ac_cv_prog_CC+set}" = set; then
1592 echo $ECHO_N "(cached) $ECHO_C" >&6
1594 if test -n "$CC"; then
1595 ac_cv_prog_CC="$CC" # Let the user override the test.
1597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1601 test -z "$as_dir" && as_dir=.
1602 for ac_exec_ext in '' $ac_executable_extensions; do
1603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1604 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1614 if test -n "$CC"; then
1615 echo "$as_me:$LINENO: result: $CC" >&5
1616 echo "${ECHO_T}$CC" >&6
1618 echo "$as_me:$LINENO: result: no" >&5
1619 echo "${ECHO_T}no" >&6
1623 if test -z "$ac_cv_prog_CC"; then
1625 # Extract the first word of "gcc", so it can be a program name with args.
1626 set dummy gcc; ac_word=$2
1627 echo "$as_me:$LINENO: checking for $ac_word" >&5
1628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1629 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1630 echo $ECHO_N "(cached) $ECHO_C" >&6
1632 if test -n "$ac_ct_CC"; then
1633 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1639 test -z "$as_dir" && as_dir=.
1640 for ac_exec_ext in '' $ac_executable_extensions; do
1641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1642 ac_cv_prog_ac_ct_CC="gcc"
1643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1651 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1652 if test -n "$ac_ct_CC"; then
1653 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1654 echo "${ECHO_T}$ac_ct_CC" >&6
1656 echo "$as_me:$LINENO: result: no" >&5
1657 echo "${ECHO_T}no" >&6
1665 if test -z "$CC"; then
1666 if test -n "$ac_tool_prefix"; then
1667 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1668 set dummy ${ac_tool_prefix}cc; ac_word=$2
1669 echo "$as_me:$LINENO: checking for $ac_word" >&5
1670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1671 if test "${ac_cv_prog_CC+set}" = set; then
1672 echo $ECHO_N "(cached) $ECHO_C" >&6
1674 if test -n "$CC"; then
1675 ac_cv_prog_CC="$CC" # Let the user override the test.
1677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1681 test -z "$as_dir" && as_dir=.
1682 for ac_exec_ext in '' $ac_executable_extensions; do
1683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1684 ac_cv_prog_CC="${ac_tool_prefix}cc"
1685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1694 if test -n "$CC"; then
1695 echo "$as_me:$LINENO: result: $CC" >&5
1696 echo "${ECHO_T}$CC" >&6
1698 echo "$as_me:$LINENO: result: no" >&5
1699 echo "${ECHO_T}no" >&6
1703 if test -z "$ac_cv_prog_CC"; then
1705 # Extract the first word of "cc", so it can be a program name with args.
1706 set dummy cc; ac_word=$2
1707 echo "$as_me:$LINENO: checking for $ac_word" >&5
1708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1709 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1710 echo $ECHO_N "(cached) $ECHO_C" >&6
1712 if test -n "$ac_ct_CC"; then
1713 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1719 test -z "$as_dir" && as_dir=.
1720 for ac_exec_ext in '' $ac_executable_extensions; do
1721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1722 ac_cv_prog_ac_ct_CC="cc"
1723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1731 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1732 if test -n "$ac_ct_CC"; then
1733 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1734 echo "${ECHO_T}$ac_ct_CC" >&6
1736 echo "$as_me:$LINENO: result: no" >&5
1737 echo "${ECHO_T}no" >&6
1746 if test -z "$CC"; then
1747 # Extract the first word of "cc", so it can be a program name with args.
1748 set dummy cc; ac_word=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_CC+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 if test -n "$CC"; then
1755 ac_cv_prog_CC="$CC" # Let the user override the test.
1758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1762 test -z "$as_dir" && as_dir=.
1763 for ac_exec_ext in '' $ac_executable_extensions; do
1764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1765 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1766 ac_prog_rejected=yes
1770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1776 if test $ac_prog_rejected = yes; then
1777 # We found a bogon in the path, so make sure we never use it.
1778 set dummy $ac_cv_prog_CC
1780 if test $# != 0; then
1781 # We chose a different compiler from the bogus one.
1782 # However, it has the same basename, so the bogon will be chosen
1783 # first if we set CC to just the basename; use the full file name.
1785 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1791 if test -n "$CC"; then
1792 echo "$as_me:$LINENO: result: $CC" >&5
1793 echo "${ECHO_T}$CC" >&6
1795 echo "$as_me:$LINENO: result: no" >&5
1796 echo "${ECHO_T}no" >&6
1800 if test -z "$CC"; then
1801 if test -n "$ac_tool_prefix"; then
1804 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1805 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1806 echo "$as_me:$LINENO: checking for $ac_word" >&5
1807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1808 if test "${ac_cv_prog_CC+set}" = set; then
1809 echo $ECHO_N "(cached) $ECHO_C" >&6
1811 if test -n "$CC"; then
1812 ac_cv_prog_CC="$CC" # Let the user override the test.
1814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818 test -z "$as_dir" && as_dir=.
1819 for ac_exec_ext in '' $ac_executable_extensions; do
1820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1821 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1831 if test -n "$CC"; then
1832 echo "$as_me:$LINENO: result: $CC" >&5
1833 echo "${ECHO_T}$CC" >&6
1835 echo "$as_me:$LINENO: result: no" >&5
1836 echo "${ECHO_T}no" >&6
1839 test -n "$CC" && break
1842 if test -z "$CC"; then
1846 # Extract the first word of "$ac_prog", so it can be a program name with args.
1847 set dummy $ac_prog; ac_word=$2
1848 echo "$as_me:$LINENO: checking for $ac_word" >&5
1849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1850 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1853 if test -n "$ac_ct_CC"; then
1854 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1860 test -z "$as_dir" && as_dir=.
1861 for ac_exec_ext in '' $ac_executable_extensions; do
1862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1863 ac_cv_prog_ac_ct_CC="$ac_prog"
1864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1872 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1873 if test -n "$ac_ct_CC"; then
1874 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1875 echo "${ECHO_T}$ac_ct_CC" >&6
1877 echo "$as_me:$LINENO: result: no" >&5
1878 echo "${ECHO_T}no" >&6
1881 test -n "$ac_ct_CC" && break
1890 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1891 See \`config.log' for more details." >&5
1892 echo "$as_me: error: no acceptable C compiler found in \$PATH
1893 See \`config.log' for more details." >&2;}
1894 { (exit 1); exit 1; }; }
1896 # Provide some information about the compiler.
1897 echo "$as_me:$LINENO:" \
1898 "checking for C compiler version" >&5
1899 ac_compiler=`set X $ac_compile; echo $2`
1900 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1901 (eval $ac_compiler --version </dev/null >&5) 2>&5
1903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1904 (exit $ac_status); }
1905 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1906 (eval $ac_compiler -v </dev/null >&5) 2>&5
1908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1909 (exit $ac_status); }
1910 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1911 (eval $ac_compiler -V </dev/null >&5) 2>&5
1913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1914 (exit $ac_status); }
1916 cat >conftest.$ac_ext <<_ACEOF
1919 cat confdefs.h >>conftest.$ac_ext
1920 cat >>conftest.$ac_ext <<_ACEOF
1921 /* end confdefs.h. */
1931 ac_clean_files_save=$ac_clean_files
1932 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1933 # Try to create an executable without -o first, disregard a.out.
1934 # It will help us diagnose broken compilers, and finding out an intuition
1936 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1937 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1938 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1939 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1940 (eval $ac_link_default) 2>&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); }; then
1944 # Find the output, starting from the most likely. This scheme is
1945 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1948 # Be careful to initialize this variable, since it used to be cached.
1949 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1951 # b.out is created by i960 compilers.
1952 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1954 test -f "$ac_file" || continue
1956 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1959 # This is the source file.
1962 # We found the default executable, but exeext='' is most
1966 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1967 # FIXME: I believe we export ac_cv_exeext for Libtool,
1968 # but it would be cool to find out if it's true. Does anybody
1969 # maintain Libtool? --akim.
1977 echo "$as_me: failed program was:" >&5
1978 sed 's/^/| /' conftest.$ac_ext >&5
1980 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1981 See \`config.log' for more details." >&5
1982 echo "$as_me: error: C compiler cannot create executables
1983 See \`config.log' for more details." >&2;}
1984 { (exit 77); exit 77; }; }
1987 ac_exeext=$ac_cv_exeext
1988 echo "$as_me:$LINENO: result: $ac_file" >&5
1989 echo "${ECHO_T}$ac_file" >&6
1991 # Check the compiler produces executables we can run. If not, either
1992 # the compiler is broken, or we cross compile.
1993 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1994 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1995 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1996 # If not cross compiling, check that we can run a simple program.
1997 if test "$cross_compiling" != yes; then
1998 if { ac_try='./$ac_file'
1999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2003 (exit $ac_status); }; }; then
2006 if test "$cross_compiling" = maybe; then
2009 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2010 If you meant to cross compile, use \`--host'.
2011 See \`config.log' for more details." >&5
2012 echo "$as_me: error: cannot run C compiled programs.
2013 If you meant to cross compile, use \`--host'.
2014 See \`config.log' for more details." >&2;}
2015 { (exit 1); exit 1; }; }
2019 echo "$as_me:$LINENO: result: yes" >&5
2020 echo "${ECHO_T}yes" >&6
2022 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2023 ac_clean_files=$ac_clean_files_save
2024 # Check the compiler produces executables we can run. If not, either
2025 # the compiler is broken, or we cross compile.
2026 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2027 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2028 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2029 echo "${ECHO_T}$cross_compiling" >&6
2031 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2032 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2034 (eval $ac_link) 2>&5
2036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037 (exit $ac_status); }; then
2038 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2039 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2040 # work properly (i.e., refer to `conftest.exe'), while it won't with
2042 for ac_file in conftest.exe conftest conftest.*; do
2043 test -f "$ac_file" || continue
2045 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2046 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2053 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2054 See \`config.log' for more details." >&5
2055 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2056 See \`config.log' for more details." >&2;}
2057 { (exit 1); exit 1; }; }
2060 rm -f conftest$ac_cv_exeext
2061 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2062 echo "${ECHO_T}$ac_cv_exeext" >&6
2064 rm -f conftest.$ac_ext
2065 EXEEXT=$ac_cv_exeext
2067 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2068 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2069 if test "${ac_cv_objext+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2072 cat >conftest.$ac_ext <<_ACEOF
2075 cat confdefs.h >>conftest.$ac_ext
2076 cat >>conftest.$ac_ext <<_ACEOF
2077 /* end confdefs.h. */
2087 rm -f conftest.o conftest.obj
2088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2089 (eval $ac_compile) 2>&5
2091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2092 (exit $ac_status); }; then
2093 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2095 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2096 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2101 echo "$as_me: failed program was:" >&5
2102 sed 's/^/| /' conftest.$ac_ext >&5
2104 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2105 See \`config.log' for more details." >&5
2106 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2107 See \`config.log' for more details." >&2;}
2108 { (exit 1); exit 1; }; }
2111 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2113 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2114 echo "${ECHO_T}$ac_cv_objext" >&6
2115 OBJEXT=$ac_cv_objext
2117 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2118 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2119 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2120 echo $ECHO_N "(cached) $ECHO_C" >&6
2122 cat >conftest.$ac_ext <<_ACEOF
2125 cat confdefs.h >>conftest.$ac_ext
2126 cat >>conftest.$ac_ext <<_ACEOF
2127 /* end confdefs.h. */
2140 rm -f conftest.$ac_objext
2141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2142 (eval $ac_compile) 2>conftest.er1
2144 grep -v '^ *+' conftest.er1 >conftest.err
2146 cat conftest.err >&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); } &&
2149 { ac_try='test -z "$ac_c_werror_flag"
2150 || test ! -s conftest.err'
2151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); }; } &&
2156 { ac_try='test -s conftest.$ac_objext'
2157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 (exit $ac_status); }; }; then
2164 echo "$as_me: failed program was:" >&5
2165 sed 's/^/| /' conftest.$ac_ext >&5
2169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2170 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2173 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2174 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2175 GCC=`test $ac_compiler_gnu = yes && echo yes`
2176 ac_test_CFLAGS=${CFLAGS+set}
2177 ac_save_CFLAGS=$CFLAGS
2179 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2180 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2181 if test "${ac_cv_prog_cc_g+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2184 cat >conftest.$ac_ext <<_ACEOF
2187 cat confdefs.h >>conftest.$ac_ext
2188 cat >>conftest.$ac_ext <<_ACEOF
2189 /* end confdefs.h. */
2199 rm -f conftest.$ac_objext
2200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2201 (eval $ac_compile) 2>conftest.er1
2203 grep -v '^ *+' conftest.er1 >conftest.err
2205 cat conftest.err >&5
2206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 (exit $ac_status); } &&
2208 { ac_try='test -z "$ac_c_werror_flag"
2209 || test ! -s conftest.err'
2210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }; } &&
2215 { ac_try='test -s conftest.$ac_objext'
2216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; }; then
2223 echo "$as_me: failed program was:" >&5
2224 sed 's/^/| /' conftest.$ac_ext >&5
2228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2230 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2231 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2232 if test "$ac_test_CFLAGS" = set; then
2233 CFLAGS=$ac_save_CFLAGS
2234 elif test $ac_cv_prog_cc_g = yes; then
2235 if test "$GCC" = yes; then
2241 if test "$GCC" = yes; then
2247 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2248 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2249 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2250 echo $ECHO_N "(cached) $ECHO_C" >&6
2252 ac_cv_prog_cc_stdc=no
2254 cat >conftest.$ac_ext <<_ACEOF
2257 cat confdefs.h >>conftest.$ac_ext
2258 cat >>conftest.$ac_ext <<_ACEOF
2259 /* end confdefs.h. */
2262 #include <sys/types.h>
2263 #include <sys/stat.h>
2264 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2265 struct buf { int x; };
2266 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2267 static char *e (p, i)
2273 static char *f (char * (*g) (char **, int), char **p, ...)
2278 s = g (p, va_arg (v,int));
2283 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2284 function prototypes and stuff, but not '\xHH' hex character constants.
2285 These don't provoke an error unfortunately, instead are silently treated
2286 as 'x'. The following induces an error, until -std1 is added to get
2287 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2288 array size at least. It's necessary to write '\x00'==0 to get something
2289 that's true only with -std1. */
2290 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2292 int test (int i, double x);
2293 struct s1 {int (*f) (int a);};
2294 struct s2 {int (*f) (double a);};
2295 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2301 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2306 # Don't try gcc -ansi; that turns off useful extensions and
2307 # breaks some systems' header files.
2308 # AIX -qlanglvl=ansi
2309 # Ultrix and OSF/1 -std1
2310 # HP-UX 10.20 and later -Ae
2311 # HP-UX older versions -Aa -D_HPUX_SOURCE
2312 # SVR4 -Xc -D__EXTENSIONS__
2313 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2315 CC="$ac_save_CC $ac_arg"
2316 rm -f conftest.$ac_objext
2317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2318 (eval $ac_compile) 2>conftest.er1
2320 grep -v '^ *+' conftest.er1 >conftest.err
2322 cat conftest.err >&5
2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 (exit $ac_status); } &&
2325 { ac_try='test -z "$ac_c_werror_flag"
2326 || test ! -s conftest.err'
2327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }; } &&
2332 { ac_try='test -s conftest.$ac_objext'
2333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); }; }; then
2338 ac_cv_prog_cc_stdc=$ac_arg
2341 echo "$as_me: failed program was:" >&5
2342 sed 's/^/| /' conftest.$ac_ext >&5
2345 rm -f conftest.err conftest.$ac_objext
2347 rm -f conftest.$ac_ext conftest.$ac_objext
2352 case "x$ac_cv_prog_cc_stdc" in
2354 echo "$as_me:$LINENO: result: none needed" >&5
2355 echo "${ECHO_T}none needed" >&6 ;;
2357 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2358 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2359 CC="$CC $ac_cv_prog_cc_stdc" ;;
2362 # Some people use a C++ compiler to compile C. Since we use `exit',
2363 # in C++ we need to declare it. In case someone uses the same compiler
2364 # for both compiling C and C++ we need to have the C++ compiler decide
2365 # the declaration of exit, since it's the most demanding environment.
2366 cat >conftest.$ac_ext <<_ACEOF
2371 rm -f conftest.$ac_objext
2372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2373 (eval $ac_compile) 2>conftest.er1
2375 grep -v '^ *+' conftest.er1 >conftest.err
2377 cat conftest.err >&5
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); } &&
2380 { ac_try='test -z "$ac_c_werror_flag"
2381 || test ! -s conftest.err'
2382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); }; } &&
2387 { ac_try='test -s conftest.$ac_objext'
2388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392 (exit $ac_status); }; }; then
2393 for ac_declaration in \
2395 'extern "C" void std::exit (int) throw (); using std::exit;' \
2396 'extern "C" void std::exit (int); using std::exit;' \
2397 'extern "C" void exit (int) throw ();' \
2398 'extern "C" void exit (int);' \
2401 cat >conftest.$ac_ext <<_ACEOF
2404 cat confdefs.h >>conftest.$ac_ext
2405 cat >>conftest.$ac_ext <<_ACEOF
2406 /* end confdefs.h. */
2417 rm -f conftest.$ac_objext
2418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2419 (eval $ac_compile) 2>conftest.er1
2421 grep -v '^ *+' conftest.er1 >conftest.err
2423 cat conftest.err >&5
2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425 (exit $ac_status); } &&
2426 { ac_try='test -z "$ac_c_werror_flag"
2427 || test ! -s conftest.err'
2428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 (exit $ac_status); }; } &&
2433 { ac_try='test -s conftest.$ac_objext'
2434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); }; }; then
2441 echo "$as_me: failed program was:" >&5
2442 sed 's/^/| /' conftest.$ac_ext >&5
2446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2447 cat >conftest.$ac_ext <<_ACEOF
2450 cat confdefs.h >>conftest.$ac_ext
2451 cat >>conftest.$ac_ext <<_ACEOF
2452 /* end confdefs.h. */
2462 rm -f conftest.$ac_objext
2463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2464 (eval $ac_compile) 2>conftest.er1
2466 grep -v '^ *+' conftest.er1 >conftest.err
2468 cat conftest.err >&5
2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470 (exit $ac_status); } &&
2471 { ac_try='test -z "$ac_c_werror_flag"
2472 || test ! -s conftest.err'
2473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477 (exit $ac_status); }; } &&
2478 { ac_try='test -s conftest.$ac_objext'
2479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483 (exit $ac_status); }; }; then
2486 echo "$as_me: failed program was:" >&5
2487 sed 's/^/| /' conftest.$ac_ext >&5
2490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2493 if test -n "$ac_declaration"; then
2494 echo '#ifdef __cplusplus' >>confdefs.h
2495 echo $ac_declaration >>confdefs.h
2496 echo '#endif' >>confdefs.h
2500 echo "$as_me: failed program was:" >&5
2501 sed 's/^/| /' conftest.$ac_ext >&5
2504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2506 ac_cpp='$CPP $CPPFLAGS'
2507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2512 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2513 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2514 if test "${ac_cv_search_strerror+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 ac_func_search_save_LIBS=$LIBS
2518 ac_cv_search_strerror=no
2519 cat >conftest.$ac_ext <<_ACEOF
2522 cat confdefs.h >>conftest.$ac_ext
2523 cat >>conftest.$ac_ext <<_ACEOF
2524 /* end confdefs.h. */
2526 /* Override any gcc2 internal prototype to avoid an error. */
2530 /* We use char because int might match the return type of a gcc2
2531 builtin and then its argument prototype would still apply. */
2541 rm -f conftest.$ac_objext conftest$ac_exeext
2542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2543 (eval $ac_link) 2>conftest.er1
2545 grep -v '^ *+' conftest.er1 >conftest.err
2547 cat conftest.err >&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); } &&
2550 { ac_try='test -z "$ac_c_werror_flag"
2551 || test ! -s conftest.err'
2552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556 (exit $ac_status); }; } &&
2557 { ac_try='test -s conftest$ac_exeext'
2558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }; }; then
2563 ac_cv_search_strerror="none required"
2565 echo "$as_me: failed program was:" >&5
2566 sed 's/^/| /' conftest.$ac_ext >&5
2569 rm -f conftest.err conftest.$ac_objext \
2570 conftest$ac_exeext conftest.$ac_ext
2571 if test "$ac_cv_search_strerror" = no; then
2572 for ac_lib in cposix; do
2573 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2574 cat >conftest.$ac_ext <<_ACEOF
2577 cat confdefs.h >>conftest.$ac_ext
2578 cat >>conftest.$ac_ext <<_ACEOF
2579 /* end confdefs.h. */
2581 /* Override any gcc2 internal prototype to avoid an error. */
2585 /* We use char because int might match the return type of a gcc2
2586 builtin and then its argument prototype would still apply. */
2596 rm -f conftest.$ac_objext conftest$ac_exeext
2597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2598 (eval $ac_link) 2>conftest.er1
2600 grep -v '^ *+' conftest.er1 >conftest.err
2602 cat conftest.err >&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); } &&
2605 { ac_try='test -z "$ac_c_werror_flag"
2606 || test ! -s conftest.err'
2607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); }; } &&
2612 { ac_try='test -s conftest$ac_exeext'
2613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }; }; then
2618 ac_cv_search_strerror="-l$ac_lib"
2621 echo "$as_me: failed program was:" >&5
2622 sed 's/^/| /' conftest.$ac_ext >&5
2625 rm -f conftest.err conftest.$ac_objext \
2626 conftest$ac_exeext conftest.$ac_ext
2629 LIBS=$ac_func_search_save_LIBS
2631 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2632 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2633 if test "$ac_cv_search_strerror" != no; then
2634 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
2639 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2640 am__api_version="1.9"
2641 # Find a good install program. We prefer a C program (faster),
2642 # so one script is as good as another. But avoid the broken or
2643 # incompatible versions:
2644 # SysV /etc/install, /usr/sbin/install
2645 # SunOS /usr/etc/install
2646 # IRIX /sbin/install
2648 # AmigaOS /C/install, which installs bootblocks on floppy discs
2649 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2650 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2651 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2652 # OS/2's system install, which has a completely different semantic
2653 # ./install, which can be erroneously created by make from ./install.sh.
2654 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2655 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2656 if test -z "$INSTALL"; then
2657 if test "${ac_cv_path_install+set}" = set; then
2658 echo $ECHO_N "(cached) $ECHO_C" >&6
2660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 test -z "$as_dir" && as_dir=.
2665 # Account for people who put trailing slashes in PATH elements.
2667 ./ | .// | /cC/* | \
2668 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2669 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2672 # OSF1 and SCO ODT 3.0 have their own names for install.
2673 # Don't use installbsd from OSF since it installs stuff as root
2675 for ac_prog in ginstall scoinst install; do
2676 for ac_exec_ext in '' $ac_executable_extensions; do
2677 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2678 if test $ac_prog = install &&
2679 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2680 # AIX install. It has an incompatible calling convention.
2682 elif test $ac_prog = install &&
2683 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2684 # program-specific install script used by HP pwplus--don't use.
2687 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2699 if test "${ac_cv_path_install+set}" = set; then
2700 INSTALL=$ac_cv_path_install
2702 # As a last resort, use the slow shell script. We don't cache a
2703 # path for INSTALL within a source directory, because that will
2704 # break other packages using the cache if that directory is
2705 # removed, or if the path is relative.
2706 INSTALL=$ac_install_sh
2709 echo "$as_me:$LINENO: result: $INSTALL" >&5
2710 echo "${ECHO_T}$INSTALL" >&6
2712 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2713 # It thinks the first close brace ends the variable substitution.
2714 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2716 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2718 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2720 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2721 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2724 echo timestamp > conftest.file
2725 # Do `set' in a subshell so we don't clobber the current shell's
2726 # arguments. Must try -L first in case configure is actually a
2727 # symlink; some systems play weird games with the mod time of symlinks
2728 # (eg FreeBSD returns the mod time of the symlink's containing
2731 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2732 if test "$*" = "X"; then
2734 set X `ls -t $srcdir/configure conftest.file`
2737 if test "$*" != "X $srcdir/configure conftest.file" \
2738 && test "$*" != "X conftest.file $srcdir/configure"; then
2740 # If neither matched, then we have a broken ls. This can happen
2741 # if, for instance, CONFIG_SHELL is bash and it inherits a
2742 # broken ls alias from the environment. This has actually
2743 # happened. Such a system could not be considered "sane".
2744 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2745 alias in your environment" >&5
2746 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2747 alias in your environment" >&2;}
2748 { (exit 1); exit 1; }; }
2751 test "$2" = conftest.file
2757 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2758 Check your system clock" >&5
2759 echo "$as_me: error: newly created file is older than distributed files!
2760 Check your system clock" >&2;}
2761 { (exit 1); exit 1; }; }
2763 echo "$as_me:$LINENO: result: yes" >&5
2764 echo "${ECHO_T}yes" >&6
2765 test "$program_prefix" != NONE &&
2766 program_transform_name="s,^,$program_prefix,;$program_transform_name"
2767 # Use a double $ so make ignores it.
2768 test "$program_suffix" != NONE &&
2769 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
2770 # Double any \ or $. echo might interpret backslashes.
2771 # By default was `s,x,x', remove it if useless.
2772 cat <<\_ACEOF >conftest.sed
2773 s/[\\$]/&&/g;s/;s,x,x,$//
2775 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2778 # expand $ac_aux_dir to an absolute path
2779 am_aux_dir=`cd $ac_aux_dir && pwd`
2781 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2782 # Use eval to expand $SHELL
2783 if eval "$MISSING --run true"; then
2784 am_missing_run="$MISSING --run "
2787 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2788 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2791 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2792 # We used to keeping the `.' as first argument, in order to
2793 # allow $(mkdir_p) to be used without argument. As in
2794 # $(mkdir_p) $(somedir)
2795 # where $(somedir) is conditionally defined. However this is wrong
2797 # 1. if the package is installed by a user who cannot write `.'
2798 # make install will fail,
2799 # 2. the above comment should most certainly read
2800 # $(mkdir_p) $(DESTDIR)$(somedir)
2801 # so it does not work when $(somedir) is undefined and
2802 # $(DESTDIR) is not.
2803 # To support the latter case, we have to write
2804 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2805 # so the `.' trick is pointless.
2806 mkdir_p='mkdir -p --'
2808 # On NextStep and OpenStep, the `mkdir' command does not
2809 # recognize any option. It will interpret all options as
2810 # directories to create, and then abort because `.' already
2812 for d in ./-p ./--version;
2814 test -d $d && rmdir $d
2816 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2817 if test -f "$ac_aux_dir/mkinstalldirs"; then
2818 mkdir_p='$(mkinstalldirs)'
2820 mkdir_p='$(install_sh) -d'
2824 for ac_prog in gawk mawk nawk awk
2826 # Extract the first word of "$ac_prog", so it can be a program name with args.
2827 set dummy $ac_prog; ac_word=$2
2828 echo "$as_me:$LINENO: checking for $ac_word" >&5
2829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2830 if test "${ac_cv_prog_AWK+set}" = set; then
2831 echo $ECHO_N "(cached) $ECHO_C" >&6
2833 if test -n "$AWK"; then
2834 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2840 test -z "$as_dir" && as_dir=.
2841 for ac_exec_ext in '' $ac_executable_extensions; do
2842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2843 ac_cv_prog_AWK="$ac_prog"
2844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2853 if test -n "$AWK"; then
2854 echo "$as_me:$LINENO: result: $AWK" >&5
2855 echo "${ECHO_T}$AWK" >&6
2857 echo "$as_me:$LINENO: result: no" >&5
2858 echo "${ECHO_T}no" >&6
2861 test -n "$AWK" && break
2864 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2865 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2866 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2867 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2868 echo $ECHO_N "(cached) $ECHO_C" >&6
2870 cat >conftest.make <<\_ACEOF
2872 @echo 'ac_maketemp="$(MAKE)"'
2874 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2875 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2876 if test -n "$ac_maketemp"; then
2877 eval ac_cv_prog_make_${ac_make}_set=yes
2879 eval ac_cv_prog_make_${ac_make}_set=no
2883 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2884 echo "$as_me:$LINENO: result: yes" >&5
2885 echo "${ECHO_T}yes" >&6
2888 echo "$as_me:$LINENO: result: no" >&5
2889 echo "${ECHO_T}no" >&6
2890 SET_MAKE="MAKE=${MAKE-make}"
2893 rm -rf .tst 2>/dev/null
2894 mkdir .tst 2>/dev/null
2895 if test -d .tst; then
2900 rmdir .tst 2>/dev/null
2902 DEPDIR="${am__leading_dot}deps"
2904 ac_config_commands="$ac_config_commands depfiles"
2907 am_make=${MAKE-make}
2908 cat > confinc << 'END'
2913 # If we don't find an include directive, just comment out the code.
2914 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2915 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2919 # First try GNU make style include.
2920 echo "include confinc" > confmf
2921 # We grep out `Entering directory' and `Leaving directory'
2922 # messages which can occur if `w' ends up in MAKEFLAGS.
2923 # In particular we don't look at `^make:' because GNU make might
2924 # be invoked under some other name (usually "gmake"), in which
2925 # case it prints its new name instead of `make'.
2926 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2931 # Now try BSD make style include.
2932 if test "$am__include" = "#"; then
2933 echo '.include "confinc"' > confmf
2934 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2935 am__include=.include
2942 echo "$as_me:$LINENO: result: $_am_result" >&5
2943 echo "${ECHO_T}$_am_result" >&6
2944 rm -f confinc confmf
2946 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2947 if test "${enable_dependency_tracking+set}" = set; then
2948 enableval="$enable_dependency_tracking"
2951 if test "x$enable_dependency_tracking" != xno; then
2952 am_depcomp="$ac_aux_dir/depcomp"
2957 if test "x$enable_dependency_tracking" != xno; then
2967 # test to see if srcdir already configured
2968 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2969 test -f $srcdir/config.status; then
2970 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2971 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2972 { (exit 1); exit 1; }; }
2975 # test whether we have cygpath
2976 if test -z "$CYGPATH_W"; then
2977 if (cygpath --version) >/dev/null 2>/dev/null; then
2978 CYGPATH_W='cygpath -w'
2985 # Define the identity of the package.
2987 VERSION=${BFD_VERSION}
2990 cat >>confdefs.h <<_ACEOF
2991 #define PACKAGE "$PACKAGE"
2995 cat >>confdefs.h <<_ACEOF
2996 #define VERSION "$VERSION"
2999 # Some tools Automake needs.
3001 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3004 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3007 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3010 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3013 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3015 install_sh=${install_sh-"$am_aux_dir/install-sh"}
3017 # Installed binaries are usually stripped using `strip' when the user
3018 # run `make install-strip'. However `strip' might not be the right
3019 # tool to use in cross-compilation environments, therefore Automake
3020 # will honor the `STRIP' environment variable to overrule this program.
3021 if test "$cross_compiling" != no; then
3022 if test -n "$ac_tool_prefix"; then
3023 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3024 set dummy ${ac_tool_prefix}strip; ac_word=$2
3025 echo "$as_me:$LINENO: checking for $ac_word" >&5
3026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3027 if test "${ac_cv_prog_STRIP+set}" = set; then
3028 echo $ECHO_N "(cached) $ECHO_C" >&6
3030 if test -n "$STRIP"; then
3031 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 test -z "$as_dir" && as_dir=.
3038 for ac_exec_ext in '' $ac_executable_extensions; do
3039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3040 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3049 STRIP=$ac_cv_prog_STRIP
3050 if test -n "$STRIP"; then
3051 echo "$as_me:$LINENO: result: $STRIP" >&5
3052 echo "${ECHO_T}$STRIP" >&6
3054 echo "$as_me:$LINENO: result: no" >&5
3055 echo "${ECHO_T}no" >&6
3059 if test -z "$ac_cv_prog_STRIP"; then
3061 # Extract the first word of "strip", so it can be a program name with args.
3062 set dummy strip; ac_word=$2
3063 echo "$as_me:$LINENO: checking for $ac_word" >&5
3064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3065 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3066 echo $ECHO_N "(cached) $ECHO_C" >&6
3068 if test -n "$ac_ct_STRIP"; then
3069 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3075 test -z "$as_dir" && as_dir=.
3076 for ac_exec_ext in '' $ac_executable_extensions; do
3077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3078 ac_cv_prog_ac_ct_STRIP="strip"
3079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3085 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3088 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3089 if test -n "$ac_ct_STRIP"; then
3090 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3091 echo "${ECHO_T}$ac_ct_STRIP" >&6
3093 echo "$as_me:$LINENO: result: no" >&5
3094 echo "${ECHO_T}no" >&6
3099 STRIP="$ac_cv_prog_STRIP"
3103 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
3105 # We need awk for the "check" target. The system "awk" is bad on
3107 # Always define AMTAR for backward compatibility.
3109 AMTAR=${AMTAR-"${am_missing_run}tar"}
3111 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3116 depcc="$CC" am_compiler_list=
3118 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3119 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3120 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3121 echo $ECHO_N "(cached) $ECHO_C" >&6
3123 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3124 # We make a subdir and do the tests there. Otherwise we can end up
3125 # making bogus files that we don't know about and never remove. For
3126 # instance it was reported that on HP-UX the gcc test will end up
3127 # making a dummy file named `D' -- because `-MD' means `put the output
3130 # Copy depcomp to subdir because otherwise we won't find it if we're
3131 # using a relative directory.
3132 cp "$am_depcomp" conftest.dir
3134 # We will build objects and dependencies in a subdirectory because
3135 # it helps to detect inapplicable dependency modes. For instance
3136 # both Tru64's cc and ICC support -MD to output dependencies as a
3137 # side effect of compilation, but ICC will put the dependencies in
3138 # the current directory while Tru64 will put them in the object
3142 am_cv_CC_dependencies_compiler_type=none
3143 if test "$am_compiler_list" = ""; then
3144 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3146 for depmode in $am_compiler_list; do
3147 # Setup a source with many dependencies, because some compilers
3148 # like to wrap large dependency lists on column 80 (with \), and
3149 # we should not choose a depcomp mode which is confused by this.
3151 # We need to recreate these files for each test, as the compiler may
3152 # overwrite some of them when testing with obscure command lines.
3153 # This happens at least with the AIX C compiler.
3155 for i in 1 2 3 4 5 6; do
3156 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3157 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3158 # Solaris 8's {/usr,}/bin/sh.
3159 touch sub/conftst$i.h
3161 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3165 # after this tag, mechanisms are not by side-effect, so they'll
3166 # only be used when explicitly requested
3167 if test "x$enable_dependency_tracking" = xyes; then
3175 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3176 # mode. It turns out that the SunPro C++ compiler does not properly
3177 # handle `-M -o', and we need to detect this.
3178 if depmode=$depmode \
3179 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3180 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3181 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3182 >/dev/null 2>conftest.err &&
3183 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3184 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3185 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3186 # icc doesn't choke on unknown options, it will just issue warnings
3187 # or remarks (even with -Werror). So we grep stderr for any message
3188 # that says an option was ignored or not supported.
3189 # When given -MP, icc 7.0 and 7.1 complain thusly:
3190 # icc: Command line warning: ignoring option '-M'; no argument required
3191 # The diagnosis changed in icc 8.0:
3192 # icc: Command line remark: option '-MP' not supported
3193 if (grep 'ignoring option' conftest.err ||
3194 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3195 am_cv_CC_dependencies_compiler_type=$depmode
3204 am_cv_CC_dependencies_compiler_type=none
3208 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3209 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3210 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3215 test "x$enable_dependency_tracking" != xno \
3216 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3218 am__fastdepCC_FALSE='#'
3220 am__fastdepCC_TRUE='#'
3221 am__fastdepCC_FALSE=
3228 ac_cpp='$CPP $CPPFLAGS'
3229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3232 if test -n "$ac_tool_prefix"; then
3233 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3234 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3235 echo "$as_me:$LINENO: checking for $ac_word" >&5
3236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3237 if test "${ac_cv_prog_CC+set}" = set; then
3238 echo $ECHO_N "(cached) $ECHO_C" >&6
3240 if test -n "$CC"; then
3241 ac_cv_prog_CC="$CC" # Let the user override the test.
3243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3247 test -z "$as_dir" && as_dir=.
3248 for ac_exec_ext in '' $ac_executable_extensions; do
3249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3250 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3260 if test -n "$CC"; then
3261 echo "$as_me:$LINENO: result: $CC" >&5
3262 echo "${ECHO_T}$CC" >&6
3264 echo "$as_me:$LINENO: result: no" >&5
3265 echo "${ECHO_T}no" >&6
3269 if test -z "$ac_cv_prog_CC"; then
3271 # Extract the first word of "gcc", so it can be a program name with args.
3272 set dummy gcc; ac_word=$2
3273 echo "$as_me:$LINENO: checking for $ac_word" >&5
3274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3275 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3276 echo $ECHO_N "(cached) $ECHO_C" >&6
3278 if test -n "$ac_ct_CC"; then
3279 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3285 test -z "$as_dir" && as_dir=.
3286 for ac_exec_ext in '' $ac_executable_extensions; do
3287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3288 ac_cv_prog_ac_ct_CC="gcc"
3289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3298 if test -n "$ac_ct_CC"; then
3299 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3300 echo "${ECHO_T}$ac_ct_CC" >&6
3302 echo "$as_me:$LINENO: result: no" >&5
3303 echo "${ECHO_T}no" >&6
3311 if test -z "$CC"; then
3312 if test -n "$ac_tool_prefix"; then
3313 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3314 set dummy ${ac_tool_prefix}cc; ac_word=$2
3315 echo "$as_me:$LINENO: checking for $ac_word" >&5
3316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3317 if test "${ac_cv_prog_CC+set}" = set; then
3318 echo $ECHO_N "(cached) $ECHO_C" >&6
3320 if test -n "$CC"; then
3321 ac_cv_prog_CC="$CC" # Let the user override the test.
3323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3327 test -z "$as_dir" && as_dir=.
3328 for ac_exec_ext in '' $ac_executable_extensions; do
3329 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3330 ac_cv_prog_CC="${ac_tool_prefix}cc"
3331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3340 if test -n "$CC"; then
3341 echo "$as_me:$LINENO: result: $CC" >&5
3342 echo "${ECHO_T}$CC" >&6
3344 echo "$as_me:$LINENO: result: no" >&5
3345 echo "${ECHO_T}no" >&6
3349 if test -z "$ac_cv_prog_CC"; then
3351 # Extract the first word of "cc", so it can be a program name with args.
3352 set dummy cc; ac_word=$2
3353 echo "$as_me:$LINENO: checking for $ac_word" >&5
3354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3355 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3356 echo $ECHO_N "(cached) $ECHO_C" >&6
3358 if test -n "$ac_ct_CC"; then
3359 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365 test -z "$as_dir" && as_dir=.
3366 for ac_exec_ext in '' $ac_executable_extensions; do
3367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3368 ac_cv_prog_ac_ct_CC="cc"
3369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3377 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3378 if test -n "$ac_ct_CC"; then
3379 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3380 echo "${ECHO_T}$ac_ct_CC" >&6
3382 echo "$as_me:$LINENO: result: no" >&5
3383 echo "${ECHO_T}no" >&6
3392 if test -z "$CC"; then
3393 # Extract the first word of "cc", so it can be a program name with args.
3394 set dummy cc; ac_word=$2
3395 echo "$as_me:$LINENO: checking for $ac_word" >&5
3396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3397 if test "${ac_cv_prog_CC+set}" = set; then
3398 echo $ECHO_N "(cached) $ECHO_C" >&6
3400 if test -n "$CC"; then
3401 ac_cv_prog_CC="$CC" # Let the user override the test.
3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3408 test -z "$as_dir" && as_dir=.
3409 for ac_exec_ext in '' $ac_executable_extensions; do
3410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3411 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3412 ac_prog_rejected=yes
3416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3422 if test $ac_prog_rejected = yes; then
3423 # We found a bogon in the path, so make sure we never use it.
3424 set dummy $ac_cv_prog_CC
3426 if test $# != 0; then
3427 # We chose a different compiler from the bogus one.
3428 # However, it has the same basename, so the bogon will be chosen
3429 # first if we set CC to just the basename; use the full file name.
3431 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3437 if test -n "$CC"; then
3438 echo "$as_me:$LINENO: result: $CC" >&5
3439 echo "${ECHO_T}$CC" >&6
3441 echo "$as_me:$LINENO: result: no" >&5
3442 echo "${ECHO_T}no" >&6
3446 if test -z "$CC"; then
3447 if test -n "$ac_tool_prefix"; then
3450 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3451 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3452 echo "$as_me:$LINENO: checking for $ac_word" >&5
3453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3454 if test "${ac_cv_prog_CC+set}" = set; then
3455 echo $ECHO_N "(cached) $ECHO_C" >&6
3457 if test -n "$CC"; then
3458 ac_cv_prog_CC="$CC" # Let the user override the test.
3460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3464 test -z "$as_dir" && as_dir=.
3465 for ac_exec_ext in '' $ac_executable_extensions; do
3466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3467 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3477 if test -n "$CC"; then
3478 echo "$as_me:$LINENO: result: $CC" >&5
3479 echo "${ECHO_T}$CC" >&6
3481 echo "$as_me:$LINENO: result: no" >&5
3482 echo "${ECHO_T}no" >&6
3485 test -n "$CC" && break
3488 if test -z "$CC"; then
3492 # Extract the first word of "$ac_prog", so it can be a program name with args.
3493 set dummy $ac_prog; ac_word=$2
3494 echo "$as_me:$LINENO: checking for $ac_word" >&5
3495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3496 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3497 echo $ECHO_N "(cached) $ECHO_C" >&6
3499 if test -n "$ac_ct_CC"; then
3500 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3506 test -z "$as_dir" && as_dir=.
3507 for ac_exec_ext in '' $ac_executable_extensions; do
3508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3509 ac_cv_prog_ac_ct_CC="$ac_prog"
3510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3518 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3519 if test -n "$ac_ct_CC"; then
3520 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3521 echo "${ECHO_T}$ac_ct_CC" >&6
3523 echo "$as_me:$LINENO: result: no" >&5
3524 echo "${ECHO_T}no" >&6
3527 test -n "$ac_ct_CC" && break
3536 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3537 See \`config.log' for more details." >&5
3538 echo "$as_me: error: no acceptable C compiler found in \$PATH
3539 See \`config.log' for more details." >&2;}
3540 { (exit 1); exit 1; }; }
3542 # Provide some information about the compiler.
3543 echo "$as_me:$LINENO:" \
3544 "checking for C compiler version" >&5
3545 ac_compiler=`set X $ac_compile; echo $2`
3546 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3547 (eval $ac_compiler --version </dev/null >&5) 2>&5
3549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3550 (exit $ac_status); }
3551 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3552 (eval $ac_compiler -v </dev/null >&5) 2>&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); }
3556 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3557 (eval $ac_compiler -V </dev/null >&5) 2>&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); }
3562 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3563 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3564 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3565 echo $ECHO_N "(cached) $ECHO_C" >&6
3567 cat >conftest.$ac_ext <<_ACEOF
3570 cat confdefs.h >>conftest.$ac_ext
3571 cat >>conftest.$ac_ext <<_ACEOF
3572 /* end confdefs.h. */
3585 rm -f conftest.$ac_objext
3586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3587 (eval $ac_compile) 2>conftest.er1
3589 grep -v '^ *+' conftest.er1 >conftest.err
3591 cat conftest.err >&5
3592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593 (exit $ac_status); } &&
3594 { ac_try='test -z "$ac_c_werror_flag"
3595 || test ! -s conftest.err'
3596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); }; } &&
3601 { ac_try='test -s conftest.$ac_objext'
3602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); }; }; then
3609 echo "$as_me: failed program was:" >&5
3610 sed 's/^/| /' conftest.$ac_ext >&5
3614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3615 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3618 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3619 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3620 GCC=`test $ac_compiler_gnu = yes && echo yes`
3621 ac_test_CFLAGS=${CFLAGS+set}
3622 ac_save_CFLAGS=$CFLAGS
3624 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3625 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3626 if test "${ac_cv_prog_cc_g+set}" = set; then
3627 echo $ECHO_N "(cached) $ECHO_C" >&6
3629 cat >conftest.$ac_ext <<_ACEOF
3632 cat confdefs.h >>conftest.$ac_ext
3633 cat >>conftest.$ac_ext <<_ACEOF
3634 /* end confdefs.h. */
3644 rm -f conftest.$ac_objext
3645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3646 (eval $ac_compile) 2>conftest.er1
3648 grep -v '^ *+' conftest.er1 >conftest.err
3650 cat conftest.err >&5
3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); } &&
3653 { ac_try='test -z "$ac_c_werror_flag"
3654 || test ! -s conftest.err'
3655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); }; } &&
3660 { ac_try='test -s conftest.$ac_objext'
3661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); }; }; then
3668 echo "$as_me: failed program was:" >&5
3669 sed 's/^/| /' conftest.$ac_ext >&5
3673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3675 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3676 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3677 if test "$ac_test_CFLAGS" = set; then
3678 CFLAGS=$ac_save_CFLAGS
3679 elif test $ac_cv_prog_cc_g = yes; then
3680 if test "$GCC" = yes; then
3686 if test "$GCC" = yes; then
3692 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3693 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3694 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3695 echo $ECHO_N "(cached) $ECHO_C" >&6
3697 ac_cv_prog_cc_stdc=no
3699 cat >conftest.$ac_ext <<_ACEOF
3702 cat confdefs.h >>conftest.$ac_ext
3703 cat >>conftest.$ac_ext <<_ACEOF
3704 /* end confdefs.h. */
3707 #include <sys/types.h>
3708 #include <sys/stat.h>
3709 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3710 struct buf { int x; };
3711 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3712 static char *e (p, i)
3718 static char *f (char * (*g) (char **, int), char **p, ...)
3723 s = g (p, va_arg (v,int));
3728 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3729 function prototypes and stuff, but not '\xHH' hex character constants.
3730 These don't provoke an error unfortunately, instead are silently treated
3731 as 'x'. The following induces an error, until -std1 is added to get
3732 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3733 array size at least. It's necessary to write '\x00'==0 to get something
3734 that's true only with -std1. */
3735 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3737 int test (int i, double x);
3738 struct s1 {int (*f) (int a);};
3739 struct s2 {int (*f) (double a);};
3740 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3746 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3751 # Don't try gcc -ansi; that turns off useful extensions and
3752 # breaks some systems' header files.
3753 # AIX -qlanglvl=ansi
3754 # Ultrix and OSF/1 -std1
3755 # HP-UX 10.20 and later -Ae
3756 # HP-UX older versions -Aa -D_HPUX_SOURCE
3757 # SVR4 -Xc -D__EXTENSIONS__
3758 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3760 CC="$ac_save_CC $ac_arg"
3761 rm -f conftest.$ac_objext
3762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3763 (eval $ac_compile) 2>conftest.er1
3765 grep -v '^ *+' conftest.er1 >conftest.err
3767 cat conftest.err >&5
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); } &&
3770 { ac_try='test -z "$ac_c_werror_flag"
3771 || test ! -s conftest.err'
3772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); }; } &&
3777 { ac_try='test -s conftest.$ac_objext'
3778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); }; }; then
3783 ac_cv_prog_cc_stdc=$ac_arg
3786 echo "$as_me: failed program was:" >&5
3787 sed 's/^/| /' conftest.$ac_ext >&5
3790 rm -f conftest.err conftest.$ac_objext
3792 rm -f conftest.$ac_ext conftest.$ac_objext
3797 case "x$ac_cv_prog_cc_stdc" in
3799 echo "$as_me:$LINENO: result: none needed" >&5
3800 echo "${ECHO_T}none needed" >&6 ;;
3802 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3803 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3804 CC="$CC $ac_cv_prog_cc_stdc" ;;
3807 # Some people use a C++ compiler to compile C. Since we use `exit',
3808 # in C++ we need to declare it. In case someone uses the same compiler
3809 # for both compiling C and C++ we need to have the C++ compiler decide
3810 # the declaration of exit, since it's the most demanding environment.
3811 cat >conftest.$ac_ext <<_ACEOF
3816 rm -f conftest.$ac_objext
3817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3818 (eval $ac_compile) 2>conftest.er1
3820 grep -v '^ *+' conftest.er1 >conftest.err
3822 cat conftest.err >&5
3823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824 (exit $ac_status); } &&
3825 { ac_try='test -z "$ac_c_werror_flag"
3826 || test ! -s conftest.err'
3827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); }; } &&
3832 { ac_try='test -s conftest.$ac_objext'
3833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 (exit $ac_status); }; }; then
3838 for ac_declaration in \
3840 'extern "C" void std::exit (int) throw (); using std::exit;' \
3841 'extern "C" void std::exit (int); using std::exit;' \
3842 'extern "C" void exit (int) throw ();' \
3843 'extern "C" void exit (int);' \
3846 cat >conftest.$ac_ext <<_ACEOF
3849 cat confdefs.h >>conftest.$ac_ext
3850 cat >>conftest.$ac_ext <<_ACEOF
3851 /* end confdefs.h. */
3862 rm -f conftest.$ac_objext
3863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3864 (eval $ac_compile) 2>conftest.er1
3866 grep -v '^ *+' conftest.er1 >conftest.err
3868 cat conftest.err >&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); } &&
3871 { ac_try='test -z "$ac_c_werror_flag"
3872 || test ! -s conftest.err'
3873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); }; } &&
3878 { ac_try='test -s conftest.$ac_objext'
3879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); }; }; then
3886 echo "$as_me: failed program was:" >&5
3887 sed 's/^/| /' conftest.$ac_ext >&5
3891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3892 cat >conftest.$ac_ext <<_ACEOF
3895 cat confdefs.h >>conftest.$ac_ext
3896 cat >>conftest.$ac_ext <<_ACEOF
3897 /* end confdefs.h. */
3907 rm -f conftest.$ac_objext
3908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3909 (eval $ac_compile) 2>conftest.er1
3911 grep -v '^ *+' conftest.er1 >conftest.err
3913 cat conftest.err >&5
3914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915 (exit $ac_status); } &&
3916 { ac_try='test -z "$ac_c_werror_flag"
3917 || test ! -s conftest.err'
3918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); }; } &&
3923 { ac_try='test -s conftest.$ac_objext'
3924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); }; }; then
3931 echo "$as_me: failed program was:" >&5
3932 sed 's/^/| /' conftest.$ac_ext >&5
3935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3938 if test -n "$ac_declaration"; then
3939 echo '#ifdef __cplusplus' >>confdefs.h
3940 echo $ac_declaration >>confdefs.h
3941 echo '#endif' >>confdefs.h
3945 echo "$as_me: failed program was:" >&5
3946 sed 's/^/| /' conftest.$ac_ext >&5
3949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3951 ac_cpp='$CPP $CPPFLAGS'
3952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3957 cat >>confdefs.h <<\_ACEOF
3958 #define _GNU_SOURCE 1
3964 macro_version='2.1a'
3965 macro_revision='1.2435'
3978 ltmain="$ac_aux_dir/ltmain.sh"
3988 # Check whether --enable-shared or --disable-shared was given.
3989 if test "${enable_shared+set}" = set; then
3990 enableval="$enable_shared"
3991 p=${PACKAGE-default}
3993 yes) enable_shared=yes ;;
3994 no) enable_shared=no ;;
3997 # Look at the argument we got. We use all the common list separators.
3998 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3999 for pkg in $enableval; do
4001 if test "X$pkg" = "X$p"; then
4019 # Check whether --enable-static or --disable-static was given.
4020 if test "${enable_static+set}" = set; then
4021 enableval="$enable_static"
4022 p=${PACKAGE-default}
4024 yes) enable_static=yes ;;
4025 no) enable_static=no ;;
4028 # Look at the argument we got. We use all the common list separators.
4029 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4030 for pkg in $enableval; do
4032 if test "X$pkg" = "X$p"; then
4051 # Check whether --with-pic or --without-pic was given.
4052 if test "${with_pic+set}" = set; then
4059 test -z "$pic_mode" && pic_mode=default
4067 # Check whether --enable-fast-install or --disable-fast-install was given.
4068 if test "${enable_fast_install+set}" = set; then
4069 enableval="$enable_fast_install"
4070 p=${PACKAGE-default}
4072 yes) enable_fast_install=yes ;;
4073 no) enable_fast_install=no ;;
4075 enable_fast_install=no
4076 # Look at the argument we got. We use all the common list separators.
4077 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4078 for pkg in $enableval; do
4080 if test "X$pkg" = "X$p"; then
4081 enable_fast_install=yes
4088 enable_fast_install=yes
4098 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4099 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4100 if test "${lt_cv_path_SED+set}" = set; then
4101 echo $ECHO_N "(cached) $ECHO_C" >&6
4103 # Loop through the user's path and test for sed and gsed.
4104 # Then use that list of sed's as ones to test for truncation.
4105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4109 test -z "$as_dir" && as_dir=.
4110 for lt_ac_prog in sed gsed; do
4111 for ac_exec_ext in '' $ac_executable_extensions; do
4112 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4113 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4121 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4122 # along with /bin/sed that truncates output.
4123 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4124 test ! -f $lt_ac_sed && continue
4125 cat /dev/null > conftest.in
4127 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4128 # Check for GNU sed and select it if it is found.
4129 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4130 lt_cv_path_SED=$lt_ac_sed
4134 cat conftest.in conftest.in >conftest.tmp
4135 mv conftest.tmp conftest.in
4136 cp conftest.in conftest.nl
4138 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4139 cmp -s conftest.out conftest.nl || break
4140 # 10000 chars as input seems more than enough
4141 test $lt_ac_count -gt 10 && break
4142 lt_ac_count=`expr $lt_ac_count + 1`
4143 if test $lt_ac_count -gt $lt_ac_max; then
4144 lt_ac_max=$lt_ac_count
4145 lt_cv_path_SED=$lt_ac_sed
4154 echo "$as_me:$LINENO: result: $SED" >&5
4155 echo "${ECHO_T}$SED" >&6
4157 test -z "$SED" && SED=sed
4158 Xsed="$SED -e 1s/^X//"
4170 echo "$as_me:$LINENO: checking for egrep" >&5
4171 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4172 if test "${ac_cv_prog_egrep+set}" = set; then
4173 echo $ECHO_N "(cached) $ECHO_C" >&6
4175 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4176 then ac_cv_prog_egrep='grep -E'
4177 else ac_cv_prog_egrep='egrep'
4180 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4181 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4182 EGREP=$ac_cv_prog_egrep
4185 echo "$as_me:$LINENO: checking for fgrep" >&5
4186 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4187 if test "${ac_cv_prog_fgrep+set}" = set; then
4188 echo $ECHO_N "(cached) $ECHO_C" >&6
4190 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4191 then ac_cv_prog_fgrep='grep -F'
4192 else ac_cv_prog_fgrep='fgrep'
4195 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4196 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4197 FGREP=$ac_cv_prog_fgrep
4200 test -z "$GREP" && GREP=grep
4220 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4221 if test "${with_gnu_ld+set}" = set; then
4222 withval="$with_gnu_ld"
4223 test "$withval" = no || with_gnu_ld=yes
4228 if test "$GCC" = yes; then
4229 # Check if gcc -print-prog-name=ld gives a path.
4230 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4231 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4234 # gcc leaves a trailing carriage return which upsets mingw
4235 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4237 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4240 # Accept absolute paths.
4242 re_direlt='/[^/][^/]*/\.\./'
4243 # Canonicalize the pathname of ld
4244 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4245 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4246 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4248 test -z "$LD" && LD="$ac_prog"
4251 # If it fails, then pretend we aren't using GCC.
4255 # If it is relative, then search for the first ld in PATH.
4259 elif test "$with_gnu_ld" = yes; then
4260 echo "$as_me:$LINENO: checking for GNU ld" >&5
4261 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4263 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4264 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4266 if test "${lt_cv_path_LD+set}" = set; then
4267 echo $ECHO_N "(cached) $ECHO_C" >&6
4269 if test -z "$LD"; then
4270 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4271 for ac_dir in $PATH; do
4273 test -z "$ac_dir" && ac_dir=.
4274 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4275 lt_cv_path_LD="$ac_dir/$ac_prog"
4276 # Check to see if the program is GNU ld. I'd rather use --version,
4277 # but apparently some variants of GNU ld only accept -v.
4278 # Break only if it was the GNU/non-GNU ld that we prefer.
4279 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4280 *GNU* | *'with BFD'*)
4281 test "$with_gnu_ld" != no && break
4284 test "$with_gnu_ld" != yes && break
4291 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4296 if test -n "$LD"; then
4297 echo "$as_me:$LINENO: result: $LD" >&5
4298 echo "${ECHO_T}$LD" >&6
4300 echo "$as_me:$LINENO: result: no" >&5
4301 echo "${ECHO_T}no" >&6
4303 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4304 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4305 { (exit 1); exit 1; }; }
4306 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4307 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4308 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4309 echo $ECHO_N "(cached) $ECHO_C" >&6
4311 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4312 case `$LD -v 2>&1 </dev/null` in
4313 *GNU* | *'with BFD'*)
4314 lt_cv_prog_gnu_ld=yes
4317 lt_cv_prog_gnu_ld=no
4321 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4322 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4323 with_gnu_ld=$lt_cv_prog_gnu_ld
4334 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4335 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4336 if test "${lt_cv_path_NM+set}" = set; then
4337 echo $ECHO_N "(cached) $ECHO_C" >&6
4339 if test -n "$NM"; then
4340 # Let the user override the test.
4343 lt_nm_to_check="${ac_tool_prefix}nm"
4344 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4345 lt_nm_to_check="$lt_nm_to_check nm"
4347 for lt_tmp_nm in $lt_nm_to_check; do
4348 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4349 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4351 test -z "$ac_dir" && ac_dir=.
4352 tmp_nm="$ac_dir/$lt_tmp_nm"
4353 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4354 # Check to see if the nm accepts a BSD-compat flag.
4355 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4356 # nm: unknown option "B" ignored
4357 # Tru64's nm complains that /dev/null is an invalid object file
4358 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4359 */dev/null* | *'Invalid file or object type'*)
4360 lt_cv_path_NM="$tmp_nm -B"
4364 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4366 lt_cv_path_NM="$tmp_nm -p"
4370 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4371 continue # so that we can try to find one that supports BSD flags
4380 : ${lt_cv_path_NM=no}
4383 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4384 echo "${ECHO_T}$lt_cv_path_NM" >&6
4385 if test "$lt_cv_path_NM" != "no"; then
4388 # Didn't find any BSD compatible name lister, look for dumpbin.
4389 if test -n "$ac_tool_prefix"; then
4390 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4392 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4393 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4394 echo "$as_me:$LINENO: checking for $ac_word" >&5
4395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4396 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4397 echo $ECHO_N "(cached) $ECHO_C" >&6
4399 if test -n "$DUMPBIN"; then
4400 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406 test -z "$as_dir" && as_dir=.
4407 for ac_exec_ext in '' $ac_executable_extensions; do
4408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4409 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4418 DUMPBIN=$ac_cv_prog_DUMPBIN
4419 if test -n "$DUMPBIN"; then
4420 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4421 echo "${ECHO_T}$DUMPBIN" >&6
4423 echo "$as_me:$LINENO: result: no" >&5
4424 echo "${ECHO_T}no" >&6
4427 test -n "$DUMPBIN" && break
4430 if test -z "$DUMPBIN"; then
4431 ac_ct_DUMPBIN=$DUMPBIN
4432 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4434 # Extract the first word of "$ac_prog", so it can be a program name with args.
4435 set dummy $ac_prog; ac_word=$2
4436 echo "$as_me:$LINENO: checking for $ac_word" >&5
4437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4438 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4439 echo $ECHO_N "(cached) $ECHO_C" >&6
4441 if test -n "$ac_ct_DUMPBIN"; then
4442 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448 test -z "$as_dir" && as_dir=.
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4451 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4460 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4461 if test -n "$ac_ct_DUMPBIN"; then
4462 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4463 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4465 echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6
4469 test -n "$ac_ct_DUMPBIN" && break
4471 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4473 DUMPBIN=$ac_ct_DUMPBIN
4477 if test "$DUMPBIN" != ":"; then
4481 test -z "$NM" && NM=nm
4488 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4489 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4490 if test "${lt_cv_nm_interface+set}" = set; then
4491 echo $ECHO_N "(cached) $ECHO_C" >&6
4493 lt_cv_nm_interface="BSD nm"
4494 echo "int some_variable = 0;" > conftest.$ac_ext
4495 (eval echo "\"\$as_me:4495: $ac_compile\"" >&5)
4496 (eval "$ac_compile" 2>conftest.err)
4497 cat conftest.err >&5
4498 (eval echo "\"\$as_me:4498: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4499 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4500 cat conftest.err >&5
4501 (eval echo "\"\$as_me:4501: output\"" >&5)
4502 cat conftest.out >&5
4503 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4504 lt_cv_nm_interface="MS dumpbin"
4508 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4509 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4511 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4512 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4514 if test "$LN_S" = "ln -s"; then
4515 echo "$as_me:$LINENO: result: yes" >&5
4516 echo "${ECHO_T}yes" >&6
4518 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4519 echo "${ECHO_T}no, using $LN_S" >&6
4522 # find the maximum length of command line arguments
4523 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4524 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4525 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4526 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 # On DJGPP, this test can blow up pretty badly due to problems in libc
4534 # (any single argument exceeding 2000 bytes causes a buffer overrun
4535 # during glob expansion). Even if it were fixed, the result of this
4536 # check would be larger than it should be.
4537 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4541 # Under GNU Hurd, this test is not required because there is
4542 # no limit to the length of command line arguments.
4543 # Libtool will interpret -1 as no limit whatsoever
4544 lt_cv_sys_max_cmd_len=-1;
4548 # On Win9x/ME, this test blows up -- it succeeds, but takes
4549 # about 5 minutes as the teststring grows exponentially.
4550 # Worse, since 9x/ME are not pre-emptively multitasking,
4551 # you end up with a "frozen" computer, even though with patience
4552 # the test eventually succeeds (with a max line length of 256k).
4553 # Instead, let's just punt: use the minimum linelength reported by
4554 # all of the supported platforms: 8192 (on NT/2K/XP).
4555 lt_cv_sys_max_cmd_len=8192;
4559 # On AmigaOS with pdksh, this test takes hours, literally.
4560 # So we just punt and use a minimum line length of 8192.
4561 lt_cv_sys_max_cmd_len=8192;
4564 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4565 # This has been around since 386BSD, at least. Likely further.
4566 if test -x /sbin/sysctl; then
4567 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4568 elif test -x /usr/sbin/sysctl; then
4569 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4571 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4573 # And add a safety zone
4574 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4575 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4579 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4580 lt_cv_sys_max_cmd_len=196608
4584 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4585 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4586 # nice to cause kernel panics so lets avoid the loop below.
4587 # First set a reasonable default.
4588 lt_cv_sys_max_cmd_len=16384
4590 if test -x /sbin/sysconfig; then
4591 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4592 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4597 lt_cv_sys_max_cmd_len=102400
4599 sysv5* | sco5v6* | sysv4.2uw2*)
4600 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4601 if test -n "$kargmax"; then
4602 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4604 lt_cv_sys_max_cmd_len=32768
4608 # Make teststring a little bigger before we do anything with it.
4609 # a 1K string should be a reasonable start.
4610 for i in 1 2 3 4 5 6 7 8 ; do
4611 teststring=$teststring$teststring
4613 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4614 # If test is not a shell built-in, we'll probably end up computing a
4615 # maximum length that is only half of the actual maximum length, but
4617 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4618 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4619 test $i != 17 # 1/2 MB should be enough
4622 teststring=$teststring$teststring
4624 # Only check the string length outside the loop.
4625 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4627 # Add a significant safety factor because C++ compilers can tack on massive
4628 # amounts of additional arguments before passing them to the linker.
4629 # It appears as though 1/2 is a usable value.
4630 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4636 if test -n $lt_cv_sys_max_cmd_len ; then
4637 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4638 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4640 echo "$as_me:$LINENO: result: none" >&5
4641 echo "${ECHO_T}none" >&6
4643 max_cmd_len=$lt_cv_sys_max_cmd_len
4655 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4656 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4657 # Try some XSI features
4660 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4661 = c,a/b,, ) >/dev/null 2>&1 \
4663 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4664 echo "${ECHO_T}$xsi_shell" >&6
4667 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4668 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4670 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4672 && lt_shell_append=yes
4673 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4674 echo "${ECHO_T}$lt_shell_append" >&6
4677 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4687 # test EBCDIC or ASCII
4688 case `echo X|tr X '\101'` in
4689 A) # ASCII based system
4690 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4691 lt_SP2NL='tr \040 \012'
4692 lt_NL2SP='tr \015\012 \040\040'
4694 *) # EBCDIC based system
4695 lt_SP2NL='tr \100 \n'
4696 lt_NL2SP='tr \r\n \100\100'
4708 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4709 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4710 if test "${lt_cv_ld_reload_flag+set}" = set; then
4711 echo $ECHO_N "(cached) $ECHO_C" >&6
4713 lt_cv_ld_reload_flag='-r'
4715 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4716 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4717 reload_flag=$lt_cv_ld_reload_flag
4718 case $reload_flag in
4720 *) reload_flag=" $reload_flag" ;;
4722 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4725 if test "$GCC" = yes; then
4726 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4728 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4742 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4743 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4744 if test "${lt_cv_deplibs_check_method+set}" = set; then
4745 echo $ECHO_N "(cached) $ECHO_C" >&6
4747 lt_cv_file_magic_cmd='$MAGIC_CMD'
4748 lt_cv_file_magic_test_file=
4749 lt_cv_deplibs_check_method='unknown'
4750 # Need to set the preceding variable on all platforms that support
4751 # interlibrary dependencies.
4752 # 'none' -- dependencies not supported.
4753 # `unknown' -- same as none, but documents that we really don't know.
4754 # 'pass_all' -- all dependencies passed with no checks.
4755 # 'test_compile' -- check by making test program.
4756 # 'file_magic [[regex]]' -- check by looking for files in library path
4757 # which responds to the $file_magic_cmd with a given extended regex.
4758 # If you have `file' or equivalent on your system and you're not sure
4759 # whether `pass_all' will *always* work, you probably want this one.
4763 lt_cv_deplibs_check_method=pass_all
4767 lt_cv_deplibs_check_method=pass_all
4771 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4772 lt_cv_file_magic_cmd='/usr/bin/file -L'
4773 lt_cv_file_magic_test_file=/shlib/libc.so
4777 # func_win32_libid is a shell function defined in ltmain.sh
4778 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4779 lt_cv_file_magic_cmd='func_win32_libid'
4783 # Base MSYS/MinGW do not provide the 'file' command needed by
4784 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4785 # unless we find 'file', for example because we are cross-compiling.
4786 if ( file / ) >/dev/null 2>&1; then
4787 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4788 lt_cv_file_magic_cmd='func_win32_libid'
4790 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4791 lt_cv_file_magic_cmd='$OBJDUMP -f'
4795 darwin* | rhapsody*)
4796 lt_cv_deplibs_check_method=pass_all
4799 freebsd* | dragonfly*)
4800 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4803 # Not sure whether the presence of OpenBSD here was a mistake.
4804 # Let's accept both of them until this is cleared up.
4805 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4806 lt_cv_file_magic_cmd=/usr/bin/file
4807 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4811 lt_cv_deplibs_check_method=pass_all
4816 lt_cv_deplibs_check_method=pass_all
4819 hpux10.20* | hpux11*)
4820 lt_cv_file_magic_cmd=/usr/bin/file
4823 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4824 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4827 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]'
4828 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4831 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4832 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4838 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4839 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4842 irix5* | irix6* | nonstopux*)
4844 *-32|*"-32 ") libmagic=32-bit;;
4845 *-n32|*"-n32 ") libmagic=N32;;
4846 *-64|*"-64 ") libmagic=64-bit;;
4847 *) libmagic=never-match;;
4849 lt_cv_deplibs_check_method=pass_all
4852 # This must be Linux ELF.
4853 linux* | k*bsd*-gnu)
4854 lt_cv_deplibs_check_method=pass_all
4858 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4859 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4861 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4866 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4867 lt_cv_file_magic_cmd=/usr/bin/file
4868 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4872 lt_cv_deplibs_check_method=pass_all
4876 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4877 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4879 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4883 osf3* | osf4* | osf5*)
4884 lt_cv_deplibs_check_method=pass_all
4888 lt_cv_deplibs_check_method=pass_all
4892 lt_cv_deplibs_check_method=pass_all
4895 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4896 lt_cv_deplibs_check_method=pass_all
4900 case $host_vendor in
4902 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]'
4903 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4906 lt_cv_deplibs_check_method=pass_all
4909 lt_cv_file_magic_cmd='/bin/file'
4910 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4913 lt_cv_file_magic_cmd='/bin/file'
4914 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4915 lt_cv_file_magic_test_file=/lib/libc.so
4918 lt_cv_deplibs_check_method=pass_all
4921 lt_cv_deplibs_check_method=pass_all
4927 lt_cv_deplibs_check_method=pass_all
4932 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4933 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4934 file_magic_cmd=$lt_cv_file_magic_cmd
4935 deplibs_check_method=$lt_cv_deplibs_check_method
4936 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4949 if test -n "$ac_tool_prefix"; then
4950 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4951 set dummy ${ac_tool_prefix}ar; ac_word=$2
4952 echo "$as_me:$LINENO: checking for $ac_word" >&5
4953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4954 if test "${ac_cv_prog_AR+set}" = set; then
4955 echo $ECHO_N "(cached) $ECHO_C" >&6
4957 if test -n "$AR"; then
4958 ac_cv_prog_AR="$AR" # Let the user override the test.
4960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4964 test -z "$as_dir" && as_dir=.
4965 for ac_exec_ext in '' $ac_executable_extensions; do
4966 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4967 ac_cv_prog_AR="${ac_tool_prefix}ar"
4968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4977 if test -n "$AR"; then
4978 echo "$as_me:$LINENO: result: $AR" >&5
4979 echo "${ECHO_T}$AR" >&6
4981 echo "$as_me:$LINENO: result: no" >&5
4982 echo "${ECHO_T}no" >&6
4986 if test -z "$ac_cv_prog_AR"; then
4988 # Extract the first word of "ar", so it can be a program name with args.
4989 set dummy ar; ac_word=$2
4990 echo "$as_me:$LINENO: checking for $ac_word" >&5
4991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4992 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4993 echo $ECHO_N "(cached) $ECHO_C" >&6
4995 if test -n "$ac_ct_AR"; then
4996 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5002 test -z "$as_dir" && as_dir=.
5003 for ac_exec_ext in '' $ac_executable_extensions; do
5004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5005 ac_cv_prog_ac_ct_AR="ar"
5006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5015 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5016 if test -n "$ac_ct_AR"; then
5017 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5018 echo "${ECHO_T}$ac_ct_AR" >&6
5020 echo "$as_me:$LINENO: result: no" >&5
5021 echo "${ECHO_T}no" >&6
5029 test -z "$AR" && AR=ar
5030 test -z "$AR_FLAGS" && AR_FLAGS=cru
5042 if test -n "$ac_tool_prefix"; then
5043 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5044 set dummy ${ac_tool_prefix}strip; ac_word=$2
5045 echo "$as_me:$LINENO: checking for $ac_word" >&5
5046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5047 if test "${ac_cv_prog_STRIP+set}" = set; then
5048 echo $ECHO_N "(cached) $ECHO_C" >&6
5050 if test -n "$STRIP"; then
5051 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057 test -z "$as_dir" && as_dir=.
5058 for ac_exec_ext in '' $ac_executable_extensions; do
5059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5060 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 STRIP=$ac_cv_prog_STRIP
5070 if test -n "$STRIP"; then
5071 echo "$as_me:$LINENO: result: $STRIP" >&5
5072 echo "${ECHO_T}$STRIP" >&6
5074 echo "$as_me:$LINENO: result: no" >&5
5075 echo "${ECHO_T}no" >&6
5079 if test -z "$ac_cv_prog_STRIP"; then
5081 # Extract the first word of "strip", so it can be a program name with args.
5082 set dummy strip; ac_word=$2
5083 echo "$as_me:$LINENO: checking for $ac_word" >&5
5084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5085 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5086 echo $ECHO_N "(cached) $ECHO_C" >&6
5088 if test -n "$ac_ct_STRIP"; then
5089 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5095 test -z "$as_dir" && as_dir=.
5096 for ac_exec_ext in '' $ac_executable_extensions; do
5097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5098 ac_cv_prog_ac_ct_STRIP="strip"
5099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5105 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5108 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5109 if test -n "$ac_ct_STRIP"; then
5110 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5111 echo "${ECHO_T}$ac_ct_STRIP" >&6
5113 echo "$as_me:$LINENO: result: no" >&5
5114 echo "${ECHO_T}no" >&6
5119 STRIP="$ac_cv_prog_STRIP"
5122 test -z "$STRIP" && STRIP=:
5129 if test -n "$ac_tool_prefix"; then
5130 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5131 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5132 echo "$as_me:$LINENO: checking for $ac_word" >&5
5133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5134 if test "${ac_cv_prog_RANLIB+set}" = set; then
5135 echo $ECHO_N "(cached) $ECHO_C" >&6
5137 if test -n "$RANLIB"; then
5138 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5144 test -z "$as_dir" && as_dir=.
5145 for ac_exec_ext in '' $ac_executable_extensions; do
5146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5147 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5156 RANLIB=$ac_cv_prog_RANLIB
5157 if test -n "$RANLIB"; then
5158 echo "$as_me:$LINENO: result: $RANLIB" >&5
5159 echo "${ECHO_T}$RANLIB" >&6
5161 echo "$as_me:$LINENO: result: no" >&5
5162 echo "${ECHO_T}no" >&6
5166 if test -z "$ac_cv_prog_RANLIB"; then
5167 ac_ct_RANLIB=$RANLIB
5168 # Extract the first word of "ranlib", so it can be a program name with args.
5169 set dummy ranlib; ac_word=$2
5170 echo "$as_me:$LINENO: checking for $ac_word" >&5
5171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5172 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5173 echo $ECHO_N "(cached) $ECHO_C" >&6
5175 if test -n "$ac_ct_RANLIB"; then
5176 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5182 test -z "$as_dir" && as_dir=.
5183 for ac_exec_ext in '' $ac_executable_extensions; do
5184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5185 ac_cv_prog_ac_ct_RANLIB="ranlib"
5186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5195 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5196 if test -n "$ac_ct_RANLIB"; then
5197 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5198 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5200 echo "$as_me:$LINENO: result: no" >&5
5201 echo "${ECHO_T}no" >&6
5204 RANLIB=$ac_ct_RANLIB
5206 RANLIB="$ac_cv_prog_RANLIB"
5209 test -z "$RANLIB" && RANLIB=:
5216 # Determine commands to create old-style static archives.
5217 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5218 old_postinstall_cmds='chmod 644 $oldlib'
5219 old_postuninstall_cmds=
5221 if test -n "$RANLIB"; then
5224 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5227 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5230 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5266 # If no C compiler was specified, use CC.
5269 # If no C compiler flags were specified, use CFLAGS.
5270 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5272 # Allow CC to be a program name with arguments.
5276 # Check for command to grab the raw symbol name followed by C symbol from nm.
5277 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5278 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5279 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5280 echo $ECHO_N "(cached) $ECHO_C" >&6
5283 # These are sane defaults that work on at least a few old systems.
5284 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5286 # Character class describing NM global symbol codes.
5287 symcode='[BCDEGRST]'
5289 # Regexp to match symbols that can be accessed directly from C.
5290 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5292 # Define system-specific variables.
5297 cygwin* | mingw* | pw32*)
5298 symcode='[ABCDGISTW]'
5301 if test "$host_cpu" = ia64; then
5302 symcode='[ABCDEGRST]'
5306 symcode='[BCDEGRST]'
5309 symcode='[BCDEGQRST]'
5320 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5328 # If we're using GNU nm, then use its standard symbol codes.
5329 case `$NM -V 2>&1` in
5330 *GNU* | *'with BFD'*)
5331 symcode='[ABCDGIRSTW]' ;;
5334 # Transform an extracted symbol line into a proper C declaration.
5335 # Some systems (esp. on ia64) link data and code symbols differently,
5336 # so use this general approach.
5337 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5339 # Transform an extracted symbol line into symbol name and symbol address
5340 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5342 # Handle CRLF in mingw tool chain
5346 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5350 # Try without a prefix underscore, then with it.
5351 for ac_symprfx in "" "_"; do
5353 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5354 symxfrm="\\1 $ac_symprfx\\2 \\2"
5356 # Write the raw and C identifiers.
5357 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5358 # Fake it for dumpbin and say T for any non-static function
5359 # and D for any global variable.
5360 # Also find C++ and __fastcall symbols from MSVC++,
5361 # which start with @ or ?.
5362 lt_cv_sys_global_symbol_pipe="$AWK '"\
5363 " {last_section=section; section=\$ 3};"\
5364 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5365 " \$ 0!~/External *\|/{next};"\
5366 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5367 " {if(hide[section]) next};"\
5368 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5369 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5370 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5371 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5372 " ' prfx=^$ac_symprfx"
5374 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5377 # Check to see that the pipe works correctly.
5381 cat > conftest.$ac_ext <<_LT_EOF
5386 void nm_test_func(void);
5387 void nm_test_func(void){}
5391 int main(){nm_test_var='a';nm_test_func();return(0);}
5394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5395 (eval $ac_compile) 2>&5
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); }; then
5399 # Now try to grab the symbols.
5401 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5402 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5405 (exit $ac_status); } && test -s "$nlist"; then
5406 # Try sorting and uniquifying the output.
5407 if sort "$nlist" | uniq > "$nlist"T; then
5408 mv -f "$nlist"T "$nlist"
5413 # Make sure that we snagged all the symbols we need.
5414 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5415 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5416 cat <<_LT_EOF > conftest.$ac_ext
5422 # Now generate the symbol file.
5423 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5425 cat <<_LT_EOF >> conftest.$ac_ext
5427 /* The mapping between symbol names and symbols. */
5432 lt__PROGRAM__LTX_preloaded_symbols[] =
5434 { "@PROGRAM@", (void *) 0 },
5436 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5437 cat <<\_LT_EOF >> conftest.$ac_ext
5441 /* This works around a problem in FreeBSD linker */
5442 #ifdef FREEBSD_WORKAROUND
5443 static const void *lt_preloaded_setup() {
5444 return lt__PROGRAM__LTX_preloaded_symbols;
5452 # Now try linking the two files.
5453 mv conftest.$ac_objext conftstm.$ac_objext
5454 lt_save_LIBS="$LIBS"
5455 lt_save_CFLAGS="$CFLAGS"
5456 LIBS="conftstm.$ac_objext"
5457 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5459 (eval $ac_link) 2>&5
5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5462 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5465 LIBS="$lt_save_LIBS"
5466 CFLAGS="$lt_save_CFLAGS"
5468 echo "cannot find nm_test_func in $nlist" >&5
5471 echo "cannot find nm_test_var in $nlist" >&5
5474 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5477 echo "$progname: failed program was:" >&5
5478 cat conftest.$ac_ext >&5
5480 rm -f conftest* conftst*
5482 # Do not use the global_symbol_pipe unless it works.
5483 if test "$pipe_works" = yes; then
5486 lt_cv_sys_global_symbol_pipe=
5492 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5493 lt_cv_sys_global_symbol_to_cdecl=
5495 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5496 echo "$as_me:$LINENO: result: failed" >&5
5497 echo "${ECHO_T}failed" >&6
5499 echo "$as_me:$LINENO: result: ok" >&5
5500 echo "${ECHO_T}ok" >&6
5519 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5520 if test "${enable_libtool_lock+set}" = set; then
5521 enableval="$enable_libtool_lock"
5524 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5526 # Some flags need to be propagated to the compiler or linker for good
5530 # Find out which ABI we are using.
5531 echo 'int i;' > conftest.$ac_ext
5532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5533 (eval $ac_compile) 2>&5
5535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536 (exit $ac_status); }; then
5537 case `/usr/bin/file conftest.$ac_objext` in
5549 # Find out which ABI we are using.
5550 echo '#line 5550 "configure"' > conftest.$ac_ext
5551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5552 (eval $ac_compile) 2>&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); }; then
5556 if test "$lt_cv_prog_gnu_ld" = yes; then
5557 case `/usr/bin/file conftest.$ac_objext` in
5559 LD="${LD-ld} -melf32bsmip"
5562 LD="${LD-ld} -melf32bmipn32"
5565 LD="${LD-ld} -melf64bmip"
5569 case `/usr/bin/file conftest.$ac_objext` in
5585 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5586 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5587 # Find out which ABI we are using.
5588 echo 'int i;' > conftest.$ac_ext
5589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5590 (eval $ac_compile) 2>&5
5592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5593 (exit $ac_status); }; then
5594 case `/usr/bin/file conftest.o` in
5597 x86_64-*kfreebsd*-gnu)
5598 LD="${LD-ld} -m elf_i386_fbsd"
5601 LD="${LD-ld} -m elf_i386"
5603 ppc64-*linux*|powerpc64-*linux*)
5604 LD="${LD-ld} -m elf32ppclinux"
5607 LD="${LD-ld} -m elf_s390"
5610 LD="${LD-ld} -m elf32_sparc"
5616 x86_64-*kfreebsd*-gnu)
5617 LD="${LD-ld} -m elf_x86_64_fbsd"
5620 LD="${LD-ld} -m elf_x86_64"
5622 ppc*-*linux*|powerpc*-*linux*)
5623 LD="${LD-ld} -m elf64ppc"
5625 s390*-*linux*|s390*-*tpf*)
5626 LD="${LD-ld} -m elf64_s390"
5629 LD="${LD-ld} -m elf64_sparc"
5639 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5640 SAVE_CFLAGS="$CFLAGS"
5641 CFLAGS="$CFLAGS -belf"
5642 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5643 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5644 if test "${lt_cv_cc_needs_belf+set}" = set; then
5645 echo $ECHO_N "(cached) $ECHO_C" >&6
5648 ac_cpp='$CPP $CPPFLAGS'
5649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5653 cat >conftest.$ac_ext <<_ACEOF
5656 cat confdefs.h >>conftest.$ac_ext
5657 cat >>conftest.$ac_ext <<_ACEOF
5658 /* end confdefs.h. */
5668 rm -f conftest.$ac_objext conftest$ac_exeext
5669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5670 (eval $ac_link) 2>conftest.er1
5672 grep -v '^ *+' conftest.er1 >conftest.err
5674 cat conftest.err >&5
5675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5676 (exit $ac_status); } &&
5677 { ac_try='test -z "$ac_c_werror_flag"
5678 || test ! -s conftest.err'
5679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); }; } &&
5684 { ac_try='test -s conftest$ac_exeext'
5685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); }; }; then
5690 lt_cv_cc_needs_belf=yes
5692 echo "$as_me: failed program was:" >&5
5693 sed 's/^/| /' conftest.$ac_ext >&5
5695 lt_cv_cc_needs_belf=no
5697 rm -f conftest.err conftest.$ac_objext \
5698 conftest$ac_exeext conftest.$ac_ext
5700 ac_cpp='$CPP $CPPFLAGS'
5701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5706 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5707 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5708 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5709 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5710 CFLAGS="$SAVE_CFLAGS"
5714 # Find out which ABI we are using.
5715 echo 'int i;' > conftest.$ac_ext
5716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5717 (eval $ac_compile) 2>&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); }; then
5721 case `/usr/bin/file conftest.o` in
5723 case $lt_cv_prog_gnu_ld in
5724 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5725 *) LD="${LD-ld} -64" ;;
5734 need_locks="$enable_libtool_lock"
5737 ac_cpp='$CPP $CPPFLAGS'
5738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5741 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5742 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5743 # On Suns, sometimes $CPP names a directory.
5744 if test -n "$CPP" && test -d "$CPP"; then
5747 if test -z "$CPP"; then
5748 if test "${ac_cv_prog_CPP+set}" = set; then
5749 echo $ECHO_N "(cached) $ECHO_C" >&6
5751 # Double quotes because CPP needs to be expanded
5752 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5755 for ac_c_preproc_warn_flag in '' yes
5757 # Use a header file that comes with gcc, so configuring glibc
5758 # with a fresh cross-compiler works.
5759 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5760 # <limits.h> exists even on freestanding compilers.
5761 # On the NeXT, cc -E runs the code through the compiler's parser,
5762 # not just through cpp. "Syntax error" is here to catch this case.
5763 cat >conftest.$ac_ext <<_ACEOF
5766 cat confdefs.h >>conftest.$ac_ext
5767 cat >>conftest.$ac_ext <<_ACEOF
5768 /* end confdefs.h. */
5770 # include <limits.h>
5772 # include <assert.h>
5776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5777 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5779 grep -v '^ *+' conftest.er1 >conftest.err
5781 cat conftest.err >&5
5782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5783 (exit $ac_status); } >/dev/null; then
5784 if test -s conftest.err; then
5785 ac_cpp_err=$ac_c_preproc_warn_flag
5786 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5793 if test -z "$ac_cpp_err"; then
5796 echo "$as_me: failed program was:" >&5
5797 sed 's/^/| /' conftest.$ac_ext >&5
5799 # Broken: fails on valid input.
5802 rm -f conftest.err conftest.$ac_ext
5804 # OK, works on sane cases. Now check whether non-existent headers
5805 # can be detected and how.
5806 cat >conftest.$ac_ext <<_ACEOF
5809 cat confdefs.h >>conftest.$ac_ext
5810 cat >>conftest.$ac_ext <<_ACEOF
5811 /* end confdefs.h. */
5812 #include <ac_nonexistent.h>
5814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5815 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5817 grep -v '^ *+' conftest.er1 >conftest.err
5819 cat conftest.err >&5
5820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5821 (exit $ac_status); } >/dev/null; then
5822 if test -s conftest.err; then
5823 ac_cpp_err=$ac_c_preproc_warn_flag
5824 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5831 if test -z "$ac_cpp_err"; then
5832 # Broken: success on invalid input.
5835 echo "$as_me: failed program was:" >&5
5836 sed 's/^/| /' conftest.$ac_ext >&5
5838 # Passes both tests.
5842 rm -f conftest.err conftest.$ac_ext
5845 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5846 rm -f conftest.err conftest.$ac_ext
5847 if $ac_preproc_ok; then
5859 echo "$as_me:$LINENO: result: $CPP" >&5
5860 echo "${ECHO_T}$CPP" >&6
5862 for ac_c_preproc_warn_flag in '' yes
5864 # Use a header file that comes with gcc, so configuring glibc
5865 # with a fresh cross-compiler works.
5866 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5867 # <limits.h> exists even on freestanding compilers.
5868 # On the NeXT, cc -E runs the code through the compiler's parser,
5869 # not just through cpp. "Syntax error" is here to catch this case.
5870 cat >conftest.$ac_ext <<_ACEOF
5873 cat confdefs.h >>conftest.$ac_ext
5874 cat >>conftest.$ac_ext <<_ACEOF
5875 /* end confdefs.h. */
5877 # include <limits.h>
5879 # include <assert.h>
5883 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5884 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5886 grep -v '^ *+' conftest.er1 >conftest.err
5888 cat conftest.err >&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); } >/dev/null; then
5891 if test -s conftest.err; then
5892 ac_cpp_err=$ac_c_preproc_warn_flag
5893 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5900 if test -z "$ac_cpp_err"; then
5903 echo "$as_me: failed program was:" >&5
5904 sed 's/^/| /' conftest.$ac_ext >&5
5906 # Broken: fails on valid input.
5909 rm -f conftest.err conftest.$ac_ext
5911 # OK, works on sane cases. Now check whether non-existent headers
5912 # can be detected and how.
5913 cat >conftest.$ac_ext <<_ACEOF
5916 cat confdefs.h >>conftest.$ac_ext
5917 cat >>conftest.$ac_ext <<_ACEOF
5918 /* end confdefs.h. */
5919 #include <ac_nonexistent.h>
5921 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5922 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5924 grep -v '^ *+' conftest.er1 >conftest.err
5926 cat conftest.err >&5
5927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928 (exit $ac_status); } >/dev/null; then
5929 if test -s conftest.err; then
5930 ac_cpp_err=$ac_c_preproc_warn_flag
5931 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5938 if test -z "$ac_cpp_err"; then
5939 # Broken: success on invalid input.
5942 echo "$as_me: failed program was:" >&5
5943 sed 's/^/| /' conftest.$ac_ext >&5
5945 # Passes both tests.
5949 rm -f conftest.err conftest.$ac_ext
5952 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5953 rm -f conftest.err conftest.$ac_ext
5954 if $ac_preproc_ok; then
5957 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5958 See \`config.log' for more details." >&5
5959 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5960 See \`config.log' for more details." >&2;}
5961 { (exit 1); exit 1; }; }
5965 ac_cpp='$CPP $CPPFLAGS'
5966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5971 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5972 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5973 if test "${ac_cv_header_stdc+set}" = set; then
5974 echo $ECHO_N "(cached) $ECHO_C" >&6
5976 cat >conftest.$ac_ext <<_ACEOF
5979 cat confdefs.h >>conftest.$ac_ext
5980 cat >>conftest.$ac_ext <<_ACEOF
5981 /* end confdefs.h. */
5995 rm -f conftest.$ac_objext
5996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5997 (eval $ac_compile) 2>conftest.er1
5999 grep -v '^ *+' conftest.er1 >conftest.err
6001 cat conftest.err >&5
6002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 (exit $ac_status); } &&
6004 { ac_try='test -z "$ac_c_werror_flag"
6005 || test ! -s conftest.err'
6006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010 (exit $ac_status); }; } &&
6011 { ac_try='test -s conftest.$ac_objext'
6012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); }; }; then
6017 ac_cv_header_stdc=yes
6019 echo "$as_me: failed program was:" >&5
6020 sed 's/^/| /' conftest.$ac_ext >&5
6022 ac_cv_header_stdc=no
6024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6026 if test $ac_cv_header_stdc = yes; then
6027 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6028 cat >conftest.$ac_ext <<_ACEOF
6031 cat confdefs.h >>conftest.$ac_ext
6032 cat >>conftest.$ac_ext <<_ACEOF
6033 /* end confdefs.h. */
6037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6038 $EGREP "memchr" >/dev/null 2>&1; then
6041 ac_cv_header_stdc=no
6047 if test $ac_cv_header_stdc = yes; then
6048 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6049 cat >conftest.$ac_ext <<_ACEOF
6052 cat confdefs.h >>conftest.$ac_ext
6053 cat >>conftest.$ac_ext <<_ACEOF
6054 /* end confdefs.h. */
6058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6059 $EGREP "free" >/dev/null 2>&1; then
6062 ac_cv_header_stdc=no
6068 if test $ac_cv_header_stdc = yes; then
6069 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6070 if test "$cross_compiling" = yes; then
6073 cat >conftest.$ac_ext <<_ACEOF
6076 cat confdefs.h >>conftest.$ac_ext
6077 cat >>conftest.$ac_ext <<_ACEOF
6078 /* end confdefs.h. */
6080 #if ((' ' & 0x0FF) == 0x020)
6081 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6082 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6084 # define ISLOWER(c) \
6085 (('a' <= (c) && (c) <= 'i') \
6086 || ('j' <= (c) && (c) <= 'r') \
6087 || ('s' <= (c) && (c) <= 'z'))
6088 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6091 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6096 for (i = 0; i < 256; i++)
6097 if (XOR (islower (i), ISLOWER (i))
6098 || toupper (i) != TOUPPER (i))
6103 rm -f conftest$ac_exeext
6104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6105 (eval $ac_link) 2>&5
6107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6108 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); }; }; then
6116 echo "$as_me: program exited with status $ac_status" >&5
6117 echo "$as_me: failed program was:" >&5
6118 sed 's/^/| /' conftest.$ac_ext >&5
6121 ac_cv_header_stdc=no
6123 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6127 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6128 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6129 if test $ac_cv_header_stdc = yes; then
6131 cat >>confdefs.h <<\_ACEOF
6132 #define STDC_HEADERS 1
6137 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6147 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6148 inttypes.h stdint.h unistd.h
6150 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6151 echo "$as_me:$LINENO: checking for $ac_header" >&5
6152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6154 echo $ECHO_N "(cached) $ECHO_C" >&6
6156 cat >conftest.$ac_ext <<_ACEOF
6159 cat confdefs.h >>conftest.$ac_ext
6160 cat >>conftest.$ac_ext <<_ACEOF
6161 /* end confdefs.h. */
6162 $ac_includes_default
6164 #include <$ac_header>
6166 rm -f conftest.$ac_objext
6167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6168 (eval $ac_compile) 2>conftest.er1
6170 grep -v '^ *+' conftest.er1 >conftest.err
6172 cat conftest.err >&5
6173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6174 (exit $ac_status); } &&
6175 { ac_try='test -z "$ac_c_werror_flag"
6176 || test ! -s conftest.err'
6177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); }; } &&
6182 { ac_try='test -s conftest.$ac_objext'
6183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 (exit $ac_status); }; }; then
6188 eval "$as_ac_Header=yes"
6190 echo "$as_me: failed program was:" >&5
6191 sed 's/^/| /' conftest.$ac_ext >&5
6193 eval "$as_ac_Header=no"
6195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6200 cat >>confdefs.h <<_ACEOF
6201 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6210 for ac_header in dlfcn.h
6212 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6213 echo "$as_me:$LINENO: checking for $ac_header" >&5
6214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6216 echo $ECHO_N "(cached) $ECHO_C" >&6
6218 cat >conftest.$ac_ext <<_ACEOF
6221 cat confdefs.h >>conftest.$ac_ext
6222 cat >>conftest.$ac_ext <<_ACEOF
6223 /* end confdefs.h. */
6224 $ac_includes_default
6226 #include <$ac_header>
6228 rm -f conftest.$ac_objext
6229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6230 (eval $ac_compile) 2>conftest.er1
6232 grep -v '^ *+' conftest.er1 >conftest.err
6234 cat conftest.err >&5
6235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6236 (exit $ac_status); } &&
6237 { ac_try='test -z "$ac_c_werror_flag"
6238 || test ! -s conftest.err'
6239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243 (exit $ac_status); }; } &&
6244 { ac_try='test -s conftest.$ac_objext'
6245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249 (exit $ac_status); }; }; then
6250 eval "$as_ac_Header=yes"
6252 echo "$as_me: failed program was:" >&5
6253 sed 's/^/| /' conftest.$ac_ext >&5
6255 eval "$as_ac_Header=no"
6257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6262 cat >>confdefs.h <<_ACEOF
6263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6272 # This can be used to rebuild libtool when needed
6273 LIBTOOL_DEPS="$ltmain"
6275 # Always use our own libtool.
6276 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6302 test -z "$LN_S" && LN_S="ln -s"
6317 if test -n "${ZSH_VERSION+set}" ; then
6318 setopt NO_GLOB_SUBST
6321 echo "$as_me:$LINENO: checking for objdir" >&5
6322 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6323 if test "${lt_cv_objdir+set}" = set; then
6324 echo $ECHO_N "(cached) $ECHO_C" >&6
6326 rm -f .libs 2>/dev/null
6327 mkdir .libs 2>/dev/null
6328 if test -d .libs; then
6331 # MS-DOS does not allow filenames that begin with a dot.
6334 rmdir .libs 2>/dev/null
6336 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6337 echo "${ECHO_T}$lt_cv_objdir" >&6
6338 objdir=$lt_cv_objdir
6344 cat >>confdefs.h <<_ACEOF
6345 #define LT_OBJDIR "$lt_cv_objdir/"
6366 # AIX sometimes has problems with the GCC collect2 program. For some
6367 # reason, if we set the COLLECT_NAMES environment variable, the problems
6368 # vanish in a puff of smoke.
6369 if test "X${COLLECT_NAMES+set}" != Xset; then
6371 export COLLECT_NAMES
6376 # Sed substitution that helps us do robust quoting. It backslashifies
6377 # metacharacters that are still active within double-quoted strings.
6378 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6380 # Same as above, but do not quote variable references.
6381 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6383 # Sed substitution to delay expansion of an escaped shell variable in a
6384 # double_quote_subst'ed string.
6385 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6387 # Sed substitution to delay expansion of an escaped single quote.
6388 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6390 # Sed substitution to avoid accidental globbing in evaled expressions
6391 no_glob_subst='s/\*/\\\*/g'
6395 can_build_shared=yes
6397 # All known linkers require a `.a' archive for static linking (except MSVC,
6398 # which needs '.lib').
6401 with_gnu_ld="$lt_cv_prog_gnu_ld"
6404 old_CFLAGS="$CFLAGS"
6406 # Set sane defaults for various variables
6407 test -z "$CC" && CC=cc
6408 test -z "$LTCC" && LTCC=$CC
6409 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6410 test -z "$LD" && LD=ld
6411 test -z "$ac_objext" && ac_objext=o
6413 for cc_temp in $compiler""; do
6415 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6416 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6421 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6424 # Only perform the check for file, if the check method requires it
6425 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6426 case $deplibs_check_method in
6428 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6429 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6430 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6431 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6432 echo $ECHO_N "(cached) $ECHO_C" >&6
6436 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6439 lt_save_MAGIC_CMD="$MAGIC_CMD"
6440 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6441 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6442 for ac_dir in $ac_dummy; do
6444 test -z "$ac_dir" && ac_dir=.
6445 if test -f $ac_dir/${ac_tool_prefix}file; then
6446 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6447 if test -n "$file_magic_test_file"; then
6448 case $deplibs_check_method in
6450 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6451 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6452 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6453 $EGREP "$file_magic_regex" > /dev/null; then
6458 *** Warning: the command libtool uses to detect shared libraries,
6459 *** $file_magic_cmd, produces output that libtool cannot recognize.
6460 *** The result is that libtool may fail to recognize shared libraries
6461 *** as such. This will affect the creation of libtool libraries that
6462 *** depend on shared libraries, but programs linked with such libtool
6463 *** libraries will work regardless of this problem. Nevertheless, you
6464 *** may want to report the problem to your system manager and/or to
6465 *** bug-libtool@gnu.org
6475 MAGIC_CMD="$lt_save_MAGIC_CMD"
6480 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6481 if test -n "$MAGIC_CMD"; then
6482 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6483 echo "${ECHO_T}$MAGIC_CMD" >&6
6485 echo "$as_me:$LINENO: result: no" >&5
6486 echo "${ECHO_T}no" >&6
6493 if test -z "$lt_cv_path_MAGIC_CMD"; then
6494 if test -n "$ac_tool_prefix"; then
6495 echo "$as_me:$LINENO: checking for file" >&5
6496 echo $ECHO_N "checking for file... $ECHO_C" >&6
6497 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6498 echo $ECHO_N "(cached) $ECHO_C" >&6
6502 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6505 lt_save_MAGIC_CMD="$MAGIC_CMD"
6506 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6507 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6508 for ac_dir in $ac_dummy; do
6510 test -z "$ac_dir" && ac_dir=.
6511 if test -f $ac_dir/file; then
6512 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6513 if test -n "$file_magic_test_file"; then
6514 case $deplibs_check_method in
6516 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6517 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6518 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6519 $EGREP "$file_magic_regex" > /dev/null; then
6524 *** Warning: the command libtool uses to detect shared libraries,
6525 *** $file_magic_cmd, produces output that libtool cannot recognize.
6526 *** The result is that libtool may fail to recognize shared libraries
6527 *** as such. This will affect the creation of libtool libraries that
6528 *** depend on shared libraries, but programs linked with such libtool
6529 *** libraries will work regardless of this problem. Nevertheless, you
6530 *** may want to report the problem to your system manager and/or to
6531 *** bug-libtool@gnu.org
6541 MAGIC_CMD="$lt_save_MAGIC_CMD"
6546 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6547 if test -n "$MAGIC_CMD"; then
6548 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6549 echo "${ECHO_T}$MAGIC_CMD" >&6
6551 echo "$as_me:$LINENO: result: no" >&5
6552 echo "${ECHO_T}no" >&6
6565 # Use C for the default configuration in the libtool script
6569 ac_cpp='$CPP $CPPFLAGS'
6570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6575 # Source file extension for C test sources.
6578 # Object file extension for compiled C test sources.
6582 # Code to be used in simple compile tests
6583 lt_simple_compile_test_code="int some_variable = 0;"
6585 # Code to be used in simple link tests
6586 lt_simple_link_test_code='int main(){return(0);}'
6594 # If no C compiler was specified, use CC.
6597 # If no C compiler flags were specified, use CFLAGS.
6598 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6600 # Allow CC to be a program name with arguments.
6603 # Save the default compiler, since it gets overwritten when the other
6604 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6605 compiler_DEFAULT=$CC
6607 # save warnings/boilerplate of simple test code
6608 ac_outfile=conftest.$ac_objext
6609 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6610 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6611 _lt_compiler_boilerplate=`cat conftest.err`
6614 ac_outfile=conftest.$ac_objext
6615 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6616 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6617 _lt_linker_boilerplate=`cat conftest.err`
6622 ## There is no encapsulation within the following macros, do not change
6623 ## the running order or otherwise move them around unless you know exactly
6624 ## what you are doing...
6625 if test -n "$compiler"; then
6627 lt_prog_compiler_no_builtin_flag=
6629 if test "$GCC" = yes; then
6630 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6632 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6633 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6634 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6635 echo $ECHO_N "(cached) $ECHO_C" >&6
6637 lt_cv_prog_compiler_rtti_exceptions=no
6638 ac_outfile=conftest.$ac_objext
6639 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6640 lt_compiler_flag="-fno-rtti -fno-exceptions"
6641 # Insert the option either (1) after the last *FLAGS variable, or
6642 # (2) before a word containing "conftest.", or (3) at the end.
6643 # Note that $ac_compile itself does not contain backslashes and begins
6644 # with a dollar sign (not a hyphen), so the echo should work correctly.
6645 # The option is referenced via a variable to avoid confusing sed.
6646 lt_compile=`echo "$ac_compile" | $SED \
6647 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6648 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6649 -e 's:$: $lt_compiler_flag:'`
6650 (eval echo "\"\$as_me:6650: $lt_compile\"" >&5)
6651 (eval "$lt_compile" 2>conftest.err)
6653 cat conftest.err >&5
6654 echo "$as_me:6654: \$? = $ac_status" >&5
6655 if (exit $ac_status) && test -s "$ac_outfile"; then
6656 # The compiler can only warn and ignore the option if not recognized
6657 # So say no if there are warnings other than the usual output.
6658 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6659 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6660 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6661 lt_cv_prog_compiler_rtti_exceptions=yes
6667 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6668 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6670 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6671 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6683 lt_prog_compiler_wl=
6684 lt_prog_compiler_pic=
6685 lt_prog_compiler_static=
6687 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6688 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6690 if test "$GCC" = yes; then
6691 lt_prog_compiler_wl='-Wl,'
6692 lt_prog_compiler_static='-static'
6696 # All AIX code is PIC.
6697 if test "$host_cpu" = ia64; then
6698 # AIX 5 now supports IA64 processor
6699 lt_prog_compiler_static='-Bstatic'
6704 if test "$host_cpu" = m68k; then
6705 # FIXME: we need at least 68020 code to build shared libraries, but
6706 # adding the `-m68020' flag to GCC prevents building anything better,
6708 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6712 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6713 # PIC is the default for these OSes.
6716 mingw* | cygwin* | pw32* | os2*)
6717 # This hack is so that the source file can tell whether it is being
6718 # built for inclusion in a dll (and should export symbols for example).
6719 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6720 # (--disable-auto-import) libraries
6721 lt_prog_compiler_pic='-DDLL_EXPORT'
6724 darwin* | rhapsody*)
6725 # PIC is the default on this platform
6726 # Common symbols not allowed in MH_DYLIB files
6727 lt_prog_compiler_pic='-fno-common'
6731 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6738 lt_prog_compiler_pic='-fPIC'
6744 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6745 # Instead, we relocate shared libraries at runtime.
6749 # Just because we use GCC doesn't mean we suddenly get shared libraries
6750 # on systems that don't support them.
6751 lt_prog_compiler_can_build_shared=no
6756 # QNX uses GNU C++, but need to define -shared option too, otherwise
6758 lt_prog_compiler_pic='-fPIC -shared'
6762 if test -d /usr/nec; then
6763 lt_prog_compiler_pic=-Kconform_pic
6768 lt_prog_compiler_pic='-fPIC'
6772 # PORTME Check for flag to pass linker flags through the system compiler.
6775 lt_prog_compiler_wl='-Wl,'
6776 if test "$host_cpu" = ia64; then
6777 # AIX 5 now supports IA64 processor
6778 lt_prog_compiler_static='-Bstatic'
6780 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6784 # PIC is the default on this platform
6785 # Common symbols not allowed in MH_DYLIB files
6786 case $cc_basename in
6788 lt_prog_compiler_pic='-qnocommon'
6789 lt_prog_compiler_wl='-Wl,'
6794 mingw* | cygwin* | pw32* | os2*)
6795 # This hack is so that the source file can tell whether it is being
6796 # built for inclusion in a dll (and should export symbols for example).
6797 lt_prog_compiler_pic='-DDLL_EXPORT'
6800 hpux9* | hpux10* | hpux11*)
6801 lt_prog_compiler_wl='-Wl,'
6802 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6809 lt_prog_compiler_pic='+Z'
6812 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6813 lt_prog_compiler_static='${wl}-a ${wl}archive'
6816 irix5* | irix6* | nonstopux*)
6817 lt_prog_compiler_wl='-Wl,'
6818 # PIC (with -KPIC) is the default.
6819 lt_prog_compiler_static='-non_shared'
6822 linux* | k*bsd*-gnu)
6823 case $cc_basename in
6825 lt_prog_compiler_wl='-Wl,'
6826 lt_prog_compiler_pic='-KPIC'
6827 lt_prog_compiler_static='-static'
6829 pgcc* | pgf77* | pgf90* | pgf95*)
6830 # Portland Group compilers (*not* the Pentium gcc compiler,
6831 # which looks to be a dead project)
6832 lt_prog_compiler_wl='-Wl,'
6833 lt_prog_compiler_pic='-fpic'
6834 lt_prog_compiler_static='-Bstatic'
6837 lt_prog_compiler_wl='-Wl,'
6838 # All Alpha code is PIC.
6839 lt_prog_compiler_static='-non_shared'
6842 case `$CC -V 2>&1 | sed 5q` in
6845 lt_prog_compiler_pic='-KPIC'
6846 lt_prog_compiler_static='-Bstatic'
6847 lt_prog_compiler_wl='-Wl,'
6850 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6851 lt_prog_compiler_pic='-KPIC'
6852 lt_prog_compiler_static='-Bstatic'
6853 lt_prog_compiler_wl=''
6861 lt_prog_compiler_pic='-KPIC'
6862 lt_prog_compiler_static='-Bstatic'
6866 # QNX uses GNU C++, but need to define -shared option too, otherwise
6868 lt_prog_compiler_pic='-fPIC -shared'
6871 osf3* | osf4* | osf5*)
6872 lt_prog_compiler_wl='-Wl,'
6873 # All OSF/1 code is PIC.
6874 lt_prog_compiler_static='-non_shared'
6878 lt_prog_compiler_static='-non_shared'
6882 lt_prog_compiler_pic='-KPIC'
6883 lt_prog_compiler_static='-Bstatic'
6884 case $cc_basename in
6886 lt_prog_compiler_wl='-Qoption ld ';;
6888 lt_prog_compiler_wl='-Wl,';;
6893 lt_prog_compiler_wl='-Qoption ld '
6894 lt_prog_compiler_pic='-PIC'
6895 lt_prog_compiler_static='-Bstatic'
6898 sysv4 | sysv4.2uw2* | sysv4.3*)
6899 lt_prog_compiler_wl='-Wl,'
6900 lt_prog_compiler_pic='-KPIC'
6901 lt_prog_compiler_static='-Bstatic'
6905 if test -d /usr/nec ;then
6906 lt_prog_compiler_pic='-Kconform_pic'
6907 lt_prog_compiler_static='-Bstatic'
6911 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6912 lt_prog_compiler_wl='-Wl,'
6913 lt_prog_compiler_pic='-KPIC'
6914 lt_prog_compiler_static='-Bstatic'
6918 lt_prog_compiler_wl='-Wl,'
6919 lt_prog_compiler_can_build_shared=no
6923 lt_prog_compiler_pic='-pic'
6924 lt_prog_compiler_static='-Bstatic'
6928 lt_prog_compiler_can_build_shared=no
6934 # For platforms which do not support PIC, -DPIC is meaningless:
6936 lt_prog_compiler_pic=
6939 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6942 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6943 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6951 # Check to make sure the PIC flag actually works.
6953 if test -n "$lt_prog_compiler_pic"; then
6954 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6955 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6956 if test "${lt_prog_compiler_pic_works+set}" = set; then
6957 echo $ECHO_N "(cached) $ECHO_C" >&6
6959 lt_prog_compiler_pic_works=no
6960 ac_outfile=conftest.$ac_objext
6961 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6962 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6963 # Insert the option either (1) after the last *FLAGS variable, or
6964 # (2) before a word containing "conftest.", or (3) at the end.
6965 # Note that $ac_compile itself does not contain backslashes and begins
6966 # with a dollar sign (not a hyphen), so the echo should work correctly.
6967 # The option is referenced via a variable to avoid confusing sed.
6968 lt_compile=`echo "$ac_compile" | $SED \
6969 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6970 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6971 -e 's:$: $lt_compiler_flag:'`
6972 (eval echo "\"\$as_me:6972: $lt_compile\"" >&5)
6973 (eval "$lt_compile" 2>conftest.err)
6975 cat conftest.err >&5
6976 echo "$as_me:6976: \$? = $ac_status" >&5
6977 if (exit $ac_status) && test -s "$ac_outfile"; then
6978 # The compiler can only warn and ignore the option if not recognized
6979 # So say no if there are warnings other than the usual output.
6980 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6981 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6982 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6983 lt_prog_compiler_pic_works=yes
6989 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6990 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6992 if test x"$lt_prog_compiler_pic_works" = xyes; then
6993 case $lt_prog_compiler_pic in
6995 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6998 lt_prog_compiler_pic=
6999 lt_prog_compiler_can_build_shared=no
7010 # Check to make sure the static flag actually works.
7012 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7013 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7014 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7015 if test "${lt_prog_compiler_static_works+set}" = set; then
7016 echo $ECHO_N "(cached) $ECHO_C" >&6
7018 lt_prog_compiler_static_works=no
7019 save_LDFLAGS="$LDFLAGS"
7020 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7021 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7022 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7023 # The linker can only warn and ignore the option if not recognized
7024 # So say no if there are warnings
7025 if test -s conftest.err; then
7026 # Append any errors to the config.log.
7027 cat conftest.err 1>&5
7028 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7029 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7030 if diff conftest.exp conftest.er2 >/dev/null; then
7031 lt_prog_compiler_static_works=yes
7034 lt_prog_compiler_static_works=yes
7038 LDFLAGS="$save_LDFLAGS"
7041 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7042 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7044 if test x"$lt_prog_compiler_static_works" = xyes; then
7047 lt_prog_compiler_static=
7056 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7057 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7058 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7059 echo $ECHO_N "(cached) $ECHO_C" >&6
7061 lt_cv_prog_compiler_c_o=no
7062 $RM -r conftest 2>/dev/null
7066 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7068 lt_compiler_flag="-o out/conftest2.$ac_objext"
7069 # Insert the option either (1) after the last *FLAGS variable, or
7070 # (2) before a word containing "conftest.", or (3) at the end.
7071 # Note that $ac_compile itself does not contain backslashes and begins
7072 # with a dollar sign (not a hyphen), so the echo should work correctly.
7073 lt_compile=`echo "$ac_compile" | $SED \
7074 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7075 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7076 -e 's:$: $lt_compiler_flag:'`
7077 (eval echo "\"\$as_me:7077: $lt_compile\"" >&5)
7078 (eval "$lt_compile" 2>out/conftest.err)
7080 cat out/conftest.err >&5
7081 echo "$as_me:7081: \$? = $ac_status" >&5
7082 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7084 # The compiler can only warn and ignore the option if not recognized
7085 # So say no if there are warnings
7086 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7087 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7088 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7089 lt_cv_prog_compiler_c_o=yes
7094 # SGI C++ compiler will create directory out/ii_files/ for
7095 # template instantiation
7096 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7097 $RM out/* && rmdir out
7103 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7104 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7111 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7112 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7113 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7114 echo $ECHO_N "(cached) $ECHO_C" >&6
7116 lt_cv_prog_compiler_c_o=no
7117 $RM -r conftest 2>/dev/null
7121 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7123 lt_compiler_flag="-o out/conftest2.$ac_objext"
7124 # Insert the option either (1) after the last *FLAGS variable, or
7125 # (2) before a word containing "conftest.", or (3) at the end.
7126 # Note that $ac_compile itself does not contain backslashes and begins
7127 # with a dollar sign (not a hyphen), so the echo should work correctly.
7128 lt_compile=`echo "$ac_compile" | $SED \
7129 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7130 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7131 -e 's:$: $lt_compiler_flag:'`
7132 (eval echo "\"\$as_me:7132: $lt_compile\"" >&5)
7133 (eval "$lt_compile" 2>out/conftest.err)
7135 cat out/conftest.err >&5
7136 echo "$as_me:7136: \$? = $ac_status" >&5
7137 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7139 # The compiler can only warn and ignore the option if not recognized
7140 # So say no if there are warnings
7141 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7142 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7143 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7144 lt_cv_prog_compiler_c_o=yes
7149 # SGI C++ compiler will create directory out/ii_files/ for
7150 # template instantiation
7151 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7152 $RM out/* && rmdir out
7158 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7159 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7164 hard_links="nottested"
7165 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7166 # do not overwrite the value of need_locks provided by the user
7167 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7168 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7171 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7173 ln conftest.a conftest.b 2>&5 || hard_links=no
7174 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7175 echo "$as_me:$LINENO: result: $hard_links" >&5
7176 echo "${ECHO_T}$hard_links" >&6
7177 if test "$hard_links" = no; then
7178 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7179 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7191 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7192 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7195 allow_undefined_flag=
7196 always_export_symbols=no
7198 archive_expsym_cmds=
7199 compiler_needs_object=no
7200 enable_shared_with_static_runtimes=no
7201 export_dynamic_flag_spec=
7202 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7203 hardcode_automatic=no
7205 hardcode_direct_absolute=no
7206 hardcode_libdir_flag_spec=
7207 hardcode_libdir_flag_spec_ld=
7208 hardcode_libdir_separator=
7210 hardcode_shlibpath_var=unsupported
7212 link_all_deplibs=unknown
7215 old_archive_from_new_cmds=
7216 old_archive_from_expsyms_cmds=
7217 thread_safe_flag_spec=
7218 whole_archive_flag_spec=
7219 # include_expsyms should be a list of space-separated symbols to be *always*
7220 # included in the symbol list
7222 # exclude_expsyms can be an extended regexp of symbols to exclude
7223 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7224 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7225 # as well as any symbol that contains `d'.
7226 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7227 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7228 # platforms (ab)use it in PIC code, but their linkers get confused if
7229 # the symbol is explicitly referenced. Since portable code cannot
7230 # rely on this symbol name, it's probably fine to never include it in
7231 # preloaded symbol tables.
7232 extract_expsyms_cmds=
7235 cygwin* | mingw* | pw32*)
7236 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7237 # When not using gcc, we currently assume that we are using
7238 # Microsoft Visual C++.
7239 if test "$GCC" != yes; then
7244 # we just hope/assume this is gcc and not c89 (= MSVC++)
7253 if test "$with_gnu_ld" = yes; then
7254 # If archive_cmds runs LD, not CC, wlarc should be empty
7257 # Set some defaults for GNU ld with shared library support. These
7258 # are reset later if shared libraries are not supported. Putting them
7259 # here allows them to be overridden if necessary.
7260 runpath_var=LD_RUN_PATH
7261 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7262 export_dynamic_flag_spec='${wl}--export-dynamic'
7263 # ancient GNU ld didn't support --whole-archive et. al.
7264 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7265 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7267 whole_archive_flag_spec=
7269 supports_anon_versioning=no
7270 case `$LD -v 2>&1` in
7271 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7272 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7273 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7274 *\ 2.11.*) ;; # other 2.11 versions
7275 *) supports_anon_versioning=yes ;;
7278 # See if GNU ld supports shared libraries.
7280 aix3* | aix4* | aix5*)
7281 # On AIX/PPC, the GNU linker is very broken
7282 if test "$host_cpu" != ia64; then
7286 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7287 *** to be unable to reliably create shared libraries on AIX.
7288 *** Therefore, libtool is disabling shared libraries support. If you
7289 *** really care for shared libraries, you may want to modify your PATH
7290 *** so that a non-GNU linker is found, and then restart.
7297 if test "$host_cpu" = m68k; then
7298 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)'
7299 hardcode_libdir_flag_spec='-L$libdir'
7300 hardcode_minus_L=yes
7303 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7304 # that the semantics of dynamic libraries on AmigaOS, at least up
7305 # to version 4, is to share data among multiple programs linked
7306 # with the same dynamic library. Since this doesn't match the
7307 # behavior of shared libraries on other platforms, we can't use
7313 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7314 allow_undefined_flag=unsupported
7315 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7316 # support --undefined. This deserves some investigation. FIXME
7317 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7323 cygwin* | mingw* | pw32*)
7324 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7325 # as there is no search path for DLLs.
7326 hardcode_libdir_flag_spec='-L$libdir'
7327 allow_undefined_flag=unsupported
7328 always_export_symbols=no
7329 enable_shared_with_static_runtimes=yes
7330 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7332 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7333 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7334 # If the export-symbols file already is a .def file (1st line
7335 # is EXPORTS), use it as is; otherwise, prepend...
7336 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7337 cp $export_symbols $output_objdir/$soname.def;
7339 echo EXPORTS > $output_objdir/$soname.def;
7340 cat $export_symbols >> $output_objdir/$soname.def;
7342 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7350 hardcode_shlibpath_var=no
7351 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7352 export_dynamic_flag_spec='${wl}-E'
7353 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7354 # Instead, shared libraries are loaded at an image base (0x10000000 by
7355 # default) and relocated if they conflict, which is a slow very memory
7356 # consuming and fragmenting process. To avoid this, we pick a random,
7357 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7358 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7359 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7360 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'
7363 gnu* | linux* | tpf* | k*bsd*-gnu)
7365 if test "$host_os" = linux-dietlibc; then
7366 case $cc_basename in
7367 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7370 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7371 && test "$tmp_diet" = no
7374 case $cc_basename,$host_cpu in
7375 pgcc*) # Portland Group C compiler
7376 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'
7377 tmp_addflag=' $pic_flag'
7379 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7380 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'
7381 tmp_addflag=' $pic_flag -Mnomain' ;;
7382 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7383 tmp_addflag=' -i_dynamic' ;;
7384 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7385 tmp_addflag=' -i_dynamic -nofor_main' ;;
7386 ifc* | ifort*) # Intel Fortran compiler
7387 tmp_addflag=' -nofor_main' ;;
7389 case `$CC -V 2>&1 | sed 5q` in
7390 *Sun\ C*) # Sun C 5.9
7391 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'
7392 compiler_needs_object=yes
7393 tmp_sharedflag='-G' ;;
7394 *Sun\ F*) # Sun Fortran 8.3
7395 tmp_sharedflag='-G' ;;
7397 tmp_sharedflag='-shared' ;;
7399 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7401 if test "x$supports_anon_versioning" = xyes; then
7402 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7403 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7404 echo "local: *; };" >> $output_objdir/$libname.ver~
7405 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7413 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7414 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7417 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7418 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7423 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7427 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7428 *** create shared libraries on Solaris systems. Therefore, libtool
7429 *** is disabling shared libraries support. We urge you to upgrade GNU
7430 *** binutils to release 2.9.1 or newer. Another option is to modify
7431 *** your PATH or compiler configuration so that the native linker is
7432 *** used, and then restart.
7435 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7436 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7437 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7443 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7444 case `$LD -v 2>&1` in
7445 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7449 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7450 *** reliably create shared libraries on SCO systems. Therefore, libtool
7451 *** is disabling shared libraries support. We urge you to upgrade GNU
7452 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7453 *** your PATH or compiler configuration so that the native linker is
7454 *** used, and then restart.
7459 # For security reasons, it is highly recommended that you always
7460 # use absolute paths for naming shared libraries, and exclude the
7461 # DT_RUNPATH tag from executables and libraries. But doing so
7462 # requires that you compile everything twice, which is a pain.
7463 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7464 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7465 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7466 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7475 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7478 hardcode_shlibpath_var=no
7482 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7483 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7484 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7491 if test "$ld_shlibs" = no; then
7493 hardcode_libdir_flag_spec=
7494 export_dynamic_flag_spec=
7495 whole_archive_flag_spec=
7498 # PORTME fill in a description of your system's linker (not GNU ld)
7501 allow_undefined_flag=unsupported
7502 always_export_symbols=yes
7503 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'
7504 # Note: this linker hardcodes the directories in LIBPATH if there
7505 # are no directories specified by -L.
7506 hardcode_minus_L=yes
7507 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7508 # Neither direct hardcoding nor static linking is supported with a
7510 hardcode_direct=unsupported
7515 if test "$host_cpu" = ia64; then
7516 # On IA64, the linker does run time linking by default, so we don't
7517 # have to do anything special.
7518 aix_use_runtimelinking=no
7519 exp_sym_flag='-Bexport'
7522 # If we're using GNU nm, then we don't want the "-C" option.
7523 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7524 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7525 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'
7527 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'
7529 aix_use_runtimelinking=no
7531 # Test if we are trying to use run time linking or normal
7532 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7533 # need to do runtime linking.
7534 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
7535 for ld_flag in $LDFLAGS; do
7536 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7537 aix_use_runtimelinking=yes
7544 exp_sym_flag='-bexport'
7545 no_entry_flag='-bnoentry'
7548 # When large executables or shared objects are built, AIX ld can
7549 # have problems creating the table of contents. If linking a library
7550 # or program results in "error TOC overflow" add -mminimal-toc to
7551 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7552 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7556 hardcode_direct_absolute=yes
7557 hardcode_libdir_separator=':'
7558 link_all_deplibs=yes
7559 file_list_spec='${wl}-f,'
7561 if test "$GCC" = yes; then
7562 case $host_os in aix4.[012]|aix4.[012].*)
7563 # We only want to do this on AIX 4.2 and lower, the check
7564 # below for broken collect2 doesn't work under 4.3+
7565 collect2name=`${CC} -print-prog-name=collect2`
7566 if test -f "$collect2name" &&
7567 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7569 # We have reworked collect2
7572 # We have old collect2
7573 hardcode_direct=unsupported
7574 # It fails to find uninstalled libraries when the uninstalled
7575 # path is not listed in the libpath. Setting hardcode_minus_L
7576 # to unsupported forces relinking
7577 hardcode_minus_L=yes
7578 hardcode_libdir_flag_spec='-L$libdir'
7579 hardcode_libdir_separator=
7583 shared_flag='-shared'
7584 if test "$aix_use_runtimelinking" = yes; then
7585 shared_flag="$shared_flag "'${wl}-G'
7589 if test "$host_cpu" = ia64; then
7590 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7591 # chokes on -Wl,-G. The following line is correct:
7594 if test "$aix_use_runtimelinking" = yes; then
7595 shared_flag='${wl}-G'
7597 shared_flag='${wl}-bM:SRE'
7602 # It seems that -bexpall does not export symbols beginning with
7603 # underscore (_), so it is better to generate a list of symbols to export.
7604 always_export_symbols=yes
7605 if test "$aix_use_runtimelinking" = yes; then
7606 # Warning - without using the other runtime loading flags (-brtl),
7607 # -berok will link without error, but may produce a broken library.
7608 allow_undefined_flag='-berok'
7609 # Determine the default libpath from the value encoded in an
7611 cat >conftest.$ac_ext <<_ACEOF
7614 cat confdefs.h >>conftest.$ac_ext
7615 cat >>conftest.$ac_ext <<_ACEOF
7616 /* end confdefs.h. */
7626 rm -f conftest.$ac_objext conftest$ac_exeext
7627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7628 (eval $ac_link) 2>conftest.er1
7630 grep -v '^ *+' conftest.er1 >conftest.err
7632 cat conftest.err >&5
7633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634 (exit $ac_status); } &&
7635 { ac_try='test -z "$ac_c_werror_flag"
7636 || test ! -s conftest.err'
7637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641 (exit $ac_status); }; } &&
7642 { ac_try='test -s conftest$ac_exeext'
7643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7647 (exit $ac_status); }; }; then
7649 lt_aix_libpath_sed='
7650 /Import File Strings/,/^$/ {
7656 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7657 # Check for a 64-bit object if we didn't find anything.
7658 if test -z "$aix_libpath"; then
7659 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7662 echo "$as_me: failed program was:" >&5
7663 sed 's/^/| /' conftest.$ac_ext >&5
7666 rm -f conftest.err conftest.$ac_objext \
7667 conftest$ac_exeext conftest.$ac_ext
7668 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7670 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7671 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"
7673 if test "$host_cpu" = ia64; then
7674 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7675 allow_undefined_flag="-z nodefs"
7676 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"
7678 # Determine the default libpath from the value encoded in an
7680 cat >conftest.$ac_ext <<_ACEOF
7683 cat confdefs.h >>conftest.$ac_ext
7684 cat >>conftest.$ac_ext <<_ACEOF
7685 /* end confdefs.h. */
7695 rm -f conftest.$ac_objext conftest$ac_exeext
7696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7697 (eval $ac_link) 2>conftest.er1
7699 grep -v '^ *+' conftest.er1 >conftest.err
7701 cat conftest.err >&5
7702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703 (exit $ac_status); } &&
7704 { ac_try='test -z "$ac_c_werror_flag"
7705 || test ! -s conftest.err'
7706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7710 (exit $ac_status); }; } &&
7711 { ac_try='test -s conftest$ac_exeext'
7712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7716 (exit $ac_status); }; }; then
7718 lt_aix_libpath_sed='
7719 /Import File Strings/,/^$/ {
7725 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7726 # Check for a 64-bit object if we didn't find anything.
7727 if test -z "$aix_libpath"; then
7728 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7731 echo "$as_me: failed program was:" >&5
7732 sed 's/^/| /' conftest.$ac_ext >&5
7735 rm -f conftest.err conftest.$ac_objext \
7736 conftest$ac_exeext conftest.$ac_ext
7737 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7739 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7740 # Warning - without using the other run time loading flags,
7741 # -berok will link without error, but may produce a broken library.
7742 no_undefined_flag=' ${wl}-bernotok'
7743 allow_undefined_flag=' ${wl}-berok'
7744 # Exported symbols can be pulled into shared objects from archives
7745 whole_archive_flag_spec='$convenience'
7746 archive_cmds_need_lc=yes
7747 # This is similar to how AIX traditionally builds its shared libraries.
7748 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'
7754 if test "$host_cpu" = m68k; then
7755 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)'
7756 hardcode_libdir_flag_spec='-L$libdir'
7757 hardcode_minus_L=yes
7759 # see comment about different semantics on the GNU ld section
7764 export_dynamic_flag_spec=-rdynamic
7767 cygwin* | mingw* | pw32*)
7768 # When not using gcc, we currently assume that we are using
7769 # Microsoft Visual C++.
7770 # hardcode_libdir_flag_spec is actually meaningless, as there is
7771 # no search path for DLLs.
7772 hardcode_libdir_flag_spec=' '
7773 allow_undefined_flag=unsupported
7774 # Tell ltmain to make .lib files, not .a files.
7776 # Tell ltmain to make .dll files, not .so files.
7778 # FIXME: Setting linknames here is a bad hack.
7779 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7780 # The linker will automatically build a .lib file if we build a DLL.
7781 old_archive_from_new_cmds='true'
7782 # FIXME: Should let the user specify the lib program.
7783 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7784 fix_srcfile_path='`cygpath -w "$srcfile"`'
7785 enable_shared_with_static_runtimes=yes
7788 darwin* | rhapsody*)
7790 rhapsody* | darwin1.[012])
7791 allow_undefined_flag='${wl}-undefined ${wl}suppress'
7794 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7796 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7799 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7804 archive_cmds_need_lc=no
7806 hardcode_automatic=yes
7807 hardcode_shlibpath_var=unsupported
7808 whole_archive_flag_spec=''
7809 link_all_deplibs=yes
7810 if test "$GCC" = yes ; then
7811 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7812 echo $ECHO_N "(cached) $ECHO_C" >&6
7814 lt_cv_apple_cc_single_mod=no
7815 if test -z "${LT_MULTI_MODULE}"; then
7816 # By default we will add the -single_module flag. You can override
7817 # by either setting the environment variable LT_MULTI_MODULE
7818 # non-empty at configure time, or by adding -multi-module to the
7820 echo "int foo(void){return 1;}" > conftest.c
7821 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7822 -dynamiclib ${wl}-single_module conftest.c
7823 if test -f libconftest.dylib; then
7824 lt_cv_apple_cc_single_mod=yes
7825 rm libconftest.dylib
7831 output_verbose_link_cmd=echo
7832 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
7833 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7834 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}'
7836 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7837 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}'
7839 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7840 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}'
7842 case $cc_basename in
7844 output_verbose_link_cmd=echo
7845 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7846 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7847 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7848 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}'
7849 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}'
7859 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7860 hardcode_libdir_flag_spec='-L$libdir'
7861 hardcode_shlibpath_var=no
7868 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7869 # support. Future versions do this automatically, but an explicit c++rt0.o
7870 # does not break anything, and helps significantly (at the cost of a little
7873 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7874 hardcode_libdir_flag_spec='-R$libdir'
7876 hardcode_shlibpath_var=no
7879 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7881 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7883 hardcode_minus_L=yes
7884 hardcode_shlibpath_var=no
7887 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7888 freebsd* | dragonfly*)
7889 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7890 hardcode_libdir_flag_spec='-R$libdir'
7892 hardcode_shlibpath_var=no
7896 if test "$GCC" = yes; then
7897 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'
7899 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'
7901 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7902 hardcode_libdir_separator=:
7905 # hardcode_minus_L: Not really in the search PATH,
7906 # but as the default location of the library.
7907 hardcode_minus_L=yes
7908 export_dynamic_flag_spec='${wl}-E'
7912 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7913 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7915 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7917 if test "$with_gnu_ld" = no; then
7918 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7919 hardcode_libdir_flag_spec_ld='+b $libdir'
7920 hardcode_libdir_separator=:
7922 hardcode_direct_absolute=yes
7923 export_dynamic_flag_spec='${wl}-E'
7924 # hardcode_minus_L: Not really in the search PATH,
7925 # but as the default location of the library.
7926 hardcode_minus_L=yes
7931 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7934 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7937 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7940 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7946 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7949 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7952 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7956 if test "$with_gnu_ld" = no; then
7957 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7958 hardcode_libdir_separator=:
7963 hardcode_shlibpath_var=no
7967 hardcode_direct_absolute=yes
7968 export_dynamic_flag_spec='${wl}-E'
7970 # hardcode_minus_L: Not really in the search PATH,
7971 # but as the default location of the library.
7972 hardcode_minus_L=yes
7978 irix5* | irix6* | nonstopux*)
7979 if test "$GCC" = yes; then
7980 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'
7981 # Try to use the -exported_symbol ld option, if it does not
7982 # work, assume that -exports_file does not work either and
7983 # implicitly export all symbols.
7984 save_LDFLAGS="$LDFLAGS"
7985 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7986 cat >conftest.$ac_ext <<_ACEOF
7989 rm -f conftest.$ac_objext conftest$ac_exeext
7990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7991 (eval $ac_link) 2>conftest.er1
7993 grep -v '^ *+' conftest.er1 >conftest.err
7995 cat conftest.err >&5
7996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7997 (exit $ac_status); } &&
7998 { ac_try='test -z "$ac_c_werror_flag"
7999 || test ! -s conftest.err'
8000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8004 (exit $ac_status); }; } &&
8005 { ac_try='test -s conftest$ac_exeext'
8006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); }; }; then
8011 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'
8014 echo "$as_me: failed program was:" >&5
8015 sed 's/^/| /' conftest.$ac_ext >&5
8018 rm -f conftest.err conftest.$ac_objext \
8019 conftest$ac_exeext conftest.$ac_ext
8020 LDFLAGS="$save_LDFLAGS"
8022 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'
8023 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'
8025 archive_cmds_need_lc='no'
8026 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8027 hardcode_libdir_separator=:
8029 link_all_deplibs=yes
8033 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8034 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8036 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8038 hardcode_libdir_flag_spec='-R$libdir'
8040 hardcode_shlibpath_var=no
8044 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8046 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8047 hardcode_libdir_separator=:
8048 hardcode_shlibpath_var=no
8056 hardcode_shlibpath_var=no
8057 hardcode_direct_absolute=yes
8058 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8059 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8060 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8061 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8062 export_dynamic_flag_spec='${wl}-E'
8065 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8066 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8067 hardcode_libdir_flag_spec='-R$libdir'
8070 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8071 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8078 hardcode_libdir_flag_spec='-L$libdir'
8079 hardcode_minus_L=yes
8080 allow_undefined_flag=unsupported
8081 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'
8082 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8086 if test "$GCC" = yes; then
8087 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8088 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'
8090 allow_undefined_flag=' -expect_unresolved \*'
8091 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'
8093 archive_cmds_need_lc='no'
8094 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8095 hardcode_libdir_separator=:
8098 osf4* | osf5*) # as osf3* with the addition of -msym flag
8099 if test "$GCC" = yes; then
8100 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8101 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'
8102 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8104 allow_undefined_flag=' -expect_unresolved \*'
8105 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'
8106 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~
8107 $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'
8109 # Both c and cxx compiler support -rpath directly
8110 hardcode_libdir_flag_spec='-rpath $libdir'
8112 archive_cmds_need_lc='no'
8113 hardcode_libdir_separator=:
8117 no_undefined_flag=' -z defs'
8118 if test "$GCC" = yes; then
8120 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8121 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8122 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8124 case `$CC -V 2>&1` in
8127 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8128 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8129 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8133 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8134 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8135 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8139 hardcode_libdir_flag_spec='-R$libdir'
8140 hardcode_shlibpath_var=no
8142 solaris2.[0-5] | solaris2.[0-5].*) ;;
8144 # The compiler driver will combine and reorder linker options,
8145 # but understands `-z linker_flag'. GCC discards it without `$wl',
8146 # but is careful enough not to reorder.
8147 # Supported since Solaris 2.6 (maybe 2.5.1?)
8148 if test "$GCC" = yes; then
8149 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8151 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8155 link_all_deplibs=yes
8159 if test "x$host_vendor" = xsequent; then
8160 # Use $CC to link under sequent, because it throws in some extra .o
8161 # files that make .init and .fini sections work.
8162 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8164 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8166 hardcode_libdir_flag_spec='-L$libdir'
8168 hardcode_minus_L=yes
8169 hardcode_shlibpath_var=no
8173 case $host_vendor in
8175 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8176 hardcode_direct=yes # is this really true???
8179 ## LD is ld it makes a PLAMLIB
8180 ## CC just makes a GrossModule.
8181 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8182 reload_cmds='$CC -r -o $output$reload_objs'
8186 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8187 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8190 runpath_var='LD_RUN_PATH'
8191 hardcode_shlibpath_var=no
8195 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8196 hardcode_shlibpath_var=no
8197 export_dynamic_flag_spec='-Bexport'
8201 if test -d /usr/nec; then
8202 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8203 hardcode_shlibpath_var=no
8204 runpath_var=LD_RUN_PATH
8205 hardcode_runpath_var=yes
8210 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8211 no_undefined_flag='${wl}-z,text'
8212 archive_cmds_need_lc=no
8213 hardcode_shlibpath_var=no
8214 runpath_var='LD_RUN_PATH'
8216 if test "$GCC" = yes; then
8217 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8218 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8220 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8221 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8225 sysv5* | sco3.2v5* | sco5v6*)
8226 # Note: We can NOT use -z defs as we might desire, because we do not
8227 # link with -lc, and that would cause any symbols used from libc to
8228 # always be unresolved, which means just about no library would
8229 # ever link correctly. If we're not using GNU ld we use -z text
8230 # though, which does catch some bad symbols but isn't as heavy-handed
8232 no_undefined_flag='${wl}-z,text'
8233 allow_undefined_flag='${wl}-z,nodefs'
8234 archive_cmds_need_lc=no
8235 hardcode_shlibpath_var=no
8236 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8237 hardcode_libdir_separator=':'
8238 link_all_deplibs=yes
8239 export_dynamic_flag_spec='${wl}-Bexport'
8240 runpath_var='LD_RUN_PATH'
8242 if test "$GCC" = yes; then
8243 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8244 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8246 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8247 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8252 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8253 hardcode_libdir_flag_spec='-L$libdir'
8254 hardcode_shlibpath_var=no
8262 if test x$host_vendor = xsni; then
8264 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8265 export_dynamic_flag_spec='${wl}-Blargedynsym'
8271 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8272 echo "${ECHO_T}$ld_shlibs" >&6
8273 test "$ld_shlibs" = no && can_build_shared=no
8275 with_gnu_ld=$with_gnu_ld
8292 # Do we need to explicitly link libc?
8294 case "x$archive_cmds_need_lc" in
8296 # Assume -lc should be added
8297 archive_cmds_need_lc=yes
8299 if test "$enable_shared" = yes && test "$GCC" = yes; then
8300 case $archive_cmds in
8302 # FIXME: we may have to deal with multi-command sequences.
8305 # Test whether the compiler implicitly links with -lc since on some
8306 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8307 # to ld, don't add -lc before -lgcc.
8308 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8309 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8311 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8314 (eval $ac_compile) 2>&5
8316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317 (exit $ac_status); } 2>conftest.err; then
8320 libobjs=conftest.$ac_objext
8322 wl=$lt_prog_compiler_wl
8323 pic_flag=$lt_prog_compiler_pic
8329 lt_save_allow_undefined_flag=$allow_undefined_flag
8330 allow_undefined_flag=
8331 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8332 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 (exit $ac_status); }
8337 archive_cmds_need_lc=no
8339 archive_cmds_need_lc=yes
8341 allow_undefined_flag=$lt_save_allow_undefined_flag
8343 cat conftest.err 1>&5
8346 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8347 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8510 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8511 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8513 if test "$withGCC" = yes; then
8515 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8516 *) lt_awk_arg="/^libraries:/" ;;
8518 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8519 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8520 # if the path contains ";" then we assume it to be the separator
8521 # otherwise default to the standard path separator (i.e. ":") - it is
8522 # assumed that no part of a normal pathname contains ";" but that should
8523 # okay in the real world where ";" in dirpaths is itself problematic.
8524 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8526 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8528 # Ok, now we have the path, separated by spaces, we can step through it
8529 # and add multilib dir if necessary.
8530 lt_tmp_lt_search_path_spec=
8531 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8532 for lt_sys_path in $lt_search_path_spec; do
8533 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8534 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8536 test -d "$lt_sys_path" && \
8537 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8540 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8541 BEGIN {RS=" "; FS="/|\n";} {
8544 for (lt_i = NF; lt_i > 0; lt_i--) {
8545 if ($lt_i != "" && $lt_i != ".") {
8546 if ($lt_i == "..") {
8549 if (lt_count == 0) {
8550 lt_foo="/" $lt_i lt_foo;
8557 if (lt_foo != "") { lt_freq[lt_foo]++; }
8558 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8560 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8562 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8565 libname_spec='lib$name'
8573 shlibpath_overrides_runpath=unknown
8575 dynamic_linker="$host_os ld.so"
8576 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8577 need_lib_prefix=unknown
8578 hardcode_into_libs=no
8580 # when you set need_version to no, make sure it does not cause -set_version
8581 # flags to be left without arguments
8582 need_version=unknown
8587 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8588 shlibpath_var=LIBPATH
8590 # AIX 3 has no versioning support, so we append a major version to the name.
8591 soname_spec='${libname}${release}${shared_ext}$major'
8598 hardcode_into_libs=yes
8599 if test "$host_cpu" = ia64; then
8600 # AIX 5 supports IA64
8601 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8602 shlibpath_var=LD_LIBRARY_PATH
8604 # With GCC up to 2.95.x, collect2 would create an import file
8605 # for dependence libraries. The import file would start with
8606 # the line `#! .'. This would cause the generated library to
8607 # depend on `.', always an invalid library. This was fixed in
8608 # development snapshots of GCC prior to 3.0.
8610 aix4 | aix4.[01] | aix4.[01].*)
8611 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8613 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8620 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8621 # soname into executable. Probably we can add versioning support to
8622 # collect2, so additional links can be useful in future.
8623 if test "$aix_use_runtimelinking" = yes; then
8624 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8625 # instead of lib<name>.a to let people know that these are not
8626 # typical AIX shared libraries.
8627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8629 # We preserve .a as extension for shared libraries through AIX4.2
8630 # and later when we are not doing run time linking.
8631 library_names_spec='${libname}${release}.a $libname.a'
8632 soname_spec='${libname}${release}${shared_ext}$major'
8634 shlibpath_var=LIBPATH
8639 if test "$host_cpu" = m68k; then
8640 library_names_spec='$libname.ixlibrary $libname.a'
8641 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8642 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'
8649 library_names_spec='${libname}${shared_ext}'
8650 dynamic_linker="$host_os ld.so"
8651 shlibpath_var=LIBRARY_PATH
8657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8658 soname_spec='${libname}${release}${shared_ext}$major'
8659 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8660 shlibpath_var=LD_LIBRARY_PATH
8661 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8662 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8663 # the default ld.so.conf also contains /usr/contrib/lib and
8664 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8665 # libtool to hard-code these into programs
8668 cygwin* | mingw* | pw32*)
8669 version_type=windows
8674 case $withGCC,$host_os in
8675 yes,cygwin* | yes,mingw* | yes,pw32*)
8676 library_names_spec='$libname.dll.a'
8677 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8678 postinstall_cmds='base_file=`basename \${file}`~
8679 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8680 dldir=$destdir/`dirname \$dlpath`~
8681 test -d \$dldir || mkdir -p \$dldir~
8682 $install_prog $dir/$dlname \$dldir/$dlname~
8683 chmod a+x \$dldir/$dlname~
8684 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8685 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8687 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8688 dlpath=$dir/\$dldll~
8690 shlibpath_overrides_runpath=yes
8694 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8695 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8696 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8699 # MinGW DLLs use traditional 'lib' prefix
8700 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8701 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8702 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8703 # It is most probably a Windows format PATH printed by
8704 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8705 # path with ; separators, and with drive letters. We can handle the
8706 # drive letters (cygwin fileutils understands them), so leave them,
8707 # especially as we might pass files found there to a mingw objdump,
8708 # which wouldn't understand a cygwinified path. Ahh.
8709 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8711 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8715 # pw32 DLLs use 'pw' prefix rather than 'lib'
8716 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8722 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8725 dynamic_linker='Win32 ld.exe'
8726 # FIXME: first we should search . and the directory the executable is in
8730 darwin* | rhapsody*)
8731 dynamic_linker="$host_os dyld"
8735 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8736 soname_spec='${libname}${release}${major}$shared_ext'
8737 shlibpath_overrides_runpath=yes
8738 shlibpath_var=DYLD_LIBRARY_PATH
8739 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8741 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8742 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8750 soname_spec='${libname}${release}${shared_ext}$major'
8751 shlibpath_var=LD_LIBRARY_PATH
8758 freebsd* | dragonfly*)
8759 # DragonFly does not have aout. When/if they implement a new
8760 # versioning mechanism, adjust this.
8761 if test -x /usr/bin/objformat; then
8762 objformat=`/usr/bin/objformat`
8765 freebsd[123]*) objformat=aout ;;
8769 version_type=freebsd-$objformat
8770 case $version_type in
8772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8777 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8781 shlibpath_var=LD_LIBRARY_PATH
8784 shlibpath_overrides_runpath=yes
8786 freebsd3.[01]* | freebsdelf3.[01]*)
8787 shlibpath_overrides_runpath=yes
8788 hardcode_into_libs=yes
8790 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8791 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8792 shlibpath_overrides_runpath=no
8793 hardcode_into_libs=yes
8795 *) # from 4.6 on, and DragonFly
8796 shlibpath_overrides_runpath=yes
8797 hardcode_into_libs=yes
8806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8807 soname_spec='${libname}${release}${shared_ext}$major'
8808 shlibpath_var=LD_LIBRARY_PATH
8809 hardcode_into_libs=yes
8812 hpux9* | hpux10* | hpux11*)
8813 # Give a soname corresponding to the major version so that dld.sl refuses to
8814 # link against other versions.
8821 hardcode_into_libs=yes
8822 dynamic_linker="$host_os dld.so"
8823 shlibpath_var=LD_LIBRARY_PATH
8824 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8826 soname_spec='${libname}${release}${shared_ext}$major'
8827 if test "X$HPUX_IA64_MODE" = X32; then
8828 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8830 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8832 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8836 hardcode_into_libs=yes
8837 dynamic_linker="$host_os dld.sl"
8838 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8839 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8841 soname_spec='${libname}${release}${shared_ext}$major'
8842 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8843 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8847 dynamic_linker="$host_os dld.sl"
8848 shlibpath_var=SHLIB_PATH
8849 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8851 soname_spec='${libname}${release}${shared_ext}$major'
8854 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8855 postinstall_cmds='chmod 555 $lib'
8862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8863 soname_spec='${libname}${release}${shared_ext}$major'
8864 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8865 shlibpath_var=LD_LIBRARY_PATH
8866 shlibpath_overrides_runpath=no
8867 hardcode_into_libs=yes
8870 irix5* | irix6* | nonstopux*)
8872 nonstopux*) version_type=nonstopux ;;
8874 if test "$lt_cv_prog_gnu_ld" = yes; then
8882 soname_spec='${libname}${release}${shared_ext}$major'
8883 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8885 irix5* | nonstopux*)
8889 case $LD in # libtool.m4 will add one of these switches to LD
8890 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8891 libsuff= shlibsuff= libmagic=32-bit;;
8892 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8893 libsuff=32 shlibsuff=N32 libmagic=N32;;
8894 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8895 libsuff=64 shlibsuff=64 libmagic=64-bit;;
8896 *) libsuff= shlibsuff= libmagic=never-match;;
8900 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8901 shlibpath_overrides_runpath=no
8902 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8903 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8904 hardcode_into_libs=yes
8907 # No shared lib support for Linux oldld, aout, or coff.
8908 linux*oldld* | linux*aout* | linux*coff*)
8912 # This must be Linux ELF.
8913 linux* | k*bsd*-gnu)
8917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8918 soname_spec='${libname}${release}${shared_ext}$major'
8919 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8920 shlibpath_var=LD_LIBRARY_PATH
8921 shlibpath_overrides_runpath=no
8922 # Some binutils ld are patched to set DT_RUNPATH
8923 save_LDFLAGS=$LDFLAGS
8925 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8926 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8927 cat >conftest.$ac_ext <<_ACEOF
8930 cat confdefs.h >>conftest.$ac_ext
8931 cat >>conftest.$ac_ext <<_ACEOF
8932 /* end confdefs.h. */
8942 rm -f conftest.$ac_objext conftest$ac_exeext
8943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8944 (eval $ac_link) 2>conftest.er1
8946 grep -v '^ *+' conftest.er1 >conftest.err
8948 cat conftest.err >&5
8949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8950 (exit $ac_status); } &&
8951 { ac_try='test -z "$ac_c_werror_flag"
8952 || test ! -s conftest.err'
8953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8957 (exit $ac_status); }; } &&
8958 { ac_try='test -s conftest$ac_exeext'
8959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963 (exit $ac_status); }; }; then
8964 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
8965 shlibpath_overrides_runpath=yes
8969 echo "$as_me: failed program was:" >&5
8970 sed 's/^/| /' conftest.$ac_ext >&5
8973 rm -f conftest.err conftest.$ac_objext \
8974 conftest$ac_exeext conftest.$ac_ext
8975 LDFLAGS=$save_LDFLAGS
8978 # This implies no fast_install, which is unacceptable.
8979 # Some rework will be needed to allow for fast_install
8980 # before this can be enabled.
8981 hardcode_into_libs=yes
8983 # Append ld.so.conf contents to the search path
8984 if test -f /etc/ld.so.conf; then
8985 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' ' '`
8986 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8989 # We used to test for /lib/ld.so.1 and disable shared libraries on
8990 # powerpc, because MkLinux only supported shared libraries with the
8991 # GNU dynamic linker. Since this was broken with cross compilers,
8992 # most powerpc-linux boxes support dynamic linking these days and
8993 # people can always --disable-shared, the test was removed, and we
8994 # assume the GNU/Linux dynamic linker is in use.
8995 dynamic_linker='GNU/Linux ld.so'
9002 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9004 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9005 dynamic_linker='NetBSD (a.out) ld.so'
9007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9008 soname_spec='${libname}${release}${shared_ext}$major'
9009 dynamic_linker='NetBSD ld.elf_so'
9011 shlibpath_var=LD_LIBRARY_PATH
9012 shlibpath_overrides_runpath=yes
9013 hardcode_into_libs=yes
9018 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9019 shlibpath_var=LD_LIBRARY_PATH
9020 shlibpath_overrides_runpath=yes
9027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9028 soname_spec='${libname}${release}${shared_ext}$major'
9029 shlibpath_var=LD_LIBRARY_PATH
9030 shlibpath_overrides_runpath=no
9031 hardcode_into_libs=yes
9032 dynamic_linker='ldqnx.so'
9037 sys_lib_dlsearch_path_spec="/usr/lib"
9039 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9041 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9042 *) need_version=no ;;
9044 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9045 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9046 shlibpath_var=LD_LIBRARY_PATH
9047 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9049 openbsd2.[89] | openbsd2.[89].*)
9050 shlibpath_overrides_runpath=no
9053 shlibpath_overrides_runpath=yes
9057 shlibpath_overrides_runpath=yes
9062 libname_spec='$name'
9065 library_names_spec='$libname${shared_ext} $libname.a'
9066 dynamic_linker='OS/2 ld.exe'
9067 shlibpath_var=LIBPATH
9070 osf3* | osf4* | osf5*)
9074 soname_spec='${libname}${release}${shared_ext}$major'
9075 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9076 shlibpath_var=LD_LIBRARY_PATH
9077 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9078 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9089 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9090 soname_spec='${libname}${release}${shared_ext}$major'
9091 shlibpath_var=LD_LIBRARY_PATH
9092 shlibpath_overrides_runpath=yes
9093 hardcode_into_libs=yes
9094 # ldd complains unless libraries are executable
9095 postinstall_cmds='chmod +x $lib'
9100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9101 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9102 shlibpath_var=LD_LIBRARY_PATH
9103 shlibpath_overrides_runpath=yes
9104 if test "$with_gnu_ld" = yes; then
9112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9113 soname_spec='${libname}${release}${shared_ext}$major'
9114 shlibpath_var=LD_LIBRARY_PATH
9115 case $host_vendor in
9117 shlibpath_overrides_runpath=no
9119 runpath_var=LD_RUN_PATH
9127 shlibpath_overrides_runpath=no
9128 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9134 if test -d /usr/nec ;then
9136 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9137 soname_spec='$libname${shared_ext}.$major'
9138 shlibpath_var=LD_LIBRARY_PATH
9142 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9143 version_type=freebsd-elf
9146 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9147 soname_spec='${libname}${release}${shared_ext}$major'
9148 shlibpath_var=LD_LIBRARY_PATH
9149 shlibpath_overrides_runpath=yes
9150 hardcode_into_libs=yes
9151 if test "$with_gnu_ld" = yes; then
9152 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9154 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9157 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9161 sys_lib_dlsearch_path_spec='/usr/lib'
9165 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9169 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9170 shlibpath_var=LD_LIBRARY_PATH
9171 shlibpath_overrides_runpath=no
9172 hardcode_into_libs=yes
9177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9178 soname_spec='${libname}${release}${shared_ext}$major'
9179 shlibpath_var=LD_LIBRARY_PATH
9186 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9187 echo "${ECHO_T}$dynamic_linker" >&6
9188 test "$dynamic_linker" = no && can_build_shared=no
9190 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9191 if test "$GCC" = yes; then
9192 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9281 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9282 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9284 if test -n "$hardcode_libdir_flag_spec" ||
9285 test -n "$runpath_var" ||
9286 test "X$hardcode_automatic" = "Xyes" ; then
9288 # We can hardcode non-existent directories.
9289 if test "$hardcode_direct" != no &&
9290 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9291 # have to relink, otherwise we might link with an installed library
9292 # when we should be linking with a yet-to-be-installed one
9293 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9294 test "$hardcode_minus_L" != no; then
9295 # Linking always hardcodes the temporary library directory.
9296 hardcode_action=relink
9298 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9299 hardcode_action=immediate
9302 # We cannot hardcode anything, or else we can only hardcode existing
9304 hardcode_action=unsupported
9306 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9307 echo "${ECHO_T}$hardcode_action" >&6
9309 if test "$hardcode_action" = relink ||
9310 test "$inherit_rpath" = yes; then
9311 # Fast installation is not supported
9312 enable_fast_install=no
9313 elif test "$shlibpath_overrides_runpath" = yes ||
9314 test "$enable_shared" = no; then
9315 # Fast installation is not necessary
9316 enable_fast_install=needless
9324 if test "x$enable_dlopen" != xyes; then
9325 enable_dlopen=unknown
9326 enable_dlopen_self=unknown
9327 enable_dlopen_self_static=unknown
9334 lt_cv_dlopen="load_add_on"
9336 lt_cv_dlopen_self=yes
9340 lt_cv_dlopen="LoadLibrary"
9345 lt_cv_dlopen="dlopen"
9350 # if libdl is installed we need to link against it
9351 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9352 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9353 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9354 echo $ECHO_N "(cached) $ECHO_C" >&6
9356 ac_check_lib_save_LIBS=$LIBS
9358 cat >conftest.$ac_ext <<_ACEOF
9361 cat confdefs.h >>conftest.$ac_ext
9362 cat >>conftest.$ac_ext <<_ACEOF
9363 /* end confdefs.h. */
9365 /* Override any gcc2 internal prototype to avoid an error. */
9369 /* We use char because int might match the return type of a gcc2
9370 builtin and then its argument prototype would still apply. */
9380 rm -f conftest.$ac_objext conftest$ac_exeext
9381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9382 (eval $ac_link) 2>conftest.er1
9384 grep -v '^ *+' conftest.er1 >conftest.err
9386 cat conftest.err >&5
9387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388 (exit $ac_status); } &&
9389 { ac_try='test -z "$ac_c_werror_flag"
9390 || test ! -s conftest.err'
9391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9395 (exit $ac_status); }; } &&
9396 { ac_try='test -s conftest$ac_exeext'
9397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401 (exit $ac_status); }; }; then
9402 ac_cv_lib_dl_dlopen=yes
9404 echo "$as_me: failed program was:" >&5
9405 sed 's/^/| /' conftest.$ac_ext >&5
9407 ac_cv_lib_dl_dlopen=no
9409 rm -f conftest.err conftest.$ac_objext \
9410 conftest$ac_exeext conftest.$ac_ext
9411 LIBS=$ac_check_lib_save_LIBS
9413 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9414 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9415 if test $ac_cv_lib_dl_dlopen = yes; then
9416 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9421 lt_cv_dlopen_self=yes
9428 echo "$as_me:$LINENO: checking for shl_load" >&5
9429 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9430 if test "${ac_cv_func_shl_load+set}" = set; then
9431 echo $ECHO_N "(cached) $ECHO_C" >&6
9433 cat >conftest.$ac_ext <<_ACEOF
9436 cat confdefs.h >>conftest.$ac_ext
9437 cat >>conftest.$ac_ext <<_ACEOF
9438 /* end confdefs.h. */
9439 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9441 #define shl_load innocuous_shl_load
9443 /* System header to define __stub macros and hopefully few prototypes,
9444 which can conflict with char shl_load (); below.
9445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9446 <limits.h> exists even on freestanding compilers. */
9449 # include <limits.h>
9451 # include <assert.h>
9456 /* Override any gcc2 internal prototype to avoid an error. */
9461 /* We use char because int might match the return type of a gcc2
9462 builtin and then its argument prototype would still apply. */
9464 /* The GNU C library defines this for functions which it implements
9465 to always fail with ENOSYS. Some functions are actually named
9466 something starting with __ and the normal name is an alias. */
9467 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9470 char (*f) () = shl_load;
9479 return f != shl_load;
9484 rm -f conftest.$ac_objext conftest$ac_exeext
9485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9486 (eval $ac_link) 2>conftest.er1
9488 grep -v '^ *+' conftest.er1 >conftest.err
9490 cat conftest.err >&5
9491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9492 (exit $ac_status); } &&
9493 { ac_try='test -z "$ac_c_werror_flag"
9494 || test ! -s conftest.err'
9495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 (exit $ac_status); }; } &&
9500 { ac_try='test -s conftest$ac_exeext'
9501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); }; }; then
9506 ac_cv_func_shl_load=yes
9508 echo "$as_me: failed program was:" >&5
9509 sed 's/^/| /' conftest.$ac_ext >&5
9511 ac_cv_func_shl_load=no
9513 rm -f conftest.err conftest.$ac_objext \
9514 conftest$ac_exeext conftest.$ac_ext
9516 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9517 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9518 if test $ac_cv_func_shl_load = yes; then
9519 lt_cv_dlopen="shl_load"
9521 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9522 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9523 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9524 echo $ECHO_N "(cached) $ECHO_C" >&6
9526 ac_check_lib_save_LIBS=$LIBS
9528 cat >conftest.$ac_ext <<_ACEOF
9531 cat confdefs.h >>conftest.$ac_ext
9532 cat >>conftest.$ac_ext <<_ACEOF
9533 /* end confdefs.h. */
9535 /* Override any gcc2 internal prototype to avoid an error. */
9539 /* We use char because int might match the return type of a gcc2
9540 builtin and then its argument prototype would still apply. */
9550 rm -f conftest.$ac_objext conftest$ac_exeext
9551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9552 (eval $ac_link) 2>conftest.er1
9554 grep -v '^ *+' conftest.er1 >conftest.err
9556 cat conftest.err >&5
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 (exit $ac_status); } &&
9559 { ac_try='test -z "$ac_c_werror_flag"
9560 || test ! -s conftest.err'
9561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9565 (exit $ac_status); }; } &&
9566 { ac_try='test -s conftest$ac_exeext'
9567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9571 (exit $ac_status); }; }; then
9572 ac_cv_lib_dld_shl_load=yes
9574 echo "$as_me: failed program was:" >&5
9575 sed 's/^/| /' conftest.$ac_ext >&5
9577 ac_cv_lib_dld_shl_load=no
9579 rm -f conftest.err conftest.$ac_objext \
9580 conftest$ac_exeext conftest.$ac_ext
9581 LIBS=$ac_check_lib_save_LIBS
9583 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9584 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9585 if test $ac_cv_lib_dld_shl_load = yes; then
9586 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9588 echo "$as_me:$LINENO: checking for dlopen" >&5
9589 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9590 if test "${ac_cv_func_dlopen+set}" = set; then
9591 echo $ECHO_N "(cached) $ECHO_C" >&6
9593 cat >conftest.$ac_ext <<_ACEOF
9596 cat confdefs.h >>conftest.$ac_ext
9597 cat >>conftest.$ac_ext <<_ACEOF
9598 /* end confdefs.h. */
9599 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9601 #define dlopen innocuous_dlopen
9603 /* System header to define __stub macros and hopefully few prototypes,
9604 which can conflict with char dlopen (); below.
9605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9606 <limits.h> exists even on freestanding compilers. */
9609 # include <limits.h>
9611 # include <assert.h>
9616 /* Override any gcc2 internal prototype to avoid an error. */
9621 /* We use char because int might match the return type of a gcc2
9622 builtin and then its argument prototype would still apply. */
9624 /* The GNU C library defines this for functions which it implements
9625 to always fail with ENOSYS. Some functions are actually named
9626 something starting with __ and the normal name is an alias. */
9627 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9630 char (*f) () = dlopen;
9644 rm -f conftest.$ac_objext conftest$ac_exeext
9645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9646 (eval $ac_link) 2>conftest.er1
9648 grep -v '^ *+' conftest.er1 >conftest.err
9650 cat conftest.err >&5
9651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9652 (exit $ac_status); } &&
9653 { ac_try='test -z "$ac_c_werror_flag"
9654 || test ! -s conftest.err'
9655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9659 (exit $ac_status); }; } &&
9660 { ac_try='test -s conftest$ac_exeext'
9661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665 (exit $ac_status); }; }; then
9666 ac_cv_func_dlopen=yes
9668 echo "$as_me: failed program was:" >&5
9669 sed 's/^/| /' conftest.$ac_ext >&5
9671 ac_cv_func_dlopen=no
9673 rm -f conftest.err conftest.$ac_objext \
9674 conftest$ac_exeext conftest.$ac_ext
9676 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9677 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9678 if test $ac_cv_func_dlopen = yes; then
9679 lt_cv_dlopen="dlopen"
9681 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9682 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9683 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9684 echo $ECHO_N "(cached) $ECHO_C" >&6
9686 ac_check_lib_save_LIBS=$LIBS
9688 cat >conftest.$ac_ext <<_ACEOF
9691 cat confdefs.h >>conftest.$ac_ext
9692 cat >>conftest.$ac_ext <<_ACEOF
9693 /* end confdefs.h. */
9695 /* Override any gcc2 internal prototype to avoid an error. */
9699 /* We use char because int might match the return type of a gcc2
9700 builtin and then its argument prototype would still apply. */
9710 rm -f conftest.$ac_objext conftest$ac_exeext
9711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9712 (eval $ac_link) 2>conftest.er1
9714 grep -v '^ *+' conftest.er1 >conftest.err
9716 cat conftest.err >&5
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); } &&
9719 { ac_try='test -z "$ac_c_werror_flag"
9720 || test ! -s conftest.err'
9721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 (exit $ac_status); }; } &&
9726 { ac_try='test -s conftest$ac_exeext'
9727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9731 (exit $ac_status); }; }; then
9732 ac_cv_lib_dl_dlopen=yes
9734 echo "$as_me: failed program was:" >&5
9735 sed 's/^/| /' conftest.$ac_ext >&5
9737 ac_cv_lib_dl_dlopen=no
9739 rm -f conftest.err conftest.$ac_objext \
9740 conftest$ac_exeext conftest.$ac_ext
9741 LIBS=$ac_check_lib_save_LIBS
9743 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9744 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9745 if test $ac_cv_lib_dl_dlopen = yes; then
9746 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9748 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9749 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9750 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9751 echo $ECHO_N "(cached) $ECHO_C" >&6
9753 ac_check_lib_save_LIBS=$LIBS
9755 cat >conftest.$ac_ext <<_ACEOF
9758 cat confdefs.h >>conftest.$ac_ext
9759 cat >>conftest.$ac_ext <<_ACEOF
9760 /* end confdefs.h. */
9762 /* Override any gcc2 internal prototype to avoid an error. */
9766 /* We use char because int might match the return type of a gcc2
9767 builtin and then its argument prototype would still apply. */
9777 rm -f conftest.$ac_objext conftest$ac_exeext
9778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9779 (eval $ac_link) 2>conftest.er1
9781 grep -v '^ *+' conftest.er1 >conftest.err
9783 cat conftest.err >&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); } &&
9786 { ac_try='test -z "$ac_c_werror_flag"
9787 || test ! -s conftest.err'
9788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9792 (exit $ac_status); }; } &&
9793 { ac_try='test -s conftest$ac_exeext'
9794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798 (exit $ac_status); }; }; then
9799 ac_cv_lib_svld_dlopen=yes
9801 echo "$as_me: failed program was:" >&5
9802 sed 's/^/| /' conftest.$ac_ext >&5
9804 ac_cv_lib_svld_dlopen=no
9806 rm -f conftest.err conftest.$ac_objext \
9807 conftest$ac_exeext conftest.$ac_ext
9808 LIBS=$ac_check_lib_save_LIBS
9810 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9811 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9812 if test $ac_cv_lib_svld_dlopen = yes; then
9813 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9815 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9816 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9817 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9818 echo $ECHO_N "(cached) $ECHO_C" >&6
9820 ac_check_lib_save_LIBS=$LIBS
9822 cat >conftest.$ac_ext <<_ACEOF
9825 cat confdefs.h >>conftest.$ac_ext
9826 cat >>conftest.$ac_ext <<_ACEOF
9827 /* end confdefs.h. */
9829 /* Override any gcc2 internal prototype to avoid an error. */
9833 /* We use char because int might match the return type of a gcc2
9834 builtin and then its argument prototype would still apply. */
9844 rm -f conftest.$ac_objext conftest$ac_exeext
9845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9846 (eval $ac_link) 2>conftest.er1
9848 grep -v '^ *+' conftest.er1 >conftest.err
9850 cat conftest.err >&5
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 (exit $ac_status); } &&
9853 { ac_try='test -z "$ac_c_werror_flag"
9854 || test ! -s conftest.err'
9855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); }; } &&
9860 { ac_try='test -s conftest$ac_exeext'
9861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); }; }; then
9866 ac_cv_lib_dld_dld_link=yes
9868 echo "$as_me: failed program was:" >&5
9869 sed 's/^/| /' conftest.$ac_ext >&5
9871 ac_cv_lib_dld_dld_link=no
9873 rm -f conftest.err conftest.$ac_objext \
9874 conftest$ac_exeext conftest.$ac_ext
9875 LIBS=$ac_check_lib_save_LIBS
9877 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9878 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9879 if test $ac_cv_lib_dld_dld_link = yes; then
9880 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9901 if test "x$lt_cv_dlopen" != xno; then
9907 case $lt_cv_dlopen in
9909 save_CPPFLAGS="$CPPFLAGS"
9910 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9912 save_LDFLAGS="$LDFLAGS"
9913 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9916 LIBS="$lt_cv_dlopen_libs $LIBS"
9918 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9919 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9920 if test "${lt_cv_dlopen_self+set}" = set; then
9921 echo $ECHO_N "(cached) $ECHO_C" >&6
9923 if test "$cross_compiling" = yes; then :
9924 lt_cv_dlopen_self=cross
9926 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9927 lt_status=$lt_dlunknown
9928 cat > conftest.$ac_ext <<_LT_EOF
9929 #line 9929 "configure"
9930 #include "confdefs.h"
9939 # define LT_DLGLOBAL RTLD_GLOBAL
9942 # define LT_DLGLOBAL DL_GLOBAL
9944 # define LT_DLGLOBAL 0
9948 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9949 find out it does not work in some platform. */
9950 #ifndef LT_DLLAZY_OR_NOW
9952 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9955 # define LT_DLLAZY_OR_NOW DL_LAZY
9958 # define LT_DLLAZY_OR_NOW RTLD_NOW
9961 # define LT_DLLAZY_OR_NOW DL_NOW
9963 # define LT_DLLAZY_OR_NOW 0
9971 extern "C" void exit (int);
9974 void fnord() { int i=42;}
9977 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9978 int status = $lt_dlunknown;
9982 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9983 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9984 /* dlclose (self); */
9992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9993 (eval $ac_link) 2>&5
9995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9996 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9997 (./conftest; exit; ) >&5 2>/dev/null
10000 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10001 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10002 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10005 # compilation failed
10006 lt_cv_dlopen_self=no
10013 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10014 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10016 if test "x$lt_cv_dlopen_self" = xyes; then
10017 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10018 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10019 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10020 if test "${lt_cv_dlopen_self_static+set}" = set; then
10021 echo $ECHO_N "(cached) $ECHO_C" >&6
10023 if test "$cross_compiling" = yes; then :
10024 lt_cv_dlopen_self_static=cross
10026 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10027 lt_status=$lt_dlunknown
10028 cat > conftest.$ac_ext <<_LT_EOF
10029 #line 10029 "configure"
10030 #include "confdefs.h"
10039 # define LT_DLGLOBAL RTLD_GLOBAL
10042 # define LT_DLGLOBAL DL_GLOBAL
10044 # define LT_DLGLOBAL 0
10048 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10049 find out it does not work in some platform. */
10050 #ifndef LT_DLLAZY_OR_NOW
10052 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10055 # define LT_DLLAZY_OR_NOW DL_LAZY
10058 # define LT_DLLAZY_OR_NOW RTLD_NOW
10061 # define LT_DLLAZY_OR_NOW DL_NOW
10063 # define LT_DLLAZY_OR_NOW 0
10071 extern "C" void exit (int);
10074 void fnord() { int i=42;}
10077 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10078 int status = $lt_dlunknown;
10082 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10083 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10084 /* dlclose (self); */
10092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10093 (eval $ac_link) 2>&5
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10097 (./conftest; exit; ) >&5 2>/dev/null
10099 case x$lt_status in
10100 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10101 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10102 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10105 # compilation failed
10106 lt_cv_dlopen_self_static=no
10113 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10114 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10117 CPPFLAGS="$save_CPPFLAGS"
10118 LDFLAGS="$save_LDFLAGS"
10123 case $lt_cv_dlopen_self in
10124 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10125 *) enable_dlopen_self=unknown ;;
10128 case $lt_cv_dlopen_self_static in
10129 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10130 *) enable_dlopen_self_static=unknown ;;
10152 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10153 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10154 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10155 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10156 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10157 echo "$as_me:$LINENO: result: yes" >&5
10158 echo "${ECHO_T}yes" >&6
10160 # FIXME - insert some real tests, host_os isn't really good enough
10163 if test -n "$STRIP" ; then
10164 striplib="$STRIP -x"
10165 old_striplib="$STRIP -S"
10166 echo "$as_me:$LINENO: result: yes" >&5
10167 echo "${ECHO_T}yes" >&6
10169 echo "$as_me:$LINENO: result: no" >&5
10170 echo "${ECHO_T}no" >&6
10174 echo "$as_me:$LINENO: result: no" >&5
10175 echo "${ECHO_T}no" >&6
10191 # Report which library types will actually be built
10192 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10193 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10194 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10195 echo "${ECHO_T}$can_build_shared" >&6
10197 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10198 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10199 test "$can_build_shared" = "no" && enable_shared=no
10201 # On AIX, shared libraries and static libraries use the same namespace, and
10202 # are all built from PIC.
10205 test "$enable_shared" = yes && enable_static=no
10206 if test -n "$RANLIB"; then
10207 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10208 postinstall_cmds='$RANLIB $lib'
10213 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10214 test "$enable_shared" = yes && enable_static=no
10218 echo "$as_me:$LINENO: result: $enable_shared" >&5
10219 echo "${ECHO_T}$enable_shared" >&6
10221 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10222 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10223 # Make sure either enable_shared or enable_static is yes.
10224 test "$enable_shared" = yes || enable_static=yes
10225 echo "$as_me:$LINENO: result: $enable_static" >&5
10226 echo "${ECHO_T}$enable_static" >&6
10233 ac_cpp='$CPP $CPPFLAGS'
10234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10252 ac_config_commands="$ac_config_commands libtool"
10257 # Only expand once:
10261 # Check whether --enable-targets or --disable-targets was given.
10262 if test "${enable_targets+set}" = set; then
10263 enableval="$enable_targets"
10264 case "${enableval}" in
10265 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
10266 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
10267 { (exit 1); exit 1; }; }
10269 no) enable_targets= ;;
10270 *) enable_targets=$enableval ;;
10272 fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
10273 if test "${enable_commonbfdlib+set}" = set; then
10274 enableval="$enable_commonbfdlib"
10275 case "${enableval}" in
10276 yes) commonbfdlib=true ;;
10277 no) commonbfdlib=false ;;
10278 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
10279 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
10280 { (exit 1); exit 1; }; } ;;
10284 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
10286 # Check whether --enable-werror or --disable-werror was given.
10287 if test "${enable_werror+set}" = set; then
10288 enableval="$enable_werror"
10289 case "${enableval}" in
10290 yes | y) ERROR_ON_WARNING="yes" ;;
10291 no | n) ERROR_ON_WARNING="no" ;;
10292 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
10293 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
10294 { (exit 1); exit 1; }; } ;;
10298 # Enable -Werror by default when using gcc
10299 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10300 ERROR_ON_WARNING=yes
10304 if test "${ERROR_ON_WARNING}" = yes ; then
10305 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
10306 NO_WERROR="-Wno-error"
10309 if test "${GCC}" = yes ; then
10310 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
10313 # Check whether --enable-build-warnings or --disable-build-warnings was given.
10314 if test "${enable_build_warnings+set}" = set; then
10315 enableval="$enable_build_warnings"
10316 case "${enableval}" in
10317 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
10318 no) if test "${GCC}" = yes ; then
10321 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
10322 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
10323 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
10324 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
10325 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
10329 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
10330 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
10337 ac_config_headers="$ac_config_headers config.h:config.in"
10340 if test -z "$target" ; then
10341 { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
10342 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
10343 { (exit 1); exit 1; }; }
10345 if test -z "$host" ; then
10346 { { echo "$as_me:$LINENO: error: Unrecognized host system type; please check config.sub." >&5
10347 echo "$as_me: error: Unrecognized host system type; please check config.sub." >&2;}
10348 { (exit 1); exit 1; }; }
10351 for ac_prog in 'bison -y' byacc
10353 # Extract the first word of "$ac_prog", so it can be a program name with args.
10354 set dummy $ac_prog; ac_word=$2
10355 echo "$as_me:$LINENO: checking for $ac_word" >&5
10356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10357 if test "${ac_cv_prog_YACC+set}" = set; then
10358 echo $ECHO_N "(cached) $ECHO_C" >&6
10360 if test -n "$YACC"; then
10361 ac_cv_prog_YACC="$YACC" # Let the user override the test.
10363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10364 for as_dir in $PATH
10367 test -z "$as_dir" && as_dir=.
10368 for ac_exec_ext in '' $ac_executable_extensions; do
10369 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10370 ac_cv_prog_YACC="$ac_prog"
10371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10379 YACC=$ac_cv_prog_YACC
10380 if test -n "$YACC"; then
10381 echo "$as_me:$LINENO: result: $YACC" >&5
10382 echo "${ECHO_T}$YACC" >&6
10384 echo "$as_me:$LINENO: result: no" >&5
10385 echo "${ECHO_T}no" >&6
10388 test -n "$YACC" && break
10390 test -n "$YACC" || YACC="yacc"
10392 for ac_prog in flex lex
10394 # Extract the first word of "$ac_prog", so it can be a program name with args.
10395 set dummy $ac_prog; ac_word=$2
10396 echo "$as_me:$LINENO: checking for $ac_word" >&5
10397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10398 if test "${ac_cv_prog_LEX+set}" = set; then
10399 echo $ECHO_N "(cached) $ECHO_C" >&6
10401 if test -n "$LEX"; then
10402 ac_cv_prog_LEX="$LEX" # Let the user override the test.
10404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10405 for as_dir in $PATH
10408 test -z "$as_dir" && as_dir=.
10409 for ac_exec_ext in '' $ac_executable_extensions; do
10410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10411 ac_cv_prog_LEX="$ac_prog"
10412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10420 LEX=$ac_cv_prog_LEX
10421 if test -n "$LEX"; then
10422 echo "$as_me:$LINENO: result: $LEX" >&5
10423 echo "${ECHO_T}$LEX" >&6
10425 echo "$as_me:$LINENO: result: no" >&5
10426 echo "${ECHO_T}no" >&6
10429 test -n "$LEX" && break
10431 test -n "$LEX" || LEX=":"
10433 if test -z "$LEXLIB"
10435 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
10436 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
10437 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
10438 echo $ECHO_N "(cached) $ECHO_C" >&6
10440 ac_check_lib_save_LIBS=$LIBS
10442 cat >conftest.$ac_ext <<_ACEOF
10445 cat confdefs.h >>conftest.$ac_ext
10446 cat >>conftest.$ac_ext <<_ACEOF
10447 /* end confdefs.h. */
10449 /* Override any gcc2 internal prototype to avoid an error. */
10453 /* We use char because int might match the return type of a gcc2
10454 builtin and then its argument prototype would still apply. */
10464 rm -f conftest.$ac_objext conftest$ac_exeext
10465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10466 (eval $ac_link) 2>conftest.er1
10468 grep -v '^ *+' conftest.er1 >conftest.err
10470 cat conftest.err >&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); } &&
10473 { ac_try='test -z "$ac_c_werror_flag"
10474 || test ! -s conftest.err'
10475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10476 (eval $ac_try) 2>&5
10478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10479 (exit $ac_status); }; } &&
10480 { ac_try='test -s conftest$ac_exeext'
10481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10482 (eval $ac_try) 2>&5
10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); }; }; then
10486 ac_cv_lib_fl_yywrap=yes
10488 echo "$as_me: failed program was:" >&5
10489 sed 's/^/| /' conftest.$ac_ext >&5
10491 ac_cv_lib_fl_yywrap=no
10493 rm -f conftest.err conftest.$ac_objext \
10494 conftest$ac_exeext conftest.$ac_ext
10495 LIBS=$ac_check_lib_save_LIBS
10497 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
10498 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
10499 if test $ac_cv_lib_fl_yywrap = yes; then
10502 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
10503 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
10504 if test "${ac_cv_lib_l_yywrap+set}" = set; then
10505 echo $ECHO_N "(cached) $ECHO_C" >&6
10507 ac_check_lib_save_LIBS=$LIBS
10509 cat >conftest.$ac_ext <<_ACEOF
10512 cat confdefs.h >>conftest.$ac_ext
10513 cat >>conftest.$ac_ext <<_ACEOF
10514 /* end confdefs.h. */
10516 /* Override any gcc2 internal prototype to avoid an error. */
10520 /* We use char because int might match the return type of a gcc2
10521 builtin and then its argument prototype would still apply. */
10531 rm -f conftest.$ac_objext conftest$ac_exeext
10532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10533 (eval $ac_link) 2>conftest.er1
10535 grep -v '^ *+' conftest.er1 >conftest.err
10537 cat conftest.err >&5
10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 (exit $ac_status); } &&
10540 { ac_try='test -z "$ac_c_werror_flag"
10541 || test ! -s conftest.err'
10542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10543 (eval $ac_try) 2>&5
10545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546 (exit $ac_status); }; } &&
10547 { ac_try='test -s conftest$ac_exeext'
10548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10549 (eval $ac_try) 2>&5
10551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10552 (exit $ac_status); }; }; then
10553 ac_cv_lib_l_yywrap=yes
10555 echo "$as_me: failed program was:" >&5
10556 sed 's/^/| /' conftest.$ac_ext >&5
10558 ac_cv_lib_l_yywrap=no
10560 rm -f conftest.err conftest.$ac_objext \
10561 conftest$ac_exeext conftest.$ac_ext
10562 LIBS=$ac_check_lib_save_LIBS
10564 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
10565 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
10566 if test $ac_cv_lib_l_yywrap = yes; then
10574 if test "x$LEX" != "x:"; then
10575 echo "$as_me:$LINENO: checking lex output file root" >&5
10576 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
10577 if test "${ac_cv_prog_lex_root+set}" = set; then
10578 echo $ECHO_N "(cached) $ECHO_C" >&6
10580 # The minimal lex program is just a single line: %%. But some broken lexes
10581 # (Solaris, I think it was) want two %% lines, so accommodate them.
10582 cat >conftest.l <<_ACEOF
10586 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
10587 (eval $LEX conftest.l) 2>&5
10589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10590 (exit $ac_status); }
10591 if test -f lex.yy.c; then
10592 ac_cv_prog_lex_root=lex.yy
10593 elif test -f lexyy.c; then
10594 ac_cv_prog_lex_root=lexyy
10596 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
10597 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
10598 { (exit 1); exit 1; }; }
10601 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
10602 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
10604 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
10606 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
10607 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
10608 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
10609 echo $ECHO_N "(cached) $ECHO_C" >&6
10611 # POSIX says lex can declare yytext either as a pointer or an array; the
10612 # default is implementation-dependent. Figure out which it is, since
10613 # not all implementations provide the %pointer and %array declarations.
10614 ac_cv_prog_lex_yytext_pointer=no
10615 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
10617 LIBS="$LIBS $LEXLIB"
10618 cat >conftest.$ac_ext <<_ACEOF
10619 `cat $LEX_OUTPUT_ROOT.c`
10621 rm -f conftest.$ac_objext conftest$ac_exeext
10622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10623 (eval $ac_link) 2>conftest.er1
10625 grep -v '^ *+' conftest.er1 >conftest.err
10627 cat conftest.err >&5
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); } &&
10630 { ac_try='test -z "$ac_c_werror_flag"
10631 || test ! -s conftest.err'
10632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10633 (eval $ac_try) 2>&5
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); }; } &&
10637 { ac_try='test -s conftest$ac_exeext'
10638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10639 (eval $ac_try) 2>&5
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); }; }; then
10643 ac_cv_prog_lex_yytext_pointer=yes
10645 echo "$as_me: failed program was:" >&5
10646 sed 's/^/| /' conftest.$ac_ext >&5
10649 rm -f conftest.err conftest.$ac_objext \
10650 conftest$ac_exeext conftest.$ac_ext
10652 rm -f "${LEX_OUTPUT_ROOT}.c"
10655 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
10656 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
10657 if test $ac_cv_prog_lex_yytext_pointer = yes; then
10659 cat >>confdefs.h <<\_ACEOF
10660 #define YYTEXT_POINTER 1
10666 if test "$LEX" = :; then
10667 LEX=${am_missing_run}flex
10670 ALL_LINGUAS="fr tr ja es sv da zh_CN ru ro rw zh_TW fi vi"
10671 # If we haven't got the data from the intl directory,
10672 # assume NLS is disabled.
10681 if test -f ../intl/config.intl; then
10682 . ../intl/config.intl
10684 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10685 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10686 if test x"$USE_NLS" != xyes; then
10687 echo "$as_me:$LINENO: result: no" >&5
10688 echo "${ECHO_T}no" >&6
10690 echo "$as_me:$LINENO: result: yes" >&5
10691 echo "${ECHO_T}yes" >&6
10693 cat >>confdefs.h <<\_ACEOF
10694 #define ENABLE_NLS 1
10698 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
10699 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
10700 # Look for .po and .gmo files in the source directory.
10703 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
10704 # If there aren't any .gmo files the shell will give us the
10705 # literal string "../path/to/srcdir/po/*.gmo" which has to be
10707 case "$cat" in *\**)
10710 # The quadruple backslash is collapsed to a double backslash
10711 # by the backticks, then collapsed again by the double quotes,
10712 # leaving us with one backslash in the sed expression (right
10713 # before the dot that mustn't act as a wildcard).
10714 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
10715 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
10716 # The user is allowed to set LINGUAS to a list of languages to
10717 # install catalogs for. If it's empty that means "all of them."
10718 if test "x$LINGUAS" = x; then
10719 CATALOGS="$CATALOGS $cat"
10720 XLINGUAS="$XLINGUAS $lang"
10722 case "$LINGUAS" in *$lang*)
10723 CATALOGS="$CATALOGS $cat"
10724 XLINGUAS="$XLINGUAS $lang"
10729 LINGUAS="$XLINGUAS"
10730 echo "$as_me:$LINENO: result: $LINGUAS" >&5
10731 echo "${ECHO_T}$LINGUAS" >&6
10745 if test -n "$ac_aux_dir"; then
10746 case "$ac_aux_dir" in
10747 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
10748 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
10751 if test -z "$MKINSTALLDIRS"; then
10752 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
10757 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
10758 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
10759 # Check whether --enable-nls or --disable-nls was given.
10760 if test "${enable_nls+set}" = set; then
10761 enableval="$enable_nls"
10766 echo "$as_me:$LINENO: result: $USE_NLS" >&5
10767 echo "${ECHO_T}$USE_NLS" >&6
10774 # Prepare PATH_SEPARATOR.
10775 # The user is always right.
10776 if test "${PATH_SEPARATOR+set}" != set; then
10777 echo "#! /bin/sh" >conf$$.sh
10778 echo "exit 0" >>conf$$.sh
10780 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10788 # Find out how to test for executable files. Don't use a zero-byte file,
10789 # as systems may use methods other than mode bits to determine executability.
10790 cat >conf$$.file <<_ASEOF
10794 chmod +x conf$$.file
10795 if test -x conf$$.file >/dev/null 2>&1; then
10796 ac_executable_p="test -x"
10798 ac_executable_p="test -f"
10802 # Extract the first word of "msgfmt", so it can be a program name with args.
10803 set dummy msgfmt; ac_word=$2
10804 echo "$as_me:$LINENO: checking for $ac_word" >&5
10805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10806 if test "${ac_cv_path_MSGFMT+set}" = set; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6
10811 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
10814 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
10815 for ac_dir in $PATH; do
10817 test -z "$ac_dir" && ac_dir=.
10818 for ac_exec_ext in '' $ac_executable_extensions; do
10819 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10820 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
10821 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
10822 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
10829 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
10833 MSGFMT="$ac_cv_path_MSGFMT"
10834 if test "$MSGFMT" != ":"; then
10835 echo "$as_me:$LINENO: result: $MSGFMT" >&5
10836 echo "${ECHO_T}$MSGFMT" >&6
10838 echo "$as_me:$LINENO: result: no" >&5
10839 echo "${ECHO_T}no" >&6
10842 # Extract the first word of "gmsgfmt", so it can be a program name with args.
10843 set dummy gmsgfmt; ac_word=$2
10844 echo "$as_me:$LINENO: checking for $ac_word" >&5
10845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10846 if test "${ac_cv_path_GMSGFMT+set}" = set; then
10847 echo $ECHO_N "(cached) $ECHO_C" >&6
10851 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
10854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10855 for as_dir in $PATH
10858 test -z "$as_dir" && as_dir=.
10859 for ac_exec_ext in '' $ac_executable_extensions; do
10860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10861 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
10862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10868 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
10872 GMSGFMT=$ac_cv_path_GMSGFMT
10874 if test -n "$GMSGFMT"; then
10875 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
10876 echo "${ECHO_T}$GMSGFMT" >&6
10878 echo "$as_me:$LINENO: result: no" >&5
10879 echo "${ECHO_T}no" >&6
10884 # Prepare PATH_SEPARATOR.
10885 # The user is always right.
10886 if test "${PATH_SEPARATOR+set}" != set; then
10887 echo "#! /bin/sh" >conf$$.sh
10888 echo "exit 0" >>conf$$.sh
10890 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10898 # Find out how to test for executable files. Don't use a zero-byte file,
10899 # as systems may use methods other than mode bits to determine executability.
10900 cat >conf$$.file <<_ASEOF
10904 chmod +x conf$$.file
10905 if test -x conf$$.file >/dev/null 2>&1; then
10906 ac_executable_p="test -x"
10908 ac_executable_p="test -f"
10912 # Extract the first word of "xgettext", so it can be a program name with args.
10913 set dummy xgettext; ac_word=$2
10914 echo "$as_me:$LINENO: checking for $ac_word" >&5
10915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10916 if test "${ac_cv_path_XGETTEXT+set}" = set; then
10917 echo $ECHO_N "(cached) $ECHO_C" >&6
10919 case "$XGETTEXT" in
10921 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
10924 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
10925 for ac_dir in $PATH; do
10927 test -z "$ac_dir" && ac_dir=.
10928 for ac_exec_ext in '' $ac_executable_extensions; do
10929 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10930 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
10931 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
10932 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
10939 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
10943 XGETTEXT="$ac_cv_path_XGETTEXT"
10944 if test "$XGETTEXT" != ":"; then
10945 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
10946 echo "${ECHO_T}$XGETTEXT" >&6
10948 echo "$as_me:$LINENO: result: no" >&5
10949 echo "${ECHO_T}no" >&6
10955 # Prepare PATH_SEPARATOR.
10956 # The user is always right.
10957 if test "${PATH_SEPARATOR+set}" != set; then
10958 echo "#! /bin/sh" >conf$$.sh
10959 echo "exit 0" >>conf$$.sh
10961 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10969 # Find out how to test for executable files. Don't use a zero-byte file,
10970 # as systems may use methods other than mode bits to determine executability.
10971 cat >conf$$.file <<_ASEOF
10975 chmod +x conf$$.file
10976 if test -x conf$$.file >/dev/null 2>&1; then
10977 ac_executable_p="test -x"
10979 ac_executable_p="test -f"
10983 # Extract the first word of "msgmerge", so it can be a program name with args.
10984 set dummy msgmerge; ac_word=$2
10985 echo "$as_me:$LINENO: checking for $ac_word" >&5
10986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10987 if test "${ac_cv_path_MSGMERGE+set}" = set; then
10988 echo $ECHO_N "(cached) $ECHO_C" >&6
10990 case "$MSGMERGE" in
10992 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
10995 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
10996 for ac_dir in $PATH; do
10998 test -z "$ac_dir" && ac_dir=.
10999 for ac_exec_ext in '' $ac_executable_extensions; do
11000 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11001 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
11002 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
11009 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
11013 MSGMERGE="$ac_cv_path_MSGMERGE"
11014 if test "$MSGMERGE" != ":"; then
11015 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
11016 echo "${ECHO_T}$MSGMERGE" >&6
11018 echo "$as_me:$LINENO: result: no" >&5
11019 echo "${ECHO_T}no" >&6
11023 if test "$GMSGFMT" != ":"; then
11024 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
11025 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11028 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11029 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11030 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
11035 if test "$XGETTEXT" != ":"; then
11036 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
11037 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11040 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
11041 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
11047 ac_config_commands="$ac_config_commands default-1"
11051 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
11052 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
11053 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
11054 if test "${enable_maintainer_mode+set}" = set; then
11055 enableval="$enable_maintainer_mode"
11056 USE_MAINTAINER_MODE=$enableval
11058 USE_MAINTAINER_MODE=no
11060 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
11061 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
11064 if test $USE_MAINTAINER_MODE = yes; then
11065 MAINTAINER_MODE_TRUE=
11066 MAINTAINER_MODE_FALSE='#'
11068 MAINTAINER_MODE_TRUE='#'
11069 MAINTAINER_MODE_FALSE=
11072 MAINT=$MAINTAINER_MODE_TRUE
11078 GENINSRC_NEVER_TRUE=
11079 GENINSRC_NEVER_FALSE='#'
11081 GENINSRC_NEVER_TRUE='#'
11082 GENINSRC_NEVER_FALSE=
11086 if test -n "$EXEEXT"; then
11088 cat >>confdefs.h <<\_ACEOF
11089 #define HAVE_EXECUTABLE_SUFFIX 1
11094 cat >>confdefs.h <<_ACEOF
11095 #define EXECUTABLE_SUFFIX "${EXEEXT}"
11099 # host-specific stuff:
11103 . ${srcdir}/../bfd/configure.host
11108 if test -n "$ac_tool_prefix"; then
11109 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11110 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11111 echo "$as_me:$LINENO: checking for $ac_word" >&5
11112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11113 if test "${ac_cv_prog_RANLIB+set}" = set; then
11114 echo $ECHO_N "(cached) $ECHO_C" >&6
11116 if test -n "$RANLIB"; then
11117 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11120 for as_dir in $PATH
11123 test -z "$as_dir" && as_dir=.
11124 for ac_exec_ext in '' $ac_executable_extensions; do
11125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11126 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11135 RANLIB=$ac_cv_prog_RANLIB
11136 if test -n "$RANLIB"; then
11137 echo "$as_me:$LINENO: result: $RANLIB" >&5
11138 echo "${ECHO_T}$RANLIB" >&6
11140 echo "$as_me:$LINENO: result: no" >&5
11141 echo "${ECHO_T}no" >&6
11145 if test -z "$ac_cv_prog_RANLIB"; then
11146 ac_ct_RANLIB=$RANLIB
11147 # Extract the first word of "ranlib", so it can be a program name with args.
11148 set dummy ranlib; ac_word=$2
11149 echo "$as_me:$LINENO: checking for $ac_word" >&5
11150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11151 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11152 echo $ECHO_N "(cached) $ECHO_C" >&6
11154 if test -n "$ac_ct_RANLIB"; then
11155 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11158 for as_dir in $PATH
11161 test -z "$as_dir" && as_dir=.
11162 for ac_exec_ext in '' $ac_executable_extensions; do
11163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11164 ac_cv_prog_ac_ct_RANLIB="ranlib"
11165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11171 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11174 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11175 if test -n "$ac_ct_RANLIB"; then
11176 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11177 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11179 echo "$as_me:$LINENO: result: no" >&5
11180 echo "${ECHO_T}no" >&6
11183 RANLIB=$ac_ct_RANLIB
11185 RANLIB="$ac_cv_prog_RANLIB"
11188 # Find a good install program. We prefer a C program (faster),
11189 # so one script is as good as another. But avoid the broken or
11190 # incompatible versions:
11191 # SysV /etc/install, /usr/sbin/install
11192 # SunOS /usr/etc/install
11193 # IRIX /sbin/install
11195 # AmigaOS /C/install, which installs bootblocks on floppy discs
11196 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11197 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11198 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11199 # OS/2's system install, which has a completely different semantic
11200 # ./install, which can be erroneously created by make from ./install.sh.
11201 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11202 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11203 if test -z "$INSTALL"; then
11204 if test "${ac_cv_path_install+set}" = set; then
11205 echo $ECHO_N "(cached) $ECHO_C" >&6
11207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11208 for as_dir in $PATH
11211 test -z "$as_dir" && as_dir=.
11212 # Account for people who put trailing slashes in PATH elements.
11214 ./ | .// | /cC/* | \
11215 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11216 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11219 # OSF1 and SCO ODT 3.0 have their own names for install.
11220 # Don't use installbsd from OSF since it installs stuff as root
11222 for ac_prog in ginstall scoinst install; do
11223 for ac_exec_ext in '' $ac_executable_extensions; do
11224 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11225 if test $ac_prog = install &&
11226 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11227 # AIX install. It has an incompatible calling convention.
11229 elif test $ac_prog = install &&
11230 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11231 # program-specific install script used by HP pwplus--don't use.
11234 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11246 if test "${ac_cv_path_install+set}" = set; then
11247 INSTALL=$ac_cv_path_install
11249 # As a last resort, use the slow shell script. We don't cache a
11250 # path for INSTALL within a source directory, because that will
11251 # break other packages using the cache if that directory is
11252 # removed, or if the path is relative.
11253 INSTALL=$ac_install_sh
11256 echo "$as_me:$LINENO: result: $INSTALL" >&5
11257 echo "${ECHO_T}$INSTALL" >&6
11259 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11260 # It thinks the first close brace ends the variable substitution.
11261 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11263 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11265 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11268 # Put a plausible default for CC_FOR_BUILD in Makefile.
11269 if test -z "$CC_FOR_BUILD"; then
11270 if test "x$cross_compiling" = "xno"; then
11271 CC_FOR_BUILD='$(CC)'
11277 # Also set EXEEXT_FOR_BUILD.
11278 if test "x$cross_compiling" = "xno"; then
11279 EXEEXT_FOR_BUILD='$(EXEEXT)'
11281 echo "$as_me:$LINENO: checking for build system executable suffix" >&5
11282 echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
11283 if test "${bfd_cv_build_exeext+set}" = set; then
11284 echo $ECHO_N "(cached) $ECHO_C" >&6
11287 echo 'int main () { return 0; }' > conftest.c
11288 bfd_cv_build_exeext=
11289 ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
11290 for file in conftest.*; do
11292 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
11293 *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
11297 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
11299 echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
11300 echo "${ECHO_T}$bfd_cv_build_exeext" >&6
11301 EXEEXT_FOR_BUILD=""
11302 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
11306 DEMANGLER_NAME=c++filt
11308 *-*-go32* | *-*-msdos*)
11309 DEMANGLER_NAME=cxxfilt
11321 for ac_header in string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h limits.h sys/param.h
11323 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11325 echo "$as_me:$LINENO: checking for $ac_header" >&5
11326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11328 echo $ECHO_N "(cached) $ECHO_C" >&6
11330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11333 # Is the header compilable?
11334 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11335 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11336 cat >conftest.$ac_ext <<_ACEOF
11339 cat confdefs.h >>conftest.$ac_ext
11340 cat >>conftest.$ac_ext <<_ACEOF
11341 /* end confdefs.h. */
11342 $ac_includes_default
11343 #include <$ac_header>
11345 rm -f conftest.$ac_objext
11346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11347 (eval $ac_compile) 2>conftest.er1
11349 grep -v '^ *+' conftest.er1 >conftest.err
11351 cat conftest.err >&5
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); } &&
11354 { ac_try='test -z "$ac_c_werror_flag"
11355 || test ! -s conftest.err'
11356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11357 (eval $ac_try) 2>&5
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); }; } &&
11361 { ac_try='test -s conftest.$ac_objext'
11362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11363 (eval $ac_try) 2>&5
11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366 (exit $ac_status); }; }; then
11367 ac_header_compiler=yes
11369 echo "$as_me: failed program was:" >&5
11370 sed 's/^/| /' conftest.$ac_ext >&5
11372 ac_header_compiler=no
11374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11375 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11376 echo "${ECHO_T}$ac_header_compiler" >&6
11378 # Is the header present?
11379 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11380 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11381 cat >conftest.$ac_ext <<_ACEOF
11384 cat confdefs.h >>conftest.$ac_ext
11385 cat >>conftest.$ac_ext <<_ACEOF
11386 /* end confdefs.h. */
11387 #include <$ac_header>
11389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11392 grep -v '^ *+' conftest.er1 >conftest.err
11394 cat conftest.err >&5
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); } >/dev/null; then
11397 if test -s conftest.err; then
11398 ac_cpp_err=$ac_c_preproc_warn_flag
11399 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11406 if test -z "$ac_cpp_err"; then
11407 ac_header_preproc=yes
11409 echo "$as_me: failed program was:" >&5
11410 sed 's/^/| /' conftest.$ac_ext >&5
11412 ac_header_preproc=no
11414 rm -f conftest.err conftest.$ac_ext
11415 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11416 echo "${ECHO_T}$ac_header_preproc" >&6
11418 # So? What about this header?
11419 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11421 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11422 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11424 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11425 ac_header_preproc=yes
11428 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11429 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11430 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11431 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11432 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11433 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11434 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11435 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11437 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11438 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11439 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11442 ## ------------------------------------------ ##
11443 ## Report this to the AC_PACKAGE_NAME lists. ##
11444 ## ------------------------------------------ ##
11447 sed "s/^/$as_me: WARNING: /" >&2
11450 echo "$as_me:$LINENO: checking for $ac_header" >&5
11451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11453 echo $ECHO_N "(cached) $ECHO_C" >&6
11455 eval "$as_ac_Header=\$ac_header_preproc"
11457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11462 cat >>confdefs.h <<_ACEOF
11463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11470 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
11471 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
11472 if test "${ac_cv_header_sys_wait_h+set}" = set; then
11473 echo $ECHO_N "(cached) $ECHO_C" >&6
11475 cat >conftest.$ac_ext <<_ACEOF
11478 cat confdefs.h >>conftest.$ac_ext
11479 cat >>conftest.$ac_ext <<_ACEOF
11480 /* end confdefs.h. */
11481 #include <sys/types.h>
11482 #include <sys/wait.h>
11483 #ifndef WEXITSTATUS
11484 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
11487 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
11495 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
11500 rm -f conftest.$ac_objext
11501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11502 (eval $ac_compile) 2>conftest.er1
11504 grep -v '^ *+' conftest.er1 >conftest.err
11506 cat conftest.err >&5
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); } &&
11509 { ac_try='test -z "$ac_c_werror_flag"
11510 || test ! -s conftest.err'
11511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11512 (eval $ac_try) 2>&5
11514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11515 (exit $ac_status); }; } &&
11516 { ac_try='test -s conftest.$ac_objext'
11517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11518 (eval $ac_try) 2>&5
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); }; }; then
11522 ac_cv_header_sys_wait_h=yes
11524 echo "$as_me: failed program was:" >&5
11525 sed 's/^/| /' conftest.$ac_ext >&5
11527 ac_cv_header_sys_wait_h=no
11529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11531 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
11532 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
11533 if test $ac_cv_header_sys_wait_h = yes; then
11535 cat >>confdefs.h <<\_ACEOF
11536 #define HAVE_SYS_WAIT_H 1
11541 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11542 # for constant arguments. Useless!
11543 echo "$as_me:$LINENO: checking for working alloca.h" >&5
11544 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
11545 if test "${ac_cv_working_alloca_h+set}" = set; then
11546 echo $ECHO_N "(cached) $ECHO_C" >&6
11548 cat >conftest.$ac_ext <<_ACEOF
11551 cat confdefs.h >>conftest.$ac_ext
11552 cat >>conftest.$ac_ext <<_ACEOF
11553 /* end confdefs.h. */
11554 #include <alloca.h>
11558 char *p = (char *) alloca (2 * sizeof (int));
11563 rm -f conftest.$ac_objext conftest$ac_exeext
11564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11565 (eval $ac_link) 2>conftest.er1
11567 grep -v '^ *+' conftest.er1 >conftest.err
11569 cat conftest.err >&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); } &&
11572 { ac_try='test -z "$ac_c_werror_flag"
11573 || test ! -s conftest.err'
11574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11575 (eval $ac_try) 2>&5
11577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11578 (exit $ac_status); }; } &&
11579 { ac_try='test -s conftest$ac_exeext'
11580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11581 (eval $ac_try) 2>&5
11583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11584 (exit $ac_status); }; }; then
11585 ac_cv_working_alloca_h=yes
11587 echo "$as_me: failed program was:" >&5
11588 sed 's/^/| /' conftest.$ac_ext >&5
11590 ac_cv_working_alloca_h=no
11592 rm -f conftest.err conftest.$ac_objext \
11593 conftest$ac_exeext conftest.$ac_ext
11595 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
11596 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
11597 if test $ac_cv_working_alloca_h = yes; then
11599 cat >>confdefs.h <<\_ACEOF
11600 #define HAVE_ALLOCA_H 1
11605 echo "$as_me:$LINENO: checking for alloca" >&5
11606 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
11607 if test "${ac_cv_func_alloca_works+set}" = set; then
11608 echo $ECHO_N "(cached) $ECHO_C" >&6
11610 cat >conftest.$ac_ext <<_ACEOF
11613 cat confdefs.h >>conftest.$ac_ext
11614 cat >>conftest.$ac_ext <<_ACEOF
11615 /* end confdefs.h. */
11617 # define alloca __builtin_alloca
11620 # include <malloc.h>
11621 # define alloca _alloca
11624 # include <alloca.h>
11629 # ifndef alloca /* predefined by HP cc +Olibcalls */
11640 char *p = (char *) alloca (1);
11645 rm -f conftest.$ac_objext conftest$ac_exeext
11646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11647 (eval $ac_link) 2>conftest.er1
11649 grep -v '^ *+' conftest.er1 >conftest.err
11651 cat conftest.err >&5
11652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11653 (exit $ac_status); } &&
11654 { ac_try='test -z "$ac_c_werror_flag"
11655 || test ! -s conftest.err'
11656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11657 (eval $ac_try) 2>&5
11659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11660 (exit $ac_status); }; } &&
11661 { ac_try='test -s conftest$ac_exeext'
11662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11663 (eval $ac_try) 2>&5
11665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11666 (exit $ac_status); }; }; then
11667 ac_cv_func_alloca_works=yes
11669 echo "$as_me: failed program was:" >&5
11670 sed 's/^/| /' conftest.$ac_ext >&5
11672 ac_cv_func_alloca_works=no
11674 rm -f conftest.err conftest.$ac_objext \
11675 conftest$ac_exeext conftest.$ac_ext
11677 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
11678 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
11680 if test $ac_cv_func_alloca_works = yes; then
11682 cat >>confdefs.h <<\_ACEOF
11683 #define HAVE_ALLOCA 1
11687 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
11688 # that cause trouble. Some versions do not even contain alloca or
11689 # contain a buggy version. If you still want to use their alloca,
11690 # use ar to extract alloca.o from them instead of compiling alloca.c.
11692 ALLOCA=alloca.$ac_objext
11694 cat >>confdefs.h <<\_ACEOF
11699 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
11700 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
11701 if test "${ac_cv_os_cray+set}" = set; then
11702 echo $ECHO_N "(cached) $ECHO_C" >&6
11704 cat >conftest.$ac_ext <<_ACEOF
11707 cat confdefs.h >>conftest.$ac_ext
11708 cat >>conftest.$ac_ext <<_ACEOF
11709 /* end confdefs.h. */
11710 #if defined(CRAY) && ! defined(CRAY2)
11717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11718 $EGREP "webecray" >/dev/null 2>&1; then
11726 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
11727 echo "${ECHO_T}$ac_cv_os_cray" >&6
11728 if test $ac_cv_os_cray = yes; then
11729 for ac_func in _getb67 GETB67 getb67; do
11730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11731 echo "$as_me:$LINENO: checking for $ac_func" >&5
11732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11733 if eval "test \"\${$as_ac_var+set}\" = set"; then
11734 echo $ECHO_N "(cached) $ECHO_C" >&6
11736 cat >conftest.$ac_ext <<_ACEOF
11739 cat confdefs.h >>conftest.$ac_ext
11740 cat >>conftest.$ac_ext <<_ACEOF
11741 /* end confdefs.h. */
11742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11744 #define $ac_func innocuous_$ac_func
11746 /* System header to define __stub macros and hopefully few prototypes,
11747 which can conflict with char $ac_func (); below.
11748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11749 <limits.h> exists even on freestanding compilers. */
11752 # include <limits.h>
11754 # include <assert.h>
11759 /* Override any gcc2 internal prototype to avoid an error. */
11764 /* We use char because int might match the return type of a gcc2
11765 builtin and then its argument prototype would still apply. */
11767 /* The GNU C library defines this for functions which it implements
11768 to always fail with ENOSYS. Some functions are actually named
11769 something starting with __ and the normal name is an alias. */
11770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11773 char (*f) () = $ac_func;
11782 return f != $ac_func;
11787 rm -f conftest.$ac_objext conftest$ac_exeext
11788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11789 (eval $ac_link) 2>conftest.er1
11791 grep -v '^ *+' conftest.er1 >conftest.err
11793 cat conftest.err >&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); } &&
11796 { ac_try='test -z "$ac_c_werror_flag"
11797 || test ! -s conftest.err'
11798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11799 (eval $ac_try) 2>&5
11801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11802 (exit $ac_status); }; } &&
11803 { ac_try='test -s conftest$ac_exeext'
11804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11805 (eval $ac_try) 2>&5
11807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11808 (exit $ac_status); }; }; then
11809 eval "$as_ac_var=yes"
11811 echo "$as_me: failed program was:" >&5
11812 sed 's/^/| /' conftest.$ac_ext >&5
11814 eval "$as_ac_var=no"
11816 rm -f conftest.err conftest.$ac_objext \
11817 conftest$ac_exeext conftest.$ac_ext
11819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11821 if test `eval echo '${'$as_ac_var'}'` = yes; then
11823 cat >>confdefs.h <<_ACEOF
11824 #define CRAY_STACKSEG_END $ac_func
11833 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
11834 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
11835 if test "${ac_cv_c_stack_direction+set}" = set; then
11836 echo $ECHO_N "(cached) $ECHO_C" >&6
11838 if test "$cross_compiling" = yes; then
11839 ac_cv_c_stack_direction=0
11841 cat >conftest.$ac_ext <<_ACEOF
11844 cat confdefs.h >>conftest.$ac_ext
11845 cat >>conftest.$ac_ext <<_ACEOF
11846 /* end confdefs.h. */
11848 find_stack_direction ()
11850 static char *addr = 0;
11855 return find_stack_direction ();
11858 return (&dummy > addr) ? 1 : -1;
11864 exit (find_stack_direction () < 0);
11867 rm -f conftest$ac_exeext
11868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11869 (eval $ac_link) 2>&5
11871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11872 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11874 (eval $ac_try) 2>&5
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); }; }; then
11878 ac_cv_c_stack_direction=1
11880 echo "$as_me: program exited with status $ac_status" >&5
11881 echo "$as_me: failed program was:" >&5
11882 sed 's/^/| /' conftest.$ac_ext >&5
11884 ( exit $ac_status )
11885 ac_cv_c_stack_direction=-1
11887 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11890 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
11891 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
11893 cat >>confdefs.h <<_ACEOF
11894 #define STACK_DIRECTION $ac_cv_c_stack_direction
11905 for ac_func in sbrk utimes setmode getc_unlocked strcoll
11907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11908 echo "$as_me:$LINENO: checking for $ac_func" >&5
11909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11910 if eval "test \"\${$as_ac_var+set}\" = set"; then
11911 echo $ECHO_N "(cached) $ECHO_C" >&6
11913 cat >conftest.$ac_ext <<_ACEOF
11916 cat confdefs.h >>conftest.$ac_ext
11917 cat >>conftest.$ac_ext <<_ACEOF
11918 /* end confdefs.h. */
11919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11921 #define $ac_func innocuous_$ac_func
11923 /* System header to define __stub macros and hopefully few prototypes,
11924 which can conflict with char $ac_func (); below.
11925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11926 <limits.h> exists even on freestanding compilers. */
11929 # include <limits.h>
11931 # include <assert.h>
11936 /* Override any gcc2 internal prototype to avoid an error. */
11941 /* We use char because int might match the return type of a gcc2
11942 builtin and then its argument prototype would still apply. */
11944 /* The GNU C library defines this for functions which it implements
11945 to always fail with ENOSYS. Some functions are actually named
11946 something starting with __ and the normal name is an alias. */
11947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11950 char (*f) () = $ac_func;
11959 return f != $ac_func;
11964 rm -f conftest.$ac_objext conftest$ac_exeext
11965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11966 (eval $ac_link) 2>conftest.er1
11968 grep -v '^ *+' conftest.er1 >conftest.err
11970 cat conftest.err >&5
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972 (exit $ac_status); } &&
11973 { ac_try='test -z "$ac_c_werror_flag"
11974 || test ! -s conftest.err'
11975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11976 (eval $ac_try) 2>&5
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); }; } &&
11980 { ac_try='test -s conftest$ac_exeext'
11981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982 (eval $ac_try) 2>&5
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; }; then
11986 eval "$as_ac_var=yes"
11988 echo "$as_me: failed program was:" >&5
11989 sed 's/^/| /' conftest.$ac_ext >&5
11991 eval "$as_ac_var=no"
11993 rm -f conftest.err conftest.$ac_objext \
11994 conftest$ac_exeext conftest.$ac_ext
11996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11998 if test `eval echo '${'$as_ac_var'}'` = yes; then
11999 cat >>confdefs.h <<_ACEOF
12000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12006 echo "$as_me:$LINENO: checking for mkstemp" >&5
12007 echo $ECHO_N "checking for mkstemp... $ECHO_C" >&6
12008 if test "${ac_cv_func_mkstemp+set}" = set; then
12009 echo $ECHO_N "(cached) $ECHO_C" >&6
12011 cat >conftest.$ac_ext <<_ACEOF
12014 cat confdefs.h >>conftest.$ac_ext
12015 cat >>conftest.$ac_ext <<_ACEOF
12016 /* end confdefs.h. */
12017 /* Define mkstemp to an innocuous variant, in case <limits.h> declares mkstemp.
12018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12019 #define mkstemp innocuous_mkstemp
12021 /* System header to define __stub macros and hopefully few prototypes,
12022 which can conflict with char mkstemp (); below.
12023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12024 <limits.h> exists even on freestanding compilers. */
12027 # include <limits.h>
12029 # include <assert.h>
12034 /* Override any gcc2 internal prototype to avoid an error. */
12039 /* We use char because int might match the return type of a gcc2
12040 builtin and then its argument prototype would still apply. */
12042 /* The GNU C library defines this for functions which it implements
12043 to always fail with ENOSYS. Some functions are actually named
12044 something starting with __ and the normal name is an alias. */
12045 #if defined (__stub_mkstemp) || defined (__stub___mkstemp)
12048 char (*f) () = mkstemp;
12057 return f != mkstemp;
12062 rm -f conftest.$ac_objext conftest$ac_exeext
12063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12064 (eval $ac_link) 2>conftest.er1
12066 grep -v '^ *+' conftest.er1 >conftest.err
12068 cat conftest.err >&5
12069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 (exit $ac_status); } &&
12071 { ac_try='test -z "$ac_c_werror_flag"
12072 || test ! -s conftest.err'
12073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12074 (eval $ac_try) 2>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); }; } &&
12078 { ac_try='test -s conftest$ac_exeext'
12079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12080 (eval $ac_try) 2>&5
12082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12083 (exit $ac_status); }; }; then
12084 ac_cv_func_mkstemp=yes
12086 echo "$as_me: failed program was:" >&5
12087 sed 's/^/| /' conftest.$ac_ext >&5
12089 ac_cv_func_mkstemp=no
12091 rm -f conftest.err conftest.$ac_objext \
12092 conftest$ac_exeext conftest.$ac_ext
12094 echo "$as_me:$LINENO: result: $ac_cv_func_mkstemp" >&5
12095 echo "${ECHO_T}$ac_cv_func_mkstemp" >&6
12096 if test $ac_cv_func_mkstemp = yes; then
12098 cat >>confdefs.h <<\_ACEOF
12099 #define HAVE_MKSTEMP 1
12104 echo "$as_me:$LINENO: checking for mkdtemp" >&5
12105 echo $ECHO_N "checking for mkdtemp... $ECHO_C" >&6
12106 if test "${ac_cv_func_mkdtemp+set}" = set; then
12107 echo $ECHO_N "(cached) $ECHO_C" >&6
12109 cat >conftest.$ac_ext <<_ACEOF
12112 cat confdefs.h >>conftest.$ac_ext
12113 cat >>conftest.$ac_ext <<_ACEOF
12114 /* end confdefs.h. */
12115 /* Define mkdtemp to an innocuous variant, in case <limits.h> declares mkdtemp.
12116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12117 #define mkdtemp innocuous_mkdtemp
12119 /* System header to define __stub macros and hopefully few prototypes,
12120 which can conflict with char mkdtemp (); below.
12121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12122 <limits.h> exists even on freestanding compilers. */
12125 # include <limits.h>
12127 # include <assert.h>
12132 /* Override any gcc2 internal prototype to avoid an error. */
12137 /* We use char because int might match the return type of a gcc2
12138 builtin and then its argument prototype would still apply. */
12140 /* The GNU C library defines this for functions which it implements
12141 to always fail with ENOSYS. Some functions are actually named
12142 something starting with __ and the normal name is an alias. */
12143 #if defined (__stub_mkdtemp) || defined (__stub___mkdtemp)
12146 char (*f) () = mkdtemp;
12155 return f != mkdtemp;
12160 rm -f conftest.$ac_objext conftest$ac_exeext
12161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12162 (eval $ac_link) 2>conftest.er1
12164 grep -v '^ *+' conftest.er1 >conftest.err
12166 cat conftest.err >&5
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); } &&
12169 { ac_try='test -z "$ac_c_werror_flag"
12170 || test ! -s conftest.err'
12171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12172 (eval $ac_try) 2>&5
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); }; } &&
12176 { ac_try='test -s conftest$ac_exeext'
12177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12178 (eval $ac_try) 2>&5
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); }; }; then
12182 ac_cv_func_mkdtemp=yes
12184 echo "$as_me: failed program was:" >&5
12185 sed 's/^/| /' conftest.$ac_ext >&5
12187 ac_cv_func_mkdtemp=no
12189 rm -f conftest.err conftest.$ac_objext \
12190 conftest$ac_exeext conftest.$ac_ext
12192 echo "$as_me:$LINENO: result: $ac_cv_func_mkdtemp" >&5
12193 echo "${ECHO_T}$ac_cv_func_mkdtemp" >&6
12194 if test $ac_cv_func_mkdtemp = yes; then
12196 cat >>confdefs.h <<\_ACEOF
12197 #define HAVE_MKDTEMP 1
12203 # Check whether fopen64 is available and whether _LARGEFILE64_SOURCE
12204 # needs to be defined for it
12205 echo "$as_me:$LINENO: checking for fopen64" >&5
12206 echo $ECHO_N "checking for fopen64... $ECHO_C" >&6
12207 if test "${bu_cv_have_fopen64+set}" = set; then
12208 echo $ECHO_N "(cached) $ECHO_C" >&6
12210 cat >conftest.$ac_ext <<_ACEOF
12213 cat confdefs.h >>conftest.$ac_ext
12214 cat >>conftest.$ac_ext <<_ACEOF
12215 /* end confdefs.h. */
12220 FILE *f = fopen64 ("/tmp/foo","r");
12225 rm -f conftest.$ac_objext conftest$ac_exeext
12226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12227 (eval $ac_link) 2>conftest.er1
12229 grep -v '^ *+' conftest.er1 >conftest.err
12231 cat conftest.err >&5
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 (exit $ac_status); } &&
12234 { ac_try='test -z "$ac_c_werror_flag"
12235 || test ! -s conftest.err'
12236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12237 (eval $ac_try) 2>&5
12239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); }; } &&
12241 { ac_try='test -s conftest$ac_exeext'
12242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12243 (eval $ac_try) 2>&5
12245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 (exit $ac_status); }; }; then
12247 bu_cv_have_fopen64=yes
12249 echo "$as_me: failed program was:" >&5
12250 sed 's/^/| /' conftest.$ac_ext >&5
12252 saved_CPPFLAGS=$CPPFLAGS
12253 CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
12254 cat >conftest.$ac_ext <<_ACEOF
12257 cat confdefs.h >>conftest.$ac_ext
12258 cat >>conftest.$ac_ext <<_ACEOF
12259 /* end confdefs.h. */
12264 FILE *f = fopen64 ("/tmp/foo","r");
12269 rm -f conftest.$ac_objext conftest$ac_exeext
12270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12271 (eval $ac_link) 2>conftest.er1
12273 grep -v '^ *+' conftest.er1 >conftest.err
12275 cat conftest.err >&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); } &&
12278 { ac_try='test -z "$ac_c_werror_flag"
12279 || test ! -s conftest.err'
12280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12281 (eval $ac_try) 2>&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); }; } &&
12285 { ac_try='test -s conftest$ac_exeext'
12286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12287 (eval $ac_try) 2>&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }; }; then
12291 bu_cv_have_fopen64="need -D_LARGEFILE64_SOURCE"
12293 echo "$as_me: failed program was:" >&5
12294 sed 's/^/| /' conftest.$ac_ext >&5
12296 bu_cv_have_fopen64=no
12298 rm -f conftest.err conftest.$ac_objext \
12299 conftest$ac_exeext conftest.$ac_ext
12300 CPPFLAGS=$saved_CPPFLAGS
12302 rm -f conftest.err conftest.$ac_objext \
12303 conftest$ac_exeext conftest.$ac_ext
12306 echo "$as_me:$LINENO: result: $bu_cv_have_fopen64" >&5
12307 echo "${ECHO_T}$bu_cv_have_fopen64" >&6
12308 if test "$bu_cv_have_fopen64" != no; then
12310 cat >>confdefs.h <<\_ACEOF
12311 #define HAVE_FOPEN64 1
12315 echo "$as_me:$LINENO: checking for stat64" >&5
12316 echo $ECHO_N "checking for stat64... $ECHO_C" >&6
12317 if test "${bu_cv_have_stat64+set}" = set; then
12318 echo $ECHO_N "(cached) $ECHO_C" >&6
12320 cat >conftest.$ac_ext <<_ACEOF
12323 cat confdefs.h >>conftest.$ac_ext
12324 cat >>conftest.$ac_ext <<_ACEOF
12325 /* end confdefs.h. */
12326 #include <sys/stat.h>
12330 struct stat64 st; stat64 ("/tmp/foo", &st);
12335 rm -f conftest.$ac_objext conftest$ac_exeext
12336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12337 (eval $ac_link) 2>conftest.er1
12339 grep -v '^ *+' conftest.er1 >conftest.err
12341 cat conftest.err >&5
12342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 (exit $ac_status); } &&
12344 { ac_try='test -z "$ac_c_werror_flag"
12345 || test ! -s conftest.err'
12346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12347 (eval $ac_try) 2>&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); }; } &&
12351 { ac_try='test -s conftest$ac_exeext'
12352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12353 (eval $ac_try) 2>&5
12355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356 (exit $ac_status); }; }; then
12357 bu_cv_have_stat64=yes
12359 echo "$as_me: failed program was:" >&5
12360 sed 's/^/| /' conftest.$ac_ext >&5
12362 saved_CPPFLAGS=$CPPFLAGS
12363 CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
12364 cat >conftest.$ac_ext <<_ACEOF
12367 cat confdefs.h >>conftest.$ac_ext
12368 cat >>conftest.$ac_ext <<_ACEOF
12369 /* end confdefs.h. */
12370 #include <sys/stat.h>
12374 struct stat64 st; stat64 ("/tmp/foo", &st);
12379 rm -f conftest.$ac_objext conftest$ac_exeext
12380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12381 (eval $ac_link) 2>conftest.er1
12383 grep -v '^ *+' conftest.er1 >conftest.err
12385 cat conftest.err >&5
12386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387 (exit $ac_status); } &&
12388 { ac_try='test -z "$ac_c_werror_flag"
12389 || test ! -s conftest.err'
12390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12391 (eval $ac_try) 2>&5
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); }; } &&
12395 { ac_try='test -s conftest$ac_exeext'
12396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12397 (eval $ac_try) 2>&5
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); }; }; then
12401 bu_cv_have_stat64="need -D_LARGEFILE64_SOURCE"
12403 echo "$as_me: failed program was:" >&5
12404 sed 's/^/| /' conftest.$ac_ext >&5
12406 bu_cv_have_stat64=no
12408 rm -f conftest.err conftest.$ac_objext \
12409 conftest$ac_exeext conftest.$ac_ext
12410 CPPFLAGS=$saved_CPPFLAGS
12412 rm -f conftest.err conftest.$ac_objext \
12413 conftest$ac_exeext conftest.$ac_ext
12416 echo "$as_me:$LINENO: result: $bu_cv_have_stat64" >&5
12417 echo "${ECHO_T}$bu_cv_have_stat64" >&6
12418 if test "$bu_cv_have_stat64" != no; then
12420 cat >>confdefs.h <<\_ACEOF
12421 #define HAVE_STAT64 1
12425 if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \
12426 || test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then
12428 cat >>confdefs.h <<\_ACEOF
12429 #define _LARGEFILE64_SOURCE 1
12432 CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
12435 # Some systems have frexp only in -lm, not in -lc.
12436 echo "$as_me:$LINENO: checking for library containing frexp" >&5
12437 echo $ECHO_N "checking for library containing frexp... $ECHO_C" >&6
12438 if test "${ac_cv_search_frexp+set}" = set; then
12439 echo $ECHO_N "(cached) $ECHO_C" >&6
12441 ac_func_search_save_LIBS=$LIBS
12442 ac_cv_search_frexp=no
12443 cat >conftest.$ac_ext <<_ACEOF
12446 cat confdefs.h >>conftest.$ac_ext
12447 cat >>conftest.$ac_ext <<_ACEOF
12448 /* end confdefs.h. */
12450 /* Override any gcc2 internal prototype to avoid an error. */
12454 /* We use char because int might match the return type of a gcc2
12455 builtin and then its argument prototype would still apply. */
12465 rm -f conftest.$ac_objext conftest$ac_exeext
12466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12467 (eval $ac_link) 2>conftest.er1
12469 grep -v '^ *+' conftest.er1 >conftest.err
12471 cat conftest.err >&5
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); } &&
12474 { ac_try='test -z "$ac_c_werror_flag"
12475 || test ! -s conftest.err'
12476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12477 (eval $ac_try) 2>&5
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 (exit $ac_status); }; } &&
12481 { ac_try='test -s conftest$ac_exeext'
12482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12483 (eval $ac_try) 2>&5
12485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12486 (exit $ac_status); }; }; then
12487 ac_cv_search_frexp="none required"
12489 echo "$as_me: failed program was:" >&5
12490 sed 's/^/| /' conftest.$ac_ext >&5
12493 rm -f conftest.err conftest.$ac_objext \
12494 conftest$ac_exeext conftest.$ac_ext
12495 if test "$ac_cv_search_frexp" = no; then
12496 for ac_lib in m; do
12497 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12498 cat >conftest.$ac_ext <<_ACEOF
12501 cat confdefs.h >>conftest.$ac_ext
12502 cat >>conftest.$ac_ext <<_ACEOF
12503 /* end confdefs.h. */
12505 /* Override any gcc2 internal prototype to avoid an error. */
12509 /* We use char because int might match the return type of a gcc2
12510 builtin and then its argument prototype would still apply. */
12520 rm -f conftest.$ac_objext conftest$ac_exeext
12521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12522 (eval $ac_link) 2>conftest.er1
12524 grep -v '^ *+' conftest.er1 >conftest.err
12526 cat conftest.err >&5
12527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12528 (exit $ac_status); } &&
12529 { ac_try='test -z "$ac_c_werror_flag"
12530 || test ! -s conftest.err'
12531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12532 (eval $ac_try) 2>&5
12534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535 (exit $ac_status); }; } &&
12536 { ac_try='test -s conftest$ac_exeext'
12537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12538 (eval $ac_try) 2>&5
12540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); }; }; then
12542 ac_cv_search_frexp="-l$ac_lib"
12545 echo "$as_me: failed program was:" >&5
12546 sed 's/^/| /' conftest.$ac_ext >&5
12549 rm -f conftest.err conftest.$ac_objext \
12550 conftest$ac_exeext conftest.$ac_ext
12553 LIBS=$ac_func_search_save_LIBS
12555 echo "$as_me:$LINENO: result: $ac_cv_search_frexp" >&5
12556 echo "${ECHO_T}$ac_cv_search_frexp" >&6
12557 if test "$ac_cv_search_frexp" != no; then
12558 test "$ac_cv_search_frexp" = "none required" || LIBS="$ac_cv_search_frexp $LIBS"
12563 echo "$as_me:$LINENO: checking for time_t in time.h" >&5
12564 echo $ECHO_N "checking for time_t in time.h... $ECHO_C" >&6
12565 if test "${bu_cv_decl_time_t_time_h+set}" = set; then
12566 echo $ECHO_N "(cached) $ECHO_C" >&6
12568 cat >conftest.$ac_ext <<_ACEOF
12571 cat confdefs.h >>conftest.$ac_ext
12572 cat >>conftest.$ac_ext <<_ACEOF
12573 /* end confdefs.h. */
12583 rm -f conftest.$ac_objext
12584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12585 (eval $ac_compile) 2>conftest.er1
12587 grep -v '^ *+' conftest.er1 >conftest.err
12589 cat conftest.err >&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); } &&
12592 { ac_try='test -z "$ac_c_werror_flag"
12593 || test ! -s conftest.err'
12594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12595 (eval $ac_try) 2>&5
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; } &&
12599 { ac_try='test -s conftest.$ac_objext'
12600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12601 (eval $ac_try) 2>&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); }; }; then
12605 bu_cv_decl_time_t_time_h=yes
12607 echo "$as_me: failed program was:" >&5
12608 sed 's/^/| /' conftest.$ac_ext >&5
12610 bu_cv_decl_time_t_time_h=no
12612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12615 echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_time_h" >&5
12616 echo "${ECHO_T}$bu_cv_decl_time_t_time_h" >&6
12617 if test $bu_cv_decl_time_t_time_h = yes; then
12619 cat >>confdefs.h <<\_ACEOF
12620 #define HAVE_TIME_T_IN_TIME_H 1
12625 echo "$as_me:$LINENO: checking for time_t in sys/types.h" >&5
12626 echo $ECHO_N "checking for time_t in sys/types.h... $ECHO_C" >&6
12627 if test "${bu_cv_decl_time_t_types_h+set}" = set; then
12628 echo $ECHO_N "(cached) $ECHO_C" >&6
12630 cat >conftest.$ac_ext <<_ACEOF
12633 cat confdefs.h >>conftest.$ac_ext
12634 cat >>conftest.$ac_ext <<_ACEOF
12635 /* end confdefs.h. */
12636 #include <sys/types.h>
12645 rm -f conftest.$ac_objext
12646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12647 (eval $ac_compile) 2>conftest.er1
12649 grep -v '^ *+' conftest.er1 >conftest.err
12651 cat conftest.err >&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); } &&
12654 { ac_try='test -z "$ac_c_werror_flag"
12655 || test ! -s conftest.err'
12656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12657 (eval $ac_try) 2>&5
12659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12660 (exit $ac_status); }; } &&
12661 { ac_try='test -s conftest.$ac_objext'
12662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12663 (eval $ac_try) 2>&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); }; }; then
12667 bu_cv_decl_time_t_types_h=yes
12669 echo "$as_me: failed program was:" >&5
12670 sed 's/^/| /' conftest.$ac_ext >&5
12672 bu_cv_decl_time_t_types_h=no
12674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12677 echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_types_h" >&5
12678 echo "${ECHO_T}$bu_cv_decl_time_t_types_h" >&6
12679 if test $bu_cv_decl_time_t_types_h = yes; then
12681 cat >>confdefs.h <<\_ACEOF
12682 #define HAVE_TIME_T_IN_TYPES_H 1
12687 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
12688 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
12689 if test "${bu_cv_decl_getopt_unistd_h+set}" = set; then
12690 echo $ECHO_N "(cached) $ECHO_C" >&6
12692 cat >conftest.$ac_ext <<_ACEOF
12695 cat confdefs.h >>conftest.$ac_ext
12696 cat >>conftest.$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12698 #include <unistd.h>
12702 extern int getopt (int, char *const*, const char *);
12707 rm -f conftest.$ac_objext
12708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12709 (eval $ac_compile) 2>conftest.er1
12711 grep -v '^ *+' conftest.er1 >conftest.err
12713 cat conftest.err >&5
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); } &&
12716 { ac_try='test -z "$ac_c_werror_flag"
12717 || test ! -s conftest.err'
12718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12719 (eval $ac_try) 2>&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); }; } &&
12723 { ac_try='test -s conftest.$ac_objext'
12724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12725 (eval $ac_try) 2>&5
12727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12728 (exit $ac_status); }; }; then
12729 bu_cv_decl_getopt_unistd_h=yes
12731 echo "$as_me: failed program was:" >&5
12732 sed 's/^/| /' conftest.$ac_ext >&5
12734 bu_cv_decl_getopt_unistd_h=no
12736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12739 echo "$as_me:$LINENO: result: $bu_cv_decl_getopt_unistd_h" >&5
12740 echo "${ECHO_T}$bu_cv_decl_getopt_unistd_h" >&6
12741 if test $bu_cv_decl_getopt_unistd_h = yes; then
12743 cat >>confdefs.h <<\_ACEOF
12744 #define HAVE_DECL_GETOPT 1
12749 # Under Next 3.2 <utime.h> apparently does not define struct utimbuf
12751 echo "$as_me:$LINENO: checking for utime.h" >&5
12752 echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
12753 if test "${bu_cv_header_utime_h+set}" = set; then
12754 echo $ECHO_N "(cached) $ECHO_C" >&6
12756 cat >conftest.$ac_ext <<_ACEOF
12759 cat confdefs.h >>conftest.$ac_ext
12760 cat >>conftest.$ac_ext <<_ACEOF
12761 /* end confdefs.h. */
12762 #include <sys/types.h>
12775 rm -f conftest.$ac_objext
12776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12777 (eval $ac_compile) 2>conftest.er1
12779 grep -v '^ *+' conftest.er1 >conftest.err
12781 cat conftest.err >&5
12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); } &&
12784 { ac_try='test -z "$ac_c_werror_flag"
12785 || test ! -s conftest.err'
12786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12787 (eval $ac_try) 2>&5
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); }; } &&
12791 { ac_try='test -s conftest.$ac_objext'
12792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12793 (eval $ac_try) 2>&5
12795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796 (exit $ac_status); }; }; then
12797 bu_cv_header_utime_h=yes
12799 echo "$as_me: failed program was:" >&5
12800 sed 's/^/| /' conftest.$ac_ext >&5
12802 bu_cv_header_utime_h=no
12804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12807 echo "$as_me:$LINENO: result: $bu_cv_header_utime_h" >&5
12808 echo "${ECHO_T}$bu_cv_header_utime_h" >&6
12809 if test $bu_cv_header_utime_h = yes; then
12811 cat >>confdefs.h <<\_ACEOF
12812 #define HAVE_GOOD_UTIME_H 1
12817 echo "$as_me:$LINENO: checking whether fprintf is declared" >&5
12818 echo $ECHO_N "checking whether fprintf is declared... $ECHO_C" >&6
12819 if test "${ac_cv_have_decl_fprintf+set}" = set; then
12820 echo $ECHO_N "(cached) $ECHO_C" >&6
12822 cat >conftest.$ac_ext <<_ACEOF
12825 cat confdefs.h >>conftest.$ac_ext
12826 cat >>conftest.$ac_ext <<_ACEOF
12827 /* end confdefs.h. */
12828 $ac_includes_default
12833 char *p = (char *) fprintf;
12840 rm -f conftest.$ac_objext
12841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12842 (eval $ac_compile) 2>conftest.er1
12844 grep -v '^ *+' conftest.er1 >conftest.err
12846 cat conftest.err >&5
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); } &&
12849 { ac_try='test -z "$ac_c_werror_flag"
12850 || test ! -s conftest.err'
12851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12852 (eval $ac_try) 2>&5
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); }; } &&
12856 { ac_try='test -s conftest.$ac_objext'
12857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12858 (eval $ac_try) 2>&5
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); }; }; then
12862 ac_cv_have_decl_fprintf=yes
12864 echo "$as_me: failed program was:" >&5
12865 sed 's/^/| /' conftest.$ac_ext >&5
12867 ac_cv_have_decl_fprintf=no
12869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12871 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf" >&5
12872 echo "${ECHO_T}$ac_cv_have_decl_fprintf" >&6
12873 if test $ac_cv_have_decl_fprintf = yes; then
12875 cat >>confdefs.h <<_ACEOF
12876 #define HAVE_DECL_FPRINTF 1
12881 cat >>confdefs.h <<_ACEOF
12882 #define HAVE_DECL_FPRINTF 0
12887 echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
12888 echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
12889 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
12890 echo $ECHO_N "(cached) $ECHO_C" >&6
12892 cat >conftest.$ac_ext <<_ACEOF
12895 cat confdefs.h >>conftest.$ac_ext
12896 cat >>conftest.$ac_ext <<_ACEOF
12897 /* end confdefs.h. */
12898 $ac_includes_default
12903 char *p = (char *) stpcpy;
12910 rm -f conftest.$ac_objext
12911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12912 (eval $ac_compile) 2>conftest.er1
12914 grep -v '^ *+' conftest.er1 >conftest.err
12916 cat conftest.err >&5
12917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12918 (exit $ac_status); } &&
12919 { ac_try='test -z "$ac_c_werror_flag"
12920 || test ! -s conftest.err'
12921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12922 (eval $ac_try) 2>&5
12924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925 (exit $ac_status); }; } &&
12926 { ac_try='test -s conftest.$ac_objext'
12927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12928 (eval $ac_try) 2>&5
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); }; }; then
12932 ac_cv_have_decl_stpcpy=yes
12934 echo "$as_me: failed program was:" >&5
12935 sed 's/^/| /' conftest.$ac_ext >&5
12937 ac_cv_have_decl_stpcpy=no
12939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12941 echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
12942 echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
12943 if test $ac_cv_have_decl_stpcpy = yes; then
12945 cat >>confdefs.h <<_ACEOF
12946 #define HAVE_DECL_STPCPY 1
12951 cat >>confdefs.h <<_ACEOF
12952 #define HAVE_DECL_STPCPY 0
12957 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
12958 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
12959 if test "${ac_cv_have_decl_strstr+set}" = set; then
12960 echo $ECHO_N "(cached) $ECHO_C" >&6
12962 cat >conftest.$ac_ext <<_ACEOF
12965 cat confdefs.h >>conftest.$ac_ext
12966 cat >>conftest.$ac_ext <<_ACEOF
12967 /* end confdefs.h. */
12968 $ac_includes_default
12973 char *p = (char *) strstr;
12980 rm -f conftest.$ac_objext
12981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12982 (eval $ac_compile) 2>conftest.er1
12984 grep -v '^ *+' conftest.er1 >conftest.err
12986 cat conftest.err >&5
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } &&
12989 { ac_try='test -z "$ac_c_werror_flag"
12990 || test ! -s conftest.err'
12991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12992 (eval $ac_try) 2>&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); }; } &&
12996 { ac_try='test -s conftest.$ac_objext'
12997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12998 (eval $ac_try) 2>&5
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); }; }; then
13002 ac_cv_have_decl_strstr=yes
13004 echo "$as_me: failed program was:" >&5
13005 sed 's/^/| /' conftest.$ac_ext >&5
13007 ac_cv_have_decl_strstr=no
13009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13011 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
13012 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
13013 if test $ac_cv_have_decl_strstr = yes; then
13015 cat >>confdefs.h <<_ACEOF
13016 #define HAVE_DECL_STRSTR 1
13021 cat >>confdefs.h <<_ACEOF
13022 #define HAVE_DECL_STRSTR 0
13027 echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
13028 echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
13029 if test "${ac_cv_have_decl_sbrk+set}" = set; then
13030 echo $ECHO_N "(cached) $ECHO_C" >&6
13032 cat >conftest.$ac_ext <<_ACEOF
13035 cat confdefs.h >>conftest.$ac_ext
13036 cat >>conftest.$ac_ext <<_ACEOF
13037 /* end confdefs.h. */
13038 $ac_includes_default
13043 char *p = (char *) sbrk;
13050 rm -f conftest.$ac_objext
13051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13052 (eval $ac_compile) 2>conftest.er1
13054 grep -v '^ *+' conftest.er1 >conftest.err
13056 cat conftest.err >&5
13057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058 (exit $ac_status); } &&
13059 { ac_try='test -z "$ac_c_werror_flag"
13060 || test ! -s conftest.err'
13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062 (eval $ac_try) 2>&5
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; } &&
13066 { ac_try='test -s conftest.$ac_objext'
13067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13068 (eval $ac_try) 2>&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); }; }; then
13072 ac_cv_have_decl_sbrk=yes
13074 echo "$as_me: failed program was:" >&5
13075 sed 's/^/| /' conftest.$ac_ext >&5
13077 ac_cv_have_decl_sbrk=no
13079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13081 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
13082 echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
13083 if test $ac_cv_have_decl_sbrk = yes; then
13085 cat >>confdefs.h <<_ACEOF
13086 #define HAVE_DECL_SBRK 1
13091 cat >>confdefs.h <<_ACEOF
13092 #define HAVE_DECL_SBRK 0
13097 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
13098 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
13099 if test "${ac_cv_have_decl_getenv+set}" = set; then
13100 echo $ECHO_N "(cached) $ECHO_C" >&6
13102 cat >conftest.$ac_ext <<_ACEOF
13105 cat confdefs.h >>conftest.$ac_ext
13106 cat >>conftest.$ac_ext <<_ACEOF
13107 /* end confdefs.h. */
13108 $ac_includes_default
13113 char *p = (char *) getenv;
13120 rm -f conftest.$ac_objext
13121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13122 (eval $ac_compile) 2>conftest.er1
13124 grep -v '^ *+' conftest.er1 >conftest.err
13126 cat conftest.err >&5
13127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13128 (exit $ac_status); } &&
13129 { ac_try='test -z "$ac_c_werror_flag"
13130 || test ! -s conftest.err'
13131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13132 (eval $ac_try) 2>&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); }; } &&
13136 { ac_try='test -s conftest.$ac_objext'
13137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13138 (eval $ac_try) 2>&5
13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13141 (exit $ac_status); }; }; then
13142 ac_cv_have_decl_getenv=yes
13144 echo "$as_me: failed program was:" >&5
13145 sed 's/^/| /' conftest.$ac_ext >&5
13147 ac_cv_have_decl_getenv=no
13149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13151 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
13152 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
13153 if test $ac_cv_have_decl_getenv = yes; then
13155 cat >>confdefs.h <<_ACEOF
13156 #define HAVE_DECL_GETENV 1
13161 cat >>confdefs.h <<_ACEOF
13162 #define HAVE_DECL_GETENV 0
13167 echo "$as_me:$LINENO: checking whether environ is declared" >&5
13168 echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
13169 if test "${ac_cv_have_decl_environ+set}" = set; then
13170 echo $ECHO_N "(cached) $ECHO_C" >&6
13172 cat >conftest.$ac_ext <<_ACEOF
13175 cat confdefs.h >>conftest.$ac_ext
13176 cat >>conftest.$ac_ext <<_ACEOF
13177 /* end confdefs.h. */
13178 $ac_includes_default
13183 char *p = (char *) environ;
13190 rm -f conftest.$ac_objext
13191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13192 (eval $ac_compile) 2>conftest.er1
13194 grep -v '^ *+' conftest.er1 >conftest.err
13196 cat conftest.err >&5
13197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13198 (exit $ac_status); } &&
13199 { ac_try='test -z "$ac_c_werror_flag"
13200 || test ! -s conftest.err'
13201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13202 (eval $ac_try) 2>&5
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); }; } &&
13206 { ac_try='test -s conftest.$ac_objext'
13207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13208 (eval $ac_try) 2>&5
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); }; }; then
13212 ac_cv_have_decl_environ=yes
13214 echo "$as_me: failed program was:" >&5
13215 sed 's/^/| /' conftest.$ac_ext >&5
13217 ac_cv_have_decl_environ=no
13219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13221 echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
13222 echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
13223 if test $ac_cv_have_decl_environ = yes; then
13225 cat >>confdefs.h <<_ACEOF
13226 #define HAVE_DECL_ENVIRON 1
13231 cat >>confdefs.h <<_ACEOF
13232 #define HAVE_DECL_ENVIRON 0
13237 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
13238 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
13239 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
13240 echo $ECHO_N "(cached) $ECHO_C" >&6
13242 cat >conftest.$ac_ext <<_ACEOF
13245 cat confdefs.h >>conftest.$ac_ext
13246 cat >>conftest.$ac_ext <<_ACEOF
13247 /* end confdefs.h. */
13248 $ac_includes_default
13252 #ifndef getc_unlocked
13253 char *p = (char *) getc_unlocked;
13260 rm -f conftest.$ac_objext
13261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13262 (eval $ac_compile) 2>conftest.er1
13264 grep -v '^ *+' conftest.er1 >conftest.err
13266 cat conftest.err >&5
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); } &&
13269 { ac_try='test -z "$ac_c_werror_flag"
13270 || test ! -s conftest.err'
13271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13272 (eval $ac_try) 2>&5
13274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275 (exit $ac_status); }; } &&
13276 { ac_try='test -s conftest.$ac_objext'
13277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13278 (eval $ac_try) 2>&5
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13281 (exit $ac_status); }; }; then
13282 ac_cv_have_decl_getc_unlocked=yes
13284 echo "$as_me: failed program was:" >&5
13285 sed 's/^/| /' conftest.$ac_ext >&5
13287 ac_cv_have_decl_getc_unlocked=no
13289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13291 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
13292 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
13293 if test $ac_cv_have_decl_getc_unlocked = yes; then
13295 cat >>confdefs.h <<_ACEOF
13296 #define HAVE_DECL_GETC_UNLOCKED 1
13301 cat >>confdefs.h <<_ACEOF
13302 #define HAVE_DECL_GETC_UNLOCKED 0
13307 echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
13308 echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
13309 if test "${ac_cv_have_decl_snprintf+set}" = set; then
13310 echo $ECHO_N "(cached) $ECHO_C" >&6
13312 cat >conftest.$ac_ext <<_ACEOF
13315 cat confdefs.h >>conftest.$ac_ext
13316 cat >>conftest.$ac_ext <<_ACEOF
13317 /* end confdefs.h. */
13318 $ac_includes_default
13323 char *p = (char *) snprintf;
13330 rm -f conftest.$ac_objext
13331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13332 (eval $ac_compile) 2>conftest.er1
13334 grep -v '^ *+' conftest.er1 >conftest.err
13336 cat conftest.err >&5
13337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13338 (exit $ac_status); } &&
13339 { ac_try='test -z "$ac_c_werror_flag"
13340 || test ! -s conftest.err'
13341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13342 (eval $ac_try) 2>&5
13344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13345 (exit $ac_status); }; } &&
13346 { ac_try='test -s conftest.$ac_objext'
13347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13348 (eval $ac_try) 2>&5
13350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351 (exit $ac_status); }; }; then
13352 ac_cv_have_decl_snprintf=yes
13354 echo "$as_me: failed program was:" >&5
13355 sed 's/^/| /' conftest.$ac_ext >&5
13357 ac_cv_have_decl_snprintf=no
13359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13361 echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
13362 echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
13363 if test $ac_cv_have_decl_snprintf = yes; then
13365 cat >>confdefs.h <<_ACEOF
13366 #define HAVE_DECL_SNPRINTF 1
13371 cat >>confdefs.h <<_ACEOF
13372 #define HAVE_DECL_SNPRINTF 0
13377 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
13378 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
13379 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
13380 echo $ECHO_N "(cached) $ECHO_C" >&6
13382 cat >conftest.$ac_ext <<_ACEOF
13385 cat confdefs.h >>conftest.$ac_ext
13386 cat >>conftest.$ac_ext <<_ACEOF
13387 /* end confdefs.h. */
13388 $ac_includes_default
13393 char *p = (char *) vsnprintf;
13400 rm -f conftest.$ac_objext
13401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13402 (eval $ac_compile) 2>conftest.er1
13404 grep -v '^ *+' conftest.er1 >conftest.err
13406 cat conftest.err >&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); } &&
13409 { ac_try='test -z "$ac_c_werror_flag"
13410 || test ! -s conftest.err'
13411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13412 (eval $ac_try) 2>&5
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 (exit $ac_status); }; } &&
13416 { ac_try='test -s conftest.$ac_objext'
13417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13418 (eval $ac_try) 2>&5
13420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 (exit $ac_status); }; }; then
13422 ac_cv_have_decl_vsnprintf=yes
13424 echo "$as_me: failed program was:" >&5
13425 sed 's/^/| /' conftest.$ac_ext >&5
13427 ac_cv_have_decl_vsnprintf=no
13429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13431 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
13432 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
13433 if test $ac_cv_have_decl_vsnprintf = yes; then
13435 cat >>confdefs.h <<_ACEOF
13436 #define HAVE_DECL_VSNPRINTF 1
13441 cat >>confdefs.h <<_ACEOF
13442 #define HAVE_DECL_VSNPRINTF 0
13452 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
13454 cat >>confdefs.h <<\_ACEOF
13455 #define USE_BINARY_FOPEN 1
13460 # target-specific stuff:
13462 # Canonicalize the secondary target names.
13463 if test -n "$enable_targets"; then
13464 for targ in `echo $enable_targets | sed 's/,/ /g'`
13466 result=`$ac_config_sub $targ 2>/dev/null`
13467 if test -n "$result"; then
13468 canon_targets="$canon_targets $result"
13470 # Allow targets that config.sub doesn't recognize, like "all".
13471 canon_targets="$canon_targets $targ"
13486 BUILD_INSTALL_MISC=
13489 for targ in $target $canon_targets
13491 if test "x$targ" = "xall"; then
13493 BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)'
13494 BUILD_SRCONV='$(SRCONV_PROG)'
13495 NLMCONV_DEFS="-DNLMCONV_I386 -DNLMCONV_ALPHA -DNLMCONV_POWERPC -DNLMCONV_SPARC"
13496 BUILD_MISC="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
13499 i[3-7]86*-*-netware*)
13500 BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)'
13501 NLMCONV_DEFS="$NLMCONV_DEFS -DNLMCONV_I386"
13504 BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)'
13505 NLMCONV_DEFS="$NLMCONV_DEFS -DNLMCONV_ALPHA"
13507 powerpc*-*-netware*)
13508 BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)'
13509 NLMCONV_DEFS="$NLMCONV_DEFS -DNLMCONV_POWERPC"
13512 BUILD_NLMCONV='$(NLMCONV_PROG)$(EXEEXT)'
13513 NLMCONV_DEFS="$NLMCONV_DEFS -DNLMCONV_SPARC"
13517 *-*-hms*) BUILD_SRCONV='$(SRCONV_PROG)' ;;
13521 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
13522 if test -z "$DLLTOOL_DEFAULT"; then
13523 DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_ARM_EPOC"
13525 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM_EPOC -DDLLTOOL_ARM"
13526 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
13528 arm-wince-pe* | arm-*-wince)
13529 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
13530 if test -z "$DLLTOOL_DEFAULT"; then
13531 DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_ARM_WINCE"
13533 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM_WINCE -DDLLTOOL_ARM"
13534 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
13537 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
13538 if test -z "$DLLTOOL_DEFAULT"; then
13539 DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_ARM"
13541 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM"
13542 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
13545 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
13546 if test -z "$DLLTOOL_DEFAULT"; then
13547 DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_ARM"
13549 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM"
13550 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
13553 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
13554 if test -z "$DLLTOOL_DEFAULT"; then
13555 DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_MX86_64"
13557 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MX86_64"
13558 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
13559 BUILD_DLLWRAP='$(DLLWRAP_PROG)$(EXEEXT)'
13561 i[3-7]86-*-pe* | i[3-7]86-*-cygwin* | i[3-7]86-*-mingw32** | i[3-7]86-*-netbsdpe*)
13562 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
13563 if test -z "$DLLTOOL_DEFAULT"; then
13564 DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_I386"
13566 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386"
13567 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
13568 BUILD_DLLWRAP='$(DLLWRAP_PROG)$(EXEEXT)'
13570 i[3-7]86-*-interix)
13571 BUILD_DLLTOOL='$(DLLTOOL_PROG)'
13572 if test -z "$DLLTOOL_DEFAULT"; then
13573 DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_I386"
13575 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_I386"
13577 powerpc*-aix5.[01])
13580 OBJDUMP_DEFS="-DAIX_WEAK_SUPPORT"
13582 powerpc*-*-pe* | powerpc*-*-cygwin*)
13583 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
13584 if test -z "$DLLTOOL_DEFAULT"; then
13585 DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_PPC"
13587 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_PPC"
13588 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
13590 powerpc*-*-linux* | powerpc*-*-elf*)
13591 BUILD_INSTALL_MISC="${BUILD_INSTALL_MISC} embedspu"
13594 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
13595 if test -z "$DLLTOOL_DEFAULT"; then
13596 DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_SH"
13598 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_SH"
13599 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
13602 BUILD_MISC="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
13605 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
13606 if test -z "$DLLTOOL_DEFAULT"; then
13607 DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_MIPS"
13609 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MIPS"
13610 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
13613 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
13614 if test -z "$DLLTOOL_DEFAULT"; then
13615 DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_MCORE"
13617 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE"
13618 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
13621 BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
13622 if test -z "$DLLTOOL_DEFAULT"; then
13623 DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_MCORE_ELF"
13625 DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
13628 OBJDUMP_DEFS="-DSKIP_ZEROES=256 -DSKIP_ZEROES_AT_END=0"
13634 DLLTOOL_DEFS="$DLLTOOL_DEFS $DLLTOOL_DEFAULT"
13636 if test "${with_windres+set}" = set; then
13637 BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
13652 cat >>confdefs.h <<_ACEOF
13653 #define TARGET "${target}"
13658 . $srcdir/../bfd/config.bfd
13659 if test "x$targ_underscore" = "xyes"; then
13665 cat >>confdefs.h <<_ACEOF
13666 #define TARGET_PREPENDS_UNDERSCORE $UNDERSCORE
13671 for targ_alias in `echo $target_alias $enable_targets | sed 's/,/ /g'`
13673 # Canonicalize the secondary target names.
13674 result=`$ac_config_sub $targ_alias 2>/dev/null`
13675 if test -n "$result"; then
13681 . ${srcdir}/configure.tgt
13683 EMULATION=$targ_emul
13684 EMULATION_VECTOR=$targ_emul_vector
13690 # Required for html and install-html
13695 ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
13696 cat >confcache <<\_ACEOF
13697 # This file is a shell script that caches the results of configure
13698 # tests run on this system so they can be shared between configure
13699 # scripts and configure runs, see configure's option --config-cache.
13700 # It is not useful on other systems. If it contains results you don't
13701 # want to keep, you may remove or edit it.
13703 # config.status only pays attention to the cache file if you give it
13704 # the --recheck option to rerun configure.
13706 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13707 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13708 # following values.
13712 # The following way of writing the cache mishandles newlines in values,
13713 # but we know of no workaround that is simple, portable, and efficient.
13714 # So, don't put newlines in cache variables' values.
13715 # Ultrix sh set writes to stderr and can't be redirected directly,
13716 # and sets the high bit in the cache file unless we assign to the vars.
13719 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13721 # `set' does not quote correctly, so add quotes (double-quote
13722 # substitution turns \\\\ into \\, and sed turns \\ into \).
13725 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13728 # `set' quotes correctly as required by POSIX, so do not add quotes.
13730 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13737 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13739 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13741 if diff $cache_file confcache >/dev/null 2>&1; then :; else
13742 if test -w $cache_file; then
13743 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13744 cat confcache >$cache_file
13746 echo "not updating unwritable cache $cache_file"
13751 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13752 # Let make expand exec_prefix.
13753 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13755 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13756 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13757 # trailing colons and then remove the whole line if VPATH becomes empty
13758 # (actually we leave an empty line to preserve line numbers).
13759 if test "x$srcdir" = x.; then
13760 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13761 s/:*\$(srcdir):*/:/;
13762 s/:*\${srcdir}:*/:/;
13764 s/^\([^=]*=[ ]*\):*/\1/;
13770 DEFS=-DHAVE_CONFIG_H
13774 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13775 # 1. Remove the extension, and $U if already installed.
13776 ac_i=`echo "$ac_i" |
13777 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
13779 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
13780 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
13782 LIBOBJS=$ac_libobjs
13784 LTLIBOBJS=$ac_ltlibobjs
13787 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13788 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13789 Usually this means the macro was only invoked conditionally." >&5
13790 echo "$as_me: error: conditional \"AMDEP\" was never defined.
13791 Usually this means the macro was only invoked conditionally." >&2;}
13792 { (exit 1); exit 1; }; }
13794 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13795 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13796 Usually this means the macro was only invoked conditionally." >&5
13797 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13798 Usually this means the macro was only invoked conditionally." >&2;}
13799 { (exit 1); exit 1; }; }
13801 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13802 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13803 Usually this means the macro was only invoked conditionally." >&5
13804 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13805 Usually this means the macro was only invoked conditionally." >&2;}
13806 { (exit 1); exit 1; }; }
13808 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
13809 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
13810 Usually this means the macro was only invoked conditionally." >&5
13811 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
13812 Usually this means the macro was only invoked conditionally." >&2;}
13813 { (exit 1); exit 1; }; }
13816 : ${CONFIG_STATUS=./config.status}
13817 ac_clean_files_save=$ac_clean_files
13818 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13819 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13820 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13821 cat >$CONFIG_STATUS <<_ACEOF
13823 # Generated by $as_me.
13824 # Run this file to recreate the current configuration.
13825 # Compiler output produced by configure, useful for debugging
13826 # configure, is in config.log if it exists.
13829 ac_cs_recheck=false
13831 SHELL=\${CONFIG_SHELL-$SHELL}
13834 cat >>$CONFIG_STATUS <<\_ACEOF
13835 ## --------------------- ##
13836 ## M4sh Initialization. ##
13837 ## --------------------- ##
13839 # Be Bourne compatible
13840 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13843 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13844 # is contrary to our usage. Disable this feature.
13845 alias -g '${1+"$@"}'='"$@"'
13846 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
13849 DUALCASE=1; export DUALCASE # for MKS sh
13851 # Support unset when possible.
13852 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13859 # Work around bugs in pre-3.0 UWIN ksh.
13860 $as_unset ENV MAIL MAILPATH
13867 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13868 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13869 LC_TELEPHONE LC_TIME
13871 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13872 eval $as_var=C; export $as_var
13878 # Required to use basename.
13879 if expr a : '\(a\)' >/dev/null 2>&1; then
13885 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
13886 as_basename=basename
13892 # Name of the executable.
13893 as_me=`$as_basename "$0" ||
13894 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13895 X"$0" : 'X\(//\)$' \| \
13896 X"$0" : 'X\(/\)$' \| \
13897 . : '\(.\)' 2>/dev/null ||
13899 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13900 /^X\/\(\/\/\)$/{ s//\1/; q; }
13901 /^X\/\(\/\).*/{ s//\1/; q; }
13905 # PATH needs CR, and LINENO needs CR and PATH.
13906 # Avoid depending upon Character Ranges.
13907 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13908 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13909 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13910 as_cr_digits='0123456789'
13911 as_cr_alnum=$as_cr_Letters$as_cr_digits
13913 # The user is always right.
13914 if test "${PATH_SEPARATOR+set}" != set; then
13915 echo "#! /bin/sh" >conf$$.sh
13916 echo "exit 0" >>conf$$.sh
13918 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13927 as_lineno_1=$LINENO
13928 as_lineno_2=$LINENO
13929 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13930 test "x$as_lineno_1" != "x$as_lineno_2" &&
13931 test "x$as_lineno_3" = "x$as_lineno_2" || {
13932 # Find who we are. Look in the path if we contain no path at all
13935 *[\\/]* ) as_myself=$0 ;;
13936 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13937 for as_dir in $PATH
13940 test -z "$as_dir" && as_dir=.
13941 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13946 # We did not find ourselves, most probably we were run as `sh COMMAND'
13947 # in which case we are not to be found in the path.
13948 if test "x$as_myself" = x; then
13951 if test ! -f "$as_myself"; then
13952 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
13953 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
13954 { (exit 1); exit 1; }; }
13956 case $CONFIG_SHELL in
13958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13959 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
13962 test -z "$as_dir" && as_dir=.
13963 for as_base in sh bash ksh sh5; do
13966 if ("$as_dir/$as_base" -c '
13967 as_lineno_1=$LINENO
13968 as_lineno_2=$LINENO
13969 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13970 test "x$as_lineno_1" != "x$as_lineno_2" &&
13971 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
13972 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
13973 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
13974 CONFIG_SHELL=$as_dir/$as_base
13975 export CONFIG_SHELL
13976 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13984 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13985 # uniformly replaced by the line number. The first 'sed' inserts a
13986 # line-number line before each line; the second 'sed' does the real
13987 # work. The second script uses 'N' to pair each line-number line
13988 # with the numbered line, and appends trailing '-' during
13989 # substitution so that $LINENO is not a special case at line end.
13990 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13991 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
13992 sed '=' <$as_myself |
13997 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14000 s,^['$as_cr_digits']*\n,,
14001 ' >$as_me.lineno &&
14002 chmod +x $as_me.lineno ||
14003 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14004 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14005 { (exit 1); exit 1; }; }
14007 # Don't try to exec as it changes $[0], causing all sort of problems
14008 # (the dirname of $[0] is not the place where we might find the
14009 # original and so on. Autoconf is especially sensible to this).
14011 # Exit status is that of the last command.
14016 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14017 *c*,-n*) ECHO_N= ECHO_C='
14019 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
14020 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
14023 if expr a : '\(a\)' >/dev/null 2>&1; then
14029 rm -f conf$$ conf$$.exe conf$$.file
14031 if ln -s conf$$.file conf$$ 2>/dev/null; then
14032 # We could just check for DJGPP; but this test a) works b) is more generic
14033 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14034 if test -f conf$$.exe; then
14035 # Don't use ln at all; we don't have any links
14040 elif ln conf$$.file conf$$ 2>/dev/null; then
14045 rm -f conf$$ conf$$.exe conf$$.file
14047 if mkdir -p . 2>/dev/null; then
14050 test -d ./-p && rmdir ./-p
14054 as_executable_p="test -f"
14056 # Sed expression to map a string onto a valid CPP name.
14057 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14059 # Sed expression to map a string onto a valid variable name.
14060 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14064 # We need space, tab and new line, in precisely that order.
14074 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14075 # report actual input values of CONFIG_FILES etc. instead of their
14076 # values after options handling. Logging --version etc. is OK.
14080 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14081 ## Running $as_me. ##
14086 This file was extended by $as_me, which was
14087 generated by GNU Autoconf 2.59. Invocation command line was
14089 CONFIG_FILES = $CONFIG_FILES
14090 CONFIG_HEADERS = $CONFIG_HEADERS
14091 CONFIG_LINKS = $CONFIG_LINKS
14092 CONFIG_COMMANDS = $CONFIG_COMMANDS
14096 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14100 # Files that config.status was made for.
14101 if test -n "$ac_config_files"; then
14102 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14105 if test -n "$ac_config_headers"; then
14106 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14109 if test -n "$ac_config_links"; then
14110 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14113 if test -n "$ac_config_commands"; then
14114 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14117 cat >>$CONFIG_STATUS <<\_ACEOF
14120 \`$as_me' instantiates files from templates according to the
14121 current configuration.
14123 Usage: $0 [OPTIONS] [FILE]...
14125 -h, --help print this help, then exit
14126 -V, --version print version number, then exit
14127 -q, --quiet do not print progress messages
14128 -d, --debug don't remove temporary files
14129 --recheck update $as_me by reconfiguring in the same conditions
14130 --file=FILE[:TEMPLATE]
14131 instantiate the configuration file FILE
14132 --header=FILE[:TEMPLATE]
14133 instantiate the configuration header FILE
14135 Configuration files:
14138 Configuration headers:
14141 Configuration commands:
14144 Report bugs to <bug-autoconf@gnu.org>."
14147 cat >>$CONFIG_STATUS <<_ACEOF
14150 configured by $0, generated by GNU Autoconf 2.59,
14151 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14153 Copyright (C) 2003 Free Software Foundation, Inc.
14154 This config.status script is free software; the Free Software Foundation
14155 gives unlimited permission to copy, distribute and modify it."
14160 cat >>$CONFIG_STATUS <<\_ACEOF
14161 # If no file are specified by the user, then we need to provide default
14162 # value. By we need to know if files were specified by the user.
14168 ac_option=`expr "x$1" : 'x\([^=]*\)='`
14169 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
14177 *) # This is not an option, so the user has probably given explicit
14180 ac_need_defaults=false;;
14184 # Handling of the options.
14186 cat >>$CONFIG_STATUS <<\_ACEOF
14187 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14189 --version | --vers* | -V )
14190 echo "$ac_cs_version"; exit 0 ;;
14192 # Conflict between --help and --header
14193 { { echo "$as_me:$LINENO: error: ambiguous option: $1
14194 Try \`$0 --help' for more information." >&5
14195 echo "$as_me: error: ambiguous option: $1
14196 Try \`$0 --help' for more information." >&2;}
14197 { (exit 1); exit 1; }; };;
14198 --help | --hel | -h )
14199 echo "$ac_cs_usage"; exit 0 ;;
14200 --debug | --d* | -d )
14202 --file | --fil | --fi | --f )
14204 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
14205 ac_need_defaults=false;;
14206 --header | --heade | --head | --hea )
14208 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
14209 ac_need_defaults=false;;
14210 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14211 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14214 # This is an error.
14215 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14216 Try \`$0 --help' for more information." >&5
14217 echo "$as_me: error: unrecognized option: $1
14218 Try \`$0 --help' for more information." >&2;}
14219 { (exit 1); exit 1; }; } ;;
14221 *) ac_config_targets="$ac_config_targets $1" ;;
14227 ac_configure_extra_args=
14229 if $ac_cs_silent; then
14231 ac_configure_extra_args="$ac_configure_extra_args --silent"
14235 cat >>$CONFIG_STATUS <<_ACEOF
14236 if \$ac_cs_recheck; then
14237 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
14238 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14243 cat >>$CONFIG_STATUS <<_ACEOF
14245 # INIT-COMMANDS section.
14248 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14251 # The HP-UX ksh and POSIX shell print the target directory to stdout
14252 # if CDPATH is set.
14253 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14255 sed_quote_subst='$sed_quote_subst'
14256 double_quote_subst='$double_quote_subst'
14257 delay_variable_subst='$delay_variable_subst'
14258 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14259 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14260 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14261 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14262 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14263 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14264 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14265 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14266 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14267 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14268 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14269 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14270 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14271 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14272 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14273 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14274 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14275 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14276 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14277 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14278 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14279 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14280 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14281 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14282 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14283 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14284 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14285 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14286 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14287 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14288 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14289 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14290 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14291 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14292 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14293 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14294 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14295 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14296 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14297 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14298 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14299 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14300 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14301 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"`'
14302 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14303 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14304 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14305 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14306 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14307 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14308 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14309 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14310 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14311 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14312 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14313 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14314 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14315 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14316 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14317 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14318 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14319 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14320 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14321 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14322 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14323 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14324 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14325 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14326 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14327 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14328 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14329 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14330 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14331 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14332 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14333 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14334 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14335 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14336 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14337 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14338 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14339 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14340 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14341 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14342 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14343 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14344 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14345 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14346 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14347 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14348 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14349 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14350 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14351 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14352 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14353 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14354 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14355 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14356 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14357 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14358 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14359 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14360 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14361 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14362 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14363 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14364 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14365 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14366 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14367 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14368 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14371 LTCFLAGS='$LTCFLAGS'
14372 compiler='$compiler_DEFAULT'
14374 # Quote evaled strings.
14385 deplibs_check_method \
14394 lt_cv_sys_global_symbol_pipe \
14395 lt_cv_sys_global_symbol_to_cdecl \
14396 lt_cv_sys_global_symbol_to_c_name_address \
14399 lt_prog_compiler_no_builtin_flag \
14400 lt_prog_compiler_wl \
14401 lt_prog_compiler_pic \
14402 lt_prog_compiler_static \
14403 lt_cv_prog_compiler_c_o \
14406 export_dynamic_flag_spec \
14407 whole_archive_flag_spec \
14408 compiler_needs_object \
14410 allow_undefined_flag \
14411 no_undefined_flag \
14412 hardcode_libdir_flag_spec \
14413 hardcode_libdir_flag_spec_ld \
14414 hardcode_libdir_separator \
14419 variables_saved_for_relink \
14421 library_names_spec \
14426 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14427 *[\\\\\\\`\\"\\\$]*)
14428 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14431 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14436 # Double-quote double-evaled strings.
14437 for var in reload_cmds \
14438 old_postinstall_cmds \
14439 old_postuninstall_cmds \
14441 extract_expsyms_cmds \
14442 old_archive_from_new_cmds \
14443 old_archive_from_expsyms_cmds \
14445 archive_expsym_cmds \
14447 module_expsym_cmds \
14448 export_symbols_cmds \
14451 postuninstall_cmds \
14453 sys_lib_search_path_spec \
14454 sys_lib_dlsearch_path_spec; do
14455 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14456 *[\\\\\\\`\\"\\\$]*)
14457 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14460 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14465 # Fix-up fallback echo if it was mangled by the above quoting rules.
14467 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14471 ac_aux_dir='$ac_aux_dir'
14472 xsi_shell='$xsi_shell'
14473 lt_shell_append='$lt_shell_append'
14475 # See if we are running on zsh, and set the options which allow our
14476 # commands through without removal of \ escapes INIT.
14477 if test -n "\${ZSH_VERSION+set}" ; then
14478 setopt NO_GLOB_SUBST
14484 TIMESTAMP='$TIMESTAMP'
14490 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
14491 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
14493 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
14494 # Capture the value of LINGUAS because we need it to compute CATALOGS.
14495 LINGUAS="${LINGUAS-%UNSET%}"
14502 cat >>$CONFIG_STATUS <<\_ACEOF
14503 for ac_config_target in $ac_config_targets
14505 case "$ac_config_target" in
14506 # Handling of arguments.
14507 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14508 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14509 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
14510 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14511 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14512 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
14513 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
14514 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14515 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14516 { (exit 1); exit 1; }; };;
14520 # If the user did not use the arguments to specify the items to instantiate,
14521 # then the envvar interface is used. Set only those that are not.
14522 # We use the long form for the default assignment because of an extremely
14523 # bizarre bug on SunOS 4.1.3.
14524 if $ac_need_defaults; then
14525 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14526 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14527 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14530 # Have a temporary directory for convenience. Make it in the build tree
14531 # simply because there is no reason to put it here, and in addition,
14532 # creating and moving files from /tmp can sometimes cause problems.
14533 # Create a temporary directory, and hook for its removal unless debugging.
14536 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14537 trap '{ (exit 1); exit 1; }' 1 2 13 15
14540 # Create a (secure) tmp directory for tmp files.
14543 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
14544 test -n "$tmp" && test -d "$tmp"
14547 tmp=./confstat$$-$RANDOM
14548 (umask 077 && mkdir $tmp)
14551 echo "$me: cannot create a temporary directory in ." >&2
14552 { (exit 1); exit 1; }
14557 cat >>$CONFIG_STATUS <<_ACEOF
14560 # CONFIG_FILES section.
14563 # No need to generate the scripts if there are no CONFIG_FILES.
14564 # This happens for instance when ./config.status config.h
14565 if test -n "\$CONFIG_FILES"; then
14566 # Protect against being on the right side of a sed subst in config.status.
14567 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14568 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14569 s,@SHELL@,$SHELL,;t t
14570 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14571 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14572 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14573 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14574 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14575 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14576 s,@exec_prefix@,$exec_prefix,;t t
14577 s,@prefix@,$prefix,;t t
14578 s,@program_transform_name@,$program_transform_name,;t t
14579 s,@bindir@,$bindir,;t t
14580 s,@sbindir@,$sbindir,;t t
14581 s,@libexecdir@,$libexecdir,;t t
14582 s,@datadir@,$datadir,;t t
14583 s,@sysconfdir@,$sysconfdir,;t t
14584 s,@sharedstatedir@,$sharedstatedir,;t t
14585 s,@localstatedir@,$localstatedir,;t t
14586 s,@libdir@,$libdir,;t t
14587 s,@includedir@,$includedir,;t t
14588 s,@oldincludedir@,$oldincludedir,;t t
14589 s,@infodir@,$infodir,;t t
14590 s,@mandir@,$mandir,;t t
14591 s,@build_alias@,$build_alias,;t t
14592 s,@host_alias@,$host_alias,;t t
14593 s,@target_alias@,$target_alias,;t t
14594 s,@DEFS@,$DEFS,;t t
14595 s,@ECHO_C@,$ECHO_C,;t t
14596 s,@ECHO_N@,$ECHO_N,;t t
14597 s,@ECHO_T@,$ECHO_T,;t t
14598 s,@LIBS@,$LIBS,;t t
14599 s,@build@,$build,;t t
14600 s,@build_cpu@,$build_cpu,;t t
14601 s,@build_vendor@,$build_vendor,;t t
14602 s,@build_os@,$build_os,;t t
14603 s,@host@,$host,;t t
14604 s,@host_cpu@,$host_cpu,;t t
14605 s,@host_vendor@,$host_vendor,;t t
14606 s,@host_os@,$host_os,;t t
14607 s,@target@,$target,;t t
14608 s,@target_cpu@,$target_cpu,;t t
14609 s,@target_vendor@,$target_vendor,;t t
14610 s,@target_os@,$target_os,;t t
14612 s,@CFLAGS@,$CFLAGS,;t t
14613 s,@LDFLAGS@,$LDFLAGS,;t t
14614 s,@CPPFLAGS@,$CPPFLAGS,;t t
14615 s,@ac_ct_CC@,$ac_ct_CC,;t t
14616 s,@EXEEXT@,$EXEEXT,;t t
14617 s,@OBJEXT@,$OBJEXT,;t t
14618 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14619 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14620 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14621 s,@CYGPATH_W@,$CYGPATH_W,;t t
14622 s,@PACKAGE@,$PACKAGE,;t t
14623 s,@VERSION@,$VERSION,;t t
14624 s,@ACLOCAL@,$ACLOCAL,;t t
14625 s,@AUTOCONF@,$AUTOCONF,;t t
14626 s,@AUTOMAKE@,$AUTOMAKE,;t t
14627 s,@AUTOHEADER@,$AUTOHEADER,;t t
14628 s,@MAKEINFO@,$MAKEINFO,;t t
14629 s,@install_sh@,$install_sh,;t t
14630 s,@STRIP@,$STRIP,;t t
14631 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
14632 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
14633 s,@mkdir_p@,$mkdir_p,;t t
14635 s,@SET_MAKE@,$SET_MAKE,;t t
14636 s,@am__leading_dot@,$am__leading_dot,;t t
14637 s,@AMTAR@,$AMTAR,;t t
14638 s,@am__tar@,$am__tar,;t t
14639 s,@am__untar@,$am__untar,;t t
14640 s,@DEPDIR@,$DEPDIR,;t t
14641 s,@am__include@,$am__include,;t t
14642 s,@am__quote@,$am__quote,;t t
14643 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
14644 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
14645 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
14646 s,@CCDEPMODE@,$CCDEPMODE,;t t
14647 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
14648 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
14649 s,@LIBTOOL@,$LIBTOOL,;t t
14651 s,@EGREP@,$EGREP,;t t
14652 s,@FGREP@,$FGREP,;t t
14653 s,@GREP@,$GREP,;t t
14655 s,@DUMPBIN@,$DUMPBIN,;t t
14656 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
14658 s,@LN_S@,$LN_S,;t t
14660 s,@ac_ct_AR@,$ac_ct_AR,;t t
14661 s,@RANLIB@,$RANLIB,;t t
14662 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14663 s,@lt_ECHO@,$lt_ECHO,;t t
14665 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
14666 s,@NO_WERROR@,$NO_WERROR,;t t
14667 s,@YACC@,$YACC,;t t
14669 s,@LEXLIB@,$LEXLIB,;t t
14670 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
14671 s,@USE_NLS@,$USE_NLS,;t t
14672 s,@LIBINTL@,$LIBINTL,;t t
14673 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
14674 s,@INCINTL@,$INCINTL,;t t
14675 s,@XGETTEXT@,$XGETTEXT,;t t
14676 s,@GMSGFMT@,$GMSGFMT,;t t
14677 s,@POSUB@,$POSUB,;t t
14678 s,@CATALOGS@,$CATALOGS,;t t
14679 s,@DATADIRNAME@,$DATADIRNAME,;t t
14680 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
14681 s,@GENCAT@,$GENCAT,;t t
14682 s,@CATOBJEXT@,$CATOBJEXT,;t t
14683 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
14684 s,@MSGFMT@,$MSGFMT,;t t
14685 s,@MSGMERGE@,$MSGMERGE,;t t
14686 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
14687 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
14688 s,@MAINT@,$MAINT,;t t
14689 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
14690 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
14691 s,@HDEFINES@,$HDEFINES,;t t
14692 s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
14693 s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
14694 s,@DEMANGLER_NAME@,$DEMANGLER_NAME,;t t
14695 s,@ALLOCA@,$ALLOCA,;t t
14696 s,@NLMCONV_DEFS@,$NLMCONV_DEFS,;t t
14697 s,@BUILD_NLMCONV@,$BUILD_NLMCONV,;t t
14698 s,@BUILD_SRCONV@,$BUILD_SRCONV,;t t
14699 s,@BUILD_DLLTOOL@,$BUILD_DLLTOOL,;t t
14700 s,@DLLTOOL_DEFS@,$DLLTOOL_DEFS,;t t
14701 s,@BUILD_WINDRES@,$BUILD_WINDRES,;t t
14702 s,@BUILD_DLLWRAP@,$BUILD_DLLWRAP,;t t
14703 s,@BUILD_MISC@,$BUILD_MISC,;t t
14704 s,@BUILD_INSTALL_MISC@,$BUILD_INSTALL_MISC,;t t
14705 s,@OBJDUMP_DEFS@,$OBJDUMP_DEFS,;t t
14706 s,@EMULATION@,$EMULATION,;t t
14707 s,@EMULATION_VECTOR@,$EMULATION_VECTOR,;t t
14708 s,@datarootdir@,$datarootdir,;t t
14709 s,@docdir@,$docdir,;t t
14710 s,@htmldir@,$htmldir,;t t
14711 s,@LIBOBJS@,$LIBOBJS,;t t
14712 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
14717 cat >>$CONFIG_STATUS <<\_ACEOF
14718 # Split the substitutions into bite-sized pieces for seds with
14719 # small command number limits, like on Digital OSF/1 and HP-UX.
14720 ac_max_sed_lines=48
14721 ac_sed_frag=1 # Number of current file.
14722 ac_beg=1 # First line for current file.
14723 ac_end=$ac_max_sed_lines # Line after last line for current file.
14726 while $ac_more_lines; do
14727 if test $ac_beg -gt 1; then
14728 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14730 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14732 if test ! -s $tmp/subs.frag; then
14733 ac_more_lines=false
14735 # The purpose of the label and of the branching condition is to
14736 # speed up the sed processing (if there are no `@' at all, there
14737 # is no need to browse any of the substitutions).
14738 # These are the two extra sed commands mentioned above.
14740 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
14741 if test -z "$ac_sed_cmds"; then
14742 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
14744 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14746 ac_sed_frag=`expr $ac_sed_frag + 1`
14748 ac_end=`expr $ac_end + $ac_max_sed_lines`
14751 if test -z "$ac_sed_cmds"; then
14754 fi # test -n "$CONFIG_FILES"
14757 cat >>$CONFIG_STATUS <<\_ACEOF
14758 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
14759 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14761 - | *:- | *:-:* ) # input from stdin
14763 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14764 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14765 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14766 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14767 * ) ac_file_in=$ac_file.in ;;
14770 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14771 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
14772 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14773 X"$ac_file" : 'X\(//\)[^/]' \| \
14774 X"$ac_file" : 'X\(//\)$' \| \
14775 X"$ac_file" : 'X\(/\)' \| \
14776 . : '\(.\)' 2>/dev/null ||
14778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14779 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14780 /^X\(\/\/\)$/{ s//\1/; q; }
14781 /^X\(\/\).*/{ s//\1/; q; }
14783 { if $as_mkdir_p; then
14788 while test ! -d "$as_dir"; do
14789 as_dirs="$as_dir $as_dirs"
14790 as_dir=`(dirname "$as_dir") 2>/dev/null ||
14791 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14792 X"$as_dir" : 'X\(//\)[^/]' \| \
14793 X"$as_dir" : 'X\(//\)$' \| \
14794 X"$as_dir" : 'X\(/\)' \| \
14795 . : '\(.\)' 2>/dev/null ||
14797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14798 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14799 /^X\(\/\/\)$/{ s//\1/; q; }
14800 /^X\(\/\).*/{ s//\1/; q; }
14803 test ! -n "$as_dirs" || mkdir $as_dirs
14804 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14805 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14806 { (exit 1); exit 1; }; }; }
14810 if test "$ac_dir" != .; then
14811 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14812 # A "../" for each directory in $ac_dir_suffix.
14813 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14815 ac_dir_suffix= ac_top_builddir=
14819 .) # No --srcdir option. We are building in place.
14821 if test -z "$ac_top_builddir"; then
14824 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
14826 [\\/]* | ?:[\\/]* ) # Absolute path.
14827 ac_srcdir=$srcdir$ac_dir_suffix;
14828 ac_top_srcdir=$srcdir ;;
14829 *) # Relative path.
14830 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
14831 ac_top_srcdir=$ac_top_builddir$srcdir ;;
14834 # Do not use `cd foo && pwd` to compute absolute paths, because
14835 # the directories may not exist.
14837 .) ac_abs_builddir="$ac_dir";;
14840 .) ac_abs_builddir=`pwd`;;
14841 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
14842 *) ac_abs_builddir=`pwd`/"$ac_dir";;
14845 case $ac_abs_builddir in
14846 .) ac_abs_top_builddir=${ac_top_builddir}.;;
14848 case ${ac_top_builddir}. in
14849 .) ac_abs_top_builddir=$ac_abs_builddir;;
14850 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
14851 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
14854 case $ac_abs_builddir in
14855 .) ac_abs_srcdir=$ac_srcdir;;
14858 .) ac_abs_srcdir=$ac_abs_builddir;;
14859 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
14860 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
14863 case $ac_abs_builddir in
14864 .) ac_abs_top_srcdir=$ac_top_srcdir;;
14866 case $ac_top_srcdir in
14867 .) ac_abs_top_srcdir=$ac_abs_builddir;;
14868 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
14869 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
14875 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14876 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
14879 if test x"$ac_file" != x-; then
14880 { echo "$as_me:$LINENO: creating $ac_file" >&5
14881 echo "$as_me: creating $ac_file" >&6;}
14884 # Let's still pretend it is `configure' which instantiates (i.e., don't
14885 # use $as_me), people would be surprised to read:
14886 # /* config.h. Generated by config.status. */
14887 if test x"$ac_file" = x-; then
14890 configure_input="$ac_file. "
14892 configure_input=$configure_input"Generated from `echo $ac_file_in |
14893 sed 's,.*/,,'` by configure."
14895 # First look for the input files in the build tree, otherwise in the
14897 ac_file_inputs=`IFS=:
14898 for f in $ac_file_in; do
14900 -) echo $tmp/stdin ;;
14902 # Absolute (can't be DOS-style, as IFS=:)
14903 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14904 echo "$as_me: error: cannot find input file: $f" >&2;}
14905 { (exit 1); exit 1; }; }
14908 if test -f "$f"; then
14911 elif test -f "$srcdir/$f"; then
14916 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14917 echo "$as_me: error: cannot find input file: $f" >&2;}
14918 { (exit 1); exit 1; }; }
14921 done` || { (exit 1); exit 1; }
14923 cat >>$CONFIG_STATUS <<_ACEOF
14927 cat >>$CONFIG_STATUS <<\_ACEOF
14929 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14930 s,@configure_input@,$configure_input,;t t
14931 s,@srcdir@,$ac_srcdir,;t t
14932 s,@abs_srcdir@,$ac_abs_srcdir,;t t
14933 s,@top_srcdir@,$ac_top_srcdir,;t t
14934 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
14935 s,@builddir@,$ac_builddir,;t t
14936 s,@abs_builddir@,$ac_abs_builddir,;t t
14937 s,@top_builddir@,$ac_top_builddir,;t t
14938 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
14939 s,@INSTALL@,$ac_INSTALL,;t t
14940 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
14942 if test x"$ac_file" != x-; then
14943 mv $tmp/out $ac_file
14951 cat >>$CONFIG_STATUS <<\_ACEOF
14954 # CONFIG_HEADER section.
14957 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
14958 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14960 # ac_d sets the value in "#define NAME VALUE" lines.
14961 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14962 ac_dB='[ ].*$,\1#\2'
14965 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14966 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14967 ac_uB='$,\1#\2define\3'
14971 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
14972 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14974 - | *:- | *:-:* ) # input from stdin
14976 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14977 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14978 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14979 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14980 * ) ac_file_in=$ac_file.in ;;
14983 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
14984 echo "$as_me: creating $ac_file" >&6;}
14986 # First look for the input files in the build tree, otherwise in the
14988 ac_file_inputs=`IFS=:
14989 for f in $ac_file_in; do
14991 -) echo $tmp/stdin ;;
14993 # Absolute (can't be DOS-style, as IFS=:)
14994 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14995 echo "$as_me: error: cannot find input file: $f" >&2;}
14996 { (exit 1); exit 1; }; }
14997 # Do quote $f, to prevent DOS paths from being IFS'd.
15000 if test -f "$f"; then
15003 elif test -f "$srcdir/$f"; then
15008 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15009 echo "$as_me: error: cannot find input file: $f" >&2;}
15010 { (exit 1); exit 1; }; }
15013 done` || { (exit 1); exit 1; }
15014 # Remove the trailing spaces.
15015 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15019 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15020 # `conftest.undefs', that substitutes the proper values into
15021 # config.h.in to produce config.h. The first handles `#define'
15022 # templates, and the second `#undef' templates.
15023 # And first: Protect against being on the right side of a sed subst in
15024 # config.status. Protect against being in an unquoted here document
15025 # in config.status.
15026 rm -f conftest.defines conftest.undefs
15027 # Using a here document instead of a string reduces the quoting nightmare.
15028 # Putting comments in sed scripts is not portable.
15030 # `end' is used to avoid that the second main sed command (meant for
15031 # 0-ary CPP macros) applies to n-ary macro definitions.
15032 # See the Autoconf documentation for `clear'.
15033 cat >confdef2sed.sed <<\_ACEOF
15038 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15040 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15043 # If some macros were called several times there might be several times
15044 # the same #defines, which is useless. Nevertheless, we may not want to
15045 # sort them, since we want the *last* AC-DEFINE to be honored.
15046 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15047 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15048 rm -f confdef2sed.sed
15050 # This sed command replaces #undef with comments. This is necessary, for
15051 # example, in the case of _POSIX_SOURCE, which is predefined and required
15052 # on some systems where configure will not decide to define it.
15053 cat >>conftest.undefs <<\_ACEOF
15054 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15057 # Break up conftest.defines because some shells have a limit on the size
15058 # of here documents, and old seds have small limits too (100 cmds).
15059 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15060 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15061 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15062 echo ' :' >>$CONFIG_STATUS
15063 rm -f conftest.tail
15064 while grep . conftest.defines >/dev/null
15066 # Write a limited-size here document to $tmp/defines.sed.
15067 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15068 # Speed up: don't consider the non `#define' lines.
15069 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15070 # Work around the forget-to-reset-the-flag bug.
15071 echo 't clr' >>$CONFIG_STATUS
15072 echo ': clr' >>$CONFIG_STATUS
15073 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
15075 sed -f $tmp/defines.sed $tmp/in >$tmp/out
15077 mv $tmp/out $tmp/in
15079 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
15080 rm -f conftest.defines
15081 mv conftest.tail conftest.defines
15083 rm -f conftest.defines
15084 echo ' fi # grep' >>$CONFIG_STATUS
15085 echo >>$CONFIG_STATUS
15087 # Break up conftest.undefs because some shells have a limit on the size
15088 # of here documents, and old seds have small limits too (100 cmds).
15089 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15090 rm -f conftest.tail
15091 while grep . conftest.undefs >/dev/null
15093 # Write a limited-size here document to $tmp/undefs.sed.
15094 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15095 # Speed up: don't consider the non `#undef'
15096 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15097 # Work around the forget-to-reset-the-flag bug.
15098 echo 't clr' >>$CONFIG_STATUS
15099 echo ': clr' >>$CONFIG_STATUS
15100 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15102 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15104 mv $tmp/out $tmp/in
15106 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15107 rm -f conftest.undefs
15108 mv conftest.tail conftest.undefs
15110 rm -f conftest.undefs
15112 cat >>$CONFIG_STATUS <<\_ACEOF
15113 # Let's still pretend it is `configure' which instantiates (i.e., don't
15114 # use $as_me), people would be surprised to read:
15115 # /* config.h. Generated by config.status. */
15116 if test x"$ac_file" = x-; then
15117 echo "/* Generated by configure. */" >$tmp/config.h
15119 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15121 cat $tmp/in >>$tmp/config.h
15123 if test x"$ac_file" != x-; then
15124 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
15125 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15126 echo "$as_me: $ac_file is unchanged" >&6;}
15128 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15129 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15130 X"$ac_file" : 'X\(//\)[^/]' \| \
15131 X"$ac_file" : 'X\(//\)$' \| \
15132 X"$ac_file" : 'X\(/\)' \| \
15133 . : '\(.\)' 2>/dev/null ||
15135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15136 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15137 /^X\(\/\/\)$/{ s//\1/; q; }
15138 /^X\(\/\).*/{ s//\1/; q; }
15140 { if $as_mkdir_p; then
15145 while test ! -d "$as_dir"; do
15146 as_dirs="$as_dir $as_dirs"
15147 as_dir=`(dirname "$as_dir") 2>/dev/null ||
15148 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15149 X"$as_dir" : 'X\(//\)[^/]' \| \
15150 X"$as_dir" : 'X\(//\)$' \| \
15151 X"$as_dir" : 'X\(/\)' \| \
15152 . : '\(.\)' 2>/dev/null ||
15154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15155 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15156 /^X\(\/\/\)$/{ s//\1/; q; }
15157 /^X\(\/\).*/{ s//\1/; q; }
15160 test ! -n "$as_dirs" || mkdir $as_dirs
15161 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15162 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15163 { (exit 1); exit 1; }; }; }
15166 mv $tmp/config.h $ac_file
15170 rm -f $tmp/config.h
15172 # Compute $ac_file's index in $config_headers.
15174 for _am_header in $config_headers :; do
15175 case $_am_header in
15176 $ac_file | $ac_file:* )
15179 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15182 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
15183 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15184 X$ac_file : 'X\(//\)[^/]' \| \
15185 X$ac_file : 'X\(//\)$' \| \
15186 X$ac_file : 'X\(/\)' \| \
15187 . : '\(.\)' 2>/dev/null ||
15189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15190 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15191 /^X\(\/\/\)$/{ s//\1/; q; }
15192 /^X\(\/\).*/{ s//\1/; q; }
15193 s/.*/./; q'`/stamp-h$_am_stamp_count
15196 cat >>$CONFIG_STATUS <<\_ACEOF
15199 # CONFIG_COMMANDS section.
15201 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
15202 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
15203 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
15204 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
15205 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15206 X"$ac_dest" : 'X\(//\)[^/]' \| \
15207 X"$ac_dest" : 'X\(//\)$' \| \
15208 X"$ac_dest" : 'X\(/\)' \| \
15209 . : '\(.\)' 2>/dev/null ||
15211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15212 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15213 /^X\(\/\/\)$/{ s//\1/; q; }
15214 /^X\(\/\).*/{ s//\1/; q; }
15216 { if $as_mkdir_p; then
15221 while test ! -d "$as_dir"; do
15222 as_dirs="$as_dir $as_dirs"
15223 as_dir=`(dirname "$as_dir") 2>/dev/null ||
15224 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15225 X"$as_dir" : 'X\(//\)[^/]' \| \
15226 X"$as_dir" : 'X\(//\)$' \| \
15227 X"$as_dir" : 'X\(/\)' \| \
15228 . : '\(.\)' 2>/dev/null ||
15230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15231 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15232 /^X\(\/\/\)$/{ s//\1/; q; }
15233 /^X\(\/\).*/{ s//\1/; q; }
15236 test ! -n "$as_dirs" || mkdir $as_dirs
15237 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15238 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15239 { (exit 1); exit 1; }; }; }
15243 if test "$ac_dir" != .; then
15244 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15245 # A "../" for each directory in $ac_dir_suffix.
15246 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15248 ac_dir_suffix= ac_top_builddir=
15252 .) # No --srcdir option. We are building in place.
15254 if test -z "$ac_top_builddir"; then
15257 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15259 [\\/]* | ?:[\\/]* ) # Absolute path.
15260 ac_srcdir=$srcdir$ac_dir_suffix;
15261 ac_top_srcdir=$srcdir ;;
15262 *) # Relative path.
15263 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15264 ac_top_srcdir=$ac_top_builddir$srcdir ;;
15267 # Do not use `cd foo && pwd` to compute absolute paths, because
15268 # the directories may not exist.
15270 .) ac_abs_builddir="$ac_dir";;
15273 .) ac_abs_builddir=`pwd`;;
15274 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
15275 *) ac_abs_builddir=`pwd`/"$ac_dir";;
15278 case $ac_abs_builddir in
15279 .) ac_abs_top_builddir=${ac_top_builddir}.;;
15281 case ${ac_top_builddir}. in
15282 .) ac_abs_top_builddir=$ac_abs_builddir;;
15283 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
15284 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
15287 case $ac_abs_builddir in
15288 .) ac_abs_srcdir=$ac_srcdir;;
15291 .) ac_abs_srcdir=$ac_abs_builddir;;
15292 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
15293 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
15296 case $ac_abs_builddir in
15297 .) ac_abs_top_srcdir=$ac_top_srcdir;;
15299 case $ac_top_srcdir in
15300 .) ac_abs_top_srcdir=$ac_abs_builddir;;
15301 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
15302 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
15307 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15308 echo "$as_me: executing $ac_dest commands" >&6;}
15310 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
15311 # Strip MF so we end up with the name of the file.
15312 mf=`echo "$mf" | sed -e 's/:.*$//'`
15313 # Check whether this is an Automake generated Makefile or not.
15314 # We used to match only the files named `Makefile.in', but
15315 # some people rename them; so instead we look at the file content.
15316 # Grep'ing the first line is not enough: some people post-process
15317 # each Makefile.in and add a new line on top of each file to say so.
15318 # So let's grep whole file.
15319 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
15320 dirpart=`(dirname "$mf") 2>/dev/null ||
15321 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15322 X"$mf" : 'X\(//\)[^/]' \| \
15323 X"$mf" : 'X\(//\)$' \| \
15324 X"$mf" : 'X\(/\)' \| \
15325 . : '\(.\)' 2>/dev/null ||
15327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15328 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15329 /^X\(\/\/\)$/{ s//\1/; q; }
15330 /^X\(\/\).*/{ s//\1/; q; }
15335 # Extract the definition of DEPDIR, am__include, and am__quote
15336 # from the Makefile without running `make'.
15337 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15338 test -z "$DEPDIR" && continue
15339 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15340 test -z "am__include" && continue
15341 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15342 # When using ansi2knr, U may be empty or an underscore; expand it
15343 U=`sed -n 's/^U = //p' < "$mf"`
15344 # Find all dependency output files, they are included files with
15345 # $(DEPDIR) in their names. We invoke sed twice because it is the
15346 # simplest approach to changing $(DEPDIR) to its actual value in the
15348 for file in `sed -n "
15349 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15350 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15351 # Make sure the directory exists.
15352 test -f "$dirpart/$file" && continue
15353 fdir=`(dirname "$file") 2>/dev/null ||
15354 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15355 X"$file" : 'X\(//\)[^/]' \| \
15356 X"$file" : 'X\(//\)$' \| \
15357 X"$file" : 'X\(/\)' \| \
15358 . : '\(.\)' 2>/dev/null ||
15360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15361 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15362 /^X\(\/\/\)$/{ s//\1/; q; }
15363 /^X\(\/\).*/{ s//\1/; q; }
15365 { if $as_mkdir_p; then
15366 mkdir -p $dirpart/$fdir
15368 as_dir=$dirpart/$fdir
15370 while test ! -d "$as_dir"; do
15371 as_dirs="$as_dir $as_dirs"
15372 as_dir=`(dirname "$as_dir") 2>/dev/null ||
15373 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15374 X"$as_dir" : 'X\(//\)[^/]' \| \
15375 X"$as_dir" : 'X\(//\)$' \| \
15376 X"$as_dir" : 'X\(/\)' \| \
15377 . : '\(.\)' 2>/dev/null ||
15379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15380 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15381 /^X\(\/\/\)$/{ s//\1/; q; }
15382 /^X\(\/\).*/{ s//\1/; q; }
15385 test ! -n "$as_dirs" || mkdir $as_dirs
15386 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
15387 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
15388 { (exit 1); exit 1; }; }; }
15390 # echo "creating $dirpart/$file"
15391 echo '# dummy' > "$dirpart/$file"
15397 # See if we are running on zsh, and set the options which allow our
15398 # commands through without removal of \ escapes.
15399 if test -n "${ZSH_VERSION+set}" ; then
15400 setopt NO_GLOB_SUBST
15403 cfgfile="${ofile}T"
15404 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15407 cat <<_LT_EOF >> "$cfgfile"
15410 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15411 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
15412 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15413 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15415 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15416 # 2006, 2007 Free Software Foundation, Inc.
15418 # This file is part of GNU Libtool:
15419 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
15421 # This program is free software; you can redistribute it and/or modify
15422 # it under the terms of the GNU General Public License as published by
15423 # the Free Software Foundation; either version 2 of the License, or
15424 # (at your option) any later version.
15426 # This program is distributed in the hope that it will be useful, but
15427 # WITHOUT ANY WARRANTY; without even the implied warranty of
15428 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15429 # General Public License for more details.
15431 # You should have received a copy of the GNU General Public License
15432 # along with this program; if not, a copy can be downloaded from
15433 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
15434 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
15435 # MA 02110-1301, USA.
15437 # As a special exception to the GNU General Public License, if you
15438 # distribute this file as part of a program that contains a
15439 # configuration script generated by Autoconf, you may include it under
15440 # the same distribution terms that you use for the rest of that program.
15443 # The names of the tagged configurations supported by this script.
15446 # ### BEGIN LIBTOOL CONFIG
15448 # Which release of libtool.m4 was used?
15449 macro_version=$macro_version
15450 macro_revision=$macro_revision
15452 # Whether or not to build shared libraries.
15453 build_libtool_libs=$enable_shared
15455 # Whether or not to build static libraries.
15456 build_old_libs=$enable_static
15458 # What type of objects to build.
15461 # Whether or not to optimize for fast installation.
15462 fast_install=$enable_fast_install
15465 host_alias=$host_alias
15469 # The build system.
15470 build_alias=$build_alias
15474 # A sed program that does not truncate output.
15477 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15478 Xsed="\$SED -e 1s/^X//"
15480 # A grep program that handles long lines.
15486 # A literal string matcher.
15489 # A BSD- or MS-compatible name lister.
15492 # Whether we need soft or hard links.
15495 # What is the maximum length of a command?
15496 max_cmd_len=$max_cmd_len
15498 # Object file suffix (normally "o").
15501 # Executable file suffix (normally "").
15504 # whether the shell understands "unset".
15507 # turn spaces into newlines.
15510 # turn newlines into spaces.
15513 # How to create reloadable object files.
15514 reload_flag=$lt_reload_flag
15515 reload_cmds=$lt_reload_cmds
15517 # Method to check whether dependent libraries are shared objects.
15518 deplibs_check_method=$lt_deplibs_check_method
15520 # Command to use when deplibs_check_method == "file_magic".
15521 file_magic_cmd=$lt_file_magic_cmd
15525 AR_FLAGS=$lt_AR_FLAGS
15527 # A symbol stripping program.
15530 # Commands used to install an old-style archive.
15532 old_postinstall_cmds=$lt_old_postinstall_cmds
15533 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15538 # LTCC compiler flags.
15539 LTCFLAGS=$lt_CFLAGS
15541 # Take the output of nm and produce a listing of raw symbols and C names.
15542 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15544 # Transform the output of nm in a proper C declaration.
15545 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15547 # Transform the output of nm in a C name address pair.
15548 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15550 # The name of the directory that contains temporary libtool files.
15553 # Shell to use when invoking shell scripts.
15556 # An echo program that does not interpret backslashes.
15559 # Used to examine libraries when file_magic_cmd begins with "file".
15560 MAGIC_CMD=$MAGIC_CMD
15562 # Must we lock files when doing compilation?
15563 need_locks=$lt_need_locks
15565 # Old archive suffix (normally "a").
15568 # Shared library suffix (normally ".so").
15569 shrext_cmds=$lt_shrext_cmds
15571 # The commands to extract the exported symbol list from a shared archive.
15572 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15574 # Variables whose values should be saved in libtool wrapper scripts and
15575 # restored at link time.
15576 variables_saved_for_relink=$lt_variables_saved_for_relink
15578 # Do we need the "lib" prefix for modules?
15579 need_lib_prefix=$need_lib_prefix
15581 # Do we need a version for libraries?
15582 need_version=$need_version
15584 # Library versioning type.
15585 version_type=$version_type
15587 # Shared library runtime path variable.
15588 runpath_var=$runpath_var
15590 # Shared library path variable.
15591 shlibpath_var=$shlibpath_var
15593 # Is shlibpath searched before the hard-coded library search path?
15594 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15596 # Format of library name prefix.
15597 libname_spec=$lt_libname_spec
15599 # List of archive names. First name is the real one, the rest are links.
15600 # The last name is the one that the linker finds with -lNAME
15601 library_names_spec=$lt_library_names_spec
15603 # The coded name of the library, if different from the real name.
15604 soname_spec=$lt_soname_spec
15606 # Command to use after installation of a shared archive.
15607 postinstall_cmds=$lt_postinstall_cmds
15609 # Command to use after uninstallation of a shared archive.
15610 postuninstall_cmds=$lt_postuninstall_cmds
15612 # Commands used to finish a libtool library installation in a directory.
15613 finish_cmds=$lt_finish_cmds
15615 # As "finish_cmds", except a single script fragment to be evaled but
15617 finish_eval=$lt_finish_eval
15619 # Whether we should hardcode library paths into libraries.
15620 hardcode_into_libs=$hardcode_into_libs
15622 # Compile-time system search path for libraries.
15623 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15625 # Run-time system search path for libraries.
15626 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15628 # Whether dlopen is supported.
15629 dlopen_support=$enable_dlopen
15631 # Whether dlopen of programs is supported.
15632 dlopen_self=$enable_dlopen_self
15634 # Whether dlopen of statically linked programs is supported.
15635 dlopen_self_static=$enable_dlopen_self_static
15637 # Commands to strip libraries.
15638 old_striplib=$lt_old_striplib
15639 striplib=$lt_striplib
15642 # The linker used to build libraries.
15645 # Commands used to build an old-style archive.
15646 old_archive_cmds=$lt_old_archive_cmds
15648 # A language specific compiler.
15651 # Is the compiler the GNU compiler?
15654 # Compiler flag to turn off builtin functions.
15655 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15657 # How to pass a linker flag through the compiler.
15658 wl=$lt_lt_prog_compiler_wl
15660 # Additional compiler flags for building library objects.
15661 pic_flag=$lt_lt_prog_compiler_pic
15663 # Compiler flag to prevent dynamic linking.
15664 link_static_flag=$lt_lt_prog_compiler_static
15666 # Does compiler simultaneously support -c and -o options?
15667 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15669 # Whether or not to add -lc for building shared libraries.
15670 build_libtool_need_lc=$archive_cmds_need_lc
15672 # Whether or not to disallow shared libs when runtime libs are static.
15673 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15675 # Compiler flag to allow reflexive dlopens.
15676 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15678 # Compiler flag to generate shared objects directly from archives.
15679 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15681 # Whether the compiler copes with passing no objects directly.
15682 compiler_needs_object=$lt_compiler_needs_object
15684 # Create an old-style archive from a shared archive.
15685 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15687 # Create a temporary old-style archive to link instead of a shared archive.
15688 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15690 # Commands used to build a shared archive.
15691 archive_cmds=$lt_archive_cmds
15692 archive_expsym_cmds=$lt_archive_expsym_cmds
15694 # Commands used to build a loadable module if different from building
15695 # a shared archive.
15696 module_cmds=$lt_module_cmds
15697 module_expsym_cmds=$lt_module_expsym_cmds
15699 # Whether we are building with GNU ld or not.
15700 with_gnu_ld=$lt_with_gnu_ld
15702 # Flag that allows shared libraries with undefined symbols to be built.
15703 allow_undefined_flag=$lt_allow_undefined_flag
15705 # Flag that enforces no undefined symbols.
15706 no_undefined_flag=$lt_no_undefined_flag
15708 # Flag to hardcode \$libdir into a binary during linking.
15709 # This must work even if \$libdir does not exist
15710 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15712 # If ld is used when linking, flag to hardcode \$libdir into a binary
15713 # during linking. This must work even if \$libdir does not exist.
15714 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15716 # Whether we need a single "-rpath" flag with a separated argument.
15717 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15719 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15720 # DIR into the resulting binary.
15721 hardcode_direct=$hardcode_direct
15723 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15724 # DIR into the resulting binary and the resulting library dependency is
15725 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15726 # library is relocated.
15727 hardcode_direct_absolute=$hardcode_direct_absolute
15729 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15730 # into the resulting binary.
15731 hardcode_minus_L=$hardcode_minus_L
15733 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15734 # into the resulting binary.
15735 hardcode_shlibpath_var=$hardcode_shlibpath_var
15737 # Set to "yes" if building a shared library automatically hardcodes DIR
15738 # into the library and all subsequent libraries and executables linked
15740 hardcode_automatic=$hardcode_automatic
15742 # Set to yes if linker adds runtime paths of dependent libraries
15743 # to runtime path list.
15744 inherit_rpath=$inherit_rpath
15746 # Whether libtool must link a program against all its dependency libraries.
15747 link_all_deplibs=$link_all_deplibs
15749 # Fix the shell variable \$srcfile for the compiler.
15750 fix_srcfile_path=$lt_fix_srcfile_path
15752 # Set to "yes" if exported symbols are required.
15753 always_export_symbols=$always_export_symbols
15755 # The commands to list exported symbols.
15756 export_symbols_cmds=$lt_export_symbols_cmds
15758 # Symbols that should not be listed in the preloaded symbols.
15759 exclude_expsyms=$lt_exclude_expsyms
15761 # Symbols that must always be exported.
15762 include_expsyms=$lt_include_expsyms
15764 # Commands necessary for linking programs (against libraries) with templates.
15765 prelink_cmds=$lt_prelink_cmds
15767 # Specify filename containing input files.
15768 file_list_spec=$lt_file_list_spec
15770 # How to hardcode a shared library path into an executable.
15771 hardcode_action=$hardcode_action
15773 # ### END LIBTOOL CONFIG
15779 cat <<\_LT_EOF >> "$cfgfile"
15780 # AIX sometimes has problems with the GCC collect2 program. For some
15781 # reason, if we set the COLLECT_NAMES environment variable, the problems
15782 # vanish in a puff of smoke.
15783 if test "X${COLLECT_NAMES+set}" != Xset; then
15785 export COLLECT_NAMES
15792 ltmain="$ac_aux_dir/ltmain.sh"
15795 # We use sed instead of cat because bash on DJGPP gets confused if
15796 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15797 # text mode, it properly converts lines to CR/LF. This bash problem
15798 # is reportedly fixed, but why not run on old versions too?
15799 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15800 || (rm -f "$cfgfile"; exit 1)
15804 cat << \_LT_EOF >> "$cfgfile"
15805 # func_dirname file append nondir_replacement
15806 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15807 # otherwise set result to NONDIR_REPLACEMENT.
15811 */*) func_dirname_result="${1%/*}${2}" ;;
15812 * ) func_dirname_result="${3}" ;;
15816 # func_basename file
15819 func_basename_result="${1##*/}"
15822 # func_stripname prefix suffix name
15823 # strip PREFIX and SUFFIX off of NAME.
15824 # PREFIX and SUFFIX must not contain globbing or regex special
15825 # characters, hashes, percent signs, but SUFFIX may contain a leading
15826 # dot (in which case that matches only a dot).
15829 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15830 # positional parameters, so assign one to ordinary parameter first.
15831 func_stripname_result=${3}
15832 func_stripname_result=${func_stripname_result#"${1}"}
15833 func_stripname_result=${func_stripname_result%"${2}"}
15839 func_opt_split_opt=${1%%=*}
15840 func_opt_split_arg=${1#*=}
15847 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15848 *) func_lo2o_result=${1} ;;
15853 *) # Bourne compatible functions.
15854 cat << \_LT_EOF >> "$cfgfile"
15855 # func_dirname file append nondir_replacement
15856 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15857 # otherwise set result to NONDIR_REPLACEMENT.
15860 # Extract subdirectory from the argument.
15861 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15862 if test "X$func_dirname_result" = "X${1}"; then
15863 func_dirname_result="${3}"
15865 func_dirname_result="$func_dirname_result${2}"
15869 # func_basename file
15872 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15875 # func_stripname prefix suffix name
15876 # strip PREFIX and SUFFIX off of NAME.
15877 # PREFIX and SUFFIX must not contain globbing or regex special
15878 # characters, hashes, percent signs, but SUFFIX may contain a leading
15879 # dot (in which case that matches only a dot).
15880 # func_strip_suffix prefix name
15884 .*) func_stripname_result=`$ECHO "X${3}" \
15885 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15886 *) func_stripname_result=`$ECHO "X${3}" \
15887 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15892 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15893 my_sed_long_arg='1s/^-[^=]*=//'
15898 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15899 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15905 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15910 case $lt_shell_append in
15912 cat << \_LT_EOF >> "$cfgfile"
15914 # func_append var value
15915 # Append VALUE to the end of shell variable VAR.
15923 cat << \_LT_EOF >> "$cfgfile"
15925 # func_append var value
15926 # Append VALUE to the end of shell variable VAR.
15936 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15937 || (rm -f "$cfgfile"; exit 1)
15939 mv -f "$cfgfile" "$ofile" ||
15940 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15945 for ac_file in $CONFIG_FILES; do
15946 # Support "outfile[:infile[:infile...]]"
15948 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
15950 # PO directories have a Makefile.in generated from Makefile.in.in.
15951 case "$ac_file" in */Makefile.in)
15952 # Adjust a relative srcdir.
15953 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
15954 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
15955 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
15956 # In autoconf-2.13 it is called $ac_given_srcdir.
15957 # In autoconf-2.50 it is called $srcdir.
15958 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
15959 case "$ac_given_srcdir" in
15960 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
15961 /*) top_srcdir="$ac_given_srcdir" ;;
15962 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
15964 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
15965 rm -f "$ac_dir/POTFILES"
15966 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
15967 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
15968 POMAKEFILEDEPS="POTFILES.in"
15969 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
15970 # on $ac_dir but don't depend on user-specified configuration
15972 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
15973 # The LINGUAS file contains the set of available languages.
15974 if test -n "$OBSOLETE_ALL_LINGUAS"; then
15975 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
15977 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
15978 # Hide the ALL_LINGUAS assigment from automake.
15979 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
15980 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
15982 # The set of available languages was given in configure.in.
15983 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
15985 case "$ac_given_srcdir" in
15987 *) srcdirpre='$(srcdir)/' ;;
15993 for lang in $ALL_LINGUAS; do
15994 POFILES="$POFILES $srcdirpre$lang.po"
15995 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
15996 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
15997 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
15999 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16000 # environment variable.
16002 if test -n "$ALL_LINGUAS"; then
16003 for presentlang in $ALL_LINGUAS; do
16005 if test "%UNSET%" != "$LINGUAS"; then
16006 desiredlanguages="$LINGUAS"
16008 desiredlanguages="$ALL_LINGUAS"
16010 for desiredlang in $desiredlanguages; do
16011 # Use the presentlang catalog if desiredlang is
16012 # a. equal to presentlang, or
16013 # b. a variant of presentlang (because in this case,
16014 # presentlang can be used as a fallback for messages
16015 # which are not translated in the desiredlang catalog).
16016 case "$desiredlang" in
16017 "$presentlang"*) useit=yes;;
16020 if test $useit = yes; then
16021 INST_LINGUAS="$INST_LINGUAS $presentlang"
16026 if test -n "$INST_LINGUAS"; then
16027 for lang in $INST_LINGUAS; do
16028 CATALOGS="$CATALOGS $lang.gmo"
16031 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
16032 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
16033 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
16034 if test -f "$f"; then
16036 *.orig | *.bak | *~) ;;
16037 *) cat "$f" >> "$ac_dir/Makefile" ;;
16049 cat >>$CONFIG_STATUS <<\_ACEOF
16051 { (exit 0); exit 0; }
16053 chmod +x $CONFIG_STATUS
16054 ac_clean_files=$ac_clean_files_save
16057 # configure is writing to config.log, and then calls config.status.
16058 # config.status does its own redirection, appending to config.log.
16059 # Unfortunately, on DOS this fails, as config.log is still kept open
16060 # by configure, so config.status won't be able to write to it; its
16061 # output is simply discarded. So we exec the FD to /dev/null,
16062 # effectively closing config.log, so it can be properly (re)opened and
16063 # appended to by config.status. When coming back to configure, we
16064 # need to make the FD available again.
16065 if test "$no_create" != yes; then
16067 ac_config_status_args=
16068 test "$silent" = yes &&
16069 ac_config_status_args="$ac_config_status_args --quiet"
16071 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16073 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16074 # would make configure fail if this is the last instruction.
16075 $ac_cs_success || { (exit 1); exit 1; }