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
="as.h"
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 GDBINIT cgen_cpu_prefix extra_objects target_cpu_type obj_format te_file install_tooldir atof OPCODES_LIB 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 ALLOCA LIBM 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 besides the primary
1012 --enable-commonbfdlib build shared BFD
/opcodes
/libiberty library
1013 --enable-checking enable run-time checks
1014 --enable-werror treat compile warnings as errors
1015 --enable-build-warnings enable build-time compiler warnings
1016 --disable-nls do not use Native Language Support
1017 --enable-maintainer-mode enable make rules and dependencies not useful
1018 (and sometimes confusing
) to the casual installer
1021 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1022 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1023 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1025 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1027 Some influential environment variables
:
1028 CC C compiler
command
1029 CFLAGS C compiler flags
1030 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1031 nonstandard directory
<lib dir
>
1032 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1033 headers
in a nonstandard directory
<include dir
>
1036 Use these variables to override the choices made by
`configure' or to help
1037 it to find libraries and programs with nonstandard names/locations.
1042 if test "$ac_init_help" = "recursive"; then
1043 # If there are subdirs, report their specific --help.
1045 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1046 test -d $ac_dir || continue
1049 if test "$ac_dir" != .; then
1050 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1051 # A "../" for each directory in $ac_dir_suffix.
1052 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1054 ac_dir_suffix= ac_top_builddir=
1058 .) # No --srcdir option. We are building in place.
1060 if test -z "$ac_top_builddir"; then
1063 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1065 [\\/]* | ?:[\\/]* ) # Absolute path.
1066 ac_srcdir=$srcdir$ac_dir_suffix;
1067 ac_top_srcdir=$srcdir ;;
1069 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1070 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1073 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1074 # the directories may not exist.
1076 .) ac_abs_builddir="$ac_dir";;
1079 .) ac_abs_builddir=`pwd`;;
1080 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1081 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1084 case $ac_abs_builddir in
1085 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1087 case ${ac_top_builddir}. in
1088 .) ac_abs_top_builddir=$ac_abs_builddir;;
1089 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1090 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1093 case $ac_abs_builddir in
1094 .) ac_abs_srcdir=$ac_srcdir;;
1097 .) ac_abs_srcdir=$ac_abs_builddir;;
1098 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1099 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1102 case $ac_abs_builddir in
1103 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1105 case $ac_top_srcdir in
1106 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1107 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1108 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1113 # Check for guested configure; otherwise get Cygnus style configure.
1114 if test -f $ac_srcdir/configure.gnu; then
1116 $SHELL $ac_srcdir/configure.gnu --help=recursive
1117 elif test -f $ac_srcdir/configure; then
1119 $SHELL $ac_srcdir/configure --help=recursive
1120 elif test -f $ac_srcdir/configure.ac ||
1121 test -f $ac_srcdir/configure.in; then
1123 $ac_configure --help
1125 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1131 test -n "$ac_init_help" && exit 0
1132 if $ac_init_version; then
1135 Copyright (C) 2003 Free Software Foundation, Inc.
1136 This configure script is free software; the Free Software Foundation
1137 gives unlimited permission to copy, distribute and modify it.
1143 This file contains any messages produced by compilers while
1144 running configure, to aid debugging if configure makes a mistake.
1146 It was created by $as_me, which was
1147 generated by GNU Autoconf 2.59. Invocation command line was
1158 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1159 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1160 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1161 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1162 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1164 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1165 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1167 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1168 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1169 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1170 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1171 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1172 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1173 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1181 test -z "$as_dir" && as_dir=.
1182 echo "PATH: $as_dir"
1197 # Keep a trace of the command line.
1198 # Strip out --no-create and --no-recursion so they do not pile up.
1199 # Strip out --silent because we don't want to record it for future runs.
1200 # Also quote any args containing shell meta-characters.
1201 # Make two passes to allow for proper duplicate-argument suppression.
1206 ac_must_keep_next=false
1212 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1213 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1214 | -silent | --silent | --silen | --sile | --sil)
1216 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1217 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1220 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1222 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1223 if test $ac_must_keep_next = true; then
1224 ac_must_keep_next=false # Got value, back to normal.
1227 *=* | --config-cache | -C | -disable-* | --disable-* \
1228 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1229 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1230 | -with-* | --with-* | -without-* | --without-* | --x)
1231 case "$ac_configure_args0 " in
1232 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1235 -* ) ac_must_keep_next=true ;;
1238 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1239 # Get rid of the leading space.
1245 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1246 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1248 # When interrupted or exit'd, cleanup temporary files, and complete
1249 # config.log. We remove comments because anyway the quotes in there
1250 # would cause problems or look ugly.
1251 # WARNING: Be sure not to use single quotes in there, as some shells,
1252 # such as our DU 5.0 friend, will then `close
' the trap.
1253 trap 'exit_status
=$?
1254 # Save into config.log some information that might help in debugging.
1259 ## ---------------- ##
1260 ## Cache variables. ##
1261 ## ---------------- ##
1264 # The following way of writing the cache mishandles newlines in values,
1267 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1270 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1271 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1275 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1282 ## ----------------- ##
1283 ## Output variables. ##
1284 ## ----------------- ##
1287 for ac_var
in $ac_subst_vars
1289 eval ac_val
=$
`echo $ac_var`
1290 echo "$ac_var='"'"'$ac_val'"'"'"
1294 if test -n "$ac_subst_files"; then
1301 for ac_var
in $ac_subst_files
1303 eval ac_val
=$
`echo $ac_var`
1304 echo "$ac_var='"'"'$ac_val'"'"'"
1309 if test -s confdefs.h
; then
1316 sed "/^$/d" confdefs.h |
sort
1319 test "$ac_signal" != 0 &&
1320 echo "$as_me: caught signal $ac_signal"
1321 echo "$as_me: exit $exit_status"
1323 rm -f core
*.core
&&
1324 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1327 for ac_signal in 1 2 13 15; do
1328 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1332 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1333 rm -rf conftest* confdefs.h
1334 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1337 # Predefined preprocessor variables.
1339 cat >>confdefs.h <<_ACEOF
1340 #define PACKAGE_NAME "$PACKAGE_NAME"
1344 cat >>confdefs.h <<_ACEOF
1345 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1349 cat >>confdefs.h <<_ACEOF
1350 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1354 cat >>confdefs.h <<_ACEOF
1355 #define PACKAGE_STRING "$PACKAGE_STRING"
1359 cat >>confdefs.h <<_ACEOF
1360 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1364 # Let the site file select an alternate cache file if it wants to.
1365 # Prefer explicitly selected file to automatically selected ones.
1366 if test -z "$CONFIG_SITE"; then
1367 if test "x$prefix" != xNONE; then
1368 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1370 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1373 for ac_site_file in $CONFIG_SITE; do
1374 if test -r "$ac_site_file"; then
1375 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1376 echo "$as_me: loading site script $ac_site_file" >&6;}
1377 sed 's
/^
/|
/' "$ac_site_file" >&5
1382 if test -r "$cache_file"; then
1383 # Some versions of bash will fail to source /dev/null (special
1384 # files actually), so we avoid doing that.
1385 if test -f "$cache_file"; then
1386 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1387 echo "$as_me: loading cache $cache_file" >&6;}
1389 [\\/]* | ?:[\\/]* ) . $cache_file;;
1390 *) . ./$cache_file;;
1394 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1395 echo "$as_me: creating cache $cache_file" >&6;}
1399 # Check that the precious variables saved in the cache have kept the same
1401 ac_cache_corrupted=false
1402 for ac_var in `(set) 2>&1 |
1403 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1404 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1405 eval ac_new_set=\$ac_env_${ac_var}_set
1406 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1407 eval ac_new_val="\$ac_env_${ac_var}_value"
1408 case $ac_old_set,$ac_new_set in
1410 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1411 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1412 ac_cache_corrupted=: ;;
1414 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1415 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1416 ac_cache_corrupted=: ;;
1419 if test "x$ac_old_val" != "x$ac_new_val"; then
1420 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1421 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1422 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1423 echo "$as_me: former value: $ac_old_val" >&2;}
1424 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1425 echo "$as_me: current value: $ac_new_val" >&2;}
1426 ac_cache_corrupted=:
1429 # Pass precious variables to config.status.
1430 if test "$ac_new_set" = set; then
1432 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1433 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1434 *) ac_arg=$ac_var=$ac_new_val ;;
1436 case " $ac_configure_args " in
1437 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1438 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1442 if $ac_cache_corrupted; then
1443 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1444 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1445 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1446 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1447 { (exit 1); exit 1; }; }
1451 ac_cpp='$CPP $CPPFLAGS'
1452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1453 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1476 for ac_dir in .. $srcdir/..; do
1477 if test -f $ac_dir/install-sh; then
1479 ac_install_sh="$ac_aux_dir/install-sh -c"
1481 elif test -f $ac_dir/install.sh; then
1483 ac_install_sh="$ac_aux_dir/install.sh -c"
1485 elif test -f $ac_dir/shtool; then
1487 ac_install_sh="$ac_aux_dir/shtool install -c"
1491 if test -z "$ac_aux_dir"; then
1492 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1493 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1494 { (exit 1); exit 1; }; }
1496 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1497 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1498 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1500 # Make sure we can run config.sub.
1501 $ac_config_sub sun4 >/dev/null 2>&1 ||
1502 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1503 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1504 { (exit 1); exit 1; }; }
1506 echo "$as_me:$LINENO: checking build system type" >&5
1507 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1508 if test "${ac_cv_build+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 ac_cv_build_alias=$build_alias
1512 test -z "$ac_cv_build_alias" &&
1513 ac_cv_build_alias=`$ac_config_guess`
1514 test -z "$ac_cv_build_alias" &&
1515 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1516 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1517 { (exit 1); exit 1; }; }
1518 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1519 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1520 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1521 { (exit 1); exit 1; }; }
1524 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1525 echo "${ECHO_T}$ac_cv_build" >&6
1527 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1528 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1529 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1532 echo "$as_me:$LINENO: checking host system type" >&5
1533 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1534 if test "${ac_cv_host+set}" = set; then
1535 echo $ECHO_N "(cached) $ECHO_C" >&6
1537 ac_cv_host_alias=$host_alias
1538 test -z "$ac_cv_host_alias" &&
1539 ac_cv_host_alias=$ac_cv_build_alias
1540 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1541 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1542 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1543 { (exit 1); exit 1; }; }
1546 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1547 echo "${ECHO_T}$ac_cv_host" >&6
1549 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1550 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1551 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1554 echo "$as_me:$LINENO: checking target system type" >&5
1555 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1556 if test "${ac_cv_target+set}" = set; then
1557 echo $ECHO_N "(cached) $ECHO_C" >&6
1559 ac_cv_target_alias=$target_alias
1560 test "x$ac_cv_target_alias" = "x" &&
1561 ac_cv_target_alias=$ac_cv_host_alias
1562 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1563 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1564 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1565 { (exit 1); exit 1; }; }
1568 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1569 echo "${ECHO_T}$ac_cv_target" >&6
1570 target=$ac_cv_target
1571 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1572 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1573 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1576 # The aliases save the names the user supplied, while $host etc.
1577 # will get canonicalized.
1578 test -n "$target_alias" &&
1579 test "$program_prefix$program_suffix$program_transform_name" = \
1581 program_prefix=${target_alias}-
1583 ac_cpp='$CPP $CPPFLAGS'
1584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1585 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1587 if test -n "$ac_tool_prefix"; then
1588 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1589 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1590 echo "$as_me:$LINENO: checking for $ac_word" >&5
1591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1592 if test "${ac_cv_prog_CC+set}" = set; then
1593 echo $ECHO_N "(cached) $ECHO_C" >&6
1595 if test -n "$CC"; then
1596 ac_cv_prog_CC="$CC" # Let the user override the test.
1598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1602 test -z "$as_dir" && as_dir=.
1603 for ac_exec_ext in '' $ac_executable_extensions; do
1604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1605 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1615 if test -n "$CC"; then
1616 echo "$as_me:$LINENO: result: $CC" >&5
1617 echo "${ECHO_T}$CC" >&6
1619 echo "$as_me:$LINENO: result: no" >&5
1620 echo "${ECHO_T}no" >&6
1624 if test -z "$ac_cv_prog_CC"; then
1626 # Extract the first word of "gcc", so it can be a program name with args.
1627 set dummy gcc; ac_word=$2
1628 echo "$as_me:$LINENO: checking for $ac_word" >&5
1629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1630 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1633 if test -n "$ac_ct_CC"; then
1634 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1640 test -z "$as_dir" && as_dir=.
1641 for ac_exec_ext in '' $ac_executable_extensions; do
1642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1643 ac_cv_prog_ac_ct_CC="gcc"
1644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1652 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1653 if test -n "$ac_ct_CC"; then
1654 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1655 echo "${ECHO_T}$ac_ct_CC" >&6
1657 echo "$as_me:$LINENO: result: no" >&5
1658 echo "${ECHO_T}no" >&6
1666 if test -z "$CC"; then
1667 if test -n "$ac_tool_prefix"; then
1668 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1669 set dummy ${ac_tool_prefix}cc; ac_word=$2
1670 echo "$as_me:$LINENO: checking for $ac_word" >&5
1671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1672 if test "${ac_cv_prog_CC+set}" = set; then
1673 echo $ECHO_N "(cached) $ECHO_C" >&6
1675 if test -n "$CC"; then
1676 ac_cv_prog_CC="$CC" # Let the user override the test.
1678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1682 test -z "$as_dir" && as_dir=.
1683 for ac_exec_ext in '' $ac_executable_extensions; do
1684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1685 ac_cv_prog_CC="${ac_tool_prefix}cc"
1686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1695 if test -n "$CC"; then
1696 echo "$as_me:$LINENO: result: $CC" >&5
1697 echo "${ECHO_T}$CC" >&6
1699 echo "$as_me:$LINENO: result: no" >&5
1700 echo "${ECHO_T}no" >&6
1704 if test -z "$ac_cv_prog_CC"; then
1706 # Extract the first word of "cc", so it can be a program name with args.
1707 set dummy cc; ac_word=$2
1708 echo "$as_me:$LINENO: checking for $ac_word" >&5
1709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1710 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1711 echo $ECHO_N "(cached) $ECHO_C" >&6
1713 if test -n "$ac_ct_CC"; then
1714 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1720 test -z "$as_dir" && as_dir=.
1721 for ac_exec_ext in '' $ac_executable_extensions; do
1722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1723 ac_cv_prog_ac_ct_CC="cc"
1724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1732 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1733 if test -n "$ac_ct_CC"; then
1734 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1735 echo "${ECHO_T}$ac_ct_CC" >&6
1737 echo "$as_me:$LINENO: result: no" >&5
1738 echo "${ECHO_T}no" >&6
1747 if test -z "$CC"; then
1748 # Extract the first word of "cc", so it can be a program name with args.
1749 set dummy cc; ac_word=$2
1750 echo "$as_me:$LINENO: checking for $ac_word" >&5
1751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1752 if test "${ac_cv_prog_CC+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 if test -n "$CC"; then
1756 ac_cv_prog_CC="$CC" # Let the user override the test.
1759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1763 test -z "$as_dir" && as_dir=.
1764 for ac_exec_ext in '' $ac_executable_extensions; do
1765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1766 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1767 ac_prog_rejected=yes
1771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1777 if test $ac_prog_rejected = yes; then
1778 # We found a bogon in the path, so make sure we never use it.
1779 set dummy $ac_cv_prog_CC
1781 if test $# != 0; then
1782 # We chose a different compiler from the bogus one.
1783 # However, it has the same basename, so the bogon will be chosen
1784 # first if we set CC to just the basename; use the full file name.
1786 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1792 if test -n "$CC"; then
1793 echo "$as_me:$LINENO: result: $CC" >&5
1794 echo "${ECHO_T}$CC" >&6
1796 echo "$as_me:$LINENO: result: no" >&5
1797 echo "${ECHO_T}no" >&6
1801 if test -z "$CC"; then
1802 if test -n "$ac_tool_prefix"; then
1805 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1806 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1807 echo "$as_me:$LINENO: checking for $ac_word" >&5
1808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1809 if test "${ac_cv_prog_CC+set}" = set; then
1810 echo $ECHO_N "(cached) $ECHO_C" >&6
1812 if test -n "$CC"; then
1813 ac_cv_prog_CC="$CC" # Let the user override the test.
1815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1819 test -z "$as_dir" && as_dir=.
1820 for ac_exec_ext in '' $ac_executable_extensions; do
1821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1822 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1832 if test -n "$CC"; then
1833 echo "$as_me:$LINENO: result: $CC" >&5
1834 echo "${ECHO_T}$CC" >&6
1836 echo "$as_me:$LINENO: result: no" >&5
1837 echo "${ECHO_T}no" >&6
1840 test -n "$CC" && break
1843 if test -z "$CC"; then
1847 # Extract the first word of "$ac_prog", so it can be a program name with args.
1848 set dummy $ac_prog; ac_word=$2
1849 echo "$as_me:$LINENO: checking for $ac_word" >&5
1850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1851 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1852 echo $ECHO_N "(cached) $ECHO_C" >&6
1854 if test -n "$ac_ct_CC"; then
1855 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1861 test -z "$as_dir" && as_dir=.
1862 for ac_exec_ext in '' $ac_executable_extensions; do
1863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1864 ac_cv_prog_ac_ct_CC="$ac_prog"
1865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1873 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1874 if test -n "$ac_ct_CC"; then
1875 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1876 echo "${ECHO_T}$ac_ct_CC" >&6
1878 echo "$as_me:$LINENO: result: no" >&5
1879 echo "${ECHO_T}no" >&6
1882 test -n "$ac_ct_CC" && break
1891 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1892 See \`config.log' for more details.
" >&5
1893 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1894 See \
`config.log' for more details." >&2;}
1895 { (exit 1); exit 1; }; }
1897 # Provide some information about the compiler.
1898 echo "$as_me:$LINENO:" \
1899 "checking for C compiler version" >&5
1900 ac_compiler=`set X
$ac_compile; echo $2`
1901 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1902 (eval $ac_compiler --version </dev/null >&5) 2>&5
1904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1905 (exit $ac_status); }
1906 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1907 (eval $ac_compiler -v </dev/null >&5) 2>&5
1909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1910 (exit $ac_status); }
1911 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1912 (eval $ac_compiler -V </dev/null >&5) 2>&5
1914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1915 (exit $ac_status); }
1917 cat >conftest.$ac_ext <<_ACEOF
1920 cat confdefs.h >>conftest.$ac_ext
1921 cat >>conftest.$ac_ext <<_ACEOF
1922 /* end confdefs.h. */
1932 ac_clean_files_save=$ac_clean_files
1933 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1934 # Try to create an executable without -o first, disregard a.out.
1935 # It will help us diagnose broken compilers, and finding out an intuition
1937 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1938 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1939 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1940 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1941 (eval $ac_link_default) 2>&5
1943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1944 (exit $ac_status); }; then
1945 # Find the output, starting from the most likely. This scheme is
1946 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1949 # Be careful to initialize this variable, since it used to be cached.
1950 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1952 # b.out is created by i960 compilers.
1953 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1955 test -f "$ac_file" || continue
1957 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1960 # This is the source file.
1963 # We found the default executable, but exeext='' is most
1967 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1968 # FIXME: I believe we export ac_cv_exeext for Libtool,
1969 # but it would be cool to find out if it's true. Does anybody
1970 # maintain Libtool? --akim.
1978 echo "$as_me: failed program was:" >&5
1979 sed 's/^/| /' conftest.$ac_ext >&5
1981 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1982 See \`config.log
' for more details." >&5
1983 echo "$as_me: error: C compiler cannot create executables
1984 See \`config.log' for more details.
" >&2;}
1985 { (exit 77); exit 77; }; }
1988 ac_exeext=$ac_cv_exeext
1989 echo "$as_me:$LINENO: result
: $ac_file" >&5
1990 echo "${ECHO_T}$ac_file" >&6
1992 # Check the compiler produces executables we can run. If not, either
1993 # the compiler is broken, or we cross compile.
1994 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1995 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1996 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1997 # If not cross compiling, check that we can run a simple program.
1998 if test "$cross_compiling" != yes; then
1999 if { ac_try='./$ac_file'
2000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2003 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2004 (exit $ac_status); }; }; then
2007 if test "$cross_compiling" = maybe; then
2010 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2011 If you meant to cross compile
, use \
`--host'.
2012 See \`config.log
' for more details." >&5
2013 echo "$as_me: error: cannot run C compiled programs.
2014 If you meant to cross compile, use \`--host'.
2015 See \
`config.log' for more details." >&2;}
2016 { (exit 1); exit 1; }; }
2020 echo "$as_me:$LINENO: result: yes" >&5
2021 echo "${ECHO_T}yes" >&6
2023 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2024 ac_clean_files=$ac_clean_files_save
2025 # Check the compiler produces executables we can run. If not, either
2026 # the compiler is broken, or we cross compile.
2027 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2028 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2029 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2030 echo "${ECHO_T}$cross_compiling" >&6
2032 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2033 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2035 (eval $ac_link) 2>&5
2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2038 (exit $ac_status); }; then
2039 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2040 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2041 # work properly (i.e., refer to `conftest.exe'), while it won't with
2043 for ac_file
in conftest.exe conftest conftest.
*; do
2044 test -f "$ac_file" ||
continue
2046 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2047 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2054 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2055 See \`config.log' for more details." >&5
2056 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2057 See \`config.log' for more details." >&2;}
2058 { (exit 1); exit 1; }; }
2061 rm -f conftest
$ac_cv_exeext
2062 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2063 echo "${ECHO_T}$ac_cv_exeext" >&6
2065 rm -f conftest.
$ac_ext
2066 EXEEXT
=$ac_cv_exeext
2068 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2069 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2070 if test "${ac_cv_objext+set}" = set; then
2071 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 cat >conftest.
$ac_ext <<_ACEOF
2076 cat confdefs.h
>>conftest.
$ac_ext
2077 cat >>conftest.
$ac_ext <<_ACEOF
2078 /* end confdefs.h. */
2088 rm -f conftest.o conftest.obj
2089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2090 (eval $ac_compile) 2>&5
2092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2093 (exit $ac_status); }; then
2094 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2096 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2097 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2102 echo "$as_me: failed program was:" >&5
2103 sed 's/^/| /' conftest.
$ac_ext >&5
2105 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2106 See \`config.log' for more details." >&5
2107 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2108 See \`config.log' for more details." >&2;}
2109 { (exit 1); exit 1; }; }
2112 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2114 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2115 echo "${ECHO_T}$ac_cv_objext" >&6
2116 OBJEXT
=$ac_cv_objext
2118 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2119 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2120 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2121 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 cat >conftest.
$ac_ext <<_ACEOF
2126 cat confdefs.h
>>conftest.
$ac_ext
2127 cat >>conftest.
$ac_ext <<_ACEOF
2128 /* end confdefs.h. */
2141 rm -f conftest.
$ac_objext
2142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2143 (eval $ac_compile) 2>conftest.er1
2145 grep -v '^ *+' conftest.er1
>conftest.err
2147 cat conftest.err
>&5
2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 (exit $ac_status); } &&
2150 { ac_try
='test -z "$ac_c_werror_flag"
2151 || test ! -s conftest.err'
2152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); }; } &&
2157 { ac_try
='test -s conftest.$ac_objext'
2158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2162 (exit $ac_status); }; }; then
2165 echo "$as_me: failed program was:" >&5
2166 sed 's/^/| /' conftest.
$ac_ext >&5
2170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2171 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2174 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2175 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2176 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2177 ac_test_CFLAGS
=${CFLAGS+set}
2178 ac_save_CFLAGS
=$CFLAGS
2180 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2181 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2182 if test "${ac_cv_prog_cc_g+set}" = set; then
2183 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 cat >conftest.
$ac_ext <<_ACEOF
2188 cat confdefs.h
>>conftest.
$ac_ext
2189 cat >>conftest.
$ac_ext <<_ACEOF
2190 /* end confdefs.h. */
2200 rm -f conftest.
$ac_objext
2201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2202 (eval $ac_compile) 2>conftest.er1
2204 grep -v '^ *+' conftest.er1
>conftest.err
2206 cat conftest.err
>&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); } &&
2209 { ac_try
='test -z "$ac_c_werror_flag"
2210 || test ! -s conftest.err'
2211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2215 (exit $ac_status); }; } &&
2216 { ac_try
='test -s conftest.$ac_objext'
2217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2221 (exit $ac_status); }; }; then
2224 echo "$as_me: failed program was:" >&5
2225 sed 's/^/| /' conftest.
$ac_ext >&5
2229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2231 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2232 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2233 if test "$ac_test_CFLAGS" = set; then
2234 CFLAGS
=$ac_save_CFLAGS
2235 elif test $ac_cv_prog_cc_g = yes; then
2236 if test "$GCC" = yes; then
2242 if test "$GCC" = yes; then
2248 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2249 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2250 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2251 echo $ECHO_N "(cached) $ECHO_C" >&6
2253 ac_cv_prog_cc_stdc
=no
2255 cat >conftest.
$ac_ext <<_ACEOF
2258 cat confdefs.h
>>conftest.
$ac_ext
2259 cat >>conftest.
$ac_ext <<_ACEOF
2260 /* end confdefs.h. */
2263 #include <sys/types.h>
2264 #include <sys/stat.h>
2265 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2266 struct buf { int x; };
2267 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2268 static char *e (p, i)
2274 static char *f (char * (*g) (char **, int), char **p, ...)
2279 s = g (p, va_arg (v,int));
2284 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2285 function prototypes and stuff, but not '\xHH' hex character constants.
2286 These don't provoke an error unfortunately, instead are silently treated
2287 as 'x'. The following induces an error, until -std1 is added to get
2288 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2289 array size at least. It's necessary to write '\x00'==0 to get something
2290 that's true only with -std1. */
2291 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2293 int test (int i, double x);
2294 struct s1 {int (*f) (int a);};
2295 struct s2 {int (*f) (double a);};
2296 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2302 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2307 # Don't try gcc -ansi; that turns off useful extensions and
2308 # breaks some systems' header files.
2309 # AIX -qlanglvl=ansi
2310 # Ultrix and OSF/1 -std1
2311 # HP-UX 10.20 and later -Ae
2312 # HP-UX older versions -Aa -D_HPUX_SOURCE
2313 # SVR4 -Xc -D__EXTENSIONS__
2314 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2316 CC
="$ac_save_CC $ac_arg"
2317 rm -f conftest.
$ac_objext
2318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2319 (eval $ac_compile) 2>conftest.er1
2321 grep -v '^ *+' conftest.er1
>conftest.err
2323 cat conftest.err
>&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); } &&
2326 { ac_try
='test -z "$ac_c_werror_flag"
2327 || test ! -s conftest.err'
2328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); }; } &&
2333 { ac_try
='test -s conftest.$ac_objext'
2334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); }; }; then
2339 ac_cv_prog_cc_stdc
=$ac_arg
2342 echo "$as_me: failed program was:" >&5
2343 sed 's/^/| /' conftest.
$ac_ext >&5
2346 rm -f conftest.err conftest.
$ac_objext
2348 rm -f conftest.
$ac_ext conftest.
$ac_objext
2353 case "x$ac_cv_prog_cc_stdc" in
2355 echo "$as_me:$LINENO: result: none needed" >&5
2356 echo "${ECHO_T}none needed" >&6 ;;
2358 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2359 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2360 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2363 # Some people use a C++ compiler to compile C. Since we use `exit',
2364 # in C++ we need to declare it. In case someone uses the same compiler
2365 # for both compiling C and C++ we need to have the C++ compiler decide
2366 # the declaration of exit, since it's the most demanding environment.
2367 cat >conftest.
$ac_ext <<_ACEOF
2372 rm -f conftest.
$ac_objext
2373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2374 (eval $ac_compile) 2>conftest.er1
2376 grep -v '^ *+' conftest.er1
>conftest.err
2378 cat conftest.err
>&5
2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380 (exit $ac_status); } &&
2381 { ac_try
='test -z "$ac_c_werror_flag"
2382 || test ! -s conftest.err'
2383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; } &&
2388 { ac_try
='test -s conftest.$ac_objext'
2389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }; }; then
2394 for ac_declaration
in \
2396 'extern "C" void std::exit (int) throw (); using std::exit;' \
2397 'extern "C" void std::exit (int); using std::exit;' \
2398 'extern "C" void exit (int) throw ();' \
2399 'extern "C" void exit (int);' \
2402 cat >conftest.
$ac_ext <<_ACEOF
2405 cat confdefs.h
>>conftest.
$ac_ext
2406 cat >>conftest.
$ac_ext <<_ACEOF
2407 /* end confdefs.h. */
2418 rm -f conftest.
$ac_objext
2419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2420 (eval $ac_compile) 2>conftest.er1
2422 grep -v '^ *+' conftest.er1
>conftest.err
2424 cat conftest.err
>&5
2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); } &&
2427 { ac_try
='test -z "$ac_c_werror_flag"
2428 || test ! -s conftest.err'
2429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433 (exit $ac_status); }; } &&
2434 { ac_try
='test -s conftest.$ac_objext'
2435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); }; }; then
2442 echo "$as_me: failed program was:" >&5
2443 sed 's/^/| /' conftest.
$ac_ext >&5
2447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2448 cat >conftest.
$ac_ext <<_ACEOF
2451 cat confdefs.h
>>conftest.
$ac_ext
2452 cat >>conftest.
$ac_ext <<_ACEOF
2453 /* end confdefs.h. */
2463 rm -f conftest.
$ac_objext
2464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2465 (eval $ac_compile) 2>conftest.er1
2467 grep -v '^ *+' conftest.er1
>conftest.err
2469 cat conftest.err
>&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); } &&
2472 { ac_try
='test -z "$ac_c_werror_flag"
2473 || test ! -s conftest.err'
2474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); }; } &&
2479 { ac_try
='test -s conftest.$ac_objext'
2480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }; }; then
2487 echo "$as_me: failed program was:" >&5
2488 sed 's/^/| /' conftest.
$ac_ext >&5
2491 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2494 if test -n "$ac_declaration"; then
2495 echo '#ifdef __cplusplus' >>confdefs.h
2496 echo $ac_declaration >>confdefs.h
2497 echo '#endif' >>confdefs.h
2501 echo "$as_me: failed program was:" >&5
2502 sed 's/^/| /' conftest.
$ac_ext >&5
2505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2507 ac_cpp
='$CPP $CPPFLAGS'
2508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2513 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2514 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2515 if test "${ac_cv_search_strerror+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2518 ac_func_search_save_LIBS
=$LIBS
2519 ac_cv_search_strerror
=no
2520 cat >conftest.
$ac_ext <<_ACEOF
2523 cat confdefs.h
>>conftest.
$ac_ext
2524 cat >>conftest.
$ac_ext <<_ACEOF
2525 /* end confdefs.h. */
2527 /* Override any gcc2 internal prototype to avoid an error. */
2531 /* We use char because int might match the return type of a gcc2
2532 builtin and then its argument prototype would still apply. */
2542 rm -f conftest.
$ac_objext conftest
$ac_exeext
2543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2544 (eval $ac_link) 2>conftest.er1
2546 grep -v '^ *+' conftest.er1
>conftest.err
2548 cat conftest.err
>&5
2549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2550 (exit $ac_status); } &&
2551 { ac_try
='test -z "$ac_c_werror_flag"
2552 || test ! -s conftest.err'
2553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 (exit $ac_status); }; } &&
2558 { ac_try
='test -s conftest$ac_exeext'
2559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }; }; then
2564 ac_cv_search_strerror
="none required"
2566 echo "$as_me: failed program was:" >&5
2567 sed 's/^/| /' conftest.
$ac_ext >&5
2570 rm -f conftest.err conftest.
$ac_objext \
2571 conftest
$ac_exeext conftest.
$ac_ext
2572 if test "$ac_cv_search_strerror" = no
; then
2573 for ac_lib
in cposix
; do
2574 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2575 cat >conftest.
$ac_ext <<_ACEOF
2578 cat confdefs.h
>>conftest.
$ac_ext
2579 cat >>conftest.
$ac_ext <<_ACEOF
2580 /* end confdefs.h. */
2582 /* Override any gcc2 internal prototype to avoid an error. */
2586 /* We use char because int might match the return type of a gcc2
2587 builtin and then its argument prototype would still apply. */
2597 rm -f conftest.
$ac_objext conftest
$ac_exeext
2598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2599 (eval $ac_link) 2>conftest.er1
2601 grep -v '^ *+' conftest.er1
>conftest.err
2603 cat conftest.err
>&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); } &&
2606 { ac_try
='test -z "$ac_c_werror_flag"
2607 || test ! -s conftest.err'
2608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612 (exit $ac_status); }; } &&
2613 { ac_try
='test -s conftest$ac_exeext'
2614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); }; }; then
2619 ac_cv_search_strerror
="-l$ac_lib"
2622 echo "$as_me: failed program was:" >&5
2623 sed 's/^/| /' conftest.
$ac_ext >&5
2626 rm -f conftest.err conftest.
$ac_objext \
2627 conftest
$ac_exeext conftest.
$ac_ext
2630 LIBS
=$ac_func_search_save_LIBS
2632 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2633 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2634 if test "$ac_cv_search_strerror" != no
; then
2635 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2640 BFD_VERSION
=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
2641 am__api_version
="1.9"
2642 # Find a good install program. We prefer a C program (faster),
2643 # so one script is as good as another. But avoid the broken or
2644 # incompatible versions:
2645 # SysV /etc/install, /usr/sbin/install
2646 # SunOS /usr/etc/install
2647 # IRIX /sbin/install
2649 # AmigaOS /C/install, which installs bootblocks on floppy discs
2650 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2651 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2652 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2653 # OS/2's system install, which has a completely different semantic
2654 # ./install, which can be erroneously created by make from ./install.sh.
2655 # Reject install programs that cannot install multiple files.
2656 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2657 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2658 if test -z "$INSTALL"; then
2659 if test "${ac_cv_path_install+set}" = set; then
2660 echo $ECHO_N "(cached) $ECHO_C" >&6
2662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2666 test -z "$as_dir" && as_dir
=.
2667 # Account for people who put trailing slashes in PATH elements.
2669 .
/ | .
// |
/cC
/* | \
2670 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2671 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2674 # OSF1 and SCO ODT 3.0 have their own names for install.
2675 # Don't use installbsd from OSF since it installs stuff as root
2677 for ac_prog
in ginstall scoinst
install; do
2678 for ac_exec_ext
in '' $ac_executable_extensions; do
2679 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2680 if test $ac_prog = install &&
2681 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2682 # AIX install. It has an incompatible calling convention.
2684 elif test $ac_prog = install &&
2685 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2686 # program-specific install script used by HP pwplus--don't use.
2689 rm -rf conftest.one conftest.two conftest.dir
2690 echo one
> conftest.one
2691 echo two
> conftest.two
2693 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2694 test -s conftest.one
&& test -s conftest.two
&&
2695 test -s conftest.dir
/conftest.one
&&
2696 test -s conftest.dir
/conftest.two
2698 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2709 rm -rf conftest.one conftest.two conftest.dir
2712 if test "${ac_cv_path_install+set}" = set; then
2713 INSTALL
=$ac_cv_path_install
2715 # As a last resort, use the slow shell script. Don't cache a
2716 # value for INSTALL within a source directory, because that will
2717 # break other packages using the cache if that directory is
2718 # removed, or if the value is a relative name.
2719 INSTALL
=$ac_install_sh
2722 echo "$as_me:$LINENO: result: $INSTALL" >&5
2723 echo "${ECHO_T}$INSTALL" >&6
2725 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2726 # It thinks the first close brace ends the variable substitution.
2727 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2729 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2731 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2733 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2734 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2737 echo timestamp
> conftest.
file
2738 # Do `set' in a subshell so we don't clobber the current shell's
2739 # arguments. Must try -L first in case configure is actually a
2740 # symlink; some systems play weird games with the mod time of symlinks
2741 # (eg FreeBSD returns the mod time of the symlink's containing
2744 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2745 if test "$*" = "X"; then
2747 set X
`ls -t $srcdir/configure conftest.file`
2750 if test "$*" != "X $srcdir/configure conftest.file" \
2751 && test "$*" != "X conftest.file $srcdir/configure"; then
2753 # If neither matched, then we have a broken ls. This can happen
2754 # if, for instance, CONFIG_SHELL is bash and it inherits a
2755 # broken ls alias from the environment. This has actually
2756 # happened. Such a system could not be considered "sane".
2757 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2758 alias in your environment" >&5
2759 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2760 alias in your environment" >&2;}
2761 { (exit 1); exit 1; }; }
2764 test "$2" = conftest.
file
2770 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2771 Check your system clock" >&5
2772 echo "$as_me: error: newly created file is older than distributed files!
2773 Check your system clock" >&2;}
2774 { (exit 1); exit 1; }; }
2776 echo "$as_me:$LINENO: result: yes" >&5
2777 echo "${ECHO_T}yes" >&6
2778 test "$program_prefix" != NONE
&&
2779 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2780 # Use a double $ so make ignores it.
2781 test "$program_suffix" != NONE
&&
2782 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2783 # Double any \ or $. echo might interpret backslashes.
2784 # By default was `s,x,x', remove it if useless.
2785 cat <<\_ACEOF
>conftest.
sed
2786 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2788 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2791 # expand $ac_aux_dir to an absolute path
2792 am_aux_dir
=`cd $ac_aux_dir && pwd`
2794 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2795 # Use eval to expand $SHELL
2796 if eval "$MISSING --run true"; then
2797 am_missing_run
="$MISSING --run "
2800 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2801 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2804 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2805 # We used to keeping the `.' as first argument, in order to
2806 # allow $(mkdir_p) to be used without argument. As in
2807 # $(mkdir_p) $(somedir)
2808 # where $(somedir) is conditionally defined. However this is wrong
2810 # 1. if the package is installed by a user who cannot write `.'
2811 # make install will fail,
2812 # 2. the above comment should most certainly read
2813 # $(mkdir_p) $(DESTDIR)$(somedir)
2814 # so it does not work when $(somedir) is undefined and
2815 # $(DESTDIR) is not.
2816 # To support the latter case, we have to write
2817 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2818 # so the `.' trick is pointless.
2819 mkdir_p
='mkdir -p --'
2821 # On NextStep and OpenStep, the `mkdir' command does not
2822 # recognize any option. It will interpret all options as
2823 # directories to create, and then abort because `.' already
2825 for d
in .
/-p .
/--version;
2827 test -d $d && rmdir $d
2829 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2830 if test -f "$ac_aux_dir/mkinstalldirs"; then
2831 mkdir_p
='$(mkinstalldirs)'
2833 mkdir_p
='$(install_sh) -d'
2837 for ac_prog
in gawk mawk nawk
awk
2839 # Extract the first word of "$ac_prog", so it can be a program name with args.
2840 set dummy
$ac_prog; ac_word
=$2
2841 echo "$as_me:$LINENO: checking for $ac_word" >&5
2842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2843 if test "${ac_cv_prog_AWK+set}" = set; then
2844 echo $ECHO_N "(cached) $ECHO_C" >&6
2846 if test -n "$AWK"; then
2847 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2853 test -z "$as_dir" && as_dir
=.
2854 for ac_exec_ext
in '' $ac_executable_extensions; do
2855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2856 ac_cv_prog_AWK
="$ac_prog"
2857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 if test -n "$AWK"; then
2867 echo "$as_me:$LINENO: result: $AWK" >&5
2868 echo "${ECHO_T}$AWK" >&6
2870 echo "$as_me:$LINENO: result: no" >&5
2871 echo "${ECHO_T}no" >&6
2874 test -n "$AWK" && break
2877 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2878 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2879 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2880 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2881 echo $ECHO_N "(cached) $ECHO_C" >&6
2883 cat >conftest.
make <<\_ACEOF
2885 @
echo 'ac_maketemp="$(MAKE)"'
2887 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2888 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2889 if test -n "$ac_maketemp"; then
2890 eval ac_cv_prog_make_
${ac_make}_set
=yes
2892 eval ac_cv_prog_make_
${ac_make}_set
=no
2896 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2897 echo "$as_me:$LINENO: result: yes" >&5
2898 echo "${ECHO_T}yes" >&6
2901 echo "$as_me:$LINENO: result: no" >&5
2902 echo "${ECHO_T}no" >&6
2903 SET_MAKE
="MAKE=${MAKE-make}"
2906 rm -rf .tst
2>/dev
/null
2907 mkdir .tst
2>/dev
/null
2908 if test -d .tst
; then
2913 rmdir .tst
2>/dev
/null
2915 DEPDIR
="${am__leading_dot}deps"
2917 ac_config_commands
="$ac_config_commands depfiles"
2920 am_make
=${MAKE-make}
2921 cat > confinc
<< 'END'
2926 # If we don't find an include directive, just comment out the code.
2927 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2928 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2932 # First try GNU make style include.
2933 echo "include confinc" > confmf
2934 # We grep out `Entering directory' and `Leaving directory'
2935 # messages which can occur if `w' ends up in MAKEFLAGS.
2936 # In particular we don't look at `^make:' because GNU make might
2937 # be invoked under some other name (usually "gmake"), in which
2938 # case it prints its new name instead of `make'.
2939 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2944 # Now try BSD make style include.
2945 if test "$am__include" = "#"; then
2946 echo '.include "confinc"' > confmf
2947 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2948 am__include
=.include
2955 echo "$as_me:$LINENO: result: $_am_result" >&5
2956 echo "${ECHO_T}$_am_result" >&6
2957 rm -f confinc confmf
2959 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2960 if test "${enable_dependency_tracking+set}" = set; then
2961 enableval
="$enable_dependency_tracking"
2964 if test "x$enable_dependency_tracking" != xno
; then
2965 am_depcomp
="$ac_aux_dir/depcomp"
2970 if test "x$enable_dependency_tracking" != xno; then
2980 # test to see if srcdir already configured
2981 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2982 test -f $srcdir/config.status
; then
2983 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2984 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2985 { (exit 1); exit 1; }; }
2988 # test whether we have cygpath
2989 if test -z "$CYGPATH_W"; then
2990 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2991 CYGPATH_W
='cygpath -w'
2998 # Define the identity of the package.
3000 VERSION
=${BFD_VERSION}
3003 cat >>confdefs.h
<<_ACEOF
3004 #define PACKAGE "$PACKAGE"
3008 cat >>confdefs.h
<<_ACEOF
3009 #define VERSION "$VERSION"
3012 # Some tools Automake needs.
3014 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3017 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3020 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3023 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3026 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3028 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3030 # Installed binaries are usually stripped using `strip' when the user
3031 # run `make install-strip'. However `strip' might not be the right
3032 # tool to use in cross-compilation environments, therefore Automake
3033 # will honor the `STRIP' environment variable to overrule this program.
3034 if test "$cross_compiling" != no
; then
3035 if test -n "$ac_tool_prefix"; then
3036 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3037 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3038 echo "$as_me:$LINENO: checking for $ac_word" >&5
3039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3040 if test "${ac_cv_prog_STRIP+set}" = set; then
3041 echo $ECHO_N "(cached) $ECHO_C" >&6
3043 if test -n "$STRIP"; then
3044 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3050 test -z "$as_dir" && as_dir
=.
3051 for ac_exec_ext
in '' $ac_executable_extensions; do
3052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3053 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3062 STRIP
=$ac_cv_prog_STRIP
3063 if test -n "$STRIP"; then
3064 echo "$as_me:$LINENO: result: $STRIP" >&5
3065 echo "${ECHO_T}$STRIP" >&6
3067 echo "$as_me:$LINENO: result: no" >&5
3068 echo "${ECHO_T}no" >&6
3072 if test -z "$ac_cv_prog_STRIP"; then
3074 # Extract the first word of "strip", so it can be a program name with args.
3075 set dummy strip
; ac_word
=$2
3076 echo "$as_me:$LINENO: checking for $ac_word" >&5
3077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3078 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3079 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 if test -n "$ac_ct_STRIP"; then
3082 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3088 test -z "$as_dir" && as_dir
=.
3089 for ac_exec_ext
in '' $ac_executable_extensions; do
3090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3091 ac_cv_prog_ac_ct_STRIP
="strip"
3092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3098 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3101 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3102 if test -n "$ac_ct_STRIP"; then
3103 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3104 echo "${ECHO_T}$ac_ct_STRIP" >&6
3106 echo "$as_me:$LINENO: result: no" >&5
3107 echo "${ECHO_T}no" >&6
3112 STRIP
="$ac_cv_prog_STRIP"
3116 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3118 # We need awk for the "check" target. The system "awk" is bad on
3120 # Always define AMTAR for backward compatibility.
3122 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3124 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3129 depcc
="$CC" am_compiler_list
=
3131 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3132 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3133 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3134 echo $ECHO_N "(cached) $ECHO_C" >&6
3136 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3137 # We make a subdir and do the tests there. Otherwise we can end up
3138 # making bogus files that we don't know about and never remove. For
3139 # instance it was reported that on HP-UX the gcc test will end up
3140 # making a dummy file named `D' -- because `-MD' means `put the output
3143 # Copy depcomp to subdir because otherwise we won't find it if we're
3144 # using a relative directory.
3145 cp "$am_depcomp" conftest.dir
3147 # We will build objects and dependencies in a subdirectory because
3148 # it helps to detect inapplicable dependency modes. For instance
3149 # both Tru64's cc and ICC support -MD to output dependencies as a
3150 # side effect of compilation, but ICC will put the dependencies in
3151 # the current directory while Tru64 will put them in the object
3155 am_cv_CC_dependencies_compiler_type
=none
3156 if test "$am_compiler_list" = ""; then
3157 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3159 for depmode
in $am_compiler_list; do
3160 # Setup a source with many dependencies, because some compilers
3161 # like to wrap large dependency lists on column 80 (with \), and
3162 # we should not choose a depcomp mode which is confused by this.
3164 # We need to recreate these files for each test, as the compiler may
3165 # overwrite some of them when testing with obscure command lines.
3166 # This happens at least with the AIX C compiler.
3168 for i
in 1 2 3 4 5 6; do
3169 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3170 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3171 # Solaris 8's {/usr,}/bin/sh.
3172 touch sub
/conftst
$i.h
3174 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3178 # after this tag, mechanisms are not by side-effect, so they'll
3179 # only be used when explicitly requested
3180 if test "x$enable_dependency_tracking" = xyes
; then
3188 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3189 # mode. It turns out that the SunPro C++ compiler does not properly
3190 # handle `-M -o', and we need to detect this.
3191 if depmode
=$depmode \
3192 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3193 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3194 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3195 >/dev
/null
2>conftest.err
&&
3196 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3197 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3198 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3199 # icc doesn't choke on unknown options, it will just issue warnings
3200 # or remarks (even with -Werror). So we grep stderr for any message
3201 # that says an option was ignored or not supported.
3202 # When given -MP, icc 7.0 and 7.1 complain thusly:
3203 # icc: Command line warning: ignoring option '-M'; no argument required
3204 # The diagnosis changed in icc 8.0:
3205 # icc: Command line remark: option '-MP' not supported
3206 if (grep 'ignoring option' conftest.err ||
3207 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3208 am_cv_CC_dependencies_compiler_type
=$depmode
3217 am_cv_CC_dependencies_compiler_type
=none
3221 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3222 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3223 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3228 test "x$enable_dependency_tracking" != xno \
3229 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3231 am__fastdepCC_FALSE
='#'
3233 am__fastdepCC_TRUE
='#'
3234 am__fastdepCC_FALSE
=
3241 ac_cpp
='$CPP $CPPFLAGS'
3242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3245 if test -n "$ac_tool_prefix"; then
3246 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3247 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3248 echo "$as_me:$LINENO: checking for $ac_word" >&5
3249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3250 if test "${ac_cv_prog_CC+set}" = set; then
3251 echo $ECHO_N "(cached) $ECHO_C" >&6
3253 if test -n "$CC"; then
3254 ac_cv_prog_CC
="$CC" # Let the user override the test.
3256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3260 test -z "$as_dir" && as_dir
=.
3261 for ac_exec_ext
in '' $ac_executable_extensions; do
3262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3263 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3273 if test -n "$CC"; then
3274 echo "$as_me:$LINENO: result: $CC" >&5
3275 echo "${ECHO_T}$CC" >&6
3277 echo "$as_me:$LINENO: result: no" >&5
3278 echo "${ECHO_T}no" >&6
3282 if test -z "$ac_cv_prog_CC"; then
3284 # Extract the first word of "gcc", so it can be a program name with args.
3285 set dummy gcc
; ac_word
=$2
3286 echo "$as_me:$LINENO: checking for $ac_word" >&5
3287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3288 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3289 echo $ECHO_N "(cached) $ECHO_C" >&6
3291 if test -n "$ac_ct_CC"; then
3292 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3298 test -z "$as_dir" && as_dir
=.
3299 for ac_exec_ext
in '' $ac_executable_extensions; do
3300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3301 ac_cv_prog_ac_ct_CC
="gcc"
3302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3310 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3311 if test -n "$ac_ct_CC"; then
3312 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3313 echo "${ECHO_T}$ac_ct_CC" >&6
3315 echo "$as_me:$LINENO: result: no" >&5
3316 echo "${ECHO_T}no" >&6
3324 if test -z "$CC"; then
3325 if test -n "$ac_tool_prefix"; then
3326 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3327 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3328 echo "$as_me:$LINENO: checking for $ac_word" >&5
3329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3330 if test "${ac_cv_prog_CC+set}" = set; then
3331 echo $ECHO_N "(cached) $ECHO_C" >&6
3333 if test -n "$CC"; then
3334 ac_cv_prog_CC
="$CC" # Let the user override the test.
3336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3340 test -z "$as_dir" && as_dir
=.
3341 for ac_exec_ext
in '' $ac_executable_extensions; do
3342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3343 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3353 if test -n "$CC"; then
3354 echo "$as_me:$LINENO: result: $CC" >&5
3355 echo "${ECHO_T}$CC" >&6
3357 echo "$as_me:$LINENO: result: no" >&5
3358 echo "${ECHO_T}no" >&6
3362 if test -z "$ac_cv_prog_CC"; then
3364 # Extract the first word of "cc", so it can be a program name with args.
3365 set dummy cc
; ac_word
=$2
3366 echo "$as_me:$LINENO: checking for $ac_word" >&5
3367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3368 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3369 echo $ECHO_N "(cached) $ECHO_C" >&6
3371 if test -n "$ac_ct_CC"; then
3372 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3378 test -z "$as_dir" && as_dir
=.
3379 for ac_exec_ext
in '' $ac_executable_extensions; do
3380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3381 ac_cv_prog_ac_ct_CC
="cc"
3382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3390 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3391 if test -n "$ac_ct_CC"; then
3392 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3393 echo "${ECHO_T}$ac_ct_CC" >&6
3395 echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6
3405 if test -z "$CC"; then
3406 # Extract the first word of "cc", so it can be a program name with args.
3407 set dummy cc
; ac_word
=$2
3408 echo "$as_me:$LINENO: checking for $ac_word" >&5
3409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3410 if test "${ac_cv_prog_CC+set}" = set; then
3411 echo $ECHO_N "(cached) $ECHO_C" >&6
3413 if test -n "$CC"; then
3414 ac_cv_prog_CC
="$CC" # Let the user override the test.
3417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3421 test -z "$as_dir" && as_dir
=.
3422 for ac_exec_ext
in '' $ac_executable_extensions; do
3423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3424 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3425 ac_prog_rejected
=yes
3429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3435 if test $ac_prog_rejected = yes; then
3436 # We found a bogon in the path, so make sure we never use it.
3437 set dummy
$ac_cv_prog_CC
3439 if test $# != 0; then
3440 # We chose a different compiler from the bogus one.
3441 # However, it has the same basename, so the bogon will be chosen
3442 # first if we set CC to just the basename; use the full file name.
3444 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3450 if test -n "$CC"; then
3451 echo "$as_me:$LINENO: result: $CC" >&5
3452 echo "${ECHO_T}$CC" >&6
3454 echo "$as_me:$LINENO: result: no" >&5
3455 echo "${ECHO_T}no" >&6
3459 if test -z "$CC"; then
3460 if test -n "$ac_tool_prefix"; then
3463 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3464 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3465 echo "$as_me:$LINENO: checking for $ac_word" >&5
3466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3467 if test "${ac_cv_prog_CC+set}" = set; then
3468 echo $ECHO_N "(cached) $ECHO_C" >&6
3470 if test -n "$CC"; then
3471 ac_cv_prog_CC
="$CC" # Let the user override the test.
3473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3477 test -z "$as_dir" && as_dir
=.
3478 for ac_exec_ext
in '' $ac_executable_extensions; do
3479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3480 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3490 if test -n "$CC"; then
3491 echo "$as_me:$LINENO: result: $CC" >&5
3492 echo "${ECHO_T}$CC" >&6
3494 echo "$as_me:$LINENO: result: no" >&5
3495 echo "${ECHO_T}no" >&6
3498 test -n "$CC" && break
3501 if test -z "$CC"; then
3505 # Extract the first word of "$ac_prog", so it can be a program name with args.
3506 set dummy
$ac_prog; ac_word
=$2
3507 echo "$as_me:$LINENO: checking for $ac_word" >&5
3508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3509 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3510 echo $ECHO_N "(cached) $ECHO_C" >&6
3512 if test -n "$ac_ct_CC"; then
3513 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3519 test -z "$as_dir" && as_dir
=.
3520 for ac_exec_ext
in '' $ac_executable_extensions; do
3521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3522 ac_cv_prog_ac_ct_CC
="$ac_prog"
3523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3531 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3532 if test -n "$ac_ct_CC"; then
3533 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3534 echo "${ECHO_T}$ac_ct_CC" >&6
3536 echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3540 test -n "$ac_ct_CC" && break
3549 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3550 See \`config.log' for more details." >&5
3551 echo "$as_me: error: no acceptable C compiler found in \$PATH
3552 See \`config.log' for more details." >&2;}
3553 { (exit 1); exit 1; }; }
3555 # Provide some information about the compiler.
3556 echo "$as_me:$LINENO:" \
3557 "checking for C compiler version" >&5
3558 ac_compiler
=`set X $ac_compile; echo $2`
3559 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3560 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563 (exit $ac_status); }
3564 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3565 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); }
3569 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3570 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); }
3575 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3576 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3577 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3578 echo $ECHO_N "(cached) $ECHO_C" >&6
3580 cat >conftest.
$ac_ext <<_ACEOF
3583 cat confdefs.h
>>conftest.
$ac_ext
3584 cat >>conftest.
$ac_ext <<_ACEOF
3585 /* end confdefs.h. */
3598 rm -f conftest.
$ac_objext
3599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3600 (eval $ac_compile) 2>conftest.er1
3602 grep -v '^ *+' conftest.er1
>conftest.err
3604 cat conftest.err
>&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } &&
3607 { ac_try
='test -z "$ac_c_werror_flag"
3608 || test ! -s conftest.err'
3609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); }; } &&
3614 { ac_try
='test -s conftest.$ac_objext'
3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); }; }; then
3622 echo "$as_me: failed program was:" >&5
3623 sed 's/^/| /' conftest.
$ac_ext >&5
3627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3628 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3631 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3632 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3633 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3634 ac_test_CFLAGS
=${CFLAGS+set}
3635 ac_save_CFLAGS
=$CFLAGS
3637 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3638 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3639 if test "${ac_cv_prog_cc_g+set}" = set; then
3640 echo $ECHO_N "(cached) $ECHO_C" >&6
3642 cat >conftest.
$ac_ext <<_ACEOF
3645 cat confdefs.h
>>conftest.
$ac_ext
3646 cat >>conftest.
$ac_ext <<_ACEOF
3647 /* end confdefs.h. */
3657 rm -f conftest.
$ac_objext
3658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3659 (eval $ac_compile) 2>conftest.er1
3661 grep -v '^ *+' conftest.er1
>conftest.err
3663 cat conftest.err
>&5
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); } &&
3666 { ac_try
='test -z "$ac_c_werror_flag"
3667 || test ! -s conftest.err'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; } &&
3673 { ac_try
='test -s conftest.$ac_objext'
3674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); }; }; then
3681 echo "$as_me: failed program was:" >&5
3682 sed 's/^/| /' conftest.
$ac_ext >&5
3686 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3688 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3689 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3690 if test "$ac_test_CFLAGS" = set; then
3691 CFLAGS
=$ac_save_CFLAGS
3692 elif test $ac_cv_prog_cc_g = yes; then
3693 if test "$GCC" = yes; then
3699 if test "$GCC" = yes; then
3705 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3706 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3707 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3708 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 ac_cv_prog_cc_stdc
=no
3712 cat >conftest.
$ac_ext <<_ACEOF
3715 cat confdefs.h
>>conftest.
$ac_ext
3716 cat >>conftest.
$ac_ext <<_ACEOF
3717 /* end confdefs.h. */
3720 #include <sys/types.h>
3721 #include <sys/stat.h>
3722 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3723 struct buf { int x; };
3724 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3725 static char *e (p, i)
3731 static char *f (char * (*g) (char **, int), char **p, ...)
3736 s = g (p, va_arg (v,int));
3741 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3742 function prototypes and stuff, but not '\xHH' hex character constants.
3743 These don't provoke an error unfortunately, instead are silently treated
3744 as 'x'. The following induces an error, until -std1 is added to get
3745 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3746 array size at least. It's necessary to write '\x00'==0 to get something
3747 that's true only with -std1. */
3748 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3750 int test (int i, double x);
3751 struct s1 {int (*f) (int a);};
3752 struct s2 {int (*f) (double a);};
3753 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3759 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3764 # Don't try gcc -ansi; that turns off useful extensions and
3765 # breaks some systems' header files.
3766 # AIX -qlanglvl=ansi
3767 # Ultrix and OSF/1 -std1
3768 # HP-UX 10.20 and later -Ae
3769 # HP-UX older versions -Aa -D_HPUX_SOURCE
3770 # SVR4 -Xc -D__EXTENSIONS__
3771 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3773 CC
="$ac_save_CC $ac_arg"
3774 rm -f conftest.
$ac_objext
3775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3776 (eval $ac_compile) 2>conftest.er1
3778 grep -v '^ *+' conftest.er1
>conftest.err
3780 cat conftest.err
>&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); } &&
3783 { ac_try
='test -z "$ac_c_werror_flag"
3784 || test ! -s conftest.err'
3785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); }; } &&
3790 { ac_try
='test -s conftest.$ac_objext'
3791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); }; }; then
3796 ac_cv_prog_cc_stdc
=$ac_arg
3799 echo "$as_me: failed program was:" >&5
3800 sed 's/^/| /' conftest.
$ac_ext >&5
3803 rm -f conftest.err conftest.
$ac_objext
3805 rm -f conftest.
$ac_ext conftest.
$ac_objext
3810 case "x$ac_cv_prog_cc_stdc" in
3812 echo "$as_me:$LINENO: result: none needed" >&5
3813 echo "${ECHO_T}none needed" >&6 ;;
3815 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3816 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3817 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3820 # Some people use a C++ compiler to compile C. Since we use `exit',
3821 # in C++ we need to declare it. In case someone uses the same compiler
3822 # for both compiling C and C++ we need to have the C++ compiler decide
3823 # the declaration of exit, since it's the most demanding environment.
3824 cat >conftest.
$ac_ext <<_ACEOF
3829 rm -f conftest.
$ac_objext
3830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3831 (eval $ac_compile) 2>conftest.er1
3833 grep -v '^ *+' conftest.er1
>conftest.err
3835 cat conftest.err
>&5
3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3837 (exit $ac_status); } &&
3838 { ac_try
='test -z "$ac_c_werror_flag"
3839 || test ! -s conftest.err'
3840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }; } &&
3845 { ac_try
='test -s conftest.$ac_objext'
3846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); }; }; then
3851 for ac_declaration
in \
3853 'extern "C" void std::exit (int) throw (); using std::exit;' \
3854 'extern "C" void std::exit (int); using std::exit;' \
3855 'extern "C" void exit (int) throw ();' \
3856 'extern "C" void exit (int);' \
3859 cat >conftest.
$ac_ext <<_ACEOF
3862 cat confdefs.h
>>conftest.
$ac_ext
3863 cat >>conftest.
$ac_ext <<_ACEOF
3864 /* end confdefs.h. */
3875 rm -f conftest.
$ac_objext
3876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3877 (eval $ac_compile) 2>conftest.er1
3879 grep -v '^ *+' conftest.er1
>conftest.err
3881 cat conftest.err
>&5
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); } &&
3884 { ac_try
='test -z "$ac_c_werror_flag"
3885 || test ! -s conftest.err'
3886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890 (exit $ac_status); }; } &&
3891 { ac_try
='test -s conftest.$ac_objext'
3892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); }; }; then
3899 echo "$as_me: failed program was:" >&5
3900 sed 's/^/| /' conftest.
$ac_ext >&5
3904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3905 cat >conftest.
$ac_ext <<_ACEOF
3908 cat confdefs.h
>>conftest.
$ac_ext
3909 cat >>conftest.
$ac_ext <<_ACEOF
3910 /* end confdefs.h. */
3920 rm -f conftest.
$ac_objext
3921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3922 (eval $ac_compile) 2>conftest.er1
3924 grep -v '^ *+' conftest.er1
>conftest.err
3926 cat conftest.err
>&5
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); } &&
3929 { ac_try
='test -z "$ac_c_werror_flag"
3930 || test ! -s conftest.err'
3931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); }; } &&
3936 { ac_try
='test -s conftest.$ac_objext'
3937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3941 (exit $ac_status); }; }; then
3944 echo "$as_me: failed program was:" >&5
3945 sed 's/^/| /' conftest.
$ac_ext >&5
3948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3951 if test -n "$ac_declaration"; then
3952 echo '#ifdef __cplusplus' >>confdefs.h
3953 echo $ac_declaration >>confdefs.h
3954 echo '#endif' >>confdefs.h
3958 echo "$as_me: failed program was:" >&5
3959 sed 's/^/| /' conftest.
$ac_ext >&5
3962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3964 ac_cpp
='$CPP $CPPFLAGS'
3965 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3966 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3967 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3970 cat >>confdefs.h
<<\_ACEOF
3971 #define _GNU_SOURCE 1
3978 macro_version
='2.1a'
3979 macro_revision
='1.2435'
3992 ltmain
="$ac_aux_dir/ltmain.sh"
4002 # Check whether --enable-shared or --disable-shared was given.
4003 if test "${enable_shared+set}" = set; then
4004 enableval
="$enable_shared"
4005 p
=${PACKAGE-default}
4007 yes) enable_shared
=yes ;;
4008 no
) enable_shared
=no
;;
4011 # Look at the argument we got. We use all the common list separators.
4012 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4013 for pkg
in $enableval; do
4015 if test "X$pkg" = "X$p"; then
4033 # Check whether --enable-static or --disable-static was given.
4034 if test "${enable_static+set}" = set; then
4035 enableval
="$enable_static"
4036 p
=${PACKAGE-default}
4038 yes) enable_static
=yes ;;
4039 no
) enable_static
=no
;;
4042 # Look at the argument we got. We use all the common list separators.
4043 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4044 for pkg
in $enableval; do
4046 if test "X$pkg" = "X$p"; then
4065 # Check whether --with-pic or --without-pic was given.
4066 if test "${with_pic+set}" = set; then
4073 test -z "$pic_mode" && pic_mode
=default
4081 # Check whether --enable-fast-install or --disable-fast-install was given.
4082 if test "${enable_fast_install+set}" = set; then
4083 enableval
="$enable_fast_install"
4084 p
=${PACKAGE-default}
4086 yes) enable_fast_install
=yes ;;
4087 no
) enable_fast_install
=no
;;
4089 enable_fast_install
=no
4090 # Look at the argument we got. We use all the common list separators.
4091 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4092 for pkg
in $enableval; do
4094 if test "X$pkg" = "X$p"; then
4095 enable_fast_install
=yes
4102 enable_fast_install
=yes
4112 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4113 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4114 if test "${lt_cv_path_SED+set}" = set; then
4115 echo $ECHO_N "(cached) $ECHO_C" >&6
4117 # Loop through the user's path and test for sed and gsed.
4118 # Then use that list of sed's as ones to test for truncation.
4119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4123 test -z "$as_dir" && as_dir
=.
4124 for lt_ac_prog
in sed gsed
; do
4125 for ac_exec_ext
in '' $ac_executable_extensions; do
4126 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4127 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4135 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4136 # along with /bin/sed that truncates output.
4137 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4138 test ! -f $lt_ac_sed && continue
4139 cat /dev
/null
> conftest.
in
4141 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4142 # Check for GNU sed and select it if it is found.
4143 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4144 lt_cv_path_SED
=$lt_ac_sed
4148 cat conftest.
in conftest.
in >conftest.tmp
4149 mv conftest.tmp conftest.
in
4150 cp conftest.
in conftest.
nl
4152 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4153 cmp -s conftest.out conftest.
nl ||
break
4154 # 10000 chars as input seems more than enough
4155 test $lt_ac_count -gt 10 && break
4156 lt_ac_count
=`expr $lt_ac_count + 1`
4157 if test $lt_ac_count -gt $lt_ac_max; then
4158 lt_ac_max
=$lt_ac_count
4159 lt_cv_path_SED
=$lt_ac_sed
4168 echo "$as_me:$LINENO: result: $SED" >&5
4169 echo "${ECHO_T}$SED" >&6
4171 test -z "$SED" && SED
=sed
4172 Xsed
="$SED -e 1s/^X//"
4184 echo "$as_me:$LINENO: checking for egrep" >&5
4185 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4186 if test "${ac_cv_prog_egrep+set}" = set; then
4187 echo $ECHO_N "(cached) $ECHO_C" >&6
4189 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4190 then ac_cv_prog_egrep
='grep -E'
4191 else ac_cv_prog_egrep
='egrep'
4194 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4195 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4196 EGREP
=$ac_cv_prog_egrep
4199 echo "$as_me:$LINENO: checking for fgrep" >&5
4200 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4201 if test "${ac_cv_prog_fgrep+set}" = set; then
4202 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
4205 then ac_cv_prog_fgrep
='grep -F'
4206 else ac_cv_prog_fgrep
='fgrep'
4209 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4210 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4211 FGREP
=$ac_cv_prog_fgrep
4214 test -z "$GREP" && GREP
=grep
4234 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4235 if test "${with_gnu_ld+set}" = set; then
4236 withval
="$with_gnu_ld"
4237 test "$withval" = no || with_gnu_ld
=yes
4242 if test "$GCC" = yes; then
4243 # Check if gcc -print-prog-name=ld gives a path.
4244 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4245 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4248 # gcc leaves a trailing carriage return which upsets mingw
4249 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4251 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4254 # Accept absolute paths.
4256 re_direlt
='/[^/][^/]*/\.\./'
4257 # Canonicalize the pathname of ld
4258 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4259 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4260 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4262 test -z "$LD" && LD
="$ac_prog"
4265 # If it fails, then pretend we aren't using GCC.
4269 # If it is relative, then search for the first ld in PATH.
4273 elif test "$with_gnu_ld" = yes; then
4274 echo "$as_me:$LINENO: checking for GNU ld" >&5
4275 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4277 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4278 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4280 if test "${lt_cv_path_LD+set}" = set; then
4281 echo $ECHO_N "(cached) $ECHO_C" >&6
4283 if test -z "$LD"; then
4284 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4285 for ac_dir
in $PATH; do
4287 test -z "$ac_dir" && ac_dir
=.
4288 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4289 lt_cv_path_LD
="$ac_dir/$ac_prog"
4290 # Check to see if the program is GNU ld. I'd rather use --version,
4291 # but apparently some variants of GNU ld only accept -v.
4292 # Break only if it was the GNU/non-GNU ld that we prefer.
4293 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4294 *GNU
* |
*'with BFD'*)
4295 test "$with_gnu_ld" != no
&& break
4298 test "$with_gnu_ld" != yes && break
4305 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4310 if test -n "$LD"; then
4311 echo "$as_me:$LINENO: result: $LD" >&5
4312 echo "${ECHO_T}$LD" >&6
4314 echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6
4317 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4318 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4319 { (exit 1); exit 1; }; }
4320 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4321 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4322 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4323 echo $ECHO_N "(cached) $ECHO_C" >&6
4325 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4326 case `$LD -v 2>&1 </dev/null` in
4327 *GNU
* |
*'with BFD'*)
4328 lt_cv_prog_gnu_ld
=yes
4331 lt_cv_prog_gnu_ld
=no
4335 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4336 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4337 with_gnu_ld
=$lt_cv_prog_gnu_ld
4348 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4349 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4350 if test "${lt_cv_path_NM+set}" = set; then
4351 echo $ECHO_N "(cached) $ECHO_C" >&6
4353 if test -n "$NM"; then
4354 # Let the user override the test.
4357 lt_nm_to_check
="${ac_tool_prefix}nm"
4358 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4359 lt_nm_to_check
="$lt_nm_to_check nm"
4361 for lt_tmp_nm
in $lt_nm_to_check; do
4362 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4363 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4365 test -z "$ac_dir" && ac_dir
=.
4366 tmp_nm
="$ac_dir/$lt_tmp_nm"
4367 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4368 # Check to see if the nm accepts a BSD-compat flag.
4369 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4370 # nm: unknown option "B" ignored
4371 # Tru64's nm complains that /dev/null is an invalid object file
4372 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4373 */dev
/null
* |
*'Invalid file or object type'*)
4374 lt_cv_path_NM
="$tmp_nm -B"
4378 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4380 lt_cv_path_NM
="$tmp_nm -p"
4384 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4385 continue # so that we can try to find one that supports BSD flags
4394 : ${lt_cv_path_NM=no}
4397 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4398 echo "${ECHO_T}$lt_cv_path_NM" >&6
4399 if test "$lt_cv_path_NM" != "no"; then
4402 # Didn't find any BSD compatible name lister, look for dumpbin.
4403 if test -n "$ac_tool_prefix"; then
4404 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4406 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4407 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4408 echo "$as_me:$LINENO: checking for $ac_word" >&5
4409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4410 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4411 echo $ECHO_N "(cached) $ECHO_C" >&6
4413 if test -n "$DUMPBIN"; then
4414 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4420 test -z "$as_dir" && as_dir
=.
4421 for ac_exec_ext
in '' $ac_executable_extensions; do
4422 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4423 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 DUMPBIN
=$ac_cv_prog_DUMPBIN
4433 if test -n "$DUMPBIN"; then
4434 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4435 echo "${ECHO_T}$DUMPBIN" >&6
4437 echo "$as_me:$LINENO: result: no" >&5
4438 echo "${ECHO_T}no" >&6
4441 test -n "$DUMPBIN" && break
4444 if test -z "$DUMPBIN"; then
4445 ac_ct_DUMPBIN
=$DUMPBIN
4446 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4448 # Extract the first word of "$ac_prog", so it can be a program name with args.
4449 set dummy
$ac_prog; ac_word
=$2
4450 echo "$as_me:$LINENO: checking for $ac_word" >&5
4451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4452 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4453 echo $ECHO_N "(cached) $ECHO_C" >&6
4455 if test -n "$ac_ct_DUMPBIN"; then
4456 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4462 test -z "$as_dir" && as_dir
=.
4463 for ac_exec_ext
in '' $ac_executable_extensions; do
4464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4465 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4474 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4475 if test -n "$ac_ct_DUMPBIN"; then
4476 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4477 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4479 echo "$as_me:$LINENO: result: no" >&5
4480 echo "${ECHO_T}no" >&6
4483 test -n "$ac_ct_DUMPBIN" && break
4485 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4487 DUMPBIN
=$ac_ct_DUMPBIN
4491 if test "$DUMPBIN" != ":"; then
4495 test -z "$NM" && NM
=nm
4502 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4503 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4504 if test "${lt_cv_nm_interface+set}" = set; then
4505 echo $ECHO_N "(cached) $ECHO_C" >&6
4507 lt_cv_nm_interface
="BSD nm"
4508 echo "int some_variable = 0;" > conftest.
$ac_ext
4509 (eval echo "\"\$as_me:4509: $ac_compile\"" >&5)
4510 (eval "$ac_compile" 2>conftest.err
)
4511 cat conftest.err
>&5
4512 (eval echo "\"\$as_me:4512: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4513 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4514 cat conftest.err
>&5
4515 (eval echo "\"\$as_me:4515: output\"" >&5)
4516 cat conftest.out
>&5
4517 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4518 lt_cv_nm_interface
="MS dumpbin"
4522 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4523 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4525 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4526 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4528 if test "$LN_S" = "ln -s"; then
4529 echo "$as_me:$LINENO: result: yes" >&5
4530 echo "${ECHO_T}yes" >&6
4532 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4533 echo "${ECHO_T}no, using $LN_S" >&6
4536 # find the maximum length of command line arguments
4537 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4538 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4539 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4540 echo $ECHO_N "(cached) $ECHO_C" >&6
4547 # On DJGPP, this test can blow up pretty badly due to problems in libc
4548 # (any single argument exceeding 2000 bytes causes a buffer overrun
4549 # during glob expansion). Even if it were fixed, the result of this
4550 # check would be larger than it should be.
4551 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4555 # Under GNU Hurd, this test is not required because there is
4556 # no limit to the length of command line arguments.
4557 # Libtool will interpret -1 as no limit whatsoever
4558 lt_cv_sys_max_cmd_len
=-1;
4562 # On Win9x/ME, this test blows up -- it succeeds, but takes
4563 # about 5 minutes as the teststring grows exponentially.
4564 # Worse, since 9x/ME are not pre-emptively multitasking,
4565 # you end up with a "frozen" computer, even though with patience
4566 # the test eventually succeeds (with a max line length of 256k).
4567 # Instead, let's just punt: use the minimum linelength reported by
4568 # all of the supported platforms: 8192 (on NT/2K/XP).
4569 lt_cv_sys_max_cmd_len
=8192;
4573 # On AmigaOS with pdksh, this test takes hours, literally.
4574 # So we just punt and use a minimum line length of 8192.
4575 lt_cv_sys_max_cmd_len
=8192;
4578 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4579 # This has been around since 386BSD, at least. Likely further.
4580 if test -x /sbin
/sysctl
; then
4581 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4582 elif test -x /usr
/sbin
/sysctl
; then
4583 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4585 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4587 # And add a safety zone
4588 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4589 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4593 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4594 lt_cv_sys_max_cmd_len
=196608
4598 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4599 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4600 # nice to cause kernel panics so lets avoid the loop below.
4601 # First set a reasonable default.
4602 lt_cv_sys_max_cmd_len
=16384
4604 if test -x /sbin
/sysconfig
; then
4605 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4606 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4611 lt_cv_sys_max_cmd_len
=102400
4613 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4614 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4615 if test -n "$kargmax"; then
4616 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4618 lt_cv_sys_max_cmd_len
=32768
4622 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
4623 if test -n $lt_cv_sys_max_cmd_len; then
4624 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4625 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4627 # Make teststring a little bigger before we do anything with it.
4628 # a 1K string should be a reasonable start.
4629 for i
in 1 2 3 4 5 6 7 8 ; do
4630 teststring
=$teststring$teststring
4632 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4633 # If test is not a shell built-in, we'll probably end up computing a
4634 # maximum length that is only half of the actual maximum length, but
4636 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4637 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4638 test $i != 17 # 1/2 MB should be enough
4641 teststring
=$teststring$teststring
4643 # Only check the string length outside the loop.
4644 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4646 # Add a significant safety factor because C++ compilers can tack on
4647 # massive amounts of additional arguments before passing them to the
4648 # linker. It appears as though 1/2 is a usable value.
4649 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4656 if test -n $lt_cv_sys_max_cmd_len ; then
4657 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4658 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4660 echo "$as_me:$LINENO: result: none" >&5
4661 echo "${ECHO_T}none" >&6
4663 max_cmd_len
=$lt_cv_sys_max_cmd_len
4675 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4676 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4677 # Try some XSI features
4680 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4681 = c,a/b,, ) >/dev/null 2>&1 \
4683 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4684 echo "${ECHO_T}$xsi_shell" >&6
4687 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4688 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4690 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4692 && lt_shell_append=yes
4693 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4694 echo "${ECHO_T}$lt_shell_append" >&6
4697 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4707 # test EBCDIC or ASCII
4708 case `echo X|tr X '\101'` in
4709 A) # ASCII based system
4710 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4711 lt_SP2NL='tr \040 \012'
4712 lt_NL2SP='tr \015\012 \040\040'
4714 *) # EBCDIC based system
4715 lt_SP2NL='tr \100 \n'
4716 lt_NL2SP='tr \r\n \100\100'
4728 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4729 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4730 if test "${lt_cv_ld_reload_flag+set}" = set; then
4731 echo $ECHO_N "(cached
) $ECHO_C" >&6
4733 lt_cv_ld_reload_flag='-r'
4735 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4736 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4737 reload_flag=$lt_cv_ld_reload_flag
4738 case $reload_flag in
4740 *) reload_flag=" $reload_flag" ;;
4742 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4745 if test "$GCC" = yes; then
4746 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4748 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4762 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4763 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4764 if test "${lt_cv_deplibs_check_method+set}" = set; then
4765 echo $ECHO_N "(cached
) $ECHO_C" >&6
4767 lt_cv_file_magic_cmd='$MAGIC_CMD'
4768 lt_cv_file_magic_test_file=
4769 lt_cv_deplibs_check_method='unknown'
4770 # Need to set the preceding variable on all platforms that support
4771 # interlibrary dependencies.
4772 # 'none' -- dependencies not supported.
4773 # `unknown' -- same as none, but documents that we really don't know.
4774 # 'pass_all' -- all dependencies passed with no checks.
4775 # 'test_compile' -- check by making test program.
4776 # 'file_magic [[regex]]' -- check by looking for files in library path
4777 # which responds to the $file_magic_cmd with a given extended regex.
4778 # If you have `file' or equivalent on your system and you're not sure
4779 # whether `pass_all' will *always* work, you probably want this one.
4783 lt_cv_deplibs_check_method=pass_all
4787 lt_cv_deplibs_check_method=pass_all
4791 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4792 lt_cv_file_magic_cmd='/usr/bin/file -L'
4793 lt_cv_file_magic_test_file=/shlib/libc.so
4797 # func_win32_libid is a shell function defined in ltmain.sh
4798 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4799 lt_cv_file_magic_cmd='func_win32_libid'
4803 # Base MSYS/MinGW do not provide the 'file' command needed by
4804 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4805 # unless we find 'file', for example because we are cross-compiling.
4806 if ( file / ) >/dev/null 2>&1; then
4807 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4808 lt_cv_file_magic_cmd='func_win32_libid'
4810 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4811 lt_cv_file_magic_cmd='$OBJDUMP -f'
4815 darwin* | rhapsody*)
4816 lt_cv_deplibs_check_method=pass_all
4819 freebsd* | dragonfly*)
4820 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4823 # Not sure whether the presence of OpenBSD here was a mistake.
4824 # Let's accept both of them until this is cleared up.
4825 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4826 lt_cv_file_magic_cmd=/usr/bin/file
4827 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4831 lt_cv_deplibs_check_method=pass_all
4836 lt_cv_deplibs_check_method=pass_all
4839 hpux10.20* | hpux11*)
4840 lt_cv_file_magic_cmd=/usr/bin/file
4843 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4844 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4847 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]'
4848 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4851 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4852 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4858 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4859 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4862 irix5* | irix6* | nonstopux*)
4864 *-32|*"-32 ") libmagic=32-bit;;
4865 *-n32|*"-n32 ") libmagic=N32;;
4866 *-64|*"-64 ") libmagic=64-bit;;
4867 *) libmagic=never-match;;
4869 lt_cv_deplibs_check_method=pass_all
4872 # This must be Linux ELF.
4873 linux* | k*bsd*-gnu)
4874 lt_cv_deplibs_check_method=pass_all
4878 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4879 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4881 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4886 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4887 lt_cv_file_magic_cmd=/usr/bin/file
4888 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4892 lt_cv_deplibs_check_method=pass_all
4896 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4897 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4899 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4903 osf3* | osf4* | osf5*)
4904 lt_cv_deplibs_check_method=pass_all
4908 lt_cv_deplibs_check_method=pass_all
4912 lt_cv_deplibs_check_method=pass_all
4915 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4916 lt_cv_deplibs_check_method=pass_all
4920 case $host_vendor in
4922 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]'
4923 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4926 lt_cv_deplibs_check_method=pass_all
4929 lt_cv_file_magic_cmd='/bin/file'
4930 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4933 lt_cv_file_magic_cmd='/bin/file'
4934 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4935 lt_cv_file_magic_test_file=/lib/libc.so
4938 lt_cv_deplibs_check_method=pass_all
4941 lt_cv_deplibs_check_method=pass_all
4947 lt_cv_deplibs_check_method=pass_all
4952 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4953 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4954 file_magic_cmd=$lt_cv_file_magic_cmd
4955 deplibs_check_method=$lt_cv_deplibs_check_method
4956 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4969 if test -n "$ac_tool_prefix"; then
4970 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4971 set dummy ${ac_tool_prefix}ar; ac_word=$2
4972 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4973 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4974 if test "${ac_cv_prog_AR+set}" = set; then
4975 echo $ECHO_N "(cached
) $ECHO_C" >&6
4977 if test -n "$AR"; then
4978 ac_cv_prog_AR="$AR" # Let the user override the test.
4980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4984 test -z "$as_dir" && as_dir=.
4985 for ac_exec_ext in '' $ac_executable_extensions; do
4986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4987 ac_cv_prog_AR="${ac_tool_prefix}ar"
4988 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4997 if test -n "$AR"; then
4998 echo "$as_me:$LINENO: result
: $AR" >&5
4999 echo "${ECHO_T}$AR" >&6
5001 echo "$as_me:$LINENO: result
: no
" >&5
5002 echo "${ECHO_T}no
" >&6
5006 if test -z "$ac_cv_prog_AR"; then
5008 # Extract the first word of "ar", so it can be a program name with args.
5009 set dummy ar; ac_word=$2
5010 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5011 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5012 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5013 echo $ECHO_N "(cached
) $ECHO_C" >&6
5015 if test -n "$ac_ct_AR"; then
5016 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 test -z "$as_dir" && as_dir=.
5023 for ac_exec_ext in '' $ac_executable_extensions; do
5024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5025 ac_cv_prog_ac_ct_AR="ar"
5026 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5032 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
5035 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5036 if test -n "$ac_ct_AR"; then
5037 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5038 echo "${ECHO_T}$ac_ct_AR" >&6
5040 echo "$as_me:$LINENO: result
: no
" >&5
5041 echo "${ECHO_T}no
" >&6
5049 test -z "$AR" && AR=ar
5050 test -z "$AR_FLAGS" && AR_FLAGS=cru
5062 if test -n "$ac_tool_prefix"; then
5063 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5064 set dummy ${ac_tool_prefix}strip; ac_word=$2
5065 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5066 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5067 if test "${ac_cv_prog_STRIP+set}" = set; then
5068 echo $ECHO_N "(cached
) $ECHO_C" >&6
5070 if test -n "$STRIP"; then
5071 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5077 test -z "$as_dir" && as_dir=.
5078 for ac_exec_ext in '' $ac_executable_extensions; do
5079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5080 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5081 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5089 STRIP=$ac_cv_prog_STRIP
5090 if test -n "$STRIP"; then
5091 echo "$as_me:$LINENO: result
: $STRIP" >&5
5092 echo "${ECHO_T}$STRIP" >&6
5094 echo "$as_me:$LINENO: result
: no
" >&5
5095 echo "${ECHO_T}no
" >&6
5099 if test -z "$ac_cv_prog_STRIP"; then
5101 # Extract the first word of "strip
", so it can be a program name with args.
5102 set dummy strip; ac_word=$2
5103 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5104 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5105 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5106 echo $ECHO_N "(cached
) $ECHO_C" >&6
5108 if test -n "$ac_ct_STRIP"; then
5109 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5115 test -z "$as_dir" && as_dir=.
5116 for ac_exec_ext in '' $ac_executable_extensions; do
5117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5118 ac_cv_prog_ac_ct_STRIP="strip
"
5119 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5125 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5128 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5129 if test -n "$ac_ct_STRIP"; then
5130 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5131 echo "${ECHO_T}$ac_ct_STRIP" >&6
5133 echo "$as_me:$LINENO: result
: no
" >&5
5134 echo "${ECHO_T}no
" >&6
5139 STRIP="$ac_cv_prog_STRIP"
5142 test -z "$STRIP" && STRIP=:
5149 if test -n "$ac_tool_prefix"; then
5150 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5151 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5152 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5153 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5154 if test "${ac_cv_prog_RANLIB+set}" = set; then
5155 echo $ECHO_N "(cached
) $ECHO_C" >&6
5157 if test -n "$RANLIB"; then
5158 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 test -z "$as_dir" && as_dir=.
5165 for ac_exec_ext in '' $ac_executable_extensions; do
5166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5167 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5168 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5176 RANLIB=$ac_cv_prog_RANLIB
5177 if test -n "$RANLIB"; then
5178 echo "$as_me:$LINENO: result
: $RANLIB" >&5
5179 echo "${ECHO_T}$RANLIB" >&6
5181 echo "$as_me:$LINENO: result
: no
" >&5
5182 echo "${ECHO_T}no
" >&6
5186 if test -z "$ac_cv_prog_RANLIB"; then
5187 ac_ct_RANLIB=$RANLIB
5188 # Extract the first word of "ranlib
", so it can be a program name with args.
5189 set dummy ranlib; ac_word=$2
5190 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5191 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5192 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5193 echo $ECHO_N "(cached
) $ECHO_C" >&6
5195 if test -n "$ac_ct_RANLIB"; then
5196 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5202 test -z "$as_dir" && as_dir=.
5203 for ac_exec_ext in '' $ac_executable_extensions; do
5204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5205 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5206 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5212 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5215 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5216 if test -n "$ac_ct_RANLIB"; then
5217 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5218 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5220 echo "$as_me:$LINENO: result
: no
" >&5
5221 echo "${ECHO_T}no
" >&6
5224 RANLIB=$ac_ct_RANLIB
5226 RANLIB="$ac_cv_prog_RANLIB"
5229 test -z "$RANLIB" && RANLIB=:
5236 # Determine commands to create old-style static archives.
5237 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5238 old_postinstall_cmds='chmod 644 $oldlib'
5239 old_postuninstall_cmds=
5241 if test -n "$RANLIB"; then
5244 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5247 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5250 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5286 # If no C compiler was specified, use CC.
5289 # If no C compiler flags were specified, use CFLAGS.
5290 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5292 # Allow CC to be a program name with arguments.
5296 # Check for command to grab the raw symbol name followed by C symbol from nm.
5297 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5298 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
5299 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5300 echo $ECHO_N "(cached
) $ECHO_C" >&6
5303 # These are sane defaults that work on at least a few old systems.
5304 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5306 # Character class describing NM global symbol codes.
5307 symcode='[BCDEGRST]'
5309 # Regexp to match symbols that can be accessed directly from C.
5310 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5312 # Define system-specific variables.
5317 cygwin* | mingw* | pw32*)
5318 symcode='[ABCDGISTW]'
5321 if test "$host_cpu" = ia64; then
5322 symcode='[ABCDEGRST]'
5326 symcode='[BCDEGRST]'
5329 symcode='[BCDEGQRST]'
5340 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5348 # If we're using GNU nm, then use its standard symbol codes.
5349 case `$NM -V 2>&1` in
5350 *GNU* | *'with BFD'*)
5351 symcode='[ABCDGIRSTW]' ;;
5354 # Transform an extracted symbol line into a proper C declaration.
5355 # Some systems (esp. on ia64) link data and code symbols differently,
5356 # so use this general approach.
5357 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5359 # Transform an extracted symbol line into symbol name and symbol address
5360 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5362 # Handle CRLF in mingw tool chain
5366 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5370 # Try without a prefix underscore, then with it.
5371 for ac_symprfx in "" "_
"; do
5373 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5374 symxfrm="\\1 $ac_symprfx\\2 \\2"
5376 # Write the raw and C identifiers.
5377 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5378 # Fake it for dumpbin and say T for any non-static function
5379 # and D for any global variable.
5380 # Also find C++ and __fastcall symbols from MSVC++,
5381 # which start with @ or ?.
5382 lt_cv_sys_global_symbol_pipe="$AWK '"\
5383 " {last_section=section; section=\$ 3};"\
5384 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5385 " \$ 0!~/External *\|/{next};"\
5386 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5387 " {if(hide[section]) next};"\
5388 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5389 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5390 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5391 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5392 " ' prfx
=^
$ac_symprfx"
5394 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5397 # Check to see that the pipe works correctly.
5401 cat > conftest.$ac_ext <<_LT_EOF
5406 void nm_test_func(void);
5407 void nm_test_func(void){}
5411 int main(){nm_test_var='a';nm_test_func();return(0);}
5414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5415 (eval $ac_compile) 2>&5
5417 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5418 (exit $ac_status); }; then
5419 # Now try to grab the symbols.
5421 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5422 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5424 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5425 (exit $ac_status); } && test -s "$nlist"; then
5426 # Try sorting and uniquifying the output.
5427 if sort "$nlist" | uniq > "$nlist"T; then
5428 mv -f "$nlist"T "$nlist"
5433 # Make sure that we snagged all the symbols we need.
5434 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5435 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5436 cat <<_LT_EOF > conftest.$ac_ext
5442 # Now generate the symbol file.
5443 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5445 cat <<_LT_EOF >> conftest.$ac_ext
5447 /* The mapping between symbol names and symbols. */
5452 lt__PROGRAM__LTX_preloaded_symbols[] =
5454 { "@PROGRAM@
", (void *) 0 },
5456 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5457 cat <<\_LT_EOF >> conftest.$ac_ext
5461 /* This works around a problem in FreeBSD linker */
5462 #ifdef FREEBSD_WORKAROUND
5463 static const void *lt_preloaded_setup() {
5464 return lt__PROGRAM__LTX_preloaded_symbols;
5472 # Now try linking the two files.
5473 mv conftest.$ac_objext conftstm.$ac_objext
5474 lt_save_LIBS="$LIBS"
5475 lt_save_CFLAGS="$CFLAGS"
5476 LIBS="conftstm.
$ac_objext"
5477 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5479 (eval $ac_link) 2>&5
5481 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5482 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5485 LIBS="$lt_save_LIBS"
5486 CFLAGS="$lt_save_CFLAGS"
5488 echo "cannot
find nm_test_func
in $nlist" >&5
5491 echo "cannot
find nm_test_var
in $nlist" >&5
5494 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5497 echo "$progname: failed program was
:" >&5
5498 cat conftest.$ac_ext >&5
5500 rm -f conftest* conftst*
5502 # Do not use the global_symbol_pipe unless it works.
5503 if test "$pipe_works" = yes; then
5506 lt_cv_sys_global_symbol_pipe=
5512 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5513 lt_cv_sys_global_symbol_to_cdecl=
5515 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5516 echo "$as_me:$LINENO: result
: failed
" >&5
5517 echo "${ECHO_T}failed
" >&6
5519 echo "$as_me:$LINENO: result
: ok
" >&5
5520 echo "${ECHO_T}ok
" >&6
5539 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5540 if test "${enable_libtool_lock+set}" = set; then
5541 enableval="$enable_libtool_lock"
5544 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5546 # Some flags need to be propagated to the compiler or linker for good
5550 # Find out which ABI we are using.
5551 echo 'int i;' > conftest.$ac_ext
5552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5553 (eval $ac_compile) 2>&5
5555 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5556 (exit $ac_status); }; then
5557 case `/usr/bin/file conftest.$ac_objext` in
5569 # Find out which ABI we are using.
5570 echo '#line 5570 "configure
"' > conftest.$ac_ext
5571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5572 (eval $ac_compile) 2>&5
5574 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5575 (exit $ac_status); }; then
5576 if test "$lt_cv_prog_gnu_ld" = yes; then
5577 case `/usr/bin/file conftest.$ac_objext` in
5579 LD="${LD-ld} -melf32bsmip"
5582 LD="${LD-ld} -melf32bmipn32"
5585 LD="${LD-ld} -melf64bmip"
5589 case `/usr/bin/file conftest.$ac_objext` in
5605 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5606 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5607 # Find out which ABI we are using.
5608 echo 'int i;' > conftest.$ac_ext
5609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5610 (eval $ac_compile) 2>&5
5612 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5613 (exit $ac_status); }; then
5614 case `/usr/bin/file conftest.o` in
5617 x86_64-*kfreebsd*-gnu)
5618 LD="${LD-ld} -m elf_i386_fbsd
"
5621 LD="${LD-ld} -m elf_i386
"
5623 ppc64-*linux*|powerpc64-*linux*)
5624 LD="${LD-ld} -m elf32ppclinux
"
5627 LD="${LD-ld} -m elf_s390
"
5630 LD="${LD-ld} -m elf32_sparc
"
5636 x86_64-*kfreebsd*-gnu)
5637 LD="${LD-ld} -m elf_x86_64_fbsd
"
5640 LD="${LD-ld} -m elf_x86_64
"
5642 ppc*-*linux*|powerpc*-*linux*)
5643 LD="${LD-ld} -m elf64ppc
"
5645 s390*-*linux*|s390*-*tpf*)
5646 LD="${LD-ld} -m elf64_s390
"
5649 LD="${LD-ld} -m elf64_sparc
"
5659 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5660 SAVE_CFLAGS="$CFLAGS"
5661 CFLAGS="$CFLAGS -belf"
5662 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5663 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5664 if test "${lt_cv_cc_needs_belf+set}" = set; then
5665 echo $ECHO_N "(cached
) $ECHO_C" >&6
5668 ac_cpp='$CPP $CPPFLAGS'
5669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5673 cat >conftest.$ac_ext <<_ACEOF
5676 cat confdefs.h >>conftest.$ac_ext
5677 cat >>conftest.$ac_ext <<_ACEOF
5678 /* end confdefs.h. */
5688 rm -f conftest.$ac_objext conftest$ac_exeext
5689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5690 (eval $ac_link) 2>conftest.er1
5692 grep -v '^ *+' conftest.er1 >conftest.err
5694 cat conftest.err >&5
5695 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5696 (exit $ac_status); } &&
5697 { ac_try='test -z "$ac_c_werror_flag"
5698 || test ! -s conftest.err'
5699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5703 (exit $ac_status); }; } &&
5704 { ac_try='test -s conftest$ac_exeext'
5705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5708 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5709 (exit $ac_status); }; }; then
5710 lt_cv_cc_needs_belf=yes
5712 echo "$as_me: failed program was
:" >&5
5713 sed 's/^/| /' conftest.$ac_ext >&5
5715 lt_cv_cc_needs_belf=no
5717 rm -f conftest.err conftest.$ac_objext \
5718 conftest$ac_exeext conftest.$ac_ext
5720 ac_cpp='$CPP $CPPFLAGS'
5721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5726 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5727 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5728 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5729 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5730 CFLAGS="$SAVE_CFLAGS"
5734 # Find out which ABI we are using.
5735 echo 'int i;' > conftest.$ac_ext
5736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5737 (eval $ac_compile) 2>&5
5739 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5740 (exit $ac_status); }; then
5741 case `/usr/bin/file conftest.o` in
5743 case $lt_cv_prog_gnu_ld in
5744 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5745 *) LD="${LD-ld} -64" ;;
5754 need_locks="$enable_libtool_lock"
5757 ac_cpp='$CPP $CPPFLAGS'
5758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5761 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5762 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5763 # On Suns, sometimes $CPP names a directory.
5764 if test -n "$CPP" && test -d "$CPP"; then
5767 if test -z "$CPP"; then
5768 if test "${ac_cv_prog_CPP+set}" = set; then
5769 echo $ECHO_N "(cached
) $ECHO_C" >&6
5771 # Double quotes because CPP needs to be expanded
5772 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5775 for ac_c_preproc_warn_flag in '' yes
5777 # Use a header file that comes with gcc, so configuring glibc
5778 # with a fresh cross-compiler works.
5779 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5780 # <limits.h> exists even on freestanding compilers.
5781 # On the NeXT, cc -E runs the code through the compiler's parser,
5782 # not just through cpp. "Syntax error
" is here to catch this case.
5783 cat >conftest.$ac_ext <<_ACEOF
5786 cat confdefs.h >>conftest.$ac_ext
5787 cat >>conftest.$ac_ext <<_ACEOF
5788 /* end confdefs.h. */
5790 # include <limits.h>
5792 # include <assert.h>
5796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5797 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5799 grep -v '^ *+' conftest.er1 >conftest.err
5801 cat conftest.err >&5
5802 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5803 (exit $ac_status); } >/dev/null; then
5804 if test -s conftest.err; then
5805 ac_cpp_err=$ac_c_preproc_warn_flag
5806 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5813 if test -z "$ac_cpp_err"; then
5816 echo "$as_me: failed program was
:" >&5
5817 sed 's/^/| /' conftest.$ac_ext >&5
5819 # Broken: fails on valid input.
5822 rm -f conftest.err conftest.$ac_ext
5824 # OK, works on sane cases. Now check whether non-existent headers
5825 # can be detected and how.
5826 cat >conftest.$ac_ext <<_ACEOF
5829 cat confdefs.h >>conftest.$ac_ext
5830 cat >>conftest.$ac_ext <<_ACEOF
5831 /* end confdefs.h. */
5832 #include <ac_nonexistent.h>
5834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5835 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5837 grep -v '^ *+' conftest.er1 >conftest.err
5839 cat conftest.err >&5
5840 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5841 (exit $ac_status); } >/dev/null; then
5842 if test -s conftest.err; then
5843 ac_cpp_err=$ac_c_preproc_warn_flag
5844 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5851 if test -z "$ac_cpp_err"; then
5852 # Broken: success on invalid input.
5855 echo "$as_me: failed program was
:" >&5
5856 sed 's/^/| /' conftest.$ac_ext >&5
5858 # Passes both tests.
5862 rm -f conftest.err conftest.$ac_ext
5865 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5866 rm -f conftest.err conftest.$ac_ext
5867 if $ac_preproc_ok; then
5879 echo "$as_me:$LINENO: result
: $CPP" >&5
5880 echo "${ECHO_T}$CPP" >&6
5882 for ac_c_preproc_warn_flag in '' yes
5884 # Use a header file that comes with gcc, so configuring glibc
5885 # with a fresh cross-compiler works.
5886 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5887 # <limits.h> exists even on freestanding compilers.
5888 # On the NeXT, cc -E runs the code through the compiler's parser,
5889 # not just through cpp. "Syntax error
" is here to catch this case.
5890 cat >conftest.$ac_ext <<_ACEOF
5893 cat confdefs.h >>conftest.$ac_ext
5894 cat >>conftest.$ac_ext <<_ACEOF
5895 /* end confdefs.h. */
5897 # include <limits.h>
5899 # include <assert.h>
5903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5904 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5906 grep -v '^ *+' conftest.er1 >conftest.err
5908 cat conftest.err >&5
5909 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5910 (exit $ac_status); } >/dev/null; then
5911 if test -s conftest.err; then
5912 ac_cpp_err=$ac_c_preproc_warn_flag
5913 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5920 if test -z "$ac_cpp_err"; then
5923 echo "$as_me: failed program was
:" >&5
5924 sed 's/^/| /' conftest.$ac_ext >&5
5926 # Broken: fails on valid input.
5929 rm -f conftest.err conftest.$ac_ext
5931 # OK, works on sane cases. Now check whether non-existent headers
5932 # can be detected and how.
5933 cat >conftest.$ac_ext <<_ACEOF
5936 cat confdefs.h >>conftest.$ac_ext
5937 cat >>conftest.$ac_ext <<_ACEOF
5938 /* end confdefs.h. */
5939 #include <ac_nonexistent.h>
5941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5944 grep -v '^ *+' conftest.er1 >conftest.err
5946 cat conftest.err >&5
5947 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5948 (exit $ac_status); } >/dev/null; then
5949 if test -s conftest.err; then
5950 ac_cpp_err=$ac_c_preproc_warn_flag
5951 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5958 if test -z "$ac_cpp_err"; then
5959 # Broken: success on invalid input.
5962 echo "$as_me: failed program was
:" >&5
5963 sed 's/^/| /' conftest.$ac_ext >&5
5965 # Passes both tests.
5969 rm -f conftest.err conftest.$ac_ext
5972 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5973 rm -f conftest.err conftest.$ac_ext
5974 if $ac_preproc_ok; then
5977 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
5978 See \
`config.log' for more details." >&5
5979 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5980 See \`config.log
' for more details." >&2;}
5981 { (exit 1); exit 1; }; }
5985 ac_cpp='$CPP $CPPFLAGS'
5986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5987 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5991 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5992 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5993 if test "${ac_cv_header_stdc+set}" = set; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 cat >conftest.$ac_ext <<_ACEOF
5999 cat confdefs.h >>conftest.$ac_ext
6000 cat >>conftest.$ac_ext <<_ACEOF
6001 /* end confdefs.h. */
6015 rm -f conftest.$ac_objext
6016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6017 (eval $ac_compile) 2>conftest.er1
6019 grep -v '^
*+' conftest.er1 >conftest.err
6021 cat conftest.err >&5
6022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6023 (exit $ac_status); } &&
6024 { ac_try='test -z "$ac_c_werror_flag"
6025 ||
test ! -s conftest.err
'
6026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6030 (exit $ac_status); }; } &&
6031 { ac_try='test -s conftest.
$ac_objext'
6032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036 (exit $ac_status); }; }; then
6037 ac_cv_header_stdc=yes
6039 echo "$as_me: failed program was:" >&5
6040 sed 's
/^
/|
/' conftest.$ac_ext >&5
6042 ac_cv_header_stdc=no
6044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6046 if test $ac_cv_header_stdc = yes; then
6047 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6048 cat >conftest.$ac_ext <<_ACEOF
6051 cat confdefs.h >>conftest.$ac_ext
6052 cat >>conftest.$ac_ext <<_ACEOF
6053 /* end confdefs.h. */
6057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6058 $EGREP "memchr" >/dev/null 2>&1; then
6061 ac_cv_header_stdc=no
6067 if test $ac_cv_header_stdc = yes; then
6068 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6069 cat >conftest.$ac_ext <<_ACEOF
6072 cat confdefs.h >>conftest.$ac_ext
6073 cat >>conftest.$ac_ext <<_ACEOF
6074 /* end confdefs.h. */
6078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6079 $EGREP "free" >/dev/null 2>&1; then
6082 ac_cv_header_stdc=no
6088 if test $ac_cv_header_stdc = yes; then
6089 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6090 if test "$cross_compiling" = yes; then
6093 cat >conftest.$ac_ext <<_ACEOF
6096 cat confdefs.h >>conftest.$ac_ext
6097 cat >>conftest.$ac_ext <<_ACEOF
6098 /* end confdefs.h. */
6100 #if ((' ' & 0x0FF) == 0x020)
6101 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
6102 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
6104 # define ISLOWER(c) \
6105 (('a
' <= (c) && (c) <= 'i
') \
6106 || ('j
' <= (c) && (c) <= 'r
') \
6107 || ('s
' <= (c) && (c) <= 'z
'))
6108 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6111 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6116 for (i = 0; i < 256; i++)
6117 if (XOR (islower (i), ISLOWER (i))
6118 || toupper (i) != TOUPPER (i))
6123 rm -f conftest$ac_exeext
6124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6125 (eval $ac_link) 2>&5
6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
6129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); }; }; then
6136 echo "$as_me: program exited with status $ac_status" >&5
6137 echo "$as_me: failed program was:" >&5
6138 sed 's
/^
/|
/' conftest.$ac_ext >&5
6141 ac_cv_header_stdc=no
6143 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6147 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6148 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6149 if test $ac_cv_header_stdc = yes; then
6151 cat >>confdefs.h <<\_ACEOF
6152 #define STDC_HEADERS 1
6157 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6167 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6168 inttypes.h stdint.h unistd.h
6170 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6171 echo "$as_me:$LINENO: checking for $ac_header" >&5
6172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6174 echo $ECHO_N "(cached) $ECHO_C" >&6
6176 cat >conftest.$ac_ext <<_ACEOF
6179 cat confdefs.h >>conftest.$ac_ext
6180 cat >>conftest.$ac_ext <<_ACEOF
6181 /* end confdefs.h. */
6182 $ac_includes_default
6184 #include <$ac_header>
6186 rm -f conftest.$ac_objext
6187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6188 (eval $ac_compile) 2>conftest.er1
6190 grep -v '^
*+' conftest.er1 >conftest.err
6192 cat conftest.err >&5
6193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194 (exit $ac_status); } &&
6195 { ac_try='test -z "$ac_c_werror_flag"
6196 ||
test ! -s conftest.err
'
6197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); }; } &&
6202 { ac_try='test -s conftest.
$ac_objext'
6203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207 (exit $ac_status); }; }; then
6208 eval "$as_ac_Header=yes"
6210 echo "$as_me: failed program was:" >&5
6211 sed 's
/^
/|
/' conftest.$ac_ext >&5
6213 eval "$as_ac_Header=no"
6215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6220 cat >>confdefs.h <<_ACEOF
6221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6230 for ac_header in dlfcn.h
6232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6233 echo "$as_me:$LINENO: checking for $ac_header" >&5
6234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6236 echo $ECHO_N "(cached) $ECHO_C" >&6
6238 cat >conftest.$ac_ext <<_ACEOF
6241 cat confdefs.h >>conftest.$ac_ext
6242 cat >>conftest.$ac_ext <<_ACEOF
6243 /* end confdefs.h. */
6244 $ac_includes_default
6246 #include <$ac_header>
6248 rm -f conftest.$ac_objext
6249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6250 (eval $ac_compile) 2>conftest.er1
6252 grep -v '^
*+' conftest.er1 >conftest.err
6254 cat conftest.err >&5
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); } &&
6257 { ac_try='test -z "$ac_c_werror_flag"
6258 ||
test ! -s conftest.err
'
6259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263 (exit $ac_status); }; } &&
6264 { ac_try='test -s conftest.
$ac_objext'
6265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6269 (exit $ac_status); }; }; then
6270 eval "$as_ac_Header=yes"
6272 echo "$as_me: failed program was:" >&5
6273 sed 's
/^
/|
/' conftest.$ac_ext >&5
6275 eval "$as_ac_Header=no"
6277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6282 cat >>confdefs.h <<_ACEOF
6283 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6292 # This can be used to rebuild libtool when needed
6293 LIBTOOL_DEPS="$ltmain"
6295 # Always use our own libtool.
6296 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
6322 test -z "$LN_S" && LN_S="ln -s"
6337 if test -n "${ZSH_VERSION+set}" ; then
6338 setopt NO_GLOB_SUBST
6341 echo "$as_me:$LINENO: checking for objdir" >&5
6342 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6343 if test "${lt_cv_objdir+set}" = set; then
6344 echo $ECHO_N "(cached) $ECHO_C" >&6
6346 rm -f .libs 2>/dev/null
6347 mkdir .libs 2>/dev/null
6348 if test -d .libs; then
6351 # MS-DOS does not allow filenames that begin with a dot.
6354 rmdir .libs 2>/dev/null
6356 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6357 echo "${ECHO_T}$lt_cv_objdir" >&6
6358 objdir=$lt_cv_objdir
6364 cat >>confdefs.h <<_ACEOF
6365 #define LT_OBJDIR "$lt_cv_objdir/"
6386 # AIX sometimes has problems with the GCC collect2 program. For some
6387 # reason, if we set the COLLECT_NAMES environment variable, the problems
6388 # vanish in a puff of smoke.
6389 if test "X${COLLECT_NAMES+set}" != Xset; then
6391 export COLLECT_NAMES
6396 # Sed substitution that helps us do robust quoting. It backslashifies
6397 # metacharacters that are still active within double-quoted strings.
6398 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
6400 # Same as above, but do not quote variable references.
6401 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6403 # Sed substitution to delay expansion of an escaped shell variable in a
6404 # double_quote_subst'ed string.
6405 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6407 # Sed substitution to delay expansion of an escaped single quote.
6408 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6410 # Sed substitution to avoid accidental globbing in evaled expressions
6411 no_glob_subst='s/\*/\\\*/g'
6415 can_build_shared=yes
6417 # All known linkers require a `.a
' archive for static linking (except MSVC,
6418 # which needs '.lib
').
6421 with_gnu_ld="$lt_cv_prog_gnu_ld"
6424 old_CFLAGS="$CFLAGS"
6426 # Set sane defaults for various variables
6427 test -z "$CC" && CC=cc
6428 test -z "$LTCC" && LTCC=$CC
6429 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6430 test -z "$LD" && LD=ld
6431 test -z "$ac_objext" && ac_objext=o
6433 for cc_temp in $compiler""; do
6435 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6436 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6441 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
6444 # Only perform the check for file, if the check method requires it
6445 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6446 case $deplibs_check_method in
6448 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6449 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6450 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6451 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6452 echo $ECHO_N "(cached) $ECHO_C" >&6
6456 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6459 lt_save_MAGIC_CMD="$MAGIC_CMD"
6460 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6461 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6462 for ac_dir in $ac_dummy; do
6464 test -z "$ac_dir" && ac_dir=.
6465 if test -f $ac_dir/${ac_tool_prefix}file; then
6466 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6467 if test -n "$file_magic_test_file"; then
6468 case $deplibs_check_method in
6470 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6471 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6472 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6473 $EGREP "$file_magic_regex" > /dev/null; then
6478 *** Warning: the command libtool uses to detect shared libraries,
6479 *** $file_magic_cmd, produces output that libtool cannot recognize.
6480 *** The result is that libtool may fail to recognize shared libraries
6481 *** as such. This will affect the creation of libtool libraries that
6482 *** depend on shared libraries, but programs linked with such libtool
6483 *** libraries will work regardless of this problem. Nevertheless, you
6484 *** may want to report the problem to your system manager and/or to
6485 *** bug-libtool@gnu.org
6495 MAGIC_CMD="$lt_save_MAGIC_CMD"
6500 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6501 if test -n "$MAGIC_CMD"; then
6502 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6503 echo "${ECHO_T}$MAGIC_CMD" >&6
6505 echo "$as_me:$LINENO: result: no" >&5
6506 echo "${ECHO_T}no" >&6
6513 if test -z "$lt_cv_path_MAGIC_CMD"; then
6514 if test -n "$ac_tool_prefix"; then
6515 echo "$as_me:$LINENO: checking for file" >&5
6516 echo $ECHO_N "checking for file... $ECHO_C" >&6
6517 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6518 echo $ECHO_N "(cached) $ECHO_C" >&6
6522 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6525 lt_save_MAGIC_CMD="$MAGIC_CMD"
6526 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6527 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6528 for ac_dir in $ac_dummy; do
6530 test -z "$ac_dir" && ac_dir=.
6531 if test -f $ac_dir/file; then
6532 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6533 if test -n "$file_magic_test_file"; then
6534 case $deplibs_check_method in
6536 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6537 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6538 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6539 $EGREP "$file_magic_regex" > /dev/null; then
6544 *** Warning: the command libtool uses to detect shared libraries,
6545 *** $file_magic_cmd, produces output that libtool cannot recognize.
6546 *** The result is that libtool may fail to recognize shared libraries
6547 *** as such. This will affect the creation of libtool libraries that
6548 *** depend on shared libraries, but programs linked with such libtool
6549 *** libraries will work regardless of this problem. Nevertheless, you
6550 *** may want to report the problem to your system manager and/or to
6551 *** bug-libtool@gnu.org
6561 MAGIC_CMD="$lt_save_MAGIC_CMD"
6566 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6567 if test -n "$MAGIC_CMD"; then
6568 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6569 echo "${ECHO_T}$MAGIC_CMD" >&6
6571 echo "$as_me:$LINENO: result: no" >&5
6572 echo "${ECHO_T}no" >&6
6585 # Use C for the default configuration in the libtool script
6589 ac_cpp='$CPP $CPPFLAGS'
6590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6591 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6595 # Source file extension for C test sources.
6598 # Object file extension for compiled C test sources.
6602 # Code to be used in simple compile tests
6603 lt_simple_compile_test_code="int some_variable = 0;"
6605 # Code to be used in simple link tests
6606 lt_simple_link_test_code='int main
(){return(0);}'
6614 # If no C compiler was specified, use CC.
6617 # If no C compiler flags were specified, use CFLAGS.
6618 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6620 # Allow CC to be a program name with arguments.
6623 # Save the default compiler, since it gets overwritten when the other
6624 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6625 compiler_DEFAULT=$CC
6627 # save warnings/boilerplate of simple test code
6628 ac_outfile=conftest.$ac_objext
6629 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6630 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6631 _lt_compiler_boilerplate=`cat conftest.err`
6634 ac_outfile=conftest.$ac_objext
6635 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6636 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6637 _lt_linker_boilerplate=`cat conftest.err`
6642 ## There is no encapsulation within the following macros, do not change
6643 ## the running order or otherwise move them around unless you know exactly
6644 ## what you are doing...
6645 if test -n "$compiler"; then
6647 lt_prog_compiler_no_builtin_flag=
6649 if test "$GCC" = yes; then
6650 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6652 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6653 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6654 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6655 echo $ECHO_N "(cached) $ECHO_C" >&6
6657 lt_cv_prog_compiler_rtti_exceptions=no
6658 ac_outfile=conftest.$ac_objext
6659 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6660 lt_compiler_flag="-fno-rtti -fno-exceptions"
6661 # Insert the option either (1) after the last *FLAGS variable, or
6662 # (2) before a word containing "conftest.", or (3) at the end.
6663 # Note that $ac_compile itself does not contain backslashes and begins
6664 # with a dollar sign (not a hyphen), so the echo should work correctly.
6665 # The option is referenced via a variable to avoid confusing sed.
6666 lt_compile=`echo "$ac_compile" | $SED \
6667 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
6668 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
6669 -e 's
:$
: $lt_compiler_flag:'`
6670 (eval echo "\"\$as_me:6670: $lt_compile\"" >&5)
6671 (eval "$lt_compile" 2>conftest.err)
6673 cat conftest.err >&5
6674 echo "$as_me:6674: \$? = $ac_status" >&5
6675 if (exit $ac_status) && test -s "$ac_outfile"; then
6676 # The compiler can only warn and ignore the option if not recognized
6677 # So say no if there are warnings other than the usual output.
6678 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
6679 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
6680 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6681 lt_cv_prog_compiler_rtti_exceptions=yes
6687 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6688 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6690 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6691 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6703 lt_prog_compiler_wl=
6704 lt_prog_compiler_pic=
6705 lt_prog_compiler_static=
6707 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6708 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6710 if test "$GCC" = yes; then
6711 lt_prog_compiler_wl='-Wl,'
6712 lt_prog_compiler_static='-static'
6716 # All AIX code is PIC.
6717 if test "$host_cpu" = ia64; then
6718 # AIX 5 now supports IA64 processor
6719 lt_prog_compiler_static='-Bstatic'
6724 if test "$host_cpu" = m68k; then
6725 # FIXME: we need at least 68020 code to build shared libraries, but
6726 # adding the `-m68020' flag to GCC prevents building anything better
,
6728 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6732 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6733 # PIC is the default for these OSes.
6736 mingw
* | cygwin
* | pw32
* | os2
*)
6737 # This hack is so that the source file can tell whether it is being
6738 # built for inclusion in a dll (and should export symbols for example).
6739 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6740 # (--disable-auto-import) libraries
6741 lt_prog_compiler_pic
='-DDLL_EXPORT'
6744 darwin
* | rhapsody
*)
6745 # PIC is the default on this platform
6746 # Common symbols not allowed in MH_DYLIB files
6747 lt_prog_compiler_pic
='-fno-common'
6751 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6758 lt_prog_compiler_pic
='-fPIC'
6764 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6765 # Instead, we relocate shared libraries at runtime.
6769 # Just because we use GCC doesn't mean we suddenly get shared libraries
6770 # on systems that don't support them.
6771 lt_prog_compiler_can_build_shared
=no
6776 # QNX uses GNU C++, but need to define -shared option too, otherwise
6778 lt_prog_compiler_pic
='-fPIC -shared'
6782 if test -d /usr
/nec
; then
6783 lt_prog_compiler_pic
=-Kconform_pic
6788 lt_prog_compiler_pic
='-fPIC'
6792 # PORTME Check for flag to pass linker flags through the system compiler.
6795 lt_prog_compiler_wl
='-Wl,'
6796 if test "$host_cpu" = ia64
; then
6797 # AIX 5 now supports IA64 processor
6798 lt_prog_compiler_static
='-Bstatic'
6800 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6804 # PIC is the default on this platform
6805 # Common symbols not allowed in MH_DYLIB files
6806 case $cc_basename in
6808 lt_prog_compiler_pic
='-qnocommon'
6809 lt_prog_compiler_wl
='-Wl,'
6814 mingw
* | cygwin
* | pw32
* | os2
*)
6815 # This hack is so that the source file can tell whether it is being
6816 # built for inclusion in a dll (and should export symbols for example).
6817 lt_prog_compiler_pic
='-DDLL_EXPORT'
6820 hpux9
* | hpux10
* | hpux11
*)
6821 lt_prog_compiler_wl
='-Wl,'
6822 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6829 lt_prog_compiler_pic
='+Z'
6832 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6833 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6836 irix5
* | irix6
* | nonstopux
*)
6837 lt_prog_compiler_wl
='-Wl,'
6838 # PIC (with -KPIC) is the default.
6839 lt_prog_compiler_static
='-non_shared'
6842 linux
* | k
*bsd
*-gnu)
6843 case $cc_basename in
6845 lt_prog_compiler_wl
='-Wl,'
6846 lt_prog_compiler_pic
='-KPIC'
6847 lt_prog_compiler_static
='-static'
6849 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6850 # Portland Group compilers (*not* the Pentium gcc compiler,
6851 # which looks to be a dead project)
6852 lt_prog_compiler_wl
='-Wl,'
6853 lt_prog_compiler_pic
='-fpic'
6854 lt_prog_compiler_static
='-Bstatic'
6857 lt_prog_compiler_wl
='-Wl,'
6858 # All Alpha code is PIC.
6859 lt_prog_compiler_static
='-non_shared'
6862 case `$CC -V 2>&1 | sed 5q` in
6865 lt_prog_compiler_pic
='-KPIC'
6866 lt_prog_compiler_static
='-Bstatic'
6867 lt_prog_compiler_wl
='-Wl,'
6870 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6871 lt_prog_compiler_pic
='-KPIC'
6872 lt_prog_compiler_static
='-Bstatic'
6873 lt_prog_compiler_wl
=''
6881 lt_prog_compiler_pic
='-KPIC'
6882 lt_prog_compiler_static
='-Bstatic'
6886 # QNX uses GNU C++, but need to define -shared option too, otherwise
6888 lt_prog_compiler_pic
='-fPIC -shared'
6891 osf3
* | osf4
* | osf5
*)
6892 lt_prog_compiler_wl
='-Wl,'
6893 # All OSF/1 code is PIC.
6894 lt_prog_compiler_static
='-non_shared'
6898 lt_prog_compiler_static
='-non_shared'
6902 lt_prog_compiler_pic
='-KPIC'
6903 lt_prog_compiler_static
='-Bstatic'
6904 case $cc_basename in
6906 lt_prog_compiler_wl
='-Qoption ld ';;
6908 lt_prog_compiler_wl
='-Wl,';;
6913 lt_prog_compiler_wl
='-Qoption ld '
6914 lt_prog_compiler_pic
='-PIC'
6915 lt_prog_compiler_static
='-Bstatic'
6918 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6919 lt_prog_compiler_wl
='-Wl,'
6920 lt_prog_compiler_pic
='-KPIC'
6921 lt_prog_compiler_static
='-Bstatic'
6925 if test -d /usr
/nec
;then
6926 lt_prog_compiler_pic
='-Kconform_pic'
6927 lt_prog_compiler_static
='-Bstatic'
6931 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6932 lt_prog_compiler_wl
='-Wl,'
6933 lt_prog_compiler_pic
='-KPIC'
6934 lt_prog_compiler_static
='-Bstatic'
6938 lt_prog_compiler_wl
='-Wl,'
6939 lt_prog_compiler_can_build_shared
=no
6943 lt_prog_compiler_pic
='-pic'
6944 lt_prog_compiler_static
='-Bstatic'
6948 lt_prog_compiler_can_build_shared
=no
6954 # For platforms which do not support PIC, -DPIC is meaningless:
6956 lt_prog_compiler_pic
=
6959 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6962 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6963 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6971 # Check to make sure the PIC flag actually works.
6973 if test -n "$lt_prog_compiler_pic"; then
6974 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6975 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6976 if test "${lt_prog_compiler_pic_works+set}" = set; then
6977 echo $ECHO_N "(cached) $ECHO_C" >&6
6979 lt_prog_compiler_pic_works
=no
6980 ac_outfile
=conftest.
$ac_objext
6981 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6982 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6983 # Insert the option either (1) after the last *FLAGS variable, or
6984 # (2) before a word containing "conftest.", or (3) at the end.
6985 # Note that $ac_compile itself does not contain backslashes and begins
6986 # with a dollar sign (not a hyphen), so the echo should work correctly.
6987 # The option is referenced via a variable to avoid confusing sed.
6988 lt_compile
=`echo "$ac_compile" | $SED \
6989 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6990 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6991 -e 's:$: $lt_compiler_flag:'`
6992 (eval echo "\"\$as_me:6992: $lt_compile\"" >&5)
6993 (eval "$lt_compile" 2>conftest.err
)
6995 cat conftest.err
>&5
6996 echo "$as_me:6996: \$? = $ac_status" >&5
6997 if (exit $ac_status) && test -s "$ac_outfile"; then
6998 # The compiler can only warn and ignore the option if not recognized
6999 # So say no if there are warnings other than the usual output.
7000 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7001 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7002 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7003 lt_prog_compiler_pic_works
=yes
7009 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7010 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7012 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7013 case $lt_prog_compiler_pic in
7015 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7018 lt_prog_compiler_pic
=
7019 lt_prog_compiler_can_build_shared
=no
7030 # Check to make sure the static flag actually works.
7032 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7033 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7034 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7035 if test "${lt_prog_compiler_static_works+set}" = set; then
7036 echo $ECHO_N "(cached) $ECHO_C" >&6
7038 lt_prog_compiler_static_works
=no
7039 save_LDFLAGS
="$LDFLAGS"
7040 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7041 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7042 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7043 # The linker can only warn and ignore the option if not recognized
7044 # So say no if there are warnings
7045 if test -s conftest.err
; then
7046 # Append any errors to the config.log.
7047 cat conftest.err
1>&5
7048 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7049 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7050 if diff conftest.exp conftest.er2
>/dev
/null
; then
7051 lt_prog_compiler_static_works
=yes
7054 lt_prog_compiler_static_works
=yes
7058 LDFLAGS
="$save_LDFLAGS"
7061 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7062 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7064 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7067 lt_prog_compiler_static
=
7076 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7077 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7078 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7079 echo $ECHO_N "(cached) $ECHO_C" >&6
7081 lt_cv_prog_compiler_c_o
=no
7082 $RM -r conftest
2>/dev
/null
7086 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7088 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7089 # Insert the option either (1) after the last *FLAGS variable, or
7090 # (2) before a word containing "conftest.", or (3) at the end.
7091 # Note that $ac_compile itself does not contain backslashes and begins
7092 # with a dollar sign (not a hyphen), so the echo should work correctly.
7093 lt_compile
=`echo "$ac_compile" | $SED \
7094 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7095 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7096 -e 's:$: $lt_compiler_flag:'`
7097 (eval echo "\"\$as_me:7097: $lt_compile\"" >&5)
7098 (eval "$lt_compile" 2>out
/conftest.err
)
7100 cat out
/conftest.err
>&5
7101 echo "$as_me:7101: \$? = $ac_status" >&5
7102 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7104 # The compiler can only warn and ignore the option if not recognized
7105 # So say no if there are warnings
7106 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7107 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7108 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7109 lt_cv_prog_compiler_c_o
=yes
7114 # SGI C++ compiler will create directory out/ii_files/ for
7115 # template instantiation
7116 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7117 $RM out
/* && rmdir out
7123 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7124 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7131 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7132 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7133 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7134 echo $ECHO_N "(cached) $ECHO_C" >&6
7136 lt_cv_prog_compiler_c_o
=no
7137 $RM -r conftest
2>/dev
/null
7141 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7143 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7144 # Insert the option either (1) after the last *FLAGS variable, or
7145 # (2) before a word containing "conftest.", or (3) at the end.
7146 # Note that $ac_compile itself does not contain backslashes and begins
7147 # with a dollar sign (not a hyphen), so the echo should work correctly.
7148 lt_compile
=`echo "$ac_compile" | $SED \
7149 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7150 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7151 -e 's:$: $lt_compiler_flag:'`
7152 (eval echo "\"\$as_me:7152: $lt_compile\"" >&5)
7153 (eval "$lt_compile" 2>out
/conftest.err
)
7155 cat out
/conftest.err
>&5
7156 echo "$as_me:7156: \$? = $ac_status" >&5
7157 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7159 # The compiler can only warn and ignore the option if not recognized
7160 # So say no if there are warnings
7161 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7162 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7163 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7164 lt_cv_prog_compiler_c_o
=yes
7169 # SGI C++ compiler will create directory out/ii_files/ for
7170 # template instantiation
7171 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7172 $RM out
/* && rmdir out
7178 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7179 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7184 hard_links
="nottested"
7185 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7186 # do not overwrite the value of need_locks provided by the user
7187 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7188 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7191 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7193 ln conftest.a conftest.b
2>&5 || hard_links
=no
7194 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7195 echo "$as_me:$LINENO: result: $hard_links" >&5
7196 echo "${ECHO_T}$hard_links" >&6
7197 if test "$hard_links" = no
; then
7198 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7199 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7211 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7212 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7215 allow_undefined_flag
=
7216 always_export_symbols
=no
7218 archive_expsym_cmds
=
7219 compiler_needs_object
=no
7220 enable_shared_with_static_runtimes
=no
7221 export_dynamic_flag_spec
=
7222 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7223 hardcode_automatic
=no
7225 hardcode_direct_absolute
=no
7226 hardcode_libdir_flag_spec
=
7227 hardcode_libdir_flag_spec_ld
=
7228 hardcode_libdir_separator
=
7230 hardcode_shlibpath_var
=unsupported
7232 link_all_deplibs
=unknown
7235 old_archive_from_new_cmds
=
7236 old_archive_from_expsyms_cmds
=
7237 thread_safe_flag_spec
=
7238 whole_archive_flag_spec
=
7239 # include_expsyms should be a list of space-separated symbols to be *always*
7240 # included in the symbol list
7242 # exclude_expsyms can be an extended regexp of symbols to exclude
7243 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7244 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7245 # as well as any symbol that contains `d'.
7246 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7247 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7248 # platforms (ab)use it in PIC code, but their linkers get confused if
7249 # the symbol is explicitly referenced. Since portable code cannot
7250 # rely on this symbol name, it's probably fine to never include it in
7251 # preloaded symbol tables.
7252 extract_expsyms_cmds
=
7255 cygwin
* | mingw
* | pw32
*)
7256 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7257 # When not using gcc, we currently assume that we are using
7258 # Microsoft Visual C++.
7259 if test "$GCC" != yes; then
7264 # we just hope/assume this is gcc and not c89 (= MSVC++)
7273 if test "$with_gnu_ld" = yes; then
7274 # If archive_cmds runs LD, not CC, wlarc should be empty
7277 # Set some defaults for GNU ld with shared library support. These
7278 # are reset later if shared libraries are not supported. Putting them
7279 # here allows them to be overridden if necessary.
7280 runpath_var
=LD_RUN_PATH
7281 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7282 export_dynamic_flag_spec
='${wl}--export-dynamic'
7283 # ancient GNU ld didn't support --whole-archive et. al.
7284 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7285 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7287 whole_archive_flag_spec
=
7289 supports_anon_versioning
=no
7290 case `$LD -v 2>&1` in
7291 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7292 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7293 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7294 *\
2.11.
*) ;; # other 2.11 versions
7295 *) supports_anon_versioning
=yes ;;
7298 # See if GNU ld supports shared libraries.
7301 # On AIX/PPC, the GNU linker is very broken
7302 if test "$host_cpu" != ia64
; then
7306 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7307 *** to be unable to reliably create shared libraries on AIX.
7308 *** Therefore, libtool is disabling shared libraries support. If you
7309 *** really care for shared libraries, you may want to modify your PATH
7310 *** so that a non-GNU linker is found, and then restart.
7317 if test "$host_cpu" = m68k
; then
7318 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)'
7319 hardcode_libdir_flag_spec
='-L$libdir'
7320 hardcode_minus_L
=yes
7323 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7324 # that the semantics of dynamic libraries on AmigaOS, at least up
7325 # to version 4, is to share data among multiple programs linked
7326 # with the same dynamic library. Since this doesn't match the
7327 # behavior of shared libraries on other platforms, we can't use
7333 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7334 allow_undefined_flag
=unsupported
7335 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7336 # support --undefined. This deserves some investigation. FIXME
7337 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7343 cygwin
* | mingw
* | pw32
*)
7344 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7345 # as there is no search path for DLLs.
7346 hardcode_libdir_flag_spec
='-L$libdir'
7347 allow_undefined_flag
=unsupported
7348 always_export_symbols
=no
7349 enable_shared_with_static_runtimes
=yes
7350 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7352 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7353 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7354 # If the export-symbols file already is a .def file (1st line
7355 # is EXPORTS), use it as is; otherwise, prepend...
7356 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7357 cp $export_symbols $output_objdir/$soname.def;
7359 echo EXPORTS > $output_objdir/$soname.def;
7360 cat $export_symbols >> $output_objdir/$soname.def;
7362 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7370 hardcode_shlibpath_var
=no
7371 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7372 export_dynamic_flag_spec
='${wl}-E'
7373 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7374 # Instead, shared libraries are loaded at an image base (0x10000000 by
7375 # default) and relocated if they conflict, which is a slow very memory
7376 # consuming and fragmenting process. To avoid this, we pick a random,
7377 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7378 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7379 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7380 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'
7383 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7385 if test "$host_os" = linux-dietlibc
; then
7386 case $cc_basename in
7387 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7390 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7391 && test "$tmp_diet" = no
7394 case $cc_basename,$host_cpu in
7395 pgcc
*) # Portland Group C compiler
7396 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'
7397 tmp_addflag
=' $pic_flag'
7399 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7400 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'
7401 tmp_addflag
=' $pic_flag -Mnomain' ;;
7402 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7403 tmp_addflag
=' -i_dynamic' ;;
7404 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7405 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7406 ifc
* | ifort
*) # Intel Fortran compiler
7407 tmp_addflag
=' -nofor_main' ;;
7409 case `$CC -V 2>&1 | sed 5q` in
7410 *Sun\ C
*) # Sun C 5.9
7411 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'
7412 compiler_needs_object
=yes
7413 tmp_sharedflag
='-G' ;;
7414 *Sun\ F
*) # Sun Fortran 8.3
7415 tmp_sharedflag
='-G' ;;
7417 tmp_sharedflag
='-shared' ;;
7419 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7421 if test "x$supports_anon_versioning" = xyes
; then
7422 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7423 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7424 echo "local: *; };" >> $output_objdir/$libname.ver~
7425 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7433 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7434 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7437 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7438 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7443 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7447 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7448 *** create shared libraries on Solaris systems. Therefore, libtool
7449 *** is disabling shared libraries support. We urge you to upgrade GNU
7450 *** binutils to release 2.9.1 or newer. Another option is to modify
7451 *** your PATH or compiler configuration so that the native linker is
7452 *** used, and then restart.
7455 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7456 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7457 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7463 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7464 case `$LD -v 2>&1` in
7465 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7469 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7470 *** reliably create shared libraries on SCO systems. Therefore, libtool
7471 *** is disabling shared libraries support. We urge you to upgrade GNU
7472 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7473 *** your PATH or compiler configuration so that the native linker is
7474 *** used, and then restart.
7479 # For security reasons, it is highly recommended that you always
7480 # use absolute paths for naming shared libraries, and exclude the
7481 # DT_RUNPATH tag from executables and libraries. But doing so
7482 # requires that you compile everything twice, which is a pain.
7483 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7484 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7485 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7486 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7495 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7498 hardcode_shlibpath_var
=no
7502 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7503 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7504 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7511 if test "$ld_shlibs" = no
; then
7513 hardcode_libdir_flag_spec
=
7514 export_dynamic_flag_spec
=
7515 whole_archive_flag_spec
=
7518 # PORTME fill in a description of your system's linker (not GNU ld)
7521 allow_undefined_flag
=unsupported
7522 always_export_symbols
=yes
7523 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'
7524 # Note: this linker hardcodes the directories in LIBPATH if there
7525 # are no directories specified by -L.
7526 hardcode_minus_L
=yes
7527 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7528 # Neither direct hardcoding nor static linking is supported with a
7530 hardcode_direct
=unsupported
7535 if test "$host_cpu" = ia64
; then
7536 # On IA64, the linker does run time linking by default, so we don't
7537 # have to do anything special.
7538 aix_use_runtimelinking
=no
7539 exp_sym_flag
='-Bexport'
7542 # If we're using GNU nm, then we don't want the "-C" option.
7543 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7544 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7545 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'
7547 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'
7549 aix_use_runtimelinking
=no
7551 # Test if we are trying to use run time linking or normal
7552 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7553 # need to do runtime linking.
7554 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
7555 for ld_flag
in $LDFLAGS; do
7556 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7557 aix_use_runtimelinking
=yes
7564 exp_sym_flag
='-bexport'
7565 no_entry_flag
='-bnoentry'
7568 # When large executables or shared objects are built, AIX ld can
7569 # have problems creating the table of contents. If linking a library
7570 # or program results in "error TOC overflow" add -mminimal-toc to
7571 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7572 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7576 hardcode_direct_absolute
=yes
7577 hardcode_libdir_separator
=':'
7578 link_all_deplibs
=yes
7579 file_list_spec
='${wl}-f,'
7581 if test "$GCC" = yes; then
7582 case $host_os in aix4.
[012]|aix4.
[012].
*)
7583 # We only want to do this on AIX 4.2 and lower, the check
7584 # below for broken collect2 doesn't work under 4.3+
7585 collect2name
=`${CC} -print-prog-name=collect2`
7586 if test -f "$collect2name" &&
7587 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7589 # We have reworked collect2
7592 # We have old collect2
7593 hardcode_direct
=unsupported
7594 # It fails to find uninstalled libraries when the uninstalled
7595 # path is not listed in the libpath. Setting hardcode_minus_L
7596 # to unsupported forces relinking
7597 hardcode_minus_L
=yes
7598 hardcode_libdir_flag_spec
='-L$libdir'
7599 hardcode_libdir_separator
=
7603 shared_flag
='-shared'
7604 if test "$aix_use_runtimelinking" = yes; then
7605 shared_flag
="$shared_flag "'${wl}-G'
7609 if test "$host_cpu" = ia64
; then
7610 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7611 # chokes on -Wl,-G. The following line is correct:
7614 if test "$aix_use_runtimelinking" = yes; then
7615 shared_flag
='${wl}-G'
7617 shared_flag
='${wl}-bM:SRE'
7622 # It seems that -bexpall does not export symbols beginning with
7623 # underscore (_), so it is better to generate a list of symbols to export.
7624 always_export_symbols
=yes
7625 if test "$aix_use_runtimelinking" = yes; then
7626 # Warning - without using the other runtime loading flags (-brtl),
7627 # -berok will link without error, but may produce a broken library.
7628 allow_undefined_flag
='-berok'
7629 # Determine the default libpath from the value encoded in an
7631 cat >conftest.
$ac_ext <<_ACEOF
7634 cat confdefs.h
>>conftest.
$ac_ext
7635 cat >>conftest.
$ac_ext <<_ACEOF
7636 /* end confdefs.h. */
7646 rm -f conftest.
$ac_objext conftest
$ac_exeext
7647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7648 (eval $ac_link) 2>conftest.er1
7650 grep -v '^ *+' conftest.er1
>conftest.err
7652 cat conftest.err
>&5
7653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7654 (exit $ac_status); } &&
7655 { ac_try
='test -z "$ac_c_werror_flag"
7656 || test ! -s conftest.err'
7657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7661 (exit $ac_status); }; } &&
7662 { ac_try
='test -s conftest$ac_exeext'
7663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 (exit $ac_status); }; }; then
7669 lt_aix_libpath_sed
='
7670 /Import File Strings/,/^$/ {
7676 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7677 # Check for a 64-bit object if we didn't find anything.
7678 if test -z "$aix_libpath"; then
7679 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7682 echo "$as_me: failed program was:" >&5
7683 sed 's/^/| /' conftest.
$ac_ext >&5
7686 rm -f conftest.err conftest.
$ac_objext \
7687 conftest
$ac_exeext conftest.
$ac_ext
7688 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7690 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7691 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"
7693 if test "$host_cpu" = ia64
; then
7694 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7695 allow_undefined_flag
="-z nodefs"
7696 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"
7698 # Determine the default libpath from the value encoded in an
7700 cat >conftest.
$ac_ext <<_ACEOF
7703 cat confdefs.h
>>conftest.
$ac_ext
7704 cat >>conftest.
$ac_ext <<_ACEOF
7705 /* end confdefs.h. */
7715 rm -f conftest.
$ac_objext conftest
$ac_exeext
7716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7717 (eval $ac_link) 2>conftest.er1
7719 grep -v '^ *+' conftest.er1
>conftest.err
7721 cat conftest.err
>&5
7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7723 (exit $ac_status); } &&
7724 { ac_try
='test -z "$ac_c_werror_flag"
7725 || test ! -s conftest.err'
7726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7730 (exit $ac_status); }; } &&
7731 { ac_try
='test -s conftest$ac_exeext'
7732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7736 (exit $ac_status); }; }; then
7738 lt_aix_libpath_sed
='
7739 /Import File Strings/,/^$/ {
7745 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7746 # Check for a 64-bit object if we didn't find anything.
7747 if test -z "$aix_libpath"; then
7748 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7751 echo "$as_me: failed program was:" >&5
7752 sed 's/^/| /' conftest.
$ac_ext >&5
7755 rm -f conftest.err conftest.
$ac_objext \
7756 conftest
$ac_exeext conftest.
$ac_ext
7757 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7759 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7760 # Warning - without using the other run time loading flags,
7761 # -berok will link without error, but may produce a broken library.
7762 no_undefined_flag
=' ${wl}-bernotok'
7763 allow_undefined_flag
=' ${wl}-berok'
7764 # Exported symbols can be pulled into shared objects from archives
7765 whole_archive_flag_spec
='$convenience'
7766 archive_cmds_need_lc
=yes
7767 # This is similar to how AIX traditionally builds its shared libraries.
7768 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'
7774 if test "$host_cpu" = m68k
; then
7775 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)'
7776 hardcode_libdir_flag_spec
='-L$libdir'
7777 hardcode_minus_L
=yes
7779 # see comment about different semantics on the GNU ld section
7784 export_dynamic_flag_spec
=-rdynamic
7787 cygwin
* | mingw
* | pw32
*)
7788 # When not using gcc, we currently assume that we are using
7789 # Microsoft Visual C++.
7790 # hardcode_libdir_flag_spec is actually meaningless, as there is
7791 # no search path for DLLs.
7792 hardcode_libdir_flag_spec
=' '
7793 allow_undefined_flag
=unsupported
7794 # Tell ltmain to make .lib files, not .a files.
7796 # Tell ltmain to make .dll files, not .so files.
7798 # FIXME: Setting linknames here is a bad hack.
7799 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7800 # The linker will automatically build a .lib file if we build a DLL.
7801 old_archive_from_new_cmds
='true'
7802 # FIXME: Should let the user specify the lib program.
7803 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7804 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7805 enable_shared_with_static_runtimes
=yes
7808 darwin
* | rhapsody
*)
7810 rhapsody
* | darwin1.
[012])
7811 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7814 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7816 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7819 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7824 archive_cmds_need_lc
=no
7826 hardcode_automatic
=yes
7827 hardcode_shlibpath_var
=unsupported
7828 whole_archive_flag_spec
=''
7829 link_all_deplibs
=yes
7830 if test "$GCC" = yes ; then
7831 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7832 echo $ECHO_N "(cached) $ECHO_C" >&6
7834 lt_cv_apple_cc_single_mod
=no
7835 if test -z "${LT_MULTI_MODULE}"; then
7836 # By default we will add the -single_module flag. You can override
7837 # by either setting the environment variable LT_MULTI_MODULE
7838 # non-empty at configure time, or by adding -multi-module to the
7840 echo "int foo(void){return 1;}" > conftest.c
7841 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7842 -dynamiclib ${wl}-single_module conftest.c
7843 if test -f libconftest.dylib
; then
7844 lt_cv_apple_cc_single_mod
=yes
7845 rm libconftest.dylib
7851 output_verbose_link_cmd
=echo
7852 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
7853 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7854 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}'
7856 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7857 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}'
7859 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7860 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}'
7862 case $cc_basename in
7864 output_verbose_link_cmd
=echo
7865 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7866 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7867 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7868 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}'
7869 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}'
7879 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7880 hardcode_libdir_flag_spec
='-L$libdir'
7881 hardcode_shlibpath_var
=no
7888 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7889 # support. Future versions do this automatically, but an explicit c++rt0.o
7890 # does not break anything, and helps significantly (at the cost of a little
7893 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7894 hardcode_libdir_flag_spec
='-R$libdir'
7896 hardcode_shlibpath_var
=no
7899 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7901 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7903 hardcode_minus_L
=yes
7904 hardcode_shlibpath_var
=no
7907 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7908 freebsd
* | dragonfly
*)
7909 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7910 hardcode_libdir_flag_spec
='-R$libdir'
7912 hardcode_shlibpath_var
=no
7916 if test "$GCC" = yes; then
7917 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'
7919 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'
7921 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7922 hardcode_libdir_separator
=:
7925 # hardcode_minus_L: Not really in the search PATH,
7926 # but as the default location of the library.
7927 hardcode_minus_L
=yes
7928 export_dynamic_flag_spec
='${wl}-E'
7932 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7933 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7935 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7937 if test "$with_gnu_ld" = no
; then
7938 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7939 hardcode_libdir_flag_spec_ld
='+b $libdir'
7940 hardcode_libdir_separator
=:
7942 hardcode_direct_absolute
=yes
7943 export_dynamic_flag_spec
='${wl}-E'
7944 # hardcode_minus_L: Not really in the search PATH,
7945 # but as the default location of the library.
7946 hardcode_minus_L
=yes
7951 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7954 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7957 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7960 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7966 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7969 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7972 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7976 if test "$with_gnu_ld" = no
; then
7977 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7978 hardcode_libdir_separator
=:
7983 hardcode_shlibpath_var
=no
7987 hardcode_direct_absolute
=yes
7988 export_dynamic_flag_spec
='${wl}-E'
7990 # hardcode_minus_L: Not really in the search PATH,
7991 # but as the default location of the library.
7992 hardcode_minus_L
=yes
7998 irix5
* | irix6
* | nonstopux
*)
7999 if test "$GCC" = yes; then
8000 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'
8001 # Try to use the -exported_symbol ld option, if it does not
8002 # work, assume that -exports_file does not work either and
8003 # implicitly export all symbols.
8004 save_LDFLAGS
="$LDFLAGS"
8005 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8006 cat >conftest.
$ac_ext <<_ACEOF
8009 rm -f conftest.
$ac_objext conftest
$ac_exeext
8010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8011 (eval $ac_link) 2>conftest.er1
8013 grep -v '^ *+' conftest.er1
>conftest.err
8015 cat conftest.err
>&5
8016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8017 (exit $ac_status); } &&
8018 { ac_try
='test -z "$ac_c_werror_flag"
8019 || test ! -s conftest.err'
8020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8024 (exit $ac_status); }; } &&
8025 { ac_try
='test -s conftest$ac_exeext'
8026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 (exit $ac_status); }; }; then
8031 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'
8034 echo "$as_me: failed program was:" >&5
8035 sed 's/^/| /' conftest.
$ac_ext >&5
8038 rm -f conftest.err conftest.
$ac_objext \
8039 conftest
$ac_exeext conftest.
$ac_ext
8040 LDFLAGS
="$save_LDFLAGS"
8042 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'
8043 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'
8045 archive_cmds_need_lc
='no'
8046 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8047 hardcode_libdir_separator
=:
8049 link_all_deplibs
=yes
8053 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8054 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8056 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8058 hardcode_libdir_flag_spec
='-R$libdir'
8060 hardcode_shlibpath_var
=no
8064 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8066 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8067 hardcode_libdir_separator
=:
8068 hardcode_shlibpath_var
=no
8076 hardcode_shlibpath_var
=no
8077 hardcode_direct_absolute
=yes
8078 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8079 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8080 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8081 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8082 export_dynamic_flag_spec
='${wl}-E'
8085 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8086 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8087 hardcode_libdir_flag_spec
='-R$libdir'
8090 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8091 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8098 hardcode_libdir_flag_spec
='-L$libdir'
8099 hardcode_minus_L
=yes
8100 allow_undefined_flag
=unsupported
8101 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'
8102 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8106 if test "$GCC" = yes; then
8107 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8108 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'
8110 allow_undefined_flag
=' -expect_unresolved \*'
8111 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'
8113 archive_cmds_need_lc
='no'
8114 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8115 hardcode_libdir_separator
=:
8118 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8119 if test "$GCC" = yes; then
8120 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8121 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'
8122 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8124 allow_undefined_flag
=' -expect_unresolved \*'
8125 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'
8126 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~
8127 $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'
8129 # Both c and cxx compiler support -rpath directly
8130 hardcode_libdir_flag_spec
='-rpath $libdir'
8132 archive_cmds_need_lc
='no'
8133 hardcode_libdir_separator
=:
8137 no_undefined_flag
=' -z defs'
8138 if test "$GCC" = yes; then
8140 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8141 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8142 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8144 case `$CC -V 2>&1` in
8147 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8148 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8149 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8153 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8154 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8155 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8159 hardcode_libdir_flag_spec
='-R$libdir'
8160 hardcode_shlibpath_var
=no
8162 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8164 # The compiler driver will combine and reorder linker options,
8165 # but understands `-z linker_flag'. GCC discards it without `$wl',
8166 # but is careful enough not to reorder.
8167 # Supported since Solaris 2.6 (maybe 2.5.1?)
8168 if test "$GCC" = yes; then
8169 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8171 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8175 link_all_deplibs
=yes
8179 if test "x$host_vendor" = xsequent
; then
8180 # Use $CC to link under sequent, because it throws in some extra .o
8181 # files that make .init and .fini sections work.
8182 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8184 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8186 hardcode_libdir_flag_spec
='-L$libdir'
8188 hardcode_minus_L
=yes
8189 hardcode_shlibpath_var
=no
8193 case $host_vendor in
8195 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8196 hardcode_direct
=yes # is this really true???
8199 ## LD is ld it makes a PLAMLIB
8200 ## CC just makes a GrossModule.
8201 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8202 reload_cmds
='$CC -r -o $output$reload_objs'
8206 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8207 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8210 runpath_var
='LD_RUN_PATH'
8211 hardcode_shlibpath_var
=no
8215 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8216 hardcode_shlibpath_var
=no
8217 export_dynamic_flag_spec
='-Bexport'
8221 if test -d /usr
/nec
; then
8222 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8223 hardcode_shlibpath_var
=no
8224 runpath_var
=LD_RUN_PATH
8225 hardcode_runpath_var
=yes
8230 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8231 no_undefined_flag
='${wl}-z,text'
8232 archive_cmds_need_lc
=no
8233 hardcode_shlibpath_var
=no
8234 runpath_var
='LD_RUN_PATH'
8236 if test "$GCC" = yes; then
8237 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8238 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8240 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8241 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8245 sysv5
* | sco3.2v5
* | sco5v6
*)
8246 # Note: We can NOT use -z defs as we might desire, because we do not
8247 # link with -lc, and that would cause any symbols used from libc to
8248 # always be unresolved, which means just about no library would
8249 # ever link correctly. If we're not using GNU ld we use -z text
8250 # though, which does catch some bad symbols but isn't as heavy-handed
8252 no_undefined_flag
='${wl}-z,text'
8253 allow_undefined_flag
='${wl}-z,nodefs'
8254 archive_cmds_need_lc
=no
8255 hardcode_shlibpath_var
=no
8256 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8257 hardcode_libdir_separator
=':'
8258 link_all_deplibs
=yes
8259 export_dynamic_flag_spec
='${wl}-Bexport'
8260 runpath_var
='LD_RUN_PATH'
8262 if test "$GCC" = yes; then
8263 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8264 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8266 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8267 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8272 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8273 hardcode_libdir_flag_spec
='-L$libdir'
8274 hardcode_shlibpath_var
=no
8282 if test x
$host_vendor = xsni
; then
8284 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8285 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8291 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8292 echo "${ECHO_T}$ld_shlibs" >&6
8293 test "$ld_shlibs" = no
&& can_build_shared
=no
8295 with_gnu_ld
=$with_gnu_ld
8312 # Do we need to explicitly link libc?
8314 case "x$archive_cmds_need_lc" in
8316 # Assume -lc should be added
8317 archive_cmds_need_lc
=yes
8319 if test "$enable_shared" = yes && test "$GCC" = yes; then
8320 case $archive_cmds in
8322 # FIXME: we may have to deal with multi-command sequences.
8325 # Test whether the compiler implicitly links with -lc since on some
8326 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8327 # to ld, don't add -lc before -lgcc.
8328 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8329 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8331 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8334 (eval $ac_compile) 2>&5
8336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8337 (exit $ac_status); } 2>conftest.err
; then
8340 libobjs
=conftest.
$ac_objext
8342 wl
=$lt_prog_compiler_wl
8343 pic_flag
=$lt_prog_compiler_pic
8349 lt_save_allow_undefined_flag
=$allow_undefined_flag
8350 allow_undefined_flag
=
8351 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8352 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); }
8357 archive_cmds_need_lc
=no
8359 archive_cmds_need_lc
=yes
8361 allow_undefined_flag
=$lt_save_allow_undefined_flag
8363 cat conftest.err
1>&5
8366 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8367 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8530 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8531 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8533 if test "$withGCC" = yes; then
8535 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8536 *) lt_awk_arg
="/^libraries:/" ;;
8538 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8539 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8540 # if the path contains ";" then we assume it to be the separator
8541 # otherwise default to the standard path separator (i.e. ":") - it is
8542 # assumed that no part of a normal pathname contains ";" but that should
8543 # okay in the real world where ";" in dirpaths is itself problematic.
8544 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8546 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8548 # Ok, now we have the path, separated by spaces, we can step through it
8549 # and add multilib dir if necessary.
8550 lt_tmp_lt_search_path_spec
=
8551 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8552 for lt_sys_path
in $lt_search_path_spec; do
8553 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8554 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8556 test -d "$lt_sys_path" && \
8557 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8560 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8561 BEGIN {RS=" "; FS="/|\n";} {
8564 for (lt_i = NF; lt_i > 0; lt_i--) {
8565 if ($lt_i != "" && $lt_i != ".") {
8566 if ($lt_i == "..") {
8569 if (lt_count == 0) {
8570 lt_foo="/" $lt_i lt_foo;
8577 if (lt_foo != "") { lt_freq[lt_foo]++; }
8578 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8580 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8582 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8585 libname_spec
='lib$name'
8593 shlibpath_overrides_runpath
=unknown
8595 dynamic_linker
="$host_os ld.so"
8596 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8597 need_lib_prefix
=unknown
8598 hardcode_into_libs
=no
8600 # when you set need_version to no, make sure it does not cause -set_version
8601 # flags to be left without arguments
8602 need_version
=unknown
8607 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8608 shlibpath_var
=LIBPATH
8610 # AIX 3 has no versioning support, so we append a major version to the name.
8611 soname_spec
='${libname}${release}${shared_ext}$major'
8618 hardcode_into_libs
=yes
8619 if test "$host_cpu" = ia64
; then
8620 # AIX 5 supports IA64
8621 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8622 shlibpath_var
=LD_LIBRARY_PATH
8624 # With GCC up to 2.95.x, collect2 would create an import file
8625 # for dependence libraries. The import file would start with
8626 # the line `#! .'. This would cause the generated library to
8627 # depend on `.', always an invalid library. This was fixed in
8628 # development snapshots of GCC prior to 3.0.
8630 aix4 | aix4.
[01] | aix4.
[01].
*)
8631 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8633 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8640 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8641 # soname into executable. Probably we can add versioning support to
8642 # collect2, so additional links can be useful in future.
8643 if test "$aix_use_runtimelinking" = yes; then
8644 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8645 # instead of lib<name>.a to let people know that these are not
8646 # typical AIX shared libraries.
8647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8649 # We preserve .a as extension for shared libraries through AIX4.2
8650 # and later when we are not doing run time linking.
8651 library_names_spec
='${libname}${release}.a $libname.a'
8652 soname_spec
='${libname}${release}${shared_ext}$major'
8654 shlibpath_var
=LIBPATH
8659 if test "$host_cpu" = m68k
; then
8660 library_names_spec
='$libname.ixlibrary $libname.a'
8661 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8662 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'
8669 library_names_spec
='${libname}${shared_ext}'
8670 dynamic_linker
="$host_os ld.so"
8671 shlibpath_var
=LIBRARY_PATH
8677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8678 soname_spec
='${libname}${release}${shared_ext}$major'
8679 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8680 shlibpath_var
=LD_LIBRARY_PATH
8681 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8682 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8683 # the default ld.so.conf also contains /usr/contrib/lib and
8684 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8685 # libtool to hard-code these into programs
8688 cygwin
* | mingw
* | pw32
*)
8689 version_type
=windows
8694 case $withGCC,$host_os in
8695 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8696 library_names_spec
='$libname.dll.a'
8697 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8698 postinstall_cmds
='base_file=`basename \${file}`~
8699 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8700 dldir=$destdir/`dirname \$dlpath`~
8701 test -d \$dldir || mkdir -p \$dldir~
8702 $install_prog $dir/$dlname \$dldir/$dlname~
8703 chmod a+x \$dldir/$dlname~
8704 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8705 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8707 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8708 dlpath=$dir/\$dldll~
8710 shlibpath_overrides_runpath
=yes
8714 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8715 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8716 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8719 # MinGW DLLs use traditional 'lib' prefix
8720 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8721 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8722 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8723 # It is most probably a Windows format PATH printed by
8724 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8725 # path with ; separators, and with drive letters. We can handle the
8726 # drive letters (cygwin fileutils understands them), so leave them,
8727 # especially as we might pass files found there to a mingw objdump,
8728 # which wouldn't understand a cygwinified path. Ahh.
8729 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8731 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8735 # pw32 DLLs use 'pw' prefix rather than 'lib'
8736 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8742 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8745 dynamic_linker
='Win32 ld.exe'
8746 # FIXME: first we should search . and the directory the executable is in
8750 darwin
* | rhapsody
*)
8751 dynamic_linker
="$host_os dyld"
8755 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8756 soname_spec
='${libname}${release}${major}$shared_ext'
8757 shlibpath_overrides_runpath
=yes
8758 shlibpath_var
=DYLD_LIBRARY_PATH
8759 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8761 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8762 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8770 soname_spec
='${libname}${release}${shared_ext}$major'
8771 shlibpath_var
=LD_LIBRARY_PATH
8778 freebsd
* | dragonfly
*)
8779 # DragonFly does not have aout. When/if they implement a new
8780 # versioning mechanism, adjust this.
8781 if test -x /usr
/bin
/objformat
; then
8782 objformat
=`/usr/bin/objformat`
8785 freebsd
[123]*) objformat
=aout
;;
8789 version_type
=freebsd-
$objformat
8790 case $version_type in
8792 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8797 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8801 shlibpath_var
=LD_LIBRARY_PATH
8804 shlibpath_overrides_runpath
=yes
8806 freebsd3.
[01]* | freebsdelf3.
[01]*)
8807 shlibpath_overrides_runpath
=yes
8808 hardcode_into_libs
=yes
8810 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8811 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8812 shlibpath_overrides_runpath
=no
8813 hardcode_into_libs
=yes
8815 *) # from 4.6 on, and DragonFly
8816 shlibpath_overrides_runpath
=yes
8817 hardcode_into_libs
=yes
8826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8827 soname_spec
='${libname}${release}${shared_ext}$major'
8828 shlibpath_var
=LD_LIBRARY_PATH
8829 hardcode_into_libs
=yes
8832 hpux9
* | hpux10
* | hpux11
*)
8833 # Give a soname corresponding to the major version so that dld.sl refuses to
8834 # link against other versions.
8841 hardcode_into_libs
=yes
8842 dynamic_linker
="$host_os dld.so"
8843 shlibpath_var
=LD_LIBRARY_PATH
8844 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8845 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8846 soname_spec
='${libname}${release}${shared_ext}$major'
8847 if test "X$HPUX_IA64_MODE" = X32
; then
8848 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8850 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8852 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8856 hardcode_into_libs
=yes
8857 dynamic_linker
="$host_os dld.sl"
8858 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8859 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8861 soname_spec
='${libname}${release}${shared_ext}$major'
8862 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8863 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8867 dynamic_linker
="$host_os dld.sl"
8868 shlibpath_var
=SHLIB_PATH
8869 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8871 soname_spec
='${libname}${release}${shared_ext}$major'
8874 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8875 postinstall_cmds
='chmod 555 $lib'
8882 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8883 soname_spec
='${libname}${release}${shared_ext}$major'
8884 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8885 shlibpath_var
=LD_LIBRARY_PATH
8886 shlibpath_overrides_runpath
=no
8887 hardcode_into_libs
=yes
8890 irix5
* | irix6
* | nonstopux
*)
8892 nonstopux
*) version_type
=nonstopux
;;
8894 if test "$lt_cv_prog_gnu_ld" = yes; then
8902 soname_spec
='${libname}${release}${shared_ext}$major'
8903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8905 irix5
* | nonstopux
*)
8909 case $LD in # libtool.m4 will add one of these switches to LD
8910 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8911 libsuff
= shlibsuff
= libmagic
=32-bit;;
8912 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8913 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8914 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8915 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8916 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8920 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8921 shlibpath_overrides_runpath
=no
8922 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8923 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8924 hardcode_into_libs
=yes
8927 # No shared lib support for Linux oldld, aout, or coff.
8928 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8932 # This must be Linux ELF.
8933 linux
* | k
*bsd
*-gnu)
8937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8938 soname_spec
='${libname}${release}${shared_ext}$major'
8939 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8940 shlibpath_var
=LD_LIBRARY_PATH
8941 shlibpath_overrides_runpath
=no
8942 # Some binutils ld are patched to set DT_RUNPATH
8943 save_LDFLAGS
=$LDFLAGS
8945 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8946 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8947 cat >conftest.
$ac_ext <<_ACEOF
8950 cat confdefs.h
>>conftest.
$ac_ext
8951 cat >>conftest.
$ac_ext <<_ACEOF
8952 /* end confdefs.h. */
8962 rm -f conftest.
$ac_objext conftest
$ac_exeext
8963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8964 (eval $ac_link) 2>conftest.er1
8966 grep -v '^ *+' conftest.er1
>conftest.err
8968 cat conftest.err
>&5
8969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8970 (exit $ac_status); } &&
8971 { ac_try
='test -z "$ac_c_werror_flag"
8972 || test ! -s conftest.err'
8973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8977 (exit $ac_status); }; } &&
8978 { ac_try
='test -s conftest$ac_exeext'
8979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983 (exit $ac_status); }; }; then
8984 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
8985 shlibpath_overrides_runpath
=yes
8989 echo "$as_me: failed program was:" >&5
8990 sed 's/^/| /' conftest.
$ac_ext >&5
8993 rm -f conftest.err conftest.
$ac_objext \
8994 conftest
$ac_exeext conftest.
$ac_ext
8995 LDFLAGS
=$save_LDFLAGS
8998 # This implies no fast_install, which is unacceptable.
8999 # Some rework will be needed to allow for fast_install
9000 # before this can be enabled.
9001 hardcode_into_libs
=yes
9003 # Append ld.so.conf contents to the search path
9004 if test -f /etc
/ld.so.conf
; then
9005 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' ' '`
9006 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9009 # We used to test for /lib/ld.so.1 and disable shared libraries on
9010 # powerpc, because MkLinux only supported shared libraries with the
9011 # GNU dynamic linker. Since this was broken with cross compilers,
9012 # most powerpc-linux boxes support dynamic linking these days and
9013 # people can always --disable-shared, the test was removed, and we
9014 # assume the GNU/Linux dynamic linker is in use.
9015 dynamic_linker
='GNU/Linux ld.so'
9022 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9024 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9025 dynamic_linker
='NetBSD (a.out) ld.so'
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 dynamic_linker
='NetBSD ld.elf_so'
9031 shlibpath_var
=LD_LIBRARY_PATH
9032 shlibpath_overrides_runpath
=yes
9033 hardcode_into_libs
=yes
9038 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9039 shlibpath_var
=LD_LIBRARY_PATH
9040 shlibpath_overrides_runpath
=yes
9047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9048 soname_spec
='${libname}${release}${shared_ext}$major'
9049 shlibpath_var
=LD_LIBRARY_PATH
9050 shlibpath_overrides_runpath
=no
9051 hardcode_into_libs
=yes
9052 dynamic_linker
='ldqnx.so'
9057 sys_lib_dlsearch_path_spec
="/usr/lib"
9059 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9061 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9062 *) need_version
=no
;;
9064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9065 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9066 shlibpath_var
=LD_LIBRARY_PATH
9067 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9069 openbsd2.
[89] | openbsd2.
[89].
*)
9070 shlibpath_overrides_runpath
=no
9073 shlibpath_overrides_runpath
=yes
9077 shlibpath_overrides_runpath
=yes
9082 libname_spec
='$name'
9085 library_names_spec
='$libname${shared_ext} $libname.a'
9086 dynamic_linker
='OS/2 ld.exe'
9087 shlibpath_var
=LIBPATH
9090 osf3
* | osf4
* | osf5
*)
9094 soname_spec
='${libname}${release}${shared_ext}$major'
9095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9096 shlibpath_var
=LD_LIBRARY_PATH
9097 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9098 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9110 soname_spec
='${libname}${release}${shared_ext}$major'
9111 shlibpath_var
=LD_LIBRARY_PATH
9112 shlibpath_overrides_runpath
=yes
9113 hardcode_into_libs
=yes
9114 # ldd complains unless libraries are executable
9115 postinstall_cmds
='chmod +x $lib'
9120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9121 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9122 shlibpath_var
=LD_LIBRARY_PATH
9123 shlibpath_overrides_runpath
=yes
9124 if test "$with_gnu_ld" = yes; then
9132 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9133 soname_spec
='${libname}${release}${shared_ext}$major'
9134 shlibpath_var
=LD_LIBRARY_PATH
9135 case $host_vendor in
9137 shlibpath_overrides_runpath
=no
9139 runpath_var
=LD_RUN_PATH
9147 shlibpath_overrides_runpath
=no
9148 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9154 if test -d /usr
/nec
;then
9156 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9157 soname_spec
='$libname${shared_ext}.$major'
9158 shlibpath_var
=LD_LIBRARY_PATH
9162 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9163 version_type
=freebsd-elf
9166 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9167 soname_spec
='${libname}${release}${shared_ext}$major'
9168 shlibpath_var
=LD_LIBRARY_PATH
9169 shlibpath_overrides_runpath
=yes
9170 hardcode_into_libs
=yes
9171 if test "$with_gnu_ld" = yes; then
9172 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9174 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9177 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9181 sys_lib_dlsearch_path_spec
='/usr/lib'
9185 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9189 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9190 shlibpath_var
=LD_LIBRARY_PATH
9191 shlibpath_overrides_runpath
=no
9192 hardcode_into_libs
=yes
9197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9198 soname_spec
='${libname}${release}${shared_ext}$major'
9199 shlibpath_var
=LD_LIBRARY_PATH
9206 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9207 echo "${ECHO_T}$dynamic_linker" >&6
9208 test "$dynamic_linker" = no
&& can_build_shared
=no
9210 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9211 if test "$GCC" = yes; then
9212 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9301 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9302 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9304 if test -n "$hardcode_libdir_flag_spec" ||
9305 test -n "$runpath_var" ||
9306 test "X$hardcode_automatic" = "Xyes" ; then
9308 # We can hardcode non-existent directories.
9309 if test "$hardcode_direct" != no
&&
9310 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9311 # have to relink, otherwise we might link with an installed library
9312 # when we should be linking with a yet-to-be-installed one
9313 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9314 test "$hardcode_minus_L" != no
; then
9315 # Linking always hardcodes the temporary library directory.
9316 hardcode_action
=relink
9318 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9319 hardcode_action
=immediate
9322 # We cannot hardcode anything, or else we can only hardcode existing
9324 hardcode_action
=unsupported
9326 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9327 echo "${ECHO_T}$hardcode_action" >&6
9329 if test "$hardcode_action" = relink ||
9330 test "$inherit_rpath" = yes; then
9331 # Fast installation is not supported
9332 enable_fast_install
=no
9333 elif test "$shlibpath_overrides_runpath" = yes ||
9334 test "$enable_shared" = no
; then
9335 # Fast installation is not necessary
9336 enable_fast_install
=needless
9344 if test "x$enable_dlopen" != xyes
; then
9345 enable_dlopen
=unknown
9346 enable_dlopen_self
=unknown
9347 enable_dlopen_self_static
=unknown
9354 lt_cv_dlopen
="load_add_on"
9356 lt_cv_dlopen_self
=yes
9360 lt_cv_dlopen
="LoadLibrary"
9365 lt_cv_dlopen
="dlopen"
9370 # if libdl is installed we need to link against it
9371 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9372 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9373 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9374 echo $ECHO_N "(cached) $ECHO_C" >&6
9376 ac_check_lib_save_LIBS
=$LIBS
9378 cat >conftest.
$ac_ext <<_ACEOF
9381 cat confdefs.h
>>conftest.
$ac_ext
9382 cat >>conftest.
$ac_ext <<_ACEOF
9383 /* end confdefs.h. */
9385 /* Override any gcc2 internal prototype to avoid an error. */
9389 /* We use char because int might match the return type of a gcc2
9390 builtin and then its argument prototype would still apply. */
9400 rm -f conftest.
$ac_objext conftest
$ac_exeext
9401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9402 (eval $ac_link) 2>conftest.er1
9404 grep -v '^ *+' conftest.er1
>conftest.err
9406 cat conftest.err
>&5
9407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408 (exit $ac_status); } &&
9409 { ac_try
='test -z "$ac_c_werror_flag"
9410 || test ! -s conftest.err'
9411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415 (exit $ac_status); }; } &&
9416 { ac_try
='test -s conftest$ac_exeext'
9417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421 (exit $ac_status); }; }; then
9422 ac_cv_lib_dl_dlopen
=yes
9424 echo "$as_me: failed program was:" >&5
9425 sed 's/^/| /' conftest.
$ac_ext >&5
9427 ac_cv_lib_dl_dlopen
=no
9429 rm -f conftest.err conftest.
$ac_objext \
9430 conftest
$ac_exeext conftest.
$ac_ext
9431 LIBS
=$ac_check_lib_save_LIBS
9433 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9434 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9435 if test $ac_cv_lib_dl_dlopen = yes; then
9436 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9441 lt_cv_dlopen_self
=yes
9448 echo "$as_me:$LINENO: checking for shl_load" >&5
9449 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9450 if test "${ac_cv_func_shl_load+set}" = set; then
9451 echo $ECHO_N "(cached) $ECHO_C" >&6
9453 cat >conftest.
$ac_ext <<_ACEOF
9456 cat confdefs.h
>>conftest.
$ac_ext
9457 cat >>conftest.
$ac_ext <<_ACEOF
9458 /* end confdefs.h. */
9459 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9461 #define shl_load innocuous_shl_load
9463 /* System header to define __stub macros and hopefully few prototypes,
9464 which can conflict with char shl_load (); below.
9465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9466 <limits.h> exists even on freestanding compilers. */
9469 # include <limits.h>
9471 # include <assert.h>
9476 /* Override any gcc2 internal prototype to avoid an error. */
9481 /* We use char because int might match the return type of a gcc2
9482 builtin and then its argument prototype would still apply. */
9484 /* The GNU C library defines this for functions which it implements
9485 to always fail with ENOSYS. Some functions are actually named
9486 something starting with __ and the normal name is an alias. */
9487 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9490 char (*f) () = shl_load;
9499 return f != shl_load;
9504 rm -f conftest.
$ac_objext conftest
$ac_exeext
9505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9506 (eval $ac_link) 2>conftest.er1
9508 grep -v '^ *+' conftest.er1
>conftest.err
9510 cat conftest.err
>&5
9511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9512 (exit $ac_status); } &&
9513 { ac_try
='test -z "$ac_c_werror_flag"
9514 || test ! -s conftest.err'
9515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9519 (exit $ac_status); }; } &&
9520 { ac_try
='test -s conftest$ac_exeext'
9521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9525 (exit $ac_status); }; }; then
9526 ac_cv_func_shl_load
=yes
9528 echo "$as_me: failed program was:" >&5
9529 sed 's/^/| /' conftest.
$ac_ext >&5
9531 ac_cv_func_shl_load
=no
9533 rm -f conftest.err conftest.
$ac_objext \
9534 conftest
$ac_exeext conftest.
$ac_ext
9536 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9537 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9538 if test $ac_cv_func_shl_load = yes; then
9539 lt_cv_dlopen
="shl_load"
9541 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9542 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9543 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9544 echo $ECHO_N "(cached) $ECHO_C" >&6
9546 ac_check_lib_save_LIBS
=$LIBS
9548 cat >conftest.
$ac_ext <<_ACEOF
9551 cat confdefs.h
>>conftest.
$ac_ext
9552 cat >>conftest.
$ac_ext <<_ACEOF
9553 /* end confdefs.h. */
9555 /* Override any gcc2 internal prototype to avoid an error. */
9559 /* We use char because int might match the return type of a gcc2
9560 builtin and then its argument prototype would still apply. */
9570 rm -f conftest.
$ac_objext conftest
$ac_exeext
9571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9572 (eval $ac_link) 2>conftest.er1
9574 grep -v '^ *+' conftest.er1
>conftest.err
9576 cat conftest.err
>&5
9577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9578 (exit $ac_status); } &&
9579 { ac_try
='test -z "$ac_c_werror_flag"
9580 || test ! -s conftest.err'
9581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 (exit $ac_status); }; } &&
9586 { ac_try
='test -s conftest$ac_exeext'
9587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9591 (exit $ac_status); }; }; then
9592 ac_cv_lib_dld_shl_load
=yes
9594 echo "$as_me: failed program was:" >&5
9595 sed 's/^/| /' conftest.
$ac_ext >&5
9597 ac_cv_lib_dld_shl_load
=no
9599 rm -f conftest.err conftest.
$ac_objext \
9600 conftest
$ac_exeext conftest.
$ac_ext
9601 LIBS
=$ac_check_lib_save_LIBS
9603 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9604 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9605 if test $ac_cv_lib_dld_shl_load = yes; then
9606 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9608 echo "$as_me:$LINENO: checking for dlopen" >&5
9609 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9610 if test "${ac_cv_func_dlopen+set}" = set; then
9611 echo $ECHO_N "(cached) $ECHO_C" >&6
9613 cat >conftest.
$ac_ext <<_ACEOF
9616 cat confdefs.h
>>conftest.
$ac_ext
9617 cat >>conftest.
$ac_ext <<_ACEOF
9618 /* end confdefs.h. */
9619 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9621 #define dlopen innocuous_dlopen
9623 /* System header to define __stub macros and hopefully few prototypes,
9624 which can conflict with char dlopen (); below.
9625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9626 <limits.h> exists even on freestanding compilers. */
9629 # include <limits.h>
9631 # include <assert.h>
9636 /* Override any gcc2 internal prototype to avoid an error. */
9641 /* We use char because int might match the return type of a gcc2
9642 builtin and then its argument prototype would still apply. */
9644 /* The GNU C library defines this for functions which it implements
9645 to always fail with ENOSYS. Some functions are actually named
9646 something starting with __ and the normal name is an alias. */
9647 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9650 char (*f) () = dlopen;
9664 rm -f conftest.
$ac_objext conftest
$ac_exeext
9665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9666 (eval $ac_link) 2>conftest.er1
9668 grep -v '^ *+' conftest.er1
>conftest.err
9670 cat conftest.err
>&5
9671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9672 (exit $ac_status); } &&
9673 { ac_try
='test -z "$ac_c_werror_flag"
9674 || test ! -s conftest.err'
9675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); }; } &&
9680 { ac_try
='test -s conftest$ac_exeext'
9681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685 (exit $ac_status); }; }; then
9686 ac_cv_func_dlopen
=yes
9688 echo "$as_me: failed program was:" >&5
9689 sed 's/^/| /' conftest.
$ac_ext >&5
9691 ac_cv_func_dlopen
=no
9693 rm -f conftest.err conftest.
$ac_objext \
9694 conftest
$ac_exeext conftest.
$ac_ext
9696 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9697 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9698 if test $ac_cv_func_dlopen = yes; then
9699 lt_cv_dlopen
="dlopen"
9701 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9702 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9703 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9704 echo $ECHO_N "(cached) $ECHO_C" >&6
9706 ac_check_lib_save_LIBS
=$LIBS
9708 cat >conftest.
$ac_ext <<_ACEOF
9711 cat confdefs.h
>>conftest.
$ac_ext
9712 cat >>conftest.
$ac_ext <<_ACEOF
9713 /* end confdefs.h. */
9715 /* Override any gcc2 internal prototype to avoid an error. */
9719 /* We use char because int might match the return type of a gcc2
9720 builtin and then its argument prototype would still apply. */
9730 rm -f conftest.
$ac_objext conftest
$ac_exeext
9731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9732 (eval $ac_link) 2>conftest.er1
9734 grep -v '^ *+' conftest.er1
>conftest.err
9736 cat conftest.err
>&5
9737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738 (exit $ac_status); } &&
9739 { ac_try
='test -z "$ac_c_werror_flag"
9740 || test ! -s conftest.err'
9741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9745 (exit $ac_status); }; } &&
9746 { ac_try
='test -s conftest$ac_exeext'
9747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9751 (exit $ac_status); }; }; then
9752 ac_cv_lib_dl_dlopen
=yes
9754 echo "$as_me: failed program was:" >&5
9755 sed 's/^/| /' conftest.
$ac_ext >&5
9757 ac_cv_lib_dl_dlopen
=no
9759 rm -f conftest.err conftest.
$ac_objext \
9760 conftest
$ac_exeext conftest.
$ac_ext
9761 LIBS
=$ac_check_lib_save_LIBS
9763 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9764 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9765 if test $ac_cv_lib_dl_dlopen = yes; then
9766 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9768 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9769 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9770 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9771 echo $ECHO_N "(cached) $ECHO_C" >&6
9773 ac_check_lib_save_LIBS
=$LIBS
9775 cat >conftest.
$ac_ext <<_ACEOF
9778 cat confdefs.h
>>conftest.
$ac_ext
9779 cat >>conftest.
$ac_ext <<_ACEOF
9780 /* end confdefs.h. */
9782 /* Override any gcc2 internal prototype to avoid an error. */
9786 /* We use char because int might match the return type of a gcc2
9787 builtin and then its argument prototype would still apply. */
9797 rm -f conftest.
$ac_objext conftest
$ac_exeext
9798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9799 (eval $ac_link) 2>conftest.er1
9801 grep -v '^ *+' conftest.er1
>conftest.err
9803 cat conftest.err
>&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); } &&
9806 { ac_try
='test -z "$ac_c_werror_flag"
9807 || test ! -s conftest.err'
9808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812 (exit $ac_status); }; } &&
9813 { ac_try
='test -s conftest$ac_exeext'
9814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818 (exit $ac_status); }; }; then
9819 ac_cv_lib_svld_dlopen
=yes
9821 echo "$as_me: failed program was:" >&5
9822 sed 's/^/| /' conftest.
$ac_ext >&5
9824 ac_cv_lib_svld_dlopen
=no
9826 rm -f conftest.err conftest.
$ac_objext \
9827 conftest
$ac_exeext conftest.
$ac_ext
9828 LIBS
=$ac_check_lib_save_LIBS
9830 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9831 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9832 if test $ac_cv_lib_svld_dlopen = yes; then
9833 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9835 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9836 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9837 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9838 echo $ECHO_N "(cached) $ECHO_C" >&6
9840 ac_check_lib_save_LIBS
=$LIBS
9842 cat >conftest.
$ac_ext <<_ACEOF
9845 cat confdefs.h
>>conftest.
$ac_ext
9846 cat >>conftest.
$ac_ext <<_ACEOF
9847 /* end confdefs.h. */
9849 /* Override any gcc2 internal prototype to avoid an error. */
9853 /* We use char because int might match the return type of a gcc2
9854 builtin and then its argument prototype would still apply. */
9864 rm -f conftest.
$ac_objext conftest
$ac_exeext
9865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9866 (eval $ac_link) 2>conftest.er1
9868 grep -v '^ *+' conftest.er1
>conftest.err
9870 cat conftest.err
>&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); } &&
9873 { ac_try
='test -z "$ac_c_werror_flag"
9874 || test ! -s conftest.err'
9875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879 (exit $ac_status); }; } &&
9880 { ac_try
='test -s conftest$ac_exeext'
9881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9885 (exit $ac_status); }; }; then
9886 ac_cv_lib_dld_dld_link
=yes
9888 echo "$as_me: failed program was:" >&5
9889 sed 's/^/| /' conftest.
$ac_ext >&5
9891 ac_cv_lib_dld_dld_link
=no
9893 rm -f conftest.err conftest.
$ac_objext \
9894 conftest
$ac_exeext conftest.
$ac_ext
9895 LIBS
=$ac_check_lib_save_LIBS
9897 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9898 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9899 if test $ac_cv_lib_dld_dld_link = yes; then
9900 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9921 if test "x$lt_cv_dlopen" != xno
; then
9927 case $lt_cv_dlopen in
9929 save_CPPFLAGS
="$CPPFLAGS"
9930 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9932 save_LDFLAGS
="$LDFLAGS"
9933 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9936 LIBS
="$lt_cv_dlopen_libs $LIBS"
9938 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9939 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9940 if test "${lt_cv_dlopen_self+set}" = set; then
9941 echo $ECHO_N "(cached) $ECHO_C" >&6
9943 if test "$cross_compiling" = yes; then :
9944 lt_cv_dlopen_self
=cross
9946 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9947 lt_status
=$lt_dlunknown
9948 cat > conftest.
$ac_ext <<_LT_EOF
9949 #line 9949 "configure"
9950 #include "confdefs.h"
9959 # define LT_DLGLOBAL RTLD_GLOBAL
9962 # define LT_DLGLOBAL DL_GLOBAL
9964 # define LT_DLGLOBAL 0
9968 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9969 find out it does not work in some platform. */
9970 #ifndef LT_DLLAZY_OR_NOW
9972 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9975 # define LT_DLLAZY_OR_NOW DL_LAZY
9978 # define LT_DLLAZY_OR_NOW RTLD_NOW
9981 # define LT_DLLAZY_OR_NOW DL_NOW
9983 # define LT_DLLAZY_OR_NOW 0
9991 extern "C" void exit (int);
9994 void fnord() { int i=42;}
9997 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9998 int status = $lt_dlunknown;
10002 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10003 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10004 /* dlclose (self); */
10012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10013 (eval $ac_link) 2>&5
10015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10017 (.
/conftest
; exit; ) >&5 2>/dev
/null
10019 case x
$lt_status in
10020 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10021 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10022 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10025 # compilation failed
10026 lt_cv_dlopen_self
=no
10033 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10034 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10036 if test "x$lt_cv_dlopen_self" = xyes
; then
10037 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10038 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10039 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10040 if test "${lt_cv_dlopen_self_static+set}" = set; then
10041 echo $ECHO_N "(cached) $ECHO_C" >&6
10043 if test "$cross_compiling" = yes; then :
10044 lt_cv_dlopen_self_static
=cross
10046 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10047 lt_status
=$lt_dlunknown
10048 cat > conftest.
$ac_ext <<_LT_EOF
10049 #line 10049 "configure"
10050 #include "confdefs.h"
10059 # define LT_DLGLOBAL RTLD_GLOBAL
10062 # define LT_DLGLOBAL DL_GLOBAL
10064 # define LT_DLGLOBAL 0
10068 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10069 find out it does not work in some platform. */
10070 #ifndef LT_DLLAZY_OR_NOW
10072 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10075 # define LT_DLLAZY_OR_NOW DL_LAZY
10078 # define LT_DLLAZY_OR_NOW RTLD_NOW
10081 # define LT_DLLAZY_OR_NOW DL_NOW
10083 # define LT_DLLAZY_OR_NOW 0
10091 extern "C" void exit (int);
10094 void fnord() { int i=42;}
10097 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10098 int status = $lt_dlunknown;
10102 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10103 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10104 /* dlclose (self); */
10112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10113 (eval $ac_link) 2>&5
10115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10116 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10117 (.
/conftest
; exit; ) >&5 2>/dev
/null
10119 case x
$lt_status in
10120 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10121 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10122 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10125 # compilation failed
10126 lt_cv_dlopen_self_static
=no
10133 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10134 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10137 CPPFLAGS
="$save_CPPFLAGS"
10138 LDFLAGS
="$save_LDFLAGS"
10143 case $lt_cv_dlopen_self in
10144 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10145 *) enable_dlopen_self
=unknown
;;
10148 case $lt_cv_dlopen_self_static in
10149 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10150 *) enable_dlopen_self_static
=unknown
;;
10172 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10173 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10174 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10175 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10176 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10177 echo "$as_me:$LINENO: result: yes" >&5
10178 echo "${ECHO_T}yes" >&6
10180 # FIXME - insert some real tests, host_os isn't really good enough
10183 if test -n "$STRIP" ; then
10184 striplib
="$STRIP -x"
10185 old_striplib
="$STRIP -S"
10186 echo "$as_me:$LINENO: result: yes" >&5
10187 echo "${ECHO_T}yes" >&6
10189 echo "$as_me:$LINENO: result: no" >&5
10190 echo "${ECHO_T}no" >&6
10194 echo "$as_me:$LINENO: result: no" >&5
10195 echo "${ECHO_T}no" >&6
10211 # Report which library types will actually be built
10212 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10213 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10214 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10215 echo "${ECHO_T}$can_build_shared" >&6
10217 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10218 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10219 test "$can_build_shared" = "no" && enable_shared
=no
10221 # On AIX, shared libraries and static libraries use the same namespace, and
10222 # are all built from PIC.
10225 test "$enable_shared" = yes && enable_static
=no
10226 if test -n "$RANLIB"; then
10227 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10228 postinstall_cmds
='$RANLIB $lib'
10233 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10234 test "$enable_shared" = yes && enable_static
=no
10238 echo "$as_me:$LINENO: result: $enable_shared" >&5
10239 echo "${ECHO_T}$enable_shared" >&6
10241 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10242 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10243 # Make sure either enable_shared or enable_static is yes.
10244 test "$enable_shared" = yes || enable_static
=yes
10245 echo "$as_me:$LINENO: result: $enable_static" >&5
10246 echo "${ECHO_T}$enable_static" >&6
10253 ac_cpp
='$CPP $CPPFLAGS'
10254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10272 ac_config_commands
="$ac_config_commands libtool"
10277 # Only expand once:
10281 # Check whether --enable-targets or --disable-targets was given.
10282 if test "${enable_targets+set}" = set; then
10283 enableval
="$enable_targets"
10284 case "${enableval}" in
10285 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
10286 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
10287 { (exit 1); exit 1; }; }
10289 no
) enable_targets
= ;;
10290 *) enable_targets
=$enableval ;;
10293 # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
10294 if test "${enable_commonbfdlib+set}" = set; then
10295 enableval
="$enable_commonbfdlib"
10296 case "${enableval}" in
10297 yes) commonbfdlib
=true
;;
10298 no
) commonbfdlib
=false
;;
10299 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
10300 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
10301 { (exit 1); exit 1; }; } ;;
10305 if grep '^RELEASE=y' ${srcdir}/..
/bfd
/Makefile.am
>/dev
/null
2>/dev
/null
; then
10308 # Check whether --enable-checking or --disable-checking was given.
10309 if test "${enable_checking+set}" = set; then
10310 enableval
="$enable_checking"
10311 case "${enableval}" in
10312 no|none
) ac_checking
= ;;
10313 *) ac_checking
=yes ;;
10315 fi; if test x
$ac_checking != x
; then
10317 cat >>confdefs.h
<<\_ACEOF
10318 #define ENABLE_CHECKING 1
10326 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
10328 # Check whether --enable-werror or --disable-werror was given.
10329 if test "${enable_werror+set}" = set; then
10330 enableval
="$enable_werror"
10331 case "${enableval}" in
10332 yes | y
) ERROR_ON_WARNING
="yes" ;;
10333 no | n
) ERROR_ON_WARNING
="no" ;;
10334 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
10335 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
10336 { (exit 1); exit 1; }; } ;;
10340 # Enable -Wno-format by default when using gcc on mingw
10343 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10344 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Wno-format"
10350 # Enable -Werror by default when using gcc
10351 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10352 ERROR_ON_WARNING
=yes
10356 if test "${ERROR_ON_WARNING}" = yes ; then
10357 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
10358 NO_WERROR
="-Wno-error"
10361 if test "${GCC}" = yes ; then
10362 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
10365 # Check whether --enable-build-warnings or --disable-build-warnings was given.
10366 if test "${enable_build_warnings+set}" = set; then
10367 enableval
="$enable_build_warnings"
10368 case "${enableval}" in
10369 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
10370 no
) if test "${GCC}" = yes ; then
10373 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10374 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
10375 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10376 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
10377 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
10381 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
10382 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
10389 # Generate a header file
10390 ac_config_headers
="$ac_config_headers config.h:config.in"
10393 # If we are on a DOS filesystem, we must use gdb.ini rather than
10396 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-windows*)
10398 ac_config_files
="$ac_config_files gdb.ini:gdbinit.in"
10403 ac_config_files
="$ac_config_files .gdbinit:gdbinit.in"
10409 #We need this for the host. BOUT header is in host order.
10410 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
10411 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
10412 if test "${ac_cv_c_bigendian+set}" = set; then
10413 echo $ECHO_N "(cached) $ECHO_C" >&6
10415 # See if sys/param.h defines the BYTE_ORDER macro.
10416 cat >conftest.
$ac_ext <<_ACEOF
10419 cat confdefs.h
>>conftest.
$ac_ext
10420 cat >>conftest.
$ac_ext <<_ACEOF
10421 /* end confdefs.h. */
10422 #include <sys/types.h>
10423 #include <sys/param.h>
10428 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10429 bogus endian macros
10436 rm -f conftest.
$ac_objext
10437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10438 (eval $ac_compile) 2>conftest.er1
10440 grep -v '^ *+' conftest.er1
>conftest.err
10442 cat conftest.err
>&5
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); } &&
10445 { ac_try
='test -z "$ac_c_werror_flag"
10446 || test ! -s conftest.err'
10447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10448 (eval $ac_try) 2>&5
10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451 (exit $ac_status); }; } &&
10452 { ac_try
='test -s conftest.$ac_objext'
10453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10454 (eval $ac_try) 2>&5
10456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); }; }; then
10458 # It does; now see whether it defined to BIG_ENDIAN or not.
10459 cat >conftest.
$ac_ext <<_ACEOF
10462 cat confdefs.h
>>conftest.
$ac_ext
10463 cat >>conftest.
$ac_ext <<_ACEOF
10464 /* end confdefs.h. */
10465 #include <sys/types.h>
10466 #include <sys/param.h>
10471 #if BYTE_ORDER != BIG_ENDIAN
10479 rm -f conftest.
$ac_objext
10480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10481 (eval $ac_compile) 2>conftest.er1
10483 grep -v '^ *+' conftest.er1
>conftest.err
10485 cat conftest.err
>&5
10486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10487 (exit $ac_status); } &&
10488 { ac_try
='test -z "$ac_c_werror_flag"
10489 || test ! -s conftest.err'
10490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10491 (eval $ac_try) 2>&5
10493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10494 (exit $ac_status); }; } &&
10495 { ac_try
='test -s conftest.$ac_objext'
10496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10497 (eval $ac_try) 2>&5
10499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 (exit $ac_status); }; }; then
10501 ac_cv_c_bigendian
=yes
10503 echo "$as_me: failed program was:" >&5
10504 sed 's/^/| /' conftest.
$ac_ext >&5
10506 ac_cv_c_bigendian
=no
10508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10510 echo "$as_me: failed program was:" >&5
10511 sed 's/^/| /' conftest.
$ac_ext >&5
10513 # It does not; compile a test program.
10514 if test "$cross_compiling" = yes; then
10515 # try to guess the endianness by grepping values into an object file
10516 ac_cv_c_bigendian
=unknown
10517 cat >conftest.
$ac_ext <<_ACEOF
10520 cat confdefs.h
>>conftest.
$ac_ext
10521 cat >>conftest.
$ac_ext <<_ACEOF
10522 /* end confdefs.h. */
10523 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
10524 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
10525 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
10526 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
10527 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
10528 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
10532 _ascii (); _ebcdic ();
10537 rm -f conftest.
$ac_objext
10538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10539 (eval $ac_compile) 2>conftest.er1
10541 grep -v '^ *+' conftest.er1
>conftest.err
10543 cat conftest.err
>&5
10544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10545 (exit $ac_status); } &&
10546 { ac_try
='test -z "$ac_c_werror_flag"
10547 || test ! -s conftest.err'
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); }; } &&
10553 { ac_try
='test -s conftest.$ac_objext'
10554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10555 (eval $ac_try) 2>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); }; }; then
10559 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
10560 ac_cv_c_bigendian
=yes
10562 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
10563 if test "$ac_cv_c_bigendian" = unknown
; then
10564 ac_cv_c_bigendian
=no
10566 # finding both strings is unlikely to happen, but who knows?
10567 ac_cv_c_bigendian
=unknown
10571 echo "$as_me: failed program was:" >&5
10572 sed 's/^/| /' conftest.
$ac_ext >&5
10575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10577 cat >conftest.
$ac_ext <<_ACEOF
10580 cat confdefs.h
>>conftest.
$ac_ext
10581 cat >>conftest.
$ac_ext <<_ACEOF
10582 /* end confdefs.h. */
10586 /* Are we little or big endian? From Harbison&Steele. */
10590 char c[sizeof (long)];
10593 exit (u.c[sizeof (long) - 1] == 1);
10596 rm -f conftest
$ac_exeext
10597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10598 (eval $ac_link) 2>&5
10600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10601 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10603 (eval $ac_try) 2>&5
10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606 (exit $ac_status); }; }; then
10607 ac_cv_c_bigendian
=no
10609 echo "$as_me: program exited with status $ac_status" >&5
10610 echo "$as_me: failed program was:" >&5
10611 sed 's/^/| /' conftest.
$ac_ext >&5
10613 ( exit $ac_status )
10614 ac_cv_c_bigendian
=yes
10616 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10621 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
10622 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
10623 case $ac_cv_c_bigendian in
10626 cat >>confdefs.h
<<\_ACEOF
10627 #define WORDS_BIGENDIAN 1
10633 { { echo "$as_me:$LINENO: error: unknown endianness
10634 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
10635 echo "$as_me: error: unknown endianness
10636 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
10637 { (exit 1); exit 1; }; } ;;
10643 # Makefile target for installing gas in $(tooldir)/bin.
10644 install_tooldir
=install-exec-tooldir
10648 if test -n "$enable_targets" ; then
10649 for t
in `echo $enable_targets | sed 's/,/ /g'`; do
10650 if test $t = "all"; then
10654 result
=`$ac_config_sub $t 2>/dev/null`
10655 if test -n "$result" ; then
10656 canon_targets
="$canon_targets $result"
10658 # # Permit "all", etc. We don't support it yet though.
10659 # canon_targets="$canon_targets $t"
10662 _gas_uniq_list
="$canon_targets"
10663 _gas_uniq_newlist
=""
10664 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
10665 case $_gas_uniq_i in
10666 _gas_uniq_dummy
) ;;
10667 *) case " $_gas_uniq_newlist " in
10668 *" $_gas_uniq_i "*) ;;
10669 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
10673 canon_targets
=$_gas_uniq_newlist
10679 for this_target
in $target $canon_targets ; do
10681 targ
=${this_target}
10682 .
${srcdir}/configure.tgt
10684 case ${target_cpu} in
10687 cat >>confdefs.h
<<_ACEOF
10688 #define DEFAULT_CRIS_ARCH $arch
10694 if test ${this_target} = $target ; then
10695 target_cpu_type
=${cpu_type}
10696 elif test ${target_cpu_type} != ${cpu_type} ; then
10700 generic_target
=${cpu_type}-${target_vendor}-${target_os}
10701 case ${generic_target} in
10703 if test ${this_target} = $target; then
10705 cat >>confdefs.h
<<\_ACEOF
10712 i386-
*-msdosdjgpp* \
10714 | i386-go32-rtems
*)
10716 cat >>confdefs.h
<<\_ACEOF
10717 #define STRICTCOFF 1
10723 { echo "$as_me:$LINENO: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&5
10724 echo "$as_me: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&2;}
10730 { { echo "$as_me:$LINENO: error: Unknown vendor for mips-bsd configuration." >&5
10731 echo "$as_me: error: Unknown vendor for mips-bsd configuration." >&2;}
10732 { (exit 1); exit 1; }; }
10737 cat >>confdefs.h
<<\_ACEOF
10738 #define AIX_WEAK_SUPPORT 1
10745 *) { { echo "$as_me:$LINENO: error: GNU/Linux must be configured big endian" >&5
10746 echo "$as_me: error: GNU/Linux must be configured big endian" >&2;}
10747 { (exit 1); exit 1; }; } ;;
10751 if test ${this_target} = $target; then
10753 cat >>confdefs.h
<<\_ACEOF
10754 #define TARGET_SOLARIS_COMMENT 1
10758 if test x
${endian} = xbig
; then
10759 { { echo "$as_me:$LINENO: error: Solaris must be configured little endian" >&5
10760 echo "$as_me: error: Solaris must be configured little endian" >&2;}
10761 { (exit 1); exit 1; }; }
10767 cat >>confdefs.h
<<\_ACEOF
10768 #define TARGET_SYMBIAN 1
10774 if test ${this_target} = $target ; then
10776 if test x
${endian} = xbig
; then
10778 elif test x
${endian} = xlittle
; then
10781 if test x
${endian_def} != x
; then
10783 cat >>confdefs.h
<<_ACEOF
10784 #define TARGET_BYTES_BIG_ENDIAN $endian_def
10790 # Other random stuff.
10792 case ${cpu_type} in
10794 # Set mips_cpu to the name of the default CPU.
10795 case ${target_cpu} in
10796 mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el
)
10799 mipsisa32 | mipsisa32el
)
10802 mipsisa32r2 | mipsisa32r2el
)
10805 mipsisa64 | mipsisa64el
)
10808 mipsisa64r2 | mipsisa64r2el
)
10811 mipstx39 | mipstx39el
)
10814 mips64vr | mips64vrel
)
10817 mipsisa32r2
* | mipsisa64r2
*)
10818 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
10820 mips64
* | mipsisa64
* | mipsisa32
*)
10821 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
10824 { { echo "$as_me:$LINENO: error: $target_cpu isn't a supported MIPS CPU name" >&5
10825 echo "$as_me: error: $target_cpu isn't a supported MIPS CPU name" >&2;}
10826 { (exit 1); exit 1; }; }
10829 # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
10830 # binaries. It's a GNU extension that some OSes don't understand.
10831 # The value only matters on ELF targets.
10834 use_e_mips_abi_o32
=0
10837 use_e_mips_abi_o32
=1
10840 # Decide whether to generate 32-bit or 64-bit code by default.
10841 # Used to resolve -march=from-abi when an embedded ABI is selected.
10843 mips64
*-*-* | mipsisa64
*-*-*)
10844 mips_default_64bit
=1
10847 mips_default_64bit
=0
10850 # Decide which ABI to target by default.
10852 mips64
*-linux* | mips-sgi-irix6
*)
10853 mips_default_abi
=N32_ABI
10856 mips_default_abi
=O32_ABI
10859 mips_default_abi
=N64_ABI
10862 mips_default_abi
=NO_ABI
10866 cat >>confdefs.h
<<_ACEOF
10867 #define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
10871 cat >>confdefs.h
<<_ACEOF
10872 #define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
10876 cat >>confdefs.h
<<_ACEOF
10877 #define MIPS_DEFAULT_64BIT $mips_default_64bit
10881 cat >>confdefs.h
<<_ACEOF
10882 #define MIPS_DEFAULT_ABI $mips_default_abi
10888 # Do we need the opcodes library?
10889 case ${cpu_type} in
10896 case "${enable_shared}" in
10897 yes) shared_opcodes
=true
;;
10898 *opcodes
*) shared_opcodes
=true
;;
10899 *) shared_opcodes
=false
;;
10904 # Any other special object files needed ?
10905 case ${cpu_type} in
10908 echo ${extra_objects} |
grep -s "bfin-parse.o"
10909 if test $?
-ne 0 ; then
10910 extra_objects
="$extra_objects bfin-parse.o"
10913 echo ${extra_objects} |
grep -s "bfin-lex.o"
10914 if test $?
-ne 0 ; then
10915 extra_objects
="$extra_objects bfin-lex.o"
10919 fr30 | ip2k | iq2000 | m32r | openrisc
)
10930 case ${extra_objects} in
10932 *) extra_objects
="$extra_objects m68k-parse.o" ;;
10941 echo ${extra_objects} |
grep -s "itbl-parse.o"
10942 if test $?
-ne 0 ; then
10943 extra_objects
="$extra_objects itbl-parse.o"
10946 echo ${extra_objects} |
grep -s "itbl-lex.o"
10947 if test $?
-ne 0 ; then
10948 extra_objects
="$extra_objects itbl-lex.o"
10951 echo ${extra_objects} |
grep -s "itbl-ops.o"
10952 if test $?
-ne 0 ; then
10953 extra_objects
="$extra_objects itbl-ops.o"
10961 i386 | s390 | sparc
)
10962 if test $this_target = $target ; then
10964 cat >>confdefs.h
<<_ACEOF
10965 #define DEFAULT_ARCH "${arch}"
10980 echo ${extra_objects} |
grep -s "xtensa-relax.o"
10981 if test $?
-ne 0 ; then
10982 extra_objects
="$extra_objects xtensa-relax.o"
10990 if test $using_cgen = yes ; then
10991 case "x${extra_objects}" in
10993 *) extra_objects
="$extra_objects cgen.o" ;;
10997 # See if we really can support this configuration with the emulation code.
10999 if test $this_target = $target ; then
11004 # From target name and format, produce a list of supported emulations.
11006 case ${generic_target}-${fmt} in
11007 mips-
*-irix5*-*) emulation
="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
11008 mips
*-*-linux*-*) case "$endian" in
11009 big
) emulation
="mipsbelf mipslelf mipself" ;;
11010 *) emulation
="mipslelf mipsbelf mipself" ;;
11012 mips-
*-lnews*-ecoff) ;;
11013 mips-
*-*-ecoff) case "$endian" in
11014 big
) emulation
="mipsbecoff mipslecoff mipsecoff" ;;
11015 *) emulation
="mipslecoff mipsbecoff mipsecoff" ;;
11017 mips-
*-*-elf) case "$endian" in
11018 big
) emulation
="mipsbelf mipslelf mipself" ;;
11019 *) emulation
="mipslelf mipsbelf mipself" ;;
11021 mips-
*-sysv4*MP
*-*) emulation
="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
11022 # i386-pc-pe-coff != i386-pc-coff.
11024 # Uncommenting the next line will turn on support for i386 AOUT
11025 # for the default linux configuration
11026 # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
11028 i386-
*-aout) emulation
="i386aout" ;;
11029 i386-
*-coff) emulation
="i386coff" ;;
11030 i386-
*-elf) emulation
="i386elf" ;;
11032 # Always all formats. The first stated emulation becomes the default.
11033 cris-
*-*aout
*) emulation
="crisaout criself" ;;
11034 cris-
*-*) emulation
="criself crisaout" ;;
11037 emulations
="$emulations $emulation"
11041 # Turn on all targets if possible
11042 if test ${all_targets} = "yes"; then
11043 case ${target_cpu_type} in
11045 case ${obj_format} in
11047 emulations
="$emulations i386coff i386elf"
11050 emulations
="$emulations i386aout i386elf"
11053 emulations
="$emulations i386aout i386coff"
11058 case ${obj_format} in
11060 emulations
="$emulations i386coff i386elf"
11063 emulations
="$emulations i386aout i386elf"
11066 emulations
="$emulations i386aout i386coff"
11073 # Assign floating point type. Most processors with FP support
11074 # IEEE FP. On those that don't support FP at all, usually IEEE
11076 case ${target_cpu} in
11077 vax | pdp11
) atof
=vax
;;
11081 case "${obj_format}" in
11082 "") { { echo "$as_me:$LINENO: error: GAS does not know what format to use for target ${target}" >&5
11083 echo "$as_me: error: GAS does not know what format to use for target ${target}" >&2;}
11084 { (exit 1); exit 1; }; } ;;
11087 # Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
11089 if test $using_cgen = yes ; then
11090 case ${target_cpu} in
11091 *) cgen_cpu_prefix
=${target_cpu} ;;
11095 cat >>confdefs.h
<<\_ACEOF
11096 #define USING_CGEN 1
11102 if test ! -r ${srcdir}/config
/tc-
${target_cpu_type}.c
; then
11103 { { echo "$as_me:$LINENO: error: GAS does not support target CPU ${target_cpu_type}" >&5
11104 echo "$as_me: error: GAS does not support target CPU ${target_cpu_type}" >&2;}
11105 { (exit 1); exit 1; }; }
11108 if test ! -r ${srcdir}/config
/obj-
${obj_format}.c
; then
11109 { { echo "$as_me:$LINENO: error: GAS does not have support for object file format ${obj_format}" >&5
11110 echo "$as_me: error: GAS does not have support for object file format ${obj_format}" >&2;}
11111 { (exit 1); exit 1; }; }
11114 # Some COFF configurations want these random other flags set.
11115 case ${obj_format} in
11117 case ${target_cpu_type} in
11119 cat >>confdefs.h
<<\_ACEOF
11124 cat >>confdefs.h
<<\_ACEOF
11129 cat >>confdefs.h
<<\_ACEOF
11134 cat >>confdefs.h
<<\_ACEOF
11142 # Getting this done right is going to be a bitch. Each configuration specified
11143 # with --enable-targets=... should be checked for environment, format, cpu
11146 # For each configuration, the necessary object file support code must be linked
11147 # in. This might be only one, it might be up to four. The necessary emulation
11148 # code needs to be provided, too.
11150 # And then there's "--enable-targets=all"....
11152 # For now, just always do it for MIPS ELF or ECOFF configurations. Sigh.
11154 formats
="${obj_format}"
11157 _gas_uniq_list
="$emulations"
11158 _gas_uniq_newlist
=""
11159 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
11160 case $_gas_uniq_i in
11161 _gas_uniq_dummy
) ;;
11162 *) case " $_gas_uniq_newlist " in
11163 *" $_gas_uniq_i "*) ;;
11164 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
11168 emulations
=$_gas_uniq_newlist
11170 for em
in .
$emulations ; do
11173 mipsbelf | mipslelf | mipself
)
11174 fmt=elf
file=mipself
;;
11175 mipsbecoff | mipslecoff | mipsecoff
)
11176 fmt=ecoff
file=mipsecoff
;;
11178 fmt=coff
file=$em ;;
11180 fmt=aout
file=$em ;;
11182 fmt=elf
file=$em ;;
11184 formats
="$formats $fmt"
11185 emfiles
="$emfiles e-$file.o"
11186 EMULATIONS
="$EMULATIONS &$em,"
11188 _gas_uniq_list
="$formats"
11189 _gas_uniq_newlist
=""
11190 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
11191 case $_gas_uniq_i in
11192 _gas_uniq_dummy
) ;;
11193 *) case " $_gas_uniq_newlist " in
11194 *" $_gas_uniq_i "*) ;;
11195 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
11199 formats
=$_gas_uniq_newlist
11201 _gas_uniq_list
="$emfiles"
11202 _gas_uniq_newlist
=""
11203 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
11204 case $_gas_uniq_i in
11205 _gas_uniq_dummy
) ;;
11206 *) case " $_gas_uniq_newlist " in
11207 *" $_gas_uniq_i "*) ;;
11208 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
11212 emfiles
=$_gas_uniq_newlist
11214 if test `set . $formats ; shift ; echo $#` -gt 1 ; then
11215 for fmt in $formats ; do
11218 cat >>confdefs.h
<<\_ACEOF
11219 #define OBJ_MAYBE_AOUT 1
11223 cat >>confdefs.h
<<\_ACEOF
11224 #define OBJ_MAYBE_BOUT 1
11228 cat >>confdefs.h
<<\_ACEOF
11229 #define OBJ_MAYBE_COFF 1
11233 cat >>confdefs.h
<<\_ACEOF
11234 #define OBJ_MAYBE_ECOFF 1
11238 cat >>confdefs.h
<<\_ACEOF
11239 #define OBJ_MAYBE_ELF 1
11243 cat >>confdefs.h
<<\_ACEOF
11244 #define OBJ_MAYBE_GENERIC 1
11248 cat >>confdefs.h
<<\_ACEOF
11249 #define OBJ_MAYBE_SOM 1
11253 extra_objects
="$extra_objects obj-$fmt.o"
11257 if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
11258 DEFAULT_EMULATION
=`set . $emulations ; echo $2`
11259 # e-mips* has more than one emulation per file, e-i386* has just one at the
11260 # moment. If only one emulation is specified, then don't define
11261 # USE_EMULATIONS or include any of the e-files as they will only be bloat.
11262 case "${obj_format}${emfiles}" in
11264 extra_objects
="$extra_objects $emfiles"
11266 cat >>confdefs.h
<<\_ACEOF
11267 #define USE_EMULATIONS 1
11274 cat >>confdefs.h
<<_ACEOF
11275 #define EMULATIONS $EMULATIONS
11279 cat >>confdefs.h
<<_ACEOF
11280 #define DEFAULT_EMULATION "$DEFAULT_EMULATION"
11284 reject_dev_configs
=yes
11286 case ${reject_dev_configs}-${dev} in
11288 { { echo "$as_me:$LINENO: error: GAS does not support the ${generic_target} configuration." >&5
11289 echo "$as_me: error: GAS does not support the ${generic_target} configuration." >&2;}
11290 { (exit 1); exit 1; }; }
11300 # do we need the opcodes library?
11301 case "${need_opcodes}" in
11303 OPCODES_LIB
=..
/opcodes
/libopcodes.la
11310 cat >>confdefs.h
<<_ACEOF
11311 #define TARGET_ALIAS "${target_alias}"
11315 cat >>confdefs.h
<<_ACEOF
11316 #define TARGET_CANONICAL "${target}"
11320 cat >>confdefs.h
<<_ACEOF
11321 #define TARGET_CPU "${target_cpu}"
11325 cat >>confdefs.h
<<_ACEOF
11326 #define TARGET_VENDOR "${target_vendor}"
11330 cat >>confdefs.h
<<_ACEOF
11331 #define TARGET_OS "${target_os}"
11335 for ac_prog
in 'bison -y' byacc
11337 # Extract the first word of "$ac_prog", so it can be a program name with args.
11338 set dummy
$ac_prog; ac_word
=$2
11339 echo "$as_me:$LINENO: checking for $ac_word" >&5
11340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11341 if test "${ac_cv_prog_YACC+set}" = set; then
11342 echo $ECHO_N "(cached) $ECHO_C" >&6
11344 if test -n "$YACC"; then
11345 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
11347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11348 for as_dir
in $PATH
11351 test -z "$as_dir" && as_dir
=.
11352 for ac_exec_ext
in '' $ac_executable_extensions; do
11353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11354 ac_cv_prog_YACC
="$ac_prog"
11355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11363 YACC
=$ac_cv_prog_YACC
11364 if test -n "$YACC"; then
11365 echo "$as_me:$LINENO: result: $YACC" >&5
11366 echo "${ECHO_T}$YACC" >&6
11368 echo "$as_me:$LINENO: result: no" >&5
11369 echo "${ECHO_T}no" >&6
11372 test -n "$YACC" && break
11374 test -n "$YACC" || YACC
="yacc"
11376 for ac_prog
in flex
lex
11378 # Extract the first word of "$ac_prog", so it can be a program name with args.
11379 set dummy
$ac_prog; ac_word
=$2
11380 echo "$as_me:$LINENO: checking for $ac_word" >&5
11381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11382 if test "${ac_cv_prog_LEX+set}" = set; then
11383 echo $ECHO_N "(cached) $ECHO_C" >&6
11385 if test -n "$LEX"; then
11386 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
11388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11389 for as_dir
in $PATH
11392 test -z "$as_dir" && as_dir
=.
11393 for ac_exec_ext
in '' $ac_executable_extensions; do
11394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11395 ac_cv_prog_LEX
="$ac_prog"
11396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11404 LEX
=$ac_cv_prog_LEX
11405 if test -n "$LEX"; then
11406 echo "$as_me:$LINENO: result: $LEX" >&5
11407 echo "${ECHO_T}$LEX" >&6
11409 echo "$as_me:$LINENO: result: no" >&5
11410 echo "${ECHO_T}no" >&6
11413 test -n "$LEX" && break
11415 test -n "$LEX" || LEX
=":"
11417 if test -z "$LEXLIB"
11419 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11420 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11421 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11422 echo $ECHO_N "(cached) $ECHO_C" >&6
11424 ac_check_lib_save_LIBS
=$LIBS
11426 cat >conftest.
$ac_ext <<_ACEOF
11429 cat confdefs.h
>>conftest.
$ac_ext
11430 cat >>conftest.
$ac_ext <<_ACEOF
11431 /* end confdefs.h. */
11433 /* Override any gcc2 internal prototype to avoid an error. */
11437 /* We use char because int might match the return type of a gcc2
11438 builtin and then its argument prototype would still apply. */
11448 rm -f conftest.
$ac_objext conftest
$ac_exeext
11449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11450 (eval $ac_link) 2>conftest.er1
11452 grep -v '^ *+' conftest.er1
>conftest.err
11454 cat conftest.err
>&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); } &&
11457 { ac_try
='test -z "$ac_c_werror_flag"
11458 || test ! -s conftest.err'
11459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; } &&
11464 { ac_try
='test -s conftest$ac_exeext'
11465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11466 (eval $ac_try) 2>&5
11468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11469 (exit $ac_status); }; }; then
11470 ac_cv_lib_fl_yywrap
=yes
11472 echo "$as_me: failed program was:" >&5
11473 sed 's/^/| /' conftest.
$ac_ext >&5
11475 ac_cv_lib_fl_yywrap
=no
11477 rm -f conftest.err conftest.
$ac_objext \
11478 conftest
$ac_exeext conftest.
$ac_ext
11479 LIBS
=$ac_check_lib_save_LIBS
11481 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11482 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11483 if test $ac_cv_lib_fl_yywrap = yes; then
11486 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11487 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11488 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11489 echo $ECHO_N "(cached) $ECHO_C" >&6
11491 ac_check_lib_save_LIBS
=$LIBS
11493 cat >conftest.
$ac_ext <<_ACEOF
11496 cat confdefs.h
>>conftest.
$ac_ext
11497 cat >>conftest.
$ac_ext <<_ACEOF
11498 /* end confdefs.h. */
11500 /* Override any gcc2 internal prototype to avoid an error. */
11504 /* We use char because int might match the return type of a gcc2
11505 builtin and then its argument prototype would still apply. */
11515 rm -f conftest.
$ac_objext conftest
$ac_exeext
11516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11517 (eval $ac_link) 2>conftest.er1
11519 grep -v '^ *+' conftest.er1
>conftest.err
11521 cat conftest.err
>&5
11522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11523 (exit $ac_status); } &&
11524 { ac_try
='test -z "$ac_c_werror_flag"
11525 || test ! -s conftest.err'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; } &&
11531 { ac_try
='test -s conftest$ac_exeext'
11532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11533 (eval $ac_try) 2>&5
11535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11536 (exit $ac_status); }; }; then
11537 ac_cv_lib_l_yywrap
=yes
11539 echo "$as_me: failed program was:" >&5
11540 sed 's/^/| /' conftest.
$ac_ext >&5
11542 ac_cv_lib_l_yywrap
=no
11544 rm -f conftest.err conftest.
$ac_objext \
11545 conftest
$ac_exeext conftest.
$ac_ext
11546 LIBS
=$ac_check_lib_save_LIBS
11548 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11549 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11550 if test $ac_cv_lib_l_yywrap = yes; then
11558 if test "x$LEX" != "x:"; then
11559 echo "$as_me:$LINENO: checking lex output file root" >&5
11560 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11561 if test "${ac_cv_prog_lex_root+set}" = set; then
11562 echo $ECHO_N "(cached) $ECHO_C" >&6
11564 # The minimal lex program is just a single line: %%. But some broken lexes
11565 # (Solaris, I think it was) want two %% lines, so accommodate them.
11566 cat >conftest.l
<<_ACEOF
11570 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11571 (eval $LEX conftest.l
) 2>&5
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); }
11575 if test -f lex.yy.c
; then
11576 ac_cv_prog_lex_root
=lex.yy
11577 elif test -f lexyy.c
; then
11578 ac_cv_prog_lex_root
=lexyy
11580 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11581 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11582 { (exit 1); exit 1; }; }
11585 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11586 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11588 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
11590 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11591 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11592 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11593 echo $ECHO_N "(cached) $ECHO_C" >&6
11595 # POSIX says lex can declare yytext either as a pointer or an array; the
11596 # default is implementation-dependent. Figure out which it is, since
11597 # not all implementations provide the %pointer and %array declarations.
11598 ac_cv_prog_lex_yytext_pointer
=no
11599 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11601 LIBS
="$LIBS $LEXLIB"
11602 cat >conftest.
$ac_ext <<_ACEOF
11603 `cat $LEX_OUTPUT_ROOT.c`
11605 rm -f conftest.
$ac_objext conftest
$ac_exeext
11606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11607 (eval $ac_link) 2>conftest.er1
11609 grep -v '^ *+' conftest.er1
>conftest.err
11611 cat conftest.err
>&5
11612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11613 (exit $ac_status); } &&
11614 { ac_try
='test -z "$ac_c_werror_flag"
11615 || test ! -s conftest.err'
11616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11617 (eval $ac_try) 2>&5
11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); }; } &&
11621 { ac_try
='test -s conftest$ac_exeext'
11622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11623 (eval $ac_try) 2>&5
11625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11626 (exit $ac_status); }; }; then
11627 ac_cv_prog_lex_yytext_pointer
=yes
11629 echo "$as_me: failed program was:" >&5
11630 sed 's/^/| /' conftest.
$ac_ext >&5
11633 rm -f conftest.err conftest.
$ac_objext \
11634 conftest
$ac_exeext conftest.
$ac_ext
11636 rm -f "${LEX_OUTPUT_ROOT}.c"
11639 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11640 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11641 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11643 cat >>confdefs.h
<<\_ACEOF
11644 #define YYTEXT_POINTER 1
11650 if test "$LEX" = :; then
11651 LEX
=${am_missing_run}flex
11654 ALL_LINGUAS
="fr tr es rw"
11655 # If we haven't got the data from the intl directory,
11656 # assume NLS is disabled.
11665 if test -f ..
/intl
/config.intl
; then
11666 . ..
/intl
/config.intl
11668 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
11669 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
11670 if test x
"$USE_NLS" != xyes
; then
11671 echo "$as_me:$LINENO: result: no" >&5
11672 echo "${ECHO_T}no" >&6
11674 echo "$as_me:$LINENO: result: yes" >&5
11675 echo "${ECHO_T}yes" >&6
11677 cat >>confdefs.h
<<\_ACEOF
11678 #define ENABLE_NLS 1
11682 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
11683 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
11684 # Look for .po and .gmo files in the source directory.
11687 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
11688 # If there aren't any .gmo files the shell will give us the
11689 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11691 case "$cat" in *\
**)
11694 # The quadruple backslash is collapsed to a double backslash
11695 # by the backticks, then collapsed again by the double quotes,
11696 # leaving us with one backslash in the sed expression (right
11697 # before the dot that mustn't act as a wildcard).
11698 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11699 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
11700 # The user is allowed to set LINGUAS to a list of languages to
11701 # install catalogs for. If it's empty that means "all of them."
11702 if test "x$LINGUAS" = x
; then
11703 CATALOGS
="$CATALOGS $cat"
11704 XLINGUAS
="$XLINGUAS $lang"
11706 case "$LINGUAS" in *$lang*)
11707 CATALOGS
="$CATALOGS $cat"
11708 XLINGUAS
="$XLINGUAS $lang"
11713 LINGUAS
="$XLINGUAS"
11714 echo "$as_me:$LINENO: result: $LINGUAS" >&5
11715 echo "${ECHO_T}$LINGUAS" >&6
11729 if test -n "$ac_aux_dir"; then
11730 case "$ac_aux_dir" in
11731 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
11732 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11735 if test -z "$MKINSTALLDIRS"; then
11736 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11741 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
11742 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
11743 # Check whether --enable-nls or --disable-nls was given.
11744 if test "${enable_nls+set}" = set; then
11745 enableval
="$enable_nls"
11750 echo "$as_me:$LINENO: result: $USE_NLS" >&5
11751 echo "${ECHO_T}$USE_NLS" >&6
11758 # Prepare PATH_SEPARATOR.
11759 # The user is always right.
11760 if test "${PATH_SEPARATOR+set}" != set; then
11761 echo "#! /bin/sh" >conf$$.sh
11762 echo "exit 0" >>conf$$.sh
11764 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11772 # Find out how to test for executable files. Don't use a zero-byte file,
11773 # as systems may use methods other than mode bits to determine executability.
11774 cat >conf$$.
file <<_ASEOF
11778 chmod +x conf$$.
file
11779 if test -x conf$$.
file >/dev
/null
2>&1; then
11780 ac_executable_p
="test -x"
11782 ac_executable_p
="test -f"
11786 # Extract the first word of "msgfmt", so it can be a program name with args.
11787 set dummy msgfmt
; ac_word
=$2
11788 echo "$as_me:$LINENO: checking for $ac_word" >&5
11789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11790 if test "${ac_cv_path_MSGFMT+set}" = set; then
11791 echo $ECHO_N "(cached) $ECHO_C" >&6
11795 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11798 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11799 for ac_dir
in $PATH; do
11801 test -z "$ac_dir" && ac_dir
=.
11802 for ac_exec_ext
in '' $ac_executable_extensions; do
11803 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11804 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11805 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11806 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11813 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11817 MSGFMT
="$ac_cv_path_MSGFMT"
11818 if test "$MSGFMT" != ":"; then
11819 echo "$as_me:$LINENO: result: $MSGFMT" >&5
11820 echo "${ECHO_T}$MSGFMT" >&6
11822 echo "$as_me:$LINENO: result: no" >&5
11823 echo "${ECHO_T}no" >&6
11826 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11827 set dummy gmsgfmt
; ac_word
=$2
11828 echo "$as_me:$LINENO: checking for $ac_word" >&5
11829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11830 if test "${ac_cv_path_GMSGFMT+set}" = set; then
11831 echo $ECHO_N "(cached) $ECHO_C" >&6
11835 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11839 for as_dir
in $PATH
11842 test -z "$as_dir" && as_dir
=.
11843 for ac_exec_ext
in '' $ac_executable_extensions; do
11844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11845 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11852 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11856 GMSGFMT
=$ac_cv_path_GMSGFMT
11858 if test -n "$GMSGFMT"; then
11859 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
11860 echo "${ECHO_T}$GMSGFMT" >&6
11862 echo "$as_me:$LINENO: result: no" >&5
11863 echo "${ECHO_T}no" >&6
11868 # Prepare PATH_SEPARATOR.
11869 # The user is always right.
11870 if test "${PATH_SEPARATOR+set}" != set; then
11871 echo "#! /bin/sh" >conf$$.sh
11872 echo "exit 0" >>conf$$.sh
11874 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11882 # Find out how to test for executable files. Don't use a zero-byte file,
11883 # as systems may use methods other than mode bits to determine executability.
11884 cat >conf$$.
file <<_ASEOF
11888 chmod +x conf$$.
file
11889 if test -x conf$$.
file >/dev
/null
2>&1; then
11890 ac_executable_p
="test -x"
11892 ac_executable_p
="test -f"
11896 # Extract the first word of "xgettext", so it can be a program name with args.
11897 set dummy xgettext
; ac_word
=$2
11898 echo "$as_me:$LINENO: checking for $ac_word" >&5
11899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11900 if test "${ac_cv_path_XGETTEXT+set}" = set; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6
11903 case "$XGETTEXT" in
11905 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11908 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11909 for ac_dir
in $PATH; do
11911 test -z "$ac_dir" && ac_dir
=.
11912 for ac_exec_ext
in '' $ac_executable_extensions; do
11913 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11914 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11915 (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
11916 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
11923 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11927 XGETTEXT
="$ac_cv_path_XGETTEXT"
11928 if test "$XGETTEXT" != ":"; then
11929 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
11930 echo "${ECHO_T}$XGETTEXT" >&6
11932 echo "$as_me:$LINENO: result: no" >&5
11933 echo "${ECHO_T}no" >&6
11939 # Prepare PATH_SEPARATOR.
11940 # The user is always right.
11941 if test "${PATH_SEPARATOR+set}" != set; then
11942 echo "#! /bin/sh" >conf$$.sh
11943 echo "exit 0" >>conf$$.sh
11945 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11953 # Find out how to test for executable files. Don't use a zero-byte file,
11954 # as systems may use methods other than mode bits to determine executability.
11955 cat >conf$$.
file <<_ASEOF
11959 chmod +x conf$$.
file
11960 if test -x conf$$.
file >/dev
/null
2>&1; then
11961 ac_executable_p
="test -x"
11963 ac_executable_p
="test -f"
11967 # Extract the first word of "msgmerge", so it can be a program name with args.
11968 set dummy msgmerge
; ac_word
=$2
11969 echo "$as_me:$LINENO: checking for $ac_word" >&5
11970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11971 if test "${ac_cv_path_MSGMERGE+set}" = set; then
11972 echo $ECHO_N "(cached) $ECHO_C" >&6
11974 case "$MSGMERGE" in
11976 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11979 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11980 for ac_dir
in $PATH; do
11982 test -z "$ac_dir" && ac_dir
=.
11983 for ac_exec_ext
in '' $ac_executable_extensions; do
11984 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11985 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11986 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
11993 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11997 MSGMERGE
="$ac_cv_path_MSGMERGE"
11998 if test "$MSGMERGE" != ":"; then
11999 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
12000 echo "${ECHO_T}$MSGMERGE" >&6
12002 echo "$as_me:$LINENO: result: no" >&5
12003 echo "${ECHO_T}no" >&6
12007 if test "$GMSGFMT" != ":"; then
12008 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
12009 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12012 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
12013 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12014 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
12019 if test "$XGETTEXT" != ":"; then
12020 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
12021 (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
12024 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
12025 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
12031 ac_config_commands
="$ac_config_commands default-1"
12035 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
12036 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
12037 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12038 if test "${enable_maintainer_mode+set}" = set; then
12039 enableval
="$enable_maintainer_mode"
12040 USE_MAINTAINER_MODE
=$enableval
12042 USE_MAINTAINER_MODE
=no
12044 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
12045 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12048 if test $USE_MAINTAINER_MODE = yes; then
12049 MAINTAINER_MODE_TRUE
=
12050 MAINTAINER_MODE_FALSE
='#'
12052 MAINTAINER_MODE_TRUE
='#'
12053 MAINTAINER_MODE_FALSE
=
12056 MAINT
=$MAINTAINER_MODE_TRUE
12062 GENINSRC_NEVER_TRUE
=
12063 GENINSRC_NEVER_FALSE
='#'
12065 GENINSRC_NEVER_TRUE
='#'
12066 GENINSRC_NEVER_FALSE
=
12081 for ac_header
in string.h stdlib.h memory.h
strings.h unistd.h stdarg.h varargs.h errno.h sys
/types.h limits.h
12083 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12085 echo "$as_me:$LINENO: checking for $ac_header" >&5
12086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12088 echo $ECHO_N "(cached) $ECHO_C" >&6
12090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12093 # Is the header compilable?
12094 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12095 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12096 cat >conftest.
$ac_ext <<_ACEOF
12099 cat confdefs.h
>>conftest.
$ac_ext
12100 cat >>conftest.
$ac_ext <<_ACEOF
12101 /* end confdefs.h. */
12102 $ac_includes_default
12103 #include <$ac_header>
12105 rm -f conftest.
$ac_objext
12106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12107 (eval $ac_compile) 2>conftest.er1
12109 grep -v '^ *+' conftest.er1
>conftest.err
12111 cat conftest.err
>&5
12112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12113 (exit $ac_status); } &&
12114 { ac_try
='test -z "$ac_c_werror_flag"
12115 || test ! -s conftest.err'
12116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12117 (eval $ac_try) 2>&5
12119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12120 (exit $ac_status); }; } &&
12121 { ac_try
='test -s conftest.$ac_objext'
12122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12123 (eval $ac_try) 2>&5
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); }; }; then
12127 ac_header_compiler
=yes
12129 echo "$as_me: failed program was:" >&5
12130 sed 's/^/| /' conftest.
$ac_ext >&5
12132 ac_header_compiler
=no
12134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12135 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12136 echo "${ECHO_T}$ac_header_compiler" >&6
12138 # Is the header present?
12139 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12141 cat >conftest.
$ac_ext <<_ACEOF
12144 cat confdefs.h
>>conftest.
$ac_ext
12145 cat >>conftest.
$ac_ext <<_ACEOF
12146 /* end confdefs.h. */
12147 #include <$ac_header>
12149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12150 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12152 grep -v '^ *+' conftest.er1
>conftest.err
12154 cat conftest.err
>&5
12155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12156 (exit $ac_status); } >/dev
/null
; then
12157 if test -s conftest.err
; then
12158 ac_cpp_err
=$ac_c_preproc_warn_flag
12159 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12166 if test -z "$ac_cpp_err"; then
12167 ac_header_preproc
=yes
12169 echo "$as_me: failed program was:" >&5
12170 sed 's/^/| /' conftest.
$ac_ext >&5
12172 ac_header_preproc
=no
12174 rm -f conftest.err conftest.
$ac_ext
12175 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12176 echo "${ECHO_T}$ac_header_preproc" >&6
12178 # So? What about this header?
12179 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12181 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12182 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12184 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12185 ac_header_preproc
=yes
12188 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12189 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12190 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12191 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12192 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12193 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12194 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12195 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12197 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12198 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12199 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12202 ## ------------------------------------------ ##
12203 ## Report this to the AC_PACKAGE_NAME lists. ##
12204 ## ------------------------------------------ ##
12207 sed "s/^/$as_me: WARNING: /" >&2
12210 echo "$as_me:$LINENO: checking for $ac_header" >&5
12211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12213 echo $ECHO_N "(cached) $ECHO_C" >&6
12215 eval "$as_ac_Header=\$ac_header_preproc"
12217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12222 cat >>confdefs.h
<<_ACEOF
12223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12231 # Put this here so that autoconf's "cross-compiling" message doesn't confuse
12232 # people who are not cross-compiling but are compiling cross-assemblers.
12233 echo "$as_me:$LINENO: checking whether compiling a cross-assembler" >&5
12234 echo $ECHO_N "checking whether compiling a cross-assembler... $ECHO_C" >&6
12235 if test "${host}" = "${target}"; then
12240 cat >>confdefs.h
<<\_ACEOF
12241 #define CROSS_COMPILE 1
12245 echo "$as_me:$LINENO: result: $cross_gas" >&5
12246 echo "${ECHO_T}$cross_gas" >&6
12248 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12249 # for constant arguments. Useless!
12250 echo "$as_me:$LINENO: checking for working alloca.h" >&5
12251 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
12252 if test "${ac_cv_working_alloca_h+set}" = set; then
12253 echo $ECHO_N "(cached) $ECHO_C" >&6
12255 cat >conftest.
$ac_ext <<_ACEOF
12258 cat confdefs.h
>>conftest.
$ac_ext
12259 cat >>conftest.
$ac_ext <<_ACEOF
12260 /* end confdefs.h. */
12261 #include <alloca.h>
12265 char *p = (char *) alloca (2 * sizeof (int));
12270 rm -f conftest.
$ac_objext conftest
$ac_exeext
12271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12272 (eval $ac_link) 2>conftest.er1
12274 grep -v '^ *+' conftest.er1
>conftest.err
12276 cat conftest.err
>&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); } &&
12279 { ac_try
='test -z "$ac_c_werror_flag"
12280 || test ! -s conftest.err'
12281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12282 (eval $ac_try) 2>&5
12284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285 (exit $ac_status); }; } &&
12286 { ac_try
='test -s conftest$ac_exeext'
12287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12288 (eval $ac_try) 2>&5
12290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12291 (exit $ac_status); }; }; then
12292 ac_cv_working_alloca_h
=yes
12294 echo "$as_me: failed program was:" >&5
12295 sed 's/^/| /' conftest.
$ac_ext >&5
12297 ac_cv_working_alloca_h
=no
12299 rm -f conftest.err conftest.
$ac_objext \
12300 conftest
$ac_exeext conftest.
$ac_ext
12302 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
12303 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
12304 if test $ac_cv_working_alloca_h = yes; then
12306 cat >>confdefs.h
<<\_ACEOF
12307 #define HAVE_ALLOCA_H 1
12312 echo "$as_me:$LINENO: checking for alloca" >&5
12313 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
12314 if test "${ac_cv_func_alloca_works+set}" = set; then
12315 echo $ECHO_N "(cached) $ECHO_C" >&6
12317 cat >conftest.
$ac_ext <<_ACEOF
12320 cat confdefs.h
>>conftest.
$ac_ext
12321 cat >>conftest.
$ac_ext <<_ACEOF
12322 /* end confdefs.h. */
12324 # define alloca __builtin_alloca
12327 # include <malloc.h>
12328 # define alloca _alloca
12331 # include <alloca.h>
12336 # ifndef alloca /* predefined by HP cc +Olibcalls */
12347 char *p = (char *) alloca (1);
12352 rm -f conftest.
$ac_objext conftest
$ac_exeext
12353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12354 (eval $ac_link) 2>conftest.er1
12356 grep -v '^ *+' conftest.er1
>conftest.err
12358 cat conftest.err
>&5
12359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360 (exit $ac_status); } &&
12361 { ac_try
='test -z "$ac_c_werror_flag"
12362 || test ! -s conftest.err'
12363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12364 (eval $ac_try) 2>&5
12366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12367 (exit $ac_status); }; } &&
12368 { ac_try
='test -s conftest$ac_exeext'
12369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12370 (eval $ac_try) 2>&5
12372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373 (exit $ac_status); }; }; then
12374 ac_cv_func_alloca_works
=yes
12376 echo "$as_me: failed program was:" >&5
12377 sed 's/^/| /' conftest.
$ac_ext >&5
12379 ac_cv_func_alloca_works
=no
12381 rm -f conftest.err conftest.
$ac_objext \
12382 conftest
$ac_exeext conftest.
$ac_ext
12384 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
12385 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
12387 if test $ac_cv_func_alloca_works = yes; then
12389 cat >>confdefs.h
<<\_ACEOF
12390 #define HAVE_ALLOCA 1
12394 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12395 # that cause trouble. Some versions do not even contain alloca or
12396 # contain a buggy version. If you still want to use their alloca,
12397 # use ar to extract alloca.o from them instead of compiling alloca.c.
12399 ALLOCA
=alloca.
$ac_objext
12401 cat >>confdefs.h
<<\_ACEOF
12406 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
12407 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
12408 if test "${ac_cv_os_cray+set}" = set; then
12409 echo $ECHO_N "(cached) $ECHO_C" >&6
12411 cat >conftest.
$ac_ext <<_ACEOF
12414 cat confdefs.h
>>conftest.
$ac_ext
12415 cat >>conftest.
$ac_ext <<_ACEOF
12416 /* end confdefs.h. */
12417 #if defined(CRAY) && ! defined(CRAY2)
12424 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12425 $EGREP "webecray" >/dev
/null
2>&1; then
12433 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
12434 echo "${ECHO_T}$ac_cv_os_cray" >&6
12435 if test $ac_cv_os_cray = yes; then
12436 for ac_func
in _getb67 GETB67 getb67
; do
12437 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12438 echo "$as_me:$LINENO: checking for $ac_func" >&5
12439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12440 if eval "test \"\${$as_ac_var+set}\" = set"; then
12441 echo $ECHO_N "(cached) $ECHO_C" >&6
12443 cat >conftest.
$ac_ext <<_ACEOF
12446 cat confdefs.h
>>conftest.
$ac_ext
12447 cat >>conftest.
$ac_ext <<_ACEOF
12448 /* end confdefs.h. */
12449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12451 #define $ac_func innocuous_$ac_func
12453 /* System header to define __stub macros and hopefully few prototypes,
12454 which can conflict with char $ac_func (); below.
12455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12456 <limits.h> exists even on freestanding compilers. */
12459 # include <limits.h>
12461 # include <assert.h>
12466 /* Override any gcc2 internal prototype to avoid an error. */
12471 /* We use char because int might match the return type of a gcc2
12472 builtin and then its argument prototype would still apply. */
12474 /* The GNU C library defines this for functions which it implements
12475 to always fail with ENOSYS. Some functions are actually named
12476 something starting with __ and the normal name is an alias. */
12477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12480 char (*f) () = $ac_func;
12489 return f != $ac_func;
12494 rm -f conftest.
$ac_objext conftest
$ac_exeext
12495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12496 (eval $ac_link) 2>conftest.er1
12498 grep -v '^ *+' conftest.er1
>conftest.err
12500 cat conftest.err
>&5
12501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); } &&
12503 { ac_try
='test -z "$ac_c_werror_flag"
12504 || test ! -s conftest.err'
12505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12506 (eval $ac_try) 2>&5
12508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12509 (exit $ac_status); }; } &&
12510 { ac_try
='test -s conftest$ac_exeext'
12511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12512 (eval $ac_try) 2>&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); }; }; then
12516 eval "$as_ac_var=yes"
12518 echo "$as_me: failed program was:" >&5
12519 sed 's/^/| /' conftest.
$ac_ext >&5
12521 eval "$as_ac_var=no"
12523 rm -f conftest.err conftest.
$ac_objext \
12524 conftest
$ac_exeext conftest.
$ac_ext
12526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12528 if test `eval echo '${'$as_ac_var'}'` = yes; then
12530 cat >>confdefs.h
<<_ACEOF
12531 #define CRAY_STACKSEG_END $ac_func
12540 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
12541 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
12542 if test "${ac_cv_c_stack_direction+set}" = set; then
12543 echo $ECHO_N "(cached) $ECHO_C" >&6
12545 if test "$cross_compiling" = yes; then
12546 ac_cv_c_stack_direction
=0
12548 cat >conftest.
$ac_ext <<_ACEOF
12551 cat confdefs.h
>>conftest.
$ac_ext
12552 cat >>conftest.
$ac_ext <<_ACEOF
12553 /* end confdefs.h. */
12555 find_stack_direction ()
12557 static char *addr = 0;
12562 return find_stack_direction ();
12565 return (&dummy > addr) ? 1 : -1;
12571 exit (find_stack_direction () < 0);
12574 rm -f conftest
$ac_exeext
12575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12576 (eval $ac_link) 2>&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12581 (eval $ac_try) 2>&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); }; }; then
12585 ac_cv_c_stack_direction
=1
12587 echo "$as_me: program exited with status $ac_status" >&5
12588 echo "$as_me: failed program was:" >&5
12589 sed 's/^/| /' conftest.
$ac_ext >&5
12591 ( exit $ac_status )
12592 ac_cv_c_stack_direction
=-1
12594 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12597 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
12598 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
12600 cat >>confdefs.h
<<_ACEOF
12601 #define STACK_DIRECTION $ac_cv_c_stack_direction
12607 echo "$as_me:$LINENO: checking for inline" >&5
12608 echo $ECHO_N "checking for inline... $ECHO_C" >&6
12609 if test "${ac_cv_c_inline+set}" = set; then
12610 echo $ECHO_N "(cached) $ECHO_C" >&6
12613 for ac_kw
in inline __inline__ __inline
; do
12614 cat >conftest.
$ac_ext <<_ACEOF
12617 cat confdefs.h
>>conftest.
$ac_ext
12618 cat >>conftest.
$ac_ext <<_ACEOF
12619 /* end confdefs.h. */
12620 #ifndef __cplusplus
12622 static $ac_kw foo_t static_foo () {return 0; }
12623 $ac_kw foo_t foo () {return 0; }
12627 rm -f conftest.
$ac_objext
12628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12629 (eval $ac_compile) 2>conftest.er1
12631 grep -v '^ *+' conftest.er1
>conftest.err
12633 cat conftest.err
>&5
12634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12635 (exit $ac_status); } &&
12636 { ac_try
='test -z "$ac_c_werror_flag"
12637 || test ! -s conftest.err'
12638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12639 (eval $ac_try) 2>&5
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); }; } &&
12643 { ac_try
='test -s conftest.$ac_objext'
12644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12645 (eval $ac_try) 2>&5
12647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12648 (exit $ac_status); }; }; then
12649 ac_cv_c_inline
=$ac_kw; break
12651 echo "$as_me: failed program was:" >&5
12652 sed 's/^/| /' conftest.
$ac_ext >&5
12655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12659 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
12660 echo "${ECHO_T}$ac_cv_c_inline" >&6
12663 case $ac_cv_c_inline in
12666 case $ac_cv_c_inline in
12668 *) ac_val
=$ac_cv_c_inline;;
12670 cat >>confdefs.h
<<_ACEOF
12671 #ifndef __cplusplus
12672 #define inline $ac_val
12679 # VMS doesn't have unlink.
12682 for ac_func
in unlink remove
12684 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12685 echo "$as_me:$LINENO: checking for $ac_func" >&5
12686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12687 if eval "test \"\${$as_ac_var+set}\" = set"; then
12688 echo $ECHO_N "(cached) $ECHO_C" >&6
12690 cat >conftest.
$ac_ext <<_ACEOF
12693 cat confdefs.h
>>conftest.
$ac_ext
12694 cat >>conftest.
$ac_ext <<_ACEOF
12695 /* end confdefs.h. */
12696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12698 #define $ac_func innocuous_$ac_func
12700 /* System header to define __stub macros and hopefully few prototypes,
12701 which can conflict with char $ac_func (); below.
12702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12703 <limits.h> exists even on freestanding compilers. */
12706 # include <limits.h>
12708 # include <assert.h>
12713 /* Override any gcc2 internal prototype to avoid an error. */
12718 /* We use char because int might match the return type of a gcc2
12719 builtin and then its argument prototype would still apply. */
12721 /* The GNU C library defines this for functions which it implements
12722 to always fail with ENOSYS. Some functions are actually named
12723 something starting with __ and the normal name is an alias. */
12724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12727 char (*f) () = $ac_func;
12736 return f != $ac_func;
12741 rm -f conftest.
$ac_objext conftest
$ac_exeext
12742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12743 (eval $ac_link) 2>conftest.er1
12745 grep -v '^ *+' conftest.er1
>conftest.err
12747 cat conftest.err
>&5
12748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749 (exit $ac_status); } &&
12750 { ac_try
='test -z "$ac_c_werror_flag"
12751 || test ! -s conftest.err'
12752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12753 (eval $ac_try) 2>&5
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); }; } &&
12757 { ac_try
='test -s conftest$ac_exeext'
12758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12759 (eval $ac_try) 2>&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); }; }; then
12763 eval "$as_ac_var=yes"
12765 echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.
$ac_ext >&5
12768 eval "$as_ac_var=no"
12770 rm -f conftest.err conftest.
$ac_objext \
12771 conftest
$ac_exeext conftest.
$ac_ext
12773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12775 if test `eval echo '${'$as_ac_var'}'` = yes; then
12776 cat >>confdefs.h
<<_ACEOF
12777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12784 # Some systems don't have sbrk().
12786 for ac_func
in sbrk
12788 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12789 echo "$as_me:$LINENO: checking for $ac_func" >&5
12790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12791 if eval "test \"\${$as_ac_var+set}\" = set"; then
12792 echo $ECHO_N "(cached) $ECHO_C" >&6
12794 cat >conftest.
$ac_ext <<_ACEOF
12797 cat confdefs.h
>>conftest.
$ac_ext
12798 cat >>conftest.
$ac_ext <<_ACEOF
12799 /* end confdefs.h. */
12800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12802 #define $ac_func innocuous_$ac_func
12804 /* System header to define __stub macros and hopefully few prototypes,
12805 which can conflict with char $ac_func (); below.
12806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12807 <limits.h> exists even on freestanding compilers. */
12810 # include <limits.h>
12812 # include <assert.h>
12817 /* Override any gcc2 internal prototype to avoid an error. */
12822 /* We use char because int might match the return type of a gcc2
12823 builtin and then its argument prototype would still apply. */
12825 /* The GNU C library defines this for functions which it implements
12826 to always fail with ENOSYS. Some functions are actually named
12827 something starting with __ and the normal name is an alias. */
12828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12831 char (*f) () = $ac_func;
12840 return f != $ac_func;
12845 rm -f conftest.
$ac_objext conftest
$ac_exeext
12846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12847 (eval $ac_link) 2>conftest.er1
12849 grep -v '^ *+' conftest.er1
>conftest.err
12851 cat conftest.err
>&5
12852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853 (exit $ac_status); } &&
12854 { ac_try
='test -z "$ac_c_werror_flag"
12855 || test ! -s conftest.err'
12856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12857 (eval $ac_try) 2>&5
12859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860 (exit $ac_status); }; } &&
12861 { ac_try
='test -s conftest$ac_exeext'
12862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12863 (eval $ac_try) 2>&5
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); }; }; then
12867 eval "$as_ac_var=yes"
12869 echo "$as_me: failed program was:" >&5
12870 sed 's/^/| /' conftest.
$ac_ext >&5
12872 eval "$as_ac_var=no"
12874 rm -f conftest.err conftest.
$ac_objext \
12875 conftest
$ac_exeext conftest.
$ac_ext
12877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12879 if test `eval echo '${'$as_ac_var'}'` = yes; then
12880 cat >>confdefs.h
<<_ACEOF
12881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12888 # do we need the math library?
12889 case "${need_libm}" in
12893 *-*-beos* |
*-*-cygwin* |
*-*-pw32* |
*-*-darwin*)
12894 # These system don't have libm, or don't need it
12897 echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5
12898 echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6
12899 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then
12900 echo $ECHO_N "(cached) $ECHO_C" >&6
12902 ac_check_lib_save_LIBS
=$LIBS
12904 cat >conftest.
$ac_ext <<_ACEOF
12907 cat confdefs.h
>>conftest.
$ac_ext
12908 cat >>conftest.
$ac_ext <<_ACEOF
12909 /* end confdefs.h. */
12911 /* Override any gcc2 internal prototype to avoid an error. */
12915 /* We use char because int might match the return type of a gcc2
12916 builtin and then its argument prototype would still apply. */
12917 char _mwvalidcheckl ();
12926 rm -f conftest.
$ac_objext conftest
$ac_exeext
12927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12928 (eval $ac_link) 2>conftest.er1
12930 grep -v '^ *+' conftest.er1
>conftest.err
12932 cat conftest.err
>&5
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); } &&
12935 { ac_try
='test -z "$ac_c_werror_flag"
12936 || test ! -s conftest.err'
12937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12938 (eval $ac_try) 2>&5
12940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12941 (exit $ac_status); }; } &&
12942 { ac_try
='test -s conftest$ac_exeext'
12943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12944 (eval $ac_try) 2>&5
12946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947 (exit $ac_status); }; }; then
12948 ac_cv_lib_mw__mwvalidcheckl
=yes
12950 echo "$as_me: failed program was:" >&5
12951 sed 's/^/| /' conftest.
$ac_ext >&5
12953 ac_cv_lib_mw__mwvalidcheckl
=no
12955 rm -f conftest.err conftest.
$ac_objext \
12956 conftest
$ac_exeext conftest.
$ac_ext
12957 LIBS
=$ac_check_lib_save_LIBS
12959 echo "$as_me:$LINENO: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
12960 echo "${ECHO_T}$ac_cv_lib_mw__mwvalidcheckl" >&6
12961 if test $ac_cv_lib_mw__mwvalidcheckl = yes; then
12965 echo "$as_me:$LINENO: checking for cos in -lm" >&5
12966 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
12967 if test "${ac_cv_lib_m_cos+set}" = set; then
12968 echo $ECHO_N "(cached) $ECHO_C" >&6
12970 ac_check_lib_save_LIBS
=$LIBS
12972 cat >conftest.
$ac_ext <<_ACEOF
12975 cat confdefs.h
>>conftest.
$ac_ext
12976 cat >>conftest.
$ac_ext <<_ACEOF
12977 /* end confdefs.h. */
12979 /* Override any gcc2 internal prototype to avoid an error. */
12983 /* We use char because int might match the return type of a gcc2
12984 builtin and then its argument prototype would still apply. */
12994 rm -f conftest.
$ac_objext conftest
$ac_exeext
12995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12996 (eval $ac_link) 2>conftest.er1
12998 grep -v '^ *+' conftest.er1
>conftest.err
13000 cat conftest.err
>&5
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); } &&
13003 { ac_try
='test -z "$ac_c_werror_flag"
13004 || test ! -s conftest.err'
13005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13006 (eval $ac_try) 2>&5
13008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009 (exit $ac_status); }; } &&
13010 { ac_try
='test -s conftest$ac_exeext'
13011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13012 (eval $ac_try) 2>&5
13014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13015 (exit $ac_status); }; }; then
13016 ac_cv_lib_m_cos
=yes
13018 echo "$as_me: failed program was:" >&5
13019 sed 's/^/| /' conftest.
$ac_ext >&5
13023 rm -f conftest.err conftest.
$ac_objext \
13024 conftest
$ac_exeext conftest.
$ac_ext
13025 LIBS
=$ac_check_lib_save_LIBS
13027 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
13028 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
13029 if test $ac_cv_lib_m_cos = yes; then
13035 echo "$as_me:$LINENO: checking for cos in -lm" >&5
13036 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
13037 if test "${ac_cv_lib_m_cos+set}" = set; then
13038 echo $ECHO_N "(cached) $ECHO_C" >&6
13040 ac_check_lib_save_LIBS
=$LIBS
13042 cat >conftest.
$ac_ext <<_ACEOF
13045 cat confdefs.h
>>conftest.
$ac_ext
13046 cat >>conftest.
$ac_ext <<_ACEOF
13047 /* end confdefs.h. */
13049 /* Override any gcc2 internal prototype to avoid an error. */
13053 /* We use char because int might match the return type of a gcc2
13054 builtin and then its argument prototype would still apply. */
13064 rm -f conftest.
$ac_objext conftest
$ac_exeext
13065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13066 (eval $ac_link) 2>conftest.er1
13068 grep -v '^ *+' conftest.er1
>conftest.err
13070 cat conftest.err
>&5
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); } &&
13073 { ac_try
='test -z "$ac_c_werror_flag"
13074 || test ! -s conftest.err'
13075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13076 (eval $ac_try) 2>&5
13078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079 (exit $ac_status); }; } &&
13080 { ac_try
='test -s conftest$ac_exeext'
13081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13082 (eval $ac_try) 2>&5
13084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085 (exit $ac_status); }; }; then
13086 ac_cv_lib_m_cos
=yes
13088 echo "$as_me: failed program was:" >&5
13089 sed 's/^/| /' conftest.
$ac_ext >&5
13093 rm -f conftest.err conftest.
$ac_objext \
13094 conftest
$ac_exeext conftest.
$ac_ext
13095 LIBS
=$ac_check_lib_save_LIBS
13097 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
13098 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
13099 if test $ac_cv_lib_m_cos = yes; then
13111 # Some non-ANSI preprocessors botch requoting inside strings. That's bad
13112 # enough, but on some of those systems, the assert macro relies on requoting
13113 # working properly!
13114 echo "$as_me:$LINENO: checking for working assert macro" >&5
13115 echo $ECHO_N "checking for working assert macro... $ECHO_C" >&6
13116 if test "${gas_cv_assert_ok+set}" = set; then
13117 echo $ECHO_N "(cached) $ECHO_C" >&6
13119 cat >conftest.
$ac_ext <<_ACEOF
13122 cat confdefs.h
>>conftest.
$ac_ext
13123 cat >>conftest.
$ac_ext <<_ACEOF
13124 /* end confdefs.h. */
13125 #include <assert.h>
13131 /* check for requoting problems */
13132 static int a, b, c, d;
13134 assert (!strcmp(s, "foo bar baz quux"));
13135 /* check for newline handling */
13143 rm -f conftest.
$ac_objext conftest
$ac_exeext
13144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13145 (eval $ac_link) 2>conftest.er1
13147 grep -v '^ *+' conftest.er1
>conftest.err
13149 cat conftest.err
>&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); } &&
13152 { ac_try
='test -z "$ac_c_werror_flag"
13153 || test ! -s conftest.err'
13154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13155 (eval $ac_try) 2>&5
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); }; } &&
13159 { ac_try
='test -s conftest$ac_exeext'
13160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13161 (eval $ac_try) 2>&5
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); }; }; then
13165 gas_cv_assert_ok
=yes
13167 echo "$as_me: failed program was:" >&5
13168 sed 's/^/| /' conftest.
$ac_ext >&5
13170 gas_cv_assert_ok
=no
13172 rm -f conftest.err conftest.
$ac_objext \
13173 conftest
$ac_exeext conftest.
$ac_ext
13175 echo "$as_me:$LINENO: result: $gas_cv_assert_ok" >&5
13176 echo "${ECHO_T}$gas_cv_assert_ok" >&6
13177 test $gas_cv_assert_ok = yes ||
13178 cat >>confdefs.h
<<\_ACEOF
13179 #define BROKEN_ASSERT 1
13184 # On some systems, the system header files may not declare malloc, realloc,
13185 # and free. There are places where gas needs these functions to have been
13186 # declared -- such as when taking their addresses.
13188 #ifdef HAVE_MEMORY_H
13189 #include <memory.h>
13191 #ifdef HAVE_STRING_H
13192 #include <string.h>
13194 #ifdef HAVE_STRINGS_H
13195 #include <strings.h>
13198 #ifdef HAVE_STDLIB_H
13199 #include <stdlib.h>
13201 #ifdef HAVE_UNISTD_H
13202 #include <unistd.h>
13206 # Does errno.h declare errno, or do we have to add a separate declaration
13209 echo "$as_me:$LINENO: checking whether declaration is required for errno" >&5
13210 echo $ECHO_N "checking whether declaration is required for errno... $ECHO_C" >&6
13211 if test "${gas_cv_decl_needed_errno+set}" = set; then
13212 echo $ECHO_N "(cached) $ECHO_C" >&6
13214 cat >conftest.
$ac_ext <<_ACEOF
13217 cat confdefs.h
>>conftest.
$ac_ext
13218 cat >>conftest.
$ac_ext <<_ACEOF
13219 /* end confdefs.h. */
13221 #ifdef HAVE_ERRNO_H
13237 rm -f conftest.
$ac_objext conftest
$ac_exeext
13238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13239 (eval $ac_link) 2>conftest.er1
13241 grep -v '^ *+' conftest.er1
>conftest.err
13243 cat conftest.err
>&5
13244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245 (exit $ac_status); } &&
13246 { ac_try
='test -z "$ac_c_werror_flag"
13247 || test ! -s conftest.err'
13248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13249 (eval $ac_try) 2>&5
13251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13252 (exit $ac_status); }; } &&
13253 { ac_try
='test -s conftest$ac_exeext'
13254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13255 (eval $ac_try) 2>&5
13257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13258 (exit $ac_status); }; }; then
13259 gas_cv_decl_needed_errno
=no
13261 echo "$as_me: failed program was:" >&5
13262 sed 's/^/| /' conftest.
$ac_ext >&5
13264 gas_cv_decl_needed_errno
=yes
13266 rm -f conftest.err conftest.
$ac_objext \
13267 conftest
$ac_exeext conftest.
$ac_ext
13269 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_errno" >&5
13270 echo "${ECHO_T}$gas_cv_decl_needed_errno" >&6
13271 if test $gas_cv_decl_needed_errno = yes; then
13273 cat >>confdefs.h
<<\_ACEOF
13274 #define NEED_DECLARATION_ERRNO 1
13280 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
13281 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
13282 if test "${gas_cv_decl_getopt_unistd_h+set}" = set; then
13283 echo $ECHO_N "(cached) $ECHO_C" >&6
13285 cat >conftest.
$ac_ext <<_ACEOF
13288 cat confdefs.h
>>conftest.
$ac_ext
13289 cat >>conftest.
$ac_ext <<_ACEOF
13290 /* end confdefs.h. */
13291 #include <unistd.h>
13295 extern int getopt (int, char *const*, const char *);
13300 rm -f conftest.
$ac_objext
13301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13302 (eval $ac_compile) 2>conftest.er1
13304 grep -v '^ *+' conftest.er1
>conftest.err
13306 cat conftest.err
>&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } &&
13309 { ac_try
='test -z "$ac_c_werror_flag"
13310 || test ! -s conftest.err'
13311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13312 (eval $ac_try) 2>&5
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; } &&
13316 { ac_try
='test -s conftest.$ac_objext'
13317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13318 (eval $ac_try) 2>&5
13320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321 (exit $ac_status); }; }; then
13322 gas_cv_decl_getopt_unistd_h
=yes
13324 echo "$as_me: failed program was:" >&5
13325 sed 's/^/| /' conftest.
$ac_ext >&5
13327 gas_cv_decl_getopt_unistd_h
=no
13329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13332 echo "$as_me:$LINENO: result: $gas_cv_decl_getopt_unistd_h" >&5
13333 echo "${ECHO_T}$gas_cv_decl_getopt_unistd_h" >&6
13334 if test $gas_cv_decl_getopt_unistd_h = yes; then
13336 cat >>confdefs.h
<<\_ACEOF
13337 #define HAVE_DECL_GETOPT 1
13343 echo "$as_me:$LINENO: checking whether declaration is required for environ" >&5
13344 echo $ECHO_N "checking whether declaration is required for environ... $ECHO_C" >&6
13345 if test "${gas_cv_decl_needed_environ+set}" = set; then
13346 echo $ECHO_N "(cached) $ECHO_C" >&6
13348 cat >conftest.
$ac_ext <<_ACEOF
13351 cat confdefs.h
>>conftest.
$ac_ext
13352 cat >>conftest.
$ac_ext <<_ACEOF
13353 /* end confdefs.h. */
13367 rm -f conftest.
$ac_objext conftest
$ac_exeext
13368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13369 (eval $ac_link) 2>conftest.er1
13371 grep -v '^ *+' conftest.er1
>conftest.err
13373 cat conftest.err
>&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); } &&
13376 { ac_try
='test -z "$ac_c_werror_flag"
13377 || test ! -s conftest.err'
13378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13379 (eval $ac_try) 2>&5
13381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13382 (exit $ac_status); }; } &&
13383 { ac_try
='test -s conftest$ac_exeext'
13384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13385 (eval $ac_try) 2>&5
13387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 (exit $ac_status); }; }; then
13389 gas_cv_decl_needed_environ
=no
13391 echo "$as_me: failed program was:" >&5
13392 sed 's/^/| /' conftest.
$ac_ext >&5
13394 gas_cv_decl_needed_environ
=yes
13396 rm -f conftest.err conftest.
$ac_objext \
13397 conftest
$ac_exeext conftest.
$ac_ext
13399 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_environ" >&5
13400 echo "${ECHO_T}$gas_cv_decl_needed_environ" >&6
13401 if test $gas_cv_decl_needed_environ = yes; then
13403 cat >>confdefs.h
<<\_ACEOF
13404 #define NEED_DECLARATION_ENVIRON 1
13410 echo "$as_me:$LINENO: checking whether declaration is required for ffs" >&5
13411 echo $ECHO_N "checking whether declaration is required for ffs... $ECHO_C" >&6
13412 if test "${gas_cv_decl_needed_ffs+set}" = set; then
13413 echo $ECHO_N "(cached) $ECHO_C" >&6
13415 cat >conftest.
$ac_ext <<_ACEOF
13418 cat confdefs.h
>>conftest.
$ac_ext
13419 cat >>conftest.
$ac_ext <<_ACEOF
13420 /* end confdefs.h. */
13426 typedef int (*f)(int);
13434 rm -f conftest.
$ac_objext conftest
$ac_exeext
13435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13436 (eval $ac_link) 2>conftest.er1
13438 grep -v '^ *+' conftest.er1
>conftest.err
13440 cat conftest.err
>&5
13441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442 (exit $ac_status); } &&
13443 { ac_try
='test -z "$ac_c_werror_flag"
13444 || test ! -s conftest.err'
13445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13446 (eval $ac_try) 2>&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); }; } &&
13450 { ac_try
='test -s conftest$ac_exeext'
13451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13452 (eval $ac_try) 2>&5
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); }; }; then
13456 gas_cv_decl_needed_ffs
=no
13458 echo "$as_me: failed program was:" >&5
13459 sed 's/^/| /' conftest.
$ac_ext >&5
13461 gas_cv_decl_needed_ffs
=yes
13463 rm -f conftest.err conftest.
$ac_objext \
13464 conftest
$ac_exeext conftest.
$ac_ext
13466 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_ffs" >&5
13467 echo "${ECHO_T}$gas_cv_decl_needed_ffs" >&6
13468 if test $gas_cv_decl_needed_ffs = yes; then
13470 cat >>confdefs.h
<<\_ACEOF
13471 #define NEED_DECLARATION_FFS 1
13477 echo "$as_me:$LINENO: checking whether declaration is required for free" >&5
13478 echo $ECHO_N "checking whether declaration is required for free... $ECHO_C" >&6
13479 if test "${gas_cv_decl_needed_free+set}" = set; then
13480 echo $ECHO_N "(cached) $ECHO_C" >&6
13482 cat >conftest.
$ac_ext <<_ACEOF
13485 cat confdefs.h
>>conftest.
$ac_ext
13486 cat >>conftest.
$ac_ext <<_ACEOF
13487 /* end confdefs.h. */
13493 typedef void (*f)();
13501 rm -f conftest.
$ac_objext conftest
$ac_exeext
13502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13503 (eval $ac_link) 2>conftest.er1
13505 grep -v '^ *+' conftest.er1
>conftest.err
13507 cat conftest.err
>&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); } &&
13510 { ac_try
='test -z "$ac_c_werror_flag"
13511 || test ! -s conftest.err'
13512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13513 (eval $ac_try) 2>&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); }; } &&
13517 { ac_try
='test -s conftest$ac_exeext'
13518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13519 (eval $ac_try) 2>&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; }; then
13523 gas_cv_decl_needed_free
=no
13525 echo "$as_me: failed program was:" >&5
13526 sed 's/^/| /' conftest.
$ac_ext >&5
13528 gas_cv_decl_needed_free
=yes
13530 rm -f conftest.err conftest.
$ac_objext \
13531 conftest
$ac_exeext conftest.
$ac_ext
13533 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_free" >&5
13534 echo "${ECHO_T}$gas_cv_decl_needed_free" >&6
13535 if test $gas_cv_decl_needed_free = yes; then
13537 cat >>confdefs.h
<<\_ACEOF
13538 #define NEED_DECLARATION_FREE 1
13544 echo "$as_me:$LINENO: checking whether declaration is required for malloc" >&5
13545 echo $ECHO_N "checking whether declaration is required for malloc... $ECHO_C" >&6
13546 if test "${gas_cv_decl_needed_malloc+set}" = set; then
13547 echo $ECHO_N "(cached) $ECHO_C" >&6
13549 cat >conftest.
$ac_ext <<_ACEOF
13552 cat confdefs.h
>>conftest.
$ac_ext
13553 cat >>conftest.
$ac_ext <<_ACEOF
13554 /* end confdefs.h. */
13560 typedef char *(*f)();
13568 rm -f conftest.
$ac_objext conftest
$ac_exeext
13569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13570 (eval $ac_link) 2>conftest.er1
13572 grep -v '^ *+' conftest.er1
>conftest.err
13574 cat conftest.err
>&5
13575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13576 (exit $ac_status); } &&
13577 { ac_try
='test -z "$ac_c_werror_flag"
13578 || test ! -s conftest.err'
13579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13580 (eval $ac_try) 2>&5
13582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13583 (exit $ac_status); }; } &&
13584 { ac_try
='test -s conftest$ac_exeext'
13585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13586 (eval $ac_try) 2>&5
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 (exit $ac_status); }; }; then
13590 gas_cv_decl_needed_malloc
=no
13592 echo "$as_me: failed program was:" >&5
13593 sed 's/^/| /' conftest.
$ac_ext >&5
13595 gas_cv_decl_needed_malloc
=yes
13597 rm -f conftest.err conftest.
$ac_objext \
13598 conftest
$ac_exeext conftest.
$ac_ext
13600 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_malloc" >&5
13601 echo "${ECHO_T}$gas_cv_decl_needed_malloc" >&6
13602 if test $gas_cv_decl_needed_malloc = yes; then
13604 cat >>confdefs.h
<<\_ACEOF
13605 #define NEED_DECLARATION_MALLOC 1
13611 echo "$as_me:$LINENO: checking whether declaration is required for sbrk" >&5
13612 echo $ECHO_N "checking whether declaration is required for sbrk... $ECHO_C" >&6
13613 if test "${gas_cv_decl_needed_sbrk+set}" = set; then
13614 echo $ECHO_N "(cached) $ECHO_C" >&6
13616 cat >conftest.
$ac_ext <<_ACEOF
13619 cat confdefs.h
>>conftest.
$ac_ext
13620 cat >>conftest.
$ac_ext <<_ACEOF
13621 /* end confdefs.h. */
13627 typedef char *(*f)();
13635 rm -f conftest.
$ac_objext conftest
$ac_exeext
13636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13637 (eval $ac_link) 2>conftest.er1
13639 grep -v '^ *+' conftest.er1
>conftest.err
13641 cat conftest.err
>&5
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 (exit $ac_status); } &&
13644 { ac_try
='test -z "$ac_c_werror_flag"
13645 || test ! -s conftest.err'
13646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13647 (eval $ac_try) 2>&5
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); }; } &&
13651 { ac_try
='test -s conftest$ac_exeext'
13652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13653 (eval $ac_try) 2>&5
13655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656 (exit $ac_status); }; }; then
13657 gas_cv_decl_needed_sbrk
=no
13659 echo "$as_me: failed program was:" >&5
13660 sed 's/^/| /' conftest.
$ac_ext >&5
13662 gas_cv_decl_needed_sbrk
=yes
13664 rm -f conftest.err conftest.
$ac_objext \
13665 conftest
$ac_exeext conftest.
$ac_ext
13667 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_sbrk" >&5
13668 echo "${ECHO_T}$gas_cv_decl_needed_sbrk" >&6
13669 if test $gas_cv_decl_needed_sbrk = yes; then
13671 cat >>confdefs.h
<<\_ACEOF
13672 #define NEED_DECLARATION_SBRK 1
13678 echo "$as_me:$LINENO: checking whether declaration is required for strstr" >&5
13679 echo $ECHO_N "checking whether declaration is required for strstr... $ECHO_C" >&6
13680 if test "${gas_cv_decl_needed_strstr+set}" = set; then
13681 echo $ECHO_N "(cached) $ECHO_C" >&6
13683 cat >conftest.
$ac_ext <<_ACEOF
13686 cat confdefs.h
>>conftest.
$ac_ext
13687 cat >>conftest.
$ac_ext <<_ACEOF
13688 /* end confdefs.h. */
13694 typedef char *(*f)();
13702 rm -f conftest.
$ac_objext conftest
$ac_exeext
13703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13704 (eval $ac_link) 2>conftest.er1
13706 grep -v '^ *+' conftest.er1
>conftest.err
13708 cat conftest.err
>&5
13709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13710 (exit $ac_status); } &&
13711 { ac_try
='test -z "$ac_c_werror_flag"
13712 || test ! -s conftest.err'
13713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13714 (eval $ac_try) 2>&5
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); }; } &&
13718 { ac_try
='test -s conftest$ac_exeext'
13719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720 (eval $ac_try) 2>&5
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); }; }; then
13724 gas_cv_decl_needed_strstr
=no
13726 echo "$as_me: failed program was:" >&5
13727 sed 's/^/| /' conftest.
$ac_ext >&5
13729 gas_cv_decl_needed_strstr
=yes
13731 rm -f conftest.err conftest.
$ac_objext \
13732 conftest
$ac_exeext conftest.
$ac_ext
13734 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_strstr" >&5
13735 echo "${ECHO_T}$gas_cv_decl_needed_strstr" >&6
13736 if test $gas_cv_decl_needed_strstr = yes; then
13738 cat >>confdefs.h
<<\_ACEOF
13739 #define NEED_DECLARATION_STRSTR 1
13745 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
13746 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
13747 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13750 cat >conftest.
$ac_ext <<_ACEOF
13753 cat confdefs.h
>>conftest.
$ac_ext
13754 cat >>conftest.
$ac_ext <<_ACEOF
13755 /* end confdefs.h. */
13756 $ac_includes_default
13761 char *p = (char *) vsnprintf;
13768 rm -f conftest.
$ac_objext
13769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13770 (eval $ac_compile) 2>conftest.er1
13772 grep -v '^ *+' conftest.er1
>conftest.err
13774 cat conftest.err
>&5
13775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776 (exit $ac_status); } &&
13777 { ac_try
='test -z "$ac_c_werror_flag"
13778 || test ! -s conftest.err'
13779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13780 (eval $ac_try) 2>&5
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); }; } &&
13784 { ac_try
='test -s conftest.$ac_objext'
13785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13786 (eval $ac_try) 2>&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); }; }; then
13790 ac_cv_have_decl_vsnprintf
=yes
13792 echo "$as_me: failed program was:" >&5
13793 sed 's/^/| /' conftest.
$ac_ext >&5
13795 ac_cv_have_decl_vsnprintf
=no
13797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13799 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
13800 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
13801 if test $ac_cv_have_decl_vsnprintf = yes; then
13803 cat >>confdefs.h
<<_ACEOF
13804 #define HAVE_DECL_VSNPRINTF 1
13809 cat >>confdefs.h
<<_ACEOF
13810 #define HAVE_DECL_VSNPRINTF 0
13820 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
13822 cat >>confdefs.h
<<\_ACEOF
13823 #define USE_BINARY_FOPEN 1
13834 ac_config_files
="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
13836 ac_config_commands
="$ac_config_commands default"
13839 cat >confcache
<<\_ACEOF
13840 # This file is a shell script that caches the results of configure
13841 # tests run on this system so they can be shared between configure
13842 # scripts and configure runs, see configure's option --config-cache.
13843 # It is not useful on other systems. If it contains results you don't
13844 # want to keep, you may remove or edit it.
13846 # config.status only pays attention to the cache file if you give it
13847 # the --recheck option to rerun configure.
13849 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13850 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13851 # following values.
13855 # The following way of writing the cache mishandles newlines in values,
13856 # but we know of no workaround that is simple, portable, and efficient.
13857 # So, don't put newlines in cache variables' values.
13858 # Ultrix sh set writes to stderr and can't be redirected directly,
13859 # and sets the high bit in the cache file unless we assign to the vars.
13862 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13864 # `set' does not quote correctly, so add quotes (double-quote
13865 # substitution turns \\\\ into \\, and sed turns \\ into \).
13868 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13871 # `set' quotes correctly as required by POSIX, so do not add quotes.
13873 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13880 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13882 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13884 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
13885 if test -w $cache_file; then
13886 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13887 cat confcache
>$cache_file
13889 echo "not updating unwritable cache $cache_file"
13894 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13895 # Let make expand exec_prefix.
13896 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13898 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13899 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13900 # trailing colons and then remove the whole line if VPATH becomes empty
13901 # (actually we leave an empty line to preserve line numbers).
13902 if test "x$srcdir" = x.
; then
13903 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13904 s/:*\$(srcdir):*/:/;
13905 s/:*\${srcdir}:*/:/;
13907 s/^\([^=]*=[ ]*\):*/\1/;
13913 DEFS
=-DHAVE_CONFIG_H
13917 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13918 # 1. Remove the extension, and $U if already installed.
13919 ac_i
=`echo "$ac_i" |
13920 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
13922 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
13923 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
13925 LIBOBJS
=$ac_libobjs
13927 LTLIBOBJS
=$ac_ltlibobjs
13930 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13931 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13932 Usually this means the macro was only invoked conditionally." >&5
13933 echo "$as_me: error: conditional \"AMDEP\" was never defined.
13934 Usually this means the macro was only invoked conditionally." >&2;}
13935 { (exit 1); exit 1; }; }
13937 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13938 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13939 Usually this means the macro was only invoked conditionally." >&5
13940 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13941 Usually this means the macro was only invoked conditionally." >&2;}
13942 { (exit 1); exit 1; }; }
13944 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13945 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13946 Usually this means the macro was only invoked conditionally." >&5
13947 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13948 Usually this means the macro was only invoked conditionally." >&2;}
13949 { (exit 1); exit 1; }; }
13951 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
13952 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
13953 Usually this means the macro was only invoked conditionally." >&5
13954 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
13955 Usually this means the macro was only invoked conditionally." >&2;}
13956 { (exit 1); exit 1; }; }
13959 : ${CONFIG_STATUS=./config.status}
13960 ac_clean_files_save
=$ac_clean_files
13961 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13962 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13963 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13964 cat >$CONFIG_STATUS <<_ACEOF
13966 # Generated by $as_me.
13967 # Run this file to recreate the current configuration.
13968 # Compiler output produced by configure, useful for debugging
13969 # configure, is in config.log if it exists.
13972 ac_cs_recheck=false
13974 SHELL=\${CONFIG_SHELL-$SHELL}
13977 cat >>$CONFIG_STATUS <<\_ACEOF
13978 ## --------------------- ##
13979 ## M4sh Initialization. ##
13980 ## --------------------- ##
13982 # Be Bourne compatible
13983 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13986 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13987 # is contrary to our usage. Disable this feature.
13988 alias -g '${1+"$@"}'='"$@"'
13989 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
13992 DUALCASE
=1; export DUALCASE
# for MKS sh
13994 # Support unset when possible.
13995 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
14002 # Work around bugs in pre-3.0 UWIN ksh.
14003 $as_unset ENV MAIL MAILPATH
14010 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14011 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14012 LC_TELEPHONE LC_TIME
14014 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14015 eval $as_var=C
; export $as_var
14021 # Required to use basename.
14022 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14028 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
14029 as_basename
=basename
14035 # Name of the executable.
14036 as_me
=`$as_basename "$0" ||
14037 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14038 X"$0" : 'X\(//\)$' \| \
14039 X"$0" : 'X\(/\)$' \| \
14040 . : '\(.\)' 2>/dev/null ||
14042 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14043 /^X\/\(\/\/\)$/{ s//\1/; q; }
14044 /^X\/\(\/\).*/{ s//\1/; q; }
14048 # PATH needs CR, and LINENO needs CR and PATH.
14049 # Avoid depending upon Character Ranges.
14050 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14051 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14052 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14053 as_cr_digits
='0123456789'
14054 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14056 # The user is always right.
14057 if test "${PATH_SEPARATOR+set}" != set; then
14058 echo "#! /bin/sh" >conf$$.sh
14059 echo "exit 0" >>conf$$.sh
14061 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14070 as_lineno_1
=$LINENO
14071 as_lineno_2
=$LINENO
14072 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
14073 test "x$as_lineno_1" != "x$as_lineno_2" &&
14074 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
14075 # Find who we are. Look in the path if we contain no path at all
14078 *[\\/]* ) as_myself
=$0 ;;
14079 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14080 for as_dir
in $PATH
14083 test -z "$as_dir" && as_dir
=.
14084 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14089 # We did not find ourselves, most probably we were run as `sh COMMAND'
14090 # in which case we are not to be found in the path.
14091 if test "x$as_myself" = x
; then
14094 if test ! -f "$as_myself"; then
14095 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14096 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14097 { (exit 1); exit 1; }; }
14099 case $CONFIG_SHELL in
14101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14102 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
14105 test -z "$as_dir" && as_dir
=.
14106 for as_base
in sh bash ksh sh5
; do
14109 if ("$as_dir/$as_base" -c '
14110 as_lineno_1=$LINENO
14111 as_lineno_2=$LINENO
14112 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14113 test "x$as_lineno_1" != "x$as_lineno_2" &&
14114 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
14115 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
14116 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
14117 CONFIG_SHELL
=$as_dir/$as_base
14118 export CONFIG_SHELL
14119 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14127 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14128 # uniformly replaced by the line number. The first 'sed' inserts a
14129 # line-number line before each line; the second 'sed' does the real
14130 # work. The second script uses 'N' to pair each line-number line
14131 # with the numbered line, and appends trailing '-' during
14132 # substitution so that $LINENO is not a special case at line end.
14133 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14134 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14135 sed '=' <$as_myself |
14140 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14143 s,^['$as_cr_digits']*\n,,
14144 ' >$as_me.lineno
&&
14145 chmod +x
$as_me.lineno ||
14146 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14147 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14148 { (exit 1); exit 1; }; }
14150 # Don't try to exec as it changes $[0], causing all sort of problems
14151 # (the dirname of $[0] is not the place where we might find the
14152 # original and so on. Autoconf is especially sensible to this).
14154 # Exit status is that of the last command.
14159 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14160 *c
*,-n*) ECHO_N
= ECHO_C
='
14162 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
14163 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
14166 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14172 rm -f conf$$ conf$$.exe conf$$.
file
14174 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14175 # We could just check for DJGPP; but this test a) works b) is more generic
14176 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14177 if test -f conf$$.exe
; then
14178 # Don't use ln at all; we don't have any links
14183 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14188 rm -f conf$$ conf$$.exe conf$$.
file
14190 if mkdir
-p .
2>/dev
/null
; then
14193 test -d .
/-p && rmdir .
/-p
14197 as_executable_p
="test -f"
14199 # Sed expression to map a string onto a valid CPP name.
14200 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14202 # Sed expression to map a string onto a valid variable name.
14203 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14207 # We need space, tab and new line, in precisely that order.
14217 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14218 # report actual input values of CONFIG_FILES etc. instead of their
14219 # values after options handling. Logging --version etc. is OK.
14223 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14224 ## Running $as_me. ##
14229 This file was extended by $as_me, which was
14230 generated by GNU Autoconf 2.59. Invocation command line was
14232 CONFIG_FILES = $CONFIG_FILES
14233 CONFIG_HEADERS = $CONFIG_HEADERS
14234 CONFIG_LINKS = $CONFIG_LINKS
14235 CONFIG_COMMANDS = $CONFIG_COMMANDS
14239 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14243 # Files that config.status was made for.
14244 if test -n "$ac_config_files"; then
14245 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14248 if test -n "$ac_config_headers"; then
14249 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14252 if test -n "$ac_config_links"; then
14253 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14256 if test -n "$ac_config_commands"; then
14257 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14260 cat >>$CONFIG_STATUS <<\_ACEOF
14263 \`$as_me' instantiates files from templates according to the
14264 current configuration.
14266 Usage: $0 [OPTIONS] [FILE]...
14268 -h, --help print this help, then exit
14269 -V, --version print version number, then exit
14270 -q, --quiet do not print progress messages
14271 -d, --debug don't remove temporary files
14272 --recheck update $as_me by reconfiguring in the same conditions
14273 --file=FILE[:TEMPLATE]
14274 instantiate the configuration file FILE
14275 --header=FILE[:TEMPLATE]
14276 instantiate the configuration header FILE
14278 Configuration files:
14281 Configuration headers:
14284 Configuration commands:
14287 Report bugs to <bug-autoconf@gnu.org>."
14290 cat >>$CONFIG_STATUS <<_ACEOF
14293 configured by $0, generated by GNU Autoconf 2.59,
14294 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14296 Copyright (C) 2003 Free Software Foundation, Inc.
14297 This config.status script is free software; the Free Software Foundation
14298 gives unlimited permission to copy, distribute and modify it."
14303 cat >>$CONFIG_STATUS <<\_ACEOF
14304 # If no file are specified by the user, then we need to provide default
14305 # value. By we need to know if files were specified by the user.
14311 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
14312 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
14320 *) # This is not an option, so the user has probably given explicit
14323 ac_need_defaults
=false
;;
14327 # Handling of the options.
14329 cat >>$CONFIG_STATUS <<\_ACEOF
14330 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14332 --version |
--vers* |
-V )
14333 echo "$ac_cs_version"; exit 0 ;;
14335 # Conflict between --help and --header
14336 { { echo "$as_me:$LINENO: error: ambiguous option: $1
14337 Try \`$0 --help' for more information." >&5
14338 echo "$as_me: error: ambiguous option: $1
14339 Try \`$0 --help' for more information." >&2;}
14340 { (exit 1); exit 1; }; };;
14341 --help |
--hel |
-h )
14342 echo "$ac_cs_usage"; exit 0 ;;
14343 --debug |
--d* |
-d )
14345 --file |
--fil |
--fi |
--f )
14347 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
14348 ac_need_defaults
=false
;;
14349 --header |
--heade |
--head |
--hea )
14351 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
14352 ac_need_defaults
=false
;;
14353 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14354 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14357 # This is an error.
14358 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14359 Try \`$0 --help' for more information." >&5
14360 echo "$as_me: error: unrecognized option: $1
14361 Try \`$0 --help' for more information." >&2;}
14362 { (exit 1); exit 1; }; } ;;
14364 *) ac_config_targets
="$ac_config_targets $1" ;;
14370 ac_configure_extra_args
=
14372 if $ac_cs_silent; then
14374 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14378 cat >>$CONFIG_STATUS <<_ACEOF
14379 if \$ac_cs_recheck; then
14380 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
14381 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14386 cat >>$CONFIG_STATUS <<_ACEOF
14388 # INIT-COMMANDS section.
14391 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14394 # The HP-UX ksh and POSIX shell print the target directory to stdout
14395 # if CDPATH is set.
14396 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14398 sed_quote_subst='$sed_quote_subst'
14399 double_quote_subst='$double_quote_subst'
14400 delay_variable_subst='$delay_variable_subst'
14401 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14402 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14403 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14404 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14405 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14406 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14407 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14408 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14409 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14410 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14411 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14412 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14413 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14414 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14415 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14416 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14417 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14418 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14419 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14420 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14421 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14422 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14423 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14424 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14425 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14426 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14427 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14428 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14429 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14430 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14431 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14432 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14433 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14434 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14435 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14436 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14437 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14438 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14439 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14440 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14441 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14442 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14443 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14444 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"`'
14445 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14446 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14447 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14448 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14449 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14450 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14451 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14452 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14453 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14454 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14455 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14456 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14457 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14458 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14459 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14460 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14461 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14462 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14463 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14464 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14465 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14466 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14467 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14468 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14469 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14470 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14471 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14472 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14473 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14474 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14475 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14476 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14477 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14478 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14479 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14480 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14481 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14482 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14483 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14484 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14485 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14486 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14487 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14488 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14489 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14490 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14491 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14492 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14493 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14494 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14495 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14496 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14497 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14498 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14499 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14500 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14501 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14502 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14503 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14504 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14505 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14506 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14507 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14508 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14509 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14510 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14511 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14514 LTCFLAGS='$LTCFLAGS'
14515 compiler='$compiler_DEFAULT'
14517 # Quote evaled strings.
14528 deplibs_check_method \
14537 lt_cv_sys_global_symbol_pipe \
14538 lt_cv_sys_global_symbol_to_cdecl \
14539 lt_cv_sys_global_symbol_to_c_name_address \
14542 lt_prog_compiler_no_builtin_flag \
14543 lt_prog_compiler_wl \
14544 lt_prog_compiler_pic \
14545 lt_prog_compiler_static \
14546 lt_cv_prog_compiler_c_o \
14549 export_dynamic_flag_spec \
14550 whole_archive_flag_spec \
14551 compiler_needs_object \
14553 allow_undefined_flag \
14554 no_undefined_flag \
14555 hardcode_libdir_flag_spec \
14556 hardcode_libdir_flag_spec_ld \
14557 hardcode_libdir_separator \
14562 variables_saved_for_relink \
14564 library_names_spec \
14569 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14570 *[\\\\\\\`\\"\\\$]*)
14571 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14574 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14579 # Double-quote double-evaled strings.
14580 for var in reload_cmds \
14581 old_postinstall_cmds \
14582 old_postuninstall_cmds \
14584 extract_expsyms_cmds \
14585 old_archive_from_new_cmds \
14586 old_archive_from_expsyms_cmds \
14588 archive_expsym_cmds \
14590 module_expsym_cmds \
14591 export_symbols_cmds \
14594 postuninstall_cmds \
14596 sys_lib_search_path_spec \
14597 sys_lib_dlsearch_path_spec; do
14598 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14599 *[\\\\\\\`\\"\\\$]*)
14600 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14603 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14608 # Fix-up fallback echo if it was mangled by the above quoting rules.
14610 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14614 ac_aux_dir='$ac_aux_dir'
14615 xsi_shell='$xsi_shell'
14616 lt_shell_append='$lt_shell_append'
14618 # See if we are running on zsh, and set the options which allow our
14619 # commands through without removal of \ escapes INIT.
14620 if test -n "\${ZSH_VERSION+set}" ; then
14621 setopt NO_GLOB_SUBST
14627 TIMESTAMP='$TIMESTAMP'
14633 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
14634 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
14636 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
14637 # Capture the value of LINGUAS because we need it to compute CATALOGS.
14638 LINGUAS="${LINGUAS-%UNSET%}"
14640 target_cpu_type=${target_cpu_type}
14641 cgen_cpu_prefix=${cgen_cpu_prefix}
14642 obj_format=${obj_format}
14649 cat >>$CONFIG_STATUS <<\_ACEOF
14650 for ac_config_target
in $ac_config_targets
14652 case "$ac_config_target" in
14653 # Handling of arguments.
14654 "gdb.ini" ) CONFIG_FILES
="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
14655 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
14656 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14657 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
14658 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
14659 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14660 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14661 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
14662 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
14663 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
14664 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14665 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14666 { (exit 1); exit 1; }; };;
14670 # If the user did not use the arguments to specify the items to instantiate,
14671 # then the envvar interface is used. Set only those that are not.
14672 # We use the long form for the default assignment because of an extremely
14673 # bizarre bug on SunOS 4.1.3.
14674 if $ac_need_defaults; then
14675 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14676 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14677 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14680 # Have a temporary directory for convenience. Make it in the build tree
14681 # simply because there is no reason to put it here, and in addition,
14682 # creating and moving files from /tmp can sometimes cause problems.
14683 # Create a temporary directory, and hook for its removal unless debugging.
14686 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14687 trap '{ (exit 1); exit 1; }' 1 2 13 15
14690 # Create a (secure) tmp directory for tmp files.
14693 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
14694 test -n "$tmp" && test -d "$tmp"
14697 tmp
=.
/confstat$$
-$RANDOM
14698 (umask 077 && mkdir
$tmp)
14701 echo "$me: cannot create a temporary directory in ." >&2
14702 { (exit 1); exit 1; }
14707 cat >>$CONFIG_STATUS <<_ACEOF
14710 # CONFIG_FILES section.
14713 # No need to generate the scripts if there are no CONFIG_FILES.
14714 # This happens for instance when ./config.status config.h
14715 if test -n "\$CONFIG_FILES"; then
14716 # Protect against being on the right side of a sed subst in config.status.
14717 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14718 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14719 s,@SHELL@,$SHELL,;t t
14720 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14721 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14722 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14723 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14724 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14725 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14726 s,@exec_prefix@,$exec_prefix,;t t
14727 s,@prefix@,$prefix,;t t
14728 s,@program_transform_name@,$program_transform_name,;t t
14729 s,@bindir@,$bindir,;t t
14730 s,@sbindir@,$sbindir,;t t
14731 s,@libexecdir@,$libexecdir,;t t
14732 s,@datadir@,$datadir,;t t
14733 s,@sysconfdir@,$sysconfdir,;t t
14734 s,@sharedstatedir@,$sharedstatedir,;t t
14735 s,@localstatedir@,$localstatedir,;t t
14736 s,@libdir@,$libdir,;t t
14737 s,@includedir@,$includedir,;t t
14738 s,@oldincludedir@,$oldincludedir,;t t
14739 s,@infodir@,$infodir,;t t
14740 s,@mandir@,$mandir,;t t
14741 s,@build_alias@,$build_alias,;t t
14742 s,@host_alias@,$host_alias,;t t
14743 s,@target_alias@,$target_alias,;t t
14744 s,@DEFS@,$DEFS,;t t
14745 s,@ECHO_C@,$ECHO_C,;t t
14746 s,@ECHO_N@,$ECHO_N,;t t
14747 s,@ECHO_T@,$ECHO_T,;t t
14748 s,@LIBS@,$LIBS,;t t
14749 s,@build@,$build,;t t
14750 s,@build_cpu@,$build_cpu,;t t
14751 s,@build_vendor@,$build_vendor,;t t
14752 s,@build_os@,$build_os,;t t
14753 s,@host@,$host,;t t
14754 s,@host_cpu@,$host_cpu,;t t
14755 s,@host_vendor@,$host_vendor,;t t
14756 s,@host_os@,$host_os,;t t
14757 s,@target@,$target,;t t
14758 s,@target_cpu@,$target_cpu,;t t
14759 s,@target_vendor@,$target_vendor,;t t
14760 s,@target_os@,$target_os,;t t
14762 s,@CFLAGS@,$CFLAGS,;t t
14763 s,@LDFLAGS@,$LDFLAGS,;t t
14764 s,@CPPFLAGS@,$CPPFLAGS,;t t
14765 s,@ac_ct_CC@,$ac_ct_CC,;t t
14766 s,@EXEEXT@,$EXEEXT,;t t
14767 s,@OBJEXT@,$OBJEXT,;t t
14768 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14769 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14770 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14771 s,@CYGPATH_W@,$CYGPATH_W,;t t
14772 s,@PACKAGE@,$PACKAGE,;t t
14773 s,@VERSION@,$VERSION,;t t
14774 s,@ACLOCAL@,$ACLOCAL,;t t
14775 s,@AUTOCONF@,$AUTOCONF,;t t
14776 s,@AUTOMAKE@,$AUTOMAKE,;t t
14777 s,@AUTOHEADER@,$AUTOHEADER,;t t
14778 s,@MAKEINFO@,$MAKEINFO,;t t
14779 s,@install_sh@,$install_sh,;t t
14780 s,@STRIP@,$STRIP,;t t
14781 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
14782 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
14783 s,@mkdir_p@,$mkdir_p,;t t
14785 s,@SET_MAKE@,$SET_MAKE,;t t
14786 s,@am__leading_dot@,$am__leading_dot,;t t
14787 s,@AMTAR@,$AMTAR,;t t
14788 s,@am__tar@,$am__tar,;t t
14789 s,@am__untar@,$am__untar,;t t
14790 s,@DEPDIR@,$DEPDIR,;t t
14791 s,@am__include@,$am__include,;t t
14792 s,@am__quote@,$am__quote,;t t
14793 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
14794 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
14795 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
14796 s,@CCDEPMODE@,$CCDEPMODE,;t t
14797 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
14798 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
14799 s,@LIBTOOL@,$LIBTOOL,;t t
14801 s,@EGREP@,$EGREP,;t t
14802 s,@FGREP@,$FGREP,;t t
14803 s,@GREP@,$GREP,;t t
14805 s,@DUMPBIN@,$DUMPBIN,;t t
14806 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
14808 s,@LN_S@,$LN_S,;t t
14810 s,@ac_ct_AR@,$ac_ct_AR,;t t
14811 s,@RANLIB@,$RANLIB,;t t
14812 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14813 s,@lt_ECHO@,$lt_ECHO,;t t
14815 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
14816 s,@NO_WERROR@,$NO_WERROR,;t t
14817 s,@GDBINIT@,$GDBINIT,;t t
14818 s,@cgen_cpu_prefix@,$cgen_cpu_prefix,;t t
14819 s,@extra_objects@,$extra_objects,;t t
14820 s,@target_cpu_type@,$target_cpu_type,;t t
14821 s,@obj_format@,$obj_format,;t t
14822 s,@te_file@,$te_file,;t t
14823 s,@install_tooldir@,$install_tooldir,;t t
14824 s,@atof@,$atof,;t t
14825 s,@OPCODES_LIB@,$OPCODES_LIB,;t t
14826 s,@YACC@,$YACC,;t t
14828 s,@LEXLIB@,$LEXLIB,;t t
14829 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
14830 s,@USE_NLS@,$USE_NLS,;t t
14831 s,@LIBINTL@,$LIBINTL,;t t
14832 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
14833 s,@INCINTL@,$INCINTL,;t t
14834 s,@XGETTEXT@,$XGETTEXT,;t t
14835 s,@GMSGFMT@,$GMSGFMT,;t t
14836 s,@POSUB@,$POSUB,;t t
14837 s,@CATALOGS@,$CATALOGS,;t t
14838 s,@DATADIRNAME@,$DATADIRNAME,;t t
14839 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
14840 s,@GENCAT@,$GENCAT,;t t
14841 s,@CATOBJEXT@,$CATOBJEXT,;t t
14842 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
14843 s,@MSGFMT@,$MSGFMT,;t t
14844 s,@MSGMERGE@,$MSGMERGE,;t t
14845 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
14846 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
14847 s,@MAINT@,$MAINT,;t t
14848 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
14849 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
14850 s,@ALLOCA@,$ALLOCA,;t t
14851 s,@LIBM@,$LIBM,;t t
14852 s,@datarootdir@,$datarootdir,;t t
14853 s,@docdir@,$docdir,;t t
14854 s,@htmldir@,$htmldir,;t t
14855 s,@LIBOBJS@,$LIBOBJS,;t t
14856 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
14861 cat >>$CONFIG_STATUS <<\_ACEOF
14862 # Split the substitutions into bite-sized pieces for seds with
14863 # small command number limits, like on Digital OSF/1 and HP-UX.
14864 ac_max_sed_lines
=48
14865 ac_sed_frag
=1 # Number of current file.
14866 ac_beg
=1 # First line for current file.
14867 ac_end
=$ac_max_sed_lines # Line after last line for current file.
14870 while $ac_more_lines; do
14871 if test $ac_beg -gt 1; then
14872 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
14874 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
14876 if test ! -s $tmp/subs.frag
; then
14877 ac_more_lines
=false
14879 # The purpose of the label and of the branching condition is to
14880 # speed up the sed processing (if there are no `@' at all, there
14881 # is no need to browse any of the substitutions).
14882 # These are the two extra sed commands mentioned above.
14884 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
14885 if test -z "$ac_sed_cmds"; then
14886 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
14888 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14890 ac_sed_frag
=`expr $ac_sed_frag + 1`
14892 ac_end
=`expr $ac_end + $ac_max_sed_lines`
14895 if test -z "$ac_sed_cmds"; then
14898 fi # test -n "$CONFIG_FILES"
14901 cat >>$CONFIG_STATUS <<\_ACEOF
14902 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
14903 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14905 - |
*:- |
*:-:* ) # input from stdin
14907 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14908 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14909 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14910 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14911 * ) ac_file_in
=$ac_file.
in ;;
14914 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14915 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
14916 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14917 X"$ac_file" : 'X\(//\)[^/]' \| \
14918 X"$ac_file" : 'X\(//\)$' \| \
14919 X"$ac_file" : 'X\(/\)' \| \
14920 . : '\(.\)' 2>/dev/null ||
14922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14923 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14924 /^X\(\/\/\)$/{ s//\1/; q; }
14925 /^X\(\/\).*/{ s//\1/; q; }
14927 { if $as_mkdir_p; then
14932 while test ! -d "$as_dir"; do
14933 as_dirs
="$as_dir $as_dirs"
14934 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14935 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14936 X"$as_dir" : 'X\(//\)[^/]' \| \
14937 X"$as_dir" : 'X\(//\)$' \| \
14938 X"$as_dir" : 'X\(/\)' \| \
14939 . : '\(.\)' 2>/dev/null ||
14941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14942 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14943 /^X\(\/\/\)$/{ s//\1/; q; }
14944 /^X\(\/\).*/{ s//\1/; q; }
14947 test ! -n "$as_dirs" || mkdir
$as_dirs
14948 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14949 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14950 { (exit 1); exit 1; }; }; }
14954 if test "$ac_dir" != .
; then
14955 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14956 # A "../" for each directory in $ac_dir_suffix.
14957 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14959 ac_dir_suffix
= ac_top_builddir
=
14963 .
) # No --srcdir option. We are building in place.
14965 if test -z "$ac_top_builddir"; then
14968 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14970 [\\/]* | ?
:[\\/]* ) # Absolute path.
14971 ac_srcdir
=$srcdir$ac_dir_suffix;
14972 ac_top_srcdir
=$srcdir ;;
14973 *) # Relative path.
14974 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14975 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14978 # Do not use `cd foo && pwd` to compute absolute paths, because
14979 # the directories may not exist.
14981 .
) ac_abs_builddir
="$ac_dir";;
14984 .
) ac_abs_builddir
=`pwd`;;
14985 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
14986 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
14989 case $ac_abs_builddir in
14990 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14992 case ${ac_top_builddir}.
in
14993 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
14994 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14995 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
14998 case $ac_abs_builddir in
14999 .
) ac_abs_srcdir
=$ac_srcdir;;
15002 .
) ac_abs_srcdir
=$ac_abs_builddir;;
15003 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
15004 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
15007 case $ac_abs_builddir in
15008 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
15010 case $ac_top_srcdir in
15011 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
15012 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
15013 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
15019 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15020 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
15023 if test x
"$ac_file" != x-
; then
15024 { echo "$as_me:$LINENO: creating $ac_file" >&5
15025 echo "$as_me: creating $ac_file" >&6;}
15028 # Let's still pretend it is `configure' which instantiates (i.e., don't
15029 # use $as_me), people would be surprised to read:
15030 # /* config.h. Generated by config.status. */
15031 if test x
"$ac_file" = x-
; then
15034 configure_input
="$ac_file. "
15036 configure_input
=$configure_input"Generated from `echo $ac_file_in |
15037 sed 's,.*/,,'` by configure."
15039 # First look for the input files in the build tree, otherwise in the
15041 ac_file_inputs
=`IFS=:
15042 for f in $ac_file_in; do
15044 -) echo $tmp/stdin ;;
15046 # Absolute (can't be DOS-style, as IFS=:)
15047 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15048 echo "$as_me: error: cannot find input file: $f" >&2;}
15049 { (exit 1); exit 1; }; }
15052 if test -f "$f"; then
15055 elif test -f "$srcdir/$f"; then
15060 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15061 echo "$as_me: error: cannot find input file: $f" >&2;}
15062 { (exit 1); exit 1; }; }
15065 done` ||
{ (exit 1); exit 1; }
15067 cat >>$CONFIG_STATUS <<_ACEOF
15071 cat >>$CONFIG_STATUS <<\_ACEOF
15073 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15074 s
,@configure_input@
,$configure_input,;t t
15075 s
,@srcdir@
,$ac_srcdir,;t t
15076 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
15077 s
,@top_srcdir@
,$ac_top_srcdir,;t t
15078 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
15079 s
,@builddir@
,$ac_builddir,;t t
15080 s
,@abs_builddir@
,$ac_abs_builddir,;t t
15081 s
,@top_builddir@
,$ac_top_builddir,;t t
15082 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
15083 s
,@INSTALL@
,$ac_INSTALL,;t t
15084 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15086 if test x"$ac_file" != x-; then
15087 mv $tmp/out $ac_file
15095 cat >>$CONFIG_STATUS <<\_ACEOF
15098 # CONFIG_HEADER section.
15101 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
15102 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15104 # ac_d sets the value in "#define NAME VALUE" lines.
15105 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15106 ac_dB
='[ ].*$,\1#\2'
15109 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15110 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15111 ac_uB
='$,\1#\2define\3'
15115 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
15116 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15118 - |
*:- |
*:-:* ) # input from stdin
15120 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15121 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15122 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15123 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15124 * ) ac_file_in
=$ac_file.
in ;;
15127 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
15128 echo "$as_me: creating $ac_file" >&6;}
15130 # First look for the input files in the build tree, otherwise in the
15132 ac_file_inputs
=`IFS=:
15133 for f in $ac_file_in; do
15135 -) echo $tmp/stdin ;;
15137 # Absolute (can't be DOS-style, as IFS=:)
15138 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15139 echo "$as_me: error: cannot find input file: $f" >&2;}
15140 { (exit 1); exit 1; }; }
15141 # Do quote $f, to prevent DOS paths from being IFS'd.
15144 if test -f "$f"; then
15147 elif test -f "$srcdir/$f"; then
15152 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15153 echo "$as_me: error: cannot find input file: $f" >&2;}
15154 { (exit 1); exit 1; }; }
15157 done` ||
{ (exit 1); exit 1; }
15158 # Remove the trailing spaces.
15159 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15163 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15164 # `conftest.undefs', that substitutes the proper values into
15165 # config.h.in to produce config.h. The first handles `#define'
15166 # templates, and the second `#undef' templates.
15167 # And first: Protect against being on the right side of a sed subst in
15168 # config.status. Protect against being in an unquoted here document
15169 # in config.status.
15170 rm -f conftest.defines conftest.undefs
15171 # Using a here document instead of a string reduces the quoting nightmare.
15172 # Putting comments in sed scripts is not portable.
15174 # `end' is used to avoid that the second main sed command (meant for
15175 # 0-ary CPP macros) applies to n-ary macro definitions.
15176 # See the Autoconf documentation for `clear'.
15177 cat >confdef2sed.
sed <<\_ACEOF
15182 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15184 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15187 # If some macros were called several times there might be several times
15188 # the same #defines, which is useless. Nevertheless, we may not want to
15189 # sort them, since we want the *last* AC-DEFINE to be honored.
15190 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15191 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15192 rm -f confdef2sed.sed
15194 # This sed command replaces #undef with comments. This is necessary, for
15195 # example, in the case of _POSIX_SOURCE, which is predefined and required
15196 # on some systems where configure will not decide to define it.
15197 cat >>conftest.undefs <<\_ACEOF
15198 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15201 # Break up conftest.defines because some shells have a limit on the size
15202 # of here documents, and old seds have small limits too (100 cmds).
15203 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15204 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15205 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15206 echo ' :' >>$CONFIG_STATUS
15207 rm -f conftest.tail
15208 while grep . conftest.defines >/dev/null
15210 # Write a limited-size here document to $tmp/defines.sed.
15211 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15212 # Speed up: don't consider the non `#define' lines.
15213 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15214 # Work around the forget-to-reset-the-flag bug.
15215 echo 't clr' >>$CONFIG_STATUS
15216 echo ': clr' >>$CONFIG_STATUS
15217 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
15219 sed -f $tmp/defines.sed $tmp/in >$tmp/out
15221 mv $tmp/out $tmp/in
15223 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
15224 rm -f conftest.defines
15225 mv conftest.
tail conftest.defines
15227 rm -f conftest.defines
15228 echo ' fi # grep' >>$CONFIG_STATUS
15229 echo >>$CONFIG_STATUS
15231 # Break up conftest.undefs because some shells have a limit on the size
15232 # of here documents, and old seds have small limits too (100 cmds).
15233 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15234 rm -f conftest.
tail
15235 while grep . conftest.undefs
>/dev
/null
15237 # Write a limited-size here document to $tmp/undefs.sed.
15238 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15239 # Speed up: don't consider the non
`#undef'
15240 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15241 # Work around the forget-to-reset-the-flag bug.
15242 echo 't clr' >>$CONFIG_STATUS
15243 echo ': clr' >>$CONFIG_STATUS
15244 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15246 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15248 mv $tmp/out $tmp/in
15250 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15251 rm -f conftest.undefs
15252 mv conftest.tail conftest.undefs
15254 rm -f conftest.undefs
15256 cat >>$CONFIG_STATUS <<\_ACEOF
15257 # Let's still pretend it is `configure
' which instantiates (i.e., don't
15258 # use $as_me), people would be surprised to read:
15259 # /* config.h. Generated by config.status. */
15260 if test x
"$ac_file" = x-
; then
15261 echo "/* Generated by configure. */" >$tmp/config.h
15263 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15265 cat $tmp/in >>$tmp/config.h
15267 if test x
"$ac_file" != x-
; then
15268 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
15269 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15270 echo "$as_me: $ac_file is unchanged" >&6;}
15272 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15273 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15274 X"$ac_file" : 'X\(//\)[^/]' \| \
15275 X"$ac_file" : 'X\(//\)$' \| \
15276 X"$ac_file" : 'X\(/\)' \| \
15277 . : '\(.\)' 2>/dev/null ||
15279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15280 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15281 /^X\(\/\/\)$/{ s//\1/; q; }
15282 /^X\(\/\).*/{ s//\1/; q; }
15284 { if $as_mkdir_p; then
15289 while test ! -d "$as_dir"; do
15290 as_dirs
="$as_dir $as_dirs"
15291 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15293 X"$as_dir" : 'X\(//\)[^/]' \| \
15294 X"$as_dir" : 'X\(//\)$' \| \
15295 X"$as_dir" : 'X\(/\)' \| \
15296 . : '\(.\)' 2>/dev/null ||
15298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15299 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15300 /^X\(\/\/\)$/{ s//\1/; q; }
15301 /^X\(\/\).*/{ s//\1/; q; }
15304 test ! -n "$as_dirs" || mkdir
$as_dirs
15305 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15306 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15307 { (exit 1); exit 1; }; }; }
15310 mv $tmp/config.h
$ac_file
15314 rm -f $tmp/config.h
15316 # Compute $ac_file's index in $config_headers.
15318 for _am_header
in $config_headers :; do
15319 case $_am_header in
15320 $ac_file |
$ac_file:* )
15323 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15326 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
15327 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15328 X$ac_file : 'X\(//\)[^/]' \| \
15329 X$ac_file : 'X\(//\)$' \| \
15330 X$ac_file : 'X\(/\)' \| \
15331 . : '\(.\)' 2>/dev/null ||
15333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15334 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15335 /^X\(\/\/\)$/{ s//\1/; q; }
15336 /^X\(\/\).*/{ s//\1/; q; }
15337 s/.*/./; q'`/stamp-h
$_am_stamp_count
15340 cat >>$CONFIG_STATUS <<\_ACEOF
15343 # CONFIG_COMMANDS section.
15345 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
15346 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
15347 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15348 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
15349 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15350 X"$ac_dest" : 'X\(//\)[^/]' \| \
15351 X"$ac_dest" : 'X\(//\)$' \| \
15352 X"$ac_dest" : 'X\(/\)' \| \
15353 . : '\(.\)' 2>/dev/null ||
15355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15356 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15357 /^X\(\/\/\)$/{ s//\1/; q; }
15358 /^X\(\/\).*/{ s//\1/; q; }
15360 { if $as_mkdir_p; then
15365 while test ! -d "$as_dir"; do
15366 as_dirs
="$as_dir $as_dirs"
15367 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15368 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15369 X"$as_dir" : 'X\(//\)[^/]' \| \
15370 X"$as_dir" : 'X\(//\)$' \| \
15371 X"$as_dir" : 'X\(/\)' \| \
15372 . : '\(.\)' 2>/dev/null ||
15374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15375 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15376 /^X\(\/\/\)$/{ s//\1/; q; }
15377 /^X\(\/\).*/{ s//\1/; q; }
15380 test ! -n "$as_dirs" || mkdir
$as_dirs
15381 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15382 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15383 { (exit 1); exit 1; }; }; }
15387 if test "$ac_dir" != .
; then
15388 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15389 # A "../" for each directory in $ac_dir_suffix.
15390 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15392 ac_dir_suffix
= ac_top_builddir
=
15396 .
) # No --srcdir option. We are building in place.
15398 if test -z "$ac_top_builddir"; then
15401 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15403 [\\/]* | ?
:[\\/]* ) # Absolute path.
15404 ac_srcdir
=$srcdir$ac_dir_suffix;
15405 ac_top_srcdir
=$srcdir ;;
15406 *) # Relative path.
15407 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15408 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15411 # Do not use `cd foo && pwd` to compute absolute paths, because
15412 # the directories may not exist.
15414 .
) ac_abs_builddir
="$ac_dir";;
15417 .
) ac_abs_builddir
=`pwd`;;
15418 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
15419 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
15422 case $ac_abs_builddir in
15423 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15425 case ${ac_top_builddir}.
in
15426 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
15427 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15428 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
15431 case $ac_abs_builddir in
15432 .
) ac_abs_srcdir
=$ac_srcdir;;
15435 .
) ac_abs_srcdir
=$ac_abs_builddir;;
15436 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
15437 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
15440 case $ac_abs_builddir in
15441 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
15443 case $ac_top_srcdir in
15444 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
15445 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
15446 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
15451 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15452 echo "$as_me: executing $ac_dest commands" >&6;}
15454 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
15455 # Strip MF so we end up with the name of the file.
15456 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15457 # Check whether this is an Automake generated Makefile or not.
15458 # We used to match only the files named `Makefile.in', but
15459 # some people rename them; so instead we look at the file content.
15460 # Grep'ing the first line is not enough: some people post-process
15461 # each Makefile.in and add a new line on top of each file to say so.
15462 # So let's grep whole file.
15463 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
15464 dirpart
=`(dirname "$mf") 2>/dev/null ||
15465 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15466 X"$mf" : 'X\(//\)[^/]' \| \
15467 X"$mf" : 'X\(//\)$' \| \
15468 X"$mf" : 'X\(/\)' \| \
15469 . : '\(.\)' 2>/dev/null ||
15471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15472 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15473 /^X\(\/\/\)$/{ s//\1/; q; }
15474 /^X\(\/\).*/{ s//\1/; q; }
15479 # Extract the definition of DEPDIR, am__include, and am__quote
15480 # from the Makefile without running `make'.
15481 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15482 test -z "$DEPDIR" && continue
15483 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15484 test -z "am__include" && continue
15485 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15486 # When using ansi2knr, U may be empty or an underscore; expand it
15487 U
=`sed -n 's/^U = //p' < "$mf"`
15488 # Find all dependency output files, they are included files with
15489 # $(DEPDIR) in their names. We invoke sed twice because it is the
15490 # simplest approach to changing $(DEPDIR) to its actual value in the
15492 for file in `sed -n "
15493 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15494 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15495 # Make sure the directory exists.
15496 test -f "$dirpart/$file" && continue
15497 fdir
=`(dirname "$file") 2>/dev/null ||
15498 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15499 X"$file" : 'X\(//\)[^/]' \| \
15500 X"$file" : 'X\(//\)$' \| \
15501 X"$file" : 'X\(/\)' \| \
15502 . : '\(.\)' 2>/dev/null ||
15504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15505 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15506 /^X\(\/\/\)$/{ s//\1/; q; }
15507 /^X\(\/\).*/{ s//\1/; q; }
15509 { if $as_mkdir_p; then
15510 mkdir
-p $dirpart/$fdir
15512 as_dir
=$dirpart/$fdir
15514 while test ! -d "$as_dir"; do
15515 as_dirs
="$as_dir $as_dirs"
15516 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15517 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15518 X"$as_dir" : 'X\(//\)[^/]' \| \
15519 X"$as_dir" : 'X\(//\)$' \| \
15520 X"$as_dir" : 'X\(/\)' \| \
15521 . : '\(.\)' 2>/dev/null ||
15523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15524 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15525 /^X\(\/\/\)$/{ s//\1/; q; }
15526 /^X\(\/\).*/{ s//\1/; q; }
15529 test ! -n "$as_dirs" || mkdir
$as_dirs
15530 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
15531 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
15532 { (exit 1); exit 1; }; }; }
15534 # echo "creating $dirpart/$file"
15535 echo '# dummy' > "$dirpart/$file"
15541 # See if we are running on zsh, and set the options which allow our
15542 # commands through without removal of \ escapes.
15543 if test -n "${ZSH_VERSION+set}" ; then
15544 setopt NO_GLOB_SUBST
15547 cfgfile
="${ofile}T"
15548 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15551 cat <<_LT_EOF >> "$cfgfile"
15554 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15555 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
15556 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15557 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15559 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15560 # 2006, 2007 Free Software Foundation, Inc.
15562 # This file is part of GNU Libtool:
15563 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
15565 # This program is free software; you can redistribute it and/or modify
15566 # it under the terms of the GNU General Public License as published by
15567 # the Free Software Foundation; either version 2 of the License, or
15568 # (at your option) any later version.
15570 # This program is distributed in the hope that it will be useful, but
15571 # WITHOUT ANY WARRANTY; without even the implied warranty of
15572 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15573 # General Public License for more details.
15575 # You should have received a copy of the GNU General Public License
15576 # along with this program; if not, a copy can be downloaded from
15577 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
15578 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
15579 # MA 02110-1301, USA.
15581 # As a special exception to the GNU General Public License, if you
15582 # distribute this file as part of a program that contains a
15583 # configuration script generated by Autoconf, you may include it under
15584 # the same distribution terms that you use for the rest of that program.
15587 # The names of the tagged configurations supported by this script.
15590 # ### BEGIN LIBTOOL CONFIG
15592 # Which release of libtool.m4 was used?
15593 macro_version=$macro_version
15594 macro_revision=$macro_revision
15596 # Whether or not to build shared libraries.
15597 build_libtool_libs=$enable_shared
15599 # Whether or not to build static libraries.
15600 build_old_libs=$enable_static
15602 # What type of objects to build.
15605 # Whether or not to optimize for fast installation.
15606 fast_install=$enable_fast_install
15609 host_alias=$host_alias
15613 # The build system.
15614 build_alias=$build_alias
15618 # A sed program that does not truncate output.
15621 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15622 Xsed="\$SED -e 1s/^X//"
15624 # A grep program that handles long lines.
15630 # A literal string matcher.
15633 # A BSD- or MS-compatible name lister.
15636 # Whether we need soft or hard links.
15639 # What is the maximum length of a command?
15640 max_cmd_len=$max_cmd_len
15642 # Object file suffix (normally "o").
15645 # Executable file suffix (normally "").
15648 # whether the shell understands "unset".
15651 # turn spaces into newlines.
15654 # turn newlines into spaces.
15657 # How to create reloadable object files.
15658 reload_flag=$lt_reload_flag
15659 reload_cmds=$lt_reload_cmds
15661 # Method to check whether dependent libraries are shared objects.
15662 deplibs_check_method=$lt_deplibs_check_method
15664 # Command to use when deplibs_check_method == "file_magic".
15665 file_magic_cmd=$lt_file_magic_cmd
15669 AR_FLAGS=$lt_AR_FLAGS
15671 # A symbol stripping program.
15674 # Commands used to install an old-style archive.
15676 old_postinstall_cmds=$lt_old_postinstall_cmds
15677 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15682 # LTCC compiler flags.
15683 LTCFLAGS=$lt_CFLAGS
15685 # Take the output of nm and produce a listing of raw symbols and C names.
15686 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15688 # Transform the output of nm in a proper C declaration.
15689 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15691 # Transform the output of nm in a C name address pair.
15692 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15694 # The name of the directory that contains temporary libtool files.
15697 # Shell to use when invoking shell scripts.
15700 # An echo program that does not interpret backslashes.
15703 # Used to examine libraries when file_magic_cmd begins with "file".
15704 MAGIC_CMD=$MAGIC_CMD
15706 # Must we lock files when doing compilation?
15707 need_locks=$lt_need_locks
15709 # Old archive suffix (normally "a").
15712 # Shared library suffix (normally ".so").
15713 shrext_cmds=$lt_shrext_cmds
15715 # The commands to extract the exported symbol list from a shared archive.
15716 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15718 # Variables whose values should be saved in libtool wrapper scripts and
15719 # restored at link time.
15720 variables_saved_for_relink=$lt_variables_saved_for_relink
15722 # Do we need the "lib" prefix for modules?
15723 need_lib_prefix=$need_lib_prefix
15725 # Do we need a version for libraries?
15726 need_version=$need_version
15728 # Library versioning type.
15729 version_type=$version_type
15731 # Shared library runtime path variable.
15732 runpath_var=$runpath_var
15734 # Shared library path variable.
15735 shlibpath_var=$shlibpath_var
15737 # Is shlibpath searched before the hard-coded library search path?
15738 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15740 # Format of library name prefix.
15741 libname_spec=$lt_libname_spec
15743 # List of archive names. First name is the real one, the rest are links.
15744 # The last name is the one that the linker finds with -lNAME
15745 library_names_spec=$lt_library_names_spec
15747 # The coded name of the library, if different from the real name.
15748 soname_spec=$lt_soname_spec
15750 # Command to use after installation of a shared archive.
15751 postinstall_cmds=$lt_postinstall_cmds
15753 # Command to use after uninstallation of a shared archive.
15754 postuninstall_cmds=$lt_postuninstall_cmds
15756 # Commands used to finish a libtool library installation in a directory.
15757 finish_cmds=$lt_finish_cmds
15759 # As "finish_cmds", except a single script fragment to be evaled but
15761 finish_eval=$lt_finish_eval
15763 # Whether we should hardcode library paths into libraries.
15764 hardcode_into_libs=$hardcode_into_libs
15766 # Compile-time system search path for libraries.
15767 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15769 # Run-time system search path for libraries.
15770 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15772 # Whether dlopen is supported.
15773 dlopen_support=$enable_dlopen
15775 # Whether dlopen of programs is supported.
15776 dlopen_self=$enable_dlopen_self
15778 # Whether dlopen of statically linked programs is supported.
15779 dlopen_self_static=$enable_dlopen_self_static
15781 # Commands to strip libraries.
15782 old_striplib=$lt_old_striplib
15783 striplib=$lt_striplib
15786 # The linker used to build libraries.
15789 # Commands used to build an old-style archive.
15790 old_archive_cmds=$lt_old_archive_cmds
15792 # A language specific compiler.
15795 # Is the compiler the GNU compiler?
15798 # Compiler flag to turn off builtin functions.
15799 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15801 # How to pass a linker flag through the compiler.
15802 wl=$lt_lt_prog_compiler_wl
15804 # Additional compiler flags for building library objects.
15805 pic_flag=$lt_lt_prog_compiler_pic
15807 # Compiler flag to prevent dynamic linking.
15808 link_static_flag=$lt_lt_prog_compiler_static
15810 # Does compiler simultaneously support -c and -o options?
15811 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15813 # Whether or not to add -lc for building shared libraries.
15814 build_libtool_need_lc=$archive_cmds_need_lc
15816 # Whether or not to disallow shared libs when runtime libs are static.
15817 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15819 # Compiler flag to allow reflexive dlopens.
15820 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15822 # Compiler flag to generate shared objects directly from archives.
15823 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15825 # Whether the compiler copes with passing no objects directly.
15826 compiler_needs_object=$lt_compiler_needs_object
15828 # Create an old-style archive from a shared archive.
15829 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15831 # Create a temporary old-style archive to link instead of a shared archive.
15832 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15834 # Commands used to build a shared archive.
15835 archive_cmds=$lt_archive_cmds
15836 archive_expsym_cmds=$lt_archive_expsym_cmds
15838 # Commands used to build a loadable module if different from building
15839 # a shared archive.
15840 module_cmds=$lt_module_cmds
15841 module_expsym_cmds=$lt_module_expsym_cmds
15843 # Whether we are building with GNU ld or not.
15844 with_gnu_ld=$lt_with_gnu_ld
15846 # Flag that allows shared libraries with undefined symbols to be built.
15847 allow_undefined_flag=$lt_allow_undefined_flag
15849 # Flag that enforces no undefined symbols.
15850 no_undefined_flag=$lt_no_undefined_flag
15852 # Flag to hardcode \$libdir into a binary during linking.
15853 # This must work even if \$libdir does not exist
15854 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15856 # If ld is used when linking, flag to hardcode \$libdir into a binary
15857 # during linking. This must work even if \$libdir does not exist.
15858 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15860 # Whether we need a single "-rpath" flag with a separated argument.
15861 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15863 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15864 # DIR into the resulting binary.
15865 hardcode_direct=$hardcode_direct
15867 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15868 # DIR into the resulting binary and the resulting library dependency is
15869 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15870 # library is relocated.
15871 hardcode_direct_absolute=$hardcode_direct_absolute
15873 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15874 # into the resulting binary.
15875 hardcode_minus_L=$hardcode_minus_L
15877 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15878 # into the resulting binary.
15879 hardcode_shlibpath_var=$hardcode_shlibpath_var
15881 # Set to "yes" if building a shared library automatically hardcodes DIR
15882 # into the library and all subsequent libraries and executables linked
15884 hardcode_automatic=$hardcode_automatic
15886 # Set to yes if linker adds runtime paths of dependent libraries
15887 # to runtime path list.
15888 inherit_rpath=$inherit_rpath
15890 # Whether libtool must link a program against all its dependency libraries.
15891 link_all_deplibs=$link_all_deplibs
15893 # Fix the shell variable \$srcfile for the compiler.
15894 fix_srcfile_path=$lt_fix_srcfile_path
15896 # Set to "yes" if exported symbols are required.
15897 always_export_symbols=$always_export_symbols
15899 # The commands to list exported symbols.
15900 export_symbols_cmds=$lt_export_symbols_cmds
15902 # Symbols that should not be listed in the preloaded symbols.
15903 exclude_expsyms=$lt_exclude_expsyms
15905 # Symbols that must always be exported.
15906 include_expsyms=$lt_include_expsyms
15908 # Commands necessary for linking programs (against libraries) with templates.
15909 prelink_cmds=$lt_prelink_cmds
15911 # Specify filename containing input files.
15912 file_list_spec=$lt_file_list_spec
15914 # How to hardcode a shared library path into an executable.
15915 hardcode_action=$hardcode_action
15917 # ### END LIBTOOL CONFIG
15923 cat <<\_LT_EOF
>> "$cfgfile"
15924 # AIX sometimes has problems with the GCC collect2 program. For some
15925 # reason, if we set the COLLECT_NAMES environment variable, the problems
15926 # vanish in a puff of smoke.
15927 if test "X${COLLECT_NAMES+set}" != Xset
; then
15929 export COLLECT_NAMES
15936 ltmain
="$ac_aux_dir/ltmain.sh"
15939 # We use sed instead of cat because bash on DJGPP gets confused if
15940 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15941 # text mode, it properly converts lines to CR/LF. This bash problem
15942 # is reportedly fixed, but why not run on old versions too?
15943 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15944 ||
(rm -f "$cfgfile"; exit 1)
15948 cat << \_LT_EOF
>> "$cfgfile"
15949 # func_dirname file append nondir_replacement
15950 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15951 # otherwise set result to NONDIR_REPLACEMENT.
15955 */*) func_dirname_result
="${1%/*}${2}" ;;
15956 * ) func_dirname_result
="${3}" ;;
15960 # func_basename file
15963 func_basename_result
="${1##*/}"
15966 # func_stripname prefix suffix name
15967 # strip PREFIX and SUFFIX off of NAME.
15968 # PREFIX and SUFFIX must not contain globbing or regex special
15969 # characters, hashes, percent signs, but SUFFIX may contain a leading
15970 # dot (in which case that matches only a dot).
15973 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15974 # positional parameters, so assign one to ordinary parameter first.
15975 func_stripname_result
=${3}
15976 func_stripname_result
=${func_stripname_result#"${1}"}
15977 func_stripname_result
=${func_stripname_result%"${2}"}
15983 func_opt_split_opt
=${1%%=*}
15984 func_opt_split_arg
=${1#*=}
15991 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15992 *) func_lo2o_result
=${1} ;;
15997 *) # Bourne compatible functions.
15998 cat << \_LT_EOF
>> "$cfgfile"
15999 # func_dirname file append nondir_replacement
16000 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16001 # otherwise set result to NONDIR_REPLACEMENT.
16004 # Extract subdirectory from the argument.
16005 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16006 if test "X$func_dirname_result" = "X${1}"; then
16007 func_dirname_result
="${3}"
16009 func_dirname_result
="$func_dirname_result${2}"
16013 # func_basename file
16016 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
16019 # func_stripname prefix suffix name
16020 # strip PREFIX and SUFFIX off of NAME.
16021 # PREFIX and SUFFIX must not contain globbing or regex special
16022 # characters, hashes, percent signs, but SUFFIX may contain a leading
16023 # dot (in which case that matches only a dot).
16024 # func_strip_suffix prefix name
16028 .
*) func_stripname_result
=`$ECHO "X${3}" \
16029 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16030 *) func_stripname_result
=`$ECHO "X${3}" \
16031 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16036 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16037 my_sed_long_arg
='1s/^-[^=]*=//'
16042 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16043 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16049 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16054 case $lt_shell_append in
16056 cat << \_LT_EOF
>> "$cfgfile"
16058 # func_append var value
16059 # Append VALUE to the end of shell variable VAR.
16067 cat << \_LT_EOF
>> "$cfgfile"
16069 # func_append var value
16070 # Append VALUE to the end of shell variable VAR.
16080 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16081 ||
(rm -f "$cfgfile"; exit 1)
16083 mv -f "$cfgfile" "$ofile" ||
16084 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16089 for ac_file
in $CONFIG_FILES; do
16090 # Support "outfile[:infile[:infile...]]"
16092 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16094 # PO directories have a Makefile.in generated from Makefile.in.in.
16095 case "$ac_file" in */Makefile.
in)
16096 # Adjust a relative srcdir.
16097 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16098 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
16099 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16100 # In autoconf-2.13 it is called $ac_given_srcdir.
16101 # In autoconf-2.50 it is called $srcdir.
16102 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
16103 case "$ac_given_srcdir" in
16104 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
16105 /*) top_srcdir
="$ac_given_srcdir" ;;
16106 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16108 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16109 rm -f "$ac_dir/POTFILES"
16110 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
16111 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16112 POMAKEFILEDEPS
="POTFILES.in"
16113 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
16114 # on $ac_dir but don't depend on user-specified configuration
16116 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16117 # The LINGUAS file contains the set of available languages.
16118 if test -n "$OBSOLETE_ALL_LINGUAS"; then
16119 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
16121 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16122 # Hide the ALL_LINGUAS assigment from automake.
16123 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16124 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
16126 # The set of available languages was given in configure.in.
16127 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
16129 case "$ac_given_srcdir" in
16131 *) srcdirpre
='$(srcdir)/' ;;
16137 for lang
in $ALL_LINGUAS; do
16138 POFILES
="$POFILES $srcdirpre$lang.po"
16139 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
16140 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
16141 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
16143 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16144 # environment variable.
16146 if test -n "$ALL_LINGUAS"; then
16147 for presentlang
in $ALL_LINGUAS; do
16149 if test "%UNSET%" != "$LINGUAS"; then
16150 desiredlanguages
="$LINGUAS"
16152 desiredlanguages
="$ALL_LINGUAS"
16154 for desiredlang
in $desiredlanguages; do
16155 # Use the presentlang catalog if desiredlang is
16156 # a. equal to presentlang, or
16157 # b. a variant of presentlang (because in this case,
16158 # presentlang can be used as a fallback for messages
16159 # which are not translated in the desiredlang catalog).
16160 case "$desiredlang" in
16161 "$presentlang"*) useit
=yes;;
16164 if test $useit = yes; then
16165 INST_LINGUAS
="$INST_LINGUAS $presentlang"
16170 if test -n "$INST_LINGUAS"; then
16171 for lang
in $INST_LINGUAS; do
16172 CATALOGS
="$CATALOGS $lang.gmo"
16175 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
16176 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"
16177 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
16178 if test -f "$f"; then
16180 *.orig |
*.bak |
*~
) ;;
16181 *) cat "$f" >> "$ac_dir/Makefile" ;;
16189 default
) rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h
16190 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
16191 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
16192 echo '#include "te-'"${te_file}"'.h"' > targ-env.h
16193 echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
16194 if test "x$cgen_cpu_prefix" != x
; then
16195 echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h
16201 cat >>$CONFIG_STATUS <<\_ACEOF
16203 { (exit 0); exit 0; }
16205 chmod +x
$CONFIG_STATUS
16206 ac_clean_files
=$ac_clean_files_save
16209 # configure is writing to config.log, and then calls config.status.
16210 # config.status does its own redirection, appending to config.log.
16211 # Unfortunately, on DOS this fails, as config.log is still kept open
16212 # by configure, so config.status won't be able to write to it; its
16213 # output is simply discarded. So we exec the FD to /dev/null,
16214 # effectively closing config.log, so it can be properly (re)opened and
16215 # appended to by config.status. When coming back to configure, we
16216 # need to make the FD available again.
16217 if test "$no_create" != yes; then
16219 ac_config_status_args
=
16220 test "$silent" = yes &&
16221 ac_config_status_args
="$ac_config_status_args --quiet"
16223 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16225 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16226 # would make configure fail if this is the last instruction.
16227 $ac_cs_success ||
{ (exit 1); exit 1; }