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 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2656 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2657 if test -z "$INSTALL"; then
2658 if test "${ac_cv_path_install+set}" = set; then
2659 echo $ECHO_N "(cached) $ECHO_C" >&6
2661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2665 test -z "$as_dir" && as_dir
=.
2666 # Account for people who put trailing slashes in PATH elements.
2668 .
/ | .
// |
/cC
/* | \
2669 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2670 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2673 # OSF1 and SCO ODT 3.0 have their own names for install.
2674 # Don't use installbsd from OSF since it installs stuff as root
2676 for ac_prog
in ginstall scoinst
install; do
2677 for ac_exec_ext
in '' $ac_executable_extensions; do
2678 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2679 if test $ac_prog = install &&
2680 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2681 # AIX install. It has an incompatible calling convention.
2683 elif test $ac_prog = install &&
2684 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2685 # program-specific install script used by HP pwplus--don't use.
2688 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2700 if test "${ac_cv_path_install+set}" = set; then
2701 INSTALL
=$ac_cv_path_install
2703 # As a last resort, use the slow shell script. We don't cache a
2704 # path for INSTALL within a source directory, because that will
2705 # break other packages using the cache if that directory is
2706 # removed, or if the path is relative.
2707 INSTALL
=$ac_install_sh
2710 echo "$as_me:$LINENO: result: $INSTALL" >&5
2711 echo "${ECHO_T}$INSTALL" >&6
2713 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2714 # It thinks the first close brace ends the variable substitution.
2715 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2717 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2719 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2721 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2722 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
2725 echo timestamp
> conftest.
file
2726 # Do `set' in a subshell so we don't clobber the current shell's
2727 # arguments. Must try -L first in case configure is actually a
2728 # symlink; some systems play weird games with the mod time of symlinks
2729 # (eg FreeBSD returns the mod time of the symlink's containing
2732 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2733 if test "$*" = "X"; then
2735 set X
`ls -t $srcdir/configure conftest.file`
2738 if test "$*" != "X $srcdir/configure conftest.file" \
2739 && test "$*" != "X conftest.file $srcdir/configure"; then
2741 # If neither matched, then we have a broken ls. This can happen
2742 # if, for instance, CONFIG_SHELL is bash and it inherits a
2743 # broken ls alias from the environment. This has actually
2744 # happened. Such a system could not be considered "sane".
2745 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2746 alias in your environment" >&5
2747 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2748 alias in your environment" >&2;}
2749 { (exit 1); exit 1; }; }
2752 test "$2" = conftest.
file
2758 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2759 Check your system clock" >&5
2760 echo "$as_me: error: newly created file is older than distributed files!
2761 Check your system clock" >&2;}
2762 { (exit 1); exit 1; }; }
2764 echo "$as_me:$LINENO: result: yes" >&5
2765 echo "${ECHO_T}yes" >&6
2766 test "$program_prefix" != NONE
&&
2767 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
2768 # Use a double $ so make ignores it.
2769 test "$program_suffix" != NONE
&&
2770 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
2771 # Double any \ or $. echo might interpret backslashes.
2772 # By default was `s,x,x', remove it if useless.
2773 cat <<\_ACEOF
>conftest.
sed
2774 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2776 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2779 # expand $ac_aux_dir to an absolute path
2780 am_aux_dir
=`cd $ac_aux_dir && pwd`
2782 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2783 # Use eval to expand $SHELL
2784 if eval "$MISSING --run true"; then
2785 am_missing_run
="$MISSING --run "
2788 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2789 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2792 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2793 # We used to keeping the `.' as first argument, in order to
2794 # allow $(mkdir_p) to be used without argument. As in
2795 # $(mkdir_p) $(somedir)
2796 # where $(somedir) is conditionally defined. However this is wrong
2798 # 1. if the package is installed by a user who cannot write `.'
2799 # make install will fail,
2800 # 2. the above comment should most certainly read
2801 # $(mkdir_p) $(DESTDIR)$(somedir)
2802 # so it does not work when $(somedir) is undefined and
2803 # $(DESTDIR) is not.
2804 # To support the latter case, we have to write
2805 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2806 # so the `.' trick is pointless.
2807 mkdir_p
='mkdir -p --'
2809 # On NextStep and OpenStep, the `mkdir' command does not
2810 # recognize any option. It will interpret all options as
2811 # directories to create, and then abort because `.' already
2813 for d
in .
/-p .
/--version;
2815 test -d $d && rmdir $d
2817 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2818 if test -f "$ac_aux_dir/mkinstalldirs"; then
2819 mkdir_p
='$(mkinstalldirs)'
2821 mkdir_p
='$(install_sh) -d'
2825 for ac_prog
in gawk mawk nawk
awk
2827 # Extract the first word of "$ac_prog", so it can be a program name with args.
2828 set dummy
$ac_prog; ac_word
=$2
2829 echo "$as_me:$LINENO: checking for $ac_word" >&5
2830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2831 if test "${ac_cv_prog_AWK+set}" = set; then
2832 echo $ECHO_N "(cached) $ECHO_C" >&6
2834 if test -n "$AWK"; then
2835 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2841 test -z "$as_dir" && as_dir
=.
2842 for ac_exec_ext
in '' $ac_executable_extensions; do
2843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2844 ac_cv_prog_AWK
="$ac_prog"
2845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2854 if test -n "$AWK"; then
2855 echo "$as_me:$LINENO: result: $AWK" >&5
2856 echo "${ECHO_T}$AWK" >&6
2858 echo "$as_me:$LINENO: result: no" >&5
2859 echo "${ECHO_T}no" >&6
2862 test -n "$AWK" && break
2865 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2866 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2867 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2868 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2869 echo $ECHO_N "(cached) $ECHO_C" >&6
2871 cat >conftest.
make <<\_ACEOF
2873 @
echo 'ac_maketemp="$(MAKE)"'
2875 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2876 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2877 if test -n "$ac_maketemp"; then
2878 eval ac_cv_prog_make_
${ac_make}_set
=yes
2880 eval ac_cv_prog_make_
${ac_make}_set
=no
2884 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2885 echo "$as_me:$LINENO: result: yes" >&5
2886 echo "${ECHO_T}yes" >&6
2889 echo "$as_me:$LINENO: result: no" >&5
2890 echo "${ECHO_T}no" >&6
2891 SET_MAKE
="MAKE=${MAKE-make}"
2894 rm -rf .tst
2>/dev
/null
2895 mkdir .tst
2>/dev
/null
2896 if test -d .tst
; then
2901 rmdir .tst
2>/dev
/null
2903 DEPDIR
="${am__leading_dot}deps"
2905 ac_config_commands
="$ac_config_commands depfiles"
2908 am_make
=${MAKE-make}
2909 cat > confinc
<< 'END'
2914 # If we don't find an include directive, just comment out the code.
2915 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2916 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2920 # First try GNU make style include.
2921 echo "include confinc" > confmf
2922 # We grep out `Entering directory' and `Leaving directory'
2923 # messages which can occur if `w' ends up in MAKEFLAGS.
2924 # In particular we don't look at `^make:' because GNU make might
2925 # be invoked under some other name (usually "gmake"), in which
2926 # case it prints its new name instead of `make'.
2927 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2932 # Now try BSD make style include.
2933 if test "$am__include" = "#"; then
2934 echo '.include "confinc"' > confmf
2935 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2936 am__include
=.include
2943 echo "$as_me:$LINENO: result: $_am_result" >&5
2944 echo "${ECHO_T}$_am_result" >&6
2945 rm -f confinc confmf
2947 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2948 if test "${enable_dependency_tracking+set}" = set; then
2949 enableval
="$enable_dependency_tracking"
2952 if test "x$enable_dependency_tracking" != xno
; then
2953 am_depcomp
="$ac_aux_dir/depcomp"
2958 if test "x$enable_dependency_tracking" != xno; then
2968 # test to see if srcdir already configured
2969 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2970 test -f $srcdir/config.status
; then
2971 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2972 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2973 { (exit 1); exit 1; }; }
2976 # test whether we have cygpath
2977 if test -z "$CYGPATH_W"; then
2978 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2979 CYGPATH_W
='cygpath -w'
2986 # Define the identity of the package.
2988 VERSION
=${BFD_VERSION}
2991 cat >>confdefs.h
<<_ACEOF
2992 #define PACKAGE "$PACKAGE"
2996 cat >>confdefs.h
<<_ACEOF
2997 #define VERSION "$VERSION"
3000 # Some tools Automake needs.
3002 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3005 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3008 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3011 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3014 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3016 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3018 # Installed binaries are usually stripped using `strip' when the user
3019 # run `make install-strip'. However `strip' might not be the right
3020 # tool to use in cross-compilation environments, therefore Automake
3021 # will honor the `STRIP' environment variable to overrule this program.
3022 if test "$cross_compiling" != no
; then
3023 if test -n "$ac_tool_prefix"; then
3024 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3025 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3026 echo "$as_me:$LINENO: checking for $ac_word" >&5
3027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3028 if test "${ac_cv_prog_STRIP+set}" = set; then
3029 echo $ECHO_N "(cached) $ECHO_C" >&6
3031 if test -n "$STRIP"; then
3032 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3038 test -z "$as_dir" && as_dir
=.
3039 for ac_exec_ext
in '' $ac_executable_extensions; do
3040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3041 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 STRIP
=$ac_cv_prog_STRIP
3051 if test -n "$STRIP"; then
3052 echo "$as_me:$LINENO: result: $STRIP" >&5
3053 echo "${ECHO_T}$STRIP" >&6
3055 echo "$as_me:$LINENO: result: no" >&5
3056 echo "${ECHO_T}no" >&6
3060 if test -z "$ac_cv_prog_STRIP"; then
3062 # Extract the first word of "strip", so it can be a program name with args.
3063 set dummy strip
; ac_word
=$2
3064 echo "$as_me:$LINENO: checking for $ac_word" >&5
3065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3066 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3067 echo $ECHO_N "(cached) $ECHO_C" >&6
3069 if test -n "$ac_ct_STRIP"; then
3070 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3076 test -z "$as_dir" && as_dir
=.
3077 for ac_exec_ext
in '' $ac_executable_extensions; do
3078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3079 ac_cv_prog_ac_ct_STRIP
="strip"
3080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3089 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3090 if test -n "$ac_ct_STRIP"; then
3091 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3092 echo "${ECHO_T}$ac_ct_STRIP" >&6
3094 echo "$as_me:$LINENO: result: no" >&5
3095 echo "${ECHO_T}no" >&6
3100 STRIP
="$ac_cv_prog_STRIP"
3104 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3106 # We need awk for the "check" target. The system "awk" is bad on
3108 # Always define AMTAR for backward compatibility.
3110 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3112 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3117 depcc
="$CC" am_compiler_list
=
3119 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3120 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3121 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3122 echo $ECHO_N "(cached) $ECHO_C" >&6
3124 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3125 # We make a subdir and do the tests there. Otherwise we can end up
3126 # making bogus files that we don't know about and never remove. For
3127 # instance it was reported that on HP-UX the gcc test will end up
3128 # making a dummy file named `D' -- because `-MD' means `put the output
3131 # Copy depcomp to subdir because otherwise we won't find it if we're
3132 # using a relative directory.
3133 cp "$am_depcomp" conftest.dir
3135 # We will build objects and dependencies in a subdirectory because
3136 # it helps to detect inapplicable dependency modes. For instance
3137 # both Tru64's cc and ICC support -MD to output dependencies as a
3138 # side effect of compilation, but ICC will put the dependencies in
3139 # the current directory while Tru64 will put them in the object
3143 am_cv_CC_dependencies_compiler_type
=none
3144 if test "$am_compiler_list" = ""; then
3145 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3147 for depmode
in $am_compiler_list; do
3148 # Setup a source with many dependencies, because some compilers
3149 # like to wrap large dependency lists on column 80 (with \), and
3150 # we should not choose a depcomp mode which is confused by this.
3152 # We need to recreate these files for each test, as the compiler may
3153 # overwrite some of them when testing with obscure command lines.
3154 # This happens at least with the AIX C compiler.
3156 for i
in 1 2 3 4 5 6; do
3157 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3158 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3159 # Solaris 8's {/usr,}/bin/sh.
3160 touch sub
/conftst
$i.h
3162 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3166 # after this tag, mechanisms are not by side-effect, so they'll
3167 # only be used when explicitly requested
3168 if test "x$enable_dependency_tracking" = xyes
; then
3176 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3177 # mode. It turns out that the SunPro C++ compiler does not properly
3178 # handle `-M -o', and we need to detect this.
3179 if depmode
=$depmode \
3180 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3181 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3182 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3183 >/dev
/null
2>conftest.err
&&
3184 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3185 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3186 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3187 # icc doesn't choke on unknown options, it will just issue warnings
3188 # or remarks (even with -Werror). So we grep stderr for any message
3189 # that says an option was ignored or not supported.
3190 # When given -MP, icc 7.0 and 7.1 complain thusly:
3191 # icc: Command line warning: ignoring option '-M'; no argument required
3192 # The diagnosis changed in icc 8.0:
3193 # icc: Command line remark: option '-MP' not supported
3194 if (grep 'ignoring option' conftest.err ||
3195 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3196 am_cv_CC_dependencies_compiler_type
=$depmode
3205 am_cv_CC_dependencies_compiler_type
=none
3209 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3210 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3211 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3216 test "x$enable_dependency_tracking" != xno \
3217 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3219 am__fastdepCC_FALSE
='#'
3221 am__fastdepCC_TRUE
='#'
3222 am__fastdepCC_FALSE
=
3229 ac_cpp
='$CPP $CPPFLAGS'
3230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3233 if test -n "$ac_tool_prefix"; then
3234 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3235 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3236 echo "$as_me:$LINENO: checking for $ac_word" >&5
3237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3238 if test "${ac_cv_prog_CC+set}" = set; then
3239 echo $ECHO_N "(cached) $ECHO_C" >&6
3241 if test -n "$CC"; then
3242 ac_cv_prog_CC
="$CC" # Let the user override the test.
3244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3248 test -z "$as_dir" && as_dir
=.
3249 for ac_exec_ext
in '' $ac_executable_extensions; do
3250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3251 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3261 if test -n "$CC"; then
3262 echo "$as_me:$LINENO: result: $CC" >&5
3263 echo "${ECHO_T}$CC" >&6
3265 echo "$as_me:$LINENO: result: no" >&5
3266 echo "${ECHO_T}no" >&6
3270 if test -z "$ac_cv_prog_CC"; then
3272 # Extract the first word of "gcc", so it can be a program name with args.
3273 set dummy gcc
; ac_word
=$2
3274 echo "$as_me:$LINENO: checking for $ac_word" >&5
3275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3276 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3277 echo $ECHO_N "(cached) $ECHO_C" >&6
3279 if test -n "$ac_ct_CC"; then
3280 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3286 test -z "$as_dir" && as_dir
=.
3287 for ac_exec_ext
in '' $ac_executable_extensions; do
3288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3289 ac_cv_prog_ac_ct_CC
="gcc"
3290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3298 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3299 if test -n "$ac_ct_CC"; then
3300 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3301 echo "${ECHO_T}$ac_ct_CC" >&6
3303 echo "$as_me:$LINENO: result: no" >&5
3304 echo "${ECHO_T}no" >&6
3312 if test -z "$CC"; then
3313 if test -n "$ac_tool_prefix"; then
3314 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3315 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3316 echo "$as_me:$LINENO: checking for $ac_word" >&5
3317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3318 if test "${ac_cv_prog_CC+set}" = set; then
3319 echo $ECHO_N "(cached) $ECHO_C" >&6
3321 if test -n "$CC"; then
3322 ac_cv_prog_CC
="$CC" # Let the user override the test.
3324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3328 test -z "$as_dir" && as_dir
=.
3329 for ac_exec_ext
in '' $ac_executable_extensions; do
3330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3331 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3341 if test -n "$CC"; then
3342 echo "$as_me:$LINENO: result: $CC" >&5
3343 echo "${ECHO_T}$CC" >&6
3345 echo "$as_me:$LINENO: result: no" >&5
3346 echo "${ECHO_T}no" >&6
3350 if test -z "$ac_cv_prog_CC"; then
3352 # Extract the first word of "cc", so it can be a program name with args.
3353 set dummy cc
; ac_word
=$2
3354 echo "$as_me:$LINENO: checking for $ac_word" >&5
3355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3356 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3357 echo $ECHO_N "(cached) $ECHO_C" >&6
3359 if test -n "$ac_ct_CC"; then
3360 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3366 test -z "$as_dir" && as_dir
=.
3367 for ac_exec_ext
in '' $ac_executable_extensions; do
3368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3369 ac_cv_prog_ac_ct_CC
="cc"
3370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3378 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3379 if test -n "$ac_ct_CC"; then
3380 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3381 echo "${ECHO_T}$ac_ct_CC" >&6
3383 echo "$as_me:$LINENO: result: no" >&5
3384 echo "${ECHO_T}no" >&6
3393 if test -z "$CC"; then
3394 # Extract the first word of "cc", so it can be a program name with args.
3395 set dummy cc
; ac_word
=$2
3396 echo "$as_me:$LINENO: checking for $ac_word" >&5
3397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3398 if test "${ac_cv_prog_CC+set}" = set; then
3399 echo $ECHO_N "(cached) $ECHO_C" >&6
3401 if test -n "$CC"; then
3402 ac_cv_prog_CC
="$CC" # Let the user override the test.
3405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3409 test -z "$as_dir" && as_dir
=.
3410 for ac_exec_ext
in '' $ac_executable_extensions; do
3411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3412 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3413 ac_prog_rejected
=yes
3417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3423 if test $ac_prog_rejected = yes; then
3424 # We found a bogon in the path, so make sure we never use it.
3425 set dummy
$ac_cv_prog_CC
3427 if test $# != 0; then
3428 # We chose a different compiler from the bogus one.
3429 # However, it has the same basename, so the bogon will be chosen
3430 # first if we set CC to just the basename; use the full file name.
3432 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3438 if test -n "$CC"; then
3439 echo "$as_me:$LINENO: result: $CC" >&5
3440 echo "${ECHO_T}$CC" >&6
3442 echo "$as_me:$LINENO: result: no" >&5
3443 echo "${ECHO_T}no" >&6
3447 if test -z "$CC"; then
3448 if test -n "$ac_tool_prefix"; then
3451 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3452 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3453 echo "$as_me:$LINENO: checking for $ac_word" >&5
3454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3455 if test "${ac_cv_prog_CC+set}" = set; then
3456 echo $ECHO_N "(cached) $ECHO_C" >&6
3458 if test -n "$CC"; then
3459 ac_cv_prog_CC
="$CC" # Let the user override the test.
3461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3465 test -z "$as_dir" && as_dir
=.
3466 for ac_exec_ext
in '' $ac_executable_extensions; do
3467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3468 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3478 if test -n "$CC"; then
3479 echo "$as_me:$LINENO: result: $CC" >&5
3480 echo "${ECHO_T}$CC" >&6
3482 echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3486 test -n "$CC" && break
3489 if test -z "$CC"; then
3493 # Extract the first word of "$ac_prog", so it can be a program name with args.
3494 set dummy
$ac_prog; ac_word
=$2
3495 echo "$as_me:$LINENO: checking for $ac_word" >&5
3496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3497 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3500 if test -n "$ac_ct_CC"; then
3501 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3507 test -z "$as_dir" && as_dir
=.
3508 for ac_exec_ext
in '' $ac_executable_extensions; do
3509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3510 ac_cv_prog_ac_ct_CC
="$ac_prog"
3511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3519 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3520 if test -n "$ac_ct_CC"; then
3521 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3522 echo "${ECHO_T}$ac_ct_CC" >&6
3524 echo "$as_me:$LINENO: result: no" >&5
3525 echo "${ECHO_T}no" >&6
3528 test -n "$ac_ct_CC" && break
3537 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3538 See \`config.log' for more details." >&5
3539 echo "$as_me: error: no acceptable C compiler found in \$PATH
3540 See \`config.log' for more details." >&2;}
3541 { (exit 1); exit 1; }; }
3543 # Provide some information about the compiler.
3544 echo "$as_me:$LINENO:" \
3545 "checking for C compiler version" >&5
3546 ac_compiler
=`set X $ac_compile; echo $2`
3547 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3548 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); }
3552 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3553 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556 (exit $ac_status); }
3557 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3558 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561 (exit $ac_status); }
3563 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3564 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3565 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3566 echo $ECHO_N "(cached) $ECHO_C" >&6
3568 cat >conftest.
$ac_ext <<_ACEOF
3571 cat confdefs.h
>>conftest.
$ac_ext
3572 cat >>conftest.
$ac_ext <<_ACEOF
3573 /* end confdefs.h. */
3586 rm -f conftest.
$ac_objext
3587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3588 (eval $ac_compile) 2>conftest.er1
3590 grep -v '^ *+' conftest.er1
>conftest.err
3592 cat conftest.err
>&5
3593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594 (exit $ac_status); } &&
3595 { ac_try
='test -z "$ac_c_werror_flag"
3596 || test ! -s conftest.err'
3597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601 (exit $ac_status); }; } &&
3602 { ac_try
='test -s conftest.$ac_objext'
3603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 (exit $ac_status); }; }; then
3610 echo "$as_me: failed program was:" >&5
3611 sed 's/^/| /' conftest.
$ac_ext >&5
3615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3616 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3619 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3620 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3621 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3622 ac_test_CFLAGS
=${CFLAGS+set}
3623 ac_save_CFLAGS
=$CFLAGS
3625 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3626 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3627 if test "${ac_cv_prog_cc_g+set}" = set; then
3628 echo $ECHO_N "(cached) $ECHO_C" >&6
3630 cat >conftest.
$ac_ext <<_ACEOF
3633 cat confdefs.h
>>conftest.
$ac_ext
3634 cat >>conftest.
$ac_ext <<_ACEOF
3635 /* end confdefs.h. */
3645 rm -f conftest.
$ac_objext
3646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3647 (eval $ac_compile) 2>conftest.er1
3649 grep -v '^ *+' conftest.er1
>conftest.err
3651 cat conftest.err
>&5
3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 (exit $ac_status); } &&
3654 { ac_try
='test -z "$ac_c_werror_flag"
3655 || test ! -s conftest.err'
3656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); }; } &&
3661 { ac_try
='test -s conftest.$ac_objext'
3662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); }; }; then
3669 echo "$as_me: failed program was:" >&5
3670 sed 's/^/| /' conftest.
$ac_ext >&5
3674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3676 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3677 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3678 if test "$ac_test_CFLAGS" = set; then
3679 CFLAGS
=$ac_save_CFLAGS
3680 elif test $ac_cv_prog_cc_g = yes; then
3681 if test "$GCC" = yes; then
3687 if test "$GCC" = yes; then
3693 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3694 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3695 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3696 echo $ECHO_N "(cached) $ECHO_C" >&6
3698 ac_cv_prog_cc_stdc
=no
3700 cat >conftest.
$ac_ext <<_ACEOF
3703 cat confdefs.h
>>conftest.
$ac_ext
3704 cat >>conftest.
$ac_ext <<_ACEOF
3705 /* end confdefs.h. */
3708 #include <sys/types.h>
3709 #include <sys/stat.h>
3710 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3711 struct buf { int x; };
3712 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3713 static char *e (p, i)
3719 static char *f (char * (*g) (char **, int), char **p, ...)
3724 s = g (p, va_arg (v,int));
3729 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3730 function prototypes and stuff, but not '\xHH' hex character constants.
3731 These don't provoke an error unfortunately, instead are silently treated
3732 as 'x'. The following induces an error, until -std1 is added to get
3733 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3734 array size at least. It's necessary to write '\x00'==0 to get something
3735 that's true only with -std1. */
3736 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3738 int test (int i, double x);
3739 struct s1 {int (*f) (int a);};
3740 struct s2 {int (*f) (double a);};
3741 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3747 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3752 # Don't try gcc -ansi; that turns off useful extensions and
3753 # breaks some systems' header files.
3754 # AIX -qlanglvl=ansi
3755 # Ultrix and OSF/1 -std1
3756 # HP-UX 10.20 and later -Ae
3757 # HP-UX older versions -Aa -D_HPUX_SOURCE
3758 # SVR4 -Xc -D__EXTENSIONS__
3759 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3761 CC
="$ac_save_CC $ac_arg"
3762 rm -f conftest.
$ac_objext
3763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3764 (eval $ac_compile) 2>conftest.er1
3766 grep -v '^ *+' conftest.er1
>conftest.err
3768 cat conftest.err
>&5
3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); } &&
3771 { ac_try
='test -z "$ac_c_werror_flag"
3772 || test ! -s conftest.err'
3773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3777 (exit $ac_status); }; } &&
3778 { ac_try
='test -s conftest.$ac_objext'
3779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); }; }; then
3784 ac_cv_prog_cc_stdc
=$ac_arg
3787 echo "$as_me: failed program was:" >&5
3788 sed 's/^/| /' conftest.
$ac_ext >&5
3791 rm -f conftest.err conftest.
$ac_objext
3793 rm -f conftest.
$ac_ext conftest.
$ac_objext
3798 case "x$ac_cv_prog_cc_stdc" in
3800 echo "$as_me:$LINENO: result: none needed" >&5
3801 echo "${ECHO_T}none needed" >&6 ;;
3803 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3804 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3805 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3808 # Some people use a C++ compiler to compile C. Since we use `exit',
3809 # in C++ we need to declare it. In case someone uses the same compiler
3810 # for both compiling C and C++ we need to have the C++ compiler decide
3811 # the declaration of exit, since it's the most demanding environment.
3812 cat >conftest.
$ac_ext <<_ACEOF
3817 rm -f conftest.
$ac_objext
3818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3819 (eval $ac_compile) 2>conftest.er1
3821 grep -v '^ *+' conftest.er1
>conftest.err
3823 cat conftest.err
>&5
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); } &&
3826 { ac_try
='test -z "$ac_c_werror_flag"
3827 || test ! -s conftest.err'
3828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); }; } &&
3833 { ac_try
='test -s conftest.$ac_objext'
3834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); }; }; then
3839 for ac_declaration
in \
3841 'extern "C" void std::exit (int) throw (); using std::exit;' \
3842 'extern "C" void std::exit (int); using std::exit;' \
3843 'extern "C" void exit (int) throw ();' \
3844 'extern "C" void exit (int);' \
3847 cat >conftest.
$ac_ext <<_ACEOF
3850 cat confdefs.h
>>conftest.
$ac_ext
3851 cat >>conftest.
$ac_ext <<_ACEOF
3852 /* end confdefs.h. */
3863 rm -f conftest.
$ac_objext
3864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3865 (eval $ac_compile) 2>conftest.er1
3867 grep -v '^ *+' conftest.er1
>conftest.err
3869 cat conftest.err
>&5
3870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3871 (exit $ac_status); } &&
3872 { ac_try
='test -z "$ac_c_werror_flag"
3873 || test ! -s conftest.err'
3874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); }; } &&
3879 { ac_try
='test -s conftest.$ac_objext'
3880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3884 (exit $ac_status); }; }; then
3887 echo "$as_me: failed program was:" >&5
3888 sed 's/^/| /' conftest.
$ac_ext >&5
3892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3893 cat >conftest.
$ac_ext <<_ACEOF
3896 cat confdefs.h
>>conftest.
$ac_ext
3897 cat >>conftest.
$ac_ext <<_ACEOF
3898 /* end confdefs.h. */
3908 rm -f conftest.
$ac_objext
3909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3910 (eval $ac_compile) 2>conftest.er1
3912 grep -v '^ *+' conftest.er1
>conftest.err
3914 cat conftest.err
>&5
3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916 (exit $ac_status); } &&
3917 { ac_try
='test -z "$ac_c_werror_flag"
3918 || test ! -s conftest.err'
3919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3923 (exit $ac_status); }; } &&
3924 { ac_try
='test -s conftest.$ac_objext'
3925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929 (exit $ac_status); }; }; then
3932 echo "$as_me: failed program was:" >&5
3933 sed 's/^/| /' conftest.
$ac_ext >&5
3936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3939 if test -n "$ac_declaration"; then
3940 echo '#ifdef __cplusplus' >>confdefs.h
3941 echo $ac_declaration >>confdefs.h
3942 echo '#endif' >>confdefs.h
3946 echo "$as_me: failed program was:" >&5
3947 sed 's/^/| /' conftest.
$ac_ext >&5
3950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3952 ac_cpp
='$CPP $CPPFLAGS'
3953 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3954 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3955 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3958 cat >>confdefs.h
<<\_ACEOF
3959 #define _GNU_SOURCE 1
3966 macro_version
='2.1a'
3967 macro_revision
='1.2435'
3980 ltmain
="$ac_aux_dir/ltmain.sh"
3990 # Check whether --enable-shared or --disable-shared was given.
3991 if test "${enable_shared+set}" = set; then
3992 enableval
="$enable_shared"
3993 p
=${PACKAGE-default}
3995 yes) enable_shared
=yes ;;
3996 no
) enable_shared
=no
;;
3999 # Look at the argument we got. We use all the common list separators.
4000 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4001 for pkg
in $enableval; do
4003 if test "X$pkg" = "X$p"; then
4021 # Check whether --enable-static or --disable-static was given.
4022 if test "${enable_static+set}" = set; then
4023 enableval
="$enable_static"
4024 p
=${PACKAGE-default}
4026 yes) enable_static
=yes ;;
4027 no
) enable_static
=no
;;
4030 # Look at the argument we got. We use all the common list separators.
4031 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4032 for pkg
in $enableval; do
4034 if test "X$pkg" = "X$p"; then
4053 # Check whether --with-pic or --without-pic was given.
4054 if test "${with_pic+set}" = set; then
4061 test -z "$pic_mode" && pic_mode
=default
4069 # Check whether --enable-fast-install or --disable-fast-install was given.
4070 if test "${enable_fast_install+set}" = set; then
4071 enableval
="$enable_fast_install"
4072 p
=${PACKAGE-default}
4074 yes) enable_fast_install
=yes ;;
4075 no
) enable_fast_install
=no
;;
4077 enable_fast_install
=no
4078 # Look at the argument we got. We use all the common list separators.
4079 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4080 for pkg
in $enableval; do
4082 if test "X$pkg" = "X$p"; then
4083 enable_fast_install
=yes
4090 enable_fast_install
=yes
4100 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4101 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4102 if test "${lt_cv_path_SED+set}" = set; then
4103 echo $ECHO_N "(cached) $ECHO_C" >&6
4105 # Loop through the user's path and test for sed and gsed.
4106 # Then use that list of sed's as ones to test for truncation.
4107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4111 test -z "$as_dir" && as_dir
=.
4112 for lt_ac_prog
in sed gsed
; do
4113 for ac_exec_ext
in '' $ac_executable_extensions; do
4114 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4115 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4123 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4124 # along with /bin/sed that truncates output.
4125 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4126 test ! -f $lt_ac_sed && continue
4127 cat /dev
/null
> conftest.
in
4129 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4130 # Check for GNU sed and select it if it is found.
4131 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4132 lt_cv_path_SED
=$lt_ac_sed
4136 cat conftest.
in conftest.
in >conftest.tmp
4137 mv conftest.tmp conftest.
in
4138 cp conftest.
in conftest.
nl
4140 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4141 cmp -s conftest.out conftest.
nl ||
break
4142 # 10000 chars as input seems more than enough
4143 test $lt_ac_count -gt 10 && break
4144 lt_ac_count
=`expr $lt_ac_count + 1`
4145 if test $lt_ac_count -gt $lt_ac_max; then
4146 lt_ac_max
=$lt_ac_count
4147 lt_cv_path_SED
=$lt_ac_sed
4156 echo "$as_me:$LINENO: result: $SED" >&5
4157 echo "${ECHO_T}$SED" >&6
4159 test -z "$SED" && SED
=sed
4160 Xsed
="$SED -e 1s/^X//"
4172 echo "$as_me:$LINENO: checking for egrep" >&5
4173 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4174 if test "${ac_cv_prog_egrep+set}" = set; then
4175 echo $ECHO_N "(cached) $ECHO_C" >&6
4177 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4178 then ac_cv_prog_egrep
='grep -E'
4179 else ac_cv_prog_egrep
='egrep'
4182 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4183 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4184 EGREP
=$ac_cv_prog_egrep
4187 echo "$as_me:$LINENO: checking for fgrep" >&5
4188 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4189 if test "${ac_cv_prog_fgrep+set}" = set; then
4190 echo $ECHO_N "(cached) $ECHO_C" >&6
4192 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
4193 then ac_cv_prog_fgrep
='grep -F'
4194 else ac_cv_prog_fgrep
='fgrep'
4197 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4198 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4199 FGREP
=$ac_cv_prog_fgrep
4202 test -z "$GREP" && GREP
=grep
4222 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4223 if test "${with_gnu_ld+set}" = set; then
4224 withval
="$with_gnu_ld"
4225 test "$withval" = no || with_gnu_ld
=yes
4230 if test "$GCC" = yes; then
4231 # Check if gcc -print-prog-name=ld gives a path.
4232 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4233 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4236 # gcc leaves a trailing carriage return which upsets mingw
4237 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4239 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4242 # Accept absolute paths.
4244 re_direlt
='/[^/][^/]*/\.\./'
4245 # Canonicalize the pathname of ld
4246 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4247 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4248 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4250 test -z "$LD" && LD
="$ac_prog"
4253 # If it fails, then pretend we aren't using GCC.
4257 # If it is relative, then search for the first ld in PATH.
4261 elif test "$with_gnu_ld" = yes; then
4262 echo "$as_me:$LINENO: checking for GNU ld" >&5
4263 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4265 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4266 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4268 if test "${lt_cv_path_LD+set}" = set; then
4269 echo $ECHO_N "(cached) $ECHO_C" >&6
4271 if test -z "$LD"; then
4272 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4273 for ac_dir
in $PATH; do
4275 test -z "$ac_dir" && ac_dir
=.
4276 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4277 lt_cv_path_LD
="$ac_dir/$ac_prog"
4278 # Check to see if the program is GNU ld. I'd rather use --version,
4279 # but apparently some variants of GNU ld only accept -v.
4280 # Break only if it was the GNU/non-GNU ld that we prefer.
4281 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4282 *GNU
* |
*'with BFD'*)
4283 test "$with_gnu_ld" != no
&& break
4286 test "$with_gnu_ld" != yes && break
4293 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4298 if test -n "$LD"; then
4299 echo "$as_me:$LINENO: result: $LD" >&5
4300 echo "${ECHO_T}$LD" >&6
4302 echo "$as_me:$LINENO: result: no" >&5
4303 echo "${ECHO_T}no" >&6
4305 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4306 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4307 { (exit 1); exit 1; }; }
4308 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4309 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4310 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4311 echo $ECHO_N "(cached) $ECHO_C" >&6
4313 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4314 case `$LD -v 2>&1 </dev/null` in
4315 *GNU
* |
*'with BFD'*)
4316 lt_cv_prog_gnu_ld
=yes
4319 lt_cv_prog_gnu_ld
=no
4323 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4324 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4325 with_gnu_ld
=$lt_cv_prog_gnu_ld
4336 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4337 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4338 if test "${lt_cv_path_NM+set}" = set; then
4339 echo $ECHO_N "(cached) $ECHO_C" >&6
4341 if test -n "$NM"; then
4342 # Let the user override the test.
4345 lt_nm_to_check
="${ac_tool_prefix}nm"
4346 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4347 lt_nm_to_check
="$lt_nm_to_check nm"
4349 for lt_tmp_nm
in $lt_nm_to_check; do
4350 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4351 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4353 test -z "$ac_dir" && ac_dir
=.
4354 tmp_nm
="$ac_dir/$lt_tmp_nm"
4355 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4356 # Check to see if the nm accepts a BSD-compat flag.
4357 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4358 # nm: unknown option "B" ignored
4359 # Tru64's nm complains that /dev/null is an invalid object file
4360 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4361 */dev
/null
* |
*'Invalid file or object type'*)
4362 lt_cv_path_NM
="$tmp_nm -B"
4366 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4368 lt_cv_path_NM
="$tmp_nm -p"
4372 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4373 continue # so that we can try to find one that supports BSD flags
4382 : ${lt_cv_path_NM=no}
4385 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4386 echo "${ECHO_T}$lt_cv_path_NM" >&6
4387 if test "$lt_cv_path_NM" != "no"; then
4390 # Didn't find any BSD compatible name lister, look for dumpbin.
4391 if test -n "$ac_tool_prefix"; then
4392 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4394 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4395 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4396 echo "$as_me:$LINENO: checking for $ac_word" >&5
4397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4398 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4399 echo $ECHO_N "(cached) $ECHO_C" >&6
4401 if test -n "$DUMPBIN"; then
4402 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4408 test -z "$as_dir" && as_dir
=.
4409 for ac_exec_ext
in '' $ac_executable_extensions; do
4410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4411 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 DUMPBIN
=$ac_cv_prog_DUMPBIN
4421 if test -n "$DUMPBIN"; then
4422 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4423 echo "${ECHO_T}$DUMPBIN" >&6
4425 echo "$as_me:$LINENO: result: no" >&5
4426 echo "${ECHO_T}no" >&6
4429 test -n "$DUMPBIN" && break
4432 if test -z "$DUMPBIN"; then
4433 ac_ct_DUMPBIN
=$DUMPBIN
4434 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4436 # Extract the first word of "$ac_prog", so it can be a program name with args.
4437 set dummy
$ac_prog; ac_word
=$2
4438 echo "$as_me:$LINENO: checking for $ac_word" >&5
4439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4440 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4441 echo $ECHO_N "(cached) $ECHO_C" >&6
4443 if test -n "$ac_ct_DUMPBIN"; then
4444 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4450 test -z "$as_dir" && as_dir
=.
4451 for ac_exec_ext
in '' $ac_executable_extensions; do
4452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4453 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4463 if test -n "$ac_ct_DUMPBIN"; then
4464 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4465 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4467 echo "$as_me:$LINENO: result: no" >&5
4468 echo "${ECHO_T}no" >&6
4471 test -n "$ac_ct_DUMPBIN" && break
4473 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4475 DUMPBIN
=$ac_ct_DUMPBIN
4479 if test "$DUMPBIN" != ":"; then
4483 test -z "$NM" && NM
=nm
4490 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4491 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4492 if test "${lt_cv_nm_interface+set}" = set; then
4493 echo $ECHO_N "(cached) $ECHO_C" >&6
4495 lt_cv_nm_interface
="BSD nm"
4496 echo "int some_variable = 0;" > conftest.
$ac_ext
4497 (eval echo "\"\$as_me:4497: $ac_compile\"" >&5)
4498 (eval "$ac_compile" 2>conftest.err
)
4499 cat conftest.err
>&5
4500 (eval echo "\"\$as_me:4500: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4501 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4502 cat conftest.err
>&5
4503 (eval echo "\"\$as_me:4503: output\"" >&5)
4504 cat conftest.out
>&5
4505 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4506 lt_cv_nm_interface
="MS dumpbin"
4510 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4511 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4513 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4514 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4516 if test "$LN_S" = "ln -s"; then
4517 echo "$as_me:$LINENO: result: yes" >&5
4518 echo "${ECHO_T}yes" >&6
4520 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4521 echo "${ECHO_T}no, using $LN_S" >&6
4524 # find the maximum length of command line arguments
4525 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4526 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4527 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4528 echo $ECHO_N "(cached) $ECHO_C" >&6
4535 # On DJGPP, this test can blow up pretty badly due to problems in libc
4536 # (any single argument exceeding 2000 bytes causes a buffer overrun
4537 # during glob expansion). Even if it were fixed, the result of this
4538 # check would be larger than it should be.
4539 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4543 # Under GNU Hurd, this test is not required because there is
4544 # no limit to the length of command line arguments.
4545 # Libtool will interpret -1 as no limit whatsoever
4546 lt_cv_sys_max_cmd_len
=-1;
4550 # On Win9x/ME, this test blows up -- it succeeds, but takes
4551 # about 5 minutes as the teststring grows exponentially.
4552 # Worse, since 9x/ME are not pre-emptively multitasking,
4553 # you end up with a "frozen" computer, even though with patience
4554 # the test eventually succeeds (with a max line length of 256k).
4555 # Instead, let's just punt: use the minimum linelength reported by
4556 # all of the supported platforms: 8192 (on NT/2K/XP).
4557 lt_cv_sys_max_cmd_len
=8192;
4561 # On AmigaOS with pdksh, this test takes hours, literally.
4562 # So we just punt and use a minimum line length of 8192.
4563 lt_cv_sys_max_cmd_len
=8192;
4566 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4567 # This has been around since 386BSD, at least. Likely further.
4568 if test -x /sbin
/sysctl
; then
4569 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4570 elif test -x /usr
/sbin
/sysctl
; then
4571 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4573 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4575 # And add a safety zone
4576 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4577 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4581 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4582 lt_cv_sys_max_cmd_len
=196608
4586 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4587 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4588 # nice to cause kernel panics so lets avoid the loop below.
4589 # First set a reasonable default.
4590 lt_cv_sys_max_cmd_len
=16384
4592 if test -x /sbin
/sysconfig
; then
4593 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4594 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4599 lt_cv_sys_max_cmd_len
=102400
4601 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4602 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4603 if test -n "$kargmax"; then
4604 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4606 lt_cv_sys_max_cmd_len
=32768
4610 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
4611 if test -n $lt_cv_sys_max_cmd_len; then
4612 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4613 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4615 # Make teststring a little bigger before we do anything with it.
4616 # a 1K string should be a reasonable start.
4617 for i
in 1 2 3 4 5 6 7 8 ; do
4618 teststring
=$teststring$teststring
4620 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4621 # If test is not a shell built-in, we'll probably end up computing a
4622 # maximum length that is only half of the actual maximum length, but
4624 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4625 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4626 test $i != 17 # 1/2 MB should be enough
4629 teststring
=$teststring$teststring
4631 # Only check the string length outside the loop.
4632 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4634 # Add a significant safety factor because C++ compilers can tack on
4635 # massive amounts of additional arguments before passing them to the
4636 # linker. It appears as though 1/2 is a usable value.
4637 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4644 if test -n $lt_cv_sys_max_cmd_len ; then
4645 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4646 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4648 echo "$as_me:$LINENO: result: none" >&5
4649 echo "${ECHO_T}none" >&6
4651 max_cmd_len
=$lt_cv_sys_max_cmd_len
4663 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4664 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4665 # Try some XSI features
4668 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4669 = c,a/b,, ) >/dev/null 2>&1 \
4671 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4672 echo "${ECHO_T}$xsi_shell" >&6
4675 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4676 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4678 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4680 && lt_shell_append=yes
4681 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4682 echo "${ECHO_T}$lt_shell_append" >&6
4685 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4695 # test EBCDIC or ASCII
4696 case `echo X|tr X '\101'` in
4697 A) # ASCII based system
4698 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4699 lt_SP2NL='tr \040 \012'
4700 lt_NL2SP='tr \015\012 \040\040'
4702 *) # EBCDIC based system
4703 lt_SP2NL='tr \100 \n'
4704 lt_NL2SP='tr \r\n \100\100'
4716 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4717 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4718 if test "${lt_cv_ld_reload_flag+set}" = set; then
4719 echo $ECHO_N "(cached
) $ECHO_C" >&6
4721 lt_cv_ld_reload_flag='-r'
4723 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4724 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4725 reload_flag=$lt_cv_ld_reload_flag
4726 case $reload_flag in
4728 *) reload_flag=" $reload_flag" ;;
4730 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4733 if test "$GCC" = yes; then
4734 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4736 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4750 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4751 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4752 if test "${lt_cv_deplibs_check_method+set}" = set; then
4753 echo $ECHO_N "(cached
) $ECHO_C" >&6
4755 lt_cv_file_magic_cmd='$MAGIC_CMD'
4756 lt_cv_file_magic_test_file=
4757 lt_cv_deplibs_check_method='unknown'
4758 # Need to set the preceding variable on all platforms that support
4759 # interlibrary dependencies.
4760 # 'none' -- dependencies not supported.
4761 # `unknown' -- same as none, but documents that we really don't know.
4762 # 'pass_all' -- all dependencies passed with no checks.
4763 # 'test_compile' -- check by making test program.
4764 # 'file_magic [[regex]]' -- check by looking for files in library path
4765 # which responds to the $file_magic_cmd with a given extended regex.
4766 # If you have `file' or equivalent on your system and you're not sure
4767 # whether `pass_all' will *always* work, you probably want this one.
4771 lt_cv_deplibs_check_method=pass_all
4775 lt_cv_deplibs_check_method=pass_all
4779 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4780 lt_cv_file_magic_cmd='/usr/bin/file -L'
4781 lt_cv_file_magic_test_file=/shlib/libc.so
4785 # func_win32_libid is a shell function defined in ltmain.sh
4786 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4787 lt_cv_file_magic_cmd='func_win32_libid'
4791 # Base MSYS/MinGW do not provide the 'file' command needed by
4792 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4793 # unless we find 'file', for example because we are cross-compiling.
4794 if ( file / ) >/dev/null 2>&1; then
4795 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4796 lt_cv_file_magic_cmd='func_win32_libid'
4798 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4799 lt_cv_file_magic_cmd='$OBJDUMP -f'
4803 darwin* | rhapsody*)
4804 lt_cv_deplibs_check_method=pass_all
4807 freebsd* | dragonfly*)
4808 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4811 # Not sure whether the presence of OpenBSD here was a mistake.
4812 # Let's accept both of them until this is cleared up.
4813 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4814 lt_cv_file_magic_cmd=/usr/bin/file
4815 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4819 lt_cv_deplibs_check_method=pass_all
4824 lt_cv_deplibs_check_method=pass_all
4827 hpux10.20* | hpux11*)
4828 lt_cv_file_magic_cmd=/usr/bin/file
4831 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4832 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4835 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]'
4836 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4839 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4840 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4846 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4847 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4850 irix5* | irix6* | nonstopux*)
4852 *-32|*"-32 ") libmagic=32-bit;;
4853 *-n32|*"-n32 ") libmagic=N32;;
4854 *-64|*"-64 ") libmagic=64-bit;;
4855 *) libmagic=never-match;;
4857 lt_cv_deplibs_check_method=pass_all
4860 # This must be Linux ELF.
4861 linux* | k*bsd*-gnu)
4862 lt_cv_deplibs_check_method=pass_all
4866 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4867 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4869 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4874 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4875 lt_cv_file_magic_cmd=/usr/bin/file
4876 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4880 lt_cv_deplibs_check_method=pass_all
4884 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4885 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4887 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4891 osf3* | osf4* | osf5*)
4892 lt_cv_deplibs_check_method=pass_all
4896 lt_cv_deplibs_check_method=pass_all
4900 lt_cv_deplibs_check_method=pass_all
4903 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4904 lt_cv_deplibs_check_method=pass_all
4908 case $host_vendor in
4910 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]'
4911 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4914 lt_cv_deplibs_check_method=pass_all
4917 lt_cv_file_magic_cmd='/bin/file'
4918 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4921 lt_cv_file_magic_cmd='/bin/file'
4922 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4923 lt_cv_file_magic_test_file=/lib/libc.so
4926 lt_cv_deplibs_check_method=pass_all
4929 lt_cv_deplibs_check_method=pass_all
4935 lt_cv_deplibs_check_method=pass_all
4940 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4941 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4942 file_magic_cmd=$lt_cv_file_magic_cmd
4943 deplibs_check_method=$lt_cv_deplibs_check_method
4944 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4957 if test -n "$ac_tool_prefix"; then
4958 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4959 set dummy ${ac_tool_prefix}ar; ac_word=$2
4960 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4961 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4962 if test "${ac_cv_prog_AR+set}" = set; then
4963 echo $ECHO_N "(cached
) $ECHO_C" >&6
4965 if test -n "$AR"; then
4966 ac_cv_prog_AR="$AR" # Let the user override the test.
4968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4972 test -z "$as_dir" && as_dir=.
4973 for ac_exec_ext in '' $ac_executable_extensions; do
4974 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4975 ac_cv_prog_AR="${ac_tool_prefix}ar"
4976 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4985 if test -n "$AR"; then
4986 echo "$as_me:$LINENO: result
: $AR" >&5
4987 echo "${ECHO_T}$AR" >&6
4989 echo "$as_me:$LINENO: result
: no
" >&5
4990 echo "${ECHO_T}no
" >&6
4994 if test -z "$ac_cv_prog_AR"; then
4996 # Extract the first word of "ar", so it can be a program name with args.
4997 set dummy ar; ac_word=$2
4998 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4999 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5000 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5001 echo $ECHO_N "(cached
) $ECHO_C" >&6
5003 if test -n "$ac_ct_AR"; then
5004 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5010 test -z "$as_dir" && as_dir=.
5011 for ac_exec_ext in '' $ac_executable_extensions; do
5012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5013 ac_cv_prog_ac_ct_AR="ar"
5014 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5020 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
5023 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5024 if test -n "$ac_ct_AR"; then
5025 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
5026 echo "${ECHO_T}$ac_ct_AR" >&6
5028 echo "$as_me:$LINENO: result
: no
" >&5
5029 echo "${ECHO_T}no
" >&6
5037 test -z "$AR" && AR=ar
5038 test -z "$AR_FLAGS" && AR_FLAGS=cru
5050 if test -n "$ac_tool_prefix"; then
5051 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5052 set dummy ${ac_tool_prefix}strip; ac_word=$2
5053 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5054 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5055 if test "${ac_cv_prog_STRIP+set}" = set; then
5056 echo $ECHO_N "(cached
) $ECHO_C" >&6
5058 if test -n "$STRIP"; then
5059 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5065 test -z "$as_dir" && as_dir=.
5066 for ac_exec_ext in '' $ac_executable_extensions; do
5067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5068 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5069 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5077 STRIP=$ac_cv_prog_STRIP
5078 if test -n "$STRIP"; then
5079 echo "$as_me:$LINENO: result
: $STRIP" >&5
5080 echo "${ECHO_T}$STRIP" >&6
5082 echo "$as_me:$LINENO: result
: no
" >&5
5083 echo "${ECHO_T}no
" >&6
5087 if test -z "$ac_cv_prog_STRIP"; then
5089 # Extract the first word of "strip
", so it can be a program name with args.
5090 set dummy strip; ac_word=$2
5091 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5092 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5093 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5094 echo $ECHO_N "(cached
) $ECHO_C" >&6
5096 if test -n "$ac_ct_STRIP"; then
5097 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5103 test -z "$as_dir" && as_dir=.
5104 for ac_exec_ext in '' $ac_executable_extensions; do
5105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5106 ac_cv_prog_ac_ct_STRIP="strip
"
5107 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5113 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5116 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5117 if test -n "$ac_ct_STRIP"; then
5118 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5119 echo "${ECHO_T}$ac_ct_STRIP" >&6
5121 echo "$as_me:$LINENO: result
: no
" >&5
5122 echo "${ECHO_T}no
" >&6
5127 STRIP="$ac_cv_prog_STRIP"
5130 test -z "$STRIP" && STRIP=:
5137 if test -n "$ac_tool_prefix"; then
5138 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5139 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5140 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5141 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5142 if test "${ac_cv_prog_RANLIB+set}" = set; then
5143 echo $ECHO_N "(cached
) $ECHO_C" >&6
5145 if test -n "$RANLIB"; then
5146 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 test -z "$as_dir" && as_dir=.
5153 for ac_exec_ext in '' $ac_executable_extensions; do
5154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5155 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5156 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5164 RANLIB=$ac_cv_prog_RANLIB
5165 if test -n "$RANLIB"; then
5166 echo "$as_me:$LINENO: result
: $RANLIB" >&5
5167 echo "${ECHO_T}$RANLIB" >&6
5169 echo "$as_me:$LINENO: result
: no
" >&5
5170 echo "${ECHO_T}no
" >&6
5174 if test -z "$ac_cv_prog_RANLIB"; then
5175 ac_ct_RANLIB=$RANLIB
5176 # Extract the first word of "ranlib
", so it can be a program name with args.
5177 set dummy ranlib; ac_word=$2
5178 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5179 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5180 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5181 echo $ECHO_N "(cached
) $ECHO_C" >&6
5183 if test -n "$ac_ct_RANLIB"; then
5184 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5190 test -z "$as_dir" && as_dir=.
5191 for ac_exec_ext in '' $ac_executable_extensions; do
5192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5193 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5194 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5200 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5203 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5204 if test -n "$ac_ct_RANLIB"; then
5205 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5206 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5208 echo "$as_me:$LINENO: result
: no
" >&5
5209 echo "${ECHO_T}no
" >&6
5212 RANLIB=$ac_ct_RANLIB
5214 RANLIB="$ac_cv_prog_RANLIB"
5217 test -z "$RANLIB" && RANLIB=:
5224 # Determine commands to create old-style static archives.
5225 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5226 old_postinstall_cmds='chmod 644 $oldlib'
5227 old_postuninstall_cmds=
5229 if test -n "$RANLIB"; then
5232 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5235 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5238 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5274 # If no C compiler was specified, use CC.
5277 # If no C compiler flags were specified, use CFLAGS.
5278 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5280 # Allow CC to be a program name with arguments.
5284 # Check for command to grab the raw symbol name followed by C symbol from nm.
5285 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5286 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
5287 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5288 echo $ECHO_N "(cached
) $ECHO_C" >&6
5291 # These are sane defaults that work on at least a few old systems.
5292 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5294 # Character class describing NM global symbol codes.
5295 symcode='[BCDEGRST]'
5297 # Regexp to match symbols that can be accessed directly from C.
5298 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5300 # Define system-specific variables.
5305 cygwin* | mingw* | pw32*)
5306 symcode='[ABCDGISTW]'
5309 if test "$host_cpu" = ia64; then
5310 symcode='[ABCDEGRST]'
5314 symcode='[BCDEGRST]'
5317 symcode='[BCDEGQRST]'
5328 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5336 # If we're using GNU nm, then use its standard symbol codes.
5337 case `$NM -V 2>&1` in
5338 *GNU* | *'with BFD'*)
5339 symcode='[ABCDGIRSTW]' ;;
5342 # Transform an extracted symbol line into a proper C declaration.
5343 # Some systems (esp. on ia64) link data and code symbols differently,
5344 # so use this general approach.
5345 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5347 # Transform an extracted symbol line into symbol name and symbol address
5348 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5350 # Handle CRLF in mingw tool chain
5354 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5358 # Try without a prefix underscore, then with it.
5359 for ac_symprfx in "" "_
"; do
5361 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5362 symxfrm="\\1 $ac_symprfx\\2 \\2"
5364 # Write the raw and C identifiers.
5365 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5366 # Fake it for dumpbin and say T for any non-static function
5367 # and D for any global variable.
5368 # Also find C++ and __fastcall symbols from MSVC++,
5369 # which start with @ or ?.
5370 lt_cv_sys_global_symbol_pipe="$AWK '"\
5371 " {last_section=section; section=\$ 3};"\
5372 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5373 " \$ 0!~/External *\|/{next};"\
5374 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5375 " {if(hide[section]) next};"\
5376 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5377 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5378 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5379 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5380 " ' prfx
=^
$ac_symprfx"
5382 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5385 # Check to see that the pipe works correctly.
5389 cat > conftest.$ac_ext <<_LT_EOF
5394 void nm_test_func(void);
5395 void nm_test_func(void){}
5399 int main(){nm_test_var='a';nm_test_func();return(0);}
5402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5403 (eval $ac_compile) 2>&5
5405 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5406 (exit $ac_status); }; then
5407 # Now try to grab the symbols.
5409 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5410 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5412 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5413 (exit $ac_status); } && test -s "$nlist"; then
5414 # Try sorting and uniquifying the output.
5415 if sort "$nlist" | uniq > "$nlist"T; then
5416 mv -f "$nlist"T "$nlist"
5421 # Make sure that we snagged all the symbols we need.
5422 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5423 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5424 cat <<_LT_EOF > conftest.$ac_ext
5430 # Now generate the symbol file.
5431 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5433 cat <<_LT_EOF >> conftest.$ac_ext
5435 /* The mapping between symbol names and symbols. */
5440 lt__PROGRAM__LTX_preloaded_symbols[] =
5442 { "@PROGRAM@
", (void *) 0 },
5444 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5445 cat <<\_LT_EOF >> conftest.$ac_ext
5449 /* This works around a problem in FreeBSD linker */
5450 #ifdef FREEBSD_WORKAROUND
5451 static const void *lt_preloaded_setup() {
5452 return lt__PROGRAM__LTX_preloaded_symbols;
5460 # Now try linking the two files.
5461 mv conftest.$ac_objext conftstm.$ac_objext
5462 lt_save_LIBS="$LIBS"
5463 lt_save_CFLAGS="$CFLAGS"
5464 LIBS="conftstm.
$ac_objext"
5465 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5467 (eval $ac_link) 2>&5
5469 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5470 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5473 LIBS="$lt_save_LIBS"
5474 CFLAGS="$lt_save_CFLAGS"
5476 echo "cannot
find nm_test_func
in $nlist" >&5
5479 echo "cannot
find nm_test_var
in $nlist" >&5
5482 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5485 echo "$progname: failed program was
:" >&5
5486 cat conftest.$ac_ext >&5
5488 rm -f conftest* conftst*
5490 # Do not use the global_symbol_pipe unless it works.
5491 if test "$pipe_works" = yes; then
5494 lt_cv_sys_global_symbol_pipe=
5500 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5501 lt_cv_sys_global_symbol_to_cdecl=
5503 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5504 echo "$as_me:$LINENO: result
: failed
" >&5
5505 echo "${ECHO_T}failed
" >&6
5507 echo "$as_me:$LINENO: result
: ok
" >&5
5508 echo "${ECHO_T}ok
" >&6
5527 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5528 if test "${enable_libtool_lock+set}" = set; then
5529 enableval="$enable_libtool_lock"
5532 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5534 # Some flags need to be propagated to the compiler or linker for good
5538 # Find out which ABI we are using.
5539 echo 'int i;' > conftest.$ac_ext
5540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5541 (eval $ac_compile) 2>&5
5543 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5544 (exit $ac_status); }; then
5545 case `/usr/bin/file conftest.$ac_objext` in
5557 # Find out which ABI we are using.
5558 echo '#line 5558 "configure
"' > conftest.$ac_ext
5559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5560 (eval $ac_compile) 2>&5
5562 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5563 (exit $ac_status); }; then
5564 if test "$lt_cv_prog_gnu_ld" = yes; then
5565 case `/usr/bin/file conftest.$ac_objext` in
5567 LD="${LD-ld} -melf32bsmip"
5570 LD="${LD-ld} -melf32bmipn32"
5573 LD="${LD-ld} -melf64bmip"
5577 case `/usr/bin/file conftest.$ac_objext` in
5593 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5594 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5595 # Find out which ABI we are using.
5596 echo 'int i;' > conftest.$ac_ext
5597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5598 (eval $ac_compile) 2>&5
5600 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5601 (exit $ac_status); }; then
5602 case `/usr/bin/file conftest.o` in
5605 x86_64-*kfreebsd*-gnu)
5606 LD="${LD-ld} -m elf_i386_fbsd
"
5609 LD="${LD-ld} -m elf_i386
"
5611 ppc64-*linux*|powerpc64-*linux*)
5612 LD="${LD-ld} -m elf32ppclinux
"
5615 LD="${LD-ld} -m elf_s390
"
5618 LD="${LD-ld} -m elf32_sparc
"
5624 x86_64-*kfreebsd*-gnu)
5625 LD="${LD-ld} -m elf_x86_64_fbsd
"
5628 LD="${LD-ld} -m elf_x86_64
"
5630 ppc*-*linux*|powerpc*-*linux*)
5631 LD="${LD-ld} -m elf64ppc
"
5633 s390*-*linux*|s390*-*tpf*)
5634 LD="${LD-ld} -m elf64_s390
"
5637 LD="${LD-ld} -m elf64_sparc
"
5647 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5648 SAVE_CFLAGS="$CFLAGS"
5649 CFLAGS="$CFLAGS -belf"
5650 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5651 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5652 if test "${lt_cv_cc_needs_belf+set}" = set; then
5653 echo $ECHO_N "(cached
) $ECHO_C" >&6
5656 ac_cpp='$CPP $CPPFLAGS'
5657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5661 cat >conftest.$ac_ext <<_ACEOF
5664 cat confdefs.h >>conftest.$ac_ext
5665 cat >>conftest.$ac_ext <<_ACEOF
5666 /* end confdefs.h. */
5676 rm -f conftest.$ac_objext conftest$ac_exeext
5677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5678 (eval $ac_link) 2>conftest.er1
5680 grep -v '^ *+' conftest.er1 >conftest.err
5682 cat conftest.err >&5
5683 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5684 (exit $ac_status); } &&
5685 { ac_try='test -z "$ac_c_werror_flag"
5686 || test ! -s conftest.err'
5687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5690 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5691 (exit $ac_status); }; } &&
5692 { ac_try='test -s conftest$ac_exeext'
5693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5696 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5697 (exit $ac_status); }; }; then
5698 lt_cv_cc_needs_belf=yes
5700 echo "$as_me: failed program was
:" >&5
5701 sed 's/^/| /' conftest.$ac_ext >&5
5703 lt_cv_cc_needs_belf=no
5705 rm -f conftest.err conftest.$ac_objext \
5706 conftest$ac_exeext conftest.$ac_ext
5708 ac_cpp='$CPP $CPPFLAGS'
5709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5714 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5715 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5716 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5717 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5718 CFLAGS="$SAVE_CFLAGS"
5722 # Find out which ABI we are using.
5723 echo 'int i;' > conftest.$ac_ext
5724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5725 (eval $ac_compile) 2>&5
5727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5728 (exit $ac_status); }; then
5729 case `/usr/bin/file conftest.o` in
5731 case $lt_cv_prog_gnu_ld in
5732 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5733 *) LD="${LD-ld} -64" ;;
5742 need_locks="$enable_libtool_lock"
5745 ac_cpp='$CPP $CPPFLAGS'
5746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5749 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5750 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
5751 # On Suns, sometimes $CPP names a directory.
5752 if test -n "$CPP" && test -d "$CPP"; then
5755 if test -z "$CPP"; then
5756 if test "${ac_cv_prog_CPP+set}" = set; then
5757 echo $ECHO_N "(cached
) $ECHO_C" >&6
5759 # Double quotes because CPP needs to be expanded
5760 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5763 for ac_c_preproc_warn_flag in '' yes
5765 # Use a header file that comes with gcc, so configuring glibc
5766 # with a fresh cross-compiler works.
5767 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5768 # <limits.h> exists even on freestanding compilers.
5769 # On the NeXT, cc -E runs the code through the compiler's parser,
5770 # not just through cpp. "Syntax error
" is here to catch this case.
5771 cat >conftest.$ac_ext <<_ACEOF
5774 cat confdefs.h >>conftest.$ac_ext
5775 cat >>conftest.$ac_ext <<_ACEOF
5776 /* end confdefs.h. */
5778 # include <limits.h>
5780 # include <assert.h>
5784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5785 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5787 grep -v '^ *+' conftest.er1 >conftest.err
5789 cat conftest.err >&5
5790 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5791 (exit $ac_status); } >/dev/null; then
5792 if test -s conftest.err; then
5793 ac_cpp_err=$ac_c_preproc_warn_flag
5794 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5801 if test -z "$ac_cpp_err"; then
5804 echo "$as_me: failed program was
:" >&5
5805 sed 's/^/| /' conftest.$ac_ext >&5
5807 # Broken: fails on valid input.
5810 rm -f conftest.err conftest.$ac_ext
5812 # OK, works on sane cases. Now check whether non-existent headers
5813 # can be detected and how.
5814 cat >conftest.$ac_ext <<_ACEOF
5817 cat confdefs.h >>conftest.$ac_ext
5818 cat >>conftest.$ac_ext <<_ACEOF
5819 /* end confdefs.h. */
5820 #include <ac_nonexistent.h>
5822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5823 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5825 grep -v '^ *+' conftest.er1 >conftest.err
5827 cat conftest.err >&5
5828 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5829 (exit $ac_status); } >/dev/null; then
5830 if test -s conftest.err; then
5831 ac_cpp_err=$ac_c_preproc_warn_flag
5832 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5839 if test -z "$ac_cpp_err"; then
5840 # Broken: success on invalid input.
5843 echo "$as_me: failed program was
:" >&5
5844 sed 's/^/| /' conftest.$ac_ext >&5
5846 # Passes both tests.
5850 rm -f conftest.err conftest.$ac_ext
5853 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5854 rm -f conftest.err conftest.$ac_ext
5855 if $ac_preproc_ok; then
5867 echo "$as_me:$LINENO: result
: $CPP" >&5
5868 echo "${ECHO_T}$CPP" >&6
5870 for ac_c_preproc_warn_flag in '' yes
5872 # Use a header file that comes with gcc, so configuring glibc
5873 # with a fresh cross-compiler works.
5874 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5875 # <limits.h> exists even on freestanding compilers.
5876 # On the NeXT, cc -E runs the code through the compiler's parser,
5877 # not just through cpp. "Syntax error
" is here to catch this case.
5878 cat >conftest.$ac_ext <<_ACEOF
5881 cat confdefs.h >>conftest.$ac_ext
5882 cat >>conftest.$ac_ext <<_ACEOF
5883 /* end confdefs.h. */
5885 # include <limits.h>
5887 # include <assert.h>
5891 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5892 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5894 grep -v '^ *+' conftest.er1 >conftest.err
5896 cat conftest.err >&5
5897 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5898 (exit $ac_status); } >/dev/null; then
5899 if test -s conftest.err; then
5900 ac_cpp_err=$ac_c_preproc_warn_flag
5901 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5908 if test -z "$ac_cpp_err"; then
5911 echo "$as_me: failed program was
:" >&5
5912 sed 's/^/| /' conftest.$ac_ext >&5
5914 # Broken: fails on valid input.
5917 rm -f conftest.err conftest.$ac_ext
5919 # OK, works on sane cases. Now check whether non-existent headers
5920 # can be detected and how.
5921 cat >conftest.$ac_ext <<_ACEOF
5924 cat confdefs.h >>conftest.$ac_ext
5925 cat >>conftest.$ac_ext <<_ACEOF
5926 /* end confdefs.h. */
5927 #include <ac_nonexistent.h>
5929 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
5930 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5932 grep -v '^ *+' conftest.er1 >conftest.err
5934 cat conftest.err >&5
5935 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5936 (exit $ac_status); } >/dev/null; then
5937 if test -s conftest.err; then
5938 ac_cpp_err=$ac_c_preproc_warn_flag
5939 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5946 if test -z "$ac_cpp_err"; then
5947 # Broken: success on invalid input.
5950 echo "$as_me: failed program was
:" >&5
5951 sed 's/^/| /' conftest.$ac_ext >&5
5953 # Passes both tests.
5957 rm -f conftest.err conftest.$ac_ext
5960 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5961 rm -f conftest.err conftest.$ac_ext
5962 if $ac_preproc_ok; then
5965 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
5966 See \
`config.log' for more details." >&5
5967 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5968 See \`config.log
' for more details." >&2;}
5969 { (exit 1); exit 1; }; }
5973 ac_cpp='$CPP $CPPFLAGS'
5974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5975 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5979 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5980 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5981 if test "${ac_cv_header_stdc+set}" = set; then
5982 echo $ECHO_N "(cached) $ECHO_C" >&6
5984 cat >conftest.$ac_ext <<_ACEOF
5987 cat confdefs.h >>conftest.$ac_ext
5988 cat >>conftest.$ac_ext <<_ACEOF
5989 /* end confdefs.h. */
6003 rm -f conftest.$ac_objext
6004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6005 (eval $ac_compile) 2>conftest.er1
6007 grep -v '^
*+' conftest.er1 >conftest.err
6009 cat conftest.err >&5
6010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6011 (exit $ac_status); } &&
6012 { ac_try='test -z "$ac_c_werror_flag"
6013 ||
test ! -s conftest.err
'
6014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6018 (exit $ac_status); }; } &&
6019 { ac_try='test -s conftest.
$ac_objext'
6020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); }; }; then
6025 ac_cv_header_stdc=yes
6027 echo "$as_me: failed program was:" >&5
6028 sed 's
/^
/|
/' conftest.$ac_ext >&5
6030 ac_cv_header_stdc=no
6032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6034 if test $ac_cv_header_stdc = yes; then
6035 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6036 cat >conftest.$ac_ext <<_ACEOF
6039 cat confdefs.h >>conftest.$ac_ext
6040 cat >>conftest.$ac_ext <<_ACEOF
6041 /* end confdefs.h. */
6045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6046 $EGREP "memchr" >/dev/null 2>&1; then
6049 ac_cv_header_stdc=no
6055 if test $ac_cv_header_stdc = yes; then
6056 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6057 cat >conftest.$ac_ext <<_ACEOF
6060 cat confdefs.h >>conftest.$ac_ext
6061 cat >>conftest.$ac_ext <<_ACEOF
6062 /* end confdefs.h. */
6066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6067 $EGREP "free" >/dev/null 2>&1; then
6070 ac_cv_header_stdc=no
6076 if test $ac_cv_header_stdc = yes; then
6077 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6078 if test "$cross_compiling" = yes; then
6081 cat >conftest.$ac_ext <<_ACEOF
6084 cat confdefs.h >>conftest.$ac_ext
6085 cat >>conftest.$ac_ext <<_ACEOF
6086 /* end confdefs.h. */
6088 #if ((' ' & 0x0FF) == 0x020)
6089 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
6090 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
6092 # define ISLOWER(c) \
6093 (('a
' <= (c) && (c) <= 'i
') \
6094 || ('j
' <= (c) && (c) <= 'r
') \
6095 || ('s
' <= (c) && (c) <= 'z
'))
6096 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6099 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6104 for (i = 0; i < 256; i++)
6105 if (XOR (islower (i), ISLOWER (i))
6106 || toupper (i) != TOUPPER (i))
6111 rm -f conftest$ac_exeext
6112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6113 (eval $ac_link) 2>&5
6115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
6117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6121 (exit $ac_status); }; }; then
6124 echo "$as_me: program exited with status $ac_status" >&5
6125 echo "$as_me: failed program was:" >&5
6126 sed 's
/^
/|
/' conftest.$ac_ext >&5
6129 ac_cv_header_stdc=no
6131 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6135 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6136 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6137 if test $ac_cv_header_stdc = yes; then
6139 cat >>confdefs.h <<\_ACEOF
6140 #define STDC_HEADERS 1
6145 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6155 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6156 inttypes.h stdint.h unistd.h
6158 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6159 echo "$as_me:$LINENO: checking for $ac_header" >&5
6160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6162 echo $ECHO_N "(cached) $ECHO_C" >&6
6164 cat >conftest.$ac_ext <<_ACEOF
6167 cat confdefs.h >>conftest.$ac_ext
6168 cat >>conftest.$ac_ext <<_ACEOF
6169 /* end confdefs.h. */
6170 $ac_includes_default
6172 #include <$ac_header>
6174 rm -f conftest.$ac_objext
6175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6176 (eval $ac_compile) 2>conftest.er1
6178 grep -v '^
*+' conftest.er1 >conftest.err
6180 cat conftest.err >&5
6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); } &&
6183 { ac_try='test -z "$ac_c_werror_flag"
6184 ||
test ! -s conftest.err
'
6185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); }; } &&
6190 { ac_try='test -s conftest.
$ac_objext'
6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); }; }; then
6196 eval "$as_ac_Header=yes"
6198 echo "$as_me: failed program was:" >&5
6199 sed 's
/^
/|
/' conftest.$ac_ext >&5
6201 eval "$as_ac_Header=no"
6203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6207 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6208 cat >>confdefs.h <<_ACEOF
6209 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6218 for ac_header in dlfcn.h
6220 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6221 echo "$as_me:$LINENO: checking for $ac_header" >&5
6222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6224 echo $ECHO_N "(cached) $ECHO_C" >&6
6226 cat >conftest.$ac_ext <<_ACEOF
6229 cat confdefs.h >>conftest.$ac_ext
6230 cat >>conftest.$ac_ext <<_ACEOF
6231 /* end confdefs.h. */
6232 $ac_includes_default
6234 #include <$ac_header>
6236 rm -f conftest.$ac_objext
6237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6238 (eval $ac_compile) 2>conftest.er1
6240 grep -v '^
*+' conftest.er1 >conftest.err
6242 cat conftest.err >&5
6243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244 (exit $ac_status); } &&
6245 { ac_try='test -z "$ac_c_werror_flag"
6246 ||
test ! -s conftest.err
'
6247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6251 (exit $ac_status); }; } &&
6252 { ac_try='test -s conftest.
$ac_objext'
6253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); }; }; then
6258 eval "$as_ac_Header=yes"
6260 echo "$as_me: failed program was:" >&5
6261 sed 's
/^
/|
/' conftest.$ac_ext >&5
6263 eval "$as_ac_Header=no"
6265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6268 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6270 cat >>confdefs.h <<_ACEOF
6271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6280 # This can be used to rebuild libtool when needed
6281 LIBTOOL_DEPS="$ltmain"
6283 # Always use our own libtool.
6284 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
6310 test -z "$LN_S" && LN_S="ln -s"
6325 if test -n "${ZSH_VERSION+set}" ; then
6326 setopt NO_GLOB_SUBST
6329 echo "$as_me:$LINENO: checking for objdir" >&5
6330 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6331 if test "${lt_cv_objdir+set}" = set; then
6332 echo $ECHO_N "(cached) $ECHO_C" >&6
6334 rm -f .libs 2>/dev/null
6335 mkdir .libs 2>/dev/null
6336 if test -d .libs; then
6339 # MS-DOS does not allow filenames that begin with a dot.
6342 rmdir .libs 2>/dev/null
6344 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6345 echo "${ECHO_T}$lt_cv_objdir" >&6
6346 objdir=$lt_cv_objdir
6352 cat >>confdefs.h <<_ACEOF
6353 #define LT_OBJDIR "$lt_cv_objdir/"
6374 # AIX sometimes has problems with the GCC collect2 program. For some
6375 # reason, if we set the COLLECT_NAMES environment variable, the problems
6376 # vanish in a puff of smoke.
6377 if test "X${COLLECT_NAMES+set}" != Xset; then
6379 export COLLECT_NAMES
6384 # Sed substitution that helps us do robust quoting. It backslashifies
6385 # metacharacters that are still active within double-quoted strings.
6386 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
6388 # Same as above, but do not quote variable references.
6389 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6391 # Sed substitution to delay expansion of an escaped shell variable in a
6392 # double_quote_subst'ed string.
6393 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6395 # Sed substitution to delay expansion of an escaped single quote.
6396 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6398 # Sed substitution to avoid accidental globbing in evaled expressions
6399 no_glob_subst='s/\*/\\\*/g'
6403 can_build_shared=yes
6405 # All known linkers require a `.a
' archive for static linking (except MSVC,
6406 # which needs '.lib
').
6409 with_gnu_ld="$lt_cv_prog_gnu_ld"
6412 old_CFLAGS="$CFLAGS"
6414 # Set sane defaults for various variables
6415 test -z "$CC" && CC=cc
6416 test -z "$LTCC" && LTCC=$CC
6417 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6418 test -z "$LD" && LD=ld
6419 test -z "$ac_objext" && ac_objext=o
6421 for cc_temp in $compiler""; do
6423 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6424 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6429 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
6432 # Only perform the check for file, if the check method requires it
6433 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6434 case $deplibs_check_method in
6436 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6437 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6438 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6439 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6440 echo $ECHO_N "(cached) $ECHO_C" >&6
6444 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6447 lt_save_MAGIC_CMD="$MAGIC_CMD"
6448 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6449 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6450 for ac_dir in $ac_dummy; do
6452 test -z "$ac_dir" && ac_dir=.
6453 if test -f $ac_dir/${ac_tool_prefix}file; then
6454 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6455 if test -n "$file_magic_test_file"; then
6456 case $deplibs_check_method in
6458 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6459 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6460 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6461 $EGREP "$file_magic_regex" > /dev/null; then
6466 *** Warning: the command libtool uses to detect shared libraries,
6467 *** $file_magic_cmd, produces output that libtool cannot recognize.
6468 *** The result is that libtool may fail to recognize shared libraries
6469 *** as such. This will affect the creation of libtool libraries that
6470 *** depend on shared libraries, but programs linked with such libtool
6471 *** libraries will work regardless of this problem. Nevertheless, you
6472 *** may want to report the problem to your system manager and/or to
6473 *** bug-libtool@gnu.org
6483 MAGIC_CMD="$lt_save_MAGIC_CMD"
6488 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6489 if test -n "$MAGIC_CMD"; then
6490 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6491 echo "${ECHO_T}$MAGIC_CMD" >&6
6493 echo "$as_me:$LINENO: result: no" >&5
6494 echo "${ECHO_T}no" >&6
6501 if test -z "$lt_cv_path_MAGIC_CMD"; then
6502 if test -n "$ac_tool_prefix"; then
6503 echo "$as_me:$LINENO: checking for file" >&5
6504 echo $ECHO_N "checking for file... $ECHO_C" >&6
6505 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6506 echo $ECHO_N "(cached) $ECHO_C" >&6
6510 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6513 lt_save_MAGIC_CMD="$MAGIC_CMD"
6514 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6515 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6516 for ac_dir in $ac_dummy; do
6518 test -z "$ac_dir" && ac_dir=.
6519 if test -f $ac_dir/file; then
6520 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6521 if test -n "$file_magic_test_file"; then
6522 case $deplibs_check_method in
6524 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6525 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6526 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6527 $EGREP "$file_magic_regex" > /dev/null; then
6532 *** Warning: the command libtool uses to detect shared libraries,
6533 *** $file_magic_cmd, produces output that libtool cannot recognize.
6534 *** The result is that libtool may fail to recognize shared libraries
6535 *** as such. This will affect the creation of libtool libraries that
6536 *** depend on shared libraries, but programs linked with such libtool
6537 *** libraries will work regardless of this problem. Nevertheless, you
6538 *** may want to report the problem to your system manager and/or to
6539 *** bug-libtool@gnu.org
6549 MAGIC_CMD="$lt_save_MAGIC_CMD"
6554 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6555 if test -n "$MAGIC_CMD"; then
6556 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6557 echo "${ECHO_T}$MAGIC_CMD" >&6
6559 echo "$as_me:$LINENO: result: no" >&5
6560 echo "${ECHO_T}no" >&6
6573 # Use C for the default configuration in the libtool script
6577 ac_cpp='$CPP $CPPFLAGS'
6578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6579 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6583 # Source file extension for C test sources.
6586 # Object file extension for compiled C test sources.
6590 # Code to be used in simple compile tests
6591 lt_simple_compile_test_code="int some_variable = 0;"
6593 # Code to be used in simple link tests
6594 lt_simple_link_test_code='int main
(){return(0);}'
6602 # If no C compiler was specified, use CC.
6605 # If no C compiler flags were specified, use CFLAGS.
6606 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6608 # Allow CC to be a program name with arguments.
6611 # Save the default compiler, since it gets overwritten when the other
6612 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6613 compiler_DEFAULT=$CC
6615 # save warnings/boilerplate of simple test code
6616 ac_outfile=conftest.$ac_objext
6617 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6618 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6619 _lt_compiler_boilerplate=`cat conftest.err`
6622 ac_outfile=conftest.$ac_objext
6623 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6624 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
6625 _lt_linker_boilerplate=`cat conftest.err`
6630 ## There is no encapsulation within the following macros, do not change
6631 ## the running order or otherwise move them around unless you know exactly
6632 ## what you are doing...
6633 if test -n "$compiler"; then
6635 lt_prog_compiler_no_builtin_flag=
6637 if test "$GCC" = yes; then
6638 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6640 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6641 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6642 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6643 echo $ECHO_N "(cached) $ECHO_C" >&6
6645 lt_cv_prog_compiler_rtti_exceptions=no
6646 ac_outfile=conftest.$ac_objext
6647 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6648 lt_compiler_flag="-fno-rtti -fno-exceptions"
6649 # Insert the option either (1) after the last *FLAGS variable, or
6650 # (2) before a word containing "conftest.", or (3) at the end.
6651 # Note that $ac_compile itself does not contain backslashes and begins
6652 # with a dollar sign (not a hyphen), so the echo should work correctly.
6653 # The option is referenced via a variable to avoid confusing sed.
6654 lt_compile=`echo "$ac_compile" | $SED \
6655 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
6656 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
6657 -e 's
:$
: $lt_compiler_flag:'`
6658 (eval echo "\"\$as_me:6658: $lt_compile\"" >&5)
6659 (eval "$lt_compile" 2>conftest.err)
6661 cat conftest.err >&5
6662 echo "$as_me:6662: \$? = $ac_status" >&5
6663 if (exit $ac_status) && test -s "$ac_outfile"; then
6664 # The compiler can only warn and ignore the option if not recognized
6665 # So say no if there are warnings other than the usual output.
6666 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
6667 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
6668 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6669 lt_cv_prog_compiler_rtti_exceptions=yes
6675 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6676 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6678 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6679 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6691 lt_prog_compiler_wl=
6692 lt_prog_compiler_pic=
6693 lt_prog_compiler_static=
6695 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6696 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6698 if test "$GCC" = yes; then
6699 lt_prog_compiler_wl='-Wl,'
6700 lt_prog_compiler_static='-static'
6704 # All AIX code is PIC.
6705 if test "$host_cpu" = ia64; then
6706 # AIX 5 now supports IA64 processor
6707 lt_prog_compiler_static='-Bstatic'
6712 if test "$host_cpu" = m68k; then
6713 # FIXME: we need at least 68020 code to build shared libraries, but
6714 # adding the `-m68020' flag to GCC prevents building anything better
,
6716 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
6720 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
6721 # PIC is the default for these OSes.
6724 mingw
* | cygwin
* | pw32
* | os2
*)
6725 # This hack is so that the source file can tell whether it is being
6726 # built for inclusion in a dll (and should export symbols for example).
6727 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6728 # (--disable-auto-import) libraries
6729 lt_prog_compiler_pic
='-DDLL_EXPORT'
6732 darwin
* | rhapsody
*)
6733 # PIC is the default on this platform
6734 # Common symbols not allowed in MH_DYLIB files
6735 lt_prog_compiler_pic
='-fno-common'
6739 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6746 lt_prog_compiler_pic
='-fPIC'
6752 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6753 # Instead, we relocate shared libraries at runtime.
6757 # Just because we use GCC doesn't mean we suddenly get shared libraries
6758 # on systems that don't support them.
6759 lt_prog_compiler_can_build_shared
=no
6764 # QNX uses GNU C++, but need to define -shared option too, otherwise
6766 lt_prog_compiler_pic
='-fPIC -shared'
6770 if test -d /usr
/nec
; then
6771 lt_prog_compiler_pic
=-Kconform_pic
6776 lt_prog_compiler_pic
='-fPIC'
6780 # PORTME Check for flag to pass linker flags through the system compiler.
6783 lt_prog_compiler_wl
='-Wl,'
6784 if test "$host_cpu" = ia64
; then
6785 # AIX 5 now supports IA64 processor
6786 lt_prog_compiler_static
='-Bstatic'
6788 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
6792 # PIC is the default on this platform
6793 # Common symbols not allowed in MH_DYLIB files
6794 case $cc_basename in
6796 lt_prog_compiler_pic
='-qnocommon'
6797 lt_prog_compiler_wl
='-Wl,'
6802 mingw
* | cygwin
* | pw32
* | os2
*)
6803 # This hack is so that the source file can tell whether it is being
6804 # built for inclusion in a dll (and should export symbols for example).
6805 lt_prog_compiler_pic
='-DDLL_EXPORT'
6808 hpux9
* | hpux10
* | hpux11
*)
6809 lt_prog_compiler_wl
='-Wl,'
6810 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6817 lt_prog_compiler_pic
='+Z'
6820 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6821 lt_prog_compiler_static
='${wl}-a ${wl}archive'
6824 irix5
* | irix6
* | nonstopux
*)
6825 lt_prog_compiler_wl
='-Wl,'
6826 # PIC (with -KPIC) is the default.
6827 lt_prog_compiler_static
='-non_shared'
6830 linux
* | k
*bsd
*-gnu)
6831 case $cc_basename in
6833 lt_prog_compiler_wl
='-Wl,'
6834 lt_prog_compiler_pic
='-KPIC'
6835 lt_prog_compiler_static
='-static'
6837 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
6838 # Portland Group compilers (*not* the Pentium gcc compiler,
6839 # which looks to be a dead project)
6840 lt_prog_compiler_wl
='-Wl,'
6841 lt_prog_compiler_pic
='-fpic'
6842 lt_prog_compiler_static
='-Bstatic'
6845 lt_prog_compiler_wl
='-Wl,'
6846 # All Alpha code is PIC.
6847 lt_prog_compiler_static
='-non_shared'
6850 case `$CC -V 2>&1 | sed 5q` in
6853 lt_prog_compiler_pic
='-KPIC'
6854 lt_prog_compiler_static
='-Bstatic'
6855 lt_prog_compiler_wl
='-Wl,'
6858 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6859 lt_prog_compiler_pic
='-KPIC'
6860 lt_prog_compiler_static
='-Bstatic'
6861 lt_prog_compiler_wl
=''
6869 lt_prog_compiler_pic
='-KPIC'
6870 lt_prog_compiler_static
='-Bstatic'
6874 # QNX uses GNU C++, but need to define -shared option too, otherwise
6876 lt_prog_compiler_pic
='-fPIC -shared'
6879 osf3
* | osf4
* | osf5
*)
6880 lt_prog_compiler_wl
='-Wl,'
6881 # All OSF/1 code is PIC.
6882 lt_prog_compiler_static
='-non_shared'
6886 lt_prog_compiler_static
='-non_shared'
6890 lt_prog_compiler_pic
='-KPIC'
6891 lt_prog_compiler_static
='-Bstatic'
6892 case $cc_basename in
6894 lt_prog_compiler_wl
='-Qoption ld ';;
6896 lt_prog_compiler_wl
='-Wl,';;
6901 lt_prog_compiler_wl
='-Qoption ld '
6902 lt_prog_compiler_pic
='-PIC'
6903 lt_prog_compiler_static
='-Bstatic'
6906 sysv4 | sysv4.2uw2
* | sysv4.3
*)
6907 lt_prog_compiler_wl
='-Wl,'
6908 lt_prog_compiler_pic
='-KPIC'
6909 lt_prog_compiler_static
='-Bstatic'
6913 if test -d /usr
/nec
;then
6914 lt_prog_compiler_pic
='-Kconform_pic'
6915 lt_prog_compiler_static
='-Bstatic'
6919 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
6920 lt_prog_compiler_wl
='-Wl,'
6921 lt_prog_compiler_pic
='-KPIC'
6922 lt_prog_compiler_static
='-Bstatic'
6926 lt_prog_compiler_wl
='-Wl,'
6927 lt_prog_compiler_can_build_shared
=no
6931 lt_prog_compiler_pic
='-pic'
6932 lt_prog_compiler_static
='-Bstatic'
6936 lt_prog_compiler_can_build_shared
=no
6942 # For platforms which do not support PIC, -DPIC is meaningless:
6944 lt_prog_compiler_pic
=
6947 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
6950 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6951 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6959 # Check to make sure the PIC flag actually works.
6961 if test -n "$lt_prog_compiler_pic"; then
6962 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6963 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6964 if test "${lt_prog_compiler_pic_works+set}" = set; then
6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6967 lt_prog_compiler_pic_works
=no
6968 ac_outfile
=conftest.
$ac_objext
6969 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
6970 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
6971 # Insert the option either (1) after the last *FLAGS variable, or
6972 # (2) before a word containing "conftest.", or (3) at the end.
6973 # Note that $ac_compile itself does not contain backslashes and begins
6974 # with a dollar sign (not a hyphen), so the echo should work correctly.
6975 # The option is referenced via a variable to avoid confusing sed.
6976 lt_compile
=`echo "$ac_compile" | $SED \
6977 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6978 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6979 -e 's:$: $lt_compiler_flag:'`
6980 (eval echo "\"\$as_me:6980: $lt_compile\"" >&5)
6981 (eval "$lt_compile" 2>conftest.err
)
6983 cat conftest.err
>&5
6984 echo "$as_me:6984: \$? = $ac_status" >&5
6985 if (exit $ac_status) && test -s "$ac_outfile"; then
6986 # The compiler can only warn and ignore the option if not recognized
6987 # So say no if there are warnings other than the usual output.
6988 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
6989 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
6990 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
6991 lt_prog_compiler_pic_works
=yes
6997 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6998 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7000 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7001 case $lt_prog_compiler_pic in
7003 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7006 lt_prog_compiler_pic
=
7007 lt_prog_compiler_can_build_shared
=no
7018 # Check to make sure the static flag actually works.
7020 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7021 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7022 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7023 if test "${lt_prog_compiler_static_works+set}" = set; then
7024 echo $ECHO_N "(cached) $ECHO_C" >&6
7026 lt_prog_compiler_static_works
=no
7027 save_LDFLAGS
="$LDFLAGS"
7028 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7029 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7030 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7031 # The linker can only warn and ignore the option if not recognized
7032 # So say no if there are warnings
7033 if test -s conftest.err
; then
7034 # Append any errors to the config.log.
7035 cat conftest.err
1>&5
7036 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7037 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7038 if diff conftest.exp conftest.er2
>/dev
/null
; then
7039 lt_prog_compiler_static_works
=yes
7042 lt_prog_compiler_static_works
=yes
7046 LDFLAGS
="$save_LDFLAGS"
7049 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7050 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7052 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7055 lt_prog_compiler_static
=
7064 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7065 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7066 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7067 echo $ECHO_N "(cached) $ECHO_C" >&6
7069 lt_cv_prog_compiler_c_o
=no
7070 $RM -r conftest
2>/dev
/null
7074 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7076 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7077 # Insert the option either (1) after the last *FLAGS variable, or
7078 # (2) before a word containing "conftest.", or (3) at the end.
7079 # Note that $ac_compile itself does not contain backslashes and begins
7080 # with a dollar sign (not a hyphen), so the echo should work correctly.
7081 lt_compile
=`echo "$ac_compile" | $SED \
7082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7084 -e 's:$: $lt_compiler_flag:'`
7085 (eval echo "\"\$as_me:7085: $lt_compile\"" >&5)
7086 (eval "$lt_compile" 2>out
/conftest.err
)
7088 cat out
/conftest.err
>&5
7089 echo "$as_me:7089: \$? = $ac_status" >&5
7090 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7092 # The compiler can only warn and ignore the option if not recognized
7093 # So say no if there are warnings
7094 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7095 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7096 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7097 lt_cv_prog_compiler_c_o
=yes
7102 # SGI C++ compiler will create directory out/ii_files/ for
7103 # template instantiation
7104 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7105 $RM out
/* && rmdir out
7111 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7112 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7119 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7120 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7121 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7122 echo $ECHO_N "(cached) $ECHO_C" >&6
7124 lt_cv_prog_compiler_c_o
=no
7125 $RM -r conftest
2>/dev
/null
7129 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7131 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7132 # Insert the option either (1) after the last *FLAGS variable, or
7133 # (2) before a word containing "conftest.", or (3) at the end.
7134 # Note that $ac_compile itself does not contain backslashes and begins
7135 # with a dollar sign (not a hyphen), so the echo should work correctly.
7136 lt_compile
=`echo "$ac_compile" | $SED \
7137 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7138 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7139 -e 's:$: $lt_compiler_flag:'`
7140 (eval echo "\"\$as_me:7140: $lt_compile\"" >&5)
7141 (eval "$lt_compile" 2>out
/conftest.err
)
7143 cat out
/conftest.err
>&5
7144 echo "$as_me:7144: \$? = $ac_status" >&5
7145 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7147 # The compiler can only warn and ignore the option if not recognized
7148 # So say no if there are warnings
7149 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7150 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7151 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7152 lt_cv_prog_compiler_c_o
=yes
7157 # SGI C++ compiler will create directory out/ii_files/ for
7158 # template instantiation
7159 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7160 $RM out
/* && rmdir out
7166 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7167 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7172 hard_links
="nottested"
7173 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7174 # do not overwrite the value of need_locks provided by the user
7175 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7176 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7179 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7181 ln conftest.a conftest.b
2>&5 || hard_links
=no
7182 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7183 echo "$as_me:$LINENO: result: $hard_links" >&5
7184 echo "${ECHO_T}$hard_links" >&6
7185 if test "$hard_links" = no
; then
7186 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7187 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7199 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7200 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7203 allow_undefined_flag
=
7204 always_export_symbols
=no
7206 archive_expsym_cmds
=
7207 compiler_needs_object
=no
7208 enable_shared_with_static_runtimes
=no
7209 export_dynamic_flag_spec
=
7210 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7211 hardcode_automatic
=no
7213 hardcode_direct_absolute
=no
7214 hardcode_libdir_flag_spec
=
7215 hardcode_libdir_flag_spec_ld
=
7216 hardcode_libdir_separator
=
7218 hardcode_shlibpath_var
=unsupported
7220 link_all_deplibs
=unknown
7223 old_archive_from_new_cmds
=
7224 old_archive_from_expsyms_cmds
=
7225 thread_safe_flag_spec
=
7226 whole_archive_flag_spec
=
7227 # include_expsyms should be a list of space-separated symbols to be *always*
7228 # included in the symbol list
7230 # exclude_expsyms can be an extended regexp of symbols to exclude
7231 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7232 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7233 # as well as any symbol that contains `d'.
7234 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
7235 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7236 # platforms (ab)use it in PIC code, but their linkers get confused if
7237 # the symbol is explicitly referenced. Since portable code cannot
7238 # rely on this symbol name, it's probably fine to never include it in
7239 # preloaded symbol tables.
7240 extract_expsyms_cmds
=
7243 cygwin
* | mingw
* | pw32
*)
7244 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7245 # When not using gcc, we currently assume that we are using
7246 # Microsoft Visual C++.
7247 if test "$GCC" != yes; then
7252 # we just hope/assume this is gcc and not c89 (= MSVC++)
7261 if test "$with_gnu_ld" = yes; then
7262 # If archive_cmds runs LD, not CC, wlarc should be empty
7265 # Set some defaults for GNU ld with shared library support. These
7266 # are reset later if shared libraries are not supported. Putting them
7267 # here allows them to be overridden if necessary.
7268 runpath_var
=LD_RUN_PATH
7269 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7270 export_dynamic_flag_spec
='${wl}--export-dynamic'
7271 # ancient GNU ld didn't support --whole-archive et. al.
7272 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
7273 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7275 whole_archive_flag_spec
=
7277 supports_anon_versioning
=no
7278 case `$LD -v 2>&1` in
7279 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
7280 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
7281 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
7282 *\
2.11.
*) ;; # other 2.11 versions
7283 *) supports_anon_versioning
=yes ;;
7286 # See if GNU ld supports shared libraries.
7288 aix3
* | aix4
* | aix5
*)
7289 # On AIX/PPC, the GNU linker is very broken
7290 if test "$host_cpu" != ia64
; then
7294 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7295 *** to be unable to reliably create shared libraries on AIX.
7296 *** Therefore, libtool is disabling shared libraries support. If you
7297 *** really care for shared libraries, you may want to modify your PATH
7298 *** so that a non-GNU linker is found, and then restart.
7305 if test "$host_cpu" = m68k
; then
7306 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)'
7307 hardcode_libdir_flag_spec
='-L$libdir'
7308 hardcode_minus_L
=yes
7311 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7312 # that the semantics of dynamic libraries on AmigaOS, at least up
7313 # to version 4, is to share data among multiple programs linked
7314 # with the same dynamic library. Since this doesn't match the
7315 # behavior of shared libraries on other platforms, we can't use
7321 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7322 allow_undefined_flag
=unsupported
7323 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7324 # support --undefined. This deserves some investigation. FIXME
7325 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7331 cygwin
* | mingw
* | pw32
*)
7332 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7333 # as there is no search path for DLLs.
7334 hardcode_libdir_flag_spec
='-L$libdir'
7335 allow_undefined_flag
=unsupported
7336 always_export_symbols
=no
7337 enable_shared_with_static_runtimes
=yes
7338 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7340 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7341 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7342 # If the export-symbols file already is a .def file (1st line
7343 # is EXPORTS), use it as is; otherwise, prepend...
7344 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7345 cp $export_symbols $output_objdir/$soname.def;
7347 echo EXPORTS > $output_objdir/$soname.def;
7348 cat $export_symbols >> $output_objdir/$soname.def;
7350 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7358 hardcode_shlibpath_var
=no
7359 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7360 export_dynamic_flag_spec
='${wl}-E'
7361 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7362 # Instead, shared libraries are loaded at an image base (0x10000000 by
7363 # default) and relocated if they conflict, which is a slow very memory
7364 # consuming and fragmenting process. To avoid this, we pick a random,
7365 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7366 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7367 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7368 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'
7371 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7373 if test "$host_os" = linux-dietlibc
; then
7374 case $cc_basename in
7375 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7378 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7379 && test "$tmp_diet" = no
7382 case $cc_basename,$host_cpu in
7383 pgcc
*) # Portland Group C compiler
7384 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'
7385 tmp_addflag
=' $pic_flag'
7387 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7388 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'
7389 tmp_addflag
=' $pic_flag -Mnomain' ;;
7390 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7391 tmp_addflag
=' -i_dynamic' ;;
7392 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7393 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7394 ifc
* | ifort
*) # Intel Fortran compiler
7395 tmp_addflag
=' -nofor_main' ;;
7397 case `$CC -V 2>&1 | sed 5q` in
7398 *Sun\ C
*) # Sun C 5.9
7399 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'
7400 compiler_needs_object
=yes
7401 tmp_sharedflag
='-G' ;;
7402 *Sun\ F
*) # Sun Fortran 8.3
7403 tmp_sharedflag
='-G' ;;
7405 tmp_sharedflag
='-shared' ;;
7407 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7409 if test "x$supports_anon_versioning" = xyes
; then
7410 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
7411 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7412 echo "local: *; };" >> $output_objdir/$libname.ver~
7413 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7421 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
7422 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7425 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7426 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7431 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
7435 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7436 *** create shared libraries on Solaris systems. Therefore, libtool
7437 *** is disabling shared libraries support. We urge you to upgrade GNU
7438 *** binutils to release 2.9.1 or newer. Another option is to modify
7439 *** your PATH or compiler configuration so that the native linker is
7440 *** used, and then restart.
7443 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7444 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7445 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7451 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7452 case `$LD -v 2>&1` in
7453 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
7457 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7458 *** reliably create shared libraries on SCO systems. Therefore, libtool
7459 *** is disabling shared libraries support. We urge you to upgrade GNU
7460 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7461 *** your PATH or compiler configuration so that the native linker is
7462 *** used, and then restart.
7467 # For security reasons, it is highly recommended that you always
7468 # use absolute paths for naming shared libraries, and exclude the
7469 # DT_RUNPATH tag from executables and libraries. But doing so
7470 # requires that you compile everything twice, which is a pain.
7471 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7472 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
7473 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7474 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7483 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7486 hardcode_shlibpath_var
=no
7490 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7491 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7492 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7499 if test "$ld_shlibs" = no
; then
7501 hardcode_libdir_flag_spec
=
7502 export_dynamic_flag_spec
=
7503 whole_archive_flag_spec
=
7506 # PORTME fill in a description of your system's linker (not GNU ld)
7509 allow_undefined_flag
=unsupported
7510 always_export_symbols
=yes
7511 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'
7512 # Note: this linker hardcodes the directories in LIBPATH if there
7513 # are no directories specified by -L.
7514 hardcode_minus_L
=yes
7515 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7516 # Neither direct hardcoding nor static linking is supported with a
7518 hardcode_direct
=unsupported
7523 if test "$host_cpu" = ia64
; then
7524 # On IA64, the linker does run time linking by default, so we don't
7525 # have to do anything special.
7526 aix_use_runtimelinking
=no
7527 exp_sym_flag
='-Bexport'
7530 # If we're using GNU nm, then we don't want the "-C" option.
7531 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7532 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
7533 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'
7535 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'
7537 aix_use_runtimelinking
=no
7539 # Test if we are trying to use run time linking or normal
7540 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7541 # need to do runtime linking.
7542 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
7543 for ld_flag
in $LDFLAGS; do
7544 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
7545 aix_use_runtimelinking
=yes
7552 exp_sym_flag
='-bexport'
7553 no_entry_flag
='-bnoentry'
7556 # When large executables or shared objects are built, AIX ld can
7557 # have problems creating the table of contents. If linking a library
7558 # or program results in "error TOC overflow" add -mminimal-toc to
7559 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7560 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7564 hardcode_direct_absolute
=yes
7565 hardcode_libdir_separator
=':'
7566 link_all_deplibs
=yes
7567 file_list_spec
='${wl}-f,'
7569 if test "$GCC" = yes; then
7570 case $host_os in aix4.
[012]|aix4.
[012].
*)
7571 # We only want to do this on AIX 4.2 and lower, the check
7572 # below for broken collect2 doesn't work under 4.3+
7573 collect2name
=`${CC} -print-prog-name=collect2`
7574 if test -f "$collect2name" &&
7575 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
7577 # We have reworked collect2
7580 # We have old collect2
7581 hardcode_direct
=unsupported
7582 # It fails to find uninstalled libraries when the uninstalled
7583 # path is not listed in the libpath. Setting hardcode_minus_L
7584 # to unsupported forces relinking
7585 hardcode_minus_L
=yes
7586 hardcode_libdir_flag_spec
='-L$libdir'
7587 hardcode_libdir_separator
=
7591 shared_flag
='-shared'
7592 if test "$aix_use_runtimelinking" = yes; then
7593 shared_flag
="$shared_flag "'${wl}-G'
7597 if test "$host_cpu" = ia64
; then
7598 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7599 # chokes on -Wl,-G. The following line is correct:
7602 if test "$aix_use_runtimelinking" = yes; then
7603 shared_flag
='${wl}-G'
7605 shared_flag
='${wl}-bM:SRE'
7610 # It seems that -bexpall does not export symbols beginning with
7611 # underscore (_), so it is better to generate a list of symbols to export.
7612 always_export_symbols
=yes
7613 if test "$aix_use_runtimelinking" = yes; then
7614 # Warning - without using the other runtime loading flags (-brtl),
7615 # -berok will link without error, but may produce a broken library.
7616 allow_undefined_flag
='-berok'
7617 # Determine the default libpath from the value encoded in an
7619 cat >conftest.
$ac_ext <<_ACEOF
7622 cat confdefs.h
>>conftest.
$ac_ext
7623 cat >>conftest.
$ac_ext <<_ACEOF
7624 /* end confdefs.h. */
7634 rm -f conftest.
$ac_objext conftest
$ac_exeext
7635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7636 (eval $ac_link) 2>conftest.er1
7638 grep -v '^ *+' conftest.er1
>conftest.err
7640 cat conftest.err
>&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); } &&
7643 { ac_try
='test -z "$ac_c_werror_flag"
7644 || test ! -s conftest.err'
7645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7649 (exit $ac_status); }; } &&
7650 { ac_try
='test -s conftest$ac_exeext'
7651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); }; }; then
7657 lt_aix_libpath_sed
='
7658 /Import File Strings/,/^$/ {
7664 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7665 # Check for a 64-bit object if we didn't find anything.
7666 if test -z "$aix_libpath"; then
7667 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7670 echo "$as_me: failed program was:" >&5
7671 sed 's/^/| /' conftest.
$ac_ext >&5
7674 rm -f conftest.err conftest.
$ac_objext \
7675 conftest
$ac_exeext conftest.
$ac_ext
7676 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7678 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7679 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"
7681 if test "$host_cpu" = ia64
; then
7682 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
7683 allow_undefined_flag
="-z nodefs"
7684 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"
7686 # Determine the default libpath from the value encoded in an
7688 cat >conftest.
$ac_ext <<_ACEOF
7691 cat confdefs.h
>>conftest.
$ac_ext
7692 cat >>conftest.
$ac_ext <<_ACEOF
7693 /* end confdefs.h. */
7703 rm -f conftest.
$ac_objext conftest
$ac_exeext
7704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7705 (eval $ac_link) 2>conftest.er1
7707 grep -v '^ *+' conftest.er1
>conftest.err
7709 cat conftest.err
>&5
7710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7711 (exit $ac_status); } &&
7712 { ac_try
='test -z "$ac_c_werror_flag"
7713 || test ! -s conftest.err'
7714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718 (exit $ac_status); }; } &&
7719 { ac_try
='test -s conftest$ac_exeext'
7720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7724 (exit $ac_status); }; }; then
7726 lt_aix_libpath_sed
='
7727 /Import File Strings/,/^$/ {
7733 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7734 # Check for a 64-bit object if we didn't find anything.
7735 if test -z "$aix_libpath"; then
7736 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7739 echo "$as_me: failed program was:" >&5
7740 sed 's/^/| /' conftest.
$ac_ext >&5
7743 rm -f conftest.err conftest.
$ac_objext \
7744 conftest
$ac_exeext conftest.
$ac_ext
7745 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
7747 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
7748 # Warning - without using the other run time loading flags,
7749 # -berok will link without error, but may produce a broken library.
7750 no_undefined_flag
=' ${wl}-bernotok'
7751 allow_undefined_flag
=' ${wl}-berok'
7752 # Exported symbols can be pulled into shared objects from archives
7753 whole_archive_flag_spec
='$convenience'
7754 archive_cmds_need_lc
=yes
7755 # This is similar to how AIX traditionally builds its shared libraries.
7756 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'
7762 if test "$host_cpu" = m68k
; then
7763 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)'
7764 hardcode_libdir_flag_spec
='-L$libdir'
7765 hardcode_minus_L
=yes
7767 # see comment about different semantics on the GNU ld section
7772 export_dynamic_flag_spec
=-rdynamic
7775 cygwin
* | mingw
* | pw32
*)
7776 # When not using gcc, we currently assume that we are using
7777 # Microsoft Visual C++.
7778 # hardcode_libdir_flag_spec is actually meaningless, as there is
7779 # no search path for DLLs.
7780 hardcode_libdir_flag_spec
=' '
7781 allow_undefined_flag
=unsupported
7782 # Tell ltmain to make .lib files, not .a files.
7784 # Tell ltmain to make .dll files, not .so files.
7786 # FIXME: Setting linknames here is a bad hack.
7787 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7788 # The linker will automatically build a .lib file if we build a DLL.
7789 old_archive_from_new_cmds
='true'
7790 # FIXME: Should let the user specify the lib program.
7791 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
7792 fix_srcfile_path
='`cygpath -w "$srcfile"`'
7793 enable_shared_with_static_runtimes
=yes
7796 darwin
* | rhapsody
*)
7798 rhapsody
* | darwin1.
[012])
7799 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
7802 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7804 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7807 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
7812 archive_cmds_need_lc
=no
7814 hardcode_automatic
=yes
7815 hardcode_shlibpath_var
=unsupported
7816 whole_archive_flag_spec
=''
7817 link_all_deplibs
=yes
7818 if test "$GCC" = yes ; then
7819 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7820 echo $ECHO_N "(cached) $ECHO_C" >&6
7822 lt_cv_apple_cc_single_mod
=no
7823 if test -z "${LT_MULTI_MODULE}"; then
7824 # By default we will add the -single_module flag. You can override
7825 # by either setting the environment variable LT_MULTI_MODULE
7826 # non-empty at configure time, or by adding -multi-module to the
7828 echo "int foo(void){return 1;}" > conftest.c
7829 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7830 -dynamiclib ${wl}-single_module conftest.c
7831 if test -f libconftest.dylib
; then
7832 lt_cv_apple_cc_single_mod
=yes
7833 rm libconftest.dylib
7839 output_verbose_link_cmd
=echo
7840 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
7841 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7842 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}'
7844 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7845 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}'
7847 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7848 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}'
7850 case $cc_basename in
7852 output_verbose_link_cmd
=echo
7853 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7854 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7855 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7856 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}'
7857 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}'
7867 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7868 hardcode_libdir_flag_spec
='-L$libdir'
7869 hardcode_shlibpath_var
=no
7876 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7877 # support. Future versions do this automatically, but an explicit c++rt0.o
7878 # does not break anything, and helps significantly (at the cost of a little
7881 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7882 hardcode_libdir_flag_spec
='-R$libdir'
7884 hardcode_shlibpath_var
=no
7887 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7889 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7891 hardcode_minus_L
=yes
7892 hardcode_shlibpath_var
=no
7895 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7896 freebsd
* | dragonfly
*)
7897 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7898 hardcode_libdir_flag_spec
='-R$libdir'
7900 hardcode_shlibpath_var
=no
7904 if test "$GCC" = yes; then
7905 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'
7907 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'
7909 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7910 hardcode_libdir_separator
=:
7913 # hardcode_minus_L: Not really in the search PATH,
7914 # but as the default location of the library.
7915 hardcode_minus_L
=yes
7916 export_dynamic_flag_spec
='${wl}-E'
7920 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7921 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7923 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7925 if test "$with_gnu_ld" = no
; then
7926 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7927 hardcode_libdir_flag_spec_ld
='+b $libdir'
7928 hardcode_libdir_separator
=:
7930 hardcode_direct_absolute
=yes
7931 export_dynamic_flag_spec
='${wl}-E'
7932 # hardcode_minus_L: Not really in the search PATH,
7933 # but as the default location of the library.
7934 hardcode_minus_L
=yes
7939 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
7942 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7945 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7948 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7954 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7957 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7960 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7964 if test "$with_gnu_ld" = no
; then
7965 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
7966 hardcode_libdir_separator
=:
7971 hardcode_shlibpath_var
=no
7975 hardcode_direct_absolute
=yes
7976 export_dynamic_flag_spec
='${wl}-E'
7978 # hardcode_minus_L: Not really in the search PATH,
7979 # but as the default location of the library.
7980 hardcode_minus_L
=yes
7986 irix5
* | irix6
* | nonstopux
*)
7987 if test "$GCC" = yes; then
7988 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'
7989 # Try to use the -exported_symbol ld option, if it does not
7990 # work, assume that -exports_file does not work either and
7991 # implicitly export all symbols.
7992 save_LDFLAGS
="$LDFLAGS"
7993 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7994 cat >conftest.
$ac_ext <<_ACEOF
7997 rm -f conftest.
$ac_objext conftest
$ac_exeext
7998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7999 (eval $ac_link) 2>conftest.er1
8001 grep -v '^ *+' conftest.er1
>conftest.err
8003 cat conftest.err
>&5
8004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8005 (exit $ac_status); } &&
8006 { ac_try
='test -z "$ac_c_werror_flag"
8007 || test ! -s conftest.err'
8008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8012 (exit $ac_status); }; } &&
8013 { ac_try
='test -s conftest$ac_exeext'
8014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8018 (exit $ac_status); }; }; then
8019 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'
8022 echo "$as_me: failed program was:" >&5
8023 sed 's/^/| /' conftest.
$ac_ext >&5
8026 rm -f conftest.err conftest.
$ac_objext \
8027 conftest
$ac_exeext conftest.
$ac_ext
8028 LDFLAGS
="$save_LDFLAGS"
8030 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'
8031 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'
8033 archive_cmds_need_lc
='no'
8034 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8035 hardcode_libdir_separator
=:
8037 link_all_deplibs
=yes
8041 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8042 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8044 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8046 hardcode_libdir_flag_spec
='-R$libdir'
8048 hardcode_shlibpath_var
=no
8052 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8054 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8055 hardcode_libdir_separator
=:
8056 hardcode_shlibpath_var
=no
8064 hardcode_shlibpath_var
=no
8065 hardcode_direct_absolute
=yes
8066 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8067 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8068 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8069 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8070 export_dynamic_flag_spec
='${wl}-E'
8073 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8074 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8075 hardcode_libdir_flag_spec
='-R$libdir'
8078 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8079 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8086 hardcode_libdir_flag_spec
='-L$libdir'
8087 hardcode_minus_L
=yes
8088 allow_undefined_flag
=unsupported
8089 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'
8090 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8094 if test "$GCC" = yes; then
8095 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8096 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'
8098 allow_undefined_flag
=' -expect_unresolved \*'
8099 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'
8101 archive_cmds_need_lc
='no'
8102 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8103 hardcode_libdir_separator
=:
8106 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8107 if test "$GCC" = yes; then
8108 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8109 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'
8110 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8112 allow_undefined_flag
=' -expect_unresolved \*'
8113 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'
8114 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~
8115 $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'
8117 # Both c and cxx compiler support -rpath directly
8118 hardcode_libdir_flag_spec
='-rpath $libdir'
8120 archive_cmds_need_lc
='no'
8121 hardcode_libdir_separator
=:
8125 no_undefined_flag
=' -z defs'
8126 if test "$GCC" = yes; then
8128 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8129 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8130 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8132 case `$CC -V 2>&1` in
8135 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8136 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8137 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8141 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8142 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8143 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8147 hardcode_libdir_flag_spec
='-R$libdir'
8148 hardcode_shlibpath_var
=no
8150 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8152 # The compiler driver will combine and reorder linker options,
8153 # but understands `-z linker_flag'. GCC discards it without `$wl',
8154 # but is careful enough not to reorder.
8155 # Supported since Solaris 2.6 (maybe 2.5.1?)
8156 if test "$GCC" = yes; then
8157 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8159 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8163 link_all_deplibs
=yes
8167 if test "x$host_vendor" = xsequent
; then
8168 # Use $CC to link under sequent, because it throws in some extra .o
8169 # files that make .init and .fini sections work.
8170 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8172 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8174 hardcode_libdir_flag_spec
='-L$libdir'
8176 hardcode_minus_L
=yes
8177 hardcode_shlibpath_var
=no
8181 case $host_vendor in
8183 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8184 hardcode_direct
=yes # is this really true???
8187 ## LD is ld it makes a PLAMLIB
8188 ## CC just makes a GrossModule.
8189 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8190 reload_cmds
='$CC -r -o $output$reload_objs'
8194 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8195 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8198 runpath_var
='LD_RUN_PATH'
8199 hardcode_shlibpath_var
=no
8203 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8204 hardcode_shlibpath_var
=no
8205 export_dynamic_flag_spec
='-Bexport'
8209 if test -d /usr
/nec
; then
8210 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8211 hardcode_shlibpath_var
=no
8212 runpath_var
=LD_RUN_PATH
8213 hardcode_runpath_var
=yes
8218 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8219 no_undefined_flag
='${wl}-z,text'
8220 archive_cmds_need_lc
=no
8221 hardcode_shlibpath_var
=no
8222 runpath_var
='LD_RUN_PATH'
8224 if test "$GCC" = yes; then
8225 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8226 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8228 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8229 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8233 sysv5
* | sco3.2v5
* | sco5v6
*)
8234 # Note: We can NOT use -z defs as we might desire, because we do not
8235 # link with -lc, and that would cause any symbols used from libc to
8236 # always be unresolved, which means just about no library would
8237 # ever link correctly. If we're not using GNU ld we use -z text
8238 # though, which does catch some bad symbols but isn't as heavy-handed
8240 no_undefined_flag
='${wl}-z,text'
8241 allow_undefined_flag
='${wl}-z,nodefs'
8242 archive_cmds_need_lc
=no
8243 hardcode_shlibpath_var
=no
8244 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8245 hardcode_libdir_separator
=':'
8246 link_all_deplibs
=yes
8247 export_dynamic_flag_spec
='${wl}-Bexport'
8248 runpath_var
='LD_RUN_PATH'
8250 if test "$GCC" = yes; then
8251 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8252 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8254 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8255 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8260 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8261 hardcode_libdir_flag_spec
='-L$libdir'
8262 hardcode_shlibpath_var
=no
8270 if test x
$host_vendor = xsni
; then
8272 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8273 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8279 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8280 echo "${ECHO_T}$ld_shlibs" >&6
8281 test "$ld_shlibs" = no
&& can_build_shared
=no
8283 with_gnu_ld
=$with_gnu_ld
8300 # Do we need to explicitly link libc?
8302 case "x$archive_cmds_need_lc" in
8304 # Assume -lc should be added
8305 archive_cmds_need_lc
=yes
8307 if test "$enable_shared" = yes && test "$GCC" = yes; then
8308 case $archive_cmds in
8310 # FIXME: we may have to deal with multi-command sequences.
8313 # Test whether the compiler implicitly links with -lc since on some
8314 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8315 # to ld, don't add -lc before -lgcc.
8316 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8317 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8319 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8322 (eval $ac_compile) 2>&5
8324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325 (exit $ac_status); } 2>conftest.err
; then
8328 libobjs
=conftest.
$ac_objext
8330 wl
=$lt_prog_compiler_wl
8331 pic_flag
=$lt_prog_compiler_pic
8337 lt_save_allow_undefined_flag
=$allow_undefined_flag
8338 allow_undefined_flag
=
8339 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8340 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8343 (exit $ac_status); }
8345 archive_cmds_need_lc
=no
8347 archive_cmds_need_lc
=yes
8349 allow_undefined_flag
=$lt_save_allow_undefined_flag
8351 cat conftest.err
1>&5
8354 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8355 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8518 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8519 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8521 if test "$withGCC" = yes; then
8523 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
8524 *) lt_awk_arg
="/^libraries:/" ;;
8526 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8527 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
8528 # if the path contains ";" then we assume it to be the separator
8529 # otherwise default to the standard path separator (i.e. ":") - it is
8530 # assumed that no part of a normal pathname contains ";" but that should
8531 # okay in the real world where ";" in dirpaths is itself problematic.
8532 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8534 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8536 # Ok, now we have the path, separated by spaces, we can step through it
8537 # and add multilib dir if necessary.
8538 lt_tmp_lt_search_path_spec
=
8539 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8540 for lt_sys_path
in $lt_search_path_spec; do
8541 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8542 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8544 test -d "$lt_sys_path" && \
8545 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
8548 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8549 BEGIN {RS=" "; FS="/|\n";} {
8552 for (lt_i = NF; lt_i > 0; lt_i--) {
8553 if ($lt_i != "" && $lt_i != ".") {
8554 if ($lt_i == "..") {
8557 if (lt_count == 0) {
8558 lt_foo="/" $lt_i lt_foo;
8565 if (lt_foo != "") { lt_freq[lt_foo]++; }
8566 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8568 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
8570 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
8573 libname_spec
='lib$name'
8581 shlibpath_overrides_runpath
=unknown
8583 dynamic_linker
="$host_os ld.so"
8584 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
8585 need_lib_prefix
=unknown
8586 hardcode_into_libs
=no
8588 # when you set need_version to no, make sure it does not cause -set_version
8589 # flags to be left without arguments
8590 need_version
=unknown
8595 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
8596 shlibpath_var
=LIBPATH
8598 # AIX 3 has no versioning support, so we append a major version to the name.
8599 soname_spec
='${libname}${release}${shared_ext}$major'
8606 hardcode_into_libs
=yes
8607 if test "$host_cpu" = ia64
; then
8608 # AIX 5 supports IA64
8609 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8610 shlibpath_var
=LD_LIBRARY_PATH
8612 # With GCC up to 2.95.x, collect2 would create an import file
8613 # for dependence libraries. The import file would start with
8614 # the line `#! .'. This would cause the generated library to
8615 # depend on `.', always an invalid library. This was fixed in
8616 # development snapshots of GCC prior to 3.0.
8618 aix4 | aix4.
[01] | aix4.
[01].
*)
8619 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8621 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
8628 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8629 # soname into executable. Probably we can add versioning support to
8630 # collect2, so additional links can be useful in future.
8631 if test "$aix_use_runtimelinking" = yes; then
8632 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8633 # instead of lib<name>.a to let people know that these are not
8634 # typical AIX shared libraries.
8635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8637 # We preserve .a as extension for shared libraries through AIX4.2
8638 # and later when we are not doing run time linking.
8639 library_names_spec
='${libname}${release}.a $libname.a'
8640 soname_spec
='${libname}${release}${shared_ext}$major'
8642 shlibpath_var
=LIBPATH
8647 if test "$host_cpu" = m68k
; then
8648 library_names_spec
='$libname.ixlibrary $libname.a'
8649 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8650 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'
8657 library_names_spec
='${libname}${shared_ext}'
8658 dynamic_linker
="$host_os ld.so"
8659 shlibpath_var
=LIBRARY_PATH
8665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8666 soname_spec
='${libname}${release}${shared_ext}$major'
8667 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
8668 shlibpath_var
=LD_LIBRARY_PATH
8669 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8670 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
8671 # the default ld.so.conf also contains /usr/contrib/lib and
8672 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8673 # libtool to hard-code these into programs
8676 cygwin
* | mingw
* | pw32
*)
8677 version_type
=windows
8682 case $withGCC,$host_os in
8683 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
8684 library_names_spec
='$libname.dll.a'
8685 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8686 postinstall_cmds
='base_file=`basename \${file}`~
8687 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8688 dldir=$destdir/`dirname \$dlpath`~
8689 test -d \$dldir || mkdir -p \$dldir~
8690 $install_prog $dir/$dlname \$dldir/$dlname~
8691 chmod a+x \$dldir/$dlname~
8692 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8693 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8695 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8696 dlpath=$dir/\$dldll~
8698 shlibpath_overrides_runpath
=yes
8702 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8703 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8704 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
8707 # MinGW DLLs use traditional 'lib' prefix
8708 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8709 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8710 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
8711 # It is most probably a Windows format PATH printed by
8712 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8713 # path with ; separators, and with drive letters. We can handle the
8714 # drive letters (cygwin fileutils understands them), so leave them,
8715 # especially as we might pass files found there to a mingw objdump,
8716 # which wouldn't understand a cygwinified path. Ahh.
8717 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8719 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8723 # pw32 DLLs use 'pw' prefix rather than 'lib'
8724 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8730 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8733 dynamic_linker
='Win32 ld.exe'
8734 # FIXME: first we should search . and the directory the executable is in
8738 darwin
* | rhapsody
*)
8739 dynamic_linker
="$host_os dyld"
8743 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8744 soname_spec
='${libname}${release}${major}$shared_ext'
8745 shlibpath_overrides_runpath
=yes
8746 shlibpath_var
=DYLD_LIBRARY_PATH
8747 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
8749 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
8750 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
8757 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8758 soname_spec
='${libname}${release}${shared_ext}$major'
8759 shlibpath_var
=LD_LIBRARY_PATH
8766 freebsd
* | dragonfly
*)
8767 # DragonFly does not have aout. When/if they implement a new
8768 # versioning mechanism, adjust this.
8769 if test -x /usr
/bin
/objformat
; then
8770 objformat
=`/usr/bin/objformat`
8773 freebsd
[123]*) objformat
=aout
;;
8777 version_type
=freebsd-
$objformat
8778 case $version_type in
8780 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8785 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8789 shlibpath_var
=LD_LIBRARY_PATH
8792 shlibpath_overrides_runpath
=yes
8794 freebsd3.
[01]* | freebsdelf3.
[01]*)
8795 shlibpath_overrides_runpath
=yes
8796 hardcode_into_libs
=yes
8798 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
8799 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
8800 shlibpath_overrides_runpath
=no
8801 hardcode_into_libs
=yes
8803 *) # from 4.6 on, and DragonFly
8804 shlibpath_overrides_runpath
=yes
8805 hardcode_into_libs
=yes
8814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8815 soname_spec
='${libname}${release}${shared_ext}$major'
8816 shlibpath_var
=LD_LIBRARY_PATH
8817 hardcode_into_libs
=yes
8820 hpux9
* | hpux10
* | hpux11
*)
8821 # Give a soname corresponding to the major version so that dld.sl refuses to
8822 # link against other versions.
8829 hardcode_into_libs
=yes
8830 dynamic_linker
="$host_os dld.so"
8831 shlibpath_var
=LD_LIBRARY_PATH
8832 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8833 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8834 soname_spec
='${libname}${release}${shared_ext}$major'
8835 if test "X$HPUX_IA64_MODE" = X32
; then
8836 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8838 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
8840 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8844 hardcode_into_libs
=yes
8845 dynamic_linker
="$host_os dld.sl"
8846 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
8847 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
8848 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8849 soname_spec
='${libname}${release}${shared_ext}$major'
8850 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8851 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
8855 dynamic_linker
="$host_os dld.sl"
8856 shlibpath_var
=SHLIB_PATH
8857 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
8858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8859 soname_spec
='${libname}${release}${shared_ext}$major'
8862 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8863 postinstall_cmds
='chmod 555 $lib'
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'
8872 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
8873 shlibpath_var
=LD_LIBRARY_PATH
8874 shlibpath_overrides_runpath
=no
8875 hardcode_into_libs
=yes
8878 irix5
* | irix6
* | nonstopux
*)
8880 nonstopux
*) version_type
=nonstopux
;;
8882 if test "$lt_cv_prog_gnu_ld" = yes; then
8890 soname_spec
='${libname}${release}${shared_ext}$major'
8891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8893 irix5
* | nonstopux
*)
8897 case $LD in # libtool.m4 will add one of these switches to LD
8898 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
8899 libsuff
= shlibsuff
= libmagic
=32-bit;;
8900 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
8901 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
8902 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
8903 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
8904 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
8908 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
8909 shlibpath_overrides_runpath
=no
8910 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8911 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
8912 hardcode_into_libs
=yes
8915 # No shared lib support for Linux oldld, aout, or coff.
8916 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
8920 # This must be Linux ELF.
8921 linux
* | k
*bsd
*-gnu)
8925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8926 soname_spec
='${libname}${release}${shared_ext}$major'
8927 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8928 shlibpath_var
=LD_LIBRARY_PATH
8929 shlibpath_overrides_runpath
=no
8930 # Some binutils ld are patched to set DT_RUNPATH
8931 save_LDFLAGS
=$LDFLAGS
8933 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8934 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8935 cat >conftest.
$ac_ext <<_ACEOF
8938 cat confdefs.h
>>conftest.
$ac_ext
8939 cat >>conftest.
$ac_ext <<_ACEOF
8940 /* end confdefs.h. */
8950 rm -f conftest.
$ac_objext conftest
$ac_exeext
8951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8952 (eval $ac_link) 2>conftest.er1
8954 grep -v '^ *+' conftest.er1
>conftest.err
8956 cat conftest.err
>&5
8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 (exit $ac_status); } &&
8959 { ac_try
='test -z "$ac_c_werror_flag"
8960 || test ! -s conftest.err'
8961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8965 (exit $ac_status); }; } &&
8966 { ac_try
='test -s conftest$ac_exeext'
8967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); }; }; then
8972 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
8973 shlibpath_overrides_runpath
=yes
8977 echo "$as_me: failed program was:" >&5
8978 sed 's/^/| /' conftest.
$ac_ext >&5
8981 rm -f conftest.err conftest.
$ac_objext \
8982 conftest
$ac_exeext conftest.
$ac_ext
8983 LDFLAGS
=$save_LDFLAGS
8986 # This implies no fast_install, which is unacceptable.
8987 # Some rework will be needed to allow for fast_install
8988 # before this can be enabled.
8989 hardcode_into_libs
=yes
8991 # Append ld.so.conf contents to the search path
8992 if test -f /etc
/ld.so.conf
; then
8993 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' ' '`
8994 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
8997 # We used to test for /lib/ld.so.1 and disable shared libraries on
8998 # powerpc, because MkLinux only supported shared libraries with the
8999 # GNU dynamic linker. Since this was broken with cross compilers,
9000 # most powerpc-linux boxes support dynamic linking these days and
9001 # people can always --disable-shared, the test was removed, and we
9002 # assume the GNU/Linux dynamic linker is in use.
9003 dynamic_linker
='GNU/Linux ld.so'
9010 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9012 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9013 dynamic_linker
='NetBSD (a.out) ld.so'
9015 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9016 soname_spec
='${libname}${release}${shared_ext}$major'
9017 dynamic_linker
='NetBSD ld.elf_so'
9019 shlibpath_var
=LD_LIBRARY_PATH
9020 shlibpath_overrides_runpath
=yes
9021 hardcode_into_libs
=yes
9026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9027 shlibpath_var
=LD_LIBRARY_PATH
9028 shlibpath_overrides_runpath
=yes
9035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9036 soname_spec
='${libname}${release}${shared_ext}$major'
9037 shlibpath_var
=LD_LIBRARY_PATH
9038 shlibpath_overrides_runpath
=no
9039 hardcode_into_libs
=yes
9040 dynamic_linker
='ldqnx.so'
9045 sys_lib_dlsearch_path_spec
="/usr/lib"
9047 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9049 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9050 *) need_version
=no
;;
9052 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9053 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9054 shlibpath_var
=LD_LIBRARY_PATH
9055 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9057 openbsd2.
[89] | openbsd2.
[89].
*)
9058 shlibpath_overrides_runpath
=no
9061 shlibpath_overrides_runpath
=yes
9065 shlibpath_overrides_runpath
=yes
9070 libname_spec
='$name'
9073 library_names_spec
='$libname${shared_ext} $libname.a'
9074 dynamic_linker
='OS/2 ld.exe'
9075 shlibpath_var
=LIBPATH
9078 osf3
* | osf4
* | osf5
*)
9082 soname_spec
='${libname}${release}${shared_ext}$major'
9083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9084 shlibpath_var
=LD_LIBRARY_PATH
9085 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9086 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9098 soname_spec
='${libname}${release}${shared_ext}$major'
9099 shlibpath_var
=LD_LIBRARY_PATH
9100 shlibpath_overrides_runpath
=yes
9101 hardcode_into_libs
=yes
9102 # ldd complains unless libraries are executable
9103 postinstall_cmds
='chmod +x $lib'
9108 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9109 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9110 shlibpath_var
=LD_LIBRARY_PATH
9111 shlibpath_overrides_runpath
=yes
9112 if test "$with_gnu_ld" = yes; then
9120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9121 soname_spec
='${libname}${release}${shared_ext}$major'
9122 shlibpath_var
=LD_LIBRARY_PATH
9123 case $host_vendor in
9125 shlibpath_overrides_runpath
=no
9127 runpath_var
=LD_RUN_PATH
9135 shlibpath_overrides_runpath
=no
9136 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9142 if test -d /usr
/nec
;then
9144 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9145 soname_spec
='$libname${shared_ext}.$major'
9146 shlibpath_var
=LD_LIBRARY_PATH
9150 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9151 version_type
=freebsd-elf
9154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9155 soname_spec
='${libname}${release}${shared_ext}$major'
9156 shlibpath_var
=LD_LIBRARY_PATH
9157 shlibpath_overrides_runpath
=yes
9158 hardcode_into_libs
=yes
9159 if test "$with_gnu_ld" = yes; then
9160 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9162 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9165 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9169 sys_lib_dlsearch_path_spec
='/usr/lib'
9173 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9177 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9178 shlibpath_var
=LD_LIBRARY_PATH
9179 shlibpath_overrides_runpath
=no
9180 hardcode_into_libs
=yes
9185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9186 soname_spec
='${libname}${release}${shared_ext}$major'
9187 shlibpath_var
=LD_LIBRARY_PATH
9194 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9195 echo "${ECHO_T}$dynamic_linker" >&6
9196 test "$dynamic_linker" = no
&& can_build_shared
=no
9198 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9199 if test "$GCC" = yes; then
9200 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9289 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9290 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9292 if test -n "$hardcode_libdir_flag_spec" ||
9293 test -n "$runpath_var" ||
9294 test "X$hardcode_automatic" = "Xyes" ; then
9296 # We can hardcode non-existent directories.
9297 if test "$hardcode_direct" != no
&&
9298 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9299 # have to relink, otherwise we might link with an installed library
9300 # when we should be linking with a yet-to-be-installed one
9301 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9302 test "$hardcode_minus_L" != no
; then
9303 # Linking always hardcodes the temporary library directory.
9304 hardcode_action
=relink
9306 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9307 hardcode_action
=immediate
9310 # We cannot hardcode anything, or else we can only hardcode existing
9312 hardcode_action
=unsupported
9314 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9315 echo "${ECHO_T}$hardcode_action" >&6
9317 if test "$hardcode_action" = relink ||
9318 test "$inherit_rpath" = yes; then
9319 # Fast installation is not supported
9320 enable_fast_install
=no
9321 elif test "$shlibpath_overrides_runpath" = yes ||
9322 test "$enable_shared" = no
; then
9323 # Fast installation is not necessary
9324 enable_fast_install
=needless
9332 if test "x$enable_dlopen" != xyes
; then
9333 enable_dlopen
=unknown
9334 enable_dlopen_self
=unknown
9335 enable_dlopen_self_static
=unknown
9342 lt_cv_dlopen
="load_add_on"
9344 lt_cv_dlopen_self
=yes
9348 lt_cv_dlopen
="LoadLibrary"
9353 lt_cv_dlopen
="dlopen"
9358 # if libdl is installed we need to link against it
9359 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9360 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9361 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9362 echo $ECHO_N "(cached) $ECHO_C" >&6
9364 ac_check_lib_save_LIBS
=$LIBS
9366 cat >conftest.
$ac_ext <<_ACEOF
9369 cat confdefs.h
>>conftest.
$ac_ext
9370 cat >>conftest.
$ac_ext <<_ACEOF
9371 /* end confdefs.h. */
9373 /* Override any gcc2 internal prototype to avoid an error. */
9377 /* We use char because int might match the return type of a gcc2
9378 builtin and then its argument prototype would still apply. */
9388 rm -f conftest.
$ac_objext conftest
$ac_exeext
9389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9390 (eval $ac_link) 2>conftest.er1
9392 grep -v '^ *+' conftest.er1
>conftest.err
9394 cat conftest.err
>&5
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); } &&
9397 { ac_try
='test -z "$ac_c_werror_flag"
9398 || test ! -s conftest.err'
9399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9403 (exit $ac_status); }; } &&
9404 { ac_try
='test -s conftest$ac_exeext'
9405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9409 (exit $ac_status); }; }; then
9410 ac_cv_lib_dl_dlopen
=yes
9412 echo "$as_me: failed program was:" >&5
9413 sed 's/^/| /' conftest.
$ac_ext >&5
9415 ac_cv_lib_dl_dlopen
=no
9417 rm -f conftest.err conftest.
$ac_objext \
9418 conftest
$ac_exeext conftest.
$ac_ext
9419 LIBS
=$ac_check_lib_save_LIBS
9421 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9422 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9423 if test $ac_cv_lib_dl_dlopen = yes; then
9424 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9429 lt_cv_dlopen_self
=yes
9436 echo "$as_me:$LINENO: checking for shl_load" >&5
9437 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9438 if test "${ac_cv_func_shl_load+set}" = set; then
9439 echo $ECHO_N "(cached) $ECHO_C" >&6
9441 cat >conftest.
$ac_ext <<_ACEOF
9444 cat confdefs.h
>>conftest.
$ac_ext
9445 cat >>conftest.
$ac_ext <<_ACEOF
9446 /* end confdefs.h. */
9447 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9449 #define shl_load innocuous_shl_load
9451 /* System header to define __stub macros and hopefully few prototypes,
9452 which can conflict with char shl_load (); below.
9453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9454 <limits.h> exists even on freestanding compilers. */
9457 # include <limits.h>
9459 # include <assert.h>
9464 /* Override any gcc2 internal prototype to avoid an error. */
9469 /* We use char because int might match the return type of a gcc2
9470 builtin and then its argument prototype would still apply. */
9472 /* The GNU C library defines this for functions which it implements
9473 to always fail with ENOSYS. Some functions are actually named
9474 something starting with __ and the normal name is an alias. */
9475 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9478 char (*f) () = shl_load;
9487 return f != shl_load;
9492 rm -f conftest.
$ac_objext conftest
$ac_exeext
9493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9494 (eval $ac_link) 2>conftest.er1
9496 grep -v '^ *+' conftest.er1
>conftest.err
9498 cat conftest.err
>&5
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 (exit $ac_status); } &&
9501 { ac_try
='test -z "$ac_c_werror_flag"
9502 || test ! -s conftest.err'
9503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); }; } &&
9508 { ac_try
='test -s conftest$ac_exeext'
9509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9513 (exit $ac_status); }; }; then
9514 ac_cv_func_shl_load
=yes
9516 echo "$as_me: failed program was:" >&5
9517 sed 's/^/| /' conftest.
$ac_ext >&5
9519 ac_cv_func_shl_load
=no
9521 rm -f conftest.err conftest.
$ac_objext \
9522 conftest
$ac_exeext conftest.
$ac_ext
9524 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9525 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9526 if test $ac_cv_func_shl_load = yes; then
9527 lt_cv_dlopen
="shl_load"
9529 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9530 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9531 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9532 echo $ECHO_N "(cached) $ECHO_C" >&6
9534 ac_check_lib_save_LIBS
=$LIBS
9536 cat >conftest.
$ac_ext <<_ACEOF
9539 cat confdefs.h
>>conftest.
$ac_ext
9540 cat >>conftest.
$ac_ext <<_ACEOF
9541 /* end confdefs.h. */
9543 /* Override any gcc2 internal prototype to avoid an error. */
9547 /* We use char because int might match the return type of a gcc2
9548 builtin and then its argument prototype would still apply. */
9558 rm -f conftest.
$ac_objext conftest
$ac_exeext
9559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9560 (eval $ac_link) 2>conftest.er1
9562 grep -v '^ *+' conftest.er1
>conftest.err
9564 cat conftest.err
>&5
9565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9566 (exit $ac_status); } &&
9567 { ac_try
='test -z "$ac_c_werror_flag"
9568 || test ! -s conftest.err'
9569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573 (exit $ac_status); }; } &&
9574 { ac_try
='test -s conftest$ac_exeext'
9575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579 (exit $ac_status); }; }; then
9580 ac_cv_lib_dld_shl_load
=yes
9582 echo "$as_me: failed program was:" >&5
9583 sed 's/^/| /' conftest.
$ac_ext >&5
9585 ac_cv_lib_dld_shl_load
=no
9587 rm -f conftest.err conftest.
$ac_objext \
9588 conftest
$ac_exeext conftest.
$ac_ext
9589 LIBS
=$ac_check_lib_save_LIBS
9591 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9592 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9593 if test $ac_cv_lib_dld_shl_load = yes; then
9594 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
9596 echo "$as_me:$LINENO: checking for dlopen" >&5
9597 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9598 if test "${ac_cv_func_dlopen+set}" = set; then
9599 echo $ECHO_N "(cached) $ECHO_C" >&6
9601 cat >conftest.
$ac_ext <<_ACEOF
9604 cat confdefs.h
>>conftest.
$ac_ext
9605 cat >>conftest.
$ac_ext <<_ACEOF
9606 /* end confdefs.h. */
9607 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9609 #define dlopen innocuous_dlopen
9611 /* System header to define __stub macros and hopefully few prototypes,
9612 which can conflict with char dlopen (); below.
9613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9614 <limits.h> exists even on freestanding compilers. */
9617 # include <limits.h>
9619 # include <assert.h>
9624 /* Override any gcc2 internal prototype to avoid an error. */
9629 /* We use char because int might match the return type of a gcc2
9630 builtin and then its argument prototype would still apply. */
9632 /* The GNU C library defines this for functions which it implements
9633 to always fail with ENOSYS. Some functions are actually named
9634 something starting with __ and the normal name is an alias. */
9635 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9638 char (*f) () = dlopen;
9652 rm -f conftest.
$ac_objext conftest
$ac_exeext
9653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9654 (eval $ac_link) 2>conftest.er1
9656 grep -v '^ *+' conftest.er1
>conftest.err
9658 cat conftest.err
>&5
9659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9660 (exit $ac_status); } &&
9661 { ac_try
='test -z "$ac_c_werror_flag"
9662 || test ! -s conftest.err'
9663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667 (exit $ac_status); }; } &&
9668 { ac_try
='test -s conftest$ac_exeext'
9669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9673 (exit $ac_status); }; }; then
9674 ac_cv_func_dlopen
=yes
9676 echo "$as_me: failed program was:" >&5
9677 sed 's/^/| /' conftest.
$ac_ext >&5
9679 ac_cv_func_dlopen
=no
9681 rm -f conftest.err conftest.
$ac_objext \
9682 conftest
$ac_exeext conftest.
$ac_ext
9684 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9685 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9686 if test $ac_cv_func_dlopen = yes; then
9687 lt_cv_dlopen
="dlopen"
9689 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9690 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9691 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9692 echo $ECHO_N "(cached) $ECHO_C" >&6
9694 ac_check_lib_save_LIBS
=$LIBS
9696 cat >conftest.
$ac_ext <<_ACEOF
9699 cat confdefs.h
>>conftest.
$ac_ext
9700 cat >>conftest.
$ac_ext <<_ACEOF
9701 /* end confdefs.h. */
9703 /* Override any gcc2 internal prototype to avoid an error. */
9707 /* We use char because int might match the return type of a gcc2
9708 builtin and then its argument prototype would still apply. */
9718 rm -f conftest.
$ac_objext conftest
$ac_exeext
9719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9720 (eval $ac_link) 2>conftest.er1
9722 grep -v '^ *+' conftest.er1
>conftest.err
9724 cat conftest.err
>&5
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); } &&
9727 { ac_try
='test -z "$ac_c_werror_flag"
9728 || test ! -s conftest.err'
9729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9733 (exit $ac_status); }; } &&
9734 { ac_try
='test -s conftest$ac_exeext'
9735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739 (exit $ac_status); }; }; then
9740 ac_cv_lib_dl_dlopen
=yes
9742 echo "$as_me: failed program was:" >&5
9743 sed 's/^/| /' conftest.
$ac_ext >&5
9745 ac_cv_lib_dl_dlopen
=no
9747 rm -f conftest.err conftest.
$ac_objext \
9748 conftest
$ac_exeext conftest.
$ac_ext
9749 LIBS
=$ac_check_lib_save_LIBS
9751 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9752 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9753 if test $ac_cv_lib_dl_dlopen = yes; then
9754 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
9756 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9757 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9758 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9759 echo $ECHO_N "(cached) $ECHO_C" >&6
9761 ac_check_lib_save_LIBS
=$LIBS
9763 cat >conftest.
$ac_ext <<_ACEOF
9766 cat confdefs.h
>>conftest.
$ac_ext
9767 cat >>conftest.
$ac_ext <<_ACEOF
9768 /* end confdefs.h. */
9770 /* Override any gcc2 internal prototype to avoid an error. */
9774 /* We use char because int might match the return type of a gcc2
9775 builtin and then its argument prototype would still apply. */
9785 rm -f conftest.
$ac_objext conftest
$ac_exeext
9786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9787 (eval $ac_link) 2>conftest.er1
9789 grep -v '^ *+' conftest.er1
>conftest.err
9791 cat conftest.err
>&5
9792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9793 (exit $ac_status); } &&
9794 { ac_try
='test -z "$ac_c_werror_flag"
9795 || test ! -s conftest.err'
9796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9800 (exit $ac_status); }; } &&
9801 { ac_try
='test -s conftest$ac_exeext'
9802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9806 (exit $ac_status); }; }; then
9807 ac_cv_lib_svld_dlopen
=yes
9809 echo "$as_me: failed program was:" >&5
9810 sed 's/^/| /' conftest.
$ac_ext >&5
9812 ac_cv_lib_svld_dlopen
=no
9814 rm -f conftest.err conftest.
$ac_objext \
9815 conftest
$ac_exeext conftest.
$ac_ext
9816 LIBS
=$ac_check_lib_save_LIBS
9818 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9819 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9820 if test $ac_cv_lib_svld_dlopen = yes; then
9821 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
9823 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9824 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9825 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9826 echo $ECHO_N "(cached) $ECHO_C" >&6
9828 ac_check_lib_save_LIBS
=$LIBS
9830 cat >conftest.
$ac_ext <<_ACEOF
9833 cat confdefs.h
>>conftest.
$ac_ext
9834 cat >>conftest.
$ac_ext <<_ACEOF
9835 /* end confdefs.h. */
9837 /* Override any gcc2 internal prototype to avoid an error. */
9841 /* We use char because int might match the return type of a gcc2
9842 builtin and then its argument prototype would still apply. */
9852 rm -f conftest.
$ac_objext conftest
$ac_exeext
9853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9854 (eval $ac_link) 2>conftest.er1
9856 grep -v '^ *+' conftest.er1
>conftest.err
9858 cat conftest.err
>&5
9859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9860 (exit $ac_status); } &&
9861 { ac_try
='test -z "$ac_c_werror_flag"
9862 || test ! -s conftest.err'
9863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867 (exit $ac_status); }; } &&
9868 { ac_try
='test -s conftest$ac_exeext'
9869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9873 (exit $ac_status); }; }; then
9874 ac_cv_lib_dld_dld_link
=yes
9876 echo "$as_me: failed program was:" >&5
9877 sed 's/^/| /' conftest.
$ac_ext >&5
9879 ac_cv_lib_dld_dld_link
=no
9881 rm -f conftest.err conftest.
$ac_objext \
9882 conftest
$ac_exeext conftest.
$ac_ext
9883 LIBS
=$ac_check_lib_save_LIBS
9885 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9886 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9887 if test $ac_cv_lib_dld_dld_link = yes; then
9888 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
9909 if test "x$lt_cv_dlopen" != xno
; then
9915 case $lt_cv_dlopen in
9917 save_CPPFLAGS
="$CPPFLAGS"
9918 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
9920 save_LDFLAGS
="$LDFLAGS"
9921 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
9924 LIBS
="$lt_cv_dlopen_libs $LIBS"
9926 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9927 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9928 if test "${lt_cv_dlopen_self+set}" = set; then
9929 echo $ECHO_N "(cached) $ECHO_C" >&6
9931 if test "$cross_compiling" = yes; then :
9932 lt_cv_dlopen_self
=cross
9934 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
9935 lt_status
=$lt_dlunknown
9936 cat > conftest.
$ac_ext <<_LT_EOF
9937 #line 9937 "configure"
9938 #include "confdefs.h"
9947 # define LT_DLGLOBAL RTLD_GLOBAL
9950 # define LT_DLGLOBAL DL_GLOBAL
9952 # define LT_DLGLOBAL 0
9956 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9957 find out it does not work in some platform. */
9958 #ifndef LT_DLLAZY_OR_NOW
9960 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9963 # define LT_DLLAZY_OR_NOW DL_LAZY
9966 # define LT_DLLAZY_OR_NOW RTLD_NOW
9969 # define LT_DLLAZY_OR_NOW DL_NOW
9971 # define LT_DLLAZY_OR_NOW 0
9979 extern "C" void exit (int);
9982 void fnord() { int i=42;}
9985 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9986 int status = $lt_dlunknown;
9990 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9991 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9992 /* dlclose (self); */
10000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10001 (eval $ac_link) 2>&5
10003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10004 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10005 (.
/conftest
; exit; ) >&5 2>/dev
/null
10007 case x
$lt_status in
10008 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10009 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10010 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10013 # compilation failed
10014 lt_cv_dlopen_self
=no
10021 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10022 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10024 if test "x$lt_cv_dlopen_self" = xyes
; then
10025 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10026 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10027 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10028 if test "${lt_cv_dlopen_self_static+set}" = set; then
10029 echo $ECHO_N "(cached) $ECHO_C" >&6
10031 if test "$cross_compiling" = yes; then :
10032 lt_cv_dlopen_self_static
=cross
10034 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10035 lt_status
=$lt_dlunknown
10036 cat > conftest.
$ac_ext <<_LT_EOF
10037 #line 10037 "configure"
10038 #include "confdefs.h"
10047 # define LT_DLGLOBAL RTLD_GLOBAL
10050 # define LT_DLGLOBAL DL_GLOBAL
10052 # define LT_DLGLOBAL 0
10056 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10057 find out it does not work in some platform. */
10058 #ifndef LT_DLLAZY_OR_NOW
10060 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10063 # define LT_DLLAZY_OR_NOW DL_LAZY
10066 # define LT_DLLAZY_OR_NOW RTLD_NOW
10069 # define LT_DLLAZY_OR_NOW DL_NOW
10071 # define LT_DLLAZY_OR_NOW 0
10079 extern "C" void exit (int);
10082 void fnord() { int i=42;}
10085 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10086 int status = $lt_dlunknown;
10090 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10091 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10092 /* dlclose (self); */
10100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10101 (eval $ac_link) 2>&5
10103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10104 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10105 (.
/conftest
; exit; ) >&5 2>/dev
/null
10107 case x
$lt_status in
10108 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10109 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10110 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10113 # compilation failed
10114 lt_cv_dlopen_self_static
=no
10121 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10122 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10125 CPPFLAGS
="$save_CPPFLAGS"
10126 LDFLAGS
="$save_LDFLAGS"
10131 case $lt_cv_dlopen_self in
10132 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10133 *) enable_dlopen_self
=unknown
;;
10136 case $lt_cv_dlopen_self_static in
10137 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10138 *) enable_dlopen_self_static
=unknown
;;
10160 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10161 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10162 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10163 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10164 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10165 echo "$as_me:$LINENO: result: yes" >&5
10166 echo "${ECHO_T}yes" >&6
10168 # FIXME - insert some real tests, host_os isn't really good enough
10171 if test -n "$STRIP" ; then
10172 striplib
="$STRIP -x"
10173 old_striplib
="$STRIP -S"
10174 echo "$as_me:$LINENO: result: yes" >&5
10175 echo "${ECHO_T}yes" >&6
10177 echo "$as_me:$LINENO: result: no" >&5
10178 echo "${ECHO_T}no" >&6
10182 echo "$as_me:$LINENO: result: no" >&5
10183 echo "${ECHO_T}no" >&6
10199 # Report which library types will actually be built
10200 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10201 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10202 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10203 echo "${ECHO_T}$can_build_shared" >&6
10205 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10206 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10207 test "$can_build_shared" = "no" && enable_shared
=no
10209 # On AIX, shared libraries and static libraries use the same namespace, and
10210 # are all built from PIC.
10213 test "$enable_shared" = yes && enable_static
=no
10214 if test -n "$RANLIB"; then
10215 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10216 postinstall_cmds
='$RANLIB $lib'
10221 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10222 test "$enable_shared" = yes && enable_static
=no
10226 echo "$as_me:$LINENO: result: $enable_shared" >&5
10227 echo "${ECHO_T}$enable_shared" >&6
10229 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10230 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10231 # Make sure either enable_shared or enable_static is yes.
10232 test "$enable_shared" = yes || enable_static
=yes
10233 echo "$as_me:$LINENO: result: $enable_static" >&5
10234 echo "${ECHO_T}$enable_static" >&6
10241 ac_cpp
='$CPP $CPPFLAGS'
10242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10260 ac_config_commands
="$ac_config_commands libtool"
10265 # Only expand once:
10269 # Check whether --enable-targets or --disable-targets was given.
10270 if test "${enable_targets+set}" = set; then
10271 enableval
="$enable_targets"
10272 case "${enableval}" in
10273 yes |
"") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
10274 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
10275 { (exit 1); exit 1; }; }
10277 no
) enable_targets
= ;;
10278 *) enable_targets
=$enableval ;;
10281 # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
10282 if test "${enable_commonbfdlib+set}" = set; then
10283 enableval
="$enable_commonbfdlib"
10284 case "${enableval}" in
10285 yes) commonbfdlib
=true
;;
10286 no
) commonbfdlib
=false
;;
10287 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
10288 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
10289 { (exit 1); exit 1; }; } ;;
10293 if grep '^RELEASE=y' ${srcdir}/..
/bfd
/Makefile.am
>/dev
/null
2>/dev
/null
; then
10296 # Check whether --enable-checking or --disable-checking was given.
10297 if test "${enable_checking+set}" = set; then
10298 enableval
="$enable_checking"
10299 case "${enableval}" in
10300 no|none
) ac_checking
= ;;
10301 *) ac_checking
=yes ;;
10303 fi; if test x
$ac_checking != x
; then
10305 cat >>confdefs.h
<<\_ACEOF
10306 #define ENABLE_CHECKING 1
10314 GCC_WARN_CFLAGS
="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
10316 # Check whether --enable-werror or --disable-werror was given.
10317 if test "${enable_werror+set}" = set; then
10318 enableval
="$enable_werror"
10319 case "${enableval}" in
10320 yes | y
) ERROR_ON_WARNING
="yes" ;;
10321 no | n
) ERROR_ON_WARNING
="no" ;;
10322 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
10323 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
10324 { (exit 1); exit 1; }; } ;;
10328 # Enable -Werror by default when using gcc
10329 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
10330 ERROR_ON_WARNING
=yes
10334 if test "${ERROR_ON_WARNING}" = yes ; then
10335 GCC_WARN_CFLAGS
="$GCC_WARN_CFLAGS -Werror"
10336 NO_WERROR
="-Wno-error"
10339 if test "${GCC}" = yes ; then
10340 WARN_CFLAGS
="${GCC_WARN_CFLAGS}"
10343 # Check whether --enable-build-warnings or --disable-build-warnings was given.
10344 if test "${enable_build_warnings+set}" = set; then
10345 enableval
="$enable_build_warnings"
10346 case "${enableval}" in
10347 yes) WARN_CFLAGS
="${GCC_WARN_CFLAGS}";;
10348 no
) if test "${GCC}" = yes ; then
10351 ,*) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10352 WARN_CFLAGS
="${GCC_WARN_CFLAGS} ${t}";;
10353 *,) t
=`echo "${enableval}" | sed -e "s/,/ /g"`
10354 WARN_CFLAGS
="${t} ${GCC_WARN_CFLAGS}";;
10355 *) WARN_CFLAGS
=`echo "${enableval}" | sed -e "s/,/ /g"`;;
10359 if test x
"$silent" != x
"yes" && test x
"$WARN_CFLAGS" != x
""; then
10360 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
10367 # Generate a header file
10368 ac_config_headers
="$ac_config_headers config.h:config.in"
10371 # If we are on a DOS filesystem, we must use gdb.ini rather than
10374 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-windows*)
10376 ac_config_files
="$ac_config_files gdb.ini:gdbinit.in"
10381 ac_config_files
="$ac_config_files .gdbinit:gdbinit.in"
10387 #We need this for the host. BOUT header is in host order.
10388 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
10389 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
10390 if test "${ac_cv_c_bigendian+set}" = set; then
10391 echo $ECHO_N "(cached) $ECHO_C" >&6
10393 # See if sys/param.h defines the BYTE_ORDER macro.
10394 cat >conftest.
$ac_ext <<_ACEOF
10397 cat confdefs.h
>>conftest.
$ac_ext
10398 cat >>conftest.
$ac_ext <<_ACEOF
10399 /* end confdefs.h. */
10400 #include <sys/types.h>
10401 #include <sys/param.h>
10406 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10407 bogus endian macros
10414 rm -f conftest.
$ac_objext
10415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10416 (eval $ac_compile) 2>conftest.er1
10418 grep -v '^ *+' conftest.er1
>conftest.err
10420 cat conftest.err
>&5
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); } &&
10423 { ac_try
='test -z "$ac_c_werror_flag"
10424 || test ! -s conftest.err'
10425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10426 (eval $ac_try) 2>&5
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); }; } &&
10430 { ac_try
='test -s conftest.$ac_objext'
10431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10432 (eval $ac_try) 2>&5
10434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10435 (exit $ac_status); }; }; then
10436 # It does; now see whether it defined to BIG_ENDIAN or not.
10437 cat >conftest.
$ac_ext <<_ACEOF
10440 cat confdefs.h
>>conftest.
$ac_ext
10441 cat >>conftest.
$ac_ext <<_ACEOF
10442 /* end confdefs.h. */
10443 #include <sys/types.h>
10444 #include <sys/param.h>
10449 #if BYTE_ORDER != BIG_ENDIAN
10457 rm -f conftest.
$ac_objext
10458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10459 (eval $ac_compile) 2>conftest.er1
10461 grep -v '^ *+' conftest.er1
>conftest.err
10463 cat conftest.err
>&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); } &&
10466 { ac_try
='test -z "$ac_c_werror_flag"
10467 || test ! -s conftest.err'
10468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10469 (eval $ac_try) 2>&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); }; } &&
10473 { ac_try
='test -s conftest.$ac_objext'
10474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10475 (eval $ac_try) 2>&5
10477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10478 (exit $ac_status); }; }; then
10479 ac_cv_c_bigendian
=yes
10481 echo "$as_me: failed program was:" >&5
10482 sed 's/^/| /' conftest.
$ac_ext >&5
10484 ac_cv_c_bigendian
=no
10486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10488 echo "$as_me: failed program was:" >&5
10489 sed 's/^/| /' conftest.
$ac_ext >&5
10491 # It does not; compile a test program.
10492 if test "$cross_compiling" = yes; then
10493 # try to guess the endianness by grepping values into an object file
10494 ac_cv_c_bigendian
=unknown
10495 cat >conftest.
$ac_ext <<_ACEOF
10498 cat confdefs.h
>>conftest.
$ac_ext
10499 cat >>conftest.
$ac_ext <<_ACEOF
10500 /* end confdefs.h. */
10501 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
10502 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
10503 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
10504 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
10505 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
10506 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
10510 _ascii (); _ebcdic ();
10515 rm -f conftest.
$ac_objext
10516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10517 (eval $ac_compile) 2>conftest.er1
10519 grep -v '^ *+' conftest.er1
>conftest.err
10521 cat conftest.err
>&5
10522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10523 (exit $ac_status); } &&
10524 { ac_try
='test -z "$ac_c_werror_flag"
10525 || test ! -s conftest.err'
10526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10527 (eval $ac_try) 2>&5
10529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10530 (exit $ac_status); }; } &&
10531 { ac_try
='test -s conftest.$ac_objext'
10532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10533 (eval $ac_try) 2>&5
10535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); }; }; then
10537 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
10538 ac_cv_c_bigendian
=yes
10540 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
10541 if test "$ac_cv_c_bigendian" = unknown
; then
10542 ac_cv_c_bigendian
=no
10544 # finding both strings is unlikely to happen, but who knows?
10545 ac_cv_c_bigendian
=unknown
10549 echo "$as_me: failed program was:" >&5
10550 sed 's/^/| /' conftest.
$ac_ext >&5
10553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10555 cat >conftest.
$ac_ext <<_ACEOF
10558 cat confdefs.h
>>conftest.
$ac_ext
10559 cat >>conftest.
$ac_ext <<_ACEOF
10560 /* end confdefs.h. */
10564 /* Are we little or big endian? From Harbison&Steele. */
10568 char c[sizeof (long)];
10571 exit (u.c[sizeof (long) - 1] == 1);
10574 rm -f conftest
$ac_exeext
10575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10576 (eval $ac_link) 2>&5
10578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10579 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10581 (eval $ac_try) 2>&5
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); }; }; then
10585 ac_cv_c_bigendian
=no
10587 echo "$as_me: program exited with status $ac_status" >&5
10588 echo "$as_me: failed program was:" >&5
10589 sed 's/^/| /' conftest.
$ac_ext >&5
10591 ( exit $ac_status )
10592 ac_cv_c_bigendian
=yes
10594 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10599 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
10600 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
10601 case $ac_cv_c_bigendian in
10604 cat >>confdefs.h
<<\_ACEOF
10605 #define WORDS_BIGENDIAN 1
10611 { { echo "$as_me:$LINENO: error: unknown endianness
10612 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
10613 echo "$as_me: error: unknown endianness
10614 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
10615 { (exit 1); exit 1; }; } ;;
10621 # Makefile target for installing gas in $(tooldir)/bin.
10622 install_tooldir
=install-exec-tooldir
10626 if test -n "$enable_targets" ; then
10627 for t
in `echo $enable_targets | sed 's/,/ /g'`; do
10628 if test $t = "all"; then
10632 result
=`$ac_config_sub $t 2>/dev/null`
10633 if test -n "$result" ; then
10634 canon_targets
="$canon_targets $result"
10636 # # Permit "all", etc. We don't support it yet though.
10637 # canon_targets="$canon_targets $t"
10640 _gas_uniq_list
="$canon_targets"
10641 _gas_uniq_newlist
=""
10642 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
10643 case $_gas_uniq_i in
10644 _gas_uniq_dummy
) ;;
10645 *) case " $_gas_uniq_newlist " in
10646 *" $_gas_uniq_i "*) ;;
10647 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
10651 canon_targets
=$_gas_uniq_newlist
10657 for this_target
in $target $canon_targets ; do
10659 targ
=${this_target}
10660 .
${srcdir}/configure.tgt
10662 case ${target_cpu} in
10665 cat >>confdefs.h
<<_ACEOF
10666 #define DEFAULT_CRIS_ARCH $arch
10672 if test ${this_target} = $target ; then
10673 target_cpu_type
=${cpu_type}
10674 elif test ${target_cpu_type} != ${cpu_type} ; then
10678 generic_target
=${cpu_type}-${target_vendor}-${target_os}
10679 case ${generic_target} in
10681 if test ${this_target} = $target; then
10683 cat >>confdefs.h
<<\_ACEOF
10690 i386-
*-msdosdjgpp* \
10692 | i386-go32-rtems
*)
10694 cat >>confdefs.h
<<\_ACEOF
10695 #define STRICTCOFF 1
10701 { echo "$as_me:$LINENO: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&5
10702 echo "$as_me: WARNING: GAS support for ${generic_target} is preliminary and a work in progress" >&2;}
10708 { { echo "$as_me:$LINENO: error: Unknown vendor for mips-bsd configuration." >&5
10709 echo "$as_me: error: Unknown vendor for mips-bsd configuration." >&2;}
10710 { (exit 1); exit 1; }; }
10715 cat >>confdefs.h
<<\_ACEOF
10716 #define AIX_WEAK_SUPPORT 1
10723 *) { { echo "$as_me:$LINENO: error: GNU/Linux must be configured big endian" >&5
10724 echo "$as_me: error: GNU/Linux must be configured big endian" >&2;}
10725 { (exit 1); exit 1; }; } ;;
10729 if test ${this_target} = $target; then
10731 cat >>confdefs.h
<<\_ACEOF
10732 #define TARGET_SOLARIS_COMMENT 1
10736 if test x
${endian} = xbig
; then
10737 { { echo "$as_me:$LINENO: error: Solaris must be configured little endian" >&5
10738 echo "$as_me: error: Solaris must be configured little endian" >&2;}
10739 { (exit 1); exit 1; }; }
10745 cat >>confdefs.h
<<\_ACEOF
10746 #define TARGET_SYMBIAN 1
10752 if test ${this_target} = $target ; then
10754 if test x
${endian} = xbig
; then
10756 elif test x
${endian} = xlittle
; then
10759 if test x
${endian_def} != x
; then
10761 cat >>confdefs.h
<<_ACEOF
10762 #define TARGET_BYTES_BIG_ENDIAN $endian_def
10768 # Other random stuff.
10770 case ${cpu_type} in
10772 # Set mips_cpu to the name of the default CPU.
10773 case ${target_cpu} in
10774 mips | mipsbe | mipseb | mipsle | mipsel | mips64 | mips64el
)
10777 mipsisa32 | mipsisa32el
)
10780 mipsisa32r2 | mipsisa32r2el
)
10783 mipsisa64 | mipsisa64el
)
10786 mipsisa64r2 | mipsisa64r2el
)
10789 mipstx39 | mipstx39el
)
10792 mips64vr | mips64vrel
)
10795 mipsisa32r2
* | mipsisa64r2
*)
10796 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..r2//' -e 's/el$//'`
10798 mips64
* | mipsisa64
* | mipsisa32
*)
10799 mips_cpu
=`echo $target_cpu | sed -e 's/[a-z]*..//' -e 's/el$//'`
10802 { { echo "$as_me:$LINENO: error: $target_cpu isn't a supported MIPS CPU name" >&5
10803 echo "$as_me: error: $target_cpu isn't a supported MIPS CPU name" >&2;}
10804 { (exit 1); exit 1; }; }
10807 # See whether it's appropriate to set E_MIPS_ABI_O32 for o32
10808 # binaries. It's a GNU extension that some OSes don't understand.
10809 # The value only matters on ELF targets.
10812 use_e_mips_abi_o32
=0
10815 use_e_mips_abi_o32
=1
10818 # Decide whether to generate 32-bit or 64-bit code by default.
10819 # Used to resolve -march=from-abi when an embedded ABI is selected.
10821 mips64
*-*-* | mipsisa64
*-*-*)
10822 mips_default_64bit
=1
10825 mips_default_64bit
=0
10828 # Decide which ABI to target by default.
10830 mips64
*-linux* | mips-sgi-irix6
*)
10831 mips_default_abi
=N32_ABI
10834 mips_default_abi
=O32_ABI
10837 mips_default_abi
=N64_ABI
10840 mips_default_abi
=NO_ABI
10844 cat >>confdefs.h
<<_ACEOF
10845 #define MIPS_CPU_STRING_DEFAULT "$mips_cpu"
10849 cat >>confdefs.h
<<_ACEOF
10850 #define USE_E_MIPS_ABI_O32 $use_e_mips_abi_o32
10854 cat >>confdefs.h
<<_ACEOF
10855 #define MIPS_DEFAULT_64BIT $mips_default_64bit
10859 cat >>confdefs.h
<<_ACEOF
10860 #define MIPS_DEFAULT_ABI $mips_default_abi
10866 # Do we need the opcodes library?
10867 case ${cpu_type} in
10874 case "${enable_shared}" in
10875 yes) shared_opcodes
=true
;;
10876 *opcodes
*) shared_opcodes
=true
;;
10877 *) shared_opcodes
=false
;;
10882 # Any other special object files needed ?
10883 case ${cpu_type} in
10886 echo ${extra_objects} |
grep -s "bfin-parse.o"
10887 if test $?
-ne 0 ; then
10888 extra_objects
="$extra_objects bfin-parse.o"
10891 echo ${extra_objects} |
grep -s "bfin-lex.o"
10892 if test $?
-ne 0 ; then
10893 extra_objects
="$extra_objects bfin-lex.o"
10897 fr30 | ip2k | iq2000 | m32r | openrisc
)
10908 case ${extra_objects} in
10910 *) extra_objects
="$extra_objects m68k-parse.o" ;;
10919 echo ${extra_objects} |
grep -s "itbl-parse.o"
10920 if test $?
-ne 0 ; then
10921 extra_objects
="$extra_objects itbl-parse.o"
10924 echo ${extra_objects} |
grep -s "itbl-lex.o"
10925 if test $?
-ne 0 ; then
10926 extra_objects
="$extra_objects itbl-lex.o"
10929 echo ${extra_objects} |
grep -s "itbl-ops.o"
10930 if test $?
-ne 0 ; then
10931 extra_objects
="$extra_objects itbl-ops.o"
10939 i386 | s390 | sparc
)
10940 if test $this_target = $target ; then
10942 cat >>confdefs.h
<<_ACEOF
10943 #define DEFAULT_ARCH "${arch}"
10958 echo ${extra_objects} |
grep -s "xtensa-relax.o"
10959 if test $?
-ne 0 ; then
10960 extra_objects
="$extra_objects xtensa-relax.o"
10968 if test $using_cgen = yes ; then
10969 case "x${extra_objects}" in
10971 *) extra_objects
="$extra_objects cgen.o" ;;
10975 # See if we really can support this configuration with the emulation code.
10977 if test $this_target = $target ; then
10982 # From target name and format, produce a list of supported emulations.
10984 case ${generic_target}-${fmt} in
10985 mips-
*-irix5*-*) emulation
="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
10986 mips
*-*-linux*-*) case "$endian" in
10987 big
) emulation
="mipsbelf mipslelf mipself" ;;
10988 *) emulation
="mipslelf mipsbelf mipself" ;;
10990 mips-
*-lnews*-ecoff) ;;
10991 mips-
*-*-ecoff) case "$endian" in
10992 big
) emulation
="mipsbecoff mipslecoff mipsecoff" ;;
10993 *) emulation
="mipslecoff mipsbecoff mipsecoff" ;;
10995 mips-
*-*-elf) case "$endian" in
10996 big
) emulation
="mipsbelf mipslelf mipself" ;;
10997 *) emulation
="mipslelf mipsbelf mipself" ;;
10999 mips-
*-sysv4*MP
*-*) emulation
="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
11000 # i386-pc-pe-coff != i386-pc-coff.
11002 # Uncommenting the next line will turn on support for i386 AOUT
11003 # for the default linux configuration
11004 # i386-*-linux*-elf) emulation="i386elf i386aout" ;;
11006 i386-
*-aout) emulation
="i386aout" ;;
11007 i386-
*-coff) emulation
="i386coff" ;;
11008 i386-
*-elf) emulation
="i386elf" ;;
11010 # Always all formats. The first stated emulation becomes the default.
11011 cris-
*-*aout
*) emulation
="crisaout criself" ;;
11012 cris-
*-*) emulation
="criself crisaout" ;;
11015 emulations
="$emulations $emulation"
11019 # Turn on all targets if possible
11020 if test ${all_targets} = "yes"; then
11021 case ${target_cpu_type} in
11023 case ${obj_format} in
11025 emulations
="$emulations i386coff i386elf"
11028 emulations
="$emulations i386aout i386elf"
11031 emulations
="$emulations i386aout i386coff"
11036 case ${obj_format} in
11038 emulations
="$emulations i386coff i386elf"
11041 emulations
="$emulations i386aout i386elf"
11044 emulations
="$emulations i386aout i386coff"
11051 # Assign floating point type. Most processors with FP support
11052 # IEEE FP. On those that don't support FP at all, usually IEEE
11054 case ${target_cpu} in
11055 vax | pdp11
) atof
=vax
;;
11059 case "${obj_format}" in
11060 "") { { echo "$as_me:$LINENO: error: GAS does not know what format to use for target ${target}" >&5
11061 echo "$as_me: error: GAS does not know what format to use for target ${target}" >&2;}
11062 { (exit 1); exit 1; }; } ;;
11065 # Unfortunately the cpu in cpu-opc.h file isn't always $(TARGET_CPU).
11067 if test $using_cgen = yes ; then
11068 case ${target_cpu} in
11069 *) cgen_cpu_prefix
=${target_cpu} ;;
11073 cat >>confdefs.h
<<\_ACEOF
11074 #define USING_CGEN 1
11080 if test ! -r ${srcdir}/config
/tc-
${target_cpu_type}.c
; then
11081 { { echo "$as_me:$LINENO: error: GAS does not support target CPU ${target_cpu_type}" >&5
11082 echo "$as_me: error: GAS does not support target CPU ${target_cpu_type}" >&2;}
11083 { (exit 1); exit 1; }; }
11086 if test ! -r ${srcdir}/config
/obj-
${obj_format}.c
; then
11087 { { echo "$as_me:$LINENO: error: GAS does not have support for object file format ${obj_format}" >&5
11088 echo "$as_me: error: GAS does not have support for object file format ${obj_format}" >&2;}
11089 { (exit 1); exit 1; }; }
11092 # Some COFF configurations want these random other flags set.
11093 case ${obj_format} in
11095 case ${target_cpu_type} in
11097 cat >>confdefs.h
<<\_ACEOF
11102 cat >>confdefs.h
<<\_ACEOF
11107 cat >>confdefs.h
<<\_ACEOF
11112 cat >>confdefs.h
<<\_ACEOF
11120 # Getting this done right is going to be a bitch. Each configuration specified
11121 # with --enable-targets=... should be checked for environment, format, cpu
11124 # For each configuration, the necessary object file support code must be linked
11125 # in. This might be only one, it might be up to four. The necessary emulation
11126 # code needs to be provided, too.
11128 # And then there's "--enable-targets=all"....
11130 # For now, just always do it for MIPS ELF or ECOFF configurations. Sigh.
11132 formats
="${obj_format}"
11135 _gas_uniq_list
="$emulations"
11136 _gas_uniq_newlist
=""
11137 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
11138 case $_gas_uniq_i in
11139 _gas_uniq_dummy
) ;;
11140 *) case " $_gas_uniq_newlist " in
11141 *" $_gas_uniq_i "*) ;;
11142 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
11146 emulations
=$_gas_uniq_newlist
11148 for em
in .
$emulations ; do
11151 mipsbelf | mipslelf | mipself
)
11152 fmt=elf
file=mipself
;;
11153 mipsbecoff | mipslecoff | mipsecoff
)
11154 fmt=ecoff
file=mipsecoff
;;
11156 fmt=coff
file=$em ;;
11158 fmt=aout
file=$em ;;
11160 fmt=elf
file=$em ;;
11162 formats
="$formats $fmt"
11163 emfiles
="$emfiles e-$file.o"
11164 EMULATIONS
="$EMULATIONS &$em,"
11166 _gas_uniq_list
="$formats"
11167 _gas_uniq_newlist
=""
11168 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
11169 case $_gas_uniq_i in
11170 _gas_uniq_dummy
) ;;
11171 *) case " $_gas_uniq_newlist " in
11172 *" $_gas_uniq_i "*) ;;
11173 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
11177 formats
=$_gas_uniq_newlist
11179 _gas_uniq_list
="$emfiles"
11180 _gas_uniq_newlist
=""
11181 for _gas_uniq_i
in _gas_uniq_dummy
$_gas_uniq_list ; do
11182 case $_gas_uniq_i in
11183 _gas_uniq_dummy
) ;;
11184 *) case " $_gas_uniq_newlist " in
11185 *" $_gas_uniq_i "*) ;;
11186 *) _gas_uniq_newlist
="$_gas_uniq_newlist $_gas_uniq_i" ;;
11190 emfiles
=$_gas_uniq_newlist
11192 if test `set . $formats ; shift ; echo $#` -gt 1 ; then
11193 for fmt in $formats ; do
11196 cat >>confdefs.h
<<\_ACEOF
11197 #define OBJ_MAYBE_AOUT 1
11201 cat >>confdefs.h
<<\_ACEOF
11202 #define OBJ_MAYBE_BOUT 1
11206 cat >>confdefs.h
<<\_ACEOF
11207 #define OBJ_MAYBE_COFF 1
11211 cat >>confdefs.h
<<\_ACEOF
11212 #define OBJ_MAYBE_ECOFF 1
11216 cat >>confdefs.h
<<\_ACEOF
11217 #define OBJ_MAYBE_ELF 1
11221 cat >>confdefs.h
<<\_ACEOF
11222 #define OBJ_MAYBE_GENERIC 1
11226 cat >>confdefs.h
<<\_ACEOF
11227 #define OBJ_MAYBE_SOM 1
11231 extra_objects
="$extra_objects obj-$fmt.o"
11235 if test `set . $emfiles ; shift ; echo $#` -gt 0 ; then
11236 DEFAULT_EMULATION
=`set . $emulations ; echo $2`
11237 # e-mips* has more than one emulation per file, e-i386* has just one at the
11238 # moment. If only one emulation is specified, then don't define
11239 # USE_EMULATIONS or include any of the e-files as they will only be bloat.
11240 case "${obj_format}${emfiles}" in
11242 extra_objects
="$extra_objects $emfiles"
11244 cat >>confdefs.h
<<\_ACEOF
11245 #define USE_EMULATIONS 1
11252 cat >>confdefs.h
<<_ACEOF
11253 #define EMULATIONS $EMULATIONS
11257 cat >>confdefs.h
<<_ACEOF
11258 #define DEFAULT_EMULATION "$DEFAULT_EMULATION"
11262 reject_dev_configs
=yes
11264 case ${reject_dev_configs}-${dev} in
11266 { { echo "$as_me:$LINENO: error: GAS does not support the ${generic_target} configuration." >&5
11267 echo "$as_me: error: GAS does not support the ${generic_target} configuration." >&2;}
11268 { (exit 1); exit 1; }; }
11278 # do we need the opcodes library?
11279 case "${need_opcodes}" in
11281 OPCODES_LIB
=..
/opcodes
/libopcodes.la
11288 cat >>confdefs.h
<<_ACEOF
11289 #define TARGET_ALIAS "${target_alias}"
11293 cat >>confdefs.h
<<_ACEOF
11294 #define TARGET_CANONICAL "${target}"
11298 cat >>confdefs.h
<<_ACEOF
11299 #define TARGET_CPU "${target_cpu}"
11303 cat >>confdefs.h
<<_ACEOF
11304 #define TARGET_VENDOR "${target_vendor}"
11308 cat >>confdefs.h
<<_ACEOF
11309 #define TARGET_OS "${target_os}"
11313 for ac_prog
in 'bison -y' byacc
11315 # Extract the first word of "$ac_prog", so it can be a program name with args.
11316 set dummy
$ac_prog; ac_word
=$2
11317 echo "$as_me:$LINENO: checking for $ac_word" >&5
11318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11319 if test "${ac_cv_prog_YACC+set}" = set; then
11320 echo $ECHO_N "(cached) $ECHO_C" >&6
11322 if test -n "$YACC"; then
11323 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
11325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11326 for as_dir
in $PATH
11329 test -z "$as_dir" && as_dir
=.
11330 for ac_exec_ext
in '' $ac_executable_extensions; do
11331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11332 ac_cv_prog_YACC
="$ac_prog"
11333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11341 YACC
=$ac_cv_prog_YACC
11342 if test -n "$YACC"; then
11343 echo "$as_me:$LINENO: result: $YACC" >&5
11344 echo "${ECHO_T}$YACC" >&6
11346 echo "$as_me:$LINENO: result: no" >&5
11347 echo "${ECHO_T}no" >&6
11350 test -n "$YACC" && break
11352 test -n "$YACC" || YACC
="yacc"
11354 for ac_prog
in flex
lex
11356 # Extract the first word of "$ac_prog", so it can be a program name with args.
11357 set dummy
$ac_prog; ac_word
=$2
11358 echo "$as_me:$LINENO: checking for $ac_word" >&5
11359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11360 if test "${ac_cv_prog_LEX+set}" = set; then
11361 echo $ECHO_N "(cached) $ECHO_C" >&6
11363 if test -n "$LEX"; then
11364 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
11366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11367 for as_dir
in $PATH
11370 test -z "$as_dir" && as_dir
=.
11371 for ac_exec_ext
in '' $ac_executable_extensions; do
11372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11373 ac_cv_prog_LEX
="$ac_prog"
11374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11382 LEX
=$ac_cv_prog_LEX
11383 if test -n "$LEX"; then
11384 echo "$as_me:$LINENO: result: $LEX" >&5
11385 echo "${ECHO_T}$LEX" >&6
11387 echo "$as_me:$LINENO: result: no" >&5
11388 echo "${ECHO_T}no" >&6
11391 test -n "$LEX" && break
11393 test -n "$LEX" || LEX
=":"
11395 if test -z "$LEXLIB"
11397 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11398 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11399 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11400 echo $ECHO_N "(cached) $ECHO_C" >&6
11402 ac_check_lib_save_LIBS
=$LIBS
11404 cat >conftest.
$ac_ext <<_ACEOF
11407 cat confdefs.h
>>conftest.
$ac_ext
11408 cat >>conftest.
$ac_ext <<_ACEOF
11409 /* end confdefs.h. */
11411 /* Override any gcc2 internal prototype to avoid an error. */
11415 /* We use char because int might match the return type of a gcc2
11416 builtin and then its argument prototype would still apply. */
11426 rm -f conftest.
$ac_objext conftest
$ac_exeext
11427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11428 (eval $ac_link) 2>conftest.er1
11430 grep -v '^ *+' conftest.er1
>conftest.err
11432 cat conftest.err
>&5
11433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11434 (exit $ac_status); } &&
11435 { ac_try
='test -z "$ac_c_werror_flag"
11436 || test ! -s conftest.err'
11437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11438 (eval $ac_try) 2>&5
11440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11441 (exit $ac_status); }; } &&
11442 { ac_try
='test -s conftest$ac_exeext'
11443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11444 (eval $ac_try) 2>&5
11446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11447 (exit $ac_status); }; }; then
11448 ac_cv_lib_fl_yywrap
=yes
11450 echo "$as_me: failed program was:" >&5
11451 sed 's/^/| /' conftest.
$ac_ext >&5
11453 ac_cv_lib_fl_yywrap
=no
11455 rm -f conftest.err conftest.
$ac_objext \
11456 conftest
$ac_exeext conftest.
$ac_ext
11457 LIBS
=$ac_check_lib_save_LIBS
11459 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11460 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11461 if test $ac_cv_lib_fl_yywrap = yes; then
11464 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11465 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11466 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11467 echo $ECHO_N "(cached) $ECHO_C" >&6
11469 ac_check_lib_save_LIBS
=$LIBS
11471 cat >conftest.
$ac_ext <<_ACEOF
11474 cat confdefs.h
>>conftest.
$ac_ext
11475 cat >>conftest.
$ac_ext <<_ACEOF
11476 /* end confdefs.h. */
11478 /* Override any gcc2 internal prototype to avoid an error. */
11482 /* We use char because int might match the return type of a gcc2
11483 builtin and then its argument prototype would still apply. */
11493 rm -f conftest.
$ac_objext conftest
$ac_exeext
11494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11495 (eval $ac_link) 2>conftest.er1
11497 grep -v '^ *+' conftest.er1
>conftest.err
11499 cat conftest.err
>&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); } &&
11502 { ac_try
='test -z "$ac_c_werror_flag"
11503 || test ! -s conftest.err'
11504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11505 (eval $ac_try) 2>&5
11507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11508 (exit $ac_status); }; } &&
11509 { ac_try
='test -s conftest$ac_exeext'
11510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11511 (eval $ac_try) 2>&5
11513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11514 (exit $ac_status); }; }; then
11515 ac_cv_lib_l_yywrap
=yes
11517 echo "$as_me: failed program was:" >&5
11518 sed 's/^/| /' conftest.
$ac_ext >&5
11520 ac_cv_lib_l_yywrap
=no
11522 rm -f conftest.err conftest.
$ac_objext \
11523 conftest
$ac_exeext conftest.
$ac_ext
11524 LIBS
=$ac_check_lib_save_LIBS
11526 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11527 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11528 if test $ac_cv_lib_l_yywrap = yes; then
11536 if test "x$LEX" != "x:"; then
11537 echo "$as_me:$LINENO: checking lex output file root" >&5
11538 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11539 if test "${ac_cv_prog_lex_root+set}" = set; then
11540 echo $ECHO_N "(cached) $ECHO_C" >&6
11542 # The minimal lex program is just a single line: %%. But some broken lexes
11543 # (Solaris, I think it was) want two %% lines, so accommodate them.
11544 cat >conftest.l
<<_ACEOF
11548 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11549 (eval $LEX conftest.l
) 2>&5
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); }
11553 if test -f lex.yy.c
; then
11554 ac_cv_prog_lex_root
=lex.yy
11555 elif test -f lexyy.c
; then
11556 ac_cv_prog_lex_root
=lexyy
11558 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11559 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11560 { (exit 1); exit 1; }; }
11563 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11564 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11566 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
11568 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11569 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11570 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11571 echo $ECHO_N "(cached) $ECHO_C" >&6
11573 # POSIX says lex can declare yytext either as a pointer or an array; the
11574 # default is implementation-dependent. Figure out which it is, since
11575 # not all implementations provide the %pointer and %array declarations.
11576 ac_cv_prog_lex_yytext_pointer
=no
11577 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11579 LIBS
="$LIBS $LEXLIB"
11580 cat >conftest.
$ac_ext <<_ACEOF
11581 `cat $LEX_OUTPUT_ROOT.c`
11583 rm -f conftest.
$ac_objext conftest
$ac_exeext
11584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11585 (eval $ac_link) 2>conftest.er1
11587 grep -v '^ *+' conftest.er1
>conftest.err
11589 cat conftest.err
>&5
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); } &&
11592 { ac_try
='test -z "$ac_c_werror_flag"
11593 || test ! -s conftest.err'
11594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11595 (eval $ac_try) 2>&5
11597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11598 (exit $ac_status); }; } &&
11599 { ac_try
='test -s conftest$ac_exeext'
11600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11601 (eval $ac_try) 2>&5
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); }; }; then
11605 ac_cv_prog_lex_yytext_pointer
=yes
11607 echo "$as_me: failed program was:" >&5
11608 sed 's/^/| /' conftest.
$ac_ext >&5
11611 rm -f conftest.err conftest.
$ac_objext \
11612 conftest
$ac_exeext conftest.
$ac_ext
11614 rm -f "${LEX_OUTPUT_ROOT}.c"
11617 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11618 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11619 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11621 cat >>confdefs.h
<<\_ACEOF
11622 #define YYTEXT_POINTER 1
11628 if test "$LEX" = :; then
11629 LEX
=${am_missing_run}flex
11632 ALL_LINGUAS
="fr tr es rw"
11633 # If we haven't got the data from the intl directory,
11634 # assume NLS is disabled.
11643 if test -f ..
/intl
/config.intl
; then
11644 . ..
/intl
/config.intl
11646 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
11647 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
11648 if test x
"$USE_NLS" != xyes
; then
11649 echo "$as_me:$LINENO: result: no" >&5
11650 echo "${ECHO_T}no" >&6
11652 echo "$as_me:$LINENO: result: yes" >&5
11653 echo "${ECHO_T}yes" >&6
11655 cat >>confdefs.h
<<\_ACEOF
11656 #define ENABLE_NLS 1
11660 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
11661 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
11662 # Look for .po and .gmo files in the source directory.
11665 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
11666 # If there aren't any .gmo files the shell will give us the
11667 # literal string "../path/to/srcdir/po/*.gmo" which has to be
11669 case "$cat" in *\
**)
11672 # The quadruple backslash is collapsed to a double backslash
11673 # by the backticks, then collapsed again by the double quotes,
11674 # leaving us with one backslash in the sed expression (right
11675 # before the dot that mustn't act as a wildcard).
11676 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11677 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
11678 # The user is allowed to set LINGUAS to a list of languages to
11679 # install catalogs for. If it's empty that means "all of them."
11680 if test "x$LINGUAS" = x
; then
11681 CATALOGS
="$CATALOGS $cat"
11682 XLINGUAS
="$XLINGUAS $lang"
11684 case "$LINGUAS" in *$lang*)
11685 CATALOGS
="$CATALOGS $cat"
11686 XLINGUAS
="$XLINGUAS $lang"
11691 LINGUAS
="$XLINGUAS"
11692 echo "$as_me:$LINENO: result: $LINGUAS" >&5
11693 echo "${ECHO_T}$LINGUAS" >&6
11707 if test -n "$ac_aux_dir"; then
11708 case "$ac_aux_dir" in
11709 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
11710 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11713 if test -z "$MKINSTALLDIRS"; then
11714 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11719 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
11720 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
11721 # Check whether --enable-nls or --disable-nls was given.
11722 if test "${enable_nls+set}" = set; then
11723 enableval
="$enable_nls"
11728 echo "$as_me:$LINENO: result: $USE_NLS" >&5
11729 echo "${ECHO_T}$USE_NLS" >&6
11736 # Prepare PATH_SEPARATOR.
11737 # The user is always right.
11738 if test "${PATH_SEPARATOR+set}" != set; then
11739 echo "#! /bin/sh" >conf$$.sh
11740 echo "exit 0" >>conf$$.sh
11742 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11750 # Find out how to test for executable files. Don't use a zero-byte file,
11751 # as systems may use methods other than mode bits to determine executability.
11752 cat >conf$$.
file <<_ASEOF
11756 chmod +x conf$$.
file
11757 if test -x conf$$.
file >/dev
/null
2>&1; then
11758 ac_executable_p
="test -x"
11760 ac_executable_p
="test -f"
11764 # Extract the first word of "msgfmt", so it can be a program name with args.
11765 set dummy msgfmt
; ac_word
=$2
11766 echo "$as_me:$LINENO: checking for $ac_word" >&5
11767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11768 if test "${ac_cv_path_MSGFMT+set}" = set; then
11769 echo $ECHO_N "(cached) $ECHO_C" >&6
11773 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11776 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11777 for ac_dir
in $PATH; do
11779 test -z "$ac_dir" && ac_dir
=.
11780 for ac_exec_ext
in '' $ac_executable_extensions; do
11781 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11782 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11783 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11784 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11791 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11795 MSGFMT
="$ac_cv_path_MSGFMT"
11796 if test "$MSGFMT" != ":"; then
11797 echo "$as_me:$LINENO: result: $MSGFMT" >&5
11798 echo "${ECHO_T}$MSGFMT" >&6
11800 echo "$as_me:$LINENO: result: no" >&5
11801 echo "${ECHO_T}no" >&6
11804 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11805 set dummy gmsgfmt
; ac_word
=$2
11806 echo "$as_me:$LINENO: checking for $ac_word" >&5
11807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11808 if test "${ac_cv_path_GMSGFMT+set}" = set; then
11809 echo $ECHO_N "(cached) $ECHO_C" >&6
11813 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11817 for as_dir
in $PATH
11820 test -z "$as_dir" && as_dir
=.
11821 for ac_exec_ext
in '' $ac_executable_extensions; do
11822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11823 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11830 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11834 GMSGFMT
=$ac_cv_path_GMSGFMT
11836 if test -n "$GMSGFMT"; then
11837 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
11838 echo "${ECHO_T}$GMSGFMT" >&6
11840 echo "$as_me:$LINENO: result: no" >&5
11841 echo "${ECHO_T}no" >&6
11846 # Prepare PATH_SEPARATOR.
11847 # The user is always right.
11848 if test "${PATH_SEPARATOR+set}" != set; then
11849 echo "#! /bin/sh" >conf$$.sh
11850 echo "exit 0" >>conf$$.sh
11852 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11860 # Find out how to test for executable files. Don't use a zero-byte file,
11861 # as systems may use methods other than mode bits to determine executability.
11862 cat >conf$$.
file <<_ASEOF
11866 chmod +x conf$$.
file
11867 if test -x conf$$.
file >/dev
/null
2>&1; then
11868 ac_executable_p
="test -x"
11870 ac_executable_p
="test -f"
11874 # Extract the first word of "xgettext", so it can be a program name with args.
11875 set dummy xgettext
; ac_word
=$2
11876 echo "$as_me:$LINENO: checking for $ac_word" >&5
11877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11878 if test "${ac_cv_path_XGETTEXT+set}" = set; then
11879 echo $ECHO_N "(cached) $ECHO_C" >&6
11881 case "$XGETTEXT" in
11883 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11886 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11887 for ac_dir
in $PATH; do
11889 test -z "$ac_dir" && ac_dir
=.
11890 for ac_exec_ext
in '' $ac_executable_extensions; do
11891 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11892 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11893 (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
11894 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
11901 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11905 XGETTEXT
="$ac_cv_path_XGETTEXT"
11906 if test "$XGETTEXT" != ":"; then
11907 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
11908 echo "${ECHO_T}$XGETTEXT" >&6
11910 echo "$as_me:$LINENO: result: no" >&5
11911 echo "${ECHO_T}no" >&6
11917 # Prepare PATH_SEPARATOR.
11918 # The user is always right.
11919 if test "${PATH_SEPARATOR+set}" != set; then
11920 echo "#! /bin/sh" >conf$$.sh
11921 echo "exit 0" >>conf$$.sh
11923 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11931 # Find out how to test for executable files. Don't use a zero-byte file,
11932 # as systems may use methods other than mode bits to determine executability.
11933 cat >conf$$.
file <<_ASEOF
11937 chmod +x conf$$.
file
11938 if test -x conf$$.
file >/dev
/null
2>&1; then
11939 ac_executable_p
="test -x"
11941 ac_executable_p
="test -f"
11945 # Extract the first word of "msgmerge", so it can be a program name with args.
11946 set dummy msgmerge
; ac_word
=$2
11947 echo "$as_me:$LINENO: checking for $ac_word" >&5
11948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11949 if test "${ac_cv_path_MSGMERGE+set}" = set; then
11950 echo $ECHO_N "(cached) $ECHO_C" >&6
11952 case "$MSGMERGE" in
11954 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11957 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11958 for ac_dir
in $PATH; do
11960 test -z "$ac_dir" && ac_dir
=.
11961 for ac_exec_ext
in '' $ac_executable_extensions; do
11962 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11963 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11964 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
11971 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11975 MSGMERGE
="$ac_cv_path_MSGMERGE"
11976 if test "$MSGMERGE" != ":"; then
11977 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
11978 echo "${ECHO_T}$MSGMERGE" >&6
11980 echo "$as_me:$LINENO: result: no" >&5
11981 echo "${ECHO_T}no" >&6
11985 if test "$GMSGFMT" != ":"; then
11986 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11987 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11990 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11991 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11992 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
11997 if test "$XGETTEXT" != ":"; then
11998 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11999 (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
12002 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
12003 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
12009 ac_config_commands
="$ac_config_commands default-1"
12013 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
12014 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
12015 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
12016 if test "${enable_maintainer_mode+set}" = set; then
12017 enableval
="$enable_maintainer_mode"
12018 USE_MAINTAINER_MODE
=$enableval
12020 USE_MAINTAINER_MODE
=no
12022 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
12023 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
12026 if test $USE_MAINTAINER_MODE = yes; then
12027 MAINTAINER_MODE_TRUE
=
12028 MAINTAINER_MODE_FALSE
='#'
12030 MAINTAINER_MODE_TRUE
='#'
12031 MAINTAINER_MODE_FALSE
=
12034 MAINT
=$MAINTAINER_MODE_TRUE
12040 GENINSRC_NEVER_TRUE
=
12041 GENINSRC_NEVER_FALSE
='#'
12043 GENINSRC_NEVER_TRUE
='#'
12044 GENINSRC_NEVER_FALSE
=
12059 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
12061 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12063 echo "$as_me:$LINENO: checking for $ac_header" >&5
12064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12066 echo $ECHO_N "(cached) $ECHO_C" >&6
12068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12071 # Is the header compilable?
12072 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12073 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12074 cat >conftest.
$ac_ext <<_ACEOF
12077 cat confdefs.h
>>conftest.
$ac_ext
12078 cat >>conftest.
$ac_ext <<_ACEOF
12079 /* end confdefs.h. */
12080 $ac_includes_default
12081 #include <$ac_header>
12083 rm -f conftest.
$ac_objext
12084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12085 (eval $ac_compile) 2>conftest.er1
12087 grep -v '^ *+' conftest.er1
>conftest.err
12089 cat conftest.err
>&5
12090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091 (exit $ac_status); } &&
12092 { ac_try
='test -z "$ac_c_werror_flag"
12093 || test ! -s conftest.err'
12094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12095 (eval $ac_try) 2>&5
12097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12098 (exit $ac_status); }; } &&
12099 { ac_try
='test -s conftest.$ac_objext'
12100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12101 (eval $ac_try) 2>&5
12103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12104 (exit $ac_status); }; }; then
12105 ac_header_compiler
=yes
12107 echo "$as_me: failed program was:" >&5
12108 sed 's/^/| /' conftest.
$ac_ext >&5
12110 ac_header_compiler
=no
12112 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12113 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12114 echo "${ECHO_T}$ac_header_compiler" >&6
12116 # Is the header present?
12117 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12118 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12119 cat >conftest.
$ac_ext <<_ACEOF
12122 cat confdefs.h
>>conftest.
$ac_ext
12123 cat >>conftest.
$ac_ext <<_ACEOF
12124 /* end confdefs.h. */
12125 #include <$ac_header>
12127 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12128 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12130 grep -v '^ *+' conftest.er1
>conftest.err
12132 cat conftest.err
>&5
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); } >/dev
/null
; then
12135 if test -s conftest.err
; then
12136 ac_cpp_err
=$ac_c_preproc_warn_flag
12137 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12144 if test -z "$ac_cpp_err"; then
12145 ac_header_preproc
=yes
12147 echo "$as_me: failed program was:" >&5
12148 sed 's/^/| /' conftest.
$ac_ext >&5
12150 ac_header_preproc
=no
12152 rm -f conftest.err conftest.
$ac_ext
12153 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12154 echo "${ECHO_T}$ac_header_preproc" >&6
12156 # So? What about this header?
12157 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12159 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12160 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12162 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12163 ac_header_preproc
=yes
12166 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12167 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12168 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12169 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12170 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12171 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12172 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12173 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12175 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12176 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12177 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12180 ## ------------------------------------------ ##
12181 ## Report this to the AC_PACKAGE_NAME lists. ##
12182 ## ------------------------------------------ ##
12185 sed "s/^/$as_me: WARNING: /" >&2
12188 echo "$as_me:$LINENO: checking for $ac_header" >&5
12189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12191 echo $ECHO_N "(cached) $ECHO_C" >&6
12193 eval "$as_ac_Header=\$ac_header_preproc"
12195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12196 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12200 cat >>confdefs.h
<<_ACEOF
12201 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12209 # Put this here so that autoconf's "cross-compiling" message doesn't confuse
12210 # people who are not cross-compiling but are compiling cross-assemblers.
12211 echo "$as_me:$LINENO: checking whether compiling a cross-assembler" >&5
12212 echo $ECHO_N "checking whether compiling a cross-assembler... $ECHO_C" >&6
12213 if test "${host}" = "${target}"; then
12218 cat >>confdefs.h
<<\_ACEOF
12219 #define CROSS_COMPILE 1
12223 echo "$as_me:$LINENO: result: $cross_gas" >&5
12224 echo "${ECHO_T}$cross_gas" >&6
12226 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12227 # for constant arguments. Useless!
12228 echo "$as_me:$LINENO: checking for working alloca.h" >&5
12229 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
12230 if test "${ac_cv_working_alloca_h+set}" = set; then
12231 echo $ECHO_N "(cached) $ECHO_C" >&6
12233 cat >conftest.
$ac_ext <<_ACEOF
12236 cat confdefs.h
>>conftest.
$ac_ext
12237 cat >>conftest.
$ac_ext <<_ACEOF
12238 /* end confdefs.h. */
12239 #include <alloca.h>
12243 char *p = (char *) alloca (2 * sizeof (int));
12248 rm -f conftest.
$ac_objext conftest
$ac_exeext
12249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12250 (eval $ac_link) 2>conftest.er1
12252 grep -v '^ *+' conftest.er1
>conftest.err
12254 cat conftest.err
>&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); } &&
12257 { ac_try
='test -z "$ac_c_werror_flag"
12258 || test ! -s conftest.err'
12259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12260 (eval $ac_try) 2>&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); }; } &&
12264 { ac_try
='test -s conftest$ac_exeext'
12265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12266 (eval $ac_try) 2>&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; }; then
12270 ac_cv_working_alloca_h
=yes
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.
$ac_ext >&5
12275 ac_cv_working_alloca_h
=no
12277 rm -f conftest.err conftest.
$ac_objext \
12278 conftest
$ac_exeext conftest.
$ac_ext
12280 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
12281 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
12282 if test $ac_cv_working_alloca_h = yes; then
12284 cat >>confdefs.h
<<\_ACEOF
12285 #define HAVE_ALLOCA_H 1
12290 echo "$as_me:$LINENO: checking for alloca" >&5
12291 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
12292 if test "${ac_cv_func_alloca_works+set}" = set; then
12293 echo $ECHO_N "(cached) $ECHO_C" >&6
12295 cat >conftest.
$ac_ext <<_ACEOF
12298 cat confdefs.h
>>conftest.
$ac_ext
12299 cat >>conftest.
$ac_ext <<_ACEOF
12300 /* end confdefs.h. */
12302 # define alloca __builtin_alloca
12305 # include <malloc.h>
12306 # define alloca _alloca
12309 # include <alloca.h>
12314 # ifndef alloca /* predefined by HP cc +Olibcalls */
12325 char *p = (char *) alloca (1);
12330 rm -f conftest.
$ac_objext conftest
$ac_exeext
12331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12332 (eval $ac_link) 2>conftest.er1
12334 grep -v '^ *+' conftest.er1
>conftest.err
12336 cat conftest.err
>&5
12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); } &&
12339 { ac_try
='test -z "$ac_c_werror_flag"
12340 || test ! -s conftest.err'
12341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12342 (eval $ac_try) 2>&5
12344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12345 (exit $ac_status); }; } &&
12346 { ac_try
='test -s conftest$ac_exeext'
12347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12348 (eval $ac_try) 2>&5
12350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12351 (exit $ac_status); }; }; then
12352 ac_cv_func_alloca_works
=yes
12354 echo "$as_me: failed program was:" >&5
12355 sed 's/^/| /' conftest.
$ac_ext >&5
12357 ac_cv_func_alloca_works
=no
12359 rm -f conftest.err conftest.
$ac_objext \
12360 conftest
$ac_exeext conftest.
$ac_ext
12362 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
12363 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
12365 if test $ac_cv_func_alloca_works = yes; then
12367 cat >>confdefs.h
<<\_ACEOF
12368 #define HAVE_ALLOCA 1
12372 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12373 # that cause trouble. Some versions do not even contain alloca or
12374 # contain a buggy version. If you still want to use their alloca,
12375 # use ar to extract alloca.o from them instead of compiling alloca.c.
12377 ALLOCA
=alloca.
$ac_objext
12379 cat >>confdefs.h
<<\_ACEOF
12384 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
12385 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
12386 if test "${ac_cv_os_cray+set}" = set; then
12387 echo $ECHO_N "(cached) $ECHO_C" >&6
12389 cat >conftest.
$ac_ext <<_ACEOF
12392 cat confdefs.h
>>conftest.
$ac_ext
12393 cat >>conftest.
$ac_ext <<_ACEOF
12394 /* end confdefs.h. */
12395 #if defined(CRAY) && ! defined(CRAY2)
12402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12403 $EGREP "webecray" >/dev
/null
2>&1; then
12411 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
12412 echo "${ECHO_T}$ac_cv_os_cray" >&6
12413 if test $ac_cv_os_cray = yes; then
12414 for ac_func
in _getb67 GETB67 getb67
; do
12415 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12416 echo "$as_me:$LINENO: checking for $ac_func" >&5
12417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12418 if eval "test \"\${$as_ac_var+set}\" = set"; then
12419 echo $ECHO_N "(cached) $ECHO_C" >&6
12421 cat >conftest.
$ac_ext <<_ACEOF
12424 cat confdefs.h
>>conftest.
$ac_ext
12425 cat >>conftest.
$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12429 #define $ac_func innocuous_$ac_func
12431 /* System header to define __stub macros and hopefully few prototypes,
12432 which can conflict with char $ac_func (); below.
12433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12434 <limits.h> exists even on freestanding compilers. */
12437 # include <limits.h>
12439 # include <assert.h>
12444 /* Override any gcc2 internal prototype to avoid an error. */
12449 /* We use char because int might match the return type of a gcc2
12450 builtin and then its argument prototype would still apply. */
12452 /* The GNU C library defines this for functions which it implements
12453 to always fail with ENOSYS. Some functions are actually named
12454 something starting with __ and the normal name is an alias. */
12455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12458 char (*f) () = $ac_func;
12467 return f != $ac_func;
12472 rm -f conftest.
$ac_objext conftest
$ac_exeext
12473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12474 (eval $ac_link) 2>conftest.er1
12476 grep -v '^ *+' conftest.er1
>conftest.err
12478 cat conftest.err
>&5
12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480 (exit $ac_status); } &&
12481 { ac_try
='test -z "$ac_c_werror_flag"
12482 || test ! -s conftest.err'
12483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12484 (eval $ac_try) 2>&5
12486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12487 (exit $ac_status); }; } &&
12488 { ac_try
='test -s conftest$ac_exeext'
12489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12490 (eval $ac_try) 2>&5
12492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493 (exit $ac_status); }; }; then
12494 eval "$as_ac_var=yes"
12496 echo "$as_me: failed program was:" >&5
12497 sed 's/^/| /' conftest.
$ac_ext >&5
12499 eval "$as_ac_var=no"
12501 rm -f conftest.err conftest.
$ac_objext \
12502 conftest
$ac_exeext conftest.
$ac_ext
12504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12506 if test `eval echo '${'$as_ac_var'}'` = yes; then
12508 cat >>confdefs.h
<<_ACEOF
12509 #define CRAY_STACKSEG_END $ac_func
12518 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
12519 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
12520 if test "${ac_cv_c_stack_direction+set}" = set; then
12521 echo $ECHO_N "(cached) $ECHO_C" >&6
12523 if test "$cross_compiling" = yes; then
12524 ac_cv_c_stack_direction
=0
12526 cat >conftest.
$ac_ext <<_ACEOF
12529 cat confdefs.h
>>conftest.
$ac_ext
12530 cat >>conftest.
$ac_ext <<_ACEOF
12531 /* end confdefs.h. */
12533 find_stack_direction ()
12535 static char *addr = 0;
12540 return find_stack_direction ();
12543 return (&dummy > addr) ? 1 : -1;
12549 exit (find_stack_direction () < 0);
12552 rm -f conftest
$ac_exeext
12553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12554 (eval $ac_link) 2>&5
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12559 (eval $ac_try) 2>&5
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); }; }; then
12563 ac_cv_c_stack_direction
=1
12565 echo "$as_me: program exited with status $ac_status" >&5
12566 echo "$as_me: failed program was:" >&5
12567 sed 's/^/| /' conftest.
$ac_ext >&5
12569 ( exit $ac_status )
12570 ac_cv_c_stack_direction
=-1
12572 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12575 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
12576 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
12578 cat >>confdefs.h
<<_ACEOF
12579 #define STACK_DIRECTION $ac_cv_c_stack_direction
12585 echo "$as_me:$LINENO: checking for inline" >&5
12586 echo $ECHO_N "checking for inline... $ECHO_C" >&6
12587 if test "${ac_cv_c_inline+set}" = set; then
12588 echo $ECHO_N "(cached) $ECHO_C" >&6
12591 for ac_kw
in inline __inline__ __inline
; do
12592 cat >conftest.
$ac_ext <<_ACEOF
12595 cat confdefs.h
>>conftest.
$ac_ext
12596 cat >>conftest.
$ac_ext <<_ACEOF
12597 /* end confdefs.h. */
12598 #ifndef __cplusplus
12600 static $ac_kw foo_t static_foo () {return 0; }
12601 $ac_kw foo_t foo () {return 0; }
12605 rm -f conftest.
$ac_objext
12606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12607 (eval $ac_compile) 2>conftest.er1
12609 grep -v '^ *+' conftest.er1
>conftest.err
12611 cat conftest.err
>&5
12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613 (exit $ac_status); } &&
12614 { ac_try
='test -z "$ac_c_werror_flag"
12615 || test ! -s conftest.err'
12616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12617 (eval $ac_try) 2>&5
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); }; } &&
12621 { ac_try
='test -s conftest.$ac_objext'
12622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12623 (eval $ac_try) 2>&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); }; }; then
12627 ac_cv_c_inline
=$ac_kw; break
12629 echo "$as_me: failed program was:" >&5
12630 sed 's/^/| /' conftest.
$ac_ext >&5
12633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12637 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
12638 echo "${ECHO_T}$ac_cv_c_inline" >&6
12641 case $ac_cv_c_inline in
12644 case $ac_cv_c_inline in
12646 *) ac_val
=$ac_cv_c_inline;;
12648 cat >>confdefs.h
<<_ACEOF
12649 #ifndef __cplusplus
12650 #define inline $ac_val
12657 # VMS doesn't have unlink.
12660 for ac_func
in unlink remove
12662 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12663 echo "$as_me:$LINENO: checking for $ac_func" >&5
12664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12665 if eval "test \"\${$as_ac_var+set}\" = set"; then
12666 echo $ECHO_N "(cached) $ECHO_C" >&6
12668 cat >conftest.
$ac_ext <<_ACEOF
12671 cat confdefs.h
>>conftest.
$ac_ext
12672 cat >>conftest.
$ac_ext <<_ACEOF
12673 /* end confdefs.h. */
12674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12676 #define $ac_func innocuous_$ac_func
12678 /* System header to define __stub macros and hopefully few prototypes,
12679 which can conflict with char $ac_func (); below.
12680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12681 <limits.h> exists even on freestanding compilers. */
12684 # include <limits.h>
12686 # include <assert.h>
12691 /* Override any gcc2 internal prototype to avoid an error. */
12696 /* We use char because int might match the return type of a gcc2
12697 builtin and then its argument prototype would still apply. */
12699 /* The GNU C library defines this for functions which it implements
12700 to always fail with ENOSYS. Some functions are actually named
12701 something starting with __ and the normal name is an alias. */
12702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12705 char (*f) () = $ac_func;
12714 return f != $ac_func;
12719 rm -f conftest.
$ac_objext conftest
$ac_exeext
12720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12721 (eval $ac_link) 2>conftest.er1
12723 grep -v '^ *+' conftest.er1
>conftest.err
12725 cat conftest.err
>&5
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); } &&
12728 { ac_try
='test -z "$ac_c_werror_flag"
12729 || test ! -s conftest.err'
12730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12731 (eval $ac_try) 2>&5
12733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12734 (exit $ac_status); }; } &&
12735 { ac_try
='test -s conftest$ac_exeext'
12736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12737 (eval $ac_try) 2>&5
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); }; }; then
12741 eval "$as_ac_var=yes"
12743 echo "$as_me: failed program was:" >&5
12744 sed 's/^/| /' conftest.
$ac_ext >&5
12746 eval "$as_ac_var=no"
12748 rm -f conftest.err conftest.
$ac_objext \
12749 conftest
$ac_exeext conftest.
$ac_ext
12751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12753 if test `eval echo '${'$as_ac_var'}'` = yes; then
12754 cat >>confdefs.h
<<_ACEOF
12755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12762 # Some systems don't have sbrk().
12764 for ac_func
in sbrk
12766 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12767 echo "$as_me:$LINENO: checking for $ac_func" >&5
12768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12769 if eval "test \"\${$as_ac_var+set}\" = set"; then
12770 echo $ECHO_N "(cached) $ECHO_C" >&6
12772 cat >conftest.
$ac_ext <<_ACEOF
12775 cat confdefs.h
>>conftest.
$ac_ext
12776 cat >>conftest.
$ac_ext <<_ACEOF
12777 /* end confdefs.h. */
12778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12780 #define $ac_func innocuous_$ac_func
12782 /* System header to define __stub macros and hopefully few prototypes,
12783 which can conflict with char $ac_func (); below.
12784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12785 <limits.h> exists even on freestanding compilers. */
12788 # include <limits.h>
12790 # include <assert.h>
12795 /* Override any gcc2 internal prototype to avoid an error. */
12800 /* We use char because int might match the return type of a gcc2
12801 builtin and then its argument prototype would still apply. */
12803 /* The GNU C library defines this for functions which it implements
12804 to always fail with ENOSYS. Some functions are actually named
12805 something starting with __ and the normal name is an alias. */
12806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12809 char (*f) () = $ac_func;
12818 return f != $ac_func;
12823 rm -f conftest.
$ac_objext conftest
$ac_exeext
12824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12825 (eval $ac_link) 2>conftest.er1
12827 grep -v '^ *+' conftest.er1
>conftest.err
12829 cat conftest.err
>&5
12830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 (exit $ac_status); } &&
12832 { ac_try
='test -z "$ac_c_werror_flag"
12833 || test ! -s conftest.err'
12834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12835 (eval $ac_try) 2>&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); }; } &&
12839 { ac_try
='test -s conftest$ac_exeext'
12840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12841 (eval $ac_try) 2>&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); }; }; then
12845 eval "$as_ac_var=yes"
12847 echo "$as_me: failed program was:" >&5
12848 sed 's/^/| /' conftest.
$ac_ext >&5
12850 eval "$as_ac_var=no"
12852 rm -f conftest.err conftest.
$ac_objext \
12853 conftest
$ac_exeext conftest.
$ac_ext
12855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12857 if test `eval echo '${'$as_ac_var'}'` = yes; then
12858 cat >>confdefs.h
<<_ACEOF
12859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12866 # do we need the math library?
12867 case "${need_libm}" in
12871 *-*-beos* |
*-*-cygwin* |
*-*-pw32* |
*-*-darwin*)
12872 # These system don't have libm, or don't need it
12875 echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5
12876 echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6
12877 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then
12878 echo $ECHO_N "(cached) $ECHO_C" >&6
12880 ac_check_lib_save_LIBS
=$LIBS
12882 cat >conftest.
$ac_ext <<_ACEOF
12885 cat confdefs.h
>>conftest.
$ac_ext
12886 cat >>conftest.
$ac_ext <<_ACEOF
12887 /* end confdefs.h. */
12889 /* Override any gcc2 internal prototype to avoid an error. */
12893 /* We use char because int might match the return type of a gcc2
12894 builtin and then its argument prototype would still apply. */
12895 char _mwvalidcheckl ();
12904 rm -f conftest.
$ac_objext conftest
$ac_exeext
12905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12906 (eval $ac_link) 2>conftest.er1
12908 grep -v '^ *+' conftest.er1
>conftest.err
12910 cat conftest.err
>&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); } &&
12913 { ac_try
='test -z "$ac_c_werror_flag"
12914 || test ! -s conftest.err'
12915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12916 (eval $ac_try) 2>&5
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); }; } &&
12920 { ac_try
='test -s conftest$ac_exeext'
12921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12922 (eval $ac_try) 2>&5
12924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925 (exit $ac_status); }; }; then
12926 ac_cv_lib_mw__mwvalidcheckl
=yes
12928 echo "$as_me: failed program was:" >&5
12929 sed 's/^/| /' conftest.
$ac_ext >&5
12931 ac_cv_lib_mw__mwvalidcheckl
=no
12933 rm -f conftest.err conftest.
$ac_objext \
12934 conftest
$ac_exeext conftest.
$ac_ext
12935 LIBS
=$ac_check_lib_save_LIBS
12937 echo "$as_me:$LINENO: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
12938 echo "${ECHO_T}$ac_cv_lib_mw__mwvalidcheckl" >&6
12939 if test $ac_cv_lib_mw__mwvalidcheckl = yes; then
12943 echo "$as_me:$LINENO: checking for cos in -lm" >&5
12944 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
12945 if test "${ac_cv_lib_m_cos+set}" = set; then
12946 echo $ECHO_N "(cached) $ECHO_C" >&6
12948 ac_check_lib_save_LIBS
=$LIBS
12950 cat >conftest.
$ac_ext <<_ACEOF
12953 cat confdefs.h
>>conftest.
$ac_ext
12954 cat >>conftest.
$ac_ext <<_ACEOF
12955 /* end confdefs.h. */
12957 /* Override any gcc2 internal prototype to avoid an error. */
12961 /* We use char because int might match the return type of a gcc2
12962 builtin and then its argument prototype would still apply. */
12972 rm -f conftest.
$ac_objext conftest
$ac_exeext
12973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12974 (eval $ac_link) 2>conftest.er1
12976 grep -v '^ *+' conftest.er1
>conftest.err
12978 cat conftest.err
>&5
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); } &&
12981 { ac_try
='test -z "$ac_c_werror_flag"
12982 || test ! -s conftest.err'
12983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12984 (eval $ac_try) 2>&5
12986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987 (exit $ac_status); }; } &&
12988 { ac_try
='test -s conftest$ac_exeext'
12989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12990 (eval $ac_try) 2>&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); }; }; then
12994 ac_cv_lib_m_cos
=yes
12996 echo "$as_me: failed program was:" >&5
12997 sed 's/^/| /' conftest.
$ac_ext >&5
13001 rm -f conftest.err conftest.
$ac_objext \
13002 conftest
$ac_exeext conftest.
$ac_ext
13003 LIBS
=$ac_check_lib_save_LIBS
13005 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
13006 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
13007 if test $ac_cv_lib_m_cos = yes; then
13013 echo "$as_me:$LINENO: checking for cos in -lm" >&5
13014 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
13015 if test "${ac_cv_lib_m_cos+set}" = set; then
13016 echo $ECHO_N "(cached) $ECHO_C" >&6
13018 ac_check_lib_save_LIBS
=$LIBS
13020 cat >conftest.
$ac_ext <<_ACEOF
13023 cat confdefs.h
>>conftest.
$ac_ext
13024 cat >>conftest.
$ac_ext <<_ACEOF
13025 /* end confdefs.h. */
13027 /* Override any gcc2 internal prototype to avoid an error. */
13031 /* We use char because int might match the return type of a gcc2
13032 builtin and then its argument prototype would still apply. */
13042 rm -f conftest.
$ac_objext conftest
$ac_exeext
13043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13044 (eval $ac_link) 2>conftest.er1
13046 grep -v '^ *+' conftest.er1
>conftest.err
13048 cat conftest.err
>&5
13049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13050 (exit $ac_status); } &&
13051 { ac_try
='test -z "$ac_c_werror_flag"
13052 || test ! -s conftest.err'
13053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13054 (eval $ac_try) 2>&5
13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 (exit $ac_status); }; } &&
13058 { ac_try
='test -s conftest$ac_exeext'
13059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13060 (eval $ac_try) 2>&5
13062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13063 (exit $ac_status); }; }; then
13064 ac_cv_lib_m_cos
=yes
13066 echo "$as_me: failed program was:" >&5
13067 sed 's/^/| /' conftest.
$ac_ext >&5
13071 rm -f conftest.err conftest.
$ac_objext \
13072 conftest
$ac_exeext conftest.
$ac_ext
13073 LIBS
=$ac_check_lib_save_LIBS
13075 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
13076 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
13077 if test $ac_cv_lib_m_cos = yes; then
13089 # Some non-ANSI preprocessors botch requoting inside strings. That's bad
13090 # enough, but on some of those systems, the assert macro relies on requoting
13091 # working properly!
13092 echo "$as_me:$LINENO: checking for working assert macro" >&5
13093 echo $ECHO_N "checking for working assert macro... $ECHO_C" >&6
13094 if test "${gas_cv_assert_ok+set}" = set; then
13095 echo $ECHO_N "(cached) $ECHO_C" >&6
13097 cat >conftest.
$ac_ext <<_ACEOF
13100 cat confdefs.h
>>conftest.
$ac_ext
13101 cat >>conftest.
$ac_ext <<_ACEOF
13102 /* end confdefs.h. */
13103 #include <assert.h>
13109 /* check for requoting problems */
13110 static int a, b, c, d;
13112 assert (!strcmp(s, "foo bar baz quux"));
13113 /* check for newline handling */
13121 rm -f conftest.
$ac_objext conftest
$ac_exeext
13122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13123 (eval $ac_link) 2>conftest.er1
13125 grep -v '^ *+' conftest.er1
>conftest.err
13127 cat conftest.err
>&5
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); } &&
13130 { ac_try
='test -z "$ac_c_werror_flag"
13131 || test ! -s conftest.err'
13132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13133 (eval $ac_try) 2>&5
13135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13136 (exit $ac_status); }; } &&
13137 { ac_try
='test -s conftest$ac_exeext'
13138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13139 (eval $ac_try) 2>&5
13141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); }; }; then
13143 gas_cv_assert_ok
=yes
13145 echo "$as_me: failed program was:" >&5
13146 sed 's/^/| /' conftest.
$ac_ext >&5
13148 gas_cv_assert_ok
=no
13150 rm -f conftest.err conftest.
$ac_objext \
13151 conftest
$ac_exeext conftest.
$ac_ext
13153 echo "$as_me:$LINENO: result: $gas_cv_assert_ok" >&5
13154 echo "${ECHO_T}$gas_cv_assert_ok" >&6
13155 test $gas_cv_assert_ok = yes ||
13156 cat >>confdefs.h
<<\_ACEOF
13157 #define BROKEN_ASSERT 1
13162 # On some systems, the system header files may not declare malloc, realloc,
13163 # and free. There are places where gas needs these functions to have been
13164 # declared -- such as when taking their addresses.
13166 #ifdef HAVE_MEMORY_H
13167 #include <memory.h>
13169 #ifdef HAVE_STRING_H
13170 #include <string.h>
13172 #ifdef HAVE_STRINGS_H
13173 #include <strings.h>
13176 #ifdef HAVE_STDLIB_H
13177 #include <stdlib.h>
13179 #ifdef HAVE_UNISTD_H
13180 #include <unistd.h>
13184 # Does errno.h declare errno, or do we have to add a separate declaration
13187 echo "$as_me:$LINENO: checking whether declaration is required for errno" >&5
13188 echo $ECHO_N "checking whether declaration is required for errno... $ECHO_C" >&6
13189 if test "${gas_cv_decl_needed_errno+set}" = set; then
13190 echo $ECHO_N "(cached) $ECHO_C" >&6
13192 cat >conftest.
$ac_ext <<_ACEOF
13195 cat confdefs.h
>>conftest.
$ac_ext
13196 cat >>conftest.
$ac_ext <<_ACEOF
13197 /* end confdefs.h. */
13199 #ifdef HAVE_ERRNO_H
13215 rm -f conftest.
$ac_objext conftest
$ac_exeext
13216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13217 (eval $ac_link) 2>conftest.er1
13219 grep -v '^ *+' conftest.er1
>conftest.err
13221 cat conftest.err
>&5
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); } &&
13224 { ac_try
='test -z "$ac_c_werror_flag"
13225 || test ! -s conftest.err'
13226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13227 (eval $ac_try) 2>&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); }; } &&
13231 { ac_try
='test -s conftest$ac_exeext'
13232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13233 (eval $ac_try) 2>&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; }; then
13237 gas_cv_decl_needed_errno
=no
13239 echo "$as_me: failed program was:" >&5
13240 sed 's/^/| /' conftest.
$ac_ext >&5
13242 gas_cv_decl_needed_errno
=yes
13244 rm -f conftest.err conftest.
$ac_objext \
13245 conftest
$ac_exeext conftest.
$ac_ext
13247 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_errno" >&5
13248 echo "${ECHO_T}$gas_cv_decl_needed_errno" >&6
13249 if test $gas_cv_decl_needed_errno = yes; then
13251 cat >>confdefs.h
<<\_ACEOF
13252 #define NEED_DECLARATION_ERRNO 1
13258 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
13259 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
13260 if test "${gas_cv_decl_getopt_unistd_h+set}" = set; then
13261 echo $ECHO_N "(cached) $ECHO_C" >&6
13263 cat >conftest.
$ac_ext <<_ACEOF
13266 cat confdefs.h
>>conftest.
$ac_ext
13267 cat >>conftest.
$ac_ext <<_ACEOF
13268 /* end confdefs.h. */
13269 #include <unistd.h>
13273 extern int getopt (int, char *const*, const char *);
13278 rm -f conftest.
$ac_objext
13279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13280 (eval $ac_compile) 2>conftest.er1
13282 grep -v '^ *+' conftest.er1
>conftest.err
13284 cat conftest.err
>&5
13285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 (exit $ac_status); } &&
13287 { ac_try
='test -z "$ac_c_werror_flag"
13288 || test ! -s conftest.err'
13289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13290 (eval $ac_try) 2>&5
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); }; } &&
13294 { ac_try
='test -s conftest.$ac_objext'
13295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13296 (eval $ac_try) 2>&5
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); }; }; then
13300 gas_cv_decl_getopt_unistd_h
=yes
13302 echo "$as_me: failed program was:" >&5
13303 sed 's/^/| /' conftest.
$ac_ext >&5
13305 gas_cv_decl_getopt_unistd_h
=no
13307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13310 echo "$as_me:$LINENO: result: $gas_cv_decl_getopt_unistd_h" >&5
13311 echo "${ECHO_T}$gas_cv_decl_getopt_unistd_h" >&6
13312 if test $gas_cv_decl_getopt_unistd_h = yes; then
13314 cat >>confdefs.h
<<\_ACEOF
13315 #define HAVE_DECL_GETOPT 1
13321 echo "$as_me:$LINENO: checking whether declaration is required for environ" >&5
13322 echo $ECHO_N "checking whether declaration is required for environ... $ECHO_C" >&6
13323 if test "${gas_cv_decl_needed_environ+set}" = set; then
13324 echo $ECHO_N "(cached) $ECHO_C" >&6
13326 cat >conftest.
$ac_ext <<_ACEOF
13329 cat confdefs.h
>>conftest.
$ac_ext
13330 cat >>conftest.
$ac_ext <<_ACEOF
13331 /* end confdefs.h. */
13345 rm -f conftest.
$ac_objext conftest
$ac_exeext
13346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13347 (eval $ac_link) 2>conftest.er1
13349 grep -v '^ *+' conftest.er1
>conftest.err
13351 cat conftest.err
>&5
13352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13353 (exit $ac_status); } &&
13354 { ac_try
='test -z "$ac_c_werror_flag"
13355 || test ! -s conftest.err'
13356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13357 (eval $ac_try) 2>&5
13359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13360 (exit $ac_status); }; } &&
13361 { ac_try
='test -s conftest$ac_exeext'
13362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13363 (eval $ac_try) 2>&5
13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); }; }; then
13367 gas_cv_decl_needed_environ
=no
13369 echo "$as_me: failed program was:" >&5
13370 sed 's/^/| /' conftest.
$ac_ext >&5
13372 gas_cv_decl_needed_environ
=yes
13374 rm -f conftest.err conftest.
$ac_objext \
13375 conftest
$ac_exeext conftest.
$ac_ext
13377 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_environ" >&5
13378 echo "${ECHO_T}$gas_cv_decl_needed_environ" >&6
13379 if test $gas_cv_decl_needed_environ = yes; then
13381 cat >>confdefs.h
<<\_ACEOF
13382 #define NEED_DECLARATION_ENVIRON 1
13388 echo "$as_me:$LINENO: checking whether declaration is required for ffs" >&5
13389 echo $ECHO_N "checking whether declaration is required for ffs... $ECHO_C" >&6
13390 if test "${gas_cv_decl_needed_ffs+set}" = set; then
13391 echo $ECHO_N "(cached) $ECHO_C" >&6
13393 cat >conftest.
$ac_ext <<_ACEOF
13396 cat confdefs.h
>>conftest.
$ac_ext
13397 cat >>conftest.
$ac_ext <<_ACEOF
13398 /* end confdefs.h. */
13404 typedef int (*f)(int);
13412 rm -f conftest.
$ac_objext conftest
$ac_exeext
13413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13414 (eval $ac_link) 2>conftest.er1
13416 grep -v '^ *+' conftest.er1
>conftest.err
13418 cat conftest.err
>&5
13419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420 (exit $ac_status); } &&
13421 { ac_try
='test -z "$ac_c_werror_flag"
13422 || test ! -s conftest.err'
13423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13424 (eval $ac_try) 2>&5
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); }; } &&
13428 { ac_try
='test -s conftest$ac_exeext'
13429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430 (eval $ac_try) 2>&5
13432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13433 (exit $ac_status); }; }; then
13434 gas_cv_decl_needed_ffs
=no
13436 echo "$as_me: failed program was:" >&5
13437 sed 's/^/| /' conftest.
$ac_ext >&5
13439 gas_cv_decl_needed_ffs
=yes
13441 rm -f conftest.err conftest.
$ac_objext \
13442 conftest
$ac_exeext conftest.
$ac_ext
13444 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_ffs" >&5
13445 echo "${ECHO_T}$gas_cv_decl_needed_ffs" >&6
13446 if test $gas_cv_decl_needed_ffs = yes; then
13448 cat >>confdefs.h
<<\_ACEOF
13449 #define NEED_DECLARATION_FFS 1
13455 echo "$as_me:$LINENO: checking whether declaration is required for free" >&5
13456 echo $ECHO_N "checking whether declaration is required for free... $ECHO_C" >&6
13457 if test "${gas_cv_decl_needed_free+set}" = set; then
13458 echo $ECHO_N "(cached) $ECHO_C" >&6
13460 cat >conftest.
$ac_ext <<_ACEOF
13463 cat confdefs.h
>>conftest.
$ac_ext
13464 cat >>conftest.
$ac_ext <<_ACEOF
13465 /* end confdefs.h. */
13471 typedef void (*f)();
13479 rm -f conftest.
$ac_objext conftest
$ac_exeext
13480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13481 (eval $ac_link) 2>conftest.er1
13483 grep -v '^ *+' conftest.er1
>conftest.err
13485 cat conftest.err
>&5
13486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13487 (exit $ac_status); } &&
13488 { ac_try
='test -z "$ac_c_werror_flag"
13489 || test ! -s conftest.err'
13490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13491 (eval $ac_try) 2>&5
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); }; } &&
13495 { ac_try
='test -s conftest$ac_exeext'
13496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13497 (eval $ac_try) 2>&5
13499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13500 (exit $ac_status); }; }; then
13501 gas_cv_decl_needed_free
=no
13503 echo "$as_me: failed program was:" >&5
13504 sed 's/^/| /' conftest.
$ac_ext >&5
13506 gas_cv_decl_needed_free
=yes
13508 rm -f conftest.err conftest.
$ac_objext \
13509 conftest
$ac_exeext conftest.
$ac_ext
13511 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_free" >&5
13512 echo "${ECHO_T}$gas_cv_decl_needed_free" >&6
13513 if test $gas_cv_decl_needed_free = yes; then
13515 cat >>confdefs.h
<<\_ACEOF
13516 #define NEED_DECLARATION_FREE 1
13522 echo "$as_me:$LINENO: checking whether declaration is required for malloc" >&5
13523 echo $ECHO_N "checking whether declaration is required for malloc... $ECHO_C" >&6
13524 if test "${gas_cv_decl_needed_malloc+set}" = set; then
13525 echo $ECHO_N "(cached) $ECHO_C" >&6
13527 cat >conftest.
$ac_ext <<_ACEOF
13530 cat confdefs.h
>>conftest.
$ac_ext
13531 cat >>conftest.
$ac_ext <<_ACEOF
13532 /* end confdefs.h. */
13538 typedef char *(*f)();
13546 rm -f conftest.
$ac_objext conftest
$ac_exeext
13547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13548 (eval $ac_link) 2>conftest.er1
13550 grep -v '^ *+' conftest.er1
>conftest.err
13552 cat conftest.err
>&5
13553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13554 (exit $ac_status); } &&
13555 { ac_try
='test -z "$ac_c_werror_flag"
13556 || test ! -s conftest.err'
13557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13558 (eval $ac_try) 2>&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); }; } &&
13562 { ac_try
='test -s conftest$ac_exeext'
13563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13564 (eval $ac_try) 2>&5
13566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13567 (exit $ac_status); }; }; then
13568 gas_cv_decl_needed_malloc
=no
13570 echo "$as_me: failed program was:" >&5
13571 sed 's/^/| /' conftest.
$ac_ext >&5
13573 gas_cv_decl_needed_malloc
=yes
13575 rm -f conftest.err conftest.
$ac_objext \
13576 conftest
$ac_exeext conftest.
$ac_ext
13578 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_malloc" >&5
13579 echo "${ECHO_T}$gas_cv_decl_needed_malloc" >&6
13580 if test $gas_cv_decl_needed_malloc = yes; then
13582 cat >>confdefs.h
<<\_ACEOF
13583 #define NEED_DECLARATION_MALLOC 1
13589 echo "$as_me:$LINENO: checking whether declaration is required for sbrk" >&5
13590 echo $ECHO_N "checking whether declaration is required for sbrk... $ECHO_C" >&6
13591 if test "${gas_cv_decl_needed_sbrk+set}" = set; then
13592 echo $ECHO_N "(cached) $ECHO_C" >&6
13594 cat >conftest.
$ac_ext <<_ACEOF
13597 cat confdefs.h
>>conftest.
$ac_ext
13598 cat >>conftest.
$ac_ext <<_ACEOF
13599 /* end confdefs.h. */
13605 typedef char *(*f)();
13613 rm -f conftest.
$ac_objext conftest
$ac_exeext
13614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13615 (eval $ac_link) 2>conftest.er1
13617 grep -v '^ *+' conftest.er1
>conftest.err
13619 cat conftest.err
>&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); } &&
13622 { ac_try
='test -z "$ac_c_werror_flag"
13623 || test ! -s conftest.err'
13624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13625 (eval $ac_try) 2>&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); }; } &&
13629 { ac_try
='test -s conftest$ac_exeext'
13630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13631 (eval $ac_try) 2>&5
13633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); }; }; then
13635 gas_cv_decl_needed_sbrk
=no
13637 echo "$as_me: failed program was:" >&5
13638 sed 's/^/| /' conftest.
$ac_ext >&5
13640 gas_cv_decl_needed_sbrk
=yes
13642 rm -f conftest.err conftest.
$ac_objext \
13643 conftest
$ac_exeext conftest.
$ac_ext
13645 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_sbrk" >&5
13646 echo "${ECHO_T}$gas_cv_decl_needed_sbrk" >&6
13647 if test $gas_cv_decl_needed_sbrk = yes; then
13649 cat >>confdefs.h
<<\_ACEOF
13650 #define NEED_DECLARATION_SBRK 1
13656 echo "$as_me:$LINENO: checking whether declaration is required for strstr" >&5
13657 echo $ECHO_N "checking whether declaration is required for strstr... $ECHO_C" >&6
13658 if test "${gas_cv_decl_needed_strstr+set}" = set; then
13659 echo $ECHO_N "(cached) $ECHO_C" >&6
13661 cat >conftest.
$ac_ext <<_ACEOF
13664 cat confdefs.h
>>conftest.
$ac_ext
13665 cat >>conftest.
$ac_ext <<_ACEOF
13666 /* end confdefs.h. */
13672 typedef char *(*f)();
13680 rm -f conftest.
$ac_objext conftest
$ac_exeext
13681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13682 (eval $ac_link) 2>conftest.er1
13684 grep -v '^ *+' conftest.er1
>conftest.err
13686 cat conftest.err
>&5
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); } &&
13689 { ac_try
='test -z "$ac_c_werror_flag"
13690 || test ! -s conftest.err'
13691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13692 (eval $ac_try) 2>&5
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); }; } &&
13696 { ac_try
='test -s conftest$ac_exeext'
13697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13698 (eval $ac_try) 2>&5
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); }; }; then
13702 gas_cv_decl_needed_strstr
=no
13704 echo "$as_me: failed program was:" >&5
13705 sed 's/^/| /' conftest.
$ac_ext >&5
13707 gas_cv_decl_needed_strstr
=yes
13709 rm -f conftest.err conftest.
$ac_objext \
13710 conftest
$ac_exeext conftest.
$ac_ext
13712 echo "$as_me:$LINENO: result: $gas_cv_decl_needed_strstr" >&5
13713 echo "${ECHO_T}$gas_cv_decl_needed_strstr" >&6
13714 if test $gas_cv_decl_needed_strstr = yes; then
13716 cat >>confdefs.h
<<\_ACEOF
13717 #define NEED_DECLARATION_STRSTR 1
13723 echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
13724 echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
13725 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
13726 echo $ECHO_N "(cached) $ECHO_C" >&6
13728 cat >conftest.
$ac_ext <<_ACEOF
13731 cat confdefs.h
>>conftest.
$ac_ext
13732 cat >>conftest.
$ac_ext <<_ACEOF
13733 /* end confdefs.h. */
13734 $ac_includes_default
13739 char *p = (char *) vsnprintf;
13746 rm -f conftest.
$ac_objext
13747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13748 (eval $ac_compile) 2>conftest.er1
13750 grep -v '^ *+' conftest.er1
>conftest.err
13752 cat conftest.err
>&5
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 (exit $ac_status); } &&
13755 { ac_try
='test -z "$ac_c_werror_flag"
13756 || test ! -s conftest.err'
13757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13758 (eval $ac_try) 2>&5
13760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761 (exit $ac_status); }; } &&
13762 { ac_try
='test -s conftest.$ac_objext'
13763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13764 (eval $ac_try) 2>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); }; }; then
13768 ac_cv_have_decl_vsnprintf
=yes
13770 echo "$as_me: failed program was:" >&5
13771 sed 's/^/| /' conftest.
$ac_ext >&5
13773 ac_cv_have_decl_vsnprintf
=no
13775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13777 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
13778 echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
13779 if test $ac_cv_have_decl_vsnprintf = yes; then
13781 cat >>confdefs.h
<<_ACEOF
13782 #define HAVE_DECL_VSNPRINTF 1
13787 cat >>confdefs.h
<<_ACEOF
13788 #define HAVE_DECL_VSNPRINTF 0
13798 *-*-msdos* |
*-*-go32* |
*-*-mingw32* |
*-*-cygwin* |
*-*-windows*)
13800 cat >>confdefs.h
<<\_ACEOF
13801 #define USE_BINARY_FOPEN 1
13812 ac_config_files
="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
13814 ac_config_commands
="$ac_config_commands default"
13817 cat >confcache
<<\_ACEOF
13818 # This file is a shell script that caches the results of configure
13819 # tests run on this system so they can be shared between configure
13820 # scripts and configure runs, see configure's option --config-cache.
13821 # It is not useful on other systems. If it contains results you don't
13822 # want to keep, you may remove or edit it.
13824 # config.status only pays attention to the cache file if you give it
13825 # the --recheck option to rerun configure.
13827 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13828 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13829 # following values.
13833 # The following way of writing the cache mishandles newlines in values,
13834 # but we know of no workaround that is simple, portable, and efficient.
13835 # So, don't put newlines in cache variables' values.
13836 # Ultrix sh set writes to stderr and can't be redirected directly,
13837 # and sets the high bit in the cache file unless we assign to the vars.
13840 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13842 # `set' does not quote correctly, so add quotes (double-quote
13843 # substitution turns \\\\ into \\, and sed turns \\ into \).
13846 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13849 # `set' quotes correctly as required by POSIX, so do not add quotes.
13851 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13858 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13860 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13862 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
13863 if test -w $cache_file; then
13864 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13865 cat confcache
>$cache_file
13867 echo "not updating unwritable cache $cache_file"
13872 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13873 # Let make expand exec_prefix.
13874 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13876 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13877 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13878 # trailing colons and then remove the whole line if VPATH becomes empty
13879 # (actually we leave an empty line to preserve line numbers).
13880 if test "x$srcdir" = x.
; then
13881 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13882 s/:*\$(srcdir):*/:/;
13883 s/:*\${srcdir}:*/:/;
13885 s/^\([^=]*=[ ]*\):*/\1/;
13891 DEFS
=-DHAVE_CONFIG_H
13895 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13896 # 1. Remove the extension, and $U if already installed.
13897 ac_i
=`echo "$ac_i" |
13898 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
13900 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
13901 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
13903 LIBOBJS
=$ac_libobjs
13905 LTLIBOBJS
=$ac_ltlibobjs
13908 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13909 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13910 Usually this means the macro was only invoked conditionally." >&5
13911 echo "$as_me: error: conditional \"AMDEP\" was never defined.
13912 Usually this means the macro was only invoked conditionally." >&2;}
13913 { (exit 1); exit 1; }; }
13915 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13916 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13917 Usually this means the macro was only invoked conditionally." >&5
13918 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13919 Usually this means the macro was only invoked conditionally." >&2;}
13920 { (exit 1); exit 1; }; }
13922 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13923 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13924 Usually this means the macro was only invoked conditionally." >&5
13925 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13926 Usually this means the macro was only invoked conditionally." >&2;}
13927 { (exit 1); exit 1; }; }
13929 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
13930 { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
13931 Usually this means the macro was only invoked conditionally." >&5
13932 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
13933 Usually this means the macro was only invoked conditionally." >&2;}
13934 { (exit 1); exit 1; }; }
13937 : ${CONFIG_STATUS=./config.status}
13938 ac_clean_files_save
=$ac_clean_files
13939 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13940 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13941 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13942 cat >$CONFIG_STATUS <<_ACEOF
13944 # Generated by $as_me.
13945 # Run this file to recreate the current configuration.
13946 # Compiler output produced by configure, useful for debugging
13947 # configure, is in config.log if it exists.
13950 ac_cs_recheck=false
13952 SHELL=\${CONFIG_SHELL-$SHELL}
13955 cat >>$CONFIG_STATUS <<\_ACEOF
13956 ## --------------------- ##
13957 ## M4sh Initialization. ##
13958 ## --------------------- ##
13960 # Be Bourne compatible
13961 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13964 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13965 # is contrary to our usage. Disable this feature.
13966 alias -g '${1+"$@"}'='"$@"'
13967 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
13970 DUALCASE
=1; export DUALCASE
# for MKS sh
13972 # Support unset when possible.
13973 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
13980 # Work around bugs in pre-3.0 UWIN ksh.
13981 $as_unset ENV MAIL MAILPATH
13988 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13989 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13990 LC_TELEPHONE LC_TIME
13992 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13993 eval $as_var=C
; export $as_var
13999 # Required to use basename.
14000 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14006 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
14007 as_basename
=basename
14013 # Name of the executable.
14014 as_me
=`$as_basename "$0" ||
14015 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14016 X"$0" : 'X\(//\)$' \| \
14017 X"$0" : 'X\(/\)$' \| \
14018 . : '\(.\)' 2>/dev/null ||
14020 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14021 /^X\/\(\/\/\)$/{ s//\1/; q; }
14022 /^X\/\(\/\).*/{ s//\1/; q; }
14026 # PATH needs CR, and LINENO needs CR and PATH.
14027 # Avoid depending upon Character Ranges.
14028 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14029 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14030 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14031 as_cr_digits
='0123456789'
14032 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14034 # The user is always right.
14035 if test "${PATH_SEPARATOR+set}" != set; then
14036 echo "#! /bin/sh" >conf$$.sh
14037 echo "exit 0" >>conf$$.sh
14039 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
14048 as_lineno_1
=$LINENO
14049 as_lineno_2
=$LINENO
14050 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
14051 test "x$as_lineno_1" != "x$as_lineno_2" &&
14052 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
14053 # Find who we are. Look in the path if we contain no path at all
14056 *[\\/]* ) as_myself
=$0 ;;
14057 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14058 for as_dir
in $PATH
14061 test -z "$as_dir" && as_dir
=.
14062 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14067 # We did not find ourselves, most probably we were run as `sh COMMAND'
14068 # in which case we are not to be found in the path.
14069 if test "x$as_myself" = x
; then
14072 if test ! -f "$as_myself"; then
14073 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14074 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14075 { (exit 1); exit 1; }; }
14077 case $CONFIG_SHELL in
14079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14080 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
14083 test -z "$as_dir" && as_dir
=.
14084 for as_base
in sh bash ksh sh5
; do
14087 if ("$as_dir/$as_base" -c '
14088 as_lineno_1=$LINENO
14089 as_lineno_2=$LINENO
14090 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14091 test "x$as_lineno_1" != "x$as_lineno_2" &&
14092 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
14093 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
14094 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
14095 CONFIG_SHELL
=$as_dir/$as_base
14096 export CONFIG_SHELL
14097 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14105 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14106 # uniformly replaced by the line number. The first 'sed' inserts a
14107 # line-number line before each line; the second 'sed' does the real
14108 # work. The second script uses 'N' to pair each line-number line
14109 # with the numbered line, and appends trailing '-' during
14110 # substitution so that $LINENO is not a special case at line end.
14111 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14112 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14113 sed '=' <$as_myself |
14118 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14121 s,^['$as_cr_digits']*\n,,
14122 ' >$as_me.lineno
&&
14123 chmod +x
$as_me.lineno ||
14124 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14125 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14126 { (exit 1); exit 1; }; }
14128 # Don't try to exec as it changes $[0], causing all sort of problems
14129 # (the dirname of $[0] is not the place where we might find the
14130 # original and so on. Autoconf is especially sensible to this).
14132 # Exit status is that of the last command.
14137 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14138 *c
*,-n*) ECHO_N
= ECHO_C
='
14140 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
14141 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
14144 if expr a
: '\(a\)' >/dev
/null
2>&1; then
14150 rm -f conf$$ conf$$.exe conf$$.
file
14152 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14153 # We could just check for DJGPP; but this test a) works b) is more generic
14154 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14155 if test -f conf$$.exe
; then
14156 # Don't use ln at all; we don't have any links
14161 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14166 rm -f conf$$ conf$$.exe conf$$.
file
14168 if mkdir
-p .
2>/dev
/null
; then
14171 test -d .
/-p && rmdir .
/-p
14175 as_executable_p
="test -f"
14177 # Sed expression to map a string onto a valid CPP name.
14178 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14180 # Sed expression to map a string onto a valid variable name.
14181 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14185 # We need space, tab and new line, in precisely that order.
14195 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14196 # report actual input values of CONFIG_FILES etc. instead of their
14197 # values after options handling. Logging --version etc. is OK.
14201 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14202 ## Running $as_me. ##
14207 This file was extended by $as_me, which was
14208 generated by GNU Autoconf 2.59. Invocation command line was
14210 CONFIG_FILES = $CONFIG_FILES
14211 CONFIG_HEADERS = $CONFIG_HEADERS
14212 CONFIG_LINKS = $CONFIG_LINKS
14213 CONFIG_COMMANDS = $CONFIG_COMMANDS
14217 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14221 # Files that config.status was made for.
14222 if test -n "$ac_config_files"; then
14223 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14226 if test -n "$ac_config_headers"; then
14227 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14230 if test -n "$ac_config_links"; then
14231 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14234 if test -n "$ac_config_commands"; then
14235 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14238 cat >>$CONFIG_STATUS <<\_ACEOF
14241 \`$as_me' instantiates files from templates according to the
14242 current configuration.
14244 Usage: $0 [OPTIONS] [FILE]...
14246 -h, --help print this help, then exit
14247 -V, --version print version number, then exit
14248 -q, --quiet do not print progress messages
14249 -d, --debug don't remove temporary files
14250 --recheck update $as_me by reconfiguring in the same conditions
14251 --file=FILE[:TEMPLATE]
14252 instantiate the configuration file FILE
14253 --header=FILE[:TEMPLATE]
14254 instantiate the configuration header FILE
14256 Configuration files:
14259 Configuration headers:
14262 Configuration commands:
14265 Report bugs to <bug-autoconf@gnu.org>."
14268 cat >>$CONFIG_STATUS <<_ACEOF
14271 configured by $0, generated by GNU Autoconf 2.59,
14272 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14274 Copyright (C) 2003 Free Software Foundation, Inc.
14275 This config.status script is free software; the Free Software Foundation
14276 gives unlimited permission to copy, distribute and modify it."
14281 cat >>$CONFIG_STATUS <<\_ACEOF
14282 # If no file are specified by the user, then we need to provide default
14283 # value. By we need to know if files were specified by the user.
14289 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
14290 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
14298 *) # This is not an option, so the user has probably given explicit
14301 ac_need_defaults
=false
;;
14305 # Handling of the options.
14307 cat >>$CONFIG_STATUS <<\_ACEOF
14308 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14310 --version |
--vers* |
-V )
14311 echo "$ac_cs_version"; exit 0 ;;
14313 # Conflict between --help and --header
14314 { { echo "$as_me:$LINENO: error: ambiguous option: $1
14315 Try \`$0 --help' for more information." >&5
14316 echo "$as_me: error: ambiguous option: $1
14317 Try \`$0 --help' for more information." >&2;}
14318 { (exit 1); exit 1; }; };;
14319 --help |
--hel |
-h )
14320 echo "$ac_cs_usage"; exit 0 ;;
14321 --debug |
--d* |
-d )
14323 --file |
--fil |
--fi |
--f )
14325 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
14326 ac_need_defaults
=false
;;
14327 --header |
--heade |
--head |
--hea )
14329 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
14330 ac_need_defaults
=false
;;
14331 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14332 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14335 # This is an error.
14336 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14337 Try \`$0 --help' for more information." >&5
14338 echo "$as_me: error: unrecognized option: $1
14339 Try \`$0 --help' for more information." >&2;}
14340 { (exit 1); exit 1; }; } ;;
14342 *) ac_config_targets
="$ac_config_targets $1" ;;
14348 ac_configure_extra_args
=
14350 if $ac_cs_silent; then
14352 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14356 cat >>$CONFIG_STATUS <<_ACEOF
14357 if \$ac_cs_recheck; then
14358 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
14359 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14364 cat >>$CONFIG_STATUS <<_ACEOF
14366 # INIT-COMMANDS section.
14369 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14372 # The HP-UX ksh and POSIX shell print the target directory to stdout
14373 # if CDPATH is set.
14374 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14376 sed_quote_subst='$sed_quote_subst'
14377 double_quote_subst='$double_quote_subst'
14378 delay_variable_subst='$delay_variable_subst'
14379 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14380 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14381 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14382 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14383 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14384 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14385 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14386 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14387 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14388 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14389 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14390 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14391 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14392 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14393 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14394 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14395 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14396 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14397 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14398 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14399 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14400 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14401 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14402 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14403 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14404 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14405 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14406 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14407 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14408 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14409 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14410 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14411 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14412 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14413 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14414 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14415 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14416 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14417 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14418 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14419 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14420 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14421 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14422 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"`'
14423 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14424 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14425 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14426 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14427 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14428 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14429 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14430 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14431 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14432 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14433 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14434 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14435 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14436 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14437 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14438 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14439 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14440 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14441 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14442 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14443 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14444 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14445 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14446 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14447 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14448 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14449 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14450 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14451 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14452 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14453 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14454 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14455 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14456 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14457 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14458 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14459 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14460 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14461 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14462 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14463 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14464 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14465 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14466 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14467 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14468 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14469 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14470 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14471 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14472 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14473 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14474 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14475 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14476 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14477 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14478 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14479 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14480 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14481 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14482 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14483 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14484 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14485 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14486 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14487 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14488 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14489 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14492 LTCFLAGS='$LTCFLAGS'
14493 compiler='$compiler_DEFAULT'
14495 # Quote evaled strings.
14506 deplibs_check_method \
14515 lt_cv_sys_global_symbol_pipe \
14516 lt_cv_sys_global_symbol_to_cdecl \
14517 lt_cv_sys_global_symbol_to_c_name_address \
14520 lt_prog_compiler_no_builtin_flag \
14521 lt_prog_compiler_wl \
14522 lt_prog_compiler_pic \
14523 lt_prog_compiler_static \
14524 lt_cv_prog_compiler_c_o \
14527 export_dynamic_flag_spec \
14528 whole_archive_flag_spec \
14529 compiler_needs_object \
14531 allow_undefined_flag \
14532 no_undefined_flag \
14533 hardcode_libdir_flag_spec \
14534 hardcode_libdir_flag_spec_ld \
14535 hardcode_libdir_separator \
14540 variables_saved_for_relink \
14542 library_names_spec \
14547 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14548 *[\\\\\\\`\\"\\\$]*)
14549 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14552 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14557 # Double-quote double-evaled strings.
14558 for var in reload_cmds \
14559 old_postinstall_cmds \
14560 old_postuninstall_cmds \
14562 extract_expsyms_cmds \
14563 old_archive_from_new_cmds \
14564 old_archive_from_expsyms_cmds \
14566 archive_expsym_cmds \
14568 module_expsym_cmds \
14569 export_symbols_cmds \
14572 postuninstall_cmds \
14574 sys_lib_search_path_spec \
14575 sys_lib_dlsearch_path_spec; do
14576 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14577 *[\\\\\\\`\\"\\\$]*)
14578 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14581 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14586 # Fix-up fallback echo if it was mangled by the above quoting rules.
14588 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14592 ac_aux_dir='$ac_aux_dir'
14593 xsi_shell='$xsi_shell'
14594 lt_shell_append='$lt_shell_append'
14596 # See if we are running on zsh, and set the options which allow our
14597 # commands through without removal of \ escapes INIT.
14598 if test -n "\${ZSH_VERSION+set}" ; then
14599 setopt NO_GLOB_SUBST
14605 TIMESTAMP='$TIMESTAMP'
14611 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
14612 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
14614 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
14615 # Capture the value of LINGUAS because we need it to compute CATALOGS.
14616 LINGUAS="${LINGUAS-%UNSET%}"
14618 target_cpu_type=${target_cpu_type}
14619 cgen_cpu_prefix=${cgen_cpu_prefix}
14620 obj_format=${obj_format}
14627 cat >>$CONFIG_STATUS <<\_ACEOF
14628 for ac_config_target
in $ac_config_targets
14630 case "$ac_config_target" in
14631 # Handling of arguments.
14632 "gdb.ini" ) CONFIG_FILES
="$CONFIG_FILES gdb.ini:gdbinit.in" ;;
14633 ".gdbinit" ) CONFIG_FILES
="$CONFIG_FILES .gdbinit:gdbinit.in" ;;
14634 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14635 "doc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
14636 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
14637 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
14638 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
14639 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
14640 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
14641 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
14642 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14643 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14644 { (exit 1); exit 1; }; };;
14648 # If the user did not use the arguments to specify the items to instantiate,
14649 # then the envvar interface is used. Set only those that are not.
14650 # We use the long form for the default assignment because of an extremely
14651 # bizarre bug on SunOS 4.1.3.
14652 if $ac_need_defaults; then
14653 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14654 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
14655 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
14658 # Have a temporary directory for convenience. Make it in the build tree
14659 # simply because there is no reason to put it here, and in addition,
14660 # creating and moving files from /tmp can sometimes cause problems.
14661 # Create a temporary directory, and hook for its removal unless debugging.
14664 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14665 trap '{ (exit 1); exit 1; }' 1 2 13 15
14668 # Create a (secure) tmp directory for tmp files.
14671 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
14672 test -n "$tmp" && test -d "$tmp"
14675 tmp
=.
/confstat$$
-$RANDOM
14676 (umask 077 && mkdir
$tmp)
14679 echo "$me: cannot create a temporary directory in ." >&2
14680 { (exit 1); exit 1; }
14685 cat >>$CONFIG_STATUS <<_ACEOF
14688 # CONFIG_FILES section.
14691 # No need to generate the scripts if there are no CONFIG_FILES.
14692 # This happens for instance when ./config.status config.h
14693 if test -n "\$CONFIG_FILES"; then
14694 # Protect against being on the right side of a sed subst in config.status.
14695 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14696 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14697 s,@SHELL@,$SHELL,;t t
14698 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14699 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14700 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14701 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14702 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14703 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14704 s,@exec_prefix@,$exec_prefix,;t t
14705 s,@prefix@,$prefix,;t t
14706 s,@program_transform_name@,$program_transform_name,;t t
14707 s,@bindir@,$bindir,;t t
14708 s,@sbindir@,$sbindir,;t t
14709 s,@libexecdir@,$libexecdir,;t t
14710 s,@datadir@,$datadir,;t t
14711 s,@sysconfdir@,$sysconfdir,;t t
14712 s,@sharedstatedir@,$sharedstatedir,;t t
14713 s,@localstatedir@,$localstatedir,;t t
14714 s,@libdir@,$libdir,;t t
14715 s,@includedir@,$includedir,;t t
14716 s,@oldincludedir@,$oldincludedir,;t t
14717 s,@infodir@,$infodir,;t t
14718 s,@mandir@,$mandir,;t t
14719 s,@build_alias@,$build_alias,;t t
14720 s,@host_alias@,$host_alias,;t t
14721 s,@target_alias@,$target_alias,;t t
14722 s,@DEFS@,$DEFS,;t t
14723 s,@ECHO_C@,$ECHO_C,;t t
14724 s,@ECHO_N@,$ECHO_N,;t t
14725 s,@ECHO_T@,$ECHO_T,;t t
14726 s,@LIBS@,$LIBS,;t t
14727 s,@build@,$build,;t t
14728 s,@build_cpu@,$build_cpu,;t t
14729 s,@build_vendor@,$build_vendor,;t t
14730 s,@build_os@,$build_os,;t t
14731 s,@host@,$host,;t t
14732 s,@host_cpu@,$host_cpu,;t t
14733 s,@host_vendor@,$host_vendor,;t t
14734 s,@host_os@,$host_os,;t t
14735 s,@target@,$target,;t t
14736 s,@target_cpu@,$target_cpu,;t t
14737 s,@target_vendor@,$target_vendor,;t t
14738 s,@target_os@,$target_os,;t t
14740 s,@CFLAGS@,$CFLAGS,;t t
14741 s,@LDFLAGS@,$LDFLAGS,;t t
14742 s,@CPPFLAGS@,$CPPFLAGS,;t t
14743 s,@ac_ct_CC@,$ac_ct_CC,;t t
14744 s,@EXEEXT@,$EXEEXT,;t t
14745 s,@OBJEXT@,$OBJEXT,;t t
14746 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14747 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14748 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14749 s,@CYGPATH_W@,$CYGPATH_W,;t t
14750 s,@PACKAGE@,$PACKAGE,;t t
14751 s,@VERSION@,$VERSION,;t t
14752 s,@ACLOCAL@,$ACLOCAL,;t t
14753 s,@AUTOCONF@,$AUTOCONF,;t t
14754 s,@AUTOMAKE@,$AUTOMAKE,;t t
14755 s,@AUTOHEADER@,$AUTOHEADER,;t t
14756 s,@MAKEINFO@,$MAKEINFO,;t t
14757 s,@install_sh@,$install_sh,;t t
14758 s,@STRIP@,$STRIP,;t t
14759 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
14760 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
14761 s,@mkdir_p@,$mkdir_p,;t t
14763 s,@SET_MAKE@,$SET_MAKE,;t t
14764 s,@am__leading_dot@,$am__leading_dot,;t t
14765 s,@AMTAR@,$AMTAR,;t t
14766 s,@am__tar@,$am__tar,;t t
14767 s,@am__untar@,$am__untar,;t t
14768 s,@DEPDIR@,$DEPDIR,;t t
14769 s,@am__include@,$am__include,;t t
14770 s,@am__quote@,$am__quote,;t t
14771 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
14772 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
14773 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
14774 s,@CCDEPMODE@,$CCDEPMODE,;t t
14775 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
14776 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
14777 s,@LIBTOOL@,$LIBTOOL,;t t
14779 s,@EGREP@,$EGREP,;t t
14780 s,@FGREP@,$FGREP,;t t
14781 s,@GREP@,$GREP,;t t
14783 s,@DUMPBIN@,$DUMPBIN,;t t
14784 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
14786 s,@LN_S@,$LN_S,;t t
14788 s,@ac_ct_AR@,$ac_ct_AR,;t t
14789 s,@RANLIB@,$RANLIB,;t t
14790 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14791 s,@lt_ECHO@,$lt_ECHO,;t t
14793 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
14794 s,@NO_WERROR@,$NO_WERROR,;t t
14795 s,@GDBINIT@,$GDBINIT,;t t
14796 s,@cgen_cpu_prefix@,$cgen_cpu_prefix,;t t
14797 s,@extra_objects@,$extra_objects,;t t
14798 s,@target_cpu_type@,$target_cpu_type,;t t
14799 s,@obj_format@,$obj_format,;t t
14800 s,@te_file@,$te_file,;t t
14801 s,@install_tooldir@,$install_tooldir,;t t
14802 s,@atof@,$atof,;t t
14803 s,@OPCODES_LIB@,$OPCODES_LIB,;t t
14804 s,@YACC@,$YACC,;t t
14806 s,@LEXLIB@,$LEXLIB,;t t
14807 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
14808 s,@USE_NLS@,$USE_NLS,;t t
14809 s,@LIBINTL@,$LIBINTL,;t t
14810 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
14811 s,@INCINTL@,$INCINTL,;t t
14812 s,@XGETTEXT@,$XGETTEXT,;t t
14813 s,@GMSGFMT@,$GMSGFMT,;t t
14814 s,@POSUB@,$POSUB,;t t
14815 s,@CATALOGS@,$CATALOGS,;t t
14816 s,@DATADIRNAME@,$DATADIRNAME,;t t
14817 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
14818 s,@GENCAT@,$GENCAT,;t t
14819 s,@CATOBJEXT@,$CATOBJEXT,;t t
14820 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
14821 s,@MSGFMT@,$MSGFMT,;t t
14822 s,@MSGMERGE@,$MSGMERGE,;t t
14823 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
14824 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
14825 s,@MAINT@,$MAINT,;t t
14826 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
14827 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
14828 s,@ALLOCA@,$ALLOCA,;t t
14829 s,@LIBM@,$LIBM,;t t
14830 s,@datarootdir@,$datarootdir,;t t
14831 s,@docdir@,$docdir,;t t
14832 s,@htmldir@,$htmldir,;t t
14833 s,@LIBOBJS@,$LIBOBJS,;t t
14834 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
14839 cat >>$CONFIG_STATUS <<\_ACEOF
14840 # Split the substitutions into bite-sized pieces for seds with
14841 # small command number limits, like on Digital OSF/1 and HP-UX.
14842 ac_max_sed_lines
=48
14843 ac_sed_frag
=1 # Number of current file.
14844 ac_beg
=1 # First line for current file.
14845 ac_end
=$ac_max_sed_lines # Line after last line for current file.
14848 while $ac_more_lines; do
14849 if test $ac_beg -gt 1; then
14850 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
14852 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
14854 if test ! -s $tmp/subs.frag
; then
14855 ac_more_lines
=false
14857 # The purpose of the label and of the branching condition is to
14858 # speed up the sed processing (if there are no `@' at all, there
14859 # is no need to browse any of the substitutions).
14860 # These are the two extra sed commands mentioned above.
14862 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
14863 if test -z "$ac_sed_cmds"; then
14864 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
14866 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14868 ac_sed_frag
=`expr $ac_sed_frag + 1`
14870 ac_end
=`expr $ac_end + $ac_max_sed_lines`
14873 if test -z "$ac_sed_cmds"; then
14876 fi # test -n "$CONFIG_FILES"
14879 cat >>$CONFIG_STATUS <<\_ACEOF
14880 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
14881 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14883 - |
*:- |
*:-:* ) # input from stdin
14885 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14886 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14887 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
14888 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
14889 * ) ac_file_in
=$ac_file.
in ;;
14892 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14893 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
14894 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14895 X"$ac_file" : 'X\(//\)[^/]' \| \
14896 X"$ac_file" : 'X\(//\)$' \| \
14897 X"$ac_file" : 'X\(/\)' \| \
14898 . : '\(.\)' 2>/dev/null ||
14900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14901 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14902 /^X\(\/\/\)$/{ s//\1/; q; }
14903 /^X\(\/\).*/{ s//\1/; q; }
14905 { if $as_mkdir_p; then
14910 while test ! -d "$as_dir"; do
14911 as_dirs
="$as_dir $as_dirs"
14912 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
14913 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14914 X"$as_dir" : 'X\(//\)[^/]' \| \
14915 X"$as_dir" : 'X\(//\)$' \| \
14916 X"$as_dir" : 'X\(/\)' \| \
14917 . : '\(.\)' 2>/dev/null ||
14919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14920 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14921 /^X\(\/\/\)$/{ s//\1/; q; }
14922 /^X\(\/\).*/{ s//\1/; q; }
14925 test ! -n "$as_dirs" || mkdir
$as_dirs
14926 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14927 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14928 { (exit 1); exit 1; }; }; }
14932 if test "$ac_dir" != .
; then
14933 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14934 # A "../" for each directory in $ac_dir_suffix.
14935 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14937 ac_dir_suffix
= ac_top_builddir
=
14941 .
) # No --srcdir option. We are building in place.
14943 if test -z "$ac_top_builddir"; then
14946 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
14948 [\\/]* | ?
:[\\/]* ) # Absolute path.
14949 ac_srcdir
=$srcdir$ac_dir_suffix;
14950 ac_top_srcdir
=$srcdir ;;
14951 *) # Relative path.
14952 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
14953 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
14956 # Do not use `cd foo && pwd` to compute absolute paths, because
14957 # the directories may not exist.
14959 .
) ac_abs_builddir
="$ac_dir";;
14962 .
) ac_abs_builddir
=`pwd`;;
14963 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
14964 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
14967 case $ac_abs_builddir in
14968 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14970 case ${ac_top_builddir}.
in
14971 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
14972 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
14973 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
14976 case $ac_abs_builddir in
14977 .
) ac_abs_srcdir
=$ac_srcdir;;
14980 .
) ac_abs_srcdir
=$ac_abs_builddir;;
14981 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
14982 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
14985 case $ac_abs_builddir in
14986 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
14988 case $ac_top_srcdir in
14989 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
14990 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
14991 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
14997 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14998 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
15001 if test x
"$ac_file" != x-
; then
15002 { echo "$as_me:$LINENO: creating $ac_file" >&5
15003 echo "$as_me: creating $ac_file" >&6;}
15006 # Let's still pretend it is `configure' which instantiates (i.e., don't
15007 # use $as_me), people would be surprised to read:
15008 # /* config.h. Generated by config.status. */
15009 if test x
"$ac_file" = x-
; then
15012 configure_input
="$ac_file. "
15014 configure_input
=$configure_input"Generated from `echo $ac_file_in |
15015 sed 's,.*/,,'` by configure."
15017 # First look for the input files in the build tree, otherwise in the
15019 ac_file_inputs
=`IFS=:
15020 for f in $ac_file_in; do
15022 -) echo $tmp/stdin ;;
15024 # Absolute (can't be DOS-style, as IFS=:)
15025 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15026 echo "$as_me: error: cannot find input file: $f" >&2;}
15027 { (exit 1); exit 1; }; }
15030 if test -f "$f"; then
15033 elif test -f "$srcdir/$f"; then
15038 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15039 echo "$as_me: error: cannot find input file: $f" >&2;}
15040 { (exit 1); exit 1; }; }
15043 done` ||
{ (exit 1); exit 1; }
15045 cat >>$CONFIG_STATUS <<_ACEOF
15049 cat >>$CONFIG_STATUS <<\_ACEOF
15051 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15052 s
,@configure_input@
,$configure_input,;t t
15053 s
,@srcdir@
,$ac_srcdir,;t t
15054 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
15055 s
,@top_srcdir@
,$ac_top_srcdir,;t t
15056 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
15057 s
,@builddir@
,$ac_builddir,;t t
15058 s
,@abs_builddir@
,$ac_abs_builddir,;t t
15059 s
,@top_builddir@
,$ac_top_builddir,;t t
15060 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
15061 s
,@INSTALL@
,$ac_INSTALL,;t t
15062 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15064 if test x"$ac_file" != x-; then
15065 mv $tmp/out $ac_file
15073 cat >>$CONFIG_STATUS <<\_ACEOF
15076 # CONFIG_HEADER section.
15079 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
15080 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15082 # ac_d sets the value in "#define NAME VALUE" lines.
15083 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15084 ac_dB
='[ ].*$,\1#\2'
15087 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15088 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15089 ac_uB
='$,\1#\2define\3'
15093 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
15094 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15096 - |
*:- |
*:-:* ) # input from stdin
15098 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15099 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15100 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15101 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15102 * ) ac_file_in
=$ac_file.
in ;;
15105 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
15106 echo "$as_me: creating $ac_file" >&6;}
15108 # First look for the input files in the build tree, otherwise in the
15110 ac_file_inputs
=`IFS=:
15111 for f in $ac_file_in; do
15113 -) echo $tmp/stdin ;;
15115 # Absolute (can't be DOS-style, as IFS=:)
15116 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15117 echo "$as_me: error: cannot find input file: $f" >&2;}
15118 { (exit 1); exit 1; }; }
15119 # Do quote $f, to prevent DOS paths from being IFS'd.
15122 if test -f "$f"; then
15125 elif test -f "$srcdir/$f"; then
15130 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15131 echo "$as_me: error: cannot find input file: $f" >&2;}
15132 { (exit 1); exit 1; }; }
15135 done` ||
{ (exit 1); exit 1; }
15136 # Remove the trailing spaces.
15137 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15141 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15142 # `conftest.undefs', that substitutes the proper values into
15143 # config.h.in to produce config.h. The first handles `#define'
15144 # templates, and the second `#undef' templates.
15145 # And first: Protect against being on the right side of a sed subst in
15146 # config.status. Protect against being in an unquoted here document
15147 # in config.status.
15148 rm -f conftest.defines conftest.undefs
15149 # Using a here document instead of a string reduces the quoting nightmare.
15150 # Putting comments in sed scripts is not portable.
15152 # `end' is used to avoid that the second main sed command (meant for
15153 # 0-ary CPP macros) applies to n-ary macro definitions.
15154 # See the Autoconf documentation for `clear'.
15155 cat >confdef2sed.
sed <<\_ACEOF
15160 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15162 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15165 # If some macros were called several times there might be several times
15166 # the same #defines, which is useless. Nevertheless, we may not want to
15167 # sort them, since we want the *last* AC-DEFINE to be honored.
15168 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15169 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15170 rm -f confdef2sed.sed
15172 # This sed command replaces #undef with comments. This is necessary, for
15173 # example, in the case of _POSIX_SOURCE, which is predefined and required
15174 # on some systems where configure will not decide to define it.
15175 cat >>conftest.undefs <<\_ACEOF
15176 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15179 # Break up conftest.defines because some shells have a limit on the size
15180 # of here documents, and old seds have small limits too (100 cmds).
15181 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15182 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15183 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15184 echo ' :' >>$CONFIG_STATUS
15185 rm -f conftest.tail
15186 while grep . conftest.defines >/dev/null
15188 # Write a limited-size here document to $tmp/defines.sed.
15189 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15190 # Speed up: don't consider the non `#define' lines.
15191 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15192 # Work around the forget-to-reset-the-flag bug.
15193 echo 't clr' >>$CONFIG_STATUS
15194 echo ': clr' >>$CONFIG_STATUS
15195 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
15197 sed -f $tmp/defines.sed $tmp/in >$tmp/out
15199 mv $tmp/out $tmp/in
15201 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
15202 rm -f conftest.defines
15203 mv conftest.
tail conftest.defines
15205 rm -f conftest.defines
15206 echo ' fi # grep' >>$CONFIG_STATUS
15207 echo >>$CONFIG_STATUS
15209 # Break up conftest.undefs because some shells have a limit on the size
15210 # of here documents, and old seds have small limits too (100 cmds).
15211 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15212 rm -f conftest.
tail
15213 while grep . conftest.undefs
>/dev
/null
15215 # Write a limited-size here document to $tmp/undefs.sed.
15216 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15217 # Speed up: don't consider the non
`#undef'
15218 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15219 # Work around the forget-to-reset-the-flag bug.
15220 echo 't clr' >>$CONFIG_STATUS
15221 echo ': clr' >>$CONFIG_STATUS
15222 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15224 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15226 mv $tmp/out $tmp/in
15228 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15229 rm -f conftest.undefs
15230 mv conftest.tail conftest.undefs
15232 rm -f conftest.undefs
15234 cat >>$CONFIG_STATUS <<\_ACEOF
15235 # Let's still pretend it is `configure
' which instantiates (i.e., don't
15236 # use $as_me), people would be surprised to read:
15237 # /* config.h. Generated by config.status. */
15238 if test x
"$ac_file" = x-
; then
15239 echo "/* Generated by configure. */" >$tmp/config.h
15241 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15243 cat $tmp/in >>$tmp/config.h
15245 if test x
"$ac_file" != x-
; then
15246 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
15247 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15248 echo "$as_me: $ac_file is unchanged" >&6;}
15250 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15251 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15252 X"$ac_file" : 'X\(//\)[^/]' \| \
15253 X"$ac_file" : 'X\(//\)$' \| \
15254 X"$ac_file" : 'X\(/\)' \| \
15255 . : '\(.\)' 2>/dev/null ||
15257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15258 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15259 /^X\(\/\/\)$/{ s//\1/; q; }
15260 /^X\(\/\).*/{ s//\1/; q; }
15262 { if $as_mkdir_p; then
15267 while test ! -d "$as_dir"; do
15268 as_dirs
="$as_dir $as_dirs"
15269 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15270 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15271 X"$as_dir" : 'X\(//\)[^/]' \| \
15272 X"$as_dir" : 'X\(//\)$' \| \
15273 X"$as_dir" : 'X\(/\)' \| \
15274 . : '\(.\)' 2>/dev/null ||
15276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15277 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15278 /^X\(\/\/\)$/{ s//\1/; q; }
15279 /^X\(\/\).*/{ s//\1/; q; }
15282 test ! -n "$as_dirs" || mkdir
$as_dirs
15283 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15284 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15285 { (exit 1); exit 1; }; }; }
15288 mv $tmp/config.h
$ac_file
15292 rm -f $tmp/config.h
15294 # Compute $ac_file's index in $config_headers.
15296 for _am_header
in $config_headers :; do
15297 case $_am_header in
15298 $ac_file |
$ac_file:* )
15301 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
15304 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
15305 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15306 X$ac_file : 'X\(//\)[^/]' \| \
15307 X$ac_file : 'X\(//\)$' \| \
15308 X$ac_file : 'X\(/\)' \| \
15309 . : '\(.\)' 2>/dev/null ||
15311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15312 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15313 /^X\(\/\/\)$/{ s//\1/; q; }
15314 /^X\(\/\).*/{ s//\1/; q; }
15315 s/.*/./; q'`/stamp-h
$_am_stamp_count
15318 cat >>$CONFIG_STATUS <<\_ACEOF
15321 # CONFIG_COMMANDS section.
15323 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
15324 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
15325 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15326 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
15327 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15328 X"$ac_dest" : 'X\(//\)[^/]' \| \
15329 X"$ac_dest" : 'X\(//\)$' \| \
15330 X"$ac_dest" : '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; }
15338 { if $as_mkdir_p; then
15343 while test ! -d "$as_dir"; do
15344 as_dirs
="$as_dir $as_dirs"
15345 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15346 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15347 X"$as_dir" : 'X\(//\)[^/]' \| \
15348 X"$as_dir" : 'X\(//\)$' \| \
15349 X"$as_dir" : 'X\(/\)' \| \
15350 . : '\(.\)' 2>/dev/null ||
15352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15353 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15354 /^X\(\/\/\)$/{ s//\1/; q; }
15355 /^X\(\/\).*/{ s//\1/; q; }
15358 test ! -n "$as_dirs" || mkdir
$as_dirs
15359 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15360 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15361 { (exit 1); exit 1; }; }; }
15365 if test "$ac_dir" != .
; then
15366 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15367 # A "../" for each directory in $ac_dir_suffix.
15368 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15370 ac_dir_suffix
= ac_top_builddir
=
15374 .
) # No --srcdir option. We are building in place.
15376 if test -z "$ac_top_builddir"; then
15379 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15381 [\\/]* | ?
:[\\/]* ) # Absolute path.
15382 ac_srcdir
=$srcdir$ac_dir_suffix;
15383 ac_top_srcdir
=$srcdir ;;
15384 *) # Relative path.
15385 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15386 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15389 # Do not use `cd foo && pwd` to compute absolute paths, because
15390 # the directories may not exist.
15392 .
) ac_abs_builddir
="$ac_dir";;
15395 .
) ac_abs_builddir
=`pwd`;;
15396 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
15397 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
15400 case $ac_abs_builddir in
15401 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15403 case ${ac_top_builddir}.
in
15404 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
15405 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15406 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
15409 case $ac_abs_builddir in
15410 .
) ac_abs_srcdir
=$ac_srcdir;;
15413 .
) ac_abs_srcdir
=$ac_abs_builddir;;
15414 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
15415 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
15418 case $ac_abs_builddir in
15419 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
15421 case $ac_top_srcdir in
15422 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
15423 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
15424 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
15429 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
15430 echo "$as_me: executing $ac_dest commands" >&6;}
15432 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
15433 # Strip MF so we end up with the name of the file.
15434 mf
=`echo "$mf" | sed -e 's/:.*$//'`
15435 # Check whether this is an Automake generated Makefile or not.
15436 # We used to match only the files named `Makefile.in', but
15437 # some people rename them; so instead we look at the file content.
15438 # Grep'ing the first line is not enough: some people post-process
15439 # each Makefile.in and add a new line on top of each file to say so.
15440 # So let's grep whole file.
15441 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
15442 dirpart
=`(dirname "$mf") 2>/dev/null ||
15443 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15444 X"$mf" : 'X\(//\)[^/]' \| \
15445 X"$mf" : 'X\(//\)$' \| \
15446 X"$mf" : 'X\(/\)' \| \
15447 . : '\(.\)' 2>/dev/null ||
15449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15450 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15451 /^X\(\/\/\)$/{ s//\1/; q; }
15452 /^X\(\/\).*/{ s//\1/; q; }
15457 # Extract the definition of DEPDIR, am__include, and am__quote
15458 # from the Makefile without running `make'.
15459 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
15460 test -z "$DEPDIR" && continue
15461 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
15462 test -z "am__include" && continue
15463 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
15464 # When using ansi2knr, U may be empty or an underscore; expand it
15465 U
=`sed -n 's/^U = //p' < "$mf"`
15466 # Find all dependency output files, they are included files with
15467 # $(DEPDIR) in their names. We invoke sed twice because it is the
15468 # simplest approach to changing $(DEPDIR) to its actual value in the
15470 for file in `sed -n "
15471 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15472 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15473 # Make sure the directory exists.
15474 test -f "$dirpart/$file" && continue
15475 fdir
=`(dirname "$file") 2>/dev/null ||
15476 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15477 X"$file" : 'X\(//\)[^/]' \| \
15478 X"$file" : 'X\(//\)$' \| \
15479 X"$file" : 'X\(/\)' \| \
15480 . : '\(.\)' 2>/dev/null ||
15482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15483 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15484 /^X\(\/\/\)$/{ s//\1/; q; }
15485 /^X\(\/\).*/{ s//\1/; q; }
15487 { if $as_mkdir_p; then
15488 mkdir
-p $dirpart/$fdir
15490 as_dir
=$dirpart/$fdir
15492 while test ! -d "$as_dir"; do
15493 as_dirs
="$as_dir $as_dirs"
15494 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15495 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15496 X"$as_dir" : 'X\(//\)[^/]' \| \
15497 X"$as_dir" : 'X\(//\)$' \| \
15498 X"$as_dir" : 'X\(/\)' \| \
15499 . : '\(.\)' 2>/dev/null ||
15501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15502 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15503 /^X\(\/\/\)$/{ s//\1/; q; }
15504 /^X\(\/\).*/{ s//\1/; q; }
15507 test ! -n "$as_dirs" || mkdir
$as_dirs
15508 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
15509 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
15510 { (exit 1); exit 1; }; }; }
15512 # echo "creating $dirpart/$file"
15513 echo '# dummy' > "$dirpart/$file"
15519 # See if we are running on zsh, and set the options which allow our
15520 # commands through without removal of \ escapes.
15521 if test -n "${ZSH_VERSION+set}" ; then
15522 setopt NO_GLOB_SUBST
15525 cfgfile
="${ofile}T"
15526 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15529 cat <<_LT_EOF >> "$cfgfile"
15532 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15533 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
15534 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15535 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15537 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15538 # 2006, 2007 Free Software Foundation, Inc.
15540 # This file is part of GNU Libtool:
15541 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
15543 # This program is free software; you can redistribute it and/or modify
15544 # it under the terms of the GNU General Public License as published by
15545 # the Free Software Foundation; either version 2 of the License, or
15546 # (at your option) any later version.
15548 # This program is distributed in the hope that it will be useful, but
15549 # WITHOUT ANY WARRANTY; without even the implied warranty of
15550 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15551 # General Public License for more details.
15553 # You should have received a copy of the GNU General Public License
15554 # along with this program; if not, a copy can be downloaded from
15555 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
15556 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
15557 # MA 02110-1301, USA.
15559 # As a special exception to the GNU General Public License, if you
15560 # distribute this file as part of a program that contains a
15561 # configuration script generated by Autoconf, you may include it under
15562 # the same distribution terms that you use for the rest of that program.
15565 # The names of the tagged configurations supported by this script.
15568 # ### BEGIN LIBTOOL CONFIG
15570 # Which release of libtool.m4 was used?
15571 macro_version=$macro_version
15572 macro_revision=$macro_revision
15574 # Whether or not to build shared libraries.
15575 build_libtool_libs=$enable_shared
15577 # Whether or not to build static libraries.
15578 build_old_libs=$enable_static
15580 # What type of objects to build.
15583 # Whether or not to optimize for fast installation.
15584 fast_install=$enable_fast_install
15587 host_alias=$host_alias
15591 # The build system.
15592 build_alias=$build_alias
15596 # A sed program that does not truncate output.
15599 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15600 Xsed="\$SED -e 1s/^X//"
15602 # A grep program that handles long lines.
15608 # A literal string matcher.
15611 # A BSD- or MS-compatible name lister.
15614 # Whether we need soft or hard links.
15617 # What is the maximum length of a command?
15618 max_cmd_len=$max_cmd_len
15620 # Object file suffix (normally "o").
15623 # Executable file suffix (normally "").
15626 # whether the shell understands "unset".
15629 # turn spaces into newlines.
15632 # turn newlines into spaces.
15635 # How to create reloadable object files.
15636 reload_flag=$lt_reload_flag
15637 reload_cmds=$lt_reload_cmds
15639 # Method to check whether dependent libraries are shared objects.
15640 deplibs_check_method=$lt_deplibs_check_method
15642 # Command to use when deplibs_check_method == "file_magic".
15643 file_magic_cmd=$lt_file_magic_cmd
15647 AR_FLAGS=$lt_AR_FLAGS
15649 # A symbol stripping program.
15652 # Commands used to install an old-style archive.
15654 old_postinstall_cmds=$lt_old_postinstall_cmds
15655 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15660 # LTCC compiler flags.
15661 LTCFLAGS=$lt_CFLAGS
15663 # Take the output of nm and produce a listing of raw symbols and C names.
15664 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15666 # Transform the output of nm in a proper C declaration.
15667 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15669 # Transform the output of nm in a C name address pair.
15670 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15672 # The name of the directory that contains temporary libtool files.
15675 # Shell to use when invoking shell scripts.
15678 # An echo program that does not interpret backslashes.
15681 # Used to examine libraries when file_magic_cmd begins with "file".
15682 MAGIC_CMD=$MAGIC_CMD
15684 # Must we lock files when doing compilation?
15685 need_locks=$lt_need_locks
15687 # Old archive suffix (normally "a").
15690 # Shared library suffix (normally ".so").
15691 shrext_cmds=$lt_shrext_cmds
15693 # The commands to extract the exported symbol list from a shared archive.
15694 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15696 # Variables whose values should be saved in libtool wrapper scripts and
15697 # restored at link time.
15698 variables_saved_for_relink=$lt_variables_saved_for_relink
15700 # Do we need the "lib" prefix for modules?
15701 need_lib_prefix=$need_lib_prefix
15703 # Do we need a version for libraries?
15704 need_version=$need_version
15706 # Library versioning type.
15707 version_type=$version_type
15709 # Shared library runtime path variable.
15710 runpath_var=$runpath_var
15712 # Shared library path variable.
15713 shlibpath_var=$shlibpath_var
15715 # Is shlibpath searched before the hard-coded library search path?
15716 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15718 # Format of library name prefix.
15719 libname_spec=$lt_libname_spec
15721 # List of archive names. First name is the real one, the rest are links.
15722 # The last name is the one that the linker finds with -lNAME
15723 library_names_spec=$lt_library_names_spec
15725 # The coded name of the library, if different from the real name.
15726 soname_spec=$lt_soname_spec
15728 # Command to use after installation of a shared archive.
15729 postinstall_cmds=$lt_postinstall_cmds
15731 # Command to use after uninstallation of a shared archive.
15732 postuninstall_cmds=$lt_postuninstall_cmds
15734 # Commands used to finish a libtool library installation in a directory.
15735 finish_cmds=$lt_finish_cmds
15737 # As "finish_cmds", except a single script fragment to be evaled but
15739 finish_eval=$lt_finish_eval
15741 # Whether we should hardcode library paths into libraries.
15742 hardcode_into_libs=$hardcode_into_libs
15744 # Compile-time system search path for libraries.
15745 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15747 # Run-time system search path for libraries.
15748 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15750 # Whether dlopen is supported.
15751 dlopen_support=$enable_dlopen
15753 # Whether dlopen of programs is supported.
15754 dlopen_self=$enable_dlopen_self
15756 # Whether dlopen of statically linked programs is supported.
15757 dlopen_self_static=$enable_dlopen_self_static
15759 # Commands to strip libraries.
15760 old_striplib=$lt_old_striplib
15761 striplib=$lt_striplib
15764 # The linker used to build libraries.
15767 # Commands used to build an old-style archive.
15768 old_archive_cmds=$lt_old_archive_cmds
15770 # A language specific compiler.
15773 # Is the compiler the GNU compiler?
15776 # Compiler flag to turn off builtin functions.
15777 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15779 # How to pass a linker flag through the compiler.
15780 wl=$lt_lt_prog_compiler_wl
15782 # Additional compiler flags for building library objects.
15783 pic_flag=$lt_lt_prog_compiler_pic
15785 # Compiler flag to prevent dynamic linking.
15786 link_static_flag=$lt_lt_prog_compiler_static
15788 # Does compiler simultaneously support -c and -o options?
15789 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15791 # Whether or not to add -lc for building shared libraries.
15792 build_libtool_need_lc=$archive_cmds_need_lc
15794 # Whether or not to disallow shared libs when runtime libs are static.
15795 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15797 # Compiler flag to allow reflexive dlopens.
15798 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15800 # Compiler flag to generate shared objects directly from archives.
15801 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15803 # Whether the compiler copes with passing no objects directly.
15804 compiler_needs_object=$lt_compiler_needs_object
15806 # Create an old-style archive from a shared archive.
15807 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15809 # Create a temporary old-style archive to link instead of a shared archive.
15810 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15812 # Commands used to build a shared archive.
15813 archive_cmds=$lt_archive_cmds
15814 archive_expsym_cmds=$lt_archive_expsym_cmds
15816 # Commands used to build a loadable module if different from building
15817 # a shared archive.
15818 module_cmds=$lt_module_cmds
15819 module_expsym_cmds=$lt_module_expsym_cmds
15821 # Whether we are building with GNU ld or not.
15822 with_gnu_ld=$lt_with_gnu_ld
15824 # Flag that allows shared libraries with undefined symbols to be built.
15825 allow_undefined_flag=$lt_allow_undefined_flag
15827 # Flag that enforces no undefined symbols.
15828 no_undefined_flag=$lt_no_undefined_flag
15830 # Flag to hardcode \$libdir into a binary during linking.
15831 # This must work even if \$libdir does not exist
15832 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15834 # If ld is used when linking, flag to hardcode \$libdir into a binary
15835 # during linking. This must work even if \$libdir does not exist.
15836 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15838 # Whether we need a single "-rpath" flag with a separated argument.
15839 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15841 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15842 # DIR into the resulting binary.
15843 hardcode_direct=$hardcode_direct
15845 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15846 # DIR into the resulting binary and the resulting library dependency is
15847 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15848 # library is relocated.
15849 hardcode_direct_absolute=$hardcode_direct_absolute
15851 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15852 # into the resulting binary.
15853 hardcode_minus_L=$hardcode_minus_L
15855 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15856 # into the resulting binary.
15857 hardcode_shlibpath_var=$hardcode_shlibpath_var
15859 # Set to "yes" if building a shared library automatically hardcodes DIR
15860 # into the library and all subsequent libraries and executables linked
15862 hardcode_automatic=$hardcode_automatic
15864 # Set to yes if linker adds runtime paths of dependent libraries
15865 # to runtime path list.
15866 inherit_rpath=$inherit_rpath
15868 # Whether libtool must link a program against all its dependency libraries.
15869 link_all_deplibs=$link_all_deplibs
15871 # Fix the shell variable \$srcfile for the compiler.
15872 fix_srcfile_path=$lt_fix_srcfile_path
15874 # Set to "yes" if exported symbols are required.
15875 always_export_symbols=$always_export_symbols
15877 # The commands to list exported symbols.
15878 export_symbols_cmds=$lt_export_symbols_cmds
15880 # Symbols that should not be listed in the preloaded symbols.
15881 exclude_expsyms=$lt_exclude_expsyms
15883 # Symbols that must always be exported.
15884 include_expsyms=$lt_include_expsyms
15886 # Commands necessary for linking programs (against libraries) with templates.
15887 prelink_cmds=$lt_prelink_cmds
15889 # Specify filename containing input files.
15890 file_list_spec=$lt_file_list_spec
15892 # How to hardcode a shared library path into an executable.
15893 hardcode_action=$hardcode_action
15895 # ### END LIBTOOL CONFIG
15901 cat <<\_LT_EOF
>> "$cfgfile"
15902 # AIX sometimes has problems with the GCC collect2 program. For some
15903 # reason, if we set the COLLECT_NAMES environment variable, the problems
15904 # vanish in a puff of smoke.
15905 if test "X${COLLECT_NAMES+set}" != Xset
; then
15907 export COLLECT_NAMES
15914 ltmain
="$ac_aux_dir/ltmain.sh"
15917 # We use sed instead of cat because bash on DJGPP gets confused if
15918 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15919 # text mode, it properly converts lines to CR/LF. This bash problem
15920 # is reportedly fixed, but why not run on old versions too?
15921 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15922 ||
(rm -f "$cfgfile"; exit 1)
15926 cat << \_LT_EOF
>> "$cfgfile"
15927 # func_dirname file append nondir_replacement
15928 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15929 # otherwise set result to NONDIR_REPLACEMENT.
15933 */*) func_dirname_result
="${1%/*}${2}" ;;
15934 * ) func_dirname_result
="${3}" ;;
15938 # func_basename file
15941 func_basename_result
="${1##*/}"
15944 # func_stripname prefix suffix name
15945 # strip PREFIX and SUFFIX off of NAME.
15946 # PREFIX and SUFFIX must not contain globbing or regex special
15947 # characters, hashes, percent signs, but SUFFIX may contain a leading
15948 # dot (in which case that matches only a dot).
15951 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15952 # positional parameters, so assign one to ordinary parameter first.
15953 func_stripname_result
=${3}
15954 func_stripname_result
=${func_stripname_result#"${1}"}
15955 func_stripname_result
=${func_stripname_result%"${2}"}
15961 func_opt_split_opt
=${1%%=*}
15962 func_opt_split_arg
=${1#*=}
15969 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15970 *) func_lo2o_result
=${1} ;;
15975 *) # Bourne compatible functions.
15976 cat << \_LT_EOF
>> "$cfgfile"
15977 # func_dirname file append nondir_replacement
15978 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15979 # otherwise set result to NONDIR_REPLACEMENT.
15982 # Extract subdirectory from the argument.
15983 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15984 if test "X$func_dirname_result" = "X${1}"; then
15985 func_dirname_result
="${3}"
15987 func_dirname_result
="$func_dirname_result${2}"
15991 # func_basename file
15994 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15997 # func_stripname prefix suffix name
15998 # strip PREFIX and SUFFIX off of NAME.
15999 # PREFIX and SUFFIX must not contain globbing or regex special
16000 # characters, hashes, percent signs, but SUFFIX may contain a leading
16001 # dot (in which case that matches only a dot).
16002 # func_strip_suffix prefix name
16006 .
*) func_stripname_result
=`$ECHO "X${3}" \
16007 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16008 *) func_stripname_result
=`$ECHO "X${3}" \
16009 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16014 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16015 my_sed_long_arg
='1s/^-[^=]*=//'
16020 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16021 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16027 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16032 case $lt_shell_append in
16034 cat << \_LT_EOF
>> "$cfgfile"
16036 # func_append var value
16037 # Append VALUE to the end of shell variable VAR.
16045 cat << \_LT_EOF
>> "$cfgfile"
16047 # func_append var value
16048 # Append VALUE to the end of shell variable VAR.
16058 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16059 ||
(rm -f "$cfgfile"; exit 1)
16061 mv -f "$cfgfile" "$ofile" ||
16062 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16067 for ac_file
in $CONFIG_FILES; do
16068 # Support "outfile[:infile[:infile...]]"
16070 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16072 # PO directories have a Makefile.in generated from Makefile.in.in.
16073 case "$ac_file" in */Makefile.
in)
16074 # Adjust a relative srcdir.
16075 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16076 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
16077 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16078 # In autoconf-2.13 it is called $ac_given_srcdir.
16079 # In autoconf-2.50 it is called $srcdir.
16080 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
16081 case "$ac_given_srcdir" in
16082 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
16083 /*) top_srcdir
="$ac_given_srcdir" ;;
16084 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16086 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16087 rm -f "$ac_dir/POTFILES"
16088 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
16089 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16090 POMAKEFILEDEPS
="POTFILES.in"
16091 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
16092 # on $ac_dir but don't depend on user-specified configuration
16094 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16095 # The LINGUAS file contains the set of available languages.
16096 if test -n "$OBSOLETE_ALL_LINGUAS"; then
16097 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
16099 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16100 # Hide the ALL_LINGUAS assigment from automake.
16101 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16102 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
16104 # The set of available languages was given in configure.in.
16105 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
16107 case "$ac_given_srcdir" in
16109 *) srcdirpre
='$(srcdir)/' ;;
16115 for lang
in $ALL_LINGUAS; do
16116 POFILES
="$POFILES $srcdirpre$lang.po"
16117 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
16118 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
16119 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
16121 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16122 # environment variable.
16124 if test -n "$ALL_LINGUAS"; then
16125 for presentlang
in $ALL_LINGUAS; do
16127 if test "%UNSET%" != "$LINGUAS"; then
16128 desiredlanguages
="$LINGUAS"
16130 desiredlanguages
="$ALL_LINGUAS"
16132 for desiredlang
in $desiredlanguages; do
16133 # Use the presentlang catalog if desiredlang is
16134 # a. equal to presentlang, or
16135 # b. a variant of presentlang (because in this case,
16136 # presentlang can be used as a fallback for messages
16137 # which are not translated in the desiredlang catalog).
16138 case "$desiredlang" in
16139 "$presentlang"*) useit
=yes;;
16142 if test $useit = yes; then
16143 INST_LINGUAS
="$INST_LINGUAS $presentlang"
16148 if test -n "$INST_LINGUAS"; then
16149 for lang
in $INST_LINGUAS; do
16150 CATALOGS
="$CATALOGS $lang.gmo"
16153 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
16154 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"
16155 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
16156 if test -f "$f"; then
16158 *.orig |
*.bak |
*~
) ;;
16159 *) cat "$f" >> "$ac_dir/Makefile" ;;
16167 default
) rm -f targ-cpu.c targ-cpu.h obj-format.h obj-format.c targ-env.h atof-targ.c itbl-cpu.h
16168 echo '#include "tc-'"${target_cpu_type}"'.h"' > targ-cpu.h
16169 echo '#include "obj-'"${obj_format}"'.h"' > obj-format.h
16170 echo '#include "te-'"${te_file}"'.h"' > targ-env.h
16171 echo '#include "itbl-'"${target_cpu_type}"'.h"' > itbl-cpu.h
16172 if test "x$cgen_cpu_prefix" != x
; then
16173 echo '#include "opcodes/'"${cgen_cpu_prefix}"'-desc.h"' > cgen-desc.h
16179 cat >>$CONFIG_STATUS <<\_ACEOF
16181 { (exit 0); exit 0; }
16183 chmod +x
$CONFIG_STATUS
16184 ac_clean_files
=$ac_clean_files_save
16187 # configure is writing to config.log, and then calls config.status.
16188 # config.status does its own redirection, appending to config.log.
16189 # Unfortunately, on DOS this fails, as config.log is still kept open
16190 # by configure, so config.status won't be able to write to it; its
16191 # output is simply discarded. So we exec the FD to /dev/null,
16192 # effectively closing config.log, so it can be properly (re)opened and
16193 # appended to by config.status. When coming back to configure, we
16194 # need to make the FD available again.
16195 if test "$no_create" != yes; then
16197 ac_config_status_args
=
16198 test "$silent" = yes &&
16199 ac_config_status_args
="$ac_config_status_args --quiet"
16201 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16203 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16204 # would make configure fail if this is the last instruction.
16205 $ac_cs_success ||
{ (exit 1); exit 1; }